-
Go to the QNAP Control Panel and disable the network recycle bin and expanded media functionality
-
Go to the QNAP FileStation settings and disable folder thumbnails
-
In the QNAP AppCenter install
-
Entware-ng_0.97.qpkg
from
https://github.com/Entware-ng/Entware-ng/wiki/Install-on-QNAP-NAS -
QPerl_5.24.1.0_x86_64.qpkg
andCACert_1.00.qpkg
from
http://qnapclub.eu/ -
QCouchPotato_160822_x86_64.qpkg
from http://qnapclub.eu/ -
QMono from QNAP AppCenter Store and
QSonarr_2.0.0.4389.qpkg
from
http://qnapclub.eu/ -
QSabNZBdPlus_1.2.0_x86_64.qpkg
from
http://qnapclub.eu/
ssh
into the TS-251+
ssh -l admin <QNAP_SERVER_NAME_OR_IP>
admin@<QNAP_SERVER_NAME_OR_IP> password: <QNAP_PASSWORD>
1. Add `CURL_CA_BUNDLE` environment variable to Entware’s `etc/profile`<br>
```shell
echo "export CURL_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt" >> /share/CACHEDEV1_DATA/.qpkg/Entware-ng/etc/profile
- Start Entware.
Note: Once Entware is started
/opt
should symlink to/share/CACHEDEV1_DATA/.qpkg/Entware-ng/
/share/CACHEDEV1_DATA/.qpkg/Entware-ng/Entware-ng.sh start
1. Update the `opkg` package manager’s listings
```shell
opkg update
- Remove python references from
-
Entware’s
bin
andlib
folders of
/share/CACHEDEV1_DATA/.qpkg/Entware-ng/
-
QCouchPotato’s
bin
,include
, andlib
folders of
/share/CACHEDEV1_DATA/.qpkg/QCouchPotato
-
/usr/local/bin
- Remove
mv
from QSabNZBdPlus
rm /share/CACHEDEV1_DATA/.qpkg/QSabNZBdPlus/bin/mv
1. Create symlinks to QSabNZBdPlus’ `bin/python`, `include/python2.7`, and `lib/python2.7` folders
for Entware-n, QCouchPotato, and `usr/bin`. This is a bit of rinse and repeat.
I should convert this into a bash script.
```shell
cd /share/CACHEDEV1_DATA/.qpkg/QCouchPotato
cd bin
ln -s /share/CACHEDEV1_DATA/.qpkg/QSabNZBdPlus/bin/python python
ln -s /share/CACHEDEV1_DATA/.qpkg/QSabNZBdPlus/bin/python2 python2
ln -s /share/CACHEDEV1_DATA/.qpkg/QSabNZBdPlus/bin/python2.7 python2.7
ln -s /share/CACHEDEV1_DATA/.qpkg/QSabNZBdPlus/bin/python-config python-config
ln -s /share/CACHEDEV1_DATA/.qpkg/QSabNZBdPlus/bin/python2-config python2-config
ln -s /share/CACHEDEV1_DATA/.qpkg/QSabNZBdPlus/bin/python2.7-config python2.7-config
cd ../include
ln -s /share/CACHEDEV1_DATA/.qpkg/QSabNZBdPlus/include/python2.7 python2.7
cd ../lib
ln -s /share/CACHEDEV1_DATA/.qpkg/QSabNZBdPlus/lib/python2.7 python2.7
cd /share/CACHEDEV1_DATA/.qpkg/Entware-ng
cd bin
ln -s /share/CACHEDEV1_DATA/.qpkg/QSabNZBdPlus/bin/python python
ln -s /share/CACHEDEV1_DATA/.qpkg/QSabNZBdPlus/bin/python2 python2
ln -s /share/CACHEDEV1_DATA/.qpkg/QSabNZBdPlus/bin/python2.7 python2.7
ln -s /share/CACHEDEV1_DATA/.qpkg/QSabNZBdPlus/bin/python-config python-config
ln -s /share/CACHEDEV1_DATA/.qpkg/QSabNZBdPlus/bin/python2-config python2-config
ln -s /share/CACHEDEV1_DATA/.qpkg/QSabNZBdPlus/bin/python2.7-config python2.7-config
cd ../include
ln -s /share/CACHEDEV1_DATA/.qpkg/QSabNZBdPlus/include/python2.7 python2.7
cd ../lib
ln -s /share/CACHEDEV1_DATA/.qpkg/QSabNZBdPlus/lib/python2.7 python2.7
cd /usr/bin
ln -s /share/CACHEDEV1_DATA/.qpkg/QSabNZBdPlus/bin/python python
ln -s /share/CACHEDEV1_DATA/.qpkg/QSabNZBdPlus/bin/python2 python2
ln -s /share/CACHEDEV1_DATA/.qpkg/QSabNZBdPlus/bin/python2.7 python2.7
- Install sickbeard_mp4_automator prerequesites
opkg install python-dev python-pip ffmpeg ffprobe git mc opkg install gcc python-cffi pip install requests pip install "requests[security]" pip install requests-cache pip install babelfish pip install "subliminal<2" pip uninstall stevedore pip install stevedore==1.19.1 pip install qtfaststart
1. Install sickbeard\_mp4\_automator
```shell
cd /share/CACHEDEV1_DATA/
git clone --depth=1 git://github.com/mdhiggins/sickbeard_mp4_automator ./scripts
cd scripts
cp autoProcess.ini.sample autoProcess.ini
-
From QTS stop and restart Sab first, then Couch and Sonarr packages
-
In your shell edit
autoProcess.ini
with themc
orvi
. Bellow are just the entries I modified.
[Sonarr] ssl = 1 apikey =
[MP4] ffmpeg = /opt/bin/ffmpeg ffprobe = /opt/bin/ffprobe audio-default-language = eng subtitle-language = eng subtitle-default-language = eng convert-mp4 = True tag-language = eng download-subs = True permissions = 0644
[CouchPotato] apikey = delete-failed = True
[SABNZBD] sonarr-category = tv couchpotato-category = movies
[Plex] token =
1. Configure Sab, then Couch and Sonarr.<br>
Make sure Sab’s script folder points to `/share/CACHEDEV1_DATA/scripts/`
## Helpers
You might also want to install
```shell
opkg install file mediainfo
There’s an issue with QSabNZBdPlus’ par2cmdline.
Apply this path to /share/CACHEDEV1_DATA/.qpkg/QSabNZBdPlus/SABnzbd/sabnzbd/newsunpack.py
.