iStarttime and iEndTime
#1
Hi,

How can I interprete iStarttime and iEndTime with actual time from sqlite EPG database. (some conversions ?)

exemple

iStarttime: 1326954300
iEndTime: 1326955800
actual time : 08:56:25

Thx
Reply
#2
see https://github.com/opdenkamp/xbmc/blob/m...e.cpp#L277
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
#3
Oh thx for your quick reply,

I can see that you use time_t.
What is your reference date : 01/01/1970 at 00:00:00 UTC ?




dushmaniac Wrote:see https://github.com/opdenkamp/xbmc/blob/m...e.cpp#L277
Reply
#4
https://github.com/opdenkamp/xbmc/blob/m...teTime.cpp
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
#5
short but helpful !!

Big GrinBig Grin

dushmaniac Wrote:https://github.com/opdenkamp/xbmc/blob/m...teTime.cpp
Reply
#6
Is there a python equivalent to time_t? Need to break it down istarttime into datetime object
Image Lunatixz - Kodi / Beta repository
Image PseudoTV - Forum | Website | Youtube | Help?
Reply

Logout Mark Read Team Forum Stats Members Help
iStarttime and iEndTime0