Filebot Debian Linux + Transmission + TV/Movie Recognization

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
josh.moore
Posts: 11
Joined: 28 Jan 2014, 03:36

Filebot Debian Linux + Transmission + TV/Movie Recognization

Post by josh.moore »

Is there any clean way to invoke a Filebot script so that it renames and moves torrents based on an identification type? What I want to do is have one instance of transmission invoke Filebot and then have filebot identify if the media is a TV show or Movie and perform rename actions based off of which one it is.

Any quick solutions or ideas?

Currently I use two instances of transmission. One is strictly for Movies, one for TV. I want to get away from this.
User avatar
rednoah
The Source
Posts: 23005
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Filebot Debian Linux + Transmission + TV/Movie Recogniza

Post by rednoah »

You can force Movie/TV Show/Anime mode or force ignore files via torrent labels, e.g. label movie to force TMDB, tv to force TheTVDB, anime to force AniDB or other to not process this torrent
:idea: Please read the FAQ and How to Request Help.
josh.moore
Posts: 11
Joined: 28 Jan 2014, 03:36

Re: Filebot Debian Linux + Transmission + TV/Movie Recogniza

Post by josh.moore »

I'm a little confiused by that quote. Does it mean that you can activate media type detection (TV or Movie) based on torrent label? If so, what is the match logic/criteria?
User avatar
rednoah
The Source
Posts: 23005
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Filebot Debian Linux + Transmission + TV/Movie Recogniza

Post by rednoah »

Just need to pass along --def ut_label, exactly as it says:

label = tv -> tv mode
label = movie -> movie mode
label = anime -> anime mode
:idea: Please read the FAQ and How to Request Help.
josh.moore
Posts: 11
Joined: 28 Jan 2014, 03:36

Re: Filebot Debian Linux + Transmission + TV/Movie Recogniza

Post by josh.moore »

Ok bear with me here. And ut_label correlates to what exactly? The torrent filename? Magnet link URL? Magnet link metadata?
User avatar
rednoah
The Source
Posts: 23005
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Filebot Debian Linux + Transmission + TV/Movie Recogniza

Post by rednoah »

The label... corresponds to the label. Like, the label, in your torrent client where you set labels.

Of course in the amc script the label is whatever is passed in via --def ut_label from the cmdline.

Image
:idea: Please read the FAQ and How to Request Help.
josh.moore
Posts: 11
Joined: 28 Jan 2014, 03:36

Re: Filebot Debian Linux + Transmission + TV/Movie Recogniza

Post by josh.moore »

Alright that makes sense. I noticed you don't use ut_label in the recommended automated script for Transmission. Why is this?

http://www.filebot.net/forums/viewtopic ... 1561#p3380
josh.moore
Posts: 11
Joined: 28 Jan 2014, 03:36

Re: Filebot Debian Linux + Transmission + TV/Movie Recogniza

Post by josh.moore »

Ah makes sense considering there is no variable for it.
josh.moore
Posts: 11
Joined: 28 Jan 2014, 03:36

Re: Filebot Debian Linux + Transmission + TV/Movie Recogniza

Post by josh.moore »

Ok now I am curious on Filebot's music renaming capabilities. Are there any documented CLI examples on how to use the music option?
User avatar
rednoah
The Source
Posts: 23005
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Filebot Debian Linux + Transmission + TV/Movie Recogniza

Post by rednoah »

In the amc script you just need to set --def music=y and hope that AcoustID will identify files in the way you want.


The rest works pretty much the same as with everything else:

Code: Select all

filebot -rename test.mp3

Code: Select all

filebot -rename test.mp3 --db AcoustID --action copy --format "{artist} - {t}"
--db AcoustID by default but you can play with --db "ID3 Tags" if you don't want to use AcoustID acoustic fingerprint lookups.

Note that FileBot will not touch / tag files.
:idea: Please read the FAQ and How to Request Help.
josh.moore
Posts: 11
Joined: 28 Jan 2014, 03:36

Re: Filebot Debian Linux + Transmission + TV/Movie Recogniza

Post by josh.moore »

I'm getting an interesting error now:

Code: Select all

/usr/share/filebot/fpcalc: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by /usr/share/filebot/fpcalc)
I'm running Debian with latest version of libc6 package.

My script syntax is:

Code: Select all

#!/bin/bash
filebot -rename /var/files/torrents/music -r --db AcoustID -non-strict --format "/var/files/music/{artist} - {t}" --conflict override
Any ideas?
josh.moore
Posts: 11
Joined: 28 Jan 2014, 03:36

Re: Filebot Debian Linux + Transmission + TV/Movie Recogniza

Post by josh.moore »

Turns out that latest stable is 2.13 and filebot is needing 2.14 for fpcalc.

What a pain.

I added the libc6-dev package and it seems to have resolved the issue.
josh.moore
Posts: 11
Joined: 28 Jan 2014, 03:36

Re: Filebot Debian Linux + Transmission + TV/Movie Recogniza

Post by josh.moore »

rednoah wrote:In the amc script you just need to set --def music=y and hope that AcoustID will identify files in the way you want.


The rest works pretty much the same as with everything else:

Code: Select all

filebot -rename test.mp3

Code: Select all

filebot -rename test.mp3 --db AcoustID --action copy --format "{artist} - {t}"
--db AcoustID by default but you can play with --db "ID3 Tags" if you don't want to use AcoustID acoustic fingerprint lookups.

Note that FileBot will not touch / tag files.
This may be a long shot but is there any way to try ID3 first and if it can't find a match do AcoustID?
User avatar
rednoah
The Source
Posts: 23005
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Filebot Debian Linux + Transmission + TV/Movie Recogniza

Post by rednoah »

Just do this first:

Code: Select all

filebot -rename -r /path/to/music --db "ID3 Tags" --output /some/other/location
Files that don't have all the basic ID3 tags will be ignored from processing. Whatever remains you can process through AcoustID.
:idea: Please read the FAQ and How to Request Help.
josh.moore
Posts: 11
Joined: 28 Jan 2014, 03:36

Re: Filebot Debian Linux + Transmission + TV/Movie Recogniza

Post by josh.moore »

The problem here is that I am running this off of a time based script. I don't want the tail end of my AcoustID to catch files that have been newly downloaded and haven't had the opportunity to pass through ID3 identification first. Make sense?

The reason I am using time-based scripting is because Transmission will not launch filebot after the download finishes... only after seeding has completed which is undesirable.
Post Reply