Kodi Community Forum

Full Version: Recording problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
right, never tested this with activate epg disabled. you can create a trac ticket for this
in my case EPG is activated but just empty. Do you suggets to create a ticket too ?
that's the problem that needs the most recent xbmc master and possibly a db reset.
I've now built xbmc master and added a quick log print. Seems like iEpgUid is still intentionally assigned to -1 on the line below due to epgTag being null. I'll create a ticket. Should it go under "PVR - addon backend clients" or "PVR - core components"?

Code:
addonTimer.iEpgUid           = epgTag ? epgTag->UniqueBroadcastID() : -1;
Ticket #13885 created.
http://trac.xbmc.org/ticket/13885
just tested with the latest version and same behavior.
can't reproduce this
weird. It fails every time my epg is blank. Please note I'm not using same steps as glue. In my case I just have epg blank for some channels on the backend and then on XBMC.
I'll do the test again tonight with more debug. Which level do you recommend in advanced setting ?

Xavier
just enable debug logging and give me steps to reproduce
i've tried glue's problem, and couldn't reproduce. only noticed a problem when stopping a new recording when there's a time difference between backend and xbmc, that i've pushed a fix for.
very simple. I just tried to record by clicking on the red button on the channel but EPG is empty just because backend didn't send anything.
Image
Image
Code:
19:50:49 T:140735310401920   DEBUG: OnKey: right (f083) pressed, action is Right
19:50:50 T:140735310401920   DEBUG: Keyboard: scancode: 7c, sym: 0113, unicode: f703, modifier: 0
19:50:50 T:140735310401920   DEBUG: OnKey: right (f083) pressed, action is Right
19:50:51 T:140735310401920   DEBUG: Keyboard: scancode: 24, sym: 000d, unicode: 000d, modifier: 0
19:50:51 T:140735310401920   DEBUG: OnKey: return (f00d) pressed, action is Select
19:50:51 T:140735310401920   DEBUG: ExecuteXBMCAction : Translating PlayerControl(Record)
19:50:51 T:140735310401920   DEBUG: ExecuteXBMCAction : To PlayerControl(Record)
19:50:51 T:4544569344   DEBUG: AddOnLog: Tvheadend HTSP Client: AddTimer - channelUid=39 title=D8 epgid=-1
19:50:51 T:4544569344   DEBUG: AddOnLog: Tvheadend HTSP Client: GetBackendTime - tvheadend reported time=1357757450, timezone=-60, correction=-60
19:50:51 T:4544569344   ERROR: AddOnLog: Tvheadend HTSP Client: ReadResult - command failed - Channel does not exist
19:50:51 T:4544569344   DEBUG: CAddonCallbacksAddon - QueueNotification - Tvheadend HTSP Client - Error Message : 'Command failed: Channel does not exist'
19:50:51 T:140735310401920   DEBUG: ------ Window Init (DialogKaiToast.xml) ------
19:50:51 T:4544569344   DEBUG: AddOnLog: Tvheadend HTSP Client: AddTimer - Failed to get addDvrEntry
19:50:51 T:4544569344   ERROR: PVR - AddTimer - addon 'HTS Tvheadend:192.168.0.76:9982' returned an error: rejected by the backend
19:50:51 T:4544569344   ERROR: PVR - AddTimer - cannot add timer to client '1': rejected by the backend
19:50:51 T:140735310401920   DEBUG: ------ Window Init (DialogOK.xml) ------
19:50:51 T:140735310401920    INFO: Loading skin file: DialogOK.xml, load type: KEEP_IN_MEMORY
19:50:52 T:4545802240 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
19:50:52 T:140735310401920   DEBUG: Keyboard: scancode: 00, sym: 0136, unicode: 0000, modifier: 0
19:50:52 T:140735310401920   DEBUG: GetActionCode: Trying Hardy keycode for 0xf200
19:50:52 T:140735310401920   DEBUG: Previous line repeats 2 times.
Pretty sure that happens because TVHeadend itself cannot add a recording without an event. If the EPG for that channel is empty in TVH, it won't have anything to record.
I don't think so because there is nothing in the PVR log
it used to support this just fine without an epg event. might be some issue in xbmc after all
(2013-01-08, 03:26)dushmaniac Wrote: [ -> ]can't reproduce this

what is epgid set to when you start recording without available epg?
(2012-12-31, 12:28)dushmaniac Wrote: [ -> ]
(2012-12-31, 10:58)glue Wrote: [ -> ]I think I may have located something interesting in the addon source HTSPData.cpp. From the logs, epgid (=timer.iEpgUid) = -1 when there's no EPG. I'm thinking the if condition below will be true as timer.iEpgUid<>0. The else clause will not be executed and channelId will never be set. With no valid epg or channel, tvheadend function htsp_method_addDvrEntry will fail with htsp_error("Channel does not exist"). Comments?
this code is correct. it either needs the epg event id or channelid+start+end

the problem should be fixed in xbmc's current master. reset the pvr database if it's not fixed for you

(2013-01-10, 09:14)glue Wrote: [ -> ]
(2013-01-08, 03:26)dushmaniac Wrote: [ -> ]can't reproduce this

what is epgid set to when you start recording without available epg?

Never mind. I just pulled the latest xbmc pvr addons from git and I noticed the condition in the code I found interesting had now been changed. Seems like there was a problem after all and it was fixed by this commit:
https://github.com/opdenkamp/xbmc-pvr-ad...5120883b46

After building the latest addon from git I no longer see the problem.


Pages: 1 2 3