Format source
This commit is contained in:
parent
9e87c59b68
commit
04e254ba04
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue