FileNotFoundException with FileBot 4.5 (r2612)

Support for Ubuntu and other Desktop Linux distributions
Post Reply
bahumbaba
Posts: 3
Joined: 01 Jun 2017, 14:05

FileNotFoundException with FileBot 4.5 (r2612)

Post 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.
bahumbaba
Posts: 3
Joined: 01 Jun 2017, 14:05

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

Post 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.?
User avatar
rednoah
The Source
Posts: 22975
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

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

Post 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
:idea: Please read the FAQ and How to Request Help.
bahumbaba
Posts: 3
Joined: 01 Jun 2017, 14:05

Re: FileNotFoundException with FileBot 4.5 (r2612)

Post 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/
User avatar
rednoah
The Source
Posts: 22975
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: FileNotFoundException with FileBot 4.5 (r2612)

Post by rednoah »

Are you sure that your "empty" folders are really empty? No hidden dot files or permission issues? What does the log say?
:idea: Please read the FAQ and How to Request Help.
Post Reply