Running FileBot from the console, Groovy scripting, shell scripts, etc
saitoh183
Posts: 112 Joined: 02 Oct 2012, 16:59
Post
by saitoh183 » 17 Jul 2016, 04:36
FileBot 4.7 (r3923) / Java(TM) SE Runtime Environment 1.8.0_91
Using test in script and output keeps confusing the movie for tv
script:
Code: Select all
filebot -script fn:amc --def movieFormat="/media/videos/UFC/{movie}/{movie}" --action test -non-strict /mnt/sde1/Downloads_area/Download_movies --log-file movies.log --def clean=y --db TheMovieDB
Output:
Code: Select all
Locking /home/saitoh183/.filebot/logs/movies.log
Run script [fn:amc] at [Sun Jul 17 00:17:28 EDT 2016]
Parameter: movieFormat = /media/videos/UFC/{movie}/{movie}
Parameter: clean = y
Argument: /mnt/sde1/Downloads_area/Download_movies
Input: /mnt/sde1/Downloads_area/Download_movies/UFC.200.PPV.Tate.vs.Nunes.720p.HDTV.x264-Ebi/UFC.200.PPV.Tate.vs.Nunes.720p.HDTV.x264-Ebi.mp4
UFC.200.PPV.Tate.vs.Nunes.720p.HDTV.x264-Ebi.mp4 [series: ufc, movie: UFC 200: Tate vs. Nunes (2016)]
Exclude Movie: UFC 200: Tate vs. Nunes (2016)
Group: [tvs:ufc, mov:null] => [UFC.200.PPV.Tate.vs.Nunes.720p.HDTV.x264-Ebi.mp4]
Rename episodes using [TheTVDB]
Auto-detected query: [ufc]
Fetching episode data for [UFC Lab]
[TEST] Rename [/mnt/sde1/Downloads_area/Download_movies/UFC.200.PPV.Tate.vs.Nunes.720p.HDTV.x264-Ebi/UFC.200.PPV.Tate.vs.Nunes.720p.HDTV.x264-Ebi.mp4] to [/mnt/sde1/Downloads_area/Download_movies/UFC.200.PPV.Tate.vs.Nunes.720p.HDTV.x264-Ebi/TV Shows/UFC Lab/Season 01/UFC Lab - S01E07 - Charles Oliveira.mp4]
Processed 1 files
Done ヾ(@⌒ー⌒@)ノ
I just need it to rename using TheMovieDB and move the file and from:
/mnt/sde1/Downloads_area/Download_movies
to
/media/videos/UFC/movie (year)/movie (year).ext
rednoah
The Source
Posts: 23953 Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:
Post
by rednoah » 17 Jul 2016, 05:03
You can force movie mode by passing
ut_label . Please read the manual for more information and tips on best practices:
saitoh183
Posts: 112 Joined: 02 Oct 2012, 16:59
Post
by saitoh183 » 17 Jul 2016, 06:41
rednoah wrote: You can force movie mode by passing
ut_label . Please read the manual for more information and tips on best practices:
i thought ut_label was something only for utorrent...
rednoah
The Source
Posts: 23953 Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:
Post
by rednoah » 17 Jul 2016, 07:36
rednoah wrote: You can (and should) force Movie/Series/Anime mode or force ignore files via labels, e.g. label as Movie to force TheMovieDB, Series to force TheTVDB, Anime to force AniDB, or other to ignore all files. Alternatively, folder names such as Movies/TV Shows/Anime may also be used to force a specific mode.
filebot/amc is a command-line tool and doesn't know or care by whom it's called. There just happen to be a few parameters named ut_* for historic reasons.
thach1ef
Posts: 13 Joined: 30 Apr 2015, 19:35
Post
by thach1ef » 12 Dec 2016, 10:04
Sorry to bump an old thread but I had been having this problem as well.
I run the amc filebot script in a .bat file after I'm finished a downloading session and have noticed that it frequently will mix up movies vs tv shows.
You mention above that he can force movie by passing ut_label=movie. I also read the copied portion you have mentioned that we "should" force this.
However wouldn't that simply mess up any tv shows you download?
rednoah
The Source
Posts: 23953 Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:
Post
by rednoah » 12 Dec 2016, 10:11
1.
If you label your TV Shows as "movie" then you most certainly won't be happy about the result.
2.
If you have issues with movie/episode auto-detection you need to post the logs.
thach1ef
Posts: 13 Joined: 30 Apr 2015, 19:35
Post
by thach1ef » 12 Dec 2016, 17:35
Ok thank you. the next time I run into it, I'll make sure to post.