tvheadend recordings

by ih8coriander

Greetings!

I've got tvheadend working on a Synology NAS and I've noticed that recordings are a hit-and-miss. Sometimes they work, other times I'll get audio only. I've gone through the tvheadend forums and it seems like it's a common enough problem that it's hard to get reliable recordings.

Is anyone successfully using tvheadend with IPTV streams? If so, would really appreciate any pointers. I'm piping the non .ts streams via ffmpeg.

Speaking of piping the streams... if you're looking for a way to modify your M3U file to add the pipe:/// stuff automagically so that you can keep up-to-date with your provider's M3U, this Python script I wrote might prove useful to you: https://pastebin.com/diTsf6X0

For example you can run something like this via cron:

m3u_pipe_wrapper.py -u http://url-to-provider.m3u -o /some/path/modified.m3u

You then configure your tvheadend network to point at file:///some/path/modified.m3u.

It's written for Python 2.x (and uses urllib2 instead of requests) as I wanted it to work on the Synology NAS without having to install any extra dependencies.

-bumbastick-

Thanks for the script. Ago 2 years ago I started to play with tvh and firt ran in on Synology. I have a ds213air, which is pretty weak to run tvh so I ran it on raspberry pi 3 and then on orange pi. Never tried to record on synology, but had no issues on rp or op device. Worked great.

Flo655

Go with m3u8 streams as they will be more reliable.