Posts: 2,274
Joined: Feb 2009
Reputation:
30
opdenkamp
Retired Team-Kodi Member
Posts: 2,274
I haven't spend time on getting the recordings into the library. dteirney said on irc he wanted to spend time on that a couple of weeks ago.
we'll probably could use some more metadata on the interface for recordings. most of the metadata that is in there now is vdr specific and will be removed later. just didn't do it yet cause I didn't check whether vdr uses that somewhere.
that programid is something specific to myth. it's not available on any other pvr backend as far as I can see. so I won't add it to the interface in that form.
if dteirney hasn't implemented recordings in the library after the binary add-on interface is implemented, I'll have a look at it myself.
the recording infotag extends from videoinfotag, so if metadata is to be added to the interface, it should be members of those tags.
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.
Posts: 2,274
Joined: Feb 2009
Reputation:
30
opdenkamp
Retired Team-Kodi Member
Posts: 2,274
I forgot to mention something which is important for add-on authors:
the pvrmanager no longer "auto updates" timers, channels, recordings and channel groups. if something changed on the backend and if you think the pvrmanager needs to update it's data, you call a trigger:
TriggerTimerUpdate - when timers need to be updated in xbmc
TriggerRecordingsUpdate - same for recordings
TriggerChannelsUpdate - for channels
TriggerChannelGroupsUpdate - for channel groups
these triggers currently update the data from all connected backends, which will be changed later so only the data from the add-on that calls the trigger will be updated.
as you might expect from something called "trigger": all updates are async.
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.
Posts: 2,274
Joined: Feb 2009
Reputation:
30
opdenkamp
Retired Team-Kodi Member
Posts: 2,274
and yet another change, but minor this time: instant timers (recordings that are started immediately on the channel that is currently playing) will have their start time set to 0/invalid. I'm changing this because a time difference between xbmc and the backend might prevent these instant timers from working correctly.
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.
Posts: 21
Joined: Jun 2010
Reputation:
0
danips
Junior Member
Posts: 21
Hello dushmaniac,
is there any plan for adding triggers to force the update of the EPG info?
I think it would be useful because I am having this problem: if I launch my test addon and I haven't the complete EPG info for the actual day, the first chronological program found is stretched down to the beginning of the timeline. And then I have to wait the "EPG update interval" (15 minutes minimum) in order to be asked again for the EPG info and get a correct timeline.
BTW is this the correct behaviour? I think I remember it was leaving a blank gap if there was no program at he beginning of the timeline in earlier versions.
Posts: 2,274
Joined: Feb 2009
Reputation:
30
opdenkamp
Retired Team-Kodi Member
Posts: 2,274
that's a bug in the timeline view. the actual event isn't "stretched", as you can see in the
"now playing" lines in the channels list, where it will say "no information available".
I'll add a trigger to update the epg later.
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.
Posts: 21
Joined: Jun 2010
Reputation:
0
danips
Junior Member
Posts: 21
thanks for your answer, do you know if somebody is working on a fix for it?
Posts: 2,274
Joined: Feb 2009
Reputation:
30
opdenkamp
Retired Team-Kodi Member
Posts: 2,274
nope, I'm the only one working on pvr, except for some people who are working on add-ons and are sending me a patches from time to time.
please create a ticket for this on trac and add me to the cc list. I'll look into it later.
another API change:
bIsRecording has been removed from the PVR_CHANNEL struct. this can be determined by timers.
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.
Posts: 228
Joined: May 2008
Reputation:
0
Could this be made a stickie?
it would be good to use this tread for issues once the binary add-ons are working. thanks.
Posts: 2,274
Joined: Feb 2009
Reputation:
30
opdenkamp
Retired Team-Kodi Member
Posts: 2,274
been a while since I posted here, but another change is pending:
I've changed the tvheadend add-on a bit, so it no longer uses /lib/libPlatform and /lib/libTcpSocket anymore, but /lib/platform instead. This implementation is no longer using pthread-win32, and uses mutex protected sockets instead of raw sockets.
/lib/libPlatform and /lib/libTcpSocket will be removed in the near future, and won't be included when we'll merge PVR with mainline XBMC later on. FernetMenta will change the vnsi add-on, and I will take care of anything else that's still using that code.
Add-ons that are not in our main tree should be updated by their authors, or they'll break when they are using this code.
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.
Posts: 883
Joined: Oct 2009
Reputation:
37
margro
Posting Freak
Posts: 883
Thanks for reporting. I will take care of the MediaPortal addon and send you a pull request when done...