Ad.

Synology package: FileBot

26 May 2012 19:04

filebot

FileBot is the ultimate tool for renaming your tv shows and anime, downloading subtitles from various sources or just simple file verification. FileBot is now available as a simple to install Synology Package.

How?

Just add http://packages.missilehugger.com to your Synology Package Center and install the package.

FileBot is now available from the command line through SSH or the Web Console package.
For example try:

filebot -version

38 Responses to “Synology package: FileBot”

  1. Josh says:

    Thanks for this package. It works very well, except that it won’t accept a –format modifier. Trying to specify a format, any format, outputs the error

    “-” is not a valid option.

    • rednoah says:

      1. run filebot -help
      2. notice it’s –format with two –

      • rednoah says:

        Apparently here double dash is auto-correct to long dash in this forum. Anyway check the help page. It’s single dash for actions and double dash for options.

        • Josh says:

          You’ll notice that my double dash was also corrected to a long dash (i.e., I posted that the format option returned an error, even though I was using two dashes). Does the format option work on your setup? Because it doesn’t work on mine, even with the two dashes.

    • choch says:

      I had this problem too. It seems the filebot script has a bug in passing the arguments to the java process.

      You need to ssh into the nas and edit the filebot command to put quotes around the $@ symbol. I also had to change where filebot created its cache as it kept trying to run in the root home. You can file the filebot script using this and opening it in vim:

      > vim $(which filebot)

      then change the java line to this:

      java -Xms32m -Xmx64m -Dapplication.deployment=ipkg -Dapplication.dir=/tmp/filebot -Djava.io.tmpdir=/tmp/filebot/temp -jar /usr/local/filebot/filebot.jar “$@”

  2. Hi,

    I still get the “Failed to load libzen” error whenever I try to get mediainfo information. Do I need to configure anything special? I have the mediainfo package installed as well

    • MissileHugger says:

      Unfortunattely mediainfo is not supported by FileBot on Synology due to DSM restrictions.

  3. erwin says:

    hi. can you post a step by step how to use this on my syno NAS? the movie files is inside NAS already..

  4. erwin says:

    please update to version 3.0

  5. Yuval says:

    i’m getting problems with libzen+ mediainfo + 7zip:

    Sep 16, 2012 8:49:16 AM net.sourceforge.filebot.mediainfo.MediaInfo
    WARNING: Failed to preload libzen
    MediaInfo: java.lang.UnsatisfiedLinkError: Unable to load library ‘mediainfo’: libmediainfo.so: cannot open shared object file: No such file or directory
    7-Zip-JBinding: net.sf.sevenzipjbinding.SevenZipNativeInitializationException: Failed to load 7z-JBinding: no 7-Zip-JBinding in java.library.path
    Java(TM) SE Runtime Environment 1.6.0_34 (headless)

    help?

    • MissileHugger says:

      Unfortunattely mediainfo is not supported by FileBot on Synology due to DSM restrictions.

      • Yuval says:

        Thanks, and 7-zip?
        Also, can you elaborate on what are the restrictions?
        Thanks again.

        • rednoah says:

          7z-JBinding only has pre-compiled for normal x86/x64 machines.

          If you have an an ARM you’re out of luck since there is no pre-compiled native libs for that. With ATOM you might think you can just use the normal x86/x64 libs, but no, they we’re compiled against GLIBC_2.4 which is not used in the stripped down synology linux boxes.

          However, it should be possible to build 7z-JBinding on/for an ARM/ATOM box, just nobody got it working yet.

  6. lior says:

    hello,

    how do i use filebot on synology ?
    it looks like it’s running when i open the package center but what should i do in order to rename files i have already downloaded ?

    Tnx

  7. Sabe says:

    Hi,
    I can’t get filebot to work with java 1.7. Did I do something wrong?
    I get the following error: please install “java>=1.6.0.32-4″ before installing this package.

    • Sabe says:

      Missing info: I’m installing it on a Synology DS413

    • Bokassa says:

      same problem here, Java is installed (V1.7) and i keep receiving the error “please install “java>=1.6.0.32-4″ before installing this package” when trying to install FileBot

    • Peter says:

      I get the same error, tried with both 1.6 and 1.7 version of java. I suspect it has to do something with the version numbering of the java packets, for example both packages have their corret versioning numbers ie 1.6.0 or 1.7.0 but both have a _ right after that. For example 1.6.0_38-0014, i believe that filebots fail to install because it cannot correctly read/fetch the version number. So it believes that the version we have installed is less than 1.6

      Hope it will be fixed soon, i use the java applet as of now, would be nice to be able to run it from my nas (seeing as i cannot enter my fqdn/ip number of my nas from the java applet). Awesome program thus far! Correctly fetches episode/season numbering :)

      • Mike says:

        I have the same problem with installing FileBot. It’s the way FileBot handles the Java version number 1.6.0.32-4, Java has it 1.6.0_38-###. The period and underscore difference. Does anyone know how to change either ones’ version number?

        I hope it will be fixed soon too. Filebot is a great program!

  8. Vippis says:

    Hi,

    I have the same issue that the shell does not pass the arguments correctly to filebot. Can you please tell me how to fix the startup script? I’m a Linux noob.

  9. Robert says:

    3.5 is up

  10. Mark says:

    Will you be able to update to v3.6? Your efforts and packages are very appreciated.

    Thanks!

  11. Matthew says:

    Hi. I wanted to say thank you for this! It has helped a lot. I also wanted to share a piece of my experience. I have a DS 213. Some episodes were giving me errors due to non-standard characters (like an accented ‘e’). Here is the error: java.nio.file.InvalidPathException: Malformed input or input contains unmappable chacraters

    By following the guide here: http://pcloadletter.co.uk/2011/08/23/java-package-for-synology/ and installing an additional Java package those errors went away.

    Thanks again.

  12. Alessandro DP says:

    Hi. Thanks for the great package.

    If possible, could you release your packages, this in particular, without dependency with your Java package?

    The official Java package made by Synology other than installing Java, also adds official locale support, and many apps require this (LANG=en_US.utf8) in order to work correctly.

    Could you think about this?

    In this moment I installed Synology Java, mainly for the locale support, your Java, and FileBot. It’s working, but it’s not a “clean” setup.

    Thank you.

  13. Anthony says:

    How do I start FileBot ? I have installed it, but have no idea what to do next ?

    I can not see any Package to Launch in my Package Centre in the synology screens ?

    It says that it is available from the command line ? I don’t understand ?

    • ThiasJ says:

      You have to connect via ssh to you DS, on Windows you can use “putty”.. but I suggest you, if you havent any experience with Linux consoles, you should play save and use FileBot on your computer renaming via smb (windows share) oder nfs.

  14. gerd says:

    I have installed java6 from Synology source and java 6 SE for Embedded from http://packages.pcloadletter.co.uk but i always get “please install java”….
    I have a DS214play (Atom).

    any ideas? thx

  15. Yvan says:

    Hello

    do you intend to create the package for the new version of filebot? 3.8?

  16. Thomas says:

    Any chance you could update this package to latest version 3.8? :)

  17. magefesa says:

    ds214play, same problem previous posts help please !!!

  18. Alan says:

    I have a DS412+ and I’ve installed filebot through your package (thanks!), but when I try to rename a file I got the following error:

    [MOVE] Failed to rename [/volume1/TV Shows/Wilfred/Season 1/Wilfred.US.S01E06.HDTV.XviD-FQM.Conscience.avi]
    IOException: Failed to delete original file ‘/volume1/TV Shows/Wilfred/Season 1/Wilfred.US.S01E06.HDTV.XviD-FQM.Conscience.avi’ after copy to ‘/volume1/TV Shows/Wilfred/Season 1/Wilfred (US) – S01E06 – Conscience – .avi’
    java.io.IOException: Failed to delete original file ‘/volume1/TV Shows/Wilfred/Season 1/Wilfred.US.S01E06.HDTV.XviD-FQM.Conscience.avi’ after copy to ‘/volume1/TV Shows/Wilfred/Season 1/Wilfred (US) – S01E06 – Conscience – .avi’
    at org.apache.commons.io.FileUtils.moveFile(FileUtils.java:2835)
    at net.sourceforge.tuned.FileUtilities.moveRename(FileUtilities.java:57)
    at net.sourceforge.filebot.StandardRenameAction$1.rename(StandardRenameAction.java:14)
    at net.sourceforge.filebot.cli.CmdlineOperations.renameAll(CmdlineOperations.java:607)
    at net.sourceforge.filebot.cli.CmdlineOperations.renameSeries(CmdlineOperations.java:245)
    at net.sourceforge.filebot.cli.CmdlineOperations.rename(CmdlineOperations.java:90)
    at net.sourceforge.filebot.cli.ArgumentProcessor.process(ArgumentProcessor.java:87)
    at net.sourceforge.filebot.Main.main(Main.java:190)
    Failure (°_°)

    Any idea what the java issue is or how to fix it?

  19. sorin says:

    Can you please update filebot to version 4.1 – the groovy scripts are not compatible anymore so we need an update.

  20. rednoah says:

    My official Synology Package for FileBot is available here:
    http://www.filebot.net/forums/viewtopic.php?f=3&t=1802

  21. setrika uap says:

    Not easy for as pakar seo. Thanks a lot.The articles of your site is really helpful and usable for visitors., one of the excellent blog in which i

Leave a Reply