Page 1 of 1

Cannot read ISO file input

Posted: 22 Dec 2016, 00:27
by phovos
First of all I know that filebot already supports ISO files (viewtopic.php?t=589) but I have to start from somewhere. :)

I tried to process a movie in ISO format and filebot returned with the following error.

Code: Select all

Failed to read disk image: org.apache.commons.vfs2.FileSystemException: Could not find a file provider that can handle file "file:///path/to/file.iso".
Ignore disk image: /path/to/file.iso
My sysinfo prints as below.

Code: Select all

FileBot 4.7.5 (r4600)
JNA Native: 4.0.1
MediaInfo: 0.7.91
Apache Commons VFS: [zip, rar]
Chromaprint: 1.4.1
Extended Attributes: OK
GVFS: OK
Script Bundle: 2016-12-17 (r466)
Groovy: 2.4.7
JRE: Java(TM) SE Runtime Environment 1.8.0_111
JVM: 32-bit Java HotSpot(TM) Client VM
CPU/MEM: 1 Core / 247 MB Max Memory / 10 MB Used Memory
OS: Linux (arm)
Package: PORTABLE
Data: /path/to/.config/filebot
uname: Linux **** 4.4.37-1-ARCH #1 Fri Dec 9 18:56:19 MST 2016 armv6l GNU/Linux
Done ヾ(@⌒ー⌒@)ノ
Since GVFS is already installed and filebot reports there is no issue, is it not a little strange that it can't process it?

Thanks in advance

Re: Cannot read ISO file input

Posted: 22 Dec 2016, 03:21
by rednoah
FileBot does support ISO files depending on which extractor module is used. The Apache Commons VFS extractor (used by default in the portable package) does not support ISO files, and 7-Zip-JBinding used by the standard Windows/Linux/Mac packages and does support ISO images doesn't work on ARM devices.

You could try this:
viewtopic.php?f=4&t=4530#p25250

But I'm not sure if the 7z tool supports ISO files on your platform though.

Re: Cannot read ISO file input

Posted: 22 Dec 2016, 03:53
by phovos
It's true this platform when it comes to filebot working properly can be a pain. Getting everything working correctly in the first place was pretty challenging.

Well I'll try that later and I'll keep you posted. Many thanks.

Re: Cannot read ISO file input

Posted: 23 Dec 2016, 02:54
by phovos
Ok I installed p7zip and tried to extract an ISO, which worked fine.

Then I tried to locate the executable and make the changes as suggested, so I commented out ApacheVFS then uncommented SevenZipExecutable and it came to this.

Code: Select all

#!/bin/bash

# force JVM language and encoding settings
export LANG="en_US.UTF-8"
export LC_ALL="en_US.UTF-8"


# choose extractor
# EXTRACTOR="ApacheVFS"                 # use Apache Commons VFS2 with junrar p$
EXTRACTOR="SevenZipExecutable"          # use the 7z executable
# EXTRACTOR="SevenZipNativeBindings"    # use the lib7-Zip-JBinding.so native l$

# start filebot
java -Dunixfs=false -DuseGVFS=true -DuseExtendedFileAttributes=true -DuseCreationDate=false -Dfile.encoding="UTF-8" -Dsun.jnu.encoding="UTF-8" -Djava.net.useSystemProxies=false -Djna.nosys=true -Dapplication.deployment=port=portable -Dnet.filebot.Archive.extractor="$EXTRACTOR" -Dnet.filebot.AcoustID.fpcalc="fpcalc" -Dapplication.dir=$HOME/.config/filebot -Djava.io.tmpdir=/tmp/filebot -Dapplication.update=skip -Djna.library.path=/usr/share/java $JAVA_OPTS -jar /usr/share/java/filebot/filebot.jar "$@"
My sysinfo changed to this:

Code: Select all

FileBot 4.7.5 (r4600)
JNA Native: 4.0.1
MediaInfo: 0.7.91
p7zip: Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,32 bits,1 CPU LE)
Chromaprint: 1.4.1
Extended Attributes: OK
GVFS: OK
Script Bundle: 2016-12-17 (r466)
Groovy: 2.4.7
JRE: Java(TM) SE Runtime Environment 1.8.0_111
JVM: 32-bit Java HotSpot(TM) Client VM
CPU/MEM: 1 Core / 247 MB Max Memory / 8 MB Used Memory
OS: Linux (arm)
Package: PORTABLE
Data: /path/to/.config/filebot
uname: Linux **** 4.4.37-1-ARCH #1 Fri Dec 9 18:56:19 MST 2016 armv6l GNU/Linux
Done ヾ(@⌒ー⌒@)ノ
And file was processed albeit with a strange message (first line).

Code: Select all

{duration} => Expression yields empty value: Binding "General[0][Duration]": undefined
Input: /path/to/movie (yyyy) xyz.iso
Group: [mov:movie yyyy] => [movie ( yyyy) xyz.iso]
Rename movies using [TheMovieDB]
Auto-detect movie from context: [/path/to/movie ( yyyy) xyz.iso]
[HARDLINK] Rename [/path/to/movie ( yyyy) xyz.iso] to [/path/to/movie (yyyy)/movie (yyyy).iso]
Processed 1 files
Done ヾ(@⌒ー⌒@)ノ
I must say I am little confused as I thought that 7zip was needed in order to decompress the file to "VIDEO_TS" format but this was not the case.

Now one last thing. Am I missing anything now that I don't use the apache framework? Can I go on using the current settings?

Re: Cannot read ISO file input

Posted: 23 Dec 2016, 03:44
by rednoah
The log doesn't show any ISO image being extracted, so it doesn't matter which extraction framework is (not) being used. Relevant logs about extraction or skipping extraction would be before the "Input: file.xyz" log entries.

If you want to process ISO files as movie files, instead of extracting the ISO file structure and then processing that folder, then you can leave it be.

Re: Cannot read ISO file input

Posted: 23 Dec 2016, 04:12
by phovos
So I take it that the normal behaviour of filebot is to actually decompress an ISO? If so how come it doesn't proceed to do that in this case? I tested before and "7z" seems to decompress it just fine. Also if it couldn't process it, wouldn't it fail as it did with "Apache Commons"?

I mean leaving it like that in general, not just for ISOs. As far as I can tell there is no difference, right?

Re: Cannot read ISO file input

Posted: 23 Dec 2016, 04:28
by rednoah
1.
Yes, FileBot will decompress ISO images by default.

2.
I don't know. You sent incomplete logs, so I don't know what happened during the extract phase.

Re: Cannot read ISO file input

Posted: 23 Dec 2016, 09:33
by rednoah
1.
I recommend testing things by running filebot -extract or the amc script on the command-line yourself to make sure you get all the output of all the child processes and not just the filebot log.


2.
You can enable additional debug logging that'll tell you how 7z is called:

Code: Select all

export JAVA_OPTS="-Dnet.filebot.logging.debug=ALL"
@see viewtopic.php?f=3&t=3913


3.
r4666 fixes some issues caused by FileBot incorrectly parsing 7z output, which may or may not affect you.

Re: Cannot read ISO file input

Posted: 24 Dec 2016, 00:19
by phovos
OK, I tried with extract script and debugging options. Worked without a hitch.

Code: Select all

 $ JAVA_OPTS="-Dnet.filebot.logging.debug=ALL" filebot -extract Unlucky\ Monkey\ \(1998\)/Unlucky\ Monkey\ \(1998\).iso
Using persistent disk cache /path/to/.config/filebot/cache/0
Read archive [Unlucky Monkey (1998).iso] and extract to [/path/to/Movies/Unlucky Monkey (1998)/Unlucky Monkey (1998)]
Execute: [7z, l, -y, /path/to/Movies/Unlucky Monkey (1998)/Unlucky Monkey (1998).iso]

7-Zip [32] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,32 bits,1 CPU LE)

Scanning the drive for archives:
1 file, 5596971008 bytes (5338 MiB)

Listing archive: /path/to/Movies/Unlucky Monkey (1998)/Unlucky Monkey (1998).iso

--
Path = /path/to/Movies/Unlucky Monkey (1998)/Unlucky Monkey (1998).iso
Type = Udf
Physical Size = 5596971008
Comment = Unlucky Monkey 2
Cluster Size = 2048
Created = 2013-06-08 11:22:12

   Date      Time    Attr         Size   Compressed  Name
------------------- ----- ------------ ------------  ------------------------
2013-06-08 11:52:07 D....                            AUDIO_TS
2013-06-08 11:52:07 D....                            VIDEO_TS
2013-06-08 11:52:07 .....        14336        14336  VIDEO_TS/VIDEO_TS.BUP
2013-06-08 11:52:07 .....        14336        14336  VIDEO_TS/VIDEO_TS.IFO
2013-06-08 11:52:07 .....       382976       382976  VIDEO_TS/VIDEO_TS.VOB
2013-06-08 12:05:02 .....        79872        79872  VIDEO_TS/VTS_01_0.BUP
2013-06-08 12:05:02 .....        79872        79872  VIDEO_TS/VTS_01_0.IFO
2013-06-08 11:43:58 .....     91267072     91267072  VIDEO_TS/VTS_01_0.VOB
2013-06-08 12:05:11 .....   1073739776   1073739776  VIDEO_TS/VTS_01_1.VOB
2013-06-08 12:05:11 .....   1073739776   1073739776  VIDEO_TS/VTS_01_2.VOB
2013-06-08 12:05:13 .....   1073739776   1073739776  VIDEO_TS/VTS_01_3.VOB
2013-06-08 12:05:15 .....   1073739776   1073739776  VIDEO_TS/VTS_01_4.VOB
2013-06-08 12:05:16 .....    918822912    918822912  VIDEO_TS/VTS_01_5.VOB
2013-06-08 11:52:07 .....        20480        20480  VIDEO_TS/VTS_02_0.BUP
2013-06-08 11:52:07 .....        20480        20480  VIDEO_TS/VTS_02_0.IFO
2013-06-08 11:51:14 .....       382976       382976  VIDEO_TS/VTS_02_0.VOB
2013-06-08 11:52:01 .....    280731648    280731648  VIDEO_TS/VTS_02_1.VOB
2013-06-08 11:52:07 .....        18432        18432  VIDEO_TS/VTS_03_0.BUP
2013-06-08 11:52:07 .....        18432        18432  VIDEO_TS/VTS_03_0.IFO
2013-06-08 11:52:05 .....       382976       382976  VIDEO_TS/VTS_03_0.VOB
2013-06-08 11:52:06 .....      8345600      8345600  VIDEO_TS/VTS_03_1.VOB
2013-06-08 11:52:07 .....        18432        18432  VIDEO_TS/VTS_04_0.BUP
2013-06-08 11:52:07 .....        18432        18432  VIDEO_TS/VTS_04_0.IFO
2013-06-08 11:52:06 .....       382976       382976  VIDEO_TS/VTS_04_0.VOB
2013-06-08 11:52:06 .....       393216       393216  VIDEO_TS/VTS_04_1.VOB
------------------- ----- ------------ ------------  ------------------------
2013-06-08 12:05:16         5596354560   5596354560  23 files, 2 folders

Extracting files [/path/to/Movies/Unlucky Monkey (1998)/Unlucky Monkey (1998)/VIDEO_TS/VIDEO_TS.BUP, /path/to/Movies/Unlucky Monkey (1998)/Unlucky Monkey (1998)/VIDEO_TS/VIDEO_TS.IFO, /path/to/Movies/Unlucky Monkey (1998)/Unlucky Monkey (1998)/VIDEO_TS/VIDEO_TS.VOB, /path/to/Movies/Unlucky Monkey (1998)/Unlucky Monkey (1998)/VIDEO_TS/VTS_01_0.BUP, /path/to/Movies/Unlucky Monkey (1998)/Unlucky Monkey (1998)/VIDEO_TS/VTS_01_0.IFO, /path/to/Movies/Unlucky Monkey (1998)/Unlucky Monkey (1998)/VIDEO_TS/VTS_01_0.VOB, /path/to/Movies/Unlucky Monkey (1998)/Unlucky Monkey (1998)/VIDEO_TS/VTS_01_1.VOB, /path/to/Movies/Unlucky Monkey (1998)/Unlucky Monkey (1998)/VIDEO_TS/VTS_01_2.VOB, /path/to/Movies/Unlucky Monkey (1998)/Unlucky Monkey (1998)/VIDEO_TS/VTS_01_3.VOB, /path/to/Movies/Unlucky Monkey (1998)/Unlucky Monkey (1998)/VIDEO_TS/VTS_01_4.VOB, /path/to/Movies/Unlucky Monkey (1998)/Unlucky Monkey (1998)/VIDEO_TS/VTS_01_5.VOB, /path/to/Movies/Unlucky Monkey (1998)/Unlucky Monkey (1998)/VIDEO_TS/VTS_02_0.BUP, /path/to/Movies/Unlucky Monkey (1998)/Unlucky Monkey (1998)/VIDEO_TS/VTS_02_0.IFO, /path/to/Movies/Unlucky Monkey (1998)/Unlucky Monkey (1998)/VIDEO_TS/VTS_02_0.VOB, /path/to/Movies/Unlucky Monkey (1998)/Unlucky Monkey (1998)/VIDEO_TS/VTS_02_1.VOB, /path/to/Movies/Unlucky Monkey (1998)/Unlucky Monkey (1998)/VIDEO_TS/VTS_03_0.BUP, /path/to/Movies/Unlucky Monkey (1998)/Unlucky Monkey (1998)/VIDEO_TS/VTS_03_0.IFO, /path/to/Movies/Unlucky Monkey (1998)/Unlucky Monkey (1998)/VIDEO_TS/VTS_03_0.VOB, /path/to/Movies/Unlucky Monkey (1998)/Unlucky Monkey (1998)/VIDEO_TS/VTS_03_1.VOB, /path/to/Movies/Unlucky Monkey (1998)/Unlucky Monkey (1998)/VIDEO_TS/VTS_04_0.BUP, /path/to/Movies/Unlucky Monkey (1998)/Unlucky Monkey (1998)/VIDEO_TS/VTS_04_0.IFO, /path/to/Movies/Unlucky Monkey (1998)/Unlucky Monkey (1998)/VIDEO_TS/VTS_04_0.VOB, /path/to/Movies/Unlucky Monkey (1998)/Unlucky Monkey (1998)/VIDEO_TS/VTS_04_1.VOB, /path/to/Movies/Unlucky Monkey (1998)/Unlucky Monkey (1998)/files, 2 folders]

Execute: [7z, x, -y, -aos, /path/to/Movies/Unlucky Monkey (1998)/Unlucky Monkey (1998).iso, -o/path/to/Movies/Unlucky Monkey (1998)/Unlucky Monkey (1998)]

7-Zip [32] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,32 bits,1 CPU LE)

Scanning the drive for archives:
1 file, 5596971008 bytes (5338 MiB)

Extracting archive: /path/to/Movies/Unlucky Monkey (1998)/Unlucky Monkey (1998).iso
--
Path = /path/to/Movies/Unlucky Monkey (1998)/Unlucky Monkey (1998).iso
Type = Udf
Physical Size = 5596971008
Comment = Unlucky Monkey 2
Cluster Size = 2048
Created = 2013-06-08 11:22:12

Everything is Ok

Folders: 2
Files: 23
Size:       5596354560
Compressed: 5596971008
Regarding yesterday's log here is the full version:

Code: Select all

 $ filebot -script fn:amc --output "/path/to/output" --action hardlink -non-strict /path/to/Unlucky\ Monkey\ \(\ 1998\)\ NTSC\ /Unlucky\ Monkey\ \(\ 1998\)\ NTSC.iso --def "@/path/to/config/amc.args"
Run script [fn:amc] at [Fri Dec 23 04:35:42 EET 2016]
Parameter: subtitles = en,el
Parameter: music = y
Parameter: unsorted = y
Parameter: excludeList = /path/to/config/amc.excludes
Parameter: seriesFormat = Series/{n}/{episode.special ? 'Special' : 'Season '+s.pad(2)}/{n} - {episode.special ? 'S00E'+special.pad(2) : s00e00} - {t.replaceAll(/[`´‘’ʻ]/, /'/).replaceAll(/[!?.]+$/).replacePart(', Part $1')}{'.'+lang}
Argument[0]: /path/to/Unlucky Monkey ( 1998) NTSC/Unlucky Monkey ( 1998) NTSC.iso
Use excludes: /path/to/config/amc.excludes (85)
{duration} => Expression yields empty value: Binding "General[0][Duration]": undefined
Input: /path/to/Unlucky Monkey ( 1998) NTSC/Unlucky Monkey ( 1998) NTSC.iso
Group: [mov:unlucky monkey 1998] => [Unlucky Monkey ( 1998) NTSC.iso]
Get [English] subtitles for 1 files
Looking up subtitles by hash via OpenSubtitles
No matching subtitles found: /path/to/Unlucky Monkey ( 1998) NTSC/Unlucky Monkey ( 1998) NTSC.iso
Get [Greek] subtitles for 1 files
Looking up subtitles by hash via OpenSubtitles
No matching subtitles found: /path/to/Unlucky Monkey ( 1998) NTSC/Unlucky Monkey ( 1998) NTSC.iso
Rename movies using [TheMovieDB]
Auto-detect movie from context: [/path/to/Unlucky Monkey ( 1998) NTSC/Unlucky Monkey ( 1998) NTSC.iso]
[HARDLINK] Rename [/path/to/Unlucky Monkey ( 1998) NTSC/Unlucky Monkey ( 1998) NTSC.iso] to [/path/to/output/Movies/Unlucky Monkey (1998)/Unlucky Monkey (1998).iso]
Processed 1 files
Done ヾ(@⌒ー⌒@)ノ
Not much was missing but anyway sorry to mislead you.

I am gonna try later with another ISO and amc script. I'll try the debugging options too. At some point I am going to test the new version of filebot, but that will take a little longer I guess.

Re: Cannot read ISO file input

Posted: 24 Dec 2016, 00:58
by phovos
On second thought I think that the "Hardlink" option might be the issue. What do you think?

Re: Cannot read ISO file input

Posted: 24 Dec 2016, 01:43
by phovos
OK tried with a different ISO.

First using option "hardlink"

Code: Select all

]$ JAVA_OPTS="-Dnet.filebot.logging.debug=ALL" filebotscript fn:amc --output "/path/to/output" --action hardlink -non-strict "/path/to/DRUNKEN_ANGEL.ISO" --def "@/path/to/config/amc.args"
Using persistent disk cache /path/to/.config/filebot/cache/0
Run script [fn:amc] at [Sat Dec 24 02:59:39 EET 2016]
Parameter: subtitles = en,el
Parameter: music = y
Parameter: unsorted = y
Parameter: excludeList = /path/to/config/amc.excludes
Parameter: seriesFormat = Series/{n}/{episode.special ? 'Special' : 'Season '+s.pad(2)}/{n} - {episode.special ? 'S00E'+special.pad(2) : s00e00} - {t.replaceAll(/[`´‘’ʻ]/, /'/).replaceAll(/[!?.]+$/).replacePart(', Part $1')}{'.'+lang}
Argument[0]: /path/to/DRUNKEN_ANGEL.ISO
Use excludes: /path/to/config/amc.excludes (87)
Execute: [7z, l, -y, /path/to/DRUNKEN_ANGEL.ISO]

7-Zip [32] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,32 bits,1 CPU LE)

Scanning the drive for archives:
1 file, 4329646080 bytes (4130 MiB)

Listing archive: /path/to/DRUNKEN_ANGEL.ISO

--
Path = /path/to/DRUNKEN_ANGEL.ISO
Type = Udf
Physical Size = 4329646080
Comment = DRUNKEN_ANGEL
Cluster Size = 2048
Created = 2005-06-24 12:30:18

   Date      Time    Attr         Size   Compressed  Name
------------------- ----- ------------ ------------  ------------------------
2005-06-24 12:30:18 D....                            VIDEO_TS
2005-06-24 12:30:18 .....        12288        12288  VIDEO_TS/VIDEO_TS.BUP
2005-06-24 12:30:18 .....        12288        12288  VIDEO_TS/VIDEO_TS.IFO
2005-06-24 12:17:12 .....        10240        10240  VIDEO_TS/VIDEO_TS.VOB
2005-06-24 12:17:16 .....        18432        18432  VIDEO_TS/VTS_01_0.BUP
2005-06-24 12:17:16 .....        18432        18432  VIDEO_TS/VTS_01_0.IFO
2005-06-24 12:17:14 .....        10240        10240  VIDEO_TS/VTS_01_0.VOB
2005-06-24 12:17:20 .....     12120064     12120064  VIDEO_TS/VTS_01_1.VOB
2005-06-24 12:21:08 .....        71680        71680  VIDEO_TS/VTS_02_0.BUP
2005-06-24 12:21:08 .....        71680        71680  VIDEO_TS/VTS_02_0.IFO
2005-06-24 12:17:30 .....      6168576      6168576  VIDEO_TS/VTS_02_0.VOB
2005-06-24 12:23:24 .....   1073739776   1073739776  VIDEO_TS/VTS_02_1.VOB
2005-06-24 12:25:08 .....   1073739776   1073739776  VIDEO_TS/VTS_02_2.VOB
2005-06-24 12:26:47 .....   1073739776   1073739776  VIDEO_TS/VTS_02_3.VOB
2005-06-24 12:28:36 .....   1073739776   1073739776  VIDEO_TS/VTS_02_4.VOB
2005-06-24 12:28:37 .....     15593472     15593472  VIDEO_TS/VTS_02_5.VOB
------------------- ----- ------------ ------------  ------------------------
2005-06-24 12:30:18         4329066496   4329066496  15 files, 1 folders

{duration} => Expression yields empty value: Binding "General[0][Duration]": undefined
Input: /path/to/DRUNKEN_ANGEL.ISO
Query Movie => [drunken angel]
Fetch resource: https://api.themoviedb.org/3/search/movie?query=drunken+angel&language=en&api_key=66308fb6e3fd850dde4c7d21df2e8306
Store ETag: dc6a6489640ca02b0d42dabeb8e46bb7
Received 469 bytes
Rank [DRUNKEN ANGEL] => [Drunken Angel (1948), Iron Angels (1987), Angel (2005), Angel (2015), Angel (1982), Angel (2007), Angel (1984)]
Group: [mov:drunken angel 1948] => [DRUNKEN_ANGEL.ISO]
Get [English] subtitles for 1 files
Looking up subtitles by hash via OpenSubtitles
No matching subtitles found: /path/to/DRUNKEN_ANGEL.ISO
Get [Greek] subtitles for 1 files
Looking up subtitles by hash via OpenSubtitles
No matching subtitles found: /path/to/DRUNKEN_ANGEL.ISO
Rename movies using [TheMovieDB]
Auto-detect movie from context: [/path/to/DRUNKEN_ANGEL.ISO]
Query Movie => [drunken angel]
Rank [DRUNKEN ANGEL] => [Drunken Angel (1948), Iron Angels (1987), Angel (2005), Angel (2015), Angel (1982), Angel (2007), Angel (1984)]
Fetch resource: https://api.themoviedb.org/3/movie/25858?language=en&api_key=66308fb6e3fd850dde4c7d21df2e8306
Store ETag: "48eb407072f2f7793e104f247505cfd3"
Received 740 bytes
[HARDLINK] Rename [/path/to/DRUNKEN_ANGEL.ISO] to [/path/to/output/Movies/Drunken Angel (1948)/Drunken Angel (1948).iso]
Processed 1 files
Done ヾ(@⌒ー⌒@)ノ
Then renamed the folder as to avoid a conflict and tried again with action "move".

Code: Select all

$ JAVA_OPTS="-Dnet.filebot.logging.debug=ALL" filebot -script fn:amc --output "/path/to/output" --action move -non-strict /path/to/Movies/Drunken\ Angel\ 2\ \(1948\)/Drunken\ Angel\ \(1948\).iso --def "@/path/to/config/amc.args"
Using persistent disk cache /path/to/.config/filebot/cache/0
Run script [fn:amc] at [Sat Dec 24 03:06:19 EET 2016]
Parameter: subtitles = en,el
Parameter: music = y
Parameter: unsorted = y
Parameter: excludeList = /path/to/config/amc.excludes
Parameter: seriesFormat = Series/{n}/{episode.special ? 'Special' : 'Season '+s.pad(2)}/{n} - {episode.special ? 'S00E'+special.pad(2) : s00e00} - {t.replaceAll(/[`´‘’ʻ]/, /'/).replaceAll(/[!?.]+$/).replacePart(', Part $1')}{'.'+lang}
Argument[0]: /path/to/Movies/Drunken Angel 2 (1948)/Drunken Angel (1948).iso
Use excludes: /path/to/config/amc.excludes (88)
Execute: [7z, l, -y, /path/to/Movies/Drunken Angel 2 (1948)/Drunken Angel (1948).iso]

7-Zip [32] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,32 bits,1 CPU LE)

Scanning the drive for archives:
1 file, 4329646080 bytes (4130 MiB)

Listing archive: /path/to/Movies/Drunken Angel 2 (1948)/Drunken Angel (1948).iso

--
Path = /path/to/Movies/Drunken Angel 2 (1948)/Drunken Angel (1948).iso
Type = Udf
Physical Size = 4329646080
Comment = DRUNKEN_ANGEL
Cluster Size = 2048
Created = 2005-06-24 12:30:18

   Date      Time    Attr         Size   Compressed  Name
------------------- ----- ------------ ------------  ------------------------
2005-06-24 12:30:18 D....                            VIDEO_TS
2005-06-24 12:30:18 .....        12288        12288  VIDEO_TS/VIDEO_TS.BUP
2005-06-24 12:30:18 .....        12288        12288  VIDEO_TS/VIDEO_TS.IFO
2005-06-24 12:17:12 .....        10240        10240  VIDEO_TS/VIDEO_TS.VOB
2005-06-24 12:17:16 .....        18432        18432  VIDEO_TS/VTS_01_0.BUP
2005-06-24 12:17:16 .....        18432        18432  VIDEO_TS/VTS_01_0.IFO
2005-06-24 12:17:14 .....        10240        10240  VIDEO_TS/VTS_01_0.VOB
2005-06-24 12:17:20 .....     12120064     12120064  VIDEO_TS/VTS_01_1.VOB
2005-06-24 12:21:08 .....        71680        71680  VIDEO_TS/VTS_02_0.BUP
2005-06-24 12:21:08 .....        71680        71680  VIDEO_TS/VTS_02_0.IFO
2005-06-24 12:17:30 .....      6168576      6168576  VIDEO_TS/VTS_02_0.VOB
2005-06-24 12:23:24 .....   1073739776   1073739776  VIDEO_TS/VTS_02_1.VOB
2005-06-24 12:25:08 .....   1073739776   1073739776  VIDEO_TS/VTS_02_2.VOB
2005-06-24 12:26:47 .....   1073739776   1073739776  VIDEO_TS/VTS_02_3.VOB
2005-06-24 12:28:36 .....   1073739776   1073739776  VIDEO_TS/VTS_02_4.VOB
2005-06-24 12:28:37 .....     15593472     15593472  VIDEO_TS/VTS_02_5.VOB
------------------- ----- ------------ ------------  ------------------------
2005-06-24 12:30:18         4329066496   4329066496  15 files, 1 folders

{duration} => Expression yields empty value: Binding "General[0][Duration]": undefined
Input: /path/to/Movies/Drunken Angel 2 (1948)/Drunken Angel (1948).iso
xattr: [Drunken Angel (1948).iso] => [Drunken Angel (1948)]
Group: [mov:drunken angel 1948] => [Drunken Angel (1948).iso]
Get [English] subtitles for 1 files
Looking up subtitles by hash via OpenSubtitles
No matching subtitles found: /path/to/Movies/Drunken Angel 2 (1948)/Drunken Angel (1948).iso
Get [Greek] subtitles for 1 files
Looking up subtitles by hash via OpenSubtitles
No matching subtitles found: /path/to/Movies/Drunken Angel 2 (1948)/Drunken Angel (1948).iso
Rename movies using [TheMovieDB]
Auto-detect movie from context: [/path/to/Movies/Drunken Angel 2 (1948)/Drunken Angel (1948).iso]
Rank [Drunken Angel 1948, Drunken Angel 2 1948] => [Drunken Angel (1948), Iron Angels (1987), Angel (1982), Angel (1984), Angel (2005), Angel (2015), Angel (2007)]
[MOVE] Rename [/path/to/Movies/Drunken Angel 2 (1948)/Drunken Angel (1948).iso] to [/path/to/output/Movies/Drunken Angel (1948)/Drunken Angel (1948).iso]
Processed 1 files
Done ヾ(@⌒ー⌒@)ノ
Again no extraction. It makes sense actually. You can rename a hardlink and still point to the same inode, but extract it and it is not longer the same file.

I am guessing action "copy" would work though.

Re: Cannot read ISO file input

Posted: 24 Dec 2016, 04:16
by rednoah
Passing in files directly into instead of then folder they're in might result in different behaviour.

Looks like it won't extract ISO archives if you pass them in explicitly, instead of the parent folder.

Re: Cannot read ISO file input

Posted: 13 Jan 2017, 23:42
by phovos
OK as promised I tested a newer version (r4678), and I still get the same behaviour. The ISO file, with "action hardlink", is renamed but not extracted. Same as before.

This time also I used an explicit path which probably means that no definite conclusion can be drawn. To be honest though when it comes to hardlinking this behaviour might more correct.

EDIT: By the way, I noticed that when doing a test run filebot will report "failure" even though a subsequent actual run with exactly the same arguments will be fine. I think this is new.