Synology config help

Any questions? Need some help?
Post Reply
robwiel
Posts: 41
Joined: 18 Mar 2013, 22:41

Synology config help

Post by robwiel »

Hi, I absolutely love this software, coming from tvrenamer.

So long story short I have synology DS 212+, want to use FileBot, works fantastic on windows, cant run it successfully on my NAS.

I installed requirements and MissleHugger package.

my startup script is exatly as advised:

Code: Select all

#!/bin/sh
java -Dunixfs=false -DuseExtendedFileAttributes=false -Dsun.net.client.defaultConnectTimeout=10000 -Dsun.net.client.defaultReadTimeout=60000 -Dapplication.deployment=spk -Dapplication.dir=$HOME/.filebot -Djava.io.tmpdir=$HOME/.filebot/temp -Djna.library.path=/usr/local/filebot -Djava.library.path=/usr/local/filebot -jar /usr/local/filebot/filebot.jar "$@"
What I try is simple rename

Code: Select all

DS> $HOME
-sh: /var/services/homes/admin: not found
DS> filebot -rename "/volume1/Files/Downloads/bit/TV Shows"
Mar 18, 2013 11:47:00 PM net.sourceforge.filebot.Main initializeCache
WARNING: java.io.IOException: Failed to create cache dir: /var/services/homes/admin/.filebot/cache/0
java.io.IOException: Failed to create cache dir: /var/services/homes/admin/.filebot/cache/0
        at net.sourceforge.filebot.Main.initializeCache(Unknown Source)
        at net.sourceforge.filebot.Main.main(Unknown Source)

Mar 18, 2013 11:47:00 PM java.util.prefs.FileSystemPreferences$1 run
WARNING: Couldn't create user preferences directory. User preferences are unusable.
Mar 18, 2013 11:47:00 PM java.util.prefs.FileSystemPreferences$1 run
WARNING: java.io.IOException: No such file or directory
Filename pattern: [1.00] SxE, [0.00] CWS
Rename episodes using [TheTVDB]
Mar 18, 2013 11:47:31 PM java.util.prefs.FileSystemPreferences checkLockFile0ErrorCode
WARNING: Could not lock User prefs.  Unix error code 2.
Mar 18, 2013 11:47:32 PM java.util.prefs.FileSystemPreferences syncWorld
WARNING: Couldn't flush user prefs: java.util.prefs.BackingStoreException: Couldn't get file lock.
Auto-detected query: [Once Upon a Time]
CacheException: Disk store path can't be created: /var/services/homes/admin/.filebot/cache/default
net.sf.ehcache.CacheException: Disk store path can't be created: /var/services/homes/admin/.filebot/cache/default
        at net.sf.ehcache.DiskStorePathManager.resolveAndLockIfNeeded(DiskStorePathManager.java:141)
        at net.sf.ehcache.DiskStorePathManager.getFile(DiskStorePathManager.java:262)
        at net.sf.ehcache.DiskStorePathManager.getFile(DiskStorePathManager.java:251)
        at net.sf.ehcache.store.disk.DiskStorageFactory.<init>(DiskStorageFactory.java:125)
        at net.sf.ehcache.store.disk.DiskStore.create(DiskStore.java:156)
        at net.sf.ehcache.store.DiskBackedMemoryStore.createDiskStore(DiskBackedMemoryStore.java:61)
        at net.sf.ehcache.store.DiskBackedMemoryStore.create(DiskBackedMemoryStore.java:49)
        at net.sf.ehcache.Cache.initialise(Cache.java:1097)
        at net.sf.ehcache.CacheManager.initializeEhcache(CacheManager.java:1298)
        at net.sf.ehcache.CacheManager.addCacheNoCheck(CacheManager.java:1329)
        at net.sf.ehcache.CacheManager.addConfiguredCaches(CacheManager.java:750)
        at net.sf.ehcache.CacheManager.doInit(CacheManager.java:451)
        at net.sf.ehcache.CacheManager.init(CacheManager.java:374)
        at net.sf.ehcache.CacheManager.<init>(CacheManager.java:259)
        at net.sf.ehcache.CacheManager.newInstance(CacheManager.java:1029)
        at net.sf.ehcache.CacheManager.newInstance(CacheManager.java:810)
        at net.sf.ehcache.CacheManager.create(CacheManager.java:791)
        at net.sf.ehcache.CacheManager.getInstance(CacheManager.java:825)
        at net.sourceforge.filebot.Cache.getCache(Unknown Source)
        at net.sourceforge.filebot.web.TheTVDBClient.getCache(Unknown Source)
        at net.sourceforge.filebot.web.AbstractEpisodeListProvider.search(Unknown Source)
        at net.sourceforge.filebot.cli.CmdlineOperations$1.call(Unknown Source)
        at net.sourceforge.filebot.cli.CmdlineOperations$1.call(Unknown Source)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:722)
Failure (?_?)
Any idea what goes wrong? should I change startup to point o my disk? pretty please help me :)
User avatar
rednoah
The Source
Posts: 22991
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Synology config help

Post by rednoah »

You're $HOME is not writeable, or doesn't have any space, also it's bad anyway to have filebot cache things on the flash memory, it'll wear it out.

Best to have filebot store things on your external HDD. Change the config, export $HOME, symlink, many ways to get this done:

Code: Select all

ln -s /var/services/homes/admin/.filebot /external/hdd/.filebot
btw can u try this on synology and send me the output?

Code: Select all

filebot -script fn:sysenv
:idea: Please read the FAQ and How to Request Help.
robwiel
Posts: 41
Joined: 18 Mar 2013, 22:41

Re: Synology config help

Post by robwiel »

Tried suggested solution, had to change few things around:

Code: Select all

DS> ln -s /var/services/homes/admin/.filebot /external/hdd/.filebot
ln: /external/hdd/.filebot: No such file or directory
DS> ln -s /var/services/homes/admin/.filebot /volume1/.filebot
ln: /volume1/.filebot: Permission denied
DS> ln -s /var/services/homes/admin/.filebot /volume1/Files/.filebot
DS>
Displaying env variables

Code: Select all

DS> filebot -script fn:sysenv
Mar 19, 2013 11:00:56 AM net.sourceforge.filebot.Main initializeCache
WARNING: java.io.IOException: Failed to create cache dir: /var/services/homes/admin/.filebot/cache/0
java.io.IOException: Failed to create cache dir: /var/services/homes/admin/.filebot/cache/0
        at net.sourceforge.filebot.Main.initializeCache(Unknown Source)
        at net.sourceforge.filebot.Main.main(Unknown Source)

Mar 19, 2013 11:00:56 AM java.util.prefs.FileSystemPreferences$1 run
WARNING: Couldn't create user preferences directory. User preferences are unusable.
Mar 19, 2013 11:00:56 AM java.util.prefs.FileSystemPreferences$1 run
WARNING: java.io.IOException: No such file or directory
# Java System Properties #
sun.boot.library.path: /volume1/@appstore/java/lib/arm
ehcache.disk.store.dir: /var/services/homes/admin/.filebot/cache/default
java.version: 1.7.0_10
java.vm.name: Java HotSpot(TM) Embedded Client VM
java.awt.graphicsenv: sun.awt.X11GraphicsEnvironment
java.specification.vendor: Oracle Corporation
os.version: 2.6.32.12
sun.os.patch.level: unknown
os.name: Linux
java.specification.name: Java Platform API Specification
user.name: admin
sun.net.client.defaultConnectTimeout: 10000
sun.java.launcher: SUN_STANDARD
user.dir: /
java.ext.dirs: /volume1/@appstore/java/lib/ext:/usr/java/packages/lib/ext
sun.cpu.endian: little
application.deployment: spk
user.home: /var/services/homes/admin
java.vm.specification.version: 1.7
grape.root: /var/services/homes/admin/.filebot/grape
java.endorsed.dirs: /volume1/@appstore/java/lib/endorsed
file.separator: /
sun.arch.data.model: 32
sun.cpu.isalist:
sun.net.client.defaultReadTimeout: 60000
file.encoding: ANSI_X3.4-1968
java.home: /volume1/@appstore/java
java.vendor.url: http://java.oracle.com/
sun.management.compiler: HotSpot Client Compiler
java.class.path: /usr/local/filebot/filebot.jar
user.language: en
java.runtime.name: Java(TM) SE Embedded Runtime Environment
java.vm.specification.vendor: Oracle Corporation
java.class.version: 51.0
java.vm.info: mixed mode
http.agent: FileBot 3.4
file.encoding.pkg: sun.io
java.vendor: Oracle Corporation
sun.jnu.encoding: ANSI_X3.4-1968
useExtendedFileAttributes: false
awt.toolkit: sun.awt.HToolkit
sun.font.fontmanager: sun.awt.X11FontManager
user.country: US
application.dir: /var/services/homes/admin/.filebot
os.arch: arm
jna.library.path: /usr/local/filebot
sun.boot.class.path: /volume1/@appstore/java/lib/resources.jar:/volume1/@appstore/java/lib/rt.jar:/volume1/@appstore/java/lib/sunrsasign.jar:/volume1/@appstore/java/lib/jsse.jar:/volume1/@appstore/java/lib/jce.jar:/volume1/@appstore/java/lib/charsets.jar:/volume1/@appstore/java/lib/jfr.jar:/volume1/@appstore/java/classes
sun.io.unicode.encoding: UnicodeLittle
line.separator:

unixfs: false
java.vm.version: 23.6-b04
java.io.tmpdir: /var/services/homes/admin/.filebot/temp
sun.java.command: /usr/local/filebot/filebot.jar -script fn:sysenv
java.awt.printerjob: sun.print.PSPrinterJob
java.vendor.url.bug: http://bugreport.sun.com/bugreport/
java.awt.headless: true
java.vm.specification.name: Java Virtual Machine Specification
java.library.path: /usr/local/filebot
java.runtime.version: 1.7.0_10-b18
java.specification.version: 1.7
path.separator: :
user.timezone: GMT+01:00
java.vm.vendor: Oracle Corporation
# Environment Variables #
PAGER: more
SHELL: /bin/sh
MAIL: /var/mail/admin
HOME: /var/services/homes/admin
SSH_CONNECTION: 212.160.157.50 5006 192.168.0.130 22
XFILESEARCHPATH: /usr/dt/app-defaults/%L/Dt
NLSPATH: /usr/dt/lib/nls/msg/%L/%N.cat
LOGNAME: admin
SSH_CLIENT: 212.160.157.50 5006 22
PGDATA: /var/service/pgsql
PWD: /
TZ: CET-1CEST,M3.5.0,M10.5.0/3
TERM: xterm
PATH: /sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:/usr/syno/bin:/usr/local/sbin:/usr/local/bin
SSH_TTY: /dev/pts/0
USER: admin
Done ?(?????)?
DS>


Unfortunately this does not solve my *I think* java problems.

Attempt to try rename after above steps:

Code: Select all

DS> filebot -rename -non-strict "volume1/Files/Downloads/bit/TV Shows"
Mar 19, 2013 10:58:09 AM net.sourceforge.filebot.Main initializeCache
WARNING: java.io.IOException: Failed to create cache dir: /var/services/homes/admin/.filebot/cache/0
java.io.IOException: Failed to create cache dir: /var/services/homes/admin/.filebot/cache/0
        at net.sourceforge.filebot.Main.initializeCache(Unknown Source)
        at net.sourceforge.filebot.Main.main(Unknown Source)

Mar 19, 2013 10:58:10 AM java.util.prefs.FileSystemPreferences$1 run
WARNING: Couldn't create user preferences directory. User preferences are unusable.
Mar 19, 2013 10:58:10 AM java.util.prefs.FileSystemPreferences$1 run
WARNING: java.io.IOException: No such file or directory
Filename pattern: [1.00] SxE, [0.00] CWS
Rename episodes using [TheTVDB]
Mar 19, 2013 10:58:41 AM java.util.prefs.FileSystemPreferences checkLockFile0ErrorCode
WARNING: Could not lock User prefs.  Unix error code 2.
Mar 19, 2013 10:58:41 AM java.util.prefs.FileSystemPreferences syncWorld
WARNING: Couldn't flush user prefs: java.util.prefs.BackingStoreException: Couldn't get file lock.
Auto-detected query: [American Horror Story, Once Upon a Time]
CacheException: Disk store path can't be created: /var/services/homes/admin/.filebot/cache/default
net.sf.ehcache.CacheException: Disk store path can't be created: /var/services/homes/admin/.filebot/cache/default
        at net.sf.ehcache.DiskStorePathManager.resolveAndLockIfNeeded(DiskStorePathManager.java:141)
        at net.sf.ehcache.DiskStorePathManager.getFile(DiskStorePathManager.java:262)
        at net.sf.ehcache.DiskStorePathManager.getFile(DiskStorePathManager.java:251)
        at net.sf.ehcache.store.disk.DiskStorageFactory.<init>(DiskStorageFactory.java:125)
        at net.sf.ehcache.store.disk.DiskStore.create(DiskStore.java:156)
        at net.sf.ehcache.store.DiskBackedMemoryStore.createDiskStore(DiskBackedMemoryStore.java:61)
        at net.sf.ehcache.store.DiskBackedMemoryStore.create(DiskBackedMemoryStore.java:49)
        at net.sf.ehcache.Cache.initialise(Cache.java:1097)
        at net.sf.ehcache.CacheManager.initializeEhcache(CacheManager.java:1298)
        at net.sf.ehcache.CacheManager.addCacheNoCheck(CacheManager.java:1329)
        at net.sf.ehcache.CacheManager.addConfiguredCaches(CacheManager.java:750)
        at net.sf.ehcache.CacheManager.doInit(CacheManager.java:451)
        at net.sf.ehcache.CacheManager.init(CacheManager.java:374)
        at net.sf.ehcache.CacheManager.<init>(CacheManager.java:259)
        at net.sf.ehcache.CacheManager.newInstance(CacheManager.java:1029)
        at net.sf.ehcache.CacheManager.newInstance(CacheManager.java:810)
        at net.sf.ehcache.CacheManager.create(CacheManager.java:791)
        at net.sf.ehcache.CacheManager.getInstance(CacheManager.java:825)
        at net.sourceforge.filebot.Cache.getCache(Unknown Source)
        at net.sourceforge.filebot.web.TheTVDBClient.getCache(Unknown Source)
        at net.sourceforge.filebot.web.AbstractEpisodeListProvider.search(Unknown Source)
        at net.sourceforge.filebot.cli.CmdlineOperations$1.call(Unknown Source)
        at net.sourceforge.filebot.cli.CmdlineOperations$1.call(Unknown Source)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:722)
