Linux Radio channels in TV group - still happening! fixed in pvr-hts 1.6.13
#1
I see a prior thread on this but I think there is an issue/bug still outstanding. I'm on OpenELEC - Version: 2.99.1 (Frodo RC3) and have the latest version of HTS Tvheadend - 3.3.328~g60371b0. I deleted the TV22.db and Epg.7 to give me a clean start and enabled Tvheadend. This populated the TV and Radio channel lists correctly and gave me a correct EPG display. My situation is pretty simple - one DVB-T multiplex with 6 TV and 10 Radio channels.

I tuned in a radio channel and after about 20 minutes at exactly the top of the hour (17.00) there are entries in the xbmc log which indicate that the channel groups are being updated and resulted in 4 radio channels being deleted from the list and moved into the tv channels group. I did not do this - seemed to be triggered internally. When I look at the Tvheadend web interface the TV and radio channels are correct and unchanged. Only the internal grouping within xbmc is changed. Extract from the xbmc log is below. The full xbmc log is here - http://pastebin.com/88br95h4

Code:
17:00:00 T:140666461996800   DEBUG: CPVRChannelGroupsContainer - Update - updating channels
17:00:00 T:140666461996800    INFO: PVRChannelGroup - RemoveDeletedChannels - deleted radio channel 'RTÉ Chill / RTÉ Junior' from group 'All radio channels'
17:00:00 T:140666461996800   DEBUG: deleting EPG table RTÉ Chill / RTÉ Junior (10)
17:00:00 T:140666461996800   DEBUG: PVR - Delete - deleting channel 'RTÉ Chill / RTÉ Junior' from the database
17:00:00 T:140665719604992 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
17:00:00 T:140666461996800 WARNING: Previous line repeats 2 times.
17:00:00 T:140666461996800    INFO: PVRChannelGroup - RemoveDeletedChannels - deleted radio channel 'RTÉ Choice' from group 'All radio channels'
17:00:00 T:140666461996800   DEBUG: deleting EPG table RTÉ Choice (8)
17:00:00 T:140665719604992 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
17:00:00 T:140666461996800   DEBUG: PVR - Delete - deleting channel 'RTÉ Choice' from the database
17:00:00 T:140666461996800    INFO: PVRChannelGroup - RemoveDeletedChannels - deleted radio channel 'RTÉ 2XM' from group 'All radio channels'
17:00:00 T:140666461996800   DEBUG: deleting EPG table RTÉ 2XM (7)
17:00:01 T:140666461996800   DEBUG: PVR - Delete - deleting channel 'RTÉ 2XM' from the database
17:00:01 T:140665719604992 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
17:00:01 T:140666461996800 WARNING: Previous line repeats 2 times.
17:00:01 T:140666461996800    INFO: PVRChannelGroup - RemoveDeletedChannels - deleted radio channel 'RTÉ Raidió na Gaeltachta' from group 'All radio channels'
17:00:01 T:140666461996800   DEBUG: deleting EPG table RTÉ Raidió na Gaeltachta (5)
17:00:01 T:140666461996800   DEBUG: PVR - Delete - deleting channel 'RTÉ Raidió na Gaeltachta' from the database
17:00:01 T:140666461996800    INFO: PVRChannelGroupInternal - AddAndUpdateChannels - updated radio channel 'RTÉ 2FM'
17:00:01 T:140666461996800    INFO: PVRChannelGroupInternal - AddAndUpdateChannels - updated radio channel 'RTÉ Radio 1 Extra'
17:00:01 T:140666461996800    INFO: PVRChannelGroupInternal - AddAndUpdateChannels - updated radio channel 'RTÉ Gold'
17:00:01 T:140666461996800    INFO: PVRChannelGroupInternal - AddAndUpdateChannels - updated radio channel 'RTÉ Pulse'
17:00:01 T:140666461996800    INFO: PVRChannelGroupInternal - AddAndUpdateChannels - updated radio channel 'RTÉ Radio 1'
17:00:01 T:140666461996800    INFO: PVRChannelGroupInternal - AddAndUpdateChannels - updated radio channel 'RTÉ Lyric FM'
17:00:01 T:140666461996800   DEBUG: CPVRChannelGroup - Persist - persisting channel group 'All radio channels' with 6 channels
17:00:01 T:140665719604992 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
17:00:02 T:140666461996800 WARNING: Previous line repeats 1 times.
17:00:02 T:140666461996800   DEBUG: CPVRChannelGroup - Persist - persisting channel group 'All radio channels' with 6 channels
17:00:02 T:140665719604992 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
17:00:02 T:140666461996800 WARNING: Previous line repeats 1 times.
17:00:02 T:140666461996800   DEBUG: PVR - PersistAll - persisting all changes in channel groups
17:00:02 T:140666461996800   DEBUG: CPVRChannelGroup - Persist - persisting channel group 'All radio channels' with 6 channels
Odroid N2+ and Venz V10Pro (S905X), Sony DN1080 AVR, Samsung 49" LCD, Monitor Audio Bronze 5.1 speakers
Reply
#2
EDIT: sorry guys, after upgrading to this version of XBMC 12.0~git20130112.2341-rc3-3precise I can't even watch TV or Radio, all PVR-Plugins are gone, I will opt out as long as I can't help somehow with logs or something...

