Looking for testers on Synology NAS

Support for Synology NAS, QNAP NAS and other Embedded Linux systems
Post Reply
User avatar
rednoah
The Source
Posts: 24660
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Looking for testers on Synology NAS

Post by rednoah »

Hello,

I'm looking for people who are using Synology NAS (and/or other ARM based NAS devices) that are willing to help me test features.

If you wanna participate in testing the latest features please leave a comment and add some info about your NAS, which device, what CPU (arm/atom), etc

Please run this uname -a and paste the results here:

Code: Select all

uname -a
Current Projects:
  • Boris from the 7zip-JBinding project said he's working on support for ARM arch so maybe extract support will be available for your NAS as well :)
  • Evaluate recent papers on Video-Duplicate-Detection and see if we can come up with some sort of perceptual video hash (for this I could use the help of people with lots of media for collecting P/R statistics) :ugeek:
cheers,
red
:idea: Please read the FAQ and How to Request Help.
dtdickman
Posts: 2
Joined: 01 Jul 2013, 20:11

Re: Looking for testers on Synology NAS

Post by dtdickman »

Hey there, I have a Synology DS412+ and would love to help out. I'm running sickbeard and couch potato which currently do all the renaming but would love to move all of the renaming over to filebot. Is a GUI in the works for the filebot package on Synology devices?
Nordh
Posts: 5
Joined: 09 Dec 2013, 12:12

Re: Looking for testers on Synology NAS

Post by Nordh »

I am running a Netgear ReadyNAS102 (firmware 6.1.4) that uses armv71.

I've been looking for a script like Filebot to sort my downloads into my media folder. I would love to do some testing if I'm even able to get it running with that setup.
zaithefirst
Posts: 11
Joined: 04 Mar 2013, 21:08

Re: Looking for testers on Synology NAS

Post by zaithefirst »

Hey,
I have a synology 413 and I'm happy to help..
I'm already running an altered version of the groovy script for about a year now. Even if I'm having renaming problems lately. But that is a different topic.
What can I do to help?
Zai
User avatar
rednoah
The Source
Posts: 24660
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Looking for testers on Synology NAS

Post by rednoah »

Here's something you can test with for all the people with ARM devices.

Support for -extract on ARM:

1. You could try to download the lib7-Zip-JBinding.so for ARM from here and see if it works:
http://sourceforge.net/p/filebot/code/H ... linux-arm/

2. If it doesn't maybe you also need the r1921 jar.

Please send me all the logs you get. ;)

This command will be helpful to tell me exactly on what HW you're on:

Code: Select all

uname -a
:idea: Please read the FAQ and How to Request Help.
Nordh
Posts: 5
Joined: 09 Dec 2013, 12:12

Re: Looking for testers on Synology NAS

Post by Nordh »

SevenZipNativeInitializationException: Failed to load 7z-JBinding: /usr/share/filebot/lib7-Zip-JBinding.so: /usr/share/filebot/lib7-Zip-JBinding.so: invalid ELF header (Possible cause: endianness mismatch)
Done ヾ(@⌒ー⌒@)ノ
User avatar
rednoah
The Source
Posts: 24660
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Looking for testers on Synology NAS

Post by rednoah »

What architecture and processor type does your NAS have?
:idea: Please read the FAQ and How to Request Help.
Nordh
Posts: 5
Joined: 09 Dec 2013, 12:12

Re: Looking for testers on Synology NAS

Post by Nordh »

uname -a reveals this information:

Linux Liberty 3.0.93.RN_ARM.1 #1 Mon Sep 30 11:49:55 PDT 2013 armv7l GNU/Linux



And using: cat /proc/cpuinfo


Processor : Marvell PJ4Bv7 Processor rev 1 (v7l)
BogoMIPS : 1196.85
Features : swp half thumb fastmult vfp edsp vfpv3 vfpv3d16
CPU implementer : 0x56
CPU architecture: 7
CPU variant : 0x1
CPU part : 0x581
CPU revision : 1

Hardware : Marvell Armada-370
Revision : 0000
Serial : 0000000000000000


Oh, btw, I haven't touched Linux/SSH for about 15 years until a few weeks ago when I bought the NAS, so if I write something dumb or not the info you are looking for, I apologize in advance. :)
fewle
Posts: 1
Joined: 20 Dec 2013, 19:22

Re: Looking for testers on Synology NAS

Post by fewle »

I get this error:

SevenZipNativeInitializationException: Failed to load 7z-JBinding: /opt/usr/share/filebot/lib7-Zip-JBinding.so: /lib/libstdc++.so.6: version `CXXABI_ARM_1.3.3' not found (required by /opt/usr/share/filebot/lib7-Zip-JBinding.so)

uname -a
Linux NASET 2.6.32.12 #2668 Tue Dec 11 12:36:30 CST 2012 armv5tel GNU/Linux

cat /proc/cpuinfo
Processor : Feroceon 88FR131 rev 1 (v5l)
BogoMIPS : 1589.24
Features : swp half thumb fastmult edsp
CPU implementer : 0x56
CPU architecture: 5TE
CPU variant : 0x2
CPU part : 0x131
CPU revision : 1

Hardware : Synology 6282 board
Revision : 0000
Serial : 0000000000000000
User avatar
rednoah
The Source
Posts: 24660
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Looking for testers on Synology NAS

Post by rednoah »

However sends my a uname -a by his own initiative is definitely not a noob though! :D I'll forward those to Boris form 7zip-JBinding project.
:idea: Please read the FAQ and How to Request Help.
Nordh
Posts: 5
Joined: 09 Dec 2013, 12:12

Re: Looking for testers on Synology NAS

Post by Nordh »

rednoah wrote:However sends my a uname -a by his own initiative is definitely not a noob though! :D I'll forward those to Boris form 7zip-JBinding project.
Something my unix-teacher taught me back in high school back in 1999, "knowledge isn't what you have in your head, but knowing where to find it". Alas, Google is your friend. :)
zaithefirst
Posts: 11
Joined: 04 Mar 2013, 21:08

Re: Looking for testers on Synology NAS

Post by zaithefirst »

uname -a
Linux machinename 2.6.32.12 #3776 SMP Sat Aug 17 02:11:24 CST 2013 ppc GNU/Linux syn ology_qoriq_413
User avatar
Ithiel
Power² User
Posts: 204
Joined: 11 Jul 2013, 14:58

Re: Looking for testers on Synology NAS

Post by Ithiel »

Synology DS2413+ running DSM 4.3-3810

uname -a
Linux MYNASNAME 3.2.40 #3810 SMP Wed Nov 6 05:11:41 CST 2013 x86_64 GNU/Linux synology_cedarview_2413+
There can be only one Power² User
hrn2206
Posts: 1
Joined: 08 Jan 2014, 15:55

Re: Looking for testers on Synology NAS

Post by hrn2206 »

DS214Play DSM4.3 Intel Atom x86

Camelot-Server> uname -a
Linux Camelot-Server 3.2.40 #3810 SMP PREEMPT Wed Nov 6 05:11:50 CST 2013 i686 GNU/Linux
Camelot-Server>
turtlegsr
Posts: 1
Joined: 09 Jan 2014, 09:27

Re: Looking for testers on Synology NAS

Post by turtlegsr »

i'm interesting....

Synology DS413J with DSM 4.3-3810 Update 4

uname -a
Linux MioDisco 2.6.32.12 #3810 Mon Dec 2 17:14:23 CST 2013 armv5tel GNU/Linux synology_88f6282_413j


i would like to test and help to support italian language.
AnIdeaWithin
Posts: 6
Joined: 12 May 2013, 16:29

Re: Looking for testers on Synology NAS

Post by AnIdeaWithin »

Hi Red,

DS123j owner here, willling to test stuff. I have the filebot package installed, but for performance reason I usually run filebot on my laptop against the export nfs shares of the NAS.

Greets,
Thorsten
robwiel
Posts: 41
Joined: 18 Mar 2013, 22:41

Re: Looking for testers on Synology NAS

Post by robwiel »

Hi,

Willing to test, let me know whats needed.
Using modified groovy script just for tv shows for over a year now and loving it. Installed through missilehugger package and some configs editing, largely possible through your help :)

Synology DS212+ DSM 4.3, BUT trying beta 5.0 soon

Code: Select all

Linux DS 2.6.32.12 #3810 Tue Dec 17 13:02:18 CST 2013 armv5tel GNU/Linux synology_88f6282_212+
BWS001
Posts: 3
Joined: 10 Feb 2014, 15:07

Re: Looking for testers on Synology NAS

Post by BWS001 »

I have a 413j on 5.0 (beta)

Linux DS413 2.6.32.12 #4418 Mon Jan 20 02:11:31 CST 2014 armv5tel GNU/Linux synology_88f6282_413j

Not familiar with the product at all.. Where do I start..
User avatar
rednoah
The Source
Posts: 24660
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Looking for testers on Synology NAS

Post by rednoah »

In the next few months, after 4.0 is out, I might be able to work on a (possibly commercial) filebot package for with DSM WebUI. Other than making everything work out of the box, the new WebUI will be a opportunity to rethink the UI design of FileBot, cause DSM WebUI for FileBot may be very different then the current GUI app for various reasons.


It would be very helpful what users would like to see in a FileBot WebUI.

* What do you think it should like like?
* What use-cases do you have? What workflow do you think would make sense?
* What features should be supported?

The more input I get from my users the better the final product will be. So I hope you all can give me some good ideas. ;)

Extras Questions:
* Do you prefer a new DSM WebUI or rather add support to the current FileBot GUI to work with remote file systems?
:idea: Please read the FAQ and How to Request Help.
User avatar
zen343
Posts: 3
Joined: 04 Mar 2014, 13:07

Re: Looking for testers on Synology NAS

Post by zen343 »

Hi. Love your work, happy to be involved!

DS211+
DSM 4.2-3211
Synology NAS/DS211+/DSM 4.2-3211
Aqu
Posts: 2
Joined: 10 Mar 2014, 08:58

Re: Looking for testers on Synology NAS

Post by Aqu »

Hi Red,

Happy to help out where I can. Am currently running a modified sorty/cleaner groovy script for renaming TV Shows and Movies, which is working great, so thanks for all your hard work already!

Using a Synology DS1812+, running DSM 5.0-4458 with an Intel(R) Atom(TM) CPU D2700 @ 2.13GHz.

uname -a returns:
Linux SNASOSAURUS 3.2.40 #4458 SMP Thu Mar 6 14:15:07 CST 2014 x86_64 GNU/Linux synology_cedarview_1812+
robwiel
Posts: 41
Joined: 18 Mar 2013, 22:41

Re: Looking for testers on Synology NAS

Post by robwiel »

rednoah wrote:In the next few months, after 4.0 is out, I might be able to work on a (possibly commercial) filebot package for with DSM WebUI. Other than making everything work out of the box, the new WebUI will be a opportunity to rethink the UI design of FileBot, cause DSM WebUI for FileBot may be very different then the current GUI app for various reasons.


It would be very helpful what users would like to see in a FileBot WebUI.

* What do you think it should like like?
* What use-cases do you have? What workflow do you think would make sense?
* What features should be supported?

The more input I get from my users the better the final product will be. So I hope you all can give me some good ideas. ;)

Extras Questions:
* Do you prefer a new DSM WebUI or rather add support to the current FileBot GUI to work with remote file systems?
Hi, great to hear that you consider taking filebot officially further that way, good luck with this endeavour.

Features that would be interesting:
-definition of basic folders
-picking up scheme from already renamed files/folder structure (basic reverse engineering naming scheme)
==why because everyone who is interested in filebot has large media library==

-integration with synology packages:
==i.e., someone uses "download station" wants to have their shows auto-renamed second after download is finished without manual work==

I'll keep updating ideas.
arman68
Posts: 1
Joined: 20 Mar 2014, 20:27

Re: Looking for testers on Synology NAS

Post by arman68 »

Synology DS213J (DSM 5.0) with Marvell Armada 370 cpu.

uname -a

Code: Select all

Linux DiskStation 3.2.40 #4458 Thu Mar 6 14:18:14 CST 2014 armv7l GNU/Linux synology_armada370_213j
User avatar
Axel Foley
Posts: 23
Joined: 27 Mar 2014, 15:47

Re: Looking for testers on Synology NAS

Post by Axel Foley »

Great idea Red. :)

First the wishes and at the end you'll find technical info about my Syno box.

Wishes:
  • A standard synology package available to install through SynoCommunity (http://www.synocommunity.com), they have Spkgsrc in place (https://github.com/SynoCommunity/spksrc) to buld packages and publish them so every NAS can install the appropriate package, depending on the architecture.
  • Integration with Download Station. It would be great to download files and then execute filebot. But I guess this needs some integration on the DSM side.
  • A new web GUI, hosted on Synology would be great. Frankly speaking I don't like the standard FileBot GUI, and I only use filebot with groovy scripts directly on the NAS.
Model: Synology DS1812+

Code: Select all

nas> uname -a
Linux nas 3.2.40 #4458 SMP Thu Mar 6 14:15:07 CST 2014 x86_64 GNU/Linux
nas> 

Code: Select all

nas> cat /proc/cpuinfo 
processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 54
model name	: Intel(R) Atom(TM) CPU D2700   @ 2.13GHz
stepping	: 1
microcode	: 0x103
cpu MHz		: 2127.824
cache size	: 512 KB
physical id	: 0
siblings	: 4
core id		: 0
cpu cores	: 2
apicid		: 0
initial apicid	: 0
fpu		: yes
fpu_exception	: yes
cpuid level	: 10
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts nopl nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl tm2 ssse3 cx16 xtpr pdcm movbe lahf_lm arat dtherm
bogomips	: 4255.64
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

...CUT...(same for the other 3 cores)

nas> 
Thanks a lot for your great work, keep it up!
User avatar
rednoah
The Source
Posts: 24660
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Looking for testers on Synology NAS

Post by rednoah »

Thanks to spksrc, I managed to compile libmediainfo for mv6281 using and the syno-88f6281 cross-compiler toolchain and should work for all ARMv6/7 or higher.

If have an ARM device you can grab libmediainfo.so and libzen.so from here:
https://sourceforge.net/p/filebot/code/ ... linux-arm/

Next step is lib7-Zip-JBinding.so and fpcalc.

PS: If you need ARM binaries for libmediainfo for any other architecture it should be quite easy to compile those now. :)
:idea: Please read the FAQ and How to Request Help.
User avatar
rednoah
The Source
Posts: 24660
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Looking for testers on Synology NAS

Post by rednoah »

UPDATE

* The latest FileBot 4.1 RC3 arm/ipk packages contain fpcalc binaries (armada370) so it'll work with DS213j to the very least.
* Groovy should be 3x faster with FileBot 4.1 RC3 now (on my DS213j anyway)

I don't really have time to work on a WebUI right now so that'll have to wait until the Summer. Then I'll have time to continue on a proper Synology package.
:idea: Please read the FAQ and How to Request Help.
User avatar
rednoah
The Source
Posts: 24660
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Looking for testers on Synology NAS

Post by rednoah »

:: UPDATE ::

Very Early Prototype:
Image

Right now it's going more for a cmdline wrapper. Any thoughts? Ideas? I don't really know what ought to be doing here. :lol:
:idea: Please read the FAQ and How to Request Help.
acroschue
Posts: 1
Joined: 24 Jun 2014, 16:57

Re: Looking for testers on Synology NAS

Post by acroschue »

Linux NAS02 3.2.40 #4493 SMP Thu May 29 11:05:51 CST 2014 x86_64 GNU/Linux synology_cedarview_1813+

Code: Select all

processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 54
model name      : Intel(R) Atom(TM) CPU D2701   @ 2.13GHz
stepping        : 1
microcode       : 0x10d
cpu MHz         : 2127.854
cache size      : 512 KB
physical id     : 0
siblings        : 4
core id         : 0
cpu cores       : 2
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts nopl nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl tm2 ssse3 cx16 xtpr pdcm movbe lahf_lm arat dtherm
bogomips        : 4255.70
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 6
model           : 54
model name      : Intel(R) Atom(TM) CPU D2701   @ 2.13GHz
stepping        : 1
microcode       : 0x10d
cpu MHz         : 2127.854
cache size      : 512 KB
physical id     : 0
siblings        : 4
core id         : 0
cpu cores       : 2
apicid          : 1
initial apicid  : 1
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts nopl nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl tm2 ssse3 cx16 xtpr pdcm movbe lahf_lm arat dtherm
bogomips        : 4255.72
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

processor       : 2
vendor_id       : GenuineIntel
cpu family      : 6
model           : 54
model name      : Intel(R) Atom(TM) CPU D2701   @ 2.13GHz
stepping        : 1
microcode       : 0x10d
cpu MHz         : 2127.854
cache size      : 512 KB
physical id     : 0
siblings        : 4
core id         : 1
cpu cores       : 2
apicid          : 2
initial apicid  : 2
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts nopl nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl tm2 ssse3 cx16 xtpr pdcm movbe lahf_lm arat dtherm
bogomips        : 4255.79
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

processor       : 3
vendor_id       : GenuineIntel
cpu family      : 6
model           : 54
model name      : Intel(R) Atom(TM) CPU D2701   @ 2.13GHz
stepping        : 1
microcode       : 0x10d
cpu MHz         : 2127.854
cache size      : 512 KB
physical id     : 0
siblings        : 4
core id         : 1
cpu cores       : 2
apicid          : 3
initial apicid  : 3
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts nopl nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl tm2 ssse3 cx16 xtpr pdcm movbe lahf_lm arat dtherm
bogomips        : 4255.76
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:
User avatar
rednoah
The Source
Posts: 24660
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Looking for testers on Synology NAS

Post by rednoah »

FileBot now has it's own Package Source.

@see http://www.filebot.net/forums/viewtopic.php?f=3&t=1802

Notes:
* Java 8 needs to be installed properly, i.e. java -version works
* Installs filebot console tool
* Installs only platform-independent code, so no support for mediainfo, 7zip and fpcalc


If you're lucky one of the native library binaries will work for your platform. You can tell java where to look for native libraries by setting LD_LIBRARY_PATH.

Code: Select all

export LD_LIBRARY_PATH="/path/to/native/libraries"
:idea: Please read the FAQ and How to Request Help.
goyon2000
Posts: 19
Joined: 12 Nov 2013, 12:53

Re: Installing FileBot on Synology NAS

Post by goyon2000 »

Hello

I have some problelm on my synology

Here is the log

]

Code: Select all

DiskStation> tail -f amc.log
Input: /volume1/Synology/Download/Rizzoli.and.Isles.S05E04.mkv
Input: /volume1/Synology/Download/Rizzoli.and.Isles.S05E05.mkv
Input: /volume1/Synology/Download/[www.Cpasbien.pe] 300 Rise Of An Empire 2014 FRENCH BRRiP XViD-CARPEDIEM.avi
OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
        at Script1.run(Script1.groovy:238)
        at net.filebot.cli.ScriptShell.evaluate(ScriptShell.java:60)
        at net.filebot.cli.ScriptShell.runScript(ScriptShell.java:81)


do I need to treat file by file 
what can use the memory ?


        at net.filebot.cli.ArgumentProcessor.process(ArgumentProcessor.java:108)
Failure (°_°)
User avatar
rednoah
The Source
Posts: 24660
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Installing FileBot on Synology NAS

Post by rednoah »

Java/Groovy/FileBot doesn't get enough memory to process everything:

Code: Select all

filebot -script fn:sysinfo
What device are you using anyway?
:idea: Please read the FAQ and How to Request Help.
goyon2000
Posts: 19
Joined: 12 Nov 2013, 12:53

Re: Installing FileBot on Synology NAS

Post by goyon2000 »

Code: Select all

filebot -script fn:sysinfo
FileBot 4.2 (r2326)
JNA Native: 4.0.0
MediaInfo: java.lang.UnsatisfiedLinkError: Unable to load library 'mediainfo': Native library (linux-arm/libmediainfo.so) not found in resource path ([file:/volume1/@appstore/filebot/FileBot.jar])
7-Zip-JBinding: net.sf.sevenzipjbinding.SevenZipNativeInitializationException: Failed to load 7z-JBinding: no 7-Zip-JBinding in java.library.path
chromaprint-tools: java.io.IOException: Cannot run program "fpcalc": error=2, No such file or directory
Extended Attributes: java.lang.RuntimeException: java.lang.IllegalStateException: java.nio.file.FileSystemException: /volume1/@appstore/filebot/.xattr-test: Error writing extended attribute 'net.filebot.metadata': Operation not supported
Groovy Engine: 2.3.4
JRE: Java(TM) SE Embedded Runtime Environment 1.8.0_06 (headless)
JVM: 32-bit Java HotSpot(TM) Embedded Client VM
CPU/MEM: 1 Core / 56 MB Max Memory / 12 MB Used Memory
OS: Linux (arm)
uname: Linux DiskStation 2.6.32.12 #4493 Wed Jul 16 11:37:16 CST 2014 armv5tel GNU/Linux synology_88f6281_110j
Done ã¾(ï¼ âã¼âï¼ )ã

Synology 110j
User avatar
rednoah
The Source
Posts: 24660
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Installing FileBot on Synology NAS

Post by rednoah »

Sorry, that one is too old. Only got 128 MB RAM and Java is limited to 56 MB. That's not enough. Simple filebot calls should work fine, but advanced scripts like amc will run out of memory.

Have you tried running it on a single file? Does that even work? If yes you can start looking into the find command and then call filebot/amc for each file from console.
:idea: Please read the FAQ and How to Request Help.
goyon2000
Posts: 19
Joined: 12 Nov 2013, 12:53

Re: Installing FileBot on Synology NAS

Post by goyon2000 »

Ok understood

it seems that it was working before. Maybe the version 4.1 ?

I am going to create a script on my pc.

thank you for you fast answer
User avatar
rednoah
The Source
Posts: 24660
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Installing FileBot on Synology NAS

Post by rednoah »

That won't make much of a difference. Probably depends more on what exactly / how many files you're processing. You could try setting -Xmx100m (or lower or higher depending on what works) in the java call in filebot.sh to increase the default memory limit.
:idea: Please read the FAQ and How to Request Help.
User avatar
fry
Posts: 6
Joined: 02 Aug 2014, 16:43

Re: Installing FileBot on Synology NAS

Post by fry »

I've installed the package and the app runs fine. That is, when I run it as a root user with 'sudo'. When I login with my admin-user account (what I usually do) I get the following output:

Code: Select all

CacheException: Disk store path can't be created: /volume1/@appstore/filebot/cache/default
net.sf.ehcache.CacheException: Disk store path can't be created: /volume1/@appstore/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:123)
	at net.sf.ehcache.store.disk.DiskStore.create(DiskStore.java:154)
	at net.sf.ehcache.store.disk.DiskStore.createCacheStore(DiskStore.java:182)
	at net.sf.ehcache.Cache.initialise(Cache.java:1153)
	at net.sf.ehcache.CacheManager.initializeEhcache(CacheManager.java:1332)
	at net.sf.ehcache.CacheManager.addCacheNoCheck(CacheManager.java:1398)
	at net.sf.ehcache.CacheManager.addConfiguredCaches(CacheManager.java:794)
	at net.sf.ehcache.CacheManager.doInit(CacheManager.java:492)
	at net.sf.ehcache.CacheManager.init(CacheManager.java:387)
	at net.sf.ehcache.CacheManager.<init>(CacheManager.java:263)
	at net.sf.ehcache.CacheManager.newInstance(CacheManager.java:1078)
	at net.sf.ehcache.CacheManager.newInstance(CacheManager.java:854)
	at net.sf.ehcache.CacheManager.create(CacheManager.java:835)
	at net.sf.ehcache.CacheManager.getInstance(CacheManager.java:869)
	at net.filebot.Cache.getCache(Cache.java:14)
	at net.filebot.web.TheTVDBClient.getCache(TheTVDBClient.java:90)
	at net.filebot.web.AbstractEpisodeListProvider.search(AbstractEpisodeListProvider.java:34)
	at net.filebot.cli.CmdlineOperations.fetchEpisodeSet(CmdlineOperations.java:267)
	at net.filebot.cli.CmdlineOperations.renameSeries(CmdlineOperations.java:197)
	at net.filebot.cli.CmdlineOperations.rename(CmdlineOperations.java:94)
	at net.filebot.cli.ArgumentProcessor.process(ArgumentProcessor.java:72)
	at net.filebot.Main.main(Main.java:191)
Obviously FileBot needs to write to the cache folder, but I don't know how to fix this.

Any ideas on how to resolve the problem?

If I should move this to another topic, c.f. Looking for testers on Synology NAS do tell me, I wasn't sure if this is the right place.
User avatar
rednoah
The Source
Posts: 24660
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Installing FileBot on Synology NAS

Post by rednoah »

After install DSM should be calling this script and give you permissions for that folder:
http://sourceforge.net/p/filebot/code/H ... s/postinst

For some reason your user account does not have permission to access the cache folder. So you'll need to fix these permissions manually.

Image
:idea: Please read the FAQ and How to Request Help.
joachim
Posts: 3
Joined: 11 Aug 2014, 12:00

Re: Looking for testers on Synology NAS

Post by joachim »

Hi,
I would like to test FileBot, however I have a DS209 which can not go to DSM 5.0 which seems to be a prereq.
Is there an older version that runs on DSM 4,2
Thx a lot!
User avatar
rednoah
The Source
Posts: 24660
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Looking for testers on Synology NAS

Post by rednoah »

I've never tested with DSM 4.2 but as long as it run Java 8 it should be fine. You can manually "install" things by just extracting the .spk or the portable package.

Though if it's an older device it might not have enough memory to run FileBot. I'd say 256+ MB should do, but less might require some tinkering.

PS: I'm pretty sure DSM 5.0 runs on any DSM 4.2 device just as well, since DSM runs in the browser and the NAS server-side component should run on any hardware really.
:idea: Please read the FAQ and How to Request Help.
joachim
Posts: 3
Joined: 11 Aug 2014, 12:00

Re: Looking for testers on Synology NAS

Post by joachim »

thank you for your fast answer!
I updated the INFO file to
firmware="4.2"
Now I can install and run FileBot.
I do have Java 8.0
Joachim
joachim
Posts: 3
Joined: 11 Aug 2014, 12:00

Re: Looking for testers on Synology NAS

Post by joachim »

I am trying to rename TBBT videos to the standard naming.
Not sure whether I use FileBot correctly.
It did do the rename but complains about metadata problems. I actually don't need them.

Code: Select all

-rw-r--r-- 1 root root    5 Aug 11 12:36 The Big Bang Theory - 6x11 - The Santa Simulation.mkv
NAS> filebot -rename . --format "{n} E{e} [{t}]"  -non-strict
Filename pattern: [1.00] SxE, [0.00] CWS
Rename episodes using [TheTVDB]
Auto-detected query: [The Big Bang Theory]
Fetching episode data for [The Big Bang Theory]
[MOVE] Rename [/root/test+/The Big Bang Theory - 6x11 - The Santa Simulation.mkv] to [The Big Bang Theory E11 [The Santa Simulation].mkv]
Processed 1 files
Aug 11, 2014 1:58:24 PM net.filebot.media.MediaDetection storeMetaInfo
WARNING: Failed to set xattr: java.lang.IllegalStateException: java.nio.file.FileSystemException: /root/test+/The Big Bang Theory E11 [The Santa Simulation].mkv: Error writing extended attribute 'net.filebot.metadata': Operation not supported
Done ã¾(ï¼ âã¼âï¼ )ã
User avatar
rednoah
The Source
Posts: 24660
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Looking for testers on Synology NAS

Post by rednoah »

It's just a warning that xattr is not supported on your platform. You can pass -no-xattr to disable that feature.
:idea: Please read the FAQ and How to Request Help.
f3bruary
Posts: 35
Joined: 16 May 2014, 11:33

Re: Looking for testers on Synology NAS

Post by f3bruary »

Synology DS112+ running DSM 5.0-4493 Update 3. I usually stay up to date all the time.

Linux thegibson 2.6.32.12 #4493 Wed Jul 16 11:37:16 CST 2014 armv5tel GNU/Linux

Single core ARM cpu

I'm willing to help you test if needed. I actually use Filebot only for subtitle fetching but I can test renaming too if you want.
Slennox
Posts: 5
Joined: 13 Oct 2014, 18:19

Re: Looking for testers on Synology NAS

Post by Slennox »

Hello, rednoah.

Just FYI, the Java SE Embedded for PPC architecture does not come with JNA :(

Code: Select all

DiskStation> filebot -script fn:sysinfo
FileBot 4.5 (r2612)
JNA Native: null
MediaInfo: java.lang.NoClassDefFoundError: Could not initialize class com.sun.jna.Native
7-Zip-JBinding: net.sf.sevenzipjbinding.SevenZipNativeInitializationException: Failed to load 7z-JBinding: no 7-Zip-JBinding in java.library.path
chromaprint-tools: java.io.IOException: Cannot run program "fpcalc": error=2, No such file or directory
Extended Attributes: java.lang.RuntimeException: java.nio.file.FileSystemException: /volume1/@appstore/filebot/data/.xattr-test: Error writing extended attribute 'net.filebot.metadata': Operation not supported
Groovy Engine: 2.3.7
JRE: Java(TM) SE Embedded Runtime Environment 1.8.0_06 (headless)
JVM: 32-bit Java HotSpot(TM) Embedded Client VM
CPU/MEM: 2 Core / 245 MB Max Memory / 12 MB Used Memory
OS: Linux (ppc)
uname: Linux DiskStation 2.6.32.12 #4528 SMP Fri Oct 10 08:10:07 CST 2014 ppc GNU/Linux synology_qoriq_413
Done ヾ(@⌒ー⌒@)ノ
I managed to compile a libjnidispatch.so on my NAS and packaged it on jna.jar, but it seems it doesn't work:

Code: Select all

DiskStation> ./jexec jna.jar
Exception in thread "main" java.lang.Error: 

There is an incompatible JNA native library installed on this system
(at /tmp/jna-3506402/jna7758888899074853438.tmp).
To resolve this issue you may do one of the following:
 - remove or uninstall the offending library
 - set the system property jna.nosys=true
 - set jna.boot.library.path to include the path to the version of the 
   jnidispatch library included with the JNA jar file you are using

	at com.sun.jna.Native.<clinit>(Native.java:146)
DiskStation>
Please let me know if someone has made any progress on this architecture.
virtusek
Posts: 1
Joined: 08 Nov 2014, 14:22

Re: Looking for testers on Synology NAS

Post by virtusek »

Hello,

Code: Select all

DiskStation> filebot -script fn:sysinfo
FileBot 4.5 (r2612)
JNA Native: 4.0.0
MediaInfo: java.lang.UnsatisfiedLinkError: Unable to load library 'mediainfo': Native library (linux-arm/libmediainfo.so) not found in resource path ([file:/volume1/@appstore/filebot/FileBot.jar])
7-Zip-JBinding: net.sf.sevenzipjbinding.SevenZipNativeInitializationException: Failed to load 7z-JBinding: no 7-Zip-JBinding in java.library.path
chromaprint-tools: java.io.IOException: Cannot run program "fpcalc": error=2, No such file or directory
Extended Attributes: java.lang.RuntimeException: java.nio.file.FileSystemException: /volume1/@appstore/filebot/data/.xattr-test: Error writing extended attribute 'net.filebot.metadata': Operation not supported
Groovy Engine: 2.3.7
JRE: Java(TM) SE Embedded Runtime Environment 1.8.0 (headless)
JVM: 32-bit Java HotSpot(TM) Embedded Client VM
CPU/MEM: 1 Core / 121 MB Max Memory / 11 MB Used Memory
OS: Linux (arm)
uname: Linux DiskStation 2.6.32.12 #4493 Thu Aug 21 21:43:08 CST 2014 armv5tel GNU/Linux synology_88f6282_413j
Done ăž(ďź âăźâďź )ă
I am happy to run some test if needed (I am yet to try native libs you linked).

Most of the time it just works (using mainly for renaming and subtitles) - but recently I noticed this:

Code: Select all

DiskStation> filebot -get-missing-subtitles *.mkv --encoding utf8 --output srt --lang en
Get [English] subtitles for 1 files
Looking up subtitles by hash via OpenSubtitles
Lookup by hash failed: redstone.xmlrpc.XmlRpcArray cannot be cast to java.util.Map
No matching subtitles found
(It still looks up ok by name with non-strict option)
User avatar
rednoah
The Source
Posts: 24660
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Looking for testers on Synology NAS

Post by rednoah »

:idea: Please read the FAQ and How to Request Help.
WtfJoke
Posts: 7
Joined: 13 Dec 2014, 02:44

Re: Looking for testers on Synology NAS

Post by WtfJoke »

DS213:
Linux DS213 2.6.32.12 #5004 Sat Nov 29 01:34:57 CST 2014 armv5tel GNU/Linux synology_88f6282_213
Achandab
Donor
Posts: 109
Joined: 04 Nov 2013, 21:20

Re: Looking for testers on Synology NAS

Post by Achandab »

3.2.40 #5022 SMP Wed Jan 7 14:19:49 CST 2015 x86_64 GNU/Linux synology_avoton_415+
Intel based processor though. Not sure if it helps.
User avatar
rednoah
The Source
Posts: 24660
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Looking for testers on Synology NAS

Post by rednoah »

Future version of FileBot (v4.5.7 and above) will delegate all native dependencies (except the JRE) to other packages.

* Extract features will be implemented via the 7z cmdline utility which is available by default (instead of native libraries)
* libmediainfo is provided by SynoCommunity MediaInfo package
* fpcalc cmdline utility is provided by SynoCommunity (currently in development)

PS: I've starting working on a very basic DSM UI again as well. You can follow the (very) slow progress here.
:idea: Please read the FAQ and How to Request Help.
User avatar
rednoah
The Source
Posts: 24660
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Looking for testers on Synology NAS

Post by rednoah »

:idea: Please read the FAQ and How to Request Help.
Post Reply