Failure (?_?)
DS>
User avatar
rednoah
The Source
Posts: 22991
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Synology config help

Post by rednoah »

Obviously still the same issue... FileBot can't write it's cache...

Code: Select all

WARNING: java.io.IOException: Failed to create cache dir: /var/services/homes/admin/.filebot/cache/0
That wasn't meant literally, just a way to make filebot write it's cache somewhere that is writable:

Code: Select all

ln -s /var/services/homes/admin/.filebot /external/hdd/.filebot
Let's forget linking and just edit the config:

Code: Select all

-Duser.home=/volume1/.filebot -Dapplication.dir=/volume1/.filebot -Djava.io.tmpdir=/volume1/.filebot/temp
This will make everything written to /volume1/.filebot instead of /var/services/homes/admin/.filebot


Another issue:

locale not setup, so non-ANSI characters won't work => Check FAQ

Code: Select all

file.encoding: ANSI_X3.4-1968
:idea: Please read the FAQ and How to Request Help.
robwiel
Posts: 41
Joined: 18 Mar 2013, 22:41

Re: Synology config help

Post by robwiel »

del
Last edited by robwiel on 19 Mar 2013, 18:11, edited 1 time in total.
User avatar
rednoah
The Source
Posts: 22991
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Synology config help

Post by rednoah »

Well, u basically replaced /usr/bin and /usr/share so I guess you did update/override lots of system tools and libraries, and possibly introduced some incompatibilities.

Also why "add UTF support"? Linux has been using UTF-8 for anything for the last 15 years. It's as default as it gets.

Make Java use UTF-8 when interfacing with the system you just need to add this to filebot.sh before the filebot call:

Code: Select all

export LANG=en_US.utf8
:idea: Please read the FAQ and How to Request Help.
robwiel
Posts: 41
Joined: 18 Mar 2013, 22:41

Re: Synology config help

Post by robwiel »

Hmm weird thing, my remove access blocked my work IP, but things are looking good now. TYVM FOR HELP!!!
Managed to run simple rename, one last thing:


Your check script returns only this, weirdest being characters at end

Code: Select all

