POSTBUCKET - where random posts in unrelated topics go

Any questions? Need some help?
User avatar
rednoah
The Source
Posts: 16600
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Installing FileBot on Synology NAS

Post by rednoah » 29 Sep 2014, 13:15

symlink java to /usr/syno/bin/java
:idea: Please read the FAQ and How to Request Help.

sebmex
Posts: 2
Joined: 29 Sep 2014, 12:12

Re: Installing FileBot on Synology NAS

Post by sebmex » 30 Sep 2014, 13:10

thanks for your answer, but would you have a complete command i can type on my interface ?... i am completely dumb on a console... :oops:

whocares
Posts: 17
Joined: 11 Oct 2014, 22:19

Re: [SNIPPET] Sort into A-Z folders

Post by whocares » 14 Oct 2014, 16:56

This should work

Code: Select all

{n =~ /^(?i)[0-9a-g]/ ? 'a-f' : n =~ /^(?i)[h-n]/ ? 'h-n' : n =~ /^(?i)[o-s]/ ? 'o-s' : 't-z' } 
:)

gardnerd4me
Posts: 9
Joined: 21 Oct 2014, 04:36

Re: [OSX] brew cask install filebot

Post by gardnerd4me » 21 Oct 2014, 04:43

Thank you for this wonderful application. After installing with brew, I can't seem to get my AMC script to run. Is their something more that needs to be done here? I have tried using the standard "filebot -script fn:amc" and also tried pointing to "/opt/homebrew-cask/Caskroom/filebot/4.5/FileBot.app -script fn:amc". Still no luck. Worked fine before installing with the brew method. Any help is appreciated.

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

Re: [OSX] brew cask install filebot

Post by rednoah » 21 Oct 2014, 05:26

Have you tried? What's the output?
5. Check if filebot is working:

Code: Select all

filebot -version
@readme viewtopic.php?f=5&t=1868
:idea: Please read the FAQ and How to Request Help.

gardnerd4me
Posts: 9
Joined: 21 Oct 2014, 04:36

Re: [OSX] brew cask install filebot

Post by gardnerd4me » 21 Oct 2014, 06:14

FileBot 4.5 (r2600) / Java(™) SE Runtime Environment 1.8.0_20

edit: OK, just updated java and filebot: FileBot 4.5 (r2612) / Java(TM) SE Runtime Environment 1.8.0_25

Code: Select all

filebot -script fn:sysinfo                                           
Oct 20, 2014 11:30:57 PM net.filebot.Main initializeCache
WARNING: App version (r2612) does not match cache version (r2600): reset cache
FileBot 4.5 (r2612)
JNA Native: 4.0.0
MediaInfo: MediaInfoLib - v0.7.69
7-Zip-JBinding: OK
chromaprint-tools: fpcalc version 1.1.0 (/opt/homebrew-cask/Caskroom/filebot/4.5/FileBot.app/Contents/MacOS/fpcalc)
Extended Attributes: OK
Groovy Engine: 2.3.7
JRE: Java(TM) SE Runtime Environment 1.8.0_25
JVM: 64-bit Java HotSpot(TM) 64-Bit Server VM
CPU/MEM: 2 Core / 1 GB Max Memory / 372 MB Used Memory
OS: Mac OS X (x86_64)
uname: Darwin Mothership.local 14.0.0 Darwin Kernel Version 14.0.0: Fri Sep 19 00:26:44 PDT 2014; root:xnu-2782.1.97~2/RELEASE_X86_64 x86_64
Done ヾ(@⌒ー⌒@)ノ
And here is the output of the command when run

Code: Select all

Filebot -script fn:amc --output "/Volumes/D3/Media" --log-file amc.log --action copy --conflict auto --def artwork=n --def excludeList=amc.txt --def ignore=iso --def gmail=************************* "ut_dir=$TR_TORRENT_DIR/$TR_TORRENT_NAME" "ut_kind=multi" "ut_title=$TR_TORRENT_NAME" --def "seriesFormat=TV Shows/{n}/{episode.special ? 'Season 0' : 'Season '+s}/{episode.special ? 'S00E'+special.pad(2) : s00e00} - {t}" "movieFormat=Movies/{n}/{n}"
Locking /Users/*************/.filebot/logs/amc.log
Parameter: artwork = n
Parameter: excludeList = amc.txt
Parameter: ignore = iso
Parameter: gmail = *****
Parameter: ut_dir = /
Parameter: ut_kind = multi
Parameter: ut_title = 
Parameter: seriesFormat = TV Shows/{n}/{episode.special ? 'Season 0' : 'Season '+s}/{episode.special ? 'S00E'+special.pad(2) : s00e00} - {t}
Parameter: movieFormat = Movies/{n}/{n}
NullPointerException: java.lang.NullPointerException
java.lang.NullPointerException
	at net.filebot.media.ReleaseInfo$FolderEntryFilter.accept(ReleaseInfo.java:442)
	at net.filebot.media.MediaDetection.isDiskFolder(MediaDetection.java:94)
	at net.filebot.cli.ScriptShellMethods.isDisk(ScriptShellMethods.java:85)
	at Script1.resolveInput(Script1.groovy:143)
	at Script1$_resolveInput_closure83.doCall(Script1.groovy:144)
	at Script1.resolveInput(Script1.groovy:144)
	at Script1$_resolveInput_closure83.doCall(Script1.groovy:144)
	at Script1.resolveInput(Script1.groovy:144)
	at Script1$_resolveInput_closure83.doCall(Script1.groovy:144)
	at Script1.resolveInput(Script1.groovy:144)
	at Script1$_run_closure46.doCall(Script1.groovy:167)
	at Script1.run(Script1.groovy:167)
	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:109)
	at net.filebot.Main.main(Main.java:183)
Failure (°_°)
edit again. OK, so I just ran the full command pointed at "/opt/homebrew-cask/Caskroom/filebot/4.5/FileBot.app" and it came back permission denied. So that explains why it's not running. I think I can fix from here.

edit again :( Nope, i'm totally lost.

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

Re: [OSX] brew cask install filebot

Post by rednoah » 21 Oct 2014, 09:54

I just ran the full command pointed at "/opt/homebrew-cask/Caskroom/filebot/4.5/FileBot.app" and it came back permission denied. So that explains why it's not running. I think I can fix from here.
This is exactly why you can't have the .app package. Thanks for making my point.


1.
So it's running perfectly fine then - obviously - since FileBot is giving you lots of output.

2.
FileBot.app is a FOLDER and you can't execute folders, only programs, which are files. Learn how to use your OS.

3.
filebot runs, and then crashes, and rightly so because you're calling it on YOUR ENTIRE FILESYSTEM

Code: Select all

Parameter: ut_dir = /
Can you guess what it should be? It's the path to the files you wanna process. Most certainly not the filesystem root / right?

Code: Select all

"ut_dir=$TR_TORRENT_DIR/$TR_TORRENT_NAME"
So you called the script yourself? Transmission is supposed to set certain environment variables when making the call. So you need to set them if you're making to call. Clear?

4.
I suppose you're lucky on this one, Mac letting you get away with it, but seriously... you confirm "filebot" works and then you expect "Filebot" to work? It's not the same. Don't try this on Linux.

Code: Select all

Filebot
5.
Once you fix all the issues above, we might actually get to the point where we can see the real issue.
:idea: Please read the FAQ and How to Request Help.

gardnerd4me
Posts: 9
Joined: 21 Oct 2014, 04:36

Re: [OSX] brew cask install filebot

Post by gardnerd4me » 22 Oct 2014, 07:46

1.
So it's running perfectly fine then - obviously - since FileBot is giving you lots of output.
Yes, it appears so.

2.
FileBot.app is a FOLDER and you can't execute folders, only programs, which are files. Learn how to use your OS.
My mistake, was trying lots of alternative ways to run the script. That was a stupid mistake.

3.
filebot runs, and then crashes, and rightly so because you're calling it on YOUR ENTIRE FILESYSTEM

Code: Select all

Parameter: ut_dir = /
Can you guess what it should be? It's the path to the files you wanna process. Most certainly not the filesystem root / right?

Code: Select all

"ut_dir=$TR_TORRENT_DIR/$TR_TORRENT_NAME"
So you called the script yourself? Transmission is supposed to set certain environment variables when making the call. So you need to set them if you're making to call. Clear?
Didn't realize the significance of setting the environment variables when running the script manually. Lesson learned.

4.
I suppose you're lucky on this one, Mac letting you get away with it, but seriously... you confirm "filebot" works and then you expect "Filebot" to work? It's not the same. Don't try this on Linux.
Similar to #2, bad copy/pasting on my part

5.
Once you fix all the issues above, we might actually get to the point where we can see the real issue.
I hope that i have fixed these issues enough to continue to ask for help getting the script to run.


So I got the script to run manually, and it is performing exactly as it should using this:

Code: Select all

filebot -script fn:amc --output "/Volumes/*****/Media" --log-file amc.log --action copy --conflict auto --def artwork=n --def excludeList=amc.txt --def ignore=iso --def gmail=***** "ut_dir=/Users/*****/Downloads/Torrents/*****" "ut_kind=multi" "ut_title=*****" --def "seriesFormat=TV Shows/{n}/{episode.special ? 'Season 0' : 'Season '+s}/{episode.special ? 'S00E'+special.pad(2) : s00e00} - {t}" "movieFormat=Movies/{n}/{n}"
Very happy to get this far. However when I change that same script back into the "transmission-postprocess" executable and chmod +x the file, it will not trigger from transmission. I thank you for pointing out my mistakes trying to run it manually, which I never do. But now i'm back to my original problem of trying to get transmission to run it. Here is the script transmission is trying to run, minus sensitive information:

Code: Select all

filebot -script fn:amc --output "/Volumes/*****/Media" --log-file amc.log --action copy --conflict auto --def artwork=n --def excludeList=amc.txt --def ignore=iso --def gmail=***** "ut_dir=$TR_TORRENT_DIR/$TR_TORRENT_NAME" "ut_kind=multi" "ut_title=$TR_TORRENT_NAME" --def "seriesFormat=TV Shows/{n}/{episode.special ? 'Season 0' : 'Season '+s}/{episode.special ? 'S00E'+special.pad(2) : s00e00} - {t}" "movieFormat=Movies/{n}/{n}"
As I said, this script ran flawless on the last version before I updated using the brew method, so not sure why it has stopped running.

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

Re: [OSX] brew cask install filebot

Post by rednoah » 22 Oct 2014, 12:21

Once the script itself is working the rest is really more of a Transmission issue. I'd first make sure that Transmission is in fact calling your script (add some logging to your shell script) and that all the variables like $TR_TORRENT_DIR are available in the script (add some more logging for that)

e.g.

Code: Select all

date >> output.txt
whoami >> output.txt
echo $TR_TORRENT_DIR >> output.txt
echo $TR_TORRENT_NAME >> output.txt
echo $TR_TORRENT_NAME >> output.txt
:idea: Please read the FAQ and How to Request Help.

gardnerd4me
Posts: 9
Joined: 21 Oct 2014, 04:36

Re: [OSX] brew cask install filebot

Post by gardnerd4me » 22 Oct 2014, 20:22

Well as soon as I added logging to the script and tried another download, it ran fine. Not sure why but i'll leave it as is if it's working.

te5s3rakt
Posts: 35
Joined: 02 Apr 2013, 11:51

Re: [OSX] brew cask install filebot

Post by te5s3rakt » 11 Nov 2014, 12:35

the filebot upgrade command line there... how would you recommend to automate that if you wished? on mac

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

Re: [OSX] brew cask install filebot

Post by rednoah » 11 Nov 2014, 15:22

brew cask doesn't support automatic updates at this point, but it's planned
:idea: Please read the FAQ and How to Request Help.

arcelas
Posts: 7
Joined: 19 Jul 2014, 03:04

Re: My Perfection Custom Naming Scheme

Post by arcelas » 28 Nov 2014, 17:19

DevXen wrote:Here is my naming scheme For TV Shows, i've worked on for the last week or two.

Code: Select all

{model.episode.containsAll(episodelist.findAll{it.season == s && it.episode && it.title}) ? 'H:/Live Action (New)/'+(csv('C:/FileBot Settings/TV/TVGenreFolderBasedOnSeriesName.csv').get(n) ?: genre)+'/' : 'H:/Unfinished Seasons (New)/Current Seasons (In Progress)' + '/'}{norm = {it.upperInitial().lowerTrail().replaceAll(/[`´‘’ʻ""“”]/, "'").replaceAll(/[:|]/, " - ").replaceAll(/[?]/, "!").replaceAll(/[*\s]+/, " ").replaceAll(/\b[IiVvXx]+\b/, { it.upper()}).replaceAll(/\b[0-9](?i:th|nd|rd)\b/, {it.lower()})}; norm(n).replaceFirst(/^(?i)(The|A|An)\s(.+)/, /$2, $1/).replaceTrailingBrackets()}{' '+n.match(/\([A-Z]+\)$/)}{if (norm(n) != norm (primaryTitle)) ' ('+norm(primaryTitle)+')'}{fn.contains('3D') || fn.contains('3-D') ? ' '+'3D':""}{if (y) {' ['+y +']'}}{' '+any{"[$certification]"}{"["+$imdb.certification+"]" }.replaceAll('N A','').replaceAll(/^ \d+$/, 'PG-$0')}{" [$rating" + "★]"} [{csv('C:/FileBot Settings/TV/TVNetwork.csv').get(info.network) ?: info.network }]/{[episodelist.findAll{ it.season == s }.airdate.year.min()]} {episode.special ? ' - Season '+s.pad(2)+'/[Specials]' : ' - Season '+s.pad(2)}/{csv('C:/FileBot Settings/TV/TVFileShowNames.csv').get(n) ?: norm(n).replaceTrailingBrackets()}{' '+n.match(/\([A-Z]+\)$/)}{' '+n.match(/\([0-9]+\)$/)} {episode.special ? '- S00E'+special.pad(2)+' -' : '- '+s00e00+' -'} {norm(t.replaceAll("\\s*[(]([^)]*)[)]\$", { group, match -> ' (Part '+match.pad(2)+')' }))}{fn.contains('3D') || fn.contains('3-D') ? ' '+'3D':""}{' (' + fn.matchAll(/extended|uncensored|remastered|unrated|uncut|directors.cut|special.edition|unsold.pilot|unaired.pilot| unaired.episode/)*.upperInitial()*.lowerTrail().sort().join(', ').replaceAll(/ [._]/, " ") + ')'}{" Part $pi"}{" [$minutes Min]"}{airdate.format(" [MM.dd.yyyy]")}{" [$source]"}{" [$vf $ac $af]"}
---Updated: 10.28.2014---
#14 in the list.

I'm not sure if I can remember all I've done to it. it is based on: "Ithiel's super crazy renaming scheme for perfectionists!" I just decided to perfect it for my needs.

Changes/Updates/Additions
  • 1. More Accurately matches Complete/Incomplete seasons as it looks for The Episode title as well as season. Removing Specials and Numbered but unlisted episodes from matching.
    2. I Put the Country Code back in the Folder name and capitalized it. i.e.: "(US)" when it's part of the show name on TheTVDB To Differentiate between Shows like: Wilfred and Wilfred (US), Being Human and Being Human (US), Etc
    3. Added the Year the show started To the folder (To differentiate between tv show remakes: Knight Rider [1982] vs. Knight Rider [2008]
    4. When the year is included in TheTVDB Show name then I added it to the filename as well. (2008)
    5. Moved 'The', 'A', and 'An' to the end of the TV Show name on the folder, but not on the show or episode names on the file. (Every Big Bang Theory episode name starts with 'The'.)
    6. I put the Episode Parts back in and Padded it as well. (Part 01), (Part 02), etc. (Edit: This is working again)
    7. Added: [TV Rating] [Star Rating] [Network] to the Folder show name. [TV-PG] [9.5★] [FOX]
    8. Added the Year the season started to the Season folder [2008] - Season 01, [2009] - Season 02, etc.
    9. Added: [Actual Minutes of the Episode] [Original Airdate] [Source] [Resolution Standard Audio Codec Audio Channels] To the File name. [21 Min] [03.05.2011] [DVDRip] [360p AAC 2ch]
    10. Added a CSV File for Matching: TVNetwork.csv as Some networks are longer than needed: National Geographic;NeoGeo .. The CW;CW .. etc.
    11. Added a CSV file for Matching: TVFileShowNames.csv as some show names are a bit long, when it's already in the folder name, So: Epic Rap Battles of History;ERB .. How it Should have Ended;HISHE
    12. Moved the specials to the season to which their aired under a [Specials] Sub Folder
    13. added: unsold.pilot, unaired.pilot, unaired.episode To the Extended info matching check.
    14. Added genre folder name CSV File check based on series name (I.E.: Being Human (US) now goes to Horror instead of Comedy.)
Filename Examples:
  • Cyanide & Happiness Show, The [2010] [10.0 Stars] [YouTube]\[2010] - Season 01\The Cyanide & Happiness Show - S01E01 - The Sign [0 Min] [02.01.2010] [WEB-DL] [720p AAC 2ch].mp4
    Epic Rap Battles Of History [2010] [TV-MA] [9.3 Stars] [YouTube]\[2010] - Season 01\ERB - S01E01 - John Lennon Vs Bill O'Reilly [2 Min] [09.26.2010] [WEB-DL] [576p AAC 2ch].mp4
    How It Should Have Ended [2007] [YouTube]\[2007] - Season 01\HISHE - S01E01 - How The Matrix Should Have Ended [1 Min] [03.06.2007] [WEB-DL] [360p AAC 2ch].mp4
    7 Deadly Sins [2014] [TV-MA] [Showtime]\[2014] - Season 01\7 Deadly Sins - S01E01 - Gluttony [27 Min] [08.07.2014] [HDTV] [480p AAC 2ch].mkv
Like i said I could be missing things I've done. But Assuming that I'm not. Everything else should still be the same as: "Ithiel's super crazy renaming scheme for perfectionists!". You can find his naming scheme at: http://www.filebot.net/forums/viewtopic.php?f=5&t=1205

The CSV files I am using
  • C:\FileBot Settings\TV\TVGenreFolderBasedOnSeriesName.csv
    C:\FileBot Settings\TV\TVFileShowNames.csv
    C:\FileBot Settings\TV\TVFolderShowNames.csv
    C:\FileBot Settings\TV\TVNetwork.csv
(These are all in: What To Match;What You want to replace it with Format)

If there is a better, faster, more efficient, Smaller way to do Anything in my naming scheme, Please share.

Also there are a couple other things I'd like to do to it. but Haven't been able too, so if any of you out there, want to tackle these ideas, That'd be rad. and if not, it's pretty good as it is.

The things i would still like to add are:
  • 1. A csv filecheck for the Foldername. So you can match shows like: Avatar The last Air bender, and the Legend of Kora in the same folder, under different sub folders. (As explained in the post in this thread, by: SyAccursed) - I worked on it for a few hours, but was unable to get it to work correctly.
    2. A way to check if the show has ended. and if you have every episode of every season put (Full) in the show folder name.
    3.Check the sources of each episode in the folder if they all are the same add (Source) to the Season Folder name. If they are not the same add (Mixed) or each source in the season (HDTV & DVDRip) [I haven't decided which I like better yet.] - To the season folder name.
    4. And also, find a way to check to see if the show is in the middle of airing the current season, if so. put those files in a (Currently airing) folder as they won't be complete until the season ends. - so it'd be a 3 way split. 1. Completed Seasons. 2. Incomplete Season. 3. Currently airing Seasons. (The idea being to identify the incomplete seasons to complete them. and not to move the currently airing seasons to the main folder until the season is over.
These Ideas I haven't been able to get working yet. But they would make the naming scheme perfect for me. So if I can get them working, i'll update this post accordingly. If anyone else out there, would like to give them a try, that'd be cool too. and as i said, if not. it's usable and nearly complete as it is, so Enjoy.

I'd also like to thank rednoah, for all his help with several issues i've had working this out. and putting up with my crazy annoying requests for help. haha. I'd also like to thank everyone else that has posted ideas, and things that work, and better ways to do things, that i was able to pick up here in the forums. without that, and those examples, I don't think I could have figured out how to do any of it. so If I used an idea of yours and didn't credit you, I apologize. Let me know And I will.

..And now to work on my Movie naming Scheme.
I love the ideas behind you naming scheme, just wondering how to do a couple things:
1. How would I add the show name to the actual filename? PLEX needs the file named that way.
2. How do I get the .csv files you are using?

Thanks again.

DevXen
Power User
Posts: 111
Joined: 12 Oct 2014, 21:15

Re: POSTBUCKET - where random posts in unrelated topics go

Post by DevXen » 28 Nov 2014, 17:41

arcelas wrote:I love the ideas behind you naming scheme, just wondering how to do a couple things:
1. How would I add the show name to the actual filename? PLEX needs the file named that way.
2. How do I get the .csv files you are using?

Thanks again.


Thank you. I spent a lot of time on it.

It does put the show name in the filename. The only time it puts something different is when there is a match in the csv file.

The csv files I've just updated as I went in notepad to work for my TV shows and my preferences.

Like the genre csv file. I have:

Being Human (US);Horror

In one line cause I want it to go to the horror folder.

To run it. You just need the empty files. What I did was create new notepad files of the names and path mentioned above. Then rename them from .TXT to .csv then add to them as needed.

Examples:

C:\FileBot Settings\TV\TVGenreFolderBasedOnSeriesName.csv
Being Human (US);Horror

C:\FileBot Settings\TV\TVFileShowNames.csv
Lois & Clark: The Adventures of Superman;Lois & Clark (TAOS)

C:\FileBot Settings\TV\TVFolderShowNames.csv
Wilfred (US);Wilfred/Wilfred (US)
Wilfred;Wilfred/Wilfred (AU)

C:\FileBot Settings\TV\TVNetwork.csv
The CW;CW


Important things to note on matching. The name has to be exact, the case matters, and :'s need to be in the csv if it's in the show/title. If something didn't match for me. I'd refresh it by clicking on the button again (to reload the values) and that shows me how filebot sees the original show/title the : being the biggest thing missed as the matching changes that to - so you don't know if it's - or : originally. But I hope that helps.

CletusAZ
Posts: 2
Joined: 06 Nov 2014, 19:45

Re: Exclude Blacklist & Series-Mappings

Post by CletusAZ » 01 Dec 2014, 21:07

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 :)

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

Re: Exclude Blacklist & Series-Mappings

Post by rednoah » 02 Dec 2014, 03:20

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.
:idea: Please read the FAQ and How to Request Help.

CletusAZ
Posts: 2
Joined: 06 Nov 2014, 19:45

Re: Exclude Blacklist & Series-Mappings

Post by CletusAZ » 02 Dec 2014, 17:35

Oh cool! I had not learned about TV only mode yet. Ill look it up.
Thank you

angst
Posts: 6
Joined: 18 Mar 2013, 00:55

Re: Add Blacklisted Terms and Improve Movie / Series Detecti

Post by angst » 21 Dec 2014, 18:43

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

Hillbird
Posts: 3
Joined: 19 Nov 2014, 08:15

Re: Manual / FAQ

Post by Hillbird » 29 Dec 2014, 14:52

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 (°_°)

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

Re: POSTBUCKET - where random posts in unrelated topics go

Post by rednoah » 29 Dec 2014, 18:21

Your console environment doesn't seem right.

How about you post some sysinfo?
viewtopic.php?f=4&t=1868
:idea: Please read the FAQ and How to Request Help.

Hillbird
Posts: 3
Joined: 19 Nov 2014, 08:15

Re: POSTBUCKET - where random posts in unrelated topics go

Post by Hillbird » 30 Dec 2014, 13:36

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

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

Re: POSTBUCKET - where random posts in unrelated topics go

Post by rednoah » 30 Dec 2014, 17:31

I suppose Console Interactive programs don't work with "CLI Webconsole" or whatever that is. I recommend using SSH to login to your NAS.
:idea: Please read the FAQ and How to Request Help.

blackbike
Posts: 1
Joined: 04 Jan 2015, 17:11

Re: Exclude Blacklist & Series-Mappings

Post by blackbike » 04 Jan 2015, 17:15

Could you please add:

TBLUS = The Biggest Loser US

Thanks

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

Re: Exclude Blacklist & Series-Mappings

Post by rednoah » 04 Jan 2015, 17:42

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
:idea: Please read the FAQ and How to Request Help.

jclancy103
Posts: 6
Joined: 20 Jan 2015, 06:59

Re: [SNIPPET] Sort into A-Z folders

Post by jclancy103 » 30 Jan 2015, 07:35

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

Post Reply