I'm using the awesome FileBot on my Synology DS413j NAS (ARM) to rename my tv episodes and move them into their folders.
I installed the Java, FileBot and the Mediainfo package from MissleHugger. I soon noticed, that MediaInfo doesn't work on my ARM processor, so I did compile it by myself with the Eterimos' tutorial (http://filebot.sourceforge.net/forums/v ... &t=98#p886)
Just to be sure I copied all files from /volume1/@appstore/filebot into /usr/share/filebot and copied the new Mediainfo librarys into that folder. I did a chmod 777 on all files, to make sure every user on my synology nas can access it.
I changed the filebot.sh into:
Code: Select all
java -Dunixfs=false -Xmx256m -Djna.library.path=/usr/share/filebot -Djava.library.path=/usr/share/filebot -jar /usr/local/filebot/filebot.jar $@
I tried the following command:
Code: Select all
/usr/share/filebot/filebot.sh -mediainfo _____.HDTV.Xvid-LOL.avi
With admin - the standard Synology user I got just empty brackets [].
I tried then a test renaming, first with root, then with admin (within the folder where the .avi is located):
Code: Select all
/usr/share/filebot/filebot.sh -rename . --action test -non-strict --format '/volume1/Daten/Serien/{n}/{n.space(".")}.S{s.pad(2)}E{e.pad(2)}.{t.space(".")}{".$source"}{".$vc-$group"}'
With however admin the source, vc and group was empty.
I have no idea why and how to fix that :\ I'm not a complete linux newbie, but that problem is way beyond my knowledge.
The second problem seems even stranger:
When I try to rename a file with that command (now with root, just to be sure):
Code: Select all
/usr/share/filebot/filebot.sh -rename . --action test -non-strict --format '/volume1/Daten/Serien/Season {s}/{n}/{n.space(".")}.S{s.pad(2)}E{e.pad(2)}.{t.space(".")}{".$source"}{".$vc-$group"}'
When I remove the space character after "Season", the file will be renamed perfectly fine:
Code: Select all
/usr/share/filebot/filebot.sh -rename . --action test -non-strict --format '/volume1/Daten/Serien/Season{s}/{n}/{n.space(".")}.S{s.pad(2)}E{e.pad(2)}.{t.space(".")}{".$source"}{".$vc-$group"}'
Any idea how to approach that problem?
Ah and a minor one:
Using inline expressions won't work either:
Code: Select all
/usr/share/filebot/filebot.sh -rename . --action test -non-strict --format '/volume1/Daten/Serien/Season {(episode.season ? s: 0)}/{n}/{n.space(".")}.S{s.pad(2)}E{e.pad(2)}.{t.space(".")}{".$source"}{".$vc-$group"}'
And while I'm already asking for so much help:
Any idea how to tell filebot to just look for shows I'm really watching? Something like a whitelist?
For example "Battlestar Galactica" or "Eureka". I want filebot to just look for the new ones (Battlestar Galactica (2003) and "Eureka", not "Eureka!") - but sometimes it uses the wrong one.
Anyways, I wanted to thank you for that awesome program, which is everything I've been looking for. I hope I can make it work on my Synology as well
Greetings
-Thomas