Project

General

Profile

Tvheadend packages for Synology NAS

Added by Martin Walter over 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:

https://synocommunity.com/

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 5 years ago

@Russel
Many thanks for testing and reporting. It seems there even is a 2.1.5 beta version on their website. I'll include an optional update to that version in the installer scripts. And you are right, the removal of pre-existing cron tab entries and links should not take place on upgrades. Will remove that behavior. Experimenting around with it, I also found that the "latest" siteini files that are pulled during the updates are not truly the latest. Still some work to do. Will come back with a new version once all of this has been fixed...

@D R
You just have to install Comskip separately. There is a separate package for Comskip on SynoCommunity. However, the only Synology-specifics to know about is where the packages are installed. You will find them in /usr/local/tvheadend and /usr/local/comskip, respectively. Binaries are in /usr/local/tvheadend/bin and /usr/local/comskip/bin, configuration files in /usr/local/tvheadend/var and /usr/local/comskip/var. I haven't worked with it in the last couple of years so don't know how to configure it best. This does not belong in this thread though. Therefore, if you should need further help on this, please open another thread.

RE: Tvheadend packages for Synology NAS - Added by D R over 5 years ago

Martin Walter wrote:

@Russel
Many thanks for testing and reporting. It seems there even is a 2.1.5 beta version on their website. I'll include an optional update to that version in the installer scripts. And you are right, the removal of pre-existing cron tab entries and links should not take place on upgrades. Will remove that behavior. Experimenting around with it, I also found that the "latest" siteini files that are pulled during the updates are not truly the latest. Still some work to do. Will come back with a new version once all of this has been fixed...

@D R
You just have to install Comskip separately. There is a separate package for Comskip on SynoCommunity. However, the only Synology-specifics to know about is where the packages are installed. You will find them in /usr/local/tvheadend and /usr/local/comskip, respectively. Binaries are in /usr/local/tvheadend/bin and /usr/local/comskip/bin, configuration files in /usr/local/tvheadend/var and /usr/local/comskip/var. I haven't worked with it in the last couple of years so don't know how to configure it best. This does not belong in this thread though. Therefore, if you should need further help on this, please open another thread.

Thanks, and apologies for getting off topic.

RE: Tvheadend packages for Synology NAS - Added by Martin Walter over 5 years ago

I've been looking into the current 4.3 development branch of TVH as there have been some significant changes in the last two years (including integrated transcoding support on x64 platforms, also see discussion above). Based on my review I'm not sure whether integrated transcoding support can actually be realized (by me) in a native Synology package. I might have found a workaround, but cannot fully test it myself. Therefore, here a test package for x64 platforms with DSM6.1 or above:
https://www.dropbox.com/s/cd0vg9bqdq69rd3/tvheadend_x64-6.1_4.3.1789-17.spk?dl=0
Are there any experienced users here who could test the package and the transcoding functionality and report back on this?
Attention: This needs to be considered "alpha". By all means back up your current installation as you may very well have to roll back after your tests.

RE: Tvheadend packages for Synology NAS - Added by Hilman Chung over 5 years ago

Thanks Martin,

I'm familiar with how TVH works in docker on my 1815+. Let me try your 4.3 native package, I'm really looking for something that can use hardware encoding...that would be the holy grail for me.

Will report back.

RE: Tvheadend packages for Synology NAS - Added by D Sam over 5 years ago

Hi to all,

Does the SynoCommunity Tvheadend v4.2.8-16 package take advantage of hardware encoding on the DS918+ ?

Thanks.

RE: Tvheadend packages for Synology NAS - Added by Ben S over 5 years ago

Hi,

I have just setup tvheadend on my synology nas ds218play. I have got it all running and am really happy with the server, using a kodi frontend, but I have a question...

I have left the default record location as it was during setup and recordings are working fine, but how do I view the save location on the nas? I can see a group has been setup called sc-media, but I can't find the \usr\local folder to be able to get access to the recordings outside of kodi. Have I missed a step somewhere to be able to view the recordings outside of kodi?

I have tried to search and read the wiki, but haven't found a solution yet. I'm new to Linux and tvheadend too, so please be gentle! :)

Thanks in advance!

RE: Tvheadend packages for Synology NAS - Added by Martin Walter over 5 years ago

@'Ben S'

If you don't specify a recording folder explicitly, TVH should record into its home directory. For the Synology package this is in "/usr/local/tvheadend/var". You'll need the Synology Filemanager to access that path. Usually, you would not want that. You should have some kind of shared folder, e.g. "Videos", create some subfolder, e.g. "Videos/Recordings" and specify that (with full path) as recording directory via the TVH web-interface...

RE: Tvheadend packages for Synology NAS - Added by Mitcho Klem about 5 years ago

Hi,

How come that 4.4.20181215-1 is last ver. from Dierkse?
Is there no one else that could make a new build for synology?
Or is there nothing new to meke it?
Is Tvheadend still developing cuz there is more than a half year old ver.?

Thanx, Mitcho

RE: Tvheadend packages for Synology NAS - Added by th0ma7 ^ about 5 years ago

