Refactor MediaBindingBean
This commit is contained in:
parent
051617fafe
commit
619ca9a197
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue