Format source

This commit is contained in:
Reinhard Pointner 2016-02-10 14:31:56 +00:00
parent 9e87c59b68
commit 04e254ba04
1 changed files with 3 additions and 3 deletions

View File

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