EDIT-END


Confirmed here, still happens sometimes. I can't reproduce it, it just happens, but I believe that it only happens when I'am watching TV.

My sys-specs are still like in here : http://forum.xbmc.org/showthread.php?tid=150455 but with newer XBMC + TVHeadend


My System:
Ubuntu 12.04.01 -- Linux 3.2.0-35-generic x86_64
XBMC (12.0~git20130112.2341-rc3-3precise from wsnipex repo)
TVHeadend: Build: 3.3.357~g1820b61-dirty
DVB-C: Terratec HTC USB
Motherboard+CPU: AMD E-350

Resetting the DB only helps for a short time (can't say exactly how long...)
Reply
#3
I think I have identified the circumstance in which the radio channels are being moved into the TV group. It's to do with EIT event handling.

I started with 10 radio channels and 8 TV channels. I now have 17 channels in the TV group, 9 of which are actually radio channels. It seems that when a radio programme ends and a new one begins, the EIT handler in TVheadend generates events as follows:

Jan 14 19:00:00 epg: arm channel timer @ 1358197200 for RTÉ Chill / RTÉ Junior
Jan 14 19:00:00 epg: inform HTSP of now event change on RTÉ Chill / RTÉ Junior
Jan 14 19:00:00 epg: expire event 1277 from RTÉ Radio 1 Extra
Jan 14 19:00:00 epg: now/next 1279/1281 set on RTÉ Radio 1 Extra
Jan 14 19:00:00 epg: arm channel timer @ 1358191800 for RTÉ Radio 1 Extra
Jan 14 19:00:00 epg: inform HTSP of now event change on RTÉ Radio 1 Extra
Jan 14 19:00:00 epg: expire event 2487 from RTÉ Radio 1
Jan 14 19:00:00 epg: now/next 2489/2491 set on RTÉ Radio 1
Jan 14 19:00:00 epg: arm channel timer @ 1358191800 for RTÉ Radio 1
Jan 14 19:00:00 epg: inform HTSP of now event change on RTÉ Radio 1
Jan 14 19:00:00 epg: expire event 1587 from RTÉ Pulse
Jan 14 19:00:00 epg: now/next 1589/1591 set on RTÉ Pulse
Jan 14 19:00:00 epg: arm channel timer @ 1358197200 for RTÉ Pulse
Jan 14 19:00:00 epg: inform HTSP of now event change on RTÉ Pulse
Jan 14 19:00:00 epg: expire event 1461 from RTÉ Lyric FM
Jan 14 19:00:00 epg: now/next 1463/1465 set on RTÉ Lyric FM
Jan 14 19:00:00 epg: arm channel timer @ 1358193600 for RTÉ Lyric FM
Jan 14 19:00:00 epg: inform HTSP of now event change on RTÉ Lyric FM



xbmc seems to handle those event changes incorrectly for radio programmes and actually deletes the entries from the "All Radio Channels" group and they are placed into the "All TV Channels" group - although without any EPG information. See below:


Code:
19:00:00 T:140666461996800   DEBUG: CPVRChannelGroupsContainer - Update - updating channels
19:00:00 T:140666461996800    INFO: PVRChannelGroup - RemoveDeletedChannels - deleted radio channel 'RTÉ Radio 1 Extra' from group 'All radio channels'
19:00:00 T:140666461996800   DEBUG: deleting EPG table RTÉ Radio 1 Extra (2)
19:00:00 T:140666461996800   DEBUG: PVR - Delete - deleting channel 'RTÉ Radio 1 Extra' from the database
19:00:00 T:140666461996800    INFO: PVRChannelGroup - RemoveDeletedChannels - deleted radio channel 'RTÉ Radio 1' from group 'All radio channels'
19:00:00 T:140666461996800   DEBUG: deleting EPG table RTÉ Radio 1 (1)
19:00:00 T:140666461996800   DEBUG: PVR - Delete - deleting channel 'RTÉ Radio 1' from the database
19:00:01 T:140666461996800    INFO: PVRChannelGroupInternal - AddAndUpdateChannels - updated radio channel 'RTÉ 2FM'
19:00:01 T:140666461996800    INFO: PVRChannelGroupInternal - AddAndUpdateChannels - updated radio channel 'RTÉ Gold'
19:00:01 T:140666461996800    INFO: PVRChannelGroupInternal - AddAndUpdateChannels - updated radio channel 'RTÉ Pulse'
19:00:01 T:140666461996800   DEBUG: CPVRChannelGroup - Persist - persisting channel group 'All radio channels' with 5 channels
19:00:02 T:140666461996800   DEBUG: Previous line repeats 1 times.
19:00:02 T:140666461996800   DEBUG: PVR - PersistAll - persisting all changes in channel groups
19:00:02 T:140666461996800   DEBUG: CPVRChannelGroup - Persist - persisting channel group 'All radio channels' with 5 channels
19:00:02 T:140666461996800    INFO: PVRChannelGroupInternal - AddAndUpdateChannels - updated TV channel 'TG4'
19:00:02 T:140666461996800    INFO: PVRChannelGroupInternal - AddAndUpdateChannels - updated TV channel '3e'
19:00:02 T:140666461996800    INFO: PVRChannelGroupInternal - AddAndUpdateChannels - added TV channel 'RTÉ 2FM'
19:00:02 T:140666461996800    INFO: PVRChannelGroupInternal - AddAndUpdateChannels - updated TV channel 'RTÉ Choice'
19:00:02 T:140666461996800    INFO: PVRChannelGroupInternal - AddAndUpdateChannels - updated TV channel 'TV3'
19:00:02 T:140666461996800    INFO: PVRChannelGroupInternal - AddAndUpdateChannels - updated TV channel 'RTÉ Two'
19:00:02 T:140666461996800    INFO: PVRChannelGroupInternal - AddAndUpdateChannels - updated TV channel 'RTÉ Raidió na Gaeltachta'
19:00:02 T:140666461996800    INFO: PVRChannelGroupInternal - AddAndUpdateChannels - added TV channel 'RTÉ 2XM'
19:00:02 T:140666461996800    INFO: PVRChannelGroupInternal - AddAndUpdateChannels - updated TV channel 'RTÉjr'
19:00:02 T:140666461996800    INFO: PVRChannelGroupInternal - AddAndUpdateChannels - added TV channel 'RTÉ Radio 1 Extra'
19:00:02 T:140666461996800    INFO: PVRChannelGroupInternal - AddAndUpdateChannels - added TV channel 'RTÉ Pulse'
19:00:02 T:140666461996800    INFO: PVRChannelGroupInternal - AddAndUpdateChannels - added TV channel 'RTÉ Radio 1'
19:00:02 T:140666461996800    INFO: PVRChannelGroupInternal - AddAndUpdateChannels - updated TV channel 'RTÉ Chill / RTÉ Junior'
19:00:02 T:140666461996800    INFO: PVRChannelGroupInternal - AddAndUpdateChannels - updated TV channel 'RTÉ News Now'
19:00:02 T:140666461996800    INFO: PVRChannelGroupInternal - AddAndUpdateChannels - added TV channel 'RTÉ Lyric FM'
19:00:02 T:140666461996800    INFO: PVRChannelGroupInternal - AddAndUpdateChannels - updated TV channel 'RTÉ One +1'
19:00:02 T:140666461996800   DEBUG: CPVRChannelGroup - Persist - persisting channel group 'All TV channels' with 17 channels
19:00:03 T:140666461996800   DEBUG: Previous line repeats 1 times.
19:00:03 T:140666461996800   DEBUG: PVR - PersistAll - persisting all changes in channel groups
19:00:03 T:140666461996800   DEBUG: CPVRChannelGroup - Persist - persisting channel group 'All TV channels' with 17 channels
19:00:03 T:140665702819584 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
19:00:03 T:140666461996800   DEBUG: CPVRChannelGroupsContainer - Update - updating channels
19:00:03 T:140666461996800    INFO: PVRChannelGroup - RemoveDeletedChannels - deleted radio channel 'RTÉ 2XM' from group 'All radio channels'
19:00:03 T:140666461996800   DEBUG: PVR - Delete - deleting channel 'RTÉ 2XM' from the database
19:00:03 T:140666461996800    INFO: PVRChannelGroup - RemoveDeletedChannels - deleted radio channel 'RTÉ Pulse' from group 'All radio channels'
19:00:03 T:140666461996800   DEBUG: deleting EPG table RTÉ Pulse (6)
19:00:03 T:140666461996800   DEBUG: PVR - Delete - deleting channel 'RTÉ Pulse' from the database
19:00:03 T:140666461996800    INFO: PVRChannelGroup - RemoveDeletedChannels - deleted radio channel 'RTÉ Lyric FM' from group 'All radio channels'
19:00:03 T:140666461996800   DEBUG: deleting EPG table RTÉ Lyric FM (4)
etc..etc..
An S3 suspend will re-instate the correct radio and tv channels in their groups, although the EPG data for the originally deleted radio channels is gone. A full re-boot and re-start reinstates the channel groups correctly and the relevant EPG data.

Once the tuner is active and processing EIT data (while you are watching TV or listening to radio) then the radio channels start dropping off as a programme ends.
Odroid N2+ and Venz V10Pro (S905X), Sony DN1080 AVR, Samsung 49" LCD, Monitor Audio Bronze 5.1 speakers
Reply
#4
Using openelec aswell and noticed this today after tvheadend automatically updated to version 3.3.328~g60371b0 overnight.
Reply
#5
Have put a bug report #13982 in the trac system
Odroid N2+ and Venz V10Pro (S905X), Sony DN1080 AVR, Samsung 49" LCD, Monitor Audio Bronze 5.1 speakers
Reply
#6
and closed again, trac is not for add-ons (any more). tvheadend is providing invalid data to us if this happens
opdenkamp / dushmaniac

xbmc-pvr [Eden-PVR builds] [now included in mainline XBMC, so no more source link here :)]
personal website: [link]

