mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-22 07:26:47 +01:00
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();
|
||||
}
|
||||
|
||||
// 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.MergeFromSimpleMetaBundle(bundle_copy);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user