Page 11 of 41

Re: POSTBUCKET - where random posts in unrelated topics go

Posted: 09 Aug 2013, 04:30
by rednoah
Yep, there is no solution for this case, esp if you're set on doing cron jobs. Best is to have the download app hand things over to filebot after all related files have been completed.

You can do the Parse CD<i> from filename via fn.match() approach and hope that the multi-part movies are well-named with CD1 CD2 etc

Both solutions have pros/cons as described in the page above.

Re: POSTBUCKET - where random posts in unrelated topics go

Posted: 09 Aug 2013, 08:50
by Chryses
So, something like this

Code: Select all

movieFormat=Film/{n} ({y}){' - '+fn.match(/(?i)cd+[0-9]/).toUpperCase()}{fn.match(/(?i)part +[0-9]of[0-9]/).toLowerCase()}
Any advice or ideas?

Re: POSTBUCKET - where random posts in unrelated topics go

Posted: 09 Aug 2013, 12:09
by rednoah
Look how I'd test that:

Code: Select all

{'Avatar Part 1of2'.match(/part\s*[0-9]of[0-9]/)}
You can prototype all of that quickly in the GUI.

In the end I'd come up with something like this. Convert Part 1of2 to CD1

Code: Select all

{'CD'+fn.match(/part\s*(\d)of(\d)/)}

Re: POSTBUCKET - where random posts in unrelated topics go

Posted: 09 Aug 2013, 13:15
by Chryses
Ok, tnx, I'll try some combinations :)

Re: How about sharing our format expressions?

Posted: 01 Sep 2013, 02:10
by ashfallen0
I'm not the greatest at REGEX, so I've had to more or less slave over my expressions(and to make them CLI/XBMC/Anidb/TVDB friendly :roll: )

Here's my current TV expression:

Code: Select all

/home/user/tv/{n.replace(':',' -').replaceAll(/[?]/, '')}/{n.replace(':',' -').replaceAll(/[?]/, '')} - {episode.special ? 'S00E'+special.pad(2) : s00e00} - {t.replace(':',' -').replaceAll(/[?]/, '')} {[hpi]}{'['+resolution} {' '+vc}{'-'+ac+']'}
Here's my current Anime expression:

Code: Select all

/home/user/anime/{(primaryTitle ?: n).replace(':',' -').replaceAll(/[?]/, '')}/{(primaryTitle ?: n).replace(':',' -').replaceAll(/[?]/, '')} - {episode.special ? "S"+special.pad(2) : absolute.pad(3)} - {t.replace(':',' -').replaceAll(/[?]/, '')} {[hpi]}{'['+resolution} {' '+vc}{'-'+ac+']'}

Re: [SNIPPET] Put the "The" at the end

Posted: 03 Sep 2013, 08:11
by Faba
Hy,

I tried it but it always results in filenames like " , .mkv"

my format string looks like this

Code: Select all

"/mnt/samba/movies/{n} ({y})/{n.replaceFirst(/^(?i)(The|A)\s(.+)/, /$2, $1/).space('.')}.({y}).{vf}"
Any idea what I am doing wrong?

thanks

Faba

Re: [SNIPPET] Put the "The" at the end

Posted: 03 Sep 2013, 08:24
by rednoah
The format looks good.

But I guess you didn't think of escaping the $-sign so bash is resolving $1 and $2 to empty strings and not passing in the literal value of "$1" or "$2".

I don't see a reason why {y} wouldn't have a value. With {vf} u may wanna make sure libmediainfo is working correctly.

Re: [SNIPPET] Put the "The" at the end

Posted: 03 Sep 2013, 09:02
by Faba
sorry the {y} and {vf} work correctly

so the results is actually " , (2007).720p.mkv".

I escaped the $ sign and now i is working like expected

Thanks!

Re: POSTBUCKET - where random posts in unrelated topics go

Posted: 23 Sep 2013, 22:16
by SatNav
Hi, I'm having a bit of trouble getting the amc script to work. It's been working fine for a few months, and just started playing up the last couple of days. I have a script called from transmission. It is as follows:

Code: Select all

filebot -script fn:amc --output "/media/WD1TB/Videos" --action copy --conflict override -non-strict --def artwork=n "seriesFormat=TV/{n}/Season {s.pad(2)}/{s00e00} - {t}" "movieFormat=Movies/{n} ({y}) {vf} {af}" "ut_dir=$TR_TORRENT_DIR/$TR_TORRENT_NAME" "ut_kind=multi" "ut_title=$TR_TORRENT_NAME" &> /etc/transmission-daemon/log
But recently it has failed with this in the log:

Code: Select all

Parameter: artwork = n
Parameter: seriesFormat = TV/{n}/Season {s.pad(2)}/{s00e00} - {t}
Parameter: movieFormat = Movies/{n} ({y}) {vf} {af}
Parameter: ut_dir = /mnt/Downloads/My.Favourite.Linux.ISO.S01E01.PREAIR.DVDRip.XviD-CRX.avi
Parameter: ut_kind = multi
Parameter: ut_title = My.Favourite.Linux.ISO.S01E01.PREAIR.DVDRip.XviD-CRX.avi
Exception: Conflicting arguments: pass in either file arguments or ut_dir/ut_file parameters but not both
Failure (°_°)
I'm not sure why it's just started failing in this way. The only recent change is that I moved the location of my downloads folder from '/home/mark/Downloads' to '/mnt/Downloads', but I don't see how that could make a difference.

In any case, to my mind, the error message doesn't seem to be describing what's going wrong. Any ideas?

Re: [CODE] Examples and Snippets

Posted: 04 Oct 2013, 19:16
by nitewulf
Can these be incorporated as filebot arguments from the command line? I'm trying to integrate the script to override series auto-detect into my utorrent post processing.

Re: [CODE] Examples and Snippets

Posted: 05 Oct 2013, 10:32
by rednoah
That doesn't make sense. You can incorporate things your own way by putting together your own script. In your own script you can of course script whatever you want.

Re: [DOCS] Exclude Blacklist & Series-Mappings

Posted: 29 Oct 2013, 05:52
by rednoah
Added entries to exclude-blacklist:

Code: Select all

Deleted.and.Extended.Scenes
Deleted.Scenes

Re: [DOCS] Exclude Blacklist & Series-Mappings

Posted: 24 Nov 2013, 18:42
by Twain32
Hi. How are those lists working ? Do we need to download them manually or is there an auto updating system included in the Filebot main application ?

I am trying to rename a "Law & Order SVU" episode (with the CLI), but Filebot ends up using the "Law & Order" episode info.

Re: [DOCS] Exclude Blacklist & Series-Mappings

Posted: 24 Nov 2013, 19:09
by rednoah
It's all auto-updated.

But since Law & Order SVU since it does get the series options the lists here won't help. Check into --q and --filter cmdline options.

Re: Exclude Blacklist & Series-Mappings

Posted: 20 Dec 2013, 07:36
by rednoah
Added exclude rules for Anime OP/EDs:

Code: Select all

(?<=\b|_)(NCED|NCOP|(OP|ED)\p{Digit}\p{Alpha})(?=\b|_])

Re: Thank You So Very Much & Happy Holidays

Posted: 30 Dec 2013, 18:09
by Ambroisie
I would like to know the way to make it find the release groups. Could you pm it to me... ?

Re: Thank You So Very Much & Happy Holidays

Posted: 01 Jan 2014, 05:08
by Ithiel
Hi Ambroisie, the code for release groups is {group}

More info can be found here: http://www.filebot.net/forums/viewtopic ... ilit=group

Re: [MANUAL] Configure OpenSubtitles and Sublight login

Posted: 03 Jan 2014, 07:48
by Ithiel
I donated 10 euro, and once upgraded to a VIP (the account upgrade is manually verified by them so it takes a few hours), I was able to download about 4000+ subtitles in a few hours before I hit the limit.

Figured it was probably worth the limit just so that I had the extra quota to play around with when testing this http://www.filebot.net/forums/viewtopic.php?f=3&t=1222

Their forums say non vip is limited to 200, but you're right - it's all over the place.

