diff --git a/src/core/player.cpp b/src/core/player.cpp index 7d4bbbc28..c24ac74cf 100644 --- a/src/core/player.cpp +++ b/src/core/player.cpp @@ -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);