Refactor MediaBindingBean

This commit is contained in:
Reinhard Pointner 2016-11-14 18:13:36 +08:00
parent 051617fafe
commit 619ca9a197
1 changed files with 1 additions and 3 deletions

View File

@ -108,10 +108,8 @@ public class MediaBindingBean {
return getEpisode().getSeriesName();
else if (infoObject instanceof Movie)
return getMovie().getName();
else if (infoObject instanceof AudioTrack && getAlbumArtist() != null)
return getAlbumArtist();
else if (infoObject instanceof AudioTrack)
return getArtist();
return getAlbumArtist() != null ? getAlbumArtist() : getArtist();
else if (infoObject instanceof File)
return FileUtilities.getName((File) infoObject);