Page 15 of 41

Re: Exclude Blacklist & Series-Mappings

Posted: 01 Dec 2014, 21:07
by CletusAZ
Im having PBS NOVA episodes get renamed incorrectly.

In this case: PBS.NOVA.2014.Killer.Landslides.720p.HDTV.x264.AAC.MVGroup.org.mp4

was renamed as: Welcome to New York (2014).mp4

Any way I can fix this or add something to the series mapping so that it can work better?

Thanks :)

Re: Exclude Blacklist & Series-Mappings

Posted: 02 Dec 2014, 03:20
by rednoah
Why did you not mention that you're using the amc script?

For episode files that are named like movie files you need to force tv mode. RTFM.

Re: Exclude Blacklist & Series-Mappings

Posted: 02 Dec 2014, 17:35
by CletusAZ
Oh cool! I had not learned about TV only mode yet. Ill look it up.
Thank you

Re: Add Blacklisted Terms and Improve Movie / Series Detecti

Posted: 21 Dec 2014, 18:43
by angst
Rednoah,

I have a folder called "processing" where the files wait for FileBot. I keep getting series renamed to a movie, a 1908 silent (classic?):

<sequence date="2014-03-29T16:04:45.618-06:00">
<rename dir="E:\processing" from="BBC.Rip.Off.Britain.Food.Series.1.01of10.720p.HDTV.x264.AAC.MVGroup.org.mp4" to="E:\Plex\Movies\The Fish Processing Factory at Astrakhan (1908)\The Fish Processing Factory at Astrakhan (1908).mp4"/>
</sequence>

I think this can be due to the folder name "processing". I may have incorrectly allowed this match one time or another. Not sure. Any idea? My script is below:

filebot -script fn:amc --output "Z:\Plex" --log-file amc.log --action move -non-strict "Z:\Plex" --def excludeList=amc-input.txt --def deleteAfterExtract=y --def plex=plex-home
filebot -script fn:amc --output "Z:\Plex" --log-file amc.log --action move -non-strict "E:\processing" --def deleteAfterExtract=y --def plex=plex-home
filebot -script fn:cleaner E:\processing
filebot -script fn:cleaner Z:\Plex\Movies
filebot -script fn:cleaner "Z:\Plex\TV Shows"


Thanks a bunch,

Angst

Re: Manual / FAQ

Posted: 29 Dec 2014, 14:52
by Hillbird
when trying command filebot -script fn:configure
to configure opensubtitles I get the following message:
what is going wrong? version 4.5.3 filebot

Enter OpenSubtitles username: NullPointerException: Cannot invoke method readLine() on null object
java.lang.NullPointerException: Cannot invoke method readLine() on null object
at Script1.run(Script1.groovy:4)
at net.filebot.cli.ScriptShell.evaluate(ScriptShell.java:61)
at net.filebot.cli.ScriptShell.runScript(ScriptShell.java:82)
at net.filebot.cli.ArgumentProcessor.process(ArgumentProcessor.java:112)
at net.filebot.Main.main(Main.java:170)
Failure (°_°)

Re: POSTBUCKET - where random posts in unrelated topics go

Posted: 29 Dec 2014, 18:21
by rednoah
Your console environment doesn't seem right.

How about you post some sysinfo?
viewtopic.php?f=4&t=1868

Re: POSTBUCKET - where random posts in unrelated topics go

Posted: 30 Dec 2014, 13:36
by Hillbird
Synology NAS DS212j DSM 5.1-5021 Update 2
Filebot 4.5.3
CLI Webconsole 0.2.6-2
Java SE Embedded 1.8.0-1

Re: POSTBUCKET - where random posts in unrelated topics go

Posted: 30 Dec 2014, 17:31
by rednoah
I suppose Console Interactive programs don't work with "CLI Webconsole" or whatever that is. I recommend using SSH to login to your NAS.

Re: Exclude Blacklist & Series-Mappings

Posted: 04 Jan 2015, 17:15
by blackbike
Could you please add:

TBLUS = The Biggest Loser US

Thanks

Re: Exclude Blacklist & Series-Mappings

Posted: 04 Jan 2015, 17:42
by rednoah
That's not how it works. If you have trouble matching certain files please posts the full paths in a new thread.

See viewtopic.php?f=5&t=1868

Re: [SNIPPET] Sort into A-Z folders

Posted: 30 Jan 2015, 07:35
by jclancy103
I am using CLI and used one of the formats here with changes to work with my system, my output.txt file looks like this
I:\
F:\
[n =~ /^(?i) (0-9a-c)/ ? 'M:\' : n =~ /^(?i) (d-h)/ ? 'K:\' : n =~ /^(?i) (i-m)/ ? 'J:\' : n =~ /^(?i) (n-s)/ ? 'L:\' : n =~ /^(?i) (t)/ ? 'E:\' : 'D:\' }

-----------------------
Instructions:
- The first 3 lines must be the File Output Locations.
- Don't put anything else on those lines.
- Remember your trailing slashes.
- Line 1 is for Anime.
- Line 2 is for TV Shows.
- Line 3 is for Movies.
- UNC and local paths supported.

When it goes to move and create the folder to put the movie in I get like 20 folders and they start being named as the movie entry, so folder 1 will be {n =~ then 2 will be /^(?I) and so on. I know I am missing something simple can someone please throw me a bone.

Thanks,
John

Re: How about sharing our format expressions?

Posted: 20 Feb 2015, 04:53
by DavidRTurner
I have just one more thing to do on my Movie Format; I want to use a CSV to rename movie titles, but I'm not finding a way to get this done.

I've done it with several other fields, but cannot get the name.

Simple Version:

Code: Select all

>>-- this is the start of the MOVIE_FORMAT definition, with opening curly brackets 
{
MOVIE_FORMAT= {it.upperInitial() .lowerTrail().replaceAll(/[`´‘’“”""]/, "'").replaceAll(/[*^]/, "-").replaceAll(/[;]/, ", ").replaceAll(/[?|]/, "!").replaceAll(/ /, " ").replaceAll(/[:]/, "-").replaceAll(/[*\s]+/, " ")};

MOVIE_FORMAT(n).replaceFirst(/^(?i)(The|A|An)\s(.+)/, /$2, $1/).replaceAll(/\b(?i:it)+\b/, {it.upperInitial()})
}
<<-- this is the end of the MOVIE_FORMAT definition with closing curly brackets

{alias ?: ''}

{info.SpokenLanguages.displayLanguage.contains(/English/) ? '' : " [Lang= "+(info.SpokenLanguages.displayLanguage[0]).upper()+"]"}

({y}) 
[{(info.runtime).replaceAll('min', '')} min] 
{actors.take(3)} 
{genres.take(3)}
{csv('B:\Downloads\Filebot\Movie Preferred Names.csv').get(n) ?: MOVIE_FORMAT(n)}
needs to go in here somewhere.
If I test this line at the end of the format, it works fine, pulling the whole format, and then pulling the CSV replacement name, so the code works; I just can't place it correctly to replace the movie name in the main format.
Thoughts?

What do I mean by 'replace the movie name?'
I want to keep them all sorted under the franchise name - especially where there are different-named sequels:
Planet of the Apes (1968);Planet of the Apes 1
Beneath the Planet of the Apes;Planet of the Apes 2
Escape From the Planet of the Apes;Planet of the Apes 3
Conquest of the Planet of the Apes;Planet of the Apes 4
Battle for the Planet of the Apes;Planet of the Apes 5
Planet of the Apes (2001);Planet of the Apes 6
Rise of the Planet of the Apes;Planet of the Apes 7
Dawn of the Planet of the Apes;Planet of the Apes 8

Re: Exclude Blacklist & Series-Mappings

Posted: 02 Mar 2015, 20:49
by bonelifer
NCIS.NO NCIS: New Orleans

Re: Exclude Blacklist & Series-Mappings

Posted: 03 Mar 2015, 03:44
by rednoah
Added to series index.

Pre-10.8?

Posted: 24 Mar 2015, 01:05
by scf
For a bunch of reasons I'm not running 10.8. Is there a way to get a copy to run on an older version, since 4.0.0 seems to fail recently with some Java error? I'm happy to make a donation :)

Re: Pre-10.8?

Posted: 24 Mar 2015, 06:06
by rednoah
Java 8 only works on 10.8+ so new versions just can't work on older OSX versions.

Depending how old your system is (you didn't say) you might be able to install Java 7 and run FileBot 4.2 which is no longer supported but should still work quite well.

Re: How about sharing our format expressions?

Posted: 03 Apr 2015, 17:29
by TehBotol
Here is what i use for TV Series

Code: Select all

\{n.replaceTrailingBrackets()} {'S'+s.pad(2)} ({episodelist.findAll{it.season == s}.airdate.year[0,1].unique().join('-')})\{n.replaceTrailingBrackets()} {'S'+s.pad(2)} E{e.pad(2)} - {t} - {try{source}catch(e){'WEB-DL'}}.{vf}.{ac}.{af.replace('6ch','5.1')}.{try{group}catch(e){''}}
File Name : Tvseriesname.S02E19.1080p.WEB-DL.DD5.1.H.264-NTb
will change to : TV Series Name S02 (Year)\Tv Series Name S02 E19 - Episode Title - WEB-DL.1080p.AC3.5.1.NTb

do note if filebot cant find the source in the fillename (bluray/webdl/hdtv) it will change to WEB-DL

Re: [GUIDE] How to install FileBot on Debian Linux

Posted: 24 May 2015, 14:21
by cteahan
Hi,

Have installed the package but can't get filebot to run... Using Debian Jessie and OpenJDK 7, do I need to use a different JRE? Any pointers would be greatly appreciated...
chris@Aphrodite:~/Downloads$ filebot
Exception in thread "main" java.lang.UnsupportedClassVersionError: net/filebot/Main : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)
chris@Aphrodite:~/Downloads$

Re: [GUIDE] How to install FileBot on Debian Linux

Posted: 24 May 2015, 15:19
by rednoah
FAQ says you need Java 8.

Re: [MANUAL] Set OpenSubtitles Account

Posted: 02 Dec 2015, 10:44
by Ravager
When i run filebot -script fn:osdb.login i get this error

Code: Select all

InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
        at net.filebot.web.WebRequest.fetch(WebRequest.java:123)
        at net.filebot.web.WebRequest.fetchIfModified(WebRequest.java:101)
        at net.filebot.web.CachedResource.fetchData(CachedResource.java:28)
        at net.filebot.web.CachedResource.fetchData(CachedResource.java:11)
        at net.filebot.web.AbstractCachedResource.fetch(AbstractCachedResource.java:137)
        at net.filebot.web.AbstractCachedResource.get(AbstractCachedResource.java:82)
        at net.filebot.cli.ArgumentProcessor$DefaultScriptProvider.fetchScript(ArgumentProcessor.java:210)
        at net.filebot.cli.ScriptShell.runScript(ScriptShell.java:82)
        at net.filebot.cli.ArgumentProcessor.process(ArgumentProcessor.java:116)
        at net.filebot.Main.main(Main.java:169)
Failure (°_°)
In Ubuntu 15.10

Re: [MANUAL] Set OpenSubtitles Account

Posted: 02 Dec 2015, 13:55
by rednoah
That's a generic Java issue. Try Google: http://stackoverflow.com/questions/4764 ... ameter-mus

Re: [GUIDE] How to install FileBot on Debian Linux

Posted: 04 Dec 2015, 13:14
by aztazt
I might be wrong, but I think neither Debian Wheezy nor Debian Jessie are offering OpenJDK 8 in their repositories.

I personnaly use Debian 7.9 and I was unable to install openjdk-8-jre on my server (dependancies are not met).

Any advice would be greatly appreciated, thank you

Re: Exclude Blacklist & Series-Mappings

Posted: 25 Jan 2016, 16:17
by schimi2k
Navy CIS New Orleans > NCIS New Orleans

germany called NCIS also Navy CIS ... overwrites already some of my old NCIS files with NCIS New Orleans files ...

thx

Re: Exclude Blacklist & Series-Mappings

Posted: 25 Jan 2016, 16:58
by rednoah
Please give me the filenames that don't work, and what TV series should be matched (with TheTVDB link).

Re: Exclude Blacklist & Series-Mappings

Posted: 25 Jan 2016, 18:39
by schimi2k
ok sorry :)
rls name: Navy CIS New Orleans S02E01 Der Feind im Inneren GERMAN DL DUBBED 1080p WebHD x264-TVP

tvdb: http://www.thetvdb.com/?tab=series&id=278125&lid=14 >>> NCIS: New Orleans


NCIS: New Orleans ( because of the ":" just NCIS New Orleans )
thx again