* allow file.isEpisode() file filter expressions
This commit is contained in:
parent
fdd6c43862
commit
694c0ec049
|
@ -401,4 +401,8 @@ public class ScriptShellMethods {
|
|||
}
|
||||
}
|
||||
|
||||
public static boolean isEpisode(File self) {
|
||||
return MediaDetection.isEpisode(String.join("/", self.getParent(), self.getName()), true);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -91,10 +91,10 @@ public class MediaBindingBean {
|
|||
return getMovie().getName();
|
||||
if (infoObject instanceof AudioTrack)
|
||||
return getAlbumArtist() != null ? getAlbumArtist() : getArtist();
|
||||
if (infoObject instanceof File)
|
||||
return FileUtilities.getName((File) infoObject);
|
||||
if (infoObject instanceof File)
|
||||
return FileUtilities.getName((File) infoObject);
|
||||
|
||||
return null;
|
||||
return null;
|
||||
}
|
||||
|
||||
@Define("y")
|
||||
|
|
Loading…
Reference in New Issue