POSTBUCKET - where random posts in unrelated topics go
Re: POSTBUCKET - where random posts in unrelated topics go
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.
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
So, something like this
Any advice or ideas?
Code: Select all
movieFormat=Film/{n} ({y}){' - '+fn.match(/(?i)cd+[0-9]/).toUpperCase()}{fn.match(/(?i)part +[0-9]of[0-9]/).toLowerCase()}
Re: POSTBUCKET - where random posts in unrelated topics go
Look how I'd test that:
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
{'Avatar Part 1of2'.match(/part\s*[0-9]of[0-9]/)}
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
Ok, tnx, I'll try some combinations 

- ashfallen0
- Power User
- Posts: 32
- Joined: 14 Jan 2012, 10:44
Re: How about sharing our format expressions?
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
)
Here's my current TV expression:
Here's my current Anime expression:

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+']'}
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
Hy,
I tried it but it always results in filenames like " , .mkv"
my format string looks like this
Any idea what I am doing wrong?
thanks
Faba
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}"
thanks
Faba
Re: [SNIPPET] Put the "The" at the end
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.
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
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!
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
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:
But recently it has failed with this in the log:
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?
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
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 (°_°)
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
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
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
Added entries to exclude-blacklist:
Code: Select all
Deleted.and.Extended.Scenes
Deleted.Scenes
Re: [DOCS] Exclude Blacklist & Series-Mappings
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.
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
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.
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
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
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
Hi Ambroisie, the code for release groups is {group}
More info can be found here: http://www.filebot.net/forums/viewtopic ... ilit=group
More info can be found here: http://www.filebot.net/forums/viewtopic ... ilit=group
There can be only one Power² User
Re: [MANUAL] Configure OpenSubtitles and Sublight login
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 >.<
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 >.<
There can be only one Power² User
Re: [MANUAL] Configure OpenSubtitles and Sublight login
This should list your download limits:
Code: Select all
filebot -script osdb.stats
Re: Exclude Blacklist & Series-Mappings
You should add TBBT for The Big Bang theory
Re: Add Blacklisted Terms and Improve Movie / Series Detecti
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...
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
This will catch it:
Give me the whole path and I'll have a look which token is messing with it.
Code: Select all
www[.][\w-.]+[.](com|net|tk|ro|cd|me|de)
Re: Add Blacklisted Terms and Improve Movie / Series Detecti
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:rednoah wrote:This will catch it:Give me the whole path and I'll have a look which token is messing with it.Code: Select all
www[.][\w-.]+[.](com|net|tk|ro|cd|me|de)
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
Haha, this one is really bad luck! 
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...]
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.

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...]

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