Page 13 of 25

Re: Exclude Blacklist & Series-Mappings

Posted: 25 Apr 2014, 22:44
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.

Re: [MANUAL] Set OpenSubtitles Account

Posted: 29 May 2014, 11:41
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.

Re: [MANUAL] Set OpenSubtitles Account

Posted: 29 May 2014, 12:06
by rednoah

Code: Select all

filebot -script fn:osdb.stats

Re: Automated Media Center

Posted: 08 Jun 2014, 20:24
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?

Re: How about sharing our format expressions?

Posted: 10 Jun 2014, 16:21
by dlskins
Is there an option to rename The Show as Show, The?

Re: Media Index CSV

Posted: 15 Jun 2014, 04:45
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

Re: POSTBUCKET - where random posts in unrelated topics go

Posted: 15 Jun 2014, 05:00
by rednoah
You can't. The mi script does not cross-reference your files with any database.

Re: POSTBUCKET - where random posts in unrelated topics go

Posted: 15 Jun 2014, 15:11
by tekwarp
Thanks!

Re: Exclude Blacklist & Series-Mappings

Posted: 28 Jun 2014, 08:47
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 :)

Re: Exclude Blacklist & Series-Mappings

Posted: 28 Jun 2014, 08:49
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

Re: Exclude Blacklist & Series-Mappings

Posted: 28 Jun 2014, 08:58
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

Re: How about sharing your CLI scripts?

Posted: 29 Jun 2014, 15:55
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.

Re: POSTBUCKET - where random posts in unrelated topics go

Posted: 30 Jun 2014, 04:36
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).

Re: Automated Media Center

Posted: 19 Jul 2014, 10:14
by seb182
Hey Rednoah

Great script - thanks very much for sharing!

One thing though - could you integrate the deleting of the original files? At the moment, it looks like it extracts, then copies and sorts the newly extracted file, thus leaving all the RAR files AND a copy of the unrarred file in the original download location.

Probably not a big thing for you to fix, right? :)

Re: Installing FileBot on Synology NAS

Posted: 04 Aug 2014, 13:32
by Achandab
finally!! thanks RN. Any change of seeing a UI for synology???

Re: Installing FileBot on Synology NAS

Posted: 06 Aug 2014, 17:01
by rednoah
I'd only work on that on the premise of a paid application, so the Synology DSM UI is on ice until Synology supports publishing paid applications via Package Center. That's in the works for sure though, so maybe 1-2 years later.

Re: Installing FileBot on Synology NAS

Posted: 30 Aug 2014, 09:41
by Pulpi
Filebot is working great, but I have problems by installing MediaInfo. Can anyone help me?

Code: Select all

FileBot 4.2 (r2326)
JNA Native: 4.0.0
MediaInfo: java.lang.UnsatisfiedLinkError: Unable to load library 'mediainfo': Native library (linux-x86/libmediainfo.so) not found in resource path ([file:/volume1/@appstore/filebot/FileBot.jar])
7-Zip-JBinding: net.sf.sevenzipjbinding.SevenZipNativeInitializationException: Failed to load 7z-JBinding: no 7-Zip-JBinding in java.library.path
chromaprint-tools: java.io.IOException: Cannot run program "fpcalc": error=2, No such file or directory
Extended Attributes: OK
Groovy Engine: 2.3.4
JRE: Java(TM) SE Embedded Runtime Environment 1.8.0_06 (headless)
JVM: 32-bit Java HotSpot(TM) Embedded Client VM
CPU/MEM: 4 Core / 170 MB Max Memory / 10 MB Used Memory
OS: Linux (i386)
uname: Linux ds214play 3.2.40 #4493 SMP PREEMPT Thu Aug 21 21:46:01 CST 2014 i686 GNU/Linux synology_evansport_214play

Re: Installing FileBot on Synology NAS

Posted: 30 Aug 2014, 09:54
by rednoah
So which part of the Advanced section do you not understand?

1. Download the missing native libraries (.so files) for your arch
2. Set LD_LIBRARY_PATH to the folder where these libraries are before calling filebot

Re: Installing FileBot on Synology NAS

Posted: 30 Aug 2014, 10:01
by Pulpi
I´ve downloaded the libmediainfo.so file for my arch (i686) and had set the path to the folder (where the file is in)

Re: Installing FileBot on Synology NAS

Posted: 30 Aug 2014, 10:26
by rednoah
Send me the output of filebot -script fn:sysenv please. You could also try with the latest beta.

EDIT: I've checked things and there's no issues with v4.2 so my guess is that the i686 binaries are simply not compatible with your system due to other library dependencies like libc version.

Re: Installing FileBot on Synology NAS

Posted: 30 Aug 2014, 10:48
by Pulpi
By the way: Even no success by using the latest beta (after editing to set native libraries).

So at the moment there is no way to fix that?

Re: Installing FileBot on Synology NAS

Posted: 30 Aug 2014, 10:55
by rednoah
The i686 libraries are compiled for Linux (Ubuntu, Debian, etc) but there may or may not be incompatibilities with certain embedded Linux systems (especially older ones).

Re: Installing FileBot on Synology NAS

Posted: 31 Aug 2014, 20:27
by Pulpi
I´ve compiled my "own" libmediainfo.so and now it works ;) but not with the current version (v0.7.69) only with v0.7.61 :D

Code: Select all

FileBot 4.2 (r2326)
JNA Native: 4.0.0
MediaInfo: MediaInfoLib - v0.7.61
7-Zip-JBinding: net.sf.sevenzipjbinding.SevenZipNativeInitializationException: Failed to load 7z-JBinding: no 7-Zip-JBinding in java.library.path
chromaprint-tools: java.io.IOException: Cannot run program "fpcalc": error=2, No such file or directory
Extended Attributes: OK
Groovy Engine: 2.3.4
JRE: Java(TM) SE Embedded Runtime Environment 1.8.0_06 (headless)
JVM: 32-bit Java HotSpot(TM) Embedded Client VM
CPU/MEM: 4 Core / 170 MB Max Memory / 12 MB Used Memory
OS: Linux (i386)
uname: Linux ds214play 3.2.40 #4493 SMP PREEMPT Thu Aug 21 21:46:01 CST 2014 i686 GNU/Linux synology_evansport_214play
Done ヾ(@⌒ー⌒@)ノ

Re: Installing FileBot on Synology NAS

Posted: 29 Sep 2014, 12:15
by sebmex
Hi,

i tried to install the package, it went fine but no java installed.

I then installed the java 8 package following this tutorial :

http://pcloadletter.co.uk/2011/08/23/ja ... ment-77184

but when i try to call filebot -version

I get the “/usr/syno/bin/filebot : line 35 : java not found” message.

Any help would be appreciated.

Re: Installing FileBot on Synology NAS

Posted: 29 Sep 2014, 13:15
by rednoah
symlink java to /usr/syno/bin/java