Page 1 of 1

Filebot Debian Linux + Transmission + TV/Movie Recognization

Posted: 22 Sep 2014, 15:37
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.

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

Posted: 22 Sep 2014, 17:01
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

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

Posted: 22 Sep 2014, 18:55
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?

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

Posted: 22 Sep 2014, 19:07
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

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

Posted: 22 Sep 2014, 19:12
by josh.moore
Ok bear with me here. And ut_label correlates to what exactly? The torrent filename? Magnet link URL? Magnet link metadata?

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

Posted: 22 Sep 2014, 19:22
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

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

Posted: 22 Sep 2014, 19:33
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

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

Posted: 22 Sep 2014, 19:37
by rednoah

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

Posted: 22 Sep 2014, 20:46
by josh.moore
Ah makes sense considering there is no variable for it.

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

Posted: 23 Sep 2014, 14:24
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?

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

Posted: 23 Sep 2014, 15:36
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.

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

Posted: 23 Sep 2014, 16:55
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?

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

Posted: 23 Sep 2014, 17:15
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.

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

Posted: 23 Sep 2014, 18:33
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?

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

Posted: 23 Sep 2014, 18:38
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.

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

Posted: 23 Sep 2014, 18:49
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.