NEW PACKAGE AVAILABLE
Big change here - apologies it took so long. Some good news and some bad.. And heads up -
you will need to do work to upgrade
Main goal of this release has been to
(a) minimize the support headaches of permissions
(b) streamline the install process for better user experience, and minimize code
(c) remove/reduce duplication with SDs existing interfaces (i.e. recordings)
(d) refactor as much as possible to maximize reuse of scripts and code between the various NAS installers
So good news first
- Have changed to be similar to the docker image I created and on starting the engine, the script now gets the latest record engine from SDs servers and runs that. This will mean once SD make available a new version of the record engine you will not need to wait for me to release a new APKG. Just simply stop and start the engine and it will pick it up.
- To also make it easier, I've added some parameters to the config file I manage for the engine that you can edit. You want to look at BetaEngine parameter, and set this to 1 and it will download from both the beta and the release URLs and then compare to see which is newer and use that.. if BetaEngine is set to anything but 1 it will only download the latest full release.
- The APKG now creates a 'hdhomerundvr' user to run the engine under. this user will be removed on uninstalling the package. You can change the user to run as by editing the config file once more and changing the 'RunAs' parameter to the username you want to run as.
- The APKG now creates a HDHomeRunDVR share by default and not a standard folder, and then adds the administrators and http groups to it, as well as the new user created above.
- Installing and Removing the APKG is logged to /tmp/hdhomerundvr_install.log which should help us understand when things go wrong
- UI Page now opens direct to the dashboard
- Since I've reduced the code/scripts considerably and rolling update means less need to do APKG updates I am finally updating this to version 1.0.0
So now bad news, or things removed
- Recordings management has been completely removed. This broke recently, and was hitting issues with permissions quite a bit. Also since the SD page for your record engine lists the recordings properly - is better to simply point you there.. and that is possible by clicking the first link for the record engine in the HDHR list in the dashboard.
- Engine start/stop from the DVR Manager UI has been removed. Running in to permissions issues a lot, and some crazy thing happening on Synology directly was causing the wrappers to get out of whack with the UI.. You can start/stop the service for HDHomeRunDVR via the command line or the App Center anyway, so removing doesn't remove capability, just duplication and simplifies support.
- Removed the log file management.. Since SD added the cleanup of the log files automatically by the record engine, this features wasn't needed and it cleans up the interface.
- Wrappers are no longer needed and removed
- IMPORTANT That change of user means you need to ensure the user has permissions to your existing recordings. Simply add the new user 'hdhomerundvr' to your recordpath share or change the RunAs user once upgraded and you should be good
To move to new package - simply do manual install of new package. But beware of the user/permissions thing above.
new APKG
HDHomeRunDVR-1.0.0_any.apk available in the usual locations
Google Drive,
DropBox,
OneDrive
Code is available on github
https://github.com/Silicondust/dvr_install