[Node] How does -non-strict and --def seriesFormat work?
Posted: 02 Oct 2015, 22:42
Hello everybody,
I`m a noobie to running FileBot on a Synology and my english is not the best.
But I`ll give it a try and hope you`re in a good mood...
My story:
I`ve installed the latest DSM 5.2, Java 1.8.0_60 and FileBot 4.6 on my DS214play. First problem was the JAVA_HOME path "Java not found". I`ve used the symlink (ln -s -f /volume1/@appstore/JavaManager/Java/jre/bin/ /usr/local/bin/java), but now FileBot sends me "Permission denied". I`ve also changed the FileBot.sh and replaced "Java" the last line with the absolut path "/volume1/@appstore/JavaManager/Java/jre/bin/". FileBot still give me the error, but runs normally. So far, so good.
If this is a Java problem, I apologize in advance! I`m not sure if everything is installed correctly, but JDownloader runs fine without any problems...
Now I put some files in my folder and execute FileBot node on my Synology. Here are the results:
I think my problem is here:
Auto-detected query: [Better Call Saul, callsaul]
CmdlineException: Processing multiple shows at once requires -non-strict
The Auto-Detection found Better Call Saul in the folder name and callsaul in the filename.
Then the CmdlineException shows me multiple shows instead of one. If the name of the file is equal to the folder, the script runs smooth:
Can someone please help me out with that? It happens with every series I`ve tried: The 100, Modern Family etc. I don`t want to rename them first, then I can use the desktop version instead
Another example:
btw how did FileBot know, where to put the files in? I can only define a folder, but in the How to Screenshot, the files from Firefly where sorted correctly by season into the folders:

Where can I find the commands for this nice feature?
Thanks a lot for your patience on this long thread! I hope I`ve described everything correctly. If I forgot something, please ask me!
ChilliNr1
My settings:



Synology DS214play
DSM5.2 (latest)
6TB WD HDD (volume1)
FileBot 4.6
FileBot node 0.1.7
node.js 0.12.4-0110
I`m a noobie to running FileBot on a Synology and my english is not the best.

But I`ll give it a try and hope you`re in a good mood...
My story:
I`ve installed the latest DSM 5.2, Java 1.8.0_60 and FileBot 4.6 on my DS214play. First problem was the JAVA_HOME path "Java not found". I`ve used the symlink (ln -s -f /volume1/@appstore/JavaManager/Java/jre/bin/ /usr/local/bin/java), but now FileBot sends me "Permission denied". I`ve also changed the FileBot.sh and replaced "Java" the last line with the absolut path "/volume1/@appstore/JavaManager/Java/jre/bin/". FileBot still give me the error, but runs normally. So far, so good.
If this is a Java problem, I apologize in advance! I`m not sure if everything is installed correctly, but JDownloader runs fine without any problems...

Now I put some files in my folder and execute FileBot node on my Synology. Here are the results:
Code: Select all
filebot -script 'fn:amc' /volume1/downloads/jDownloader2 --output /volume1/video/Serien --action move --conflict auto --lang de --def 'ut_label=tv' 'music=y' 'unsorted=y' 'deleteAfterExtract=y' 'seriesFormat={n} {s00e00} - {t.replaceAll('\''ä'\'', '\''ae'\'')replaceAll('\''ü'\'', '\''ue'\'')replaceAll('\''ö'\'', '\''oe'\'')}' 'excludeList=.excludes' --log all --log-file '/volume1/@appstore/filebot-node/filebot.log'
------------------------------------------
/usr/local/bin/filebot: line 41: /volume1/@appstore/JavaManager/Java/jre/bin/: Permission denied
Locking /volume1/@appstore/filebot-node/filebot.log
Run script [fn:amc] at [Thu Oct 01 19:22:21 GMT+01:00 2015]
Parameter: ut_label = tv
Parameter: music = y
Parameter: unsorted = y
Parameter: deleteAfterExtract = y
Parameter: seriesFormat = {n} {s00e00} - {t.replaceAll('ä', 'ae')replaceAll('ü', 'ue')replaceAll('ö', 'oe')}
Parameter: excludeList = .excludes
Argument: /volume1/downloads/jDownloader2
Input: /volume1/downloads/jDownloader2/Better Call Saul S01E10 Marco GERMAN DUBBED WS WEBRip x264-TVP/tvp-callsaul-s01e10-480p.mkv
Group: [tvs:better call saul] => [tvp-callsaul-s01e10-480p.mkv]
Rename episodes using [TheTVDB]
Auto-detected query: [Better Call Saul, callsaul]
CmdlineException: Processing multiple shows at once requires -non-strict
Processing 1 unsorted files
[MOVE] Rename [/volume1/downloads/jDownloader2/Better Call Saul S01E10 Marco GERMAN DUBBED WS WEBRip x264-TVP/tvp-callsaul-s01e10-480p.mkv] to [/volume1/video/Serien/Unsorted/jDownloader2/Better Call Saul S01E10 Marco GERMAN DUBBED WS WEBRip x264-TVP/tvp-callsaul-s01e10-480p.mkv]
Processed 1 files
Done ヾ(@⌒ー⌒@)ノ
Auto-detected query: [Better Call Saul, callsaul]
CmdlineException: Processing multiple shows at once requires -non-strict
The Auto-Detection found Better Call Saul in the folder name and callsaul in the filename.
Then the CmdlineException shows me multiple shows instead of one. If the name of the file is equal to the folder, the script runs smooth:
Code: Select all
filebot -script 'fn:amc' /volume1/downloads/jDownloader2 --output /volume1/video/Serien --action move --conflict auto --lang de --def 'ut_label=tv' 'music=y' 'unsorted=y' 'deleteAfterExtract=y' 'seriesFormat={n} {s00e00} - {t.replaceAll('\''ä'\'', '\''ae'\'')replaceAll('\''ü'\'', '\''ue'\'')replaceAll('\''ö'\'', '\''oe'\'')}' 'excludeList=.excludes' --log all --log-file '/volume1/@appstore/filebot-node/filebot.log'
------------------------------------------
/usr/local/bin/filebot: line 41: /volume1/@appstore/JavaManager/Java/jre/bin/: Permission denied
Locking /volume1/@appstore/filebot-node/filebot.log
Run script [fn:amc] at [Thu Oct 01 19:30:29 GMT+01:00 2015]
Parameter: ut_label = tv
Parameter: music = y
Parameter: unsorted = y
Parameter: deleteAfterExtract = y
Parameter: seriesFormat = {n} {s00e00} - {t.replaceAll('ä', 'ae')replaceAll('ü', 'ue')replaceAll('ö', 'oe')}
Parameter: excludeList = .excludes
Argument: /volume1/downloads/jDownloader2
Input: /volume1/downloads/jDownloader2/Better Call Saul S01E10 Marco GERMAN DUBBED WS WEBRip x264-TVP/Better Call Saul S01E10 Marco GERMAN DUBBED WS WEBRip x264-TVP.mkv
Group: [tvs:better call saul] => [Better Call Saul S01E10 Marco GERMAN DUBBED WS WEBRip x264-TVP.mkv]
Rename episodes using [TheTVDB]
Auto-detected query: [Better Call Saul]
Fetching episode data for [Better Call Saul]
[MOVE] Rename [/volume1/downloads/jDownloader2/Better Call Saul S01E10 Marco GERMAN DUBBED WS WEBRip x264-TVP/Better Call Saul S01E10 Marco GERMAN DUBBED WS WEBRip x264-TVP.mkv] to [/volume1/video/Serien/Better Call Saul S01E10 - Marco.mkv]
Processed 1 files
Done ヾ(@⌒ー⌒@)ノ

Code: Select all
filebot -script 'fn:amc' /volume1/downloads/jDownloader2 --output /volume1/video/Serien --action move --conflict auto --lang de --def 'ut_label=tv' 'music=y' 'unsorted=y' 'skipExtract=y' 'seriesFormat={n} {s00e00} - {t.replaceAll('\''ä'\'', '\''ae'\'')replaceAll('\''ü'\'', '\''ue'\'')replaceAll('\''ö'\'', '\''oe'\'')}' 'excludeList=.excludes' --log all --log-file '/volume1/@appstore/filebot-node/filebot.log'
------------------------------------------
/usr/local/bin/filebot: line 41: /volume1/@appstore/JavaManager/Java/jre/bin/: Permission denied
Locking /volume1/@appstore/filebot-node/filebot.log
Run script [fn:amc] at [Fri Oct 02 13:48:18 GMT+01:00 2015]
Parameter: ut_label = tv
Parameter: music = y
Parameter: unsorted = y
Parameter: skipExtract = y
Parameter: seriesFormat = {n} {s00e00} - {t.replaceAll('ä', 'ae')replaceAll('ü', 'ue')replaceAll('ö', 'oe')}
Parameter: excludeList = .excludes
Argument: /volume1/downloads/jDownloader2
Input: /volume1/downloads/jDownloader2/tvp-modernfamily-s05e09-480p.mkv
Group: [tvs:modern family] => [tvp-modernfamily-s05e09-480p.mkv]
Rename episodes using [TheTVDB]
Auto-detected query: [Modern Family, modernfamily]
CmdlineException: Processing multiple shows at once requires -non-strict
Processing 1 unsorted files
[MOVE] Rename [/volume1/downloads/jDownloader2/tvp-modernfamily-s05e09-480p.mkv] to [/volume1/video/Serien/Unsorted/jDownloader2/tvp-modernfamily-s05e09-480p.mkv]
Processed 1 files
Done ヾ(@⌒ー⌒@)ノ

Where can I find the commands for this nice feature?
Thanks a lot for your patience on this long thread! I hope I`ve described everything correctly. If I forgot something, please ask me!
ChilliNr1
My settings:



Synology DS214play
DSM5.2 (latest)
6TB WD HDD (volume1)
FileBot 4.6
FileBot node 0.1.7
node.js 0.12.4-0110