Page 1 of 1

FileNotFoundException with FileBot 4.5 (r2612)

Posted: 01 Jun 2017, 14:47
by bahumbaba
Hi!

I'm trying to run a Filebot script on my Raspberry Pi but are running in to some issues.

My Filebot version:

Code: Select all

pi@TorrentBox:~/filebot/scripts $ filebot -version
FileBot 4.5 (r2612) / Java(TM) SE Runtime Environment 1.8.0_131 (headless)
Filebot script that fails:

Code: Select all

 sudo filebot -rename /home/pi/NSA320/video/Download/Torrent/Finished* --format '/home/pi/NSA320/video/TV Shows/{n}/Season {s}/{n} - {sxe} - {t}' --db thetvdb
Error:

Code: Select all

Rename episodes using [TheTVDB]
FileNotFoundException: http://app.filebot.net/data/exclude-blacklist.txt
java.io.FileNotFoundException: http://app.filebot.net/data/exclude-blacklist.txt
        at net.filebot.web.WebRequest.fetch(WebRequest.java:116)
        at net.filebot.web.WebRequest.fetchIfModified(WebRequest.java:94)
        at net.filebot.web.CachedResource.fetchData(CachedResource.java:32)
        at net.filebot.web.CachedResource.fetchData(CachedResource.java:11)
        at net.filebot.web.AbstractCachedResource.fetch(AbstractCachedResource.java:133)
        at net.filebot.web.AbstractCachedResource.get(AbstractCachedResource.java:78)
        at net.filebot.media.ReleaseInfo.getExcludePattern(ReleaseInfo.java:287)
        at net.filebot.media.ReleaseInfo.getClutterFileFilter(ReleaseInfo.java:331)
        at net.filebot.media.MediaDetection.getClutterFileFilter(MediaDetection.java:88)
        at net.filebot.cli.CmdlineOperations.renameSeries(CmdlineOperations.java:157)
        at net.filebot.cli.CmdlineOperations.rename(CmdlineOperations.java:95)
        at net.filebot.cli.ArgumentProcessor.process(ArgumentProcessor.java:72)
        at net.filebot.Main.main(Main.java:183)
Failure (°_°)
If anyone could help that would be greatly appriciated.

Re: FileNotFoundException: http://app.filebot.net/data/exclude-blacklist.txt

Posted: 01 Jun 2017, 18:24
by bahumbaba
Never mind.

I updated to latest FileBot and also corrected some directory errors in my script.

However, is there a way to make Filebot ONLY process video files and not copy .nfo, .srt, .txt etc.?

Re: FileNotFoundException: http://app.filebot.net/data/exclude-blacklist.txt

Posted: 02 Jun 2017, 03:39
by rednoah
1.
r2612 is a release from 3 years ago. How did you even pick this particular massively outdated release? :lol:


2.
Yes. You can pass individual files instead of the whole folder. Use the appropriate Unix tools for that.

e.g.

Code: Select all

find . -type f -iname '*.mp4' -exec filebot -script fn:sysenv {} +
@see viewtopic.php?f=4&t=4788
@see viewtopic.php?f=3&t=4222

Re: FileNotFoundException with FileBot 4.5 (r2612)

Posted: 03 Jun 2017, 09:33
by bahumbaba
Thanks a bunch!

I must admin i just followed some old documentation and didn't think about the version of Filebot.

Now i just need to figure out how to clean up my download folder, i've tried using the following script and it cleans up all files, but empty folders are not being deleted:

Code: Select all

filebot -script fn:cleaner /path/to/media/

Re: FileNotFoundException with FileBot 4.5 (r2612)

Posted: 03 Jun 2017, 09:45
by rednoah
Are you sure that your "empty" folders are really empty? No hidden dot files or permission issues? What does the log say?