Lonney Tunes on Raspberry Pi

Any questions? Need some help?
Post Reply
mrchrister
Posts: 2
Joined: 25 Sep 2013, 21:59

Lonney Tunes on Raspberry Pi

Post by mrchrister »

Hey guys,

I'm using Filebot on my Raspberry Pi to rename TV Downloads and it works very well! Thanks for this great product!
I have a problem with defining a year filter for Looney Tunes though.

I'm using the following command line:

Code: Select all

/usr/share/filebot/bin/filebot.sh -rename --action copy --format "/media/usb/TV/{n}/Season {s}/{n} - s{s.pad(2)}e{e.pad(2)} - {t.ascii().replaceAll(/[!?.]+$/)}"  --q "Looney Tunes" --db thetvdb --filter "n ==~ /Looney Tunes/ && y < 1968"  -non-strict ../Looney\ Tunes\ Season\ 8/
Everything works, but when I get the include list it still picks up episodes which are newer than 1968. I used this filter because it renames some false positives.For example 702 and 707 were renamed wrongly:

Code: Select all

Skipped [/media/usb/TV/Looney Tunes Season 7/701 Bad Ol' Putty Tat.mkv] because [/media/usb/TV/Looney Tunes/Season 1949/Looney Tunes - s1949e19 - Bad Ol' Putty Tat.mkv] already exists
[TEST] Rename [/media/usb/TV/Looney Tunes Season 7/702 All Abir-r-r-d.mkv] to [/media/usb/TV/Looney Tunes/Season 2010/Looney Tunes - s2010e02 - Coyote Falls.mkv]
Skipped [/media/usb/TV/Looney Tunes Season 7/703 Room and Bird.mkv] because [/media/usb/TV/Looney Tunes/Season 1951/Looney Tunes - s1951e14 - Room and Bird.mkv] already exists
Skipped [/media/usb/TV/Looney Tunes Season 7/704 Tweet Tweet Tweety.mkv] because [/media/usb/TV/Looney Tunes/Season 1951/Looney Tunes - s1951e28 - Tweet Tweet Tweety.mkv] already exists
Skipped [/media/usb/TV/Looney Tunes Season 7/705 Gift Wrapped.mkv] because [/media/usb/TV/Looney Tunes/Season 1952/Looney Tunes - s1952e04 - Gift Wrapped.mkv] already exists
Skipped [/media/usb/TV/Looney Tunes Season 7/706 Ain't She Tweet.mkv] because [/media/usb/TV/Looney Tunes/Season 1952/Looney Tunes - s1952e16 - Ain't She Tweet.mkv] already exists
Skipped [/media/usb/TV/Looney Tunes Season 7/707 Bird in a Guilty Cage.mkv] because [/media/usb/TV/Looney Tunes/Season 1979/Looney Tunes - s1979e07 - Bugs Bunny's Christmas Carol.mkv] already exists
Skipped [/media/usb/TV/Looney Tunes Season 7/708 Snow Business.mkv] because [/media/usb/TV/Looney Tunes/Season 1953/Looney Tunes - s1953e02 - Snow Business.mkv] already exists
Skipped [/media/usb/TV/Looney Tunes Season 7/709 Tweetie Pie.mkv] because [/media/usb/TV/Looney Tunes/Season 1947/Looney Tunes - s1947e07 - Tweetie Pie.mkv] already exists
Skipped [/media/usb/TV/Looney Tunes Season 7/710 Kitty Kornered.mkv] because [/media/usb/TV/Looney Tunes/Season 1946/Looney Tunes - s1946e11 - Kitty Kornered.mkv] already exists
Skipped [/media/usb/TV/Looney Tunes Season 7/711 Baby Bottleneck.mkv] because [/media/usb/TV/Looney Tunes/Season 1946/Looney Tunes - s1946e05 - Baby Bottleneck.mkv] already exists
Skipped [/media/usb/TV/Looney Tunes Season 7/712 Old Glory.mkv] because [/media/usb/TV/Looney Tunes/Season 1939/Looney Tunes - s1939e22 - Old Glory.mkv] already exists
Skipped [/media/usb/TV/Looney Tunes Season 7/713 The Great Piggy Bank Robbery.mkv] because [/media/usb/TV/Looney Tunes/Season 1946/Looney Tunes - s1946e15 - The Great Piggy Bank Robbery.mkv] already exists
Skipped [/media/usb/TV/Looney Tunes Season 7/714 Duck Soup to Nuts.mkv] because [/media/usb/TV/Looney Tunes/Season 1944/Looney Tunes - s1944e12 - Duck Soup to Nuts.mkv] already exists
Skipped [/media/usb/TV/Looney Tunes Season 7/715 Porky in Wackyland.mkv] because [/media/usb/TV/Looney Tunes/Season 1938/Looney Tunes - s1938e29 - Porky in Wackyland.mkv] already exists
Processed 15 files
Done �(@���@)�
How could I optimize my command to get less false positive?
User avatar
rednoah
The Source
Posts: 22998
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Lonney Tunes on Raspberry Pi

Post by rednoah »

Check this data dump:

Code: Select all

filebot -list --q "looney tunes" --format "{json}"
The episode data is entered incorrectly. All episodes are listed with airdate year 1930.


Instead you can try using s < 2000 instead, or correcting the data in TheTVDB.
:idea: Please read the FAQ and How to Request Help.
mrchrister
Posts: 2
Joined: 25 Sep 2013, 21:59

Re: Lonney Tunes on Raspberry Pi

Post by mrchrister »

thanks for the quick reply, rednoah.
Do you know of other optimisations I could try to not pick up false positives?

Another question: Do you have a flattr account? I would like to support your work!
User avatar
bonelifer
Power User
Posts: 81
Joined: 23 Mar 2013, 18:27

Re: Lonney Tunes on Raspberry Pi

Post by bonelifer »

mrchrister wrote:Another question: Do you have a flattr account? I would like to support your work!
Yes he does, lower right hand corner of the mainpage: http://www.filebot.net/
User avatar
rednoah
The Source
Posts: 22998
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Lonney Tunes on Raspberry Pi

Post by rednoah »

mrchrister wrote:Do you know of other optimisations I could try to not pick up false positives?
If you need it 100% you shouldn't use -non-strict. It'll always work, but it'll also ignore files when it can't be sure it's a correct match.
:idea: Please read the FAQ and How to Request Help.
Post Reply