mirror of
https://github.com/mitb-archive/filebot
synced 2025-03-09 22:09:47 -04:00
Added binding path
for relative media path
This commit is contained in:
parent
4833391729
commit
8f1969b50b
@ -889,6 +889,11 @@ public class MediaBindingBean {
|
||||
return SLASH.splitAsStream(MediaTypes.getDefault().getMediaType(getExtension())).collect(toList());
|
||||
}
|
||||
|
||||
@Define("path")
|
||||
public File getMediaPath() throws Exception {
|
||||
return getStructurePathTail(getMediaFile());
|
||||
}
|
||||
|
||||
@Define("f")
|
||||
public File getMediaFile() {
|
||||
// make sure file is not null, and that it is an existing file
|
||||
|
Loading…
x
Reference in New Issue
Block a user