Page 1 of 1

Can not process .iso file in command line

Posted: 21 Mar 2025, 10:55
by gdlk
When processing a .iso file, filebot says that file does not exist.
But in the gui mode it can process the file correctly.
What's wrong?

Console Output: Select all

Run script [fn:amc] at [Fri Mar 21 04:34:59 CST 2025]
Parameter: excludeList = /data/exclude.txt
Parameter: movieDB = TheMovieDB
Parameter: seriesDB = TheMovieDB::TV
Parameter: animeDB = TheMovieDB::TV
Parameter: movieFormat = {~emby.id} {allOf{allOf{source}{vc.length()>5?vcf:vc}{vf}{hdr}{ac}.join('.').replace('Dolby Vision','DV')}{group}.join('-')}
Parameter: seriesFormat = {~emby.id} - {allOf{allOf{source}{vc.length()>5?vcf:vc}{vf}{hdr}{ac}.join('.').replace('Dolby Vision','DV')}{group}.join('-')}
Parameter: animeFormat = {~emby.id} - {allOf{allOf{source}{vc.length()>5?vcf:vc}{vf}{hdr}{ac}.join('.').replace('Dolby Vision','DV')}{group}.join('-')}
Parameter: jellyfin = *****
Argument[0]: /Download/video/movie/Minuscule.2013.3D.1080p.BluRay.AVC.DTS-HD.MA.5.1-RARBG/Minuscule.2013.3D.1080p.BluRay.AVC.DTS-HD.MA.5.1-RARBG.iso
Use excludes: /data/exclude.txt (314)
Archive file can't be opened with any of the registered codecs
File does not exist: /Download/video/movie/Minuscule.2013.3D.1080p.BluRay.AVC.DTS-HD.MA.5.1-RARBG/Minuscule.2013.3D.1080p.BluRay.AVC.DTS-HD.MA.5.1-RARBG
No files selected for processing
Done ¯\_(ツ)_/¯

Re: Can not process .iso file in command line

Posted: 21 Mar 2025, 13:05
by rednoah
:idea: ISO images are treated like any other archive and extracted before processing, but something seems to not work, which leads to the extraction target folder not existing:

Console Output: Select all

** Archive file can't be opened with any of the registered codecs **
File does not exist: /Download/video/movie/Minuscule.2013.3D.1080p.BluRay.AVC.DTS-HD.MA.5.1-RARBG/Minuscule.2013.3D.1080p.BluRay.AVC.DTS-HD.MA.5.1-RARBG

:idea: Note that archive extraction is a feature of the amc script. You can disable archive extraction or use just the filebot -rename command-line tool instead.


:?: Which container are you using? The official container should include all the necessary dependencies. Make sure that the p7zip-full p7zip-rar packages are installed if you're processing archives with your own container / 3rd party container.

Re: Can not process .iso file in command line

Posted: 21 Mar 2025, 17:08
by gdlk
I use the official container rednoad/filebot:xpra.

I have known that the gui uses -rename not the amc script. So I just need to use -rename in command line.

Re: Can not process .iso file in command line

Posted: 21 Mar 2025, 20:51
by rednoah
I did try a 7z x *.iso and it works. The *.iso you have is either corrupt or maybe *.iso files can have different formats which then leads to some being extractable and others not. IDK.