parent
579c7cc592
commit
95bb4eccea
@ -356,6 +356,11 @@ void Player::EngineMetadataReceived(const Engine::SimpleMetaBundle& bundle) {
|
|||||||
bundle_copy.title = bundle_copy.title.left(dash_pos).trimmed();
|
bundle_copy.title = bundle_copy.title.left(dash_pos).trimmed();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Hack as SomaFM's artist/title descriptions are backwards.
|
||||||
|
if (item->Url().host().contains("somafm.com")) {
|
||||||
|
qSwap(bundle_copy.artist, bundle_copy.title);
|
||||||
|
}
|
||||||
|
|
||||||
Song song = item->Metadata();
|
Song song = item->Metadata();
|
||||||
song.MergeFromSimpleMetaBundle(bundle_copy);
|
song.MergeFromSimpleMetaBundle(bundle_copy);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user