POSTBUCKET - where random posts in unrelated topics go

Any questions? Need some help?
Hematot
Posts: 17
Joined: 31 Mar 2012, 11:33

Re: POSTBUCKET - where random posts in unrelated topics go

Post by Hematot »

Exactly, it doesn't contain any subtitles but was identified as having it. Just as the ones actually having subtitles...

So I cleared the cache and ran the script again and just as expected ALL files was identified as NOT having any subtitles.
The reversing of the logical test came through but the getMediaInfo function failed to discriminate between the videos with and without embedded subtitles as before.

It took a while to find the media info function in FileBot, even with your instruction (you've hidden that function quite well!), but after trying to run it an explanation of why getMediaInfo doesn't work might have presented itself!
The result after pressing the table button was an error message saying:
Unable to load 32-bit native library 'mediainfo'

Looking in C:\Program Files\FileBot there's a 'MediaInfo.dll'.
I've just recently installed 4.0 over whatever previous version I had (3.x).
filebot -version gives 'FileBot 4.0 (r2056) / Java(TM) SE Runtime Environment 1.7.0_51'

/H
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: POSTBUCKET - where random posts in unrelated topics go

Post by rednoah »

Read the FAQ. You're probably running a 32-bit JVM when you should be running a 64-bit JVM. You can also check with the sysinfo script if everything is working correctly.
:idea: Please read the FAQ and How to Request Help.
Hematot
Posts: 17
Joined: 31 Mar 2012, 11:33

Re: POSTBUCKET - where random posts in unrelated topics go

Post by Hematot »

Installed the 32-bit FileBot, that did the trick!
Don't understand why FileBot worked at all though...
Thanks! /H
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: POSTBUCKET - where random posts in unrelated topics go

Post by rednoah »

FileBot is all Java code, which is then run by a JVM, doesn't matter if it's the 32-bit or 64-bit one. Though once external native libraries, e.g. MediaInfo.dll, get linked into the process architecture must match, or the library will be ignored, that's just how programs work.
:idea: Please read the FAQ and How to Request Help.
Hematot
Posts: 17
Joined: 31 Mar 2012, 11:33

Re: POSTBUCKET - where random posts in unrelated topics go

Post by Hematot »

I get a little bit of a deja vu feeling asking this: can the getMissingSubtitles function that is called from suball recognize my existing external subtitles that are named xxx.en.srt?
It downloads new ones and call them xxx.eng.srt.
Have I fiddled with some setting that I've forgot about?
/H
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: POSTBUCKET - where random posts in unrelated topics go

Post by rednoah »

Nope, currently only checks for matching 3-letter codes. But you can try the latest revision which should work for what you're trying to do.
:idea: Please read the FAQ and How to Request Help.
Hematot
Posts: 17
Joined: 31 Mar 2012, 11:33

Re: POSTBUCKET - where random posts in unrelated topics go

Post by Hematot »

Well, I installed "FileBot_4.0_x86.msi" yesterday, is there a newer revision?
Suball hasn't changed either from what I can tell... (except the fix you did on sunday)
Sorry, I don't understand; latest revision of what?
/H
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: POSTBUCKET - where random posts in unrelated topics go

Post by rednoah »

Latest revision of FileBot. See FAQ.
:idea: Please read the FAQ and How to Request Help.
Hematot
Posts: 17
Joined: 31 Mar 2012, 11:33

Re: POSTBUCKET - where random posts in unrelated topics go

Post by Hematot »

Thanks rednoah!
That did the trick.
/H
aztazt
Posts: 3
Joined: 24 Apr 2014, 21:28

Re: Exclude Blacklist & Series-Mappings

Post by aztazt »

Can you add a filter to exclude/blacklist files that match this pattern :

*.!sync

They are from BitTotrrent Sync while syncing and renamed by BTSync when finished.

I'm not a regexp guru but it may look like this :

(\.!sync)+$

Thx
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Exclude Blacklist & Series-Mappings

Post by rednoah »

Those !sync files don't have video extensions right? So it's already excluded from the start. Give me the complete path of one of these !sync files and how you think it affects matching in a negative way (with logs or examples).
:idea: Please read the FAQ and How to Request Help.
aztazt
Posts: 3
Joined: 24 Apr 2014, 21:28

Re: Exclude Blacklist & Series-Mappings

Post by aztazt »

Those .!sync files don't have video extension, right.
I didn't know that only video extensions were seen by filebot.

Here is a complete path of a .!sync file :

/data/download/NCIS.S11E01.Whiskey.Tango.Foxtrot.1080p.WEB-DL.DD5.1.H.264-CtrlHD.!sync

and that file becomes

/data/downloads/NCIS.S11E01.Whiskey.Tango.Foxtrot.1080p.WEB-DL.DD5.1.H.264-CtrlHD.mkv

when BitTorrent Sync finishes download.

I would like filebot to rename and move all .mkv files from /data/downloads/ to their final destination like that :

/data/TVShow/NCIS/NCIS - 11x01 - Whiskey Tango Foxtrot.mkv

but I don't want filebot to try rename and move .!syc files.

It's ok, just forget about my first request, filebot already works like I want.

Thank you for you amazing work.
adamp
Posts: 1
Joined: 29 May 2014, 11:35

Re: [MANUAL] Set OpenSubtitles Account

Post by adamp »

I'm using v4.0.

By running:

Code: Select all

filebot -script osdb.stats
I got:

Code: Select all

FileNotFoundException: osdb.stats
java.io.FileNotFoundException: osdb.stats
        at net.sourceforge.filebot.cli.ArgumentProcessor$DefaultScriptProvider.getScriptLocation(ArgumentProcessor.java:
195)
        at net.sourceforge.filebot.cli.ArgumentProcessor.process(ArgumentProcessor.java:106)
        at net.sourceforge.filebot.Main.main(Main.java:192)
Failure (░_░)
Launch4j: Failed to run the given command.
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: [MANUAL] Set OpenSubtitles Account

Post by rednoah »

Code: Select all

filebot -script fn:osdb.stats
:idea: Please read the FAQ and How to Request Help.
Morgenstern72
Donor
Posts: 44
Joined: 09 May 2014, 18:57

Re: How about sharing our format expressions?

Post by Morgenstern72 »

Movies (Filebot 4.1)

Code: Select all

../{primarytitle}{' ('+net.filebot.WebServices.IMDb.scrape(imdbid, '''//SPAN[@class='title-extra']''').match('"(.+)"')+')'} ({y}){' ['+fn.replaceAll(/(?i)directors|theatrical|ultimate/,'$0 Cut').matchAll(/UNRATED|REMASTERED|EXTENDED|UNCUT|DIRECTORS.CUT|THEATRICAL.CUT|ULTIMATE.CUT|SPECIAL.EDITION/).join('][').upperInitial().lowerTrail()+']'} [{vf}] [{ac}{fn.match("-HD.MA.")+af}]/{primarytitle} ({y}) {vc}{" (CD$pi)"}{' '+lang}
Movies (Filebot 4.0)

Code: Select all

../{primarytitle}{' ('+net.sourceforge.filebot.WebServices.....
I store my movies all in a seperate folder, to be able to navigate and extraxt as mauch info as possible when I have no tool for that (I use XBMC as media center). This makes it easy for me to search for low quality, special editions, etc.
Ilike to have the original titles of movies, so I use the special scraper. I also like to have extended info like special editions, resolution and audio quality to search for.

Examples
Folder: EnglishTitle (2013) [1080p] [DTS-HD.MA.6ch]
Movie: EnglishTitle (2013) x264.mkv

Folder: EnglishTitle (OriginalTitle) (1998) [576p] [AC3]
Movie: EnglishTitle (1998) XviD.avi

Folder: EnglishTitle (2001) [Extended] [1080p] [AC3]
Movie: EnglishTitle (2001) XviD


Episodes (FB 4.1)

Code: Select all

../{n}{' ("'+net.filebot.WebServices.IMDb.scrape(imdbid, '''//SPAN[@class='title-extra']''').match('"(.+)"')+'")'} ({y})/{"Season ${s.pad(2)}"}/{n} {s00e00} {t} [{vf}]{' '+lang}
Episodes (FB 4.0)

Code: Select all

../{n}{' ("'+net.sourceforge.filebot.WebServices...
This script is quite simple except the original title part at the beginning. Since I have some german tv shows I like to get correct titels for them. Rest is just standard. I do not use extended info here, because I want all shows in one folder per season.

Example
Folder: EnglishTitle\Season 1
Show: EnglishTitle.S01E01.ShowTitle.mkv
Pitbull_Raven
Posts: 7
Joined: 08 Jun 2014, 20:18

Re: Automated Media Center

Post by Pitbull_Raven »

rednoah wrote:Overview:
Here's a script that you can use with µTorrent as "Run program when torrent finishes" command to automatically sort out your downloads. It'll fully automatically organize newly downloaded TV shows and movies and is smart enough to detect what is what.
Dude... I just found filebot and must say it's amazeballs! This script works. The only gripe I have with this is that it seems to be duplicating my files. I.e. it's downloading to the download folder, then copies the files and renames according to the rules set forth in script. But it also keeps the original file (I guess until ratio is reached?). Is there any way to get utorrent to "relocate" the file instead, leaving it to seed once relocated and renamed to correct folder?
dlskins
Posts: 2
Joined: 10 Jun 2014, 16:18

Re: How about sharing our format expressions?

Post by dlskins »

Is there an option to rename The Show as Show, The?
tekwarp
Posts: 4
Joined: 12 Jun 2014, 02:07

Re: Media Index CSV

Post by tekwarp »

rednoah wrote:Description:
  1. Write media info of all video files in the given folder and subfolders to an easily readable CSV file (e.g. open in Excel)
Usage:

Code: Select all

filebot -script fn:mi /path/to/media/ "MediaIndex.csv"
Download Script:
http://filebot.net/scripts/mi.groovy

:?: I am new to groovy so not familiar with the syntax at all. How would you modify the above script to also retrieve the movie genre and IMDB or TMDB Rating?

thanks in advance!!

Seb
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: POSTBUCKET - where random posts in unrelated topics go

Post by rednoah »

You can't. The mi script does not cross-reference your files with any database.
:idea: Please read the FAQ and How to Request Help.
tekwarp
Posts: 4
Joined: 12 Jun 2014, 02:07

Re: POSTBUCKET - where random posts in unrelated topics go

Post by tekwarp »

Thanks!
schimi2k
Posts: 4
Joined: 28 Jun 2014, 08:31

Re: Exclude Blacklist & Series-Mappings

Post by schimi2k »

hey, can u please add this to the blacklist:

tvs-poi = Person of Interest:
poid 1080p S03E13
&
tvs-poi-dd51-ded-dl-18p-ithd-avc-313

Season 03 Episode 13

Arrow ( TVDB ID: 257655 )
tvp-arrow-s02e11-1080p
&
tvs-arrow-dd51-ded-dl-18p-ithd-avc-211

Season 02 Episode 11


Marvel's Agents of S.H.I.E.L.D. ( TVDB ID: 263365 ):
tvp-shield-sXXeXX-1080p
&
tvs-agents of shield-dd51-ded-dl-18p-ithd-avc-122

Season 01 Episode 22


THX :)
Last edited by schimi2k on 28 Jun 2014, 08:56, edited 1 time in total.
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Exclude Blacklist & Series-Mappings

Post by rednoah »

Please post the filenames that are not matched correctly so I can figure out what to do about it.

EDIT: Fixed with r2286
:idea: Please read the FAQ and How to Request Help.
schimi2k
Posts: 4
Joined: 28 Jun 2014, 08:31

Re: Exclude Blacklist & Series-Mappings

Post by schimi2k »

WOW Thats fast buddy :)
i edit my previous post - these 2 releases ( TVP and TVS ) are the most used in German ( maybe with 720 instead of 1080 )

i hope u can work with it
Thx again for the great work
Meph88
Donor
Posts: 35
Joined: 29 Jun 2014, 15:46

Re: How about sharing your CLI scripts?

Post by Meph88 »

Hey,

I'm new to filebot and to scripts. I have a massive media library and I'm learning a lot of information trying to make a big job easier on myself.
I've managed to get the following script running well on my system:
call filebot -script fn:amc "T:\Unorganised" --output "T:/Organised" --action move --conflict override -non-strict --def music=y subtitles=en artwork=y

This successfully takes the media in the first directory, renames it, moves it into the new directory organised by show/season or movie or Artist/Album and so on. It's really great. Massive time saver so far.

I need a little help though, messing around and learning how this works I "tested"with a bunch of files. Now I'm ready to take it live and organise my library I have an issue. Any files that have been through the organisation script previously seem to be omitted. It leaves a number of files behind I have to sort manually which is a little annoying.

There's two ideas I have but I don't know how to do either; 1. Write into the script a command to ignore the logs from previous executions or 2. Reset/delete or something the file that holds the data for which files have been through the process before and should be excluded from future scans.

Any help is hugely appreciated.

I am also open to any improvements to the script that might do something cool and/or useful.
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: POSTBUCKET - where random posts in unrelated topics go

Post by rednoah »

Note that if you call this script in intervals every hour or every day you must set --def excludeList or you will get banned.

In the call you posted you're NOT setting excludeList (which is bad) but you describe behaviour excludeList being set (that is good, you MUST set excludeList).
:idea: Please read the FAQ and How to Request Help.
Post Reply