Opened 18 years ago
Closed 18 years ago
Last modified 18 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 Changed 18 years ago by
Milestone: | → 0.20 |
---|---|
Priority: | major → minor |
Version: | → head |
Changed 18 years ago by
Attachment: | dvb-multiple-eit2.diff added |
---|
comment:2 Changed 18 years ago by
Type: | defect → patch |
---|
comment:3 Changed 18 years ago by
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 Changed 18 years ago by
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 Changed 18 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Attached patch fixes it for me. I've addressed the comment in eithelper.cpp: