POSTBUCKET - where random posts in unrelated topics go

Any questions? Need some help?
Faba
Posts: 6
Joined: 03 Sep 2013, 08:09

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

Post 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
User avatar
rednoah
The Source
Posts: 18840
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

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

Post 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.
:idea: Please read the FAQ and How to Request Help.
Faba
Posts: 6
Joined: 03 Sep 2013, 08:09

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

Post 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!
SatNav
Posts: 1
Joined: 23 Sep 2013, 21:54

Re: POSTBUCKET - where random posts in unrelated topics go

Post 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?
nitewulf
Posts: 6
Joined: 23 Aug 2013, 18:50

Re: [CODE] Examples and Snippets

Post 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.
User avatar
rednoah
The Source
Posts: 18840
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [CODE] Examples and Snippets

Post 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.
:idea: Please read the FAQ and How to Request Help.
Twain32
Posts: 4
Joined: 23 Nov 2013, 23:58

Re: [DOCS] Exclude Blacklist & Series-Mappings

Post 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.
User avatar
rednoah
The Source
Posts: 18840
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [DOCS] Exclude Blacklist & Series-Mappings

Post 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.
:idea: Please read the FAQ and How to Request Help.
Ambroisie
Supporter
Posts: 19
Joined: 06 Dec 2013, 22:08

Re: Thank You So Very Much & Happy Holidays

Post by Ambroisie »

I would like to know the way to make it find the release groups. Could you pm it to me... ?
User avatar
Ithiel
Power² User
Posts: 204
Joined: 11 Jul 2013, 14:58

Re: Thank You So Very Much & Happy Holidays

Post 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
There can be only one Power² User
User avatar
Ithiel
Power² User
Posts: 204
Joined: 11 Jul 2013, 14:58

Re: [MANUAL] Configure OpenSubtitles and Sublight login

Post 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 >.<
There can be only one Power² User
User avatar
rednoah
The Source
Posts: 18840
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [MANUAL] Configure OpenSubtitles and Sublight login

Post by rednoah »

This should list your download limits:

Code: Select all

filebot -script osdb.stats
:idea: Please read the FAQ and How to Request Help.
Akki
Posts: 16
Joined: 27 Jun 2013, 21:16

Re: Add Blacklisted Terms and Improve Movie / Series Detecti

Post 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...
User avatar
rednoah
The Source
Posts: 18840
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Add Blacklisted Terms and Improve Movie / Series Detecti

Post 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.
:idea: Please read the FAQ and How to Request Help.
Akki
Posts: 16
Joined: 27 Jun 2013, 21:16

Re: Add Blacklisted Terms and Improve Movie / Series Detecti

Post 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]
User avatar
rednoah
The Source
Posts: 18840
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Add Blacklisted Terms and Improve Movie / Series Detecti

Post 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.
:idea: Please read the FAQ and How to Request Help.
User avatar
Ithiel
Power² User
Posts: 204
Joined: 11 Jul 2013, 14:58

Re: Add Blacklisted Terms and Improve Movie / Series Detecti

Post by Ithiel »

*"Wife with Wife?", Ithiel thought to himself, "That's odd, I've never heard of that anime before... wonder what that's about?"*
*types it into Google*

... um, so.. yeah, in retrospect, that's exactly the kind of anime you'd expect a show called 'Wife with Wife' to be.

FYI: A josei anime it is not - NSFW :-/
There can be only one Power² User
User avatar
rednoah
The Source
Posts: 18840
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Add Blacklisted Terms and Improve Movie / Series Detecti

Post by rednoah »

hahaha, never bothered to actually look it up Wife with Wife - Absolutely Not For Children :lol:
:idea: Please read the FAQ and How to Request Help.
Akki
Posts: 16
Joined: 27 Jun 2013, 21:16

Re: Add Blacklisted Terms and Improve Movie / Series Detecti

Post by Akki »

rednoah wrote: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.
That's... really interesting. What do you mean by latest revisions, though?
User avatar
rednoah
The Source
Posts: 18840
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Add Blacklisted Terms and Improve Movie / Series Detecti

Post by rednoah »

FAQ -> Last Q
:idea: Please read the FAQ and How to Request Help.
Akki
Posts: 16
Joined: 27 Jun 2013, 21:16

Re: Add Blacklisted Terms and Improve Movie / Series Detecti

Post by Akki »

rednoah wrote:FAQ -> Last Q
Ah, I see. Didn't realize you were talking about the jar as opposed to the whole package. Thanks!
User avatar
Ithiel
Power² User
Posts: 204
Joined: 11 Jul 2013, 14:58

Re: Add Blacklisted Terms and Improve Movie / Series Detecti

Post by Ithiel »

As rednoah is pretty much always making tweaks, fixes, or improvements (generally in response to forum requests), the jar file is normally updated every couple of days. If you ever notice a strange bug, the first thing to try is updating your jar to see if he's already fixed it, lol. :-)

If you're running Windows, you can download/run this script that will download and swap out the jar file for you automatically:
http://www.filebot.net/forums/viewtopic.php?f=4&t=1225
There can be only one Power² User
tmThEMaN
Donor
Posts: 8
Joined: 12 Jan 2014, 19:15

Re: Automated Media Center

Post by tmThEMaN »

First of all, Thanks a million man. This app rocks big time when using the scripts. I just witnessed magic happening here.

I want to use AMC script, but I also want to re-encode the downloaded subtitles to UTF8 (or other encoding). Is there a way to do it directly using AMC or i should modify it.

Thanks.
User avatar
rednoah
The Source
Posts: 18840
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: POSTBUCKET - where random posts in unrelated topics go

Post by rednoah »

Why do you think it's not doing that already? Cause it is, by default, and you can't change that.
:idea: Please read the FAQ and How to Request Help.
tmThEMaN
Donor
Posts: 8
Joined: 12 Jan 2014, 19:15

Re: POSTBUCKET - where random posts in unrelated topics go

Post by tmThEMaN »

I'm using Mac, some subtitles when downloaded are not being displayed on Plex, but XBMC can display them.

When i investigated this, I installed Aegisub and when i open some subtitle files it says "x-mac-cyrillic is not a supported character set". When i use open with "Open Subtitle with Charset" and choose "Windows 1256" Charset, the file works and then i can export it as .srt with the right Charset.

I was looking for a way to automate this part and re-encode all subtitles after downloading them. As you confirmed, currently AMC is rencoding to UTF-8, so i guess i want to re-encode to Windows-1256 instead.

Somehow, XBMC does not require that, i'm not sure why. I'm about to submit this issue to Plex as well in case they can add a fix.

Thanks,
TM
Post Reply