movie/episode auto-detection and custom destination paths

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
sweetthdevil
Posts: 4
Joined: 25 May 2017, 22:52

movie/episode auto-detection and custom destination paths

Post by sweetthdevil »

Hello all,

First of all apologies for the question but I failed to find the approach/information I think I need to use filebot successfully.

Basic Info:

Filebot is running on a Seagate GoFlex running ARM Archlinux - so all operations are command based.
I use pyLoad to download all my movie/tv show - it also handle the unpacking of the files.
My medias are then managed by Kodi through a central Mariadb database.

I want to use filebot to replace tvnamer that is going to become obsolete due to thetvdb change of api.

The operations need:

All files are downloaded to /mnt/hd/Download/ and I want to manually call a bash script to run filebot to detect the movie or tv show.

In case of a movie, filebot should then rename it to "name of the movie (date)" then create a folder in /mnt/hd/Movie/name\ of\ the\ movie\ \(year\)/ then move the newly created file there.

Same principle for a tv show apart, renaming the tv show according to thetvdb, then moving it to /mnt/hd/Show/name\ of\ the\ show/name\ of\ the\ show\ -\ 00x00\ -\ name\ of\ the\ episode\.mkv
(not creating seperate folder per season)

Key point - filebot must remove/replace all character from the file name that trouble the server to read, i.e. "&" "?" etc.

Trouble is that I cannot find a clear topic that will guide me to create such a script.

Your help and time reading this nooby topic are greatly appreciated.
Thanks,
User avatar
rednoah
The Source
Posts: 23932
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Noobie question

Post by rednoah »

You'll want to use the amc script and pass in custom formats (i.e. destination path template).
:idea: Please read the FAQ and How to Request Help.
sweetthdevil
Posts: 4
Joined: 25 May 2017, 22:52

Re: movie/episode auto-detection and custom destination paths

Post by sweetthdevil »

thank you for your reply, indeed it seems like the right beginning for my needs.

But I cannot figure out where to get the script from?
User avatar
rednoah
The Source
Posts: 23932
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: movie/episode auto-detection and custom destination paths

Post by rednoah »

Please follow the Run from cmdline instructions. You just need the filebot command. You don't need to get any script from anywhere.
:idea: Please read the FAQ and How to Request Help.
Post Reply