Opened 20 years ago
Closed 20 years ago
Last modified 20 years ago
#1155 closed defect (fixed)
EIT helper only updates first DVB card's EPG data
Reported by: | Owned by: | danielk | |
---|---|---|---|
Priority: | minor | Milestone: | 0.20 |
Component: | dvb | Version: | head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
I have just added a second DVB card to my system. The first DVB card continues to get updated EPG data from the UK DVB EPG. The second card has no data for any of its channels.
In my logs I see, for example,
2006-01-30 17:03:14.436 MSqlQuery: SELECT chanid, useonairguide FROM channel, dtv_multiplex WHERE serviceid = 14592 AND networkid = 9018 AND transportid = 12290 AND channel.mplexid = dtv_multiplex.mplexid
Running this in mysql gives me
+--------+---------------+ | chanid | useonairguide | +--------+---------------+ | 1196 | 1 | | 6196 | 1 | +--------+---------------+
but the code in eithelper.cpp only uses the first chanid for updating the database. The second chanid is discarded.
Attachments (1)
Change History (7)
comment:1 by , 20 years ago
Milestone: | → 0.20 |
---|---|
Priority: | major → minor |
Version: | → head |
by , 20 years ago
Attachment: | dvb-multiple-eit2.diff added |
---|
comment:2 by , 20 years ago
Type: | defect → patch |
---|
comment:3 by , 20 years ago
Type: | patch → defect |
---|
I'm not going to use the patch since this code will be changed greatly in the EIT rewrite.
But I'm keeping the ticket open.
Can you describe what is happening in more detail. Am I to understand that when card 2 does a scan it never inserts anything because it gets the mplexid for the same channel on card 1, and when finds that it doesn't match the current channel it tosses the data?
comment:4 by , 20 years ago
The code as written takes the first result from the query that I pasted in and discards the others, so the channel data for card 1 gets updated every time, even though the data originated from card 2. So no data ever gets inserted for card 2's channels, just for card 1's channels.
Can I pursuade you to use the patch as an interim measure? -- it's not very invasive...
comment:5 by , 20 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Attached patch fixes it for me. I've addressed the comment in eithelper.cpp: