I’m not a Linux or Synology expert, if you feel that there’s a better way, feel free to discuss/submit suggestions in the forum. There are multiple methods to setup, this is just one of them. Guide written based on XPenology 5.2 .
Step 1: Preparing the Package Sources
- Open Package Center, and click Settings.
- Under General tab, set Trust Level to Any publisher.
- Under Beta tab, check Yes, I want to see beta versions!
- Under Package Sources tab, add location (you can give them any name):
Step 2: Bootstrap Synology
You’ll need to install ipkg/opkg, by bootstrapping your Synology.
- Launch Package Center, and click Community.
- Install Easy Bootstrap Installer by QTip.
- Select Qnapware/Entware oPKG
- Install iPKGui by QTip.
- Open iPKGui from Main Menu, and install Make.
Step 3: Plex, JAVA, Perl
- Install manually or use the Package Center to install Plex, JAVA Manager and Perl.
- To install JAVA, use JAVA Manager and follow the instructions provided.
- You may need to restart after installing.
Step 4: Copy the plug-in file
- Launch File Station, go to:
Plex > Library > Application Support -> Plex Media Server -> Plug-ins
- Copy the HDHRViewer zip file to the Plug-ins folder.
- Right click and Extract Here. HDHRViewerV2.bundle folder should appear.
- Refer to http://hdhrviewer.zynine.net/hdhrviewerv2-initial-setup/ for more instructions. Make sure you have setup the IP address to the HDHomeRun device.
Step 5: Prepare required files
- Launch Control Panel, go to Shared Folder.
- Create a folder called HDHRViewer. Remember which volume it is located. (eg. Volume 1)
- Copy channel-guide-app.jar (this file was renamed)
- Copy app-config.yml
- Copy zap2xml.pl
- Edit app-config.yml and make sure xmlTvPath points to the correct location:
Step 6: Enable SSH
You can either use Telnet or SSH. Experts, any suggestions on this?
- Launch Control Panel, under Advanced Mode, Open Terminal & SNMP.
- Check Enable SSH service.
- Go to Package Center and click Community.
- Install GateOne by SynoCommunity. The installer will install Python.
Step 7: Perl JSON
- Launch GateOne from Main Menu. (or use any SSH/Telnet clients)
- Connect to localhost and login as root. Password is the same as admin account.
- Run the command:
perl -MCPAN -e shell install JSON
Step 8: SSH
- Launch GateOne from Main Menu.
- Navigate to the HDHRViewer folder:
cd /volume1/HDHRViewer chmod 777 zap2xml.pl
Step 9: Task Scheduler
- Launch Control Panel, go to Task Scheduler.
- Click Create and User-Defined Script.
/volume1/HDHRViewer/zap2xml.pl -u firstname.lastname@example.org -p password
- Select and run the script for test run. If script was successful, you should see a cache folder and xmltv.xml file in the HDHRViewer folder.
Step 10: Channel App Guide
- Launch GateOne from Main Menu
- Login to localhost as root.
- Run command:
cd \volume1\HDHRViewer java -jar channel-guide-app.jar server app-config.yml
- You could save above command as a shell script.