Ticket #7701 (new defect)
Opened 2 years ago
Last modified 11 days ago
EIT does not get updated when inserting transponders manually
| Reported by: | martin@… | Owned by: | stuarta |
|---|---|---|---|
| Priority: | minor | Milestone: | unknown |
| Component: | MythTV - EIT | Version: | Master Head |
| Severity: | medium | Keywords: | |
| Cc: | Ticket locked: | no |
Description
If somebody adds the transponders manually or imports a channel.conf file, the TID and NID does not get updated in the dtv_multiplex table. This seems to not harm the ability of viewing Live TV; but the EITScanner is unable to get the Guide data.
Additionally theres no field in the "add transponders" - menu of mythtv-setup to insert them.
As long as a "Full Scan" on a frequency is performed - TID and NID are inserted correctly. Do a full scan or insert the right values in the dtv_multiplex table and the EITScanner works.
Attachments
Change History
comment:1 in reply to: ↑ description Changed 2 years ago by anonymous
comment:3 Changed 22 months ago by mythtv@…
This also appears to have the side affect of crashing the DVB-T HDHomerun
If a mux hasnt been correctly updated with the TID or NID attempting to view any channel within it causes the mythbackend log to fill up with:
"HDHRSH::TunerSet?() Failed. Trying qam_16:546000000" (number depending on the mux)
The frontend then dumps with an 'irrecoverable tuner error' and the backend eventually crashes.
Inserting the TID or NID manually, or by a full scan fixes this
comment:4 Changed 19 months ago by glemsom@…
I can confirm this issue is still in mythtv-0.23@25427.
Some users are relying on importing a channel.conf - since a full-scan from MythTV does not find all channels (NOT related to this bug!).
comment:6 Changed 18 months ago by niels@…
I found a related problem, ie the EIT scanner is correctly activated etc, but no EIT data is processed. After some debugging it seems the dvbstreamdata isn't activated, but just the mpegstreamdata. Sofar I found that in tv_rec.cpp TVRec::SetupDTVSignalMonitor, the tuningmode isn't equal to 'dvb' but has 'mpeg'. When I remove the extra check on tuningmode == dvb, the EIT scanner starts to function. Hope this helps in finding why EIT seems to fail.
comment:7 Changed 18 months ago by stuarta
Hmmmm, if the channels are marked as "mpeg" and not as "dvb" then that is potentially a problem in the channel scanner rather than in EIT itself.
Stuart
comment:8 Changed 18 months ago by Niels Nes <niels@…>
could I check the mysql dtv* or channels table to see if the channel scanner made some mistake. Channels were scanned in the channels.conf/delete all/scan - using known transports.
Niels
comment:9 Changed 18 months ago by Niels Nes <niels@…>
could it be that sistandard in the dtv_multiplex should be filled in (now empty) for all transports?
comment:10 Changed 18 months ago by Niels Nes <niels@…>
After setting the dtv_multiplex.sistandard for my dvb-c cards to dvb, the non-patched version also works. ie when loading the transports via channel.conf may also have caused the problem.
comment:11 Changed 18 months ago by stuartm
We have always stated that EIT would not work if channels are imported via channels.conf and that's why we do not recommend the use of channels.conf instead of the internal scanner.
Yes the internal scanner has it's faults, but too few users bother to report them meaning they will never get fixed.
comment:12 Changed 18 months ago by Niels Nes <niels@…>
the internal scanner failed indeed, but could very well be caused by a bad cable (did that scan some time ago). For various posts I saw that EIT doesn't work with channels.conf. Some however do report success with re-using the transports from this scan. That clearly doesn't work if the networkid and sistandard aren't correct. All fixable by a simple (for dvb only setup)
update dtv_multiplex set networkid = <networkid>, sistandard = 'dvb'; anyway thanks for the help.
comment:13 Changed 4 months ago by anonymous@…
I can confirm that problem still there. Rescanning from channels.conf kills EID. Manual tuned scan makes it works.
mythbackend version: branches/release-0-22-fixes [22594] www.mythtv.org
If somebody adds the transponders manually or imports a channel.conf file, the TID and NID does not get updated in the dtv_multiplex table. This seems to not harm the ability of viewing Live TV; but the EITScanner is unable to get the Guide data.
Additionally theres no field in the "add transponders" - menu of mythtv-setup to insert them.
As long as a "Full Scan" on a frequency is performed - TID and NID are inserted correctly. Do a full scan or insert the right values in the dtv_multiplex table and the EITScanner works.
comment:2 Changed 20 months ago by Kaacz
still same in trunk [23330] too ..
comment:3 Changed 18 months ago by mythtv@…
This also appears to have the side affect of crashing the DVB-T HDHomerun
If a mux hasnt been correctly updated with the TID or NID attempting to view any channel within it causes the mythbackend log to fill up with:
"HDHRSH::TunerSet??() Failed. Trying qam_16:546000000" (number depending on the mux)
The frontend then dumps with an 'irrecoverable tuner error' and the backend eventually crashes.
Inserting the TID or NID manually, or by a full scan fixes this
comment:4 Changed 14 months ago by glemsom@…
I can confirm this issue is still in mythtv-0.23@25427. Some users are relying on importing a channel.conf - since a full-scan from MythTV does not find all channels (NOT related to this bug!).
comment:5 Changed 14 months ago by robertm
Status changed from new to assigned comment:6 Changed 14 months ago by niels@…
I found a related problem, ie the EIT scanner is correctly activated etc, but no EIT data is processed. After some debugging it seems the dvbstreamdata isn't activated, but just the mpegstreamdata. Sofar I found that in tv_rec.cpp TVRec::SetupDTVSignalMonitor, the tuningmode isn't equal to 'dvb' but has 'mpeg'. When I remove the extra check on tuningmode == dvb, the EIT scanner starts to function. Hope this helps in finding why EIT seems to fail.
comment:7 Changed 14 months ago by stuarta
Hmmmm, if the channels are marked as "mpeg" and not as "dvb" then that is potentially a problem in the channel scanner rather than in EIT itself.
Stuart
comment:8 Changed 14 months ago by Niels Nes <niels@…>
could I check the mysql dtv* or channels table to see if the channel scanner made some mistake. Channels were scanned in the channels.conf/delete all/scan - using known transports.
Niels
comment:9 Changed 14 months ago by Niels Nes <niels@…>
could it be that sistandard in the dtv_multiplex should be filled in (now empty) for all transports?
comment:10 Changed 14 months ago by Niels Nes <niels@…>
After setting the dtv_multiplex.sistandard for my dvb-c cards to dvb, the non-patched version also works. ie when loading the transports via channel.conf may also have caused the problem.
comment:11 Changed 14 months ago by stuartm
We have always stated that EIT would not work if channels are imported via channels.conf and that's why we do not recommend the use of channels.conf instead of the internal scanner.
Yes the internal scanner has it's faults, but too few users bother to report them meaning they will never get fixed.
comment:12 Changed 14 months ago by Niels Nes <niels@…>
the internal scanner failed indeed, but could very well be caused by a bad cable (did that scan some time ago). For various posts I saw that EIT doesn't work with channels.conf. Some however do report success with re-using the transports from this scan. That clearly doesn't work if the networkid and sistandard aren't correct. All fixable by a simple (for dvb only setup)
Comprar el Dolar Hoy
update dtv_multiplex set networkid = <networkid>, sistandard = 'dvb'; anyway thanks for the help.
comment:14 Changed 4 months ago by stuartm
- Status changed from assigned to closed
- Resolution set to Invalid
- Ticket locked set
As stated a year ago, this isn't a bug, it's a limitation of using channel.conf instead of the internal scanner. Closing this as invalid since it's at best a feature request without patch - at worst it's about extending a temporary workaround instead of fixing internal scanner bugs.
Changed 4 weeks ago by dekarl@…
-
attachment
0005-Teach-DTVMultiplex-and-the-channels.conf-importer-ab.patch
added
patch written to file format description (untested)
Changed 4 weeks ago by dekarl@…
-
attachment
0001-unbreak-the-channels.conf-importer-for-DVB.patch
added
extended patch, now with more brains
Changed 4 weeks ago by dekarl@…
-
attachment
0001-unbreak-DVB-channels.conf-compile-tested.patch
added
third version, now compiles without error, doh.
comment:15 Changed 11 days ago by stuartm
- Status changed from closed to new
- Resolution Invalid deleted
- Version changed from 0.22-fixes to Master Head
- Ticket locked unset

Replying to martin@…:
I can confirm that problem still there. Rescanning from channels.conf kills EID. Manual tuned scan makes it works.
mythbackend version: branches/release-0-22-fixes [22594] www.mythtv.org