Found a problem with PVR? Report it on Trac, under "PVR - core components". Please attach the full debug log.

If you like my work, please consider donating to me and/or Team XBMC.
Reply
#7
(2013-01-17, 02:33)dushmaniac Wrote: and closed again, trac is not for add-ons (any more). tvheadend is providing invalid data to us if this happens

Ok thanks. It's a bit difficult to judge as a user if new or changed status codes in tvheadend are causing the xbmc client (1.6.10) to corrupt the tv22.db channel group settings. Maybe the client needs more robust checking of status data from tvheadend?

Do I take this error up with adamsutton now?

EDIT - Have actually raised a bug/issue report on lonlycoder!
Odroid N2+ and Venz V10Pro (S905X), Sony DN1080 AVR, Samsung 49" LCD, Monitor Audio Bronze 5.1 speakers
Reply
#8
(2013-01-17, 02:33)dushmaniac Wrote: and closed again, trac is not for add-ons (any more). tvheadend is providing invalid data to us if this happens

...and rejected by adamsutton

Issue #1543 has been updated by Adam Sutton.

Status changed from New to Rejected

This is almost certainly not a bug in TVH, but instead a bug in pvr.hts (as noted above and elsewhere) and therefore should be registered accordingly.

I did start to take a look at the pvr.hts code for handling this, but got sidetracked. Please report @ http://github.com/opdenkamp/xbmc-pvr-addons.

Adam


... this is not easy for a non-developer to report if I have to register on two (and now three) bug reporting systems! Can you take ownership of the issue dushmaniac/opdenkamp?
Odroid N2+ and Venz V10Pro (S905X), Sony DN1080 AVR, Samsung 49" LCD, Monitor Audio Bronze 5.1 speakers
Reply
#9
pvr.hts is not doing anything wrong. this is tvheadend that is providing the data to us
opdenkamp / dushmaniac

xbmc-pvr [Eden-PVR builds] [now included in mainline XBMC, so no more source link here :)]
personal website: [link]

Found a problem with PVR? Report it on Trac, under "PVR - core components". Please attach the full debug log.

If you like my work, please consider donating to me and/or Team XBMC.
Reply
#10
(2013-01-17, 16:51)dushmaniac Wrote: pvr.hts is not doing anything wrong. this is tvheadend that is providing the data to us

Maybe you should have a chat with adamsutton, then - I'm just a user providing detailed info and logging of a problem which has been rejected by both ends of the chain Confused
Odroid N2+ and Venz V10Pro (S905X), Sony DN1080 AVR, Samsung 49" LCD, Monitor Audio Bronze 5.1 speakers
Reply
#11
which version of the pvr.hts are you using?
opdenkamp / dushmaniac

xbmc-pvr [Eden-PVR builds] [now included in mainline XBMC, so no more source link here :)]
personal website: [link]

Found a problem with PVR? Report it on Trac, under "PVR - core components". Please attach the full debug log.

If you like my work, please consider donating to me and/or Team XBMC.
Reply
#12
It's 1.6.10 (as provided in the Openelec Frod RC3 package). I did force an update of all add-ons before I started the thread but still on 1.6.10
Odroid N2+ and Venz V10Pro (S905X), Sony DN1080 AVR, Samsung 49" LCD, Monitor Audio Bronze 5.1 speakers
Reply
#13
aha! that's an old version, we're at 1.6.17 now.
so your openelec build is using an old version
opdenkamp / dushmaniac

xbmc-pvr [Eden-PVR builds] [now included in mainline XBMC, so no more source link here :)]
personal website: [link]

Found a problem with PVR? Report it on Trac, under "PVR - core components". Please attach the full debug log.

If you like my work, please consider donating to me and/or Team XBMC.
Reply
#14
so it is a bug which has been fixed? I just didn't see a report of it in any of the trackers which is why I reported the problem. I can bump the add-ons again and see if a higher version is in the repository. I have no problem waiting for a fix, it's just that it is frustrating to be told that it's a "non-error" by both ends of the chain!
Odroid N2+ and Venz V10Pro (S905X), Sony DN1080 AVR, Samsung 49" LCD, Monitor Audio Bronze 5.1 speakers
Reply
#15
see https://github.com/opdenkamp/xbmc-pvr-ad...og.txt#L20

edit: and yes, it's engrish Tongue
opdenkamp / dushmaniac

xbmc-pvr [Eden-PVR builds] [now included in mainline XBMC, so no more source link here :)]
personal website: [link]

Found a problem with PVR? Report it on Trac, under "PVR - core components". Please attach the full debug log.

If you like my work, please consider donating to me and/or Team XBMC.
Reply

Logout Mark Read Team Forum Stats Members Help
Radio channels in TV group - still happening! fixed in pvr-hts 1.6.130