Updated packages temporarily available here until hopefully published on SynoCommunity:
https://github.com/th0ma7/synology/tree/master/packages

RE: Tvheadend packages for Synology NAS - Added by Mitcho Klem about 5 years ago

Great!
I'll try it.
where can I read whats new vs. Dierkse's version?

RE: Tvheadend packages for Synology NAS - Added by saen acro about 5 years ago

Mitcho Klem wrote:

Great!
I'll try it.
where can I read whats new vs. Dierkse's version?

Compare build details from About > toggle details

RE: Tvheadend packages for Synology NAS - Added by Mitcho Klem about 5 years ago

I tried this new vers. and all working on Synologa DS918+!

RE: Tvheadend packages for Synology NAS - Added by th0ma7 ^ about 5 years ago

Package naming uses date of commit (20191006) + short git hash of commit (e1fb5c0).
Also the about page refers to the git hash commit as well (4.3~e1fb5c0)

Therefore current build is a snapshot up to this point:
https://github.com/tvheadend/tvheadend/commit/e1fb5c0254e28e6f19d0163e7add8b29c59c1d93

RE: Tvheadend packages for Synology NAS - Added by th0ma7 ^ about 5 years ago

Mitcho Klem wrote:

I tried this new vers. and all working on Synologa DS918+!

Glad it works and thnx for the feedback!
Note that I also created apollolake platform specific build for 918+ as I'm also using it.

RE: Tvheadend packages for Synology NAS - Added by Stefan S. about 5 years ago

Hi there,

thanks for those builds.

Am I right with the assumptiopn that only the packages with "ffmpeg" in their name do support HW transcoding?
These seem to be all of version 4.2.1 (that is older than 4.2.8 which I am currently using).

Or do also the 4.3 builds include HW transcoding?

I've some DS216+ II (Braswell Arch.). Should I watch out for the "x64" versions in that case?

Thanks and BR
Stefan

RE: Tvheadend packages for Synology NAS - Added by th0ma7 ^ about 5 years ago

The underlying ffmpeg should on supported platforms through vaapi.
For braswell it is the x64 build you should look for.

RE: Tvheadend packages for Synology NAS - Added by Stefan S. about 5 years ago

Thx, does this also apply for the 4.3 build and, could I easily update from 4.2.8 without having the need of setting up everything from scratch?

RE: Tvheadend packages for Synology NAS - Added by th0ma7 ^ about 5 years ago

Stefan S. wrote:

Thx, does this also apply for the 4.3 build and, could I easily update from 4.2.8 without having the need of setting up everything from scratch?

In theory yes but your mileage may vary. Personally I noticed a few hiccups after upgrading but nothing too serious (recording path changes, etc.).

I recommend you create a backup first. You can have a look at my personal tar backup procedure I did here (in french and doc needs reworking):
https://github.com/th0ma7/synology/wiki/TVHeadend
Note that it might not work as-is in your environment and you may need to adjust accordingly for your personal use case.

RE: Tvheadend packages for Synology NAS - Added by Rob Q about 5 years ago

Hi, I'm thinking of purchasing an Synology NAS and before I do that, how well does TVHeadend will work with the DS119j or the DS218j? I want to make sure it will run TVheadend without any issues. I believe the NAS will be running DSM 6.2.2.
Personally, I think this would make an awesome DVR.

RE: Tvheadend packages for Synology NAS - Added by D R almost 5 years ago

Vincent Fortier wrote:

Updated packages temporarily available here until hopefully published on SynoCommunity:
https://github.com/th0ma7/synology/tree/master/packages

thank you!
Manual update worked fine.

RE: Tvheadend packages for Synology NAS - Added by s k almost 5 years ago

Hi I installed the tvheadend in my DS918 nas - works fine. But all of a sudden it "automatically" stops! Is this due to NAS going to sleep? Has anybody had this issue?

RE: Tvheadend packages for Synology NAS - Added by s k almost 5 years ago

s k wrote:

Hi I installed the tvheadend in my DS918 nas - works fine. But all of a sudden it "automatically" stops! Is this due to NAS going to sleep? Has anybody had this issue?

I generate externally xmltv.xml file from schedulesdirect - Where do I move this file in the NAS folder structure for tvheadend to pick it up?. I see a folder structure /usr/tvheadend/

RE: Tvheadend packages for Synology NAS - Added by th0ma7 ^ almost 5 years ago

I documented a solution for that might be useful for you to improvise from, have a look at:
https://github.com/th0ma7/synology/wiki/TVHeadend:-5)-Guide-t%C3%A9l%C3%A9

RE: Tvheadend packages for Synology NAS - Added by Thomas D. almost 5 years ago

When starting an IPTV stream I get "Continuity counter errors". Any idea how to fix it? Thank you.

RE: Tvheadend packages for Synology NAS - Added by Piotr Kuchciak almost 5 years ago

Is any chance where i can download spk file for latest version TVHeadend for Nas Synoilogy DS713+ (platform cedarview) ?

(251-275/327)