Not Logged In: Smallest Quota (seemed to be closer to 100, also seems to be more drop out prone)
Logged In As Free User: Moderate Quota (more reliable, but still iffy quota of about 200-300 depending on what you requested)
High Quota: VIP User @ 10 Euro / Year (large enough quota that it shouldn't ever really be an issue)

Edit: Just checked, and it was actually over 5000 subtitles I downloaded in the short window after upgrading to VIP >.<

Re: [MANUAL] Configure OpenSubtitles and Sublight login

Posted: 03 Jan 2014, 07:57
by rednoah
This should list your download limits:

Code: Select all

filebot -script osdb.stats

Re: Exclude Blacklist & Series-Mappings

Posted: 03 Jan 2014, 12:31
by Ambroisie
You should add TBBT for The Big Bang theory

Re: Exclude Blacklist & Series-Mappings

Posted: 03 Jan 2014, 14:22
by rednoah
Added.

Re: Add Blacklisted Terms and Improve Movie / Series Detecti

Posted: 08 Jan 2014, 03:44
by Akki
Can you add "www.Torrenting.com" to the blacklist? It's in the folder name and for some reason always matches Christopher Hitchens.... Would be nice if there was an easy way to have a local blacklist, or at least have the script ignore the folder name for matching and always use the filename. Strict matching doesn't really work for my purposes, unfortunately...

Edit: Just realized that there's already a filter in the blacklist that should ignore this, but that doesn't seem to be working. I can't tell why, but removing that part from the folder name always works...

Re: Add Blacklisted Terms and Improve Movie / Series Detecti

Posted: 08 Jan 2014, 05:50
by rednoah
This will catch it:

Code: Select all

www[.][\w-.]+[.](com|net|tk|ro|cd|me|de)
Give me the whole path and I'll have a look which token is messing with it.

Re: Add Blacklisted Terms and Improve Movie / Series Detecti

Posted: 08 Jan 2014, 07:02
by Akki
rednoah wrote:This will catch it:

Code: Select all

www[.][\w-.]+[.](com|net|tk|ro|cd|me|de)
Give me the whole path and I'll have a look which token is messing with it.
Yeah, I saw that after I posted. Really weird. Here is every instance I can find from the last week or so. In some cases it matches correctly, sometimes not:

Code: Select all

Rename episodes using [TheTVDB]
Auto-detected query: [www, Top Chef, www Torrenting com Top Chef]
Fetching episode data for [Christopher Hitchens]
Fetching episode data for [Top Chef]
Fetching episode data for [Top Chef Suomi]
Fetching episode data for [Top Chef Canada]
Fetching episode data for [Top Chef France]
Fetching episode data for [Top Chef España]
[MOVE] Rename [C:\Users\User\Downloads\TV\www.Torrenting.com - Top.Chef.S11E12.HDTV.x264-PLAYNOW\Top.Chef.S11E12.HDTV.x264-PLAYNOW.mp4] to [C:\Users\User\TV\Top Chef\Season 11\Top Chef - 11x12 - Mississippi Mud Bugs.mp4]

Code: Select all

Rename episodes using [TheTVDB]
Auto-detected query: [www]
Fetching episode data for [Christopher Hitchens]
Stripping invalid characters from new path: C:/Users/User/TV/Christopher Hitchens/Season 0/Christopher Hitchens - 0x02 - Debate: Frank Turek
[MOVE] Rename [C:\Users\User\Downloads\TV\www.Torrenting.com - Saturday.Night.Live.S39.Special.Best.of.this.Season.HDTV.x264-2HD\saturday.night.live.s39.special.best.of.this.season.hdtv.x264-2hd.mp4] to [C:\Users\User\TV\Christopher Hitchens\Season 0\Christopher Hitchens - 0x02 - Debate Frank Turek.mp4]

Code: Select all

Rename episodes using [TheTVDB]
Auto-detected query: [www, www Torrenting com Pretty Little Liars]
Fetching episode data for [Christopher Hitchens]
Stripping invalid characters from new path: C:/Users/User/TV/Christopher Hitchens/Season 0/Christopher Hitchens - 0x05 - Debate: The Three New Commandments
[MOVE] Rename [C:\Users\User\Downloads\TV\www.Torrenting.com - Pretty.Little.Liars.S04E14.HDTV.x264-LOL\pretty.little.liars.414.hdtv-lol.mp4] to [C:\Users\User\TV\Christopher Hitchens\Season 0\Christopher Hitchens - 0x05 - Debate The Three New Commandments.mp4]

Code: Select all

Rename episodes using [TheTVDB]
Auto-detected query: [www, brooklyn nine nine, www Torrenting com Brooklyn Nine Nine]
Fetching episode data for [Christopher Hitchens]
Fetching episode data for [Brooklyn Nine-Nine]
[MOVE] Rename [C:\Users\User\Downloads\TV\www.Torrenting.com - Brooklyn.Nine.Nine.S01E12.HDTV.x264-2HD\brooklyn.nine.nine.s01e12.hdtv.x264-2hd.mp4] to [C:\Users\User\TV\Brooklyn Nine-Nine\Season 1\Brooklyn Nine-Nine - 1x12 - Pontiac Bandit.mp4]

Re: Add Blacklisted Terms and Improve Movie / Series Detecti

Posted: 08 Jan 2014, 07:43
by rednoah
Haha, this one is really bad luck! :D

There's an anime names:[つまつま 人妻×人妻, WWW, Wife with Wife] which allows WWW to be part of the query, and it gets matched to names:[Christopher Hitchens, www.raydragon.com Presents...] :D Maybe shitty data in the IMDb when that one was scraped.


Try one of the latest revisions though. It works just fine despite those misleading query options.