slartibartfast wrote:
> When I select lyrics for "Dogs" from Animals by Pink Floyd I get lyrics
> for "Dogs of War" also by Pink Floyd. Strange thing is I have two
> versions of the album one of which shows the correct lyrics but the
> remaster shows the wrong lyrics. The song title is the same for both.
> The only obvious difference is (2011) added to the remaster album name.
> If I select album review I get the correct review for both.
>
> Sent from my SM-G900F using Tapatalk
I have discovered that the correct lyrics are only displayed because
they are embedded in the tags
I set logging for the plugin to debug and attempted to see lyrics for
"Dogs" from "Animals (2011)". The wrong song is being chosen for some
reason.
Code:
--------------------
[19-04-17 10:17:46.2633]
Plugins::MusicArtistInfo::ArtistInfo::getArtistMenu (85) Getting artist menu
for Pink Floyd
[19-04-17 10:17:46.2671] Plugins::MusicArtistInfo::Common::cleanupAlbumName
(28) Cleaning up album name: 'Animals (2011)'
[19-04-17 10:17:46.2678] Plugins::MusicArtistInfo::Common::cleanupAlbumName
(43) Album name cleaned up: 'Animals'
[19-04-17 10:17:46.2683] Plugins::MusicArtistInfo::AlbumInfo::getAlbumMenu
(59) Getting album menu for Animals by Pink Floyd
[19-04-17 10:17:46.2868] Plugins::MusicArtistInfo::TrackInfo::getLyrics (160)
Getting lyrics for Dogs by Pink Floyd
[19-04-17 10:17:46.2938] Plugins::MusicArtistInfo::Common::call (100) Async
API call: GET
http://api.chartlyrics.com/apiv1.asmx/SearchLyric?artist=Pink%20Floyd&song=Dogs
[19-04-17 10:17:46.3753] Slim::Utils::Misc::msg (1252) Warning:
[10:17:46.3745] {
SearchLyricResult => [
{
Artist => "Pink Floyd",
ArtistUrl => "http://www.chartlyrics.com/mBjZg2N310ewO7khMjdcRw.aspx",
LyricChecksum => "5da6146aa5509e58c56a309a84b3ea81",
LyricId => 6399,
Song => "The Dogs of War",
SongRank => 9,
SongUrl =>
"http://www.chartlyrics.com/mBjZg2N310ewO7khMjdcRw/The+Dogs+of+War.aspx",
TrackId => 0,
},
{
Artist => "Pink Floyd",
ArtistUrl => "http://www.chartlyrics.com/mBjZg2N310ewO7khMjdcRw.aspx",
LyricChecksum => "52ac0982891b52a9e00f7d91edfe2b24",
LyricId => 7791,
Song => "Dogs",
SongRank => 9,
SongUrl =>
"http://www.chartlyrics.com/mBjZg2N310ewO7khMjdcRw/Dogs.aspx",
TrackId => 0,
},
{
Artist => "Pink Floyd",
ArtistUrl => "http://www.chartlyrics.com/mBjZg2N310ewO7khMjdcRw.aspx",
LyricChecksum => "68cb9e66f3a3bdeed5ead73a0fbca49a",
LyricId => 220_858,
Song => "The Dogs of War (live)",
SongRank => 4,
SongUrl =>
"http://www.chartlyrics.com/mBjZg2N310ewO7khMjdcRw/The+Dogs+of+War+(live).aspx",
TrackId => 0,
},
{
Artist => "Pink Floyd",
ArtistUrl => "http://www.chartlyrics.com/mBjZg2N310ewO7khMjdcRw.aspx",
LyricChecksum => "05e2f991e35248d2a7a3122e1d7655e8",
LyricId => 93_095,
Song => "The Dogs of War (edit)",
SongRank => 2,
SongUrl =>
"http://www.chartlyrics.com/mBjZg2N310ewO7khMjdcRw/The+Dogs+of+War+(edit).aspx",
TrackId => 0,
},
{
Artist => "Pink Floyd",
ArtistUrl => "http://www.chartlyrics.com/mBjZg2N310ewO7khMjdcRw.aspx",
LyricId => 0,
Song => "Dogs of War (LP edit)",
SongRank => 1,
SongUrl => "http://www.chartlyrics.com/app/add.aspx?a=191&t=7188971",
TrackChecksum => "bcd689d3f528ab036afdbb4900756b78",
TrackId => 7_188_971,
},
{
Artist => "Pink Floyd",
ArtistUrl => "http://www.chartlyrics.com/mBjZg2N310ewO7khMjdcRw.aspx",
LyricId => 0,
Song => "Dogs of War (live edit)",
SongRank => 1,
SongUrl => "http://www.chartlyrics.com/app/add.aspx?a=191&t=7188972",
TrackChecksum => "fad060495879b2610127cd2c71421b6d",
TrackId => 7_188_972,
},
{ "xsi:nil" => "true" },
],
xmlns => "http://api.chartlyrics.com/",
"xmlns:xsd" => "http://www.w3.org/2001/XMLSchema",
"xmlns:xsi" => "http://www.w3.org/2001/XMLSchema-instance",
} at
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/MusicArtistInfo/Common.pm
line 140.
[19-04-17 10:17:46.3764] Plugins::MusicArtistInfo::Common::call (100) Async
API call: GET
http://api.chartlyrics.com/apiv1.asmx/GetLyric?lyricId=6399&lyricCheckSum=5da6146aa5509e58c56a309a84b3ea81
[19-04-17 10:17:46.4381] Slim::Utils::Misc::msg (1252) Warning:
[10:17:46.4373] {
Lyric => "Dogs of war and men of hate\nWith no cause, we don't
discriminate\nDiscovery is to be disowned\nOur currency is flesh and
bone\n\nHell opened up and put on sale\nGather 'round and haggle\nFor hard
cash, we will lie and deceive\nEven our masters don't know the web we
weave\n\nOne world, it's a battleground\nOne world, and we will smash it
down\nOne world ... One world\n\nInvisible transfers, long distance
calls,\nHollow laughter in marble halls\nSteps have been taken, a silent
uproar\nHas unleashed the dogs of war\n\nYou can't stop what has begun\nSigned,
sealed, they deliver oblivion\nWe all have a dark side, to say the least\nAnd
dealing in death is the nature of the beast\n\nOne world, it's a
battleground\nOne world, and we will smash it down\nOne world ... One
world\n\nThe dogs of war don't negotiate\nThe dogs of war won't
capitulate,\nThey will take and you will give,\nAnd you must die so that they
may live\n\nYou can knock at any door,\nBut wherev
er you go, you know they've been there before\nWell winners can lose and
things can get strained\nBut whatever you change, you know the dogs
remain.\n\nOne world, it's a battleground\nOne world, and we will smash it
down\nOne world ... One world",
LyricArtist => "Pink Floyd",
LyricChecksum => "5da6146aa5509e58c56a309a84b3ea81",
LyricCorrectUrl =>
"http://www.chartlyrics.com/app/correct.aspx?lid=NgAzADkAOQA=",
LyricCovertArtUrl =>
"http://images.amazon.com/images/P/B000002C1W.01.MZZZZZZZ.jpg",
LyricId => 6399,
LyricRank => 9,
LyricSong => "The Dogs of War",
LyricUrl =>
"http://www.chartlyrics.com/mBjZg2N310ewO7khMjdcRw/The+Dogs+of+War.aspx",
TrackId => 0,
xmlns => "http://api.chartlyrics.com/",
"xmlns:xsd" => "http://www.w3.org/2001/XMLSchema",
"xmlns:xsi" => "http://www.w3.org/2001/XMLSchema-instance",
} at
/var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/MusicArtistInfo/Common.pm
line 140.
--------------------
------------------------------------------------------------------------
slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=99537
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins