1
0
mirror of https://github.com/clementine-player/Clementine synced 2025-01-31 19:45:31 +01:00

Fix the last.fm icon while a last.fm station is loading

This commit is contained in:
David Sansome 2011-02-03 20:59:53 +00:00
parent 2a68ecc726
commit 3ef0bf65a8

View File

@ -92,6 +92,11 @@ void RadioPlaylistItem::InitMetadata() {
}
Song RadioPlaylistItem::Metadata() const {
if (!set_service_icon_) {
// Get the icon if we don't have it already
service();
}
if (HasTemporaryMetadata())
return temp_metadata_;
return metadata_;