QNAP Install and Setup
-
- Posts: 23
- Joined: 12 Jan 2015, 15:47
QNAP Install and Setup
I have a QNAP TS-651 and I would love to get filebot with a script like the one listed in the link below. It automatically renames your TV shows to a format like this: "The Walking Dead 4x15 Us.mkv", places it in a folder like "TV Shows/The Walking Dead/Season 4/" and automatically downloads subtitles from OpenSubtitles using the video hash. If the TV show or movie is in a zip file, the script automatically extracts it and deletes the zip. Also, after organizing the movies / TV shows, the script triggers XBMC or Plex to re-scan the directories. Right now I am unsure how to even install filebot. I am able to ssh into my nas, but filebot is not listed in the repository after running ipkg update. I am unaware if it is even compatible with my NAS. I would like the system to scan my upload folder that all users have read/write permissions to and then move those files to the multimedia folder where users only have read access. If not I would like to get this running on my Windows PC until it is compatible.
As you can see lots of help is needed.
http://www.webupd8.org/2014/04/organize ... -with.html
QNAP TS-651
Intel® Celeron® 2.41GHz dual-core processor
As you can see lots of help is needed.
http://www.webupd8.org/2014/04/organize ... -with.html
QNAP TS-651
Intel® Celeron® 2.41GHz dual-core processor
Re: QNAP Install and Setup
1.
First you need Java and FileBot working on your NAS. With a normal x86 processor there should be really no issue there. You'll just need some basic Linux skills (i.e. wget Java/FileBot, symlink java/filebot tools into /usr/bin) if there is no package for your platform (i.e. if ipkg doesn't work you can use the portable).
The webupd8.org link will probably not be helpful for setting things up on an embedded device.
2.
Then you want to refer to the amc script for the rest:
viewtopic.php?f=4&t=215
There's lots of different ways to set it up, depending on how you do things it might be slightly different, but in the end it's just a simple cmdline call, so it's extremely flexible, but again some basic Linux skills are needed.
First you need Java and FileBot working on your NAS. With a normal x86 processor there should be really no issue there. You'll just need some basic Linux skills (i.e. wget Java/FileBot, symlink java/filebot tools into /usr/bin) if there is no package for your platform (i.e. if ipkg doesn't work you can use the portable).
The webupd8.org link will probably not be helpful for setting things up on an embedded device.
2.
Then you want to refer to the amc script for the rest:
viewtopic.php?f=4&t=215
There's lots of different ways to set it up, depending on how you do things it might be slightly different, but in the end it's just a simple cmdline call, so it's extremely flexible, but again some basic Linux skills are needed.

