adamsutton / tvheadend

Tvheadend is a TV streaming server for Linux supporting DVB-S, DVB-S2, DVB-C, DVB-T, ATSC, IPTV, and Analog video (V4L) as input sources.
http://www.lonelycoder.com/hts/tvheadend_overview.html
Other
18 stars 5 forks source link

[dvb_rewrite] Automatic channel mapping does not work. #84

Closed Lu-Fi closed 10 years ago

Lu-Fi commented 10 years ago

It looks like service_mapper cannot acces the channels since epggrap uses the adapter.

Another Problem is, that service_mapper hang on one channel in case of some transport errors. This was happen on an paytv channel. On my system cwc is configured for some channels.

2013-10-03 21:44:18.055 TS: 810000/Kino HD: Transport error indicator, 25 duplicate log lines suppressed 2013-10-03 21:44:19.863 TS: 810000/Kino HD: Transport error indicator, 26 duplicate log lines suppressed 2013-10-03 21:44:21.927 TS: 810000/Kino HD: Transport error indicator, 27 duplicate log lines suppressed 2013-10-03 21:44:22.142 TS: 810000/Kino HD: Transport error indicator, 28 duplicate log lines suppressed

adamsutton commented 10 years ago

Turns out this is broken on 3 fronts (one of which is a design flaw):

  1. Subscription weight is wrong, it should be higher than EPG.
  2. It fails to timeout the attempt, i.e. it tries the first channel and then fails (not even sure if it works if it manages to tune the channel)
  3. It only tries 1 service at a time, which is not correct, since in a multi-tuner setup that's unnecessarily slow.
adamsutton commented 10 years ago

I think I've found the main issue, i.e. the not timing out attempts. It's a change in the logic of the subscription engine that has broken some things. So needs a bit of thought, but shouldn't be a big problem.

adamsutton commented 10 years ago

Just about got things sorted, but I need to tidy up the code, I've been hacking all over the place so need to unpick all the crap.

Lu-Fi commented 10 years ago

Let me know if i should Test again.

adamsutton commented 10 years ago

@lfiebach should be fixed now. There are still some issues surrounding service mapping. Like how to get it to automatically determine data services etc..., since currently most of these are assumed to be radio as a result of them including an audio stream.

But I think that's going to be future work.