[amc] failure on Linux command line TV show season

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
plittlefield
Posts: 101
Joined: 09 Mar 2014, 19:15

[amc] failure on Linux command line TV show season

Post 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
superm4n
Donor
Posts: 15
Joined: 30 Jun 2017, 14:27

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

Post by superm4n »

your amc/log will have more information
plittlefield
Posts: 101
Joined: 09 Mar 2014, 19:15

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

Post 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.
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

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

Post 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.
:idea: Please read the FAQ and How to Request Help.
plittlefield
Posts: 101
Joined: 09 Mar 2014, 19:15

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

Post 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.
plittlefield
Posts: 101
Joined: 09 Mar 2014, 19:15

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

Post 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.
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

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

Post 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.
:idea: Please read the FAQ and How to Request Help.
kim
Power User
Posts: 1251
Joined: 15 May 2014, 16:17

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

Post 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
Post Reply