-
- Posts: 23
- Joined: 12 Jan 2015, 15:47
Re: QNAP Install and Setup
Java is already installed and is loacted in the application center on my qnap. I have used wget to retrieve the file located at
http://sourceforge.net/projects/filebot ... z/download
I am unsure if that would be the correct file as it is still downloading. I am now thinking I should get the 686 file. The problem is I have no idea what extension is needed for this linux version. The options I have found are listed below.
http://sourceforge.net/projects/filebot ... Bot_4.5.3/
http://sourceforge.net/projects/filebot ... z/download
I am unsure if that would be the correct file as it is still downloading. I am now thinking I should get the 686 file. The problem is I have no idea what extension is needed for this linux version. The options I have found are listed below.
http://sourceforge.net/projects/filebot ... Bot_4.5.3/
Re: QNAP Install and Setup
i686 means it's a package for 32-bit Intel x86 CPUs. So the IPKG package should be fine presuming QNAP supports ipkg and you generally know what ipkg is and does.
Assuming java is setup already, this should work:
Otherwise you can always default the portable package & unpack & symlink to bin & done ~
Assuming java is setup already, this should work:
Code: Select all
wget http://sourceforge.net/projects/filebot/files/filebot/FileBot_4.5.3/filebot_4.5.3_i686.ipk
ipkg install filebot_4.5.3_i686.ipk
filebot -version
-
- Posts: 23
- Joined: 12 Jan 2015, 15:47
Re: QNAP Install and Setup
Java is installed and works. I am currently at work so I will be working this issue again when I get home. From the way your last line reads it sounds like the portable package could be a better option. Once I have this working I would like to create a install/setup guide from the ground up for novice users like myself. The TS-X51 series has a 64 bit processor. Is the portable 64 bit? Thanks again.
Re: QNAP Install and Setup
FileBot is platform-independent and only requires Java. The i686 includes the platform-independent core and the optional platform-dependent native libraries for i686 arch.
The optional native libraries are platform-dependent and the portable package simply doesn't include them.
Since you're on x86_64 and QNAP OS probably doesn't ship with compatibility libraries to execute x86 code you'll probably have to start with the portable and set the rest up yourself. The generic 64-bit Linux native libraries should work as well should you need MediaInfo/7zip/AcoustID support.
The optional native libraries are platform-dependent and the portable package simply doesn't include them.
Since you're on x86_64 and QNAP OS probably doesn't ship with compatibility libraries to execute x86 code you'll probably have to start with the portable and set the rest up yourself. The generic 64-bit Linux native libraries should work as well should you need MediaInfo/7zip/AcoustID support.
-
- Posts: 23
- Joined: 12 Jan 2015, 15:47
Re: QNAP Install and Setup
I would like to have the MediaInfo/7zip/AcoustID features so I will attempt setting Filebot up this way. Would the setup of each of these install types be similar to each other after being installed?
Re: QNAP Install and Setup
You get all the native libraries / native tools for your platform from here:
https://sourceforge.net/p/filebot/code/ ... ib/native/
... and put it into the portable folder.
All the executables java/filebot/fpcalc must be linked to bin (e.g. /usr/local/bin) and then it should all work. You can use filebot -script fn:sysinfo for testing.
https://sourceforge.net/p/filebot/code/ ... ib/native/
... and put it into the portable folder.
All the executables java/filebot/fpcalc must be linked to bin (e.g. /usr/local/bin) and then it should all work. You can use filebot -script fn:sysinfo for testing.
-
- Posts: 23
- Joined: 12 Jan 2015, 15:47
Re: QNAP Install and Setup
I have placed the portable unzipped on my NAS and have also included the additional files into the folder. Now I am working on editing my .profile
Where should the file links be added?
Scratch this working on symlink
Where should the file links be added?
Scratch this working on symlink
Last edited by phifer2088 on 13 Jan 2015, 14:31, edited 1 time in total.
Re: QNAP Install and Setup
Why?
/usr/local/bin is always in the PATH so if you link the executables to /usr/local/bin you don't need to add anything to the PATH.
/usr/local/bin is always in the PATH so if you link the executables to /usr/local/bin you don't need to add anything to the PATH.
-
- Posts: 23
- Joined: 12 Jan 2015, 15:47
Re: QNAP Install and Setup
So how do I link the executables? I know my path is /share/homes/admin/FileBot_4.5.3rednoah wrote:Why?
/usr/local/bin is always in the PATH so if you link the executables to /usr/local/bin you don't need to add anything to the PATH.
Is it as simple as ln -s /share/homes/admin/FileBot_4.5.3
Re: QNAP Install and Setup
Google is your friend => http://stackoverflow.com/a/1951752/1514467
-
- Posts: 23
- Joined: 12 Jan 2015, 15:47
Re: QNAP Install and Setup
rednoah wrote:i686 means it's a package for 32-bit Intel x86 CPUs. So the IPKG package should be fine presuming QNAP supports ipkg and you generally know what ipkg is and does.
Assuming java is setup already, this should work:Otherwise you can always default the portable package & unpack & symlink to bin & done ~Code: Select all
wget http://sourceforge.net/projects/filebot/files/filebot/FileBot_4.5.3/filebot_4.5.3_i686.ipk ipkg install filebot_4.5.3_i686.ipk filebot -version
Code: Select all
[~] # filebot -version
FileBot 4.5.3 (r2729) / Java(TM) SE Embedded Runtime Environment 1.8.0_06 (headless)
Code: Select all
filebot -script fn:amc --output "/share/Multimedia" --log-file amc.log --action move --conflict override --def music=y --def subtitles=en --def artwork=y --def clean=y -non-strict "/share/Public" --def excludeList=amc.txt
Re: QNAP Install and Setup
It'll probably create files like this:
movie.nfo
disc.png
fanart.jpg
folder.jpg
logo.png
poster.jpg
That's basically one per type. Less would defeat the point. Though, poster.jpg & folder.jpg is the same for compatibility with both Windows and HTPC software.
movie.nfo
disc.png
fanart.jpg
folder.jpg
logo.png
poster.jpg
That's basically one per type. Less would defeat the point. Though, poster.jpg & folder.jpg is the same for compatibility with both Windows and HTPC software.