Page 1 of 1

[amc] failure on Linux command line TV show season

Posted: 20 Jul 2017, 12:34
by plittlefield
Can anyone help with this?

Code: Select all

$ filebot -script fn:amc --q "Home Movies" --output "/home/user/Plex" --log-file "/home/user/.filebot/logs/amc.log" --action copy -non-strict --def "seriesFormat=TV/{n}/{n} {s00e00}" "movieFormat=Movies/{n} ({y})" clean=y "/home/user/Downloads/Videos/ToDo/Home Movies, Seasons 1, 2, 3, and 4/Home Movies - Season 2/"

Locking /home/user/.filebot/logs/amc.log
Run script [fn:amc] at [Thu Jul 20 13:26:30 BST 2017]
Parameter: seriesFormat = TV/{n}/{n} {s00e00}
Parameter: movieFormat = Movies/{n} ({y})
Parameter: clean = y
Argument[0]: /home/user/Downloads/Videos/ToDo/Home Movies, Seasons 1, 2, 3, and 4/Home Movies - Season 2
Input: /home/user/Downloads/Videos/ToDo/Home Movies, Seasons 1, 2, 3, and 4/Home Movies - Season 2/Home Movies - S2E01 - Politics.avi
Input: /home/user/Downloads/Videos/ToDo/Home Movies, Seasons 1, 2, 3, and 4/Home Movies - Season 2/Home Movies - S2E02 - Identifying a Body.avi
Input: /home/user/Downloads/Videos/ToDo/Home Movies, Seasons 1, 2, 3, and 4/Home Movies - Season 2/Home Movies - S2E03 - Hiatus.avi
Input: /home/user/Downloads/Videos/ToDo/Home Movies, Seasons 1, 2, 3, and 4/Home Movies - Season 2/Home Movies - S2E04 - Business and Pleasure.avi
Input: /home/user/Downloads/Videos/ToDo/Home Movies, Seasons 1, 2, 3, and 4/Home Movies - Season 2/Home Movies - S2E05 - The Party.avi
Input: /home/user/Downloads/Videos/ToDo/Home Movies, Seasons 1, 2, 3, and 4/Home Movies - Season 2/Home Movies - S2E06 - Impressions.avi
Input: /home/user/Downloads/Videos/ToDo/Home Movies, Seasons 1, 2, 3, and 4/Home Movies - Season 2/Home Movies - S2E07 - Dad.avi
Input: /home/user/Downloads/Videos/ToDo/Home Movies, Seasons 1, 2, 3, and 4/Home Movies - Season 2/Home Movies - S2E08 - Therapy.avi
Input: /home/user/Downloads/Videos/ToDo/Home Movies, Seasons 1, 2, 3, and 4/Home Movies - Season 2/Home Movies - S2E09 - Class Trip.avi
Input: /home/user/Downloads/Videos/ToDo/Home Movies, Seasons 1, 2, 3, and 4/Home Movies - Season 2/Home Movies - S2E10 - History.avi
Input: /home/user/Downloads/Videos/ToDo/Home Movies, Seasons 1, 2, 3, and 4/Home Movies - Season 2/Home Movies - S2E11 - Writer's Block.avi
Input: /home/user/Downloads/Videos/ToDo/Home Movies, Seasons 1, 2, 3, and 4/Home Movies - Season 2/Home Movies - S2E12 - Pizza Club.avi
Input: /home/user/Downloads/Videos/ToDo/Home Movies, Seasons 1, 2, 3, and 4/Home Movies - Season 2/Home Movies - S2E13 - The Wedding.avi
Group: [tvs:null] => [Home Movies - S2E01 - Politics.avi, Home Movies - S2E02 - Identifying a Body.avi, Home Movies - S2E03 - Hiatus.avi, Home Movies - S2E04 - Business and Pleasure.avi, Home Movies - S2E05 - The Party.avi, Home Movies - S2E06 - Impressions.avi, Home Movies - S2E07 - Dad.avi, Home Movies - S2E08 - Therapy.avi, Home Movies - S2E09 - Class Trip.avi, Home Movies - S2E10 - History.avi, Home Movies - S2E11 - Writer's Block.avi, Home Movies - S2E12 - Pizza Club.avi, Home Movies - S2E13 - The Wedding.avi]
Finished without processing any files
Failure (°_°)

https://pastebin.com/gUwdGBJb

Re: [amc] failure on Linux command line TV show season

Posted: 20 Jul 2017, 13:01
by superm4n
your amc/log will have more information

Re: [amc] failure on Linux command line TV show season

Posted: 20 Jul 2017, 13:44
by plittlefield
Nope, just exactly the same as the text above.

I think it's not picking up the "Home Movies" title or finding a suitable title?

Code: Select all

Group: [tvs:null] =>
I passed the option --q "Home Movies" which it seems to have ignored.

Re: [amc] failure on Linux command line TV show season

Posted: 20 Jul 2017, 14:32
by rednoah
1.
"Home Movies" is probably a blacklisted term, such as "Complete" or "Downloads". You will not be able to process these files in a fully automated fashion.


2.
The --q option has no effect on the amc script. You can do a simple filebot -rename --q call though.

Re: [amc] failure on Linux command line TV show season

Posted: 21 Jul 2017, 11:01
by plittlefield
Ah, that would explain it and yes "Home Movies" is an odd one :-)

http://thetvdb.com/?id=75318&tab=series

For future development, how about a --force parameter and then perhaps a --thetvdbid=75318 so that the amc script would "just go and get on with it"?

I will try the -rename option... is there a test parameter and do I need to put the files in a separate folder?

Thanks.

Re: [amc] failure on Linux command line TV show season

Posted: 21 Jul 2017, 11:20
by plittlefield
OK, so this worked...

Code: Select all

filebot -rename "Downloads/Videos/ToDo/Home Movies, Seasons 1, 2, 3, and 4/Home Movies - Season 4"/ --format "{n} {s00e00}" --q "Home Movies" --db TheTVDB
...but the --output option to choose a folder kept crashing it.

Re: [amc] failure on Linux command line TV show season

Posted: 21 Jul 2017, 16:11
by rednoah
--output needs to be a valid folder. I highly doubt that it would crash, but if you pass in invalid arguments, then it will give you a error message and then exit.

Re: [amc] failure on Linux command line TV show season

Posted: 21 Jul 2017, 16:47
by kim
this is ok:

Code: Select all

filebot.cmd -list --q "Home Movies" --db thetvdb
so maybe you can use this:

Code: Select all

filebot.cmd -list --q "Home Movies" --db thetvdb --filter regular --format {plex.name} -rename *.avi