Skip to content

Commit

Permalink
Fix ListItem.Album
Browse files Browse the repository at this point in the history
Fixes xbmc#241
  • Loading branch information
Tobias Hieta committed Jan 10, 2013
1 parent ad9e2c2 commit 05abf27
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions xbmc/GUIInfoManager.cpp
Expand Up @@ -4119,6 +4119,10 @@ CStdString CGUIInfoManager::GetItemLabel(const CFileItem *item, int info)
return item->GetProperty("director").asString();
#endif
case LISTITEM_ALBUM:
/* PLEX */
if (item->HasProperty("album"))
return item->GetProperty("album").asString();
/* END PLEX */
if (item->HasVideoInfoTag())
return item->GetVideoInfoTag()->m_strAlbum;
if (item->HasMusicInfoTag())
Expand Down

0 comments on commit 05abf27

Please sign in to comment.