Since my slave machine next to my satellite cables is starting to fail, I thought I would try setting up IPTV from my master to a tvheadend talking to my satellite. This would allow me to replace the failing machine with a small box (such as Pi). I'd probably lose being able to record multiple channels on the same mux, but that's not a major issue.
The IPTV scan works fine, logging shows it using the correct URLs, and it detects and inserts channels. However he URL stored in iptv_channel is the same for all the channels rather than the one used for the individual channel scan. This means most channels are then not tunable. I think it always uses the URL for the first station alphabetically in the scan.
Code: Select all
delete from iptv_channel;
delete from channel where sourceid=3; -- my new source
m3u:
#EXTM3U
#EXTINF:-1,1087 - I HD
http://192.168.1.99:9981/stream/channelid/1605499487?profile=pass
#EXTINF:-1,1076 - Food
http://192.168.1.99:9981/stream/channelid/1474570394?profile=pass
#EXTINF:-1,1002 - 5
http://192.168.1.99:9981/stream/channelid/1793334538?profile=pass
etc
After the scan:
select count(*) from iptv_channel;
+----------+
| 171 |
+----------+
select distinct url from iptv_channel;
| http://192.168.1.99:9981/stream/channelid/1793334538?profile=pass |
i.e, only one URL is used for all 171 channels.
Tvheadend settings: I've tried several: but currently have "rewrite service id 0 (disabled)", and all these disabled: rewrite pmt, pat, sdt, eit. This then streams the channel with correct service id and also mentions other channels on the mux (according to ffprobe). The reason I'm using tvheadend is because it runs on small boxes and in the future could also talk to a replacement sat>ip box.
Is there an easier way to do this?
Anyone have any ideas?