Tvheadend packages for Synology NAS
Added by Martin Walter about 7 years ago
Tvheadend 4.2.8¶
For those interested in native (non-docker) Tvheadend packages for their Synology NAS systems, you will find recent release packages published here:
Please report any Synology package-specific issues with the Synocommunity, i.e. here:
https://github.com/SynoCommunity/spksrc/issues
Test packages¶
Unpublished test packages are sometimes available in this thread, but currently not available.
Some important remarks for test packages (when available):- All packages provided here are beta packages. Use at your own risk.
- Always back up your Tvheadend configuration before you upgrade!
- You cannot upgrade from a Tvheadend-Testing to a Tvheadend release package or vice versa. These packages have separate configurations. NEVER run a testing and a release package in parallel.
- The upgrade process may take several minutes as recordings might have to be moved. Please be patient if the upgraded package does not start right away.
- The release packages are very recent and up-to-date. I highly recommend staying away from testing packages at the moment, unless you cannot run the release packages for whatever reason and you know what you are doing.
- If you are already running a package, which you have downloaded from here, upgrading should be safe (backup anyway!)
- Otherwise, I recommend clean installations, especially if you have already installed packages from different sources and you have had trouble with user permissions in the past. There is some likelihood they are messed up. Also:
- If you are currently running a Tvheadend-Testing package and you want to install a release package, you will have to start configuring it from scratch anyways.
- If you are running an old release package on DSM5.2 and you want to upgrade your DSM and Tvheadend, upgrade your DSM first, only then upgrade TVH with a new release package. However, depending on how old your old release package is, you might still run into hicups. If that happens, you are most likely better off starting a clean configuration from scratch, too.
Updates / Edits:¶
- 26.02.2019: TVH 4.2.8 republished on SynoCommunity (fixes CA module regressions and upgrades of legacy packages)
- 09.02.2019: TVH 4.2.8 published on SynoCommunity (HW transcoding support via spawn profile TBC)
- 15.10.2018: TVH 4.2.7 test packages for DSM6.1+ available. Link added.
- 08.05.2018: TVH 4.2.6 packages have been published on the Synocommunity repository. Link added.
- 14.04.2018: Update to TVH 4.2.6 (latest maintenance release) and fixes for installations on non-standard volumes
- 24.03.2018: Update fixing recordings being stored in the wrong place
- 26.01.2018: Added upgrading instructions
- 16.01.2018: Update to TVH 4.2.5 (latest maintenance release)
- 21.10.2017: Update to TVH 4.2.4 (latest maintenance release)
Replies (327)
RE: Tvheadend packages for Synology NAS - Added by Martin Walter over 6 years ago
Maybe this fix could be applied to future TVHeadend installer packages!?
This is exactly why I was asking...
Thanks for the confirmation...
RE: Tvheadend packages for Synology NAS - Added by Christian Kneissl over 6 years ago
Great...
There is also an option "-S" to disable logging to Syslog. Setting this, the checkmark of the syslog option permanently goes away .
Just for information, hibernation IS working also with syslog ON.
RE: Tvheadend packages for Synology NAS - Added by horst epipe over 6 years ago
Hey
Any chance that you provide the current stable for a Synology DS414 with an armadaxp architecture? At the moment there's only a very old version (3.4.27-6) in your repo.
Best regards
RE: Tvheadend packages for Synology NAS - Added by Martin Walter over 6 years ago
It's available, see...
https://synocommunity.com/package/tvheadend
...but as beta.
Activate beta packages and it should show up...
RE: Tvheadend packages for Synology NAS - Added by horst epipe over 6 years ago
ahh thank you very much, sorry :-)
RE: Tvheadend packages for Synology NAS - Added by horst epipe over 6 years ago
mhh okay, v4.2.6 doesn't find my sundtek stick. I used v4.4 which found it without problems, but I had preferred to use a more stable version.
The Sundtek driver package is installed on my Synology.
RE: Tvheadend packages for Synology NAS - Added by Martin Walter over 6 years ago
Yes, known issue. Sundtek wanted to work on a solution, but not sure they did. I followed up with them. Let's see. For the time being there is a manual workaround that you can use:
- Install the new 4.2.x Tvh package, but don't start it yet.
- Then ssh into your NAS as root.
- Change into the "/var/packages/tvheadend/scripts" folder.
- Edit the "start-stop-status" script.
- In line 2 insert the following code:
if [ -e /usr/local/sundtek/opt/lib/libmediaclient.so ]; then export LD_PRELOAD=/usr/local/sundtek/opt/lib/libmediaclient.so fi
- Save your changes and close everything.
- Start the Tvheadend package via the package manager and your Sundtek tuner should appear again.
This will survive stopping and restarting your TVH package, as well as restarting your NAS. It will not surviver future updates of the TVH package. In that case, you will have to repeat this procedure.
RE: Tvheadend packages for Synology NAS - Added by horst epipe over 6 years ago
Thank you very much!
works excellent!
RE: Tvheadend packages for Synology NAS - Added by Ton VH over 6 years ago
@olof
"@Gabriel, m4tt075 uloaded a version for the rtd1296 architecture (DS118, DS218, DS418, DS418j & DS218play) a couple of days ago. I'm currently running it successfully on my DS418j. Look here and have a go at it, https://github.com/m4tt075/spksrc/releases/download/TVH-4.2.5-recrecov/tvheadend_rtd1296-6.1_4.2.5-12.spk."
This link leads to a page that no longer exists. Do yo know wheree I can download a DSx18/RTD1296 version of TVHeadend?
RE: Tvheadend packages for Synology NAS - Added by Jose M about 6 years ago
Hi. I installed TVH 4.2.6-13 on my synology DS416J and added my HDHomeRun Connect Duo to it.. Enable the adapter.. configure the network etc.. when doing Force Scan nothing happen. So no service for me. That same adapter on another TVH running on a NUC with LibreELEC is running fine. Am able to force scan on it no problem. They are configured the same on both TVH servers. On LibreELEC I'm running 4.2.3-20.
Any ideas? I want to move the THV Server to the Synology is possible.
-embeleco
RE: Tvheadend packages for Synology NAS - Added by Martin Walter about 6 years ago
Nope, no experience with HDHomeRuns, but if it works on an older 4.2.3 version it should run on 4.2.6 as well. What does the log in the Web-interface say when you run "force scan" comparing both versions? That should at least give some hints...
RE: Tvheadend packages for Synology NAS - Added by Jose M about 6 years ago
I was going to downgrade TVH on Synology but haven't done that yet. With debugs enable when running the force scan.. nothing shows up on the log using the web. However any config change will display a log of saving configuration etc.. so the log is working. If I do the same force scan on my libreelec platform... the logs start showing info immediately.
RE: Tvheadend packages for Synology NAS - Added by Martin Walter about 6 years ago
I don't think downgrading would help in this case.
Please use the log within the TVH web-interface itself. When you are logged in, there is a little cog wheel on the low right corner of the window. Click it, and a window with log information should open up. Then, "force scan" again and report back here what you see. And then do the same on LE, so that we can compare...
RE: Tvheadend packages for Synology NAS - Added by Jose M about 6 years ago
That is the log I was referring to. Once that window is open I click Force Scan and nothing happens.. nothing gets written to the log. Once I do the same on libreelec.. that log start to scroll with info on it.
RE: Tvheadend packages for Synology NAS - Added by Martin Walter about 6 years ago
Strange. You've probably done that already, but please carefully review all configuration steps again. Are all the adapters enabled, all tuners and all positions too (or whatever the HDHR analogs are)? Is everything "green" and "bold" on that page? Is the network really assigned with the adapter correctly? It is easy to miss something like this. Sometimes you click the right option, but then you don't save the information and it is lost again...
RE: Tvheadend packages for Synology NAS - Added by Jose M about 6 years ago
I re-check twice to make sure and all was the same... Currently I have it working the HDHomeRun with the libreelec TVH. If you want I can send you a WebEx invite and you can join a quick session and take a look to the NAS.. if so let me know your email. I'm available.
RE: Tvheadend packages for Synology NAS - Added by Martin Walter about 6 years ago
Sorry, but if everything is configured correctly and you still get no logging information, I wouldn't know what else to do. You could try some basics. Maybe the driver got stuck. In that case, rebooting the NAS might help. Maybe something went wrong with the installation. You could download the relevant package from SynoCommunity manually and try to manually upgrade the package by itself. You could also deinstall the Syno package and reinstall it from scratch. But maybe there are users here with HDHR experience who could step in as well...
RE: Tvheadend packages for Synology NAS - Added by Michael Freeman about 6 years ago
Hi,
I'm having a different problem, but hope you can help point me in the right direction.
I am using your version 4.2.3 for Synology DSM 5.2 and am having the craziest problem. Everything works wonderfully except when I try to record something that lasts more than 2 hours. When the recording gets to 2 hours, the tuner signal is lost, but TVH seems to think it's still recording. I've posted the details in a different thread, but this is essentially a summary of what's happening.
I don't think it's the tuner (HDHomerun Prime 3, cable card version) because I can record shows longer than 2 hours with another setup using NextPVR (Windows).
So my question is: Have you ever seem this behavior before, and if so, what do I have to do to get around it?
Thanks!
RE: Tvheadend packages for Synology NAS - Added by Martin Walter about 6 years ago
Never heard this before. But have you tried updating to the latest 4.2.6 maintenance release already (probably backing up first)?
RE: Tvheadend packages for Synology NAS - Added by Michael Freeman about 6 years ago
Martin Walter wrote:
Never heard this before. But have you tried updating to the latest 4.2.6 maintenance release already (probably backing up first)?
Thanks for the reply. No, I haven't been able to try 4.2.6 on my Synology box yet because I'll have to upgrade to DSM 6.1 in order to install it. I wanted to shake all the bugs out before doing that.
I do have 4.2.6 running in a Ubuntu 16.04 virtual machine and it exhibits the same behavior. This is pointing to a HDHomerun driver setting/problem, since I'm able to get the tuner to perform well with the NextPVR server.
One more question. The debug log issued a "keep-alive" warning before it shut down prematurely. What is it trying to tell me?
Thanks!
RE: Tvheadend packages for Synology NAS - Added by Martin Walter about 6 years ago
Hmh, ok. Really strange. Cannot help you with your second question either, but am afraid you are in the wrong thread. The thread here is only about the specifics of Synology packages for TVH. You are way more likely to receive good responses and help if you open new issues.
RE: Tvheadend packages for Synology NAS - Added by Martin Walter about 6 years ago
New DSM 6.1/6.2 test builds for Tvheadend 4.2.7 are available via post #1. Do not forget to backup your installations before upgrading. Otherwise, as usual, please do report all test results, the good, the bad and the ugly. All feedback will help and be appreciated...
RE: Tvheadend packages for Synology NAS - Added by Russel Crowe about 6 years ago
Works on my RS815+ DSM 6.2.1-23824 Update 1 like a charm.
Installation on volume2 without any problems.
RE: Tvheadend packages for Synology NAS - Added by Juan Manuel Juan about 6 years ago
Works ok in synology 416play but dont work transcode (only get audio and black screen). I used 4.2.6-11 and transcode works ok. Can you fix it? Thanks for you work
RE: Tvheadend packages for Synology NAS - Added by Martin Walter about 6 years ago
Difficult to judge. I need more details first:
1) The 4.2.6-11 version that used to work, was that the one from here or Synocommunity or another one?
2) Which transcoder have you used / are you trying to use?
3) Do you get any error messages or hint from the TVHeadend log?