DS> filebot -script fn:sysenv
Mar 19, 2013 7:00:09 PM java.util.prefs.FileSystemPreferences$1 run
INFO: Created user preferences directory.
# Java System Properties #
sun.boot.library.path: /volume1/@appstore/java/lib/arm
ehcache.disk.store.dir: /volume1/Files/filebot/cache/0
java.version: 1.7.0_10
java.vm.name: Java HotSpot(TM) Embedded Client VM
java.awt.graphicsenv: sun.awt.X11GraphicsEnvironment
java.specification.vendor: Oracle Corporation
os.version: 2.6.32.12
sun.os.patch.level: unknown
os.name: Linux
java.specification.name: Java Platform API Specification
user.name: admin
sun.net.client.defaultConnectTimeout: 10000
sun.java.launcher: SUN_STANDARD
user.dir: /volume1/@appstore/filebot
java.ext.dirs: /volume1/@appstore/java/lib/ext:/usr/java/packages/lib/ext
sun.cpu.endian: little
application.deployment: spk
user.home: /volume1/Files/filebot
java.vm.specification.version: 1.7
grape.root: /volume1/Files/filebot/grape
java.endorsed.dirs: /volume1/@appstore/java/lib/endorsed
file.separator: /
sun.arch.data.model: 32
sun.cpu.isalist:
sun.net.client.defaultReadTimeout: 60000
file.encoding: UTF-8
java.home: /volume1/@appstore/java
java.vendor.url: http://java.oracle.com/
sun.management.compiler: HotSpot Client Compiler
java.class.path: /usr/local/filebot/filebot.jar
user.language: en
java.runtime.name: Java(TM) SE Embedded Runtime Environment
java.vm.specification.vendor: Oracle Corporation
java.class.version: 51.0
java.vm.info: mixed mode
http.agent: FileBot 3.4
file.encoding.pkg: sun.io
java.vendor: Oracle Corporation
sun.jnu.encoding: UTF-8
useExtendedFileAttributes: false
awt.toolkit: sun.awt.HToolkit
sun.font.fontmanager: sun.awt.X11FontManager
user.country: US
application.dir: /volume1/Files/filebot
os.arch: arm
jna.library.path: /usr/local/filebot
sun.boot.class.path: /volume1/@appstore/java/lib/resources.jar:/volume1/@appstore/java/lib/rt.jar:/volume1/@appstore/java/lib/sunrsasign.jar:/volume1/@appstore/java/lib/jsse.jar:/volume1/@appstore/java/lib/jce.jar:/volume1/@appstore/java/lib/charsets.jar:/volume1/@appstore/java/lib/jfr.jar:/volume1/@appstore/java/classes
sun.io.unicode.encoding: UnicodeLittle
line.separator:

unixfs: false
java.vm.version: 23.6-b04
java.io.tmpdir: /volume1/Files/filebot/temp
sun.java.command: /usr/local/filebot/filebot.jar -script fn:sysenv
java.awt.printerjob: sun.print.PSPrinterJob
java.vendor.url.bug: http://bugreport.sun.com/bugreport/
java.awt.headless: true
java.vm.specification.name: Java Virtual Machine Specification
java.library.path: /usr/local/filebot
java.runtime.version: 1.7.0_10-b18
java.specification.version: 1.7
path.separator: :
user.timezone: GMT+01:00
java.vm.vendor: Oracle Corporation
# Environment Variables #
PAGER: more
SHELL: /bin/sh
MAIL: /var/mail/admin
HOME: /var/services/homes/admin
SSH_CONNECTION: 192.168.0.146 1500 192.168.0.130 22
OLDPWD: /usr/local
XFILESEARCHPATH: /usr/dt/app-defaults/%L/Dt
NLSPATH: /usr/dt/lib/nls/msg/%L/%N.cat
LANG: en_US.utf8
LOGNAME: admin
SSH_CLIENT: 192.168.0.146 1500 22
PGDATA: /var/service/pgsql
PWD: /usr/local/filebot
TZ: CET-1CEST,M3.5.0,M10.5.0/3
TERM: xterm
PATH: /sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:/usr/syno/bin:/usr/local/sbin:/usr/local/bin
SSH_TTY: /dev/pts/0
USER: admin
Done [b]ăž(ďź âăźâďź )ă[/b]
Any idea at weird characters in bold?
User avatar
rednoah
The Source
Posts: 22991
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Synology config help

Post by rednoah »

Don't worry about that, that's what it actually says if decoded and displayed correctly:

Code: Select all

Done ヾ(@⌒ー⌒@)ノ
It's just console that's usually not handling special characters well. If you pipe output to console and then display with a good editor it'll display just that. Again, ignore that. ;)
:idea: Please read the FAQ and How to Request Help.
robwiel
Posts: 41
Joined: 18 Mar 2013, 22:41

Re: Synology config help

Post by robwiel »

Is it possible to have 2 instances of filebot running on nas?
1 to take care of tv shows folder
1 to take care of movies folder

I currently use this and then detach screen

Code: Select all

screen filebot -script "/volume1/Files/filebot/watcher_imp.groovy" -extract -get-subtitles -rename --db TVDB "/volume1/Files/Downloads/bit/TV Shows" --format "{n}/Season {s.pad(2)}/{n}.{s00e00}.{t}" --lang EN --log all --encoding UTF-8 --conflict skip -non-strict --output "/volume1/Files/Media/Video/TV Shows" > /volume1/Files/filebot/output.txt
I know AMC can take care of everything at once but I am not able to make it watch folders for changes like watcher groovy above.

Also is there a way to prevent filebot changing improperly scapped files? i.e.,
Ocassionally I get something like this:
Intelligence.s01e01
to
Intelligence..
and its put in folder "Season" but without number.

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

Re: Synology config help

Post by rednoah »

What's preventing you from running two instances? Should work just fine as long as the -log-file name is different.

You can filter out episode data before matching with --filter expression. And not setting -non-strict will eliminate fuzzy matches.

PS: I recommend running the AMC script in intervals over watching folders.
:idea: Please read the FAQ and How to Request Help.
robwiel
Posts: 41
Joined: 18 Mar 2013, 22:41

Re: Synology config help

Post by robwiel »

Thanks, running 2 now :)
Still quite noob for AMC I guess ;) dont know how to time trigg it.

Also I really love that instant things are DL they are auto-sorted for my xbmc.
Quite sure there is no mechanism from "synology download station" to forward info that something is downloaded and trigger amc (as this frequently is dont by utorrent on windows).
User avatar
rednoah
The Source
Posts: 22991
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Synology config help

Post by rednoah »

Pretty sure they may support running external tools. All downloaders do. Otherwise feel free to request that feature.
:idea: Please read the FAQ and How to Request Help.
robwiel
Posts: 41
Joined: 18 Mar 2013, 22:41

Re: Synology config help

Post by robwiel »

Hey, got both running as you can see, for movies I used some

Code: Select all

#TWO screens setup
#1TVDB TV Shows screen, no fuzzy logic
screen filebot -script "/volume1/Files/filebot/watcher_imp.groovy" -extract -get-subtitles -rename --db TVDB "/volume1/Files/Downloads/bit/TV Shows" --format "{n}/Season {s.pad(2)}/{n}.{s00e00}.{t}" --lang EN --log all --encoding UTF-8 --conflict skip --output "/volume1/Files/Media/Video/TV Shows" > /volume1/Files/filebot/output_tv_shows.txt
#2TVDB movies screen, no fuzzy logic
screen filebot -script "/volume1/Files/filebot/watcher_imp.groovy" -extract -get-subtitles -rename --db TVDB "/volume1/Files/Downloads/bit/_skonczone" --format "{n}" --lang EN --log all --encoding UTF-8 --conflict skip --output "/volume1/Files/Media/Video/Movies" > /volume1/Files/filebot/output_movies.txt

First runs fine (i.e., the same as it used to), but second produces this output (I know its super basic config for movies). Also somehow output files are empty but when I reattach text is visible.
Waiting for events
Get [English] subtitles for 2 files
Exception: Failed to auto-detect query
Filename pattern: [0.00] SxE, [0.00] CWS
Rename movies using [TheMovieDB]
Failed to grep IMDbID: readme.nfo
Auto-detect movie from context: [/volume1/Files/Downloads/bit/_skonczone/Dry.Spell.2013.HDRip.XviD-EVO/Dry.Spell.2013.HDRip.XviD-EVO.avi]
Auto-detect movie from context: [/volume1/Files/Downloads/bit/_skonczone/Dry.Spell.2013.HDRip.XviD-EVO/readme.nfo]
Exception: [MOVE] Unable to process any files
Get [English] subtitles for 1 files
Exception: Failed to auto-detect query
Filename pattern: [0.00] SxE, [0.00] CWS
Rename movies using [TheMovieDB]
Failed to grep IMDbID: readme.nfo
Auto-detect movie from context: [/volume1/Files/Downloads/bit/_skonczone/Dry.Spell.2013.HDRip.XviD-EVO/Dry.Spell.2013.HDRip.XviD.avi]
Exception: [MOVE] Unable to process any files
User avatar
rednoah
The Source
Posts: 22991
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Synology config help

Post by rednoah »

Looks like it can't make sense of that file. Maybe the movie is not listed yet. No idea. Doesn't look like a general issue though.
:idea: Please read the FAQ and How to Request Help.
robwiel
Posts: 41
Joined: 18 Mar 2013, 22:41

Re: Synology config help

Post by robwiel »

Had to add -non-strict for some reason even with files already with correct name
nytram
Posts: 30
Joined: 12 Feb 2014, 04:34

Re: Synology config help

Post by nytram »

Hi

you are using --db TVDB for movies perhaps this is causing your errors

Martyn
Post Reply