BD, UHDBD, 3DBD, DVD .iso identification in filebot?
-
- Posts: 7
- Joined: 03 Dec 2020, 15:36
BD, UHDBD, 3DBD, DVD .iso identification in filebot?
Hello, I am new here, I have a general question about filebot: I have UHD BD, BD, 3D BD rips and DVD rips as .iso or folders (BDMV or VIDEO_TS). My folder structure is the same e.g NAS\movies\BLURAY; NAS\movies\UHDBD;... Is filebot with amc script capeable to determine whether my .iso or folder contains a BD, an UHDBD, a BD3D or a DVD? (and to save it in it's respective directory on my server after renaming it)
I am trying to figure that out for 2 weeks now but get confused about the information I find on the Internet. If I understood it right, it works if the filename of the .iso (or its directory) contains the given tags (DVD, BLURAY, UHD,...)
So before I waste more time for a use case thats maybe not working at all I hope someone can answer and help me out. Thank you!
I am trying to figure that out for 2 weeks now but get confused about the information I find on the Internet. If I understood it right, it works if the filename of the .iso (or its directory) contains the given tags (DVD, BLURAY, UHD,...)
So before I waste more time for a use case thats maybe not working at all I hope someone can answer and help me out. Thank you!
Re: BD, UHDBD, 3DBD, DVD .iso identification in filebot?
Yes, it'll work if the folder structure matches the standard.
-
- Posts: 7
- Joined: 03 Dec 2020, 15:36
Re: BD, UHDBD, 3DBD, DVD .iso identification in filebot?
Thank you for the quick answer!
Does filebot know the media type from the filename/path or from "looking into the .iso file" (or BDMV folder) ?
Does filebot know the media type from the filename/path or from "looking into the .iso file" (or BDMV folder) ?
Re: BD, UHDBD, 3DBD, DVD .iso identification in filebot?
If the disk is an ISO file, then FileBot will look into the ISO file. If the disk is a folder, then FileBot will look into the folder. Thus FileBot can separate generic ISO files from DVD/BD ISO files and generic folders from DVD/BD folders.Arlecchino wrote: ↑04 Dec 2020, 07:18 Does filebot know the media type from the filename/path or from "looking into the .iso file" (or BDMV folder) ?
-
- Posts: 7
- Joined: 03 Dec 2020, 15:36
Re: BD, UHDBD, 3DBD, DVD .iso identification in filebot?
Cool, I am able to make filebot rename files to the format: Moviename.year.BLURAY.iso and Moviename.year.DVD.iso, with:
But I had no luck with the detection of UHD blurays, the final format is supposed to be: Moviename.year.UHD.BLURAY.iso
Neither I was able to rename 3D Blurays to: Moviename.year.3D.BLURAY.iso
So I added "s3d"
because thats the only expression I could find regarding 3D, but that doesnt work.Error message: Binding "s3d": undefined
BDMV folders don't work (no "BLURAY" expression)
DVD Video TS folders return "TS" expression for source
I am testing on Win10, have a valid filebot license and Mediainfo is installed. I am a total beginner with filebot and I have no plan about programming and stuff, so please be patient.
What am I doing wrong? What do I have to look up for information and what do i have to change?
Thank you for your help!
Code: Select all
{n.space ('.')}.{y}{'.'+source}
Neither I was able to rename 3D Blurays to: Moviename.year.3D.BLURAY.iso
So I added "s3d"
Code: Select all
{n.space ('.')}.{y}{'.'+s3d}{'.'+source}.COMPLETE
BDMV folders don't work (no "BLURAY" expression)
DVD Video TS folders return "TS" expression for source
I am testing on Win10, have a valid filebot license and Mediainfo is installed. I am a total beginner with filebot and I have no plan about programming and stuff, so please be patient.
What am I doing wrong? What do I have to look up for information and what do i have to change?
Thank you for your help!
Re: BD, UHDBD, 3DBD, DVD .iso identification in filebot?
{source} does not work the way you want.
It will only work for files or folders where the source is in the file or folder name:
viewtopic.php?t=11265
e.g.
Note that the {source} binding does not look inside the disk folder for different kinds of disk folder structure types.
If you need to auto-detect the type of disk for a given disk folder, then you will need to use custom code and check the file structure for certain keywords, e.g.
It will only work for files or folders where the source is in the file or folder name:
viewtopic.php?t=11265
e.g.
Code: Select all
/path/to/Avatar BluRay.avi => BluRay
/path/to/Avatar BluRay => BluRay
/path/to/Avatar.avi => undefined
/path/to/Avatar => undefined


Code: Select all
{f.files =~ /BDMV/ ? 'BluRay' : null}
-
- Posts: 7
- Joined: 03 Dec 2020, 15:36
Re: BD, UHDBD, 3DBD, DVD .iso identification in filebot?
That was vital information, so far I have:
and that works for folders and that gives out:
Moviename.year.UHD.BLURAY for UHD BD folders
Moviename.year.BLURAY for BD folders
Moviename.year.DVD for DVD folders
thats good, but how can I make filebot now look into .iso files?
and how can I define 3D BDs?
thats my sysinfo:
thank you for your help!
Code: Select all
{n.space ('.')}.{y}{width > 3000 ? '.UHD' : null}{f.files =~ /BDMV/ ? '.BLURAY' : null}{f.files =~ /VIDEO_TS/ ? '.DVD' : null}
Moviename.year.UHD.BLURAY for UHD BD folders
Moviename.year.BLURAY for BD folders
Moviename.year.DVD for DVD folders
thats good, but how can I make filebot now look into .iso files?
and how can I define 3D BDs?
thats my sysinfo:
Code: Select all
FileBot 4.9.2 (r8046)
JNA Native: 6.1.0
MediaInfo: 20.08
7-Zip-JBinding: 16.02
Tools: fpcalc/1.5.0
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2020-12-01 (r724)
Groovy: 3.0.6
JRE: OpenJDK Runtime Environment 15
JVM: 64-bit OpenJDK 64-Bit Server VM
CPU/MEM: 4 Core / 1.1 GB Max Memory / 35 MB Used Memory
OS: Windows 10 (amd64)
STORAGE: NTFS [(C:)] @ 12 GB | NTFS [NAS] @ 5 TB | NTFS [NAS] @ 244 GB
DATA: C:\Users\Flo\AppData\Roaming\FileBot
Package: MSI
Activate License [P11511203] on [Fri Dec 04 23:01:38 CET 2020]
License: FileBot License P11511203 (Valid-Until: 2021-02-08)
Re: BD, UHDBD, 3DBD, DVD .iso identification in filebot?
Unfortunately, FileBot does not have easy-to-use scripting interfaces for that for you at this point.Arlecchino wrote: ↑04 Dec 2020, 22:26 thats good, but how can I make filebot now look into .iso files?

You will have to add additional heuristics to your code. What characteristics do 3D BDs have on the file system level?
-
- Posts: 7
- Joined: 03 Dec 2020, 15:36
Re: BD, UHDBD, 3DBD, DVD .iso identification in filebot?
...oh, that's kind of a show stopper, I prefer .iso over folders, so there are a lot of isos I don't really wanna convert. For new downloads, can I combine 2 approaches, like:
1.if the information is in the filname take from there
2.if not and it is a BDMV folder take info from there
3.unknown files move to a seperate directory to rename manually
?
...for the 3DBD definition i added finally:
Would that work? I can't check because I just have 3D isos, no folders, I am just interested if that was the solution : )
Am I the only one in need for the .iso option of filebot?
Thank you for your help! , as usual
1.if the information is in the filname take from there
2.if not and it is a BDMV folder take info from there
3.unknown files move to a seperate directory to rename manually
?
...for the 3DBD definition i added finally:
Code: Select all
{f.files =~ /BDMV\STREAM\SSIF/ ? '.3D' : null}
Am I the only one in need for the .iso option of filebot?
Thank you for your help! , as usual
Re: BD, UHDBD, 3DBD, DVD .iso identification in filebot?
If it's an ISO file, then you have to make due with the file path, or perhaps sibling nfo files if you happen have those. If you have a directory then you can check file paths in the directory. I don't know if it's easy to find 3D BD disk folders by looking at the file paths.Arlecchino wrote: ↑05 Dec 2020, 11:52 Would that work? I can't check because I just have 3D isos, no folders, I am just interested if that was the solution : )
EDIT:
FileBot r8262 extends a File.getChildren() to list child files for folders and child items for archives.
Pretty much. Most people prefer video files over disk images.
-
- Posts: 7
- Joined: 03 Dec 2020, 15:36
Re: BD, UHDBD, 3DBD, DVD .iso identification in filebot?
If it has BDMV/STREAM/SSIF then it is a 3D BD disk folder.I don't know if it's easy to find 3D BD disk folders by looking at the file paths.
What's that? Is r8262 the beta? (I have r8046) How does that "File.getChildren()" work? How can I use it?FileBot r8262 extends a File.getChildren() to list child files for folders and child items for archives.
thank you
Re: BD, UHDBD, 3DBD, DVD .iso identification in filebot?

FileBot r8273 now works like this:
Code: Select all
f.find() =~ /BDMV|STREAM|SSIF/

EDIT:
FileBot r8280 now works like this:
Code: Select all
files =~ /BDMV|STREAM|SSIF/
-
- Posts: 7
- Joined: 03 Dec 2020, 15:36
Re: BD, UHDBD, 3DBD, DVD .iso identification in filebot?
...ok, I got the newest beta of filebot!
How can I determine the rev. number on the portable version?
It works like you said with:
...for movie folders with a BDMV/STREAM/SSIF folder it adds a ".3D"
BUT:
...ALSO works on .iso files, why is that!? Why can filebot look inside a DVD.iso but not into a BD,3DBD,UHDBD?
I apreciate your help as usual, thank you!
How can I determine the rev. number on the portable version?
It works like you said with:
Code: Select all
{files =~ /BDMV|STREAM|SSIF/ ? '.3D' : null}
BUT:
Code: Select all
{n.space ('.')}.{y}
{files =~ /VIDEO_TS/ ? '.DVD' : null}
I apreciate your help as usual, thank you!
Re: BD, UHDBD, 3DBD, DVD .iso identification in filebot?
1.
Please read How to Request Help for details on how to check the revision number.
2.
What is the value of {files} in the case where it doesn't work as expected?
Please read How to Request Help for details on how to check the revision number.
2.
What is the value of {files} in the case where it doesn't work as expected?