Replies: 2 comments
-
With the callback framework that's in place, this should already be possible. The So, mimicking the structure of that code, you can get First, ensure the In your script, define a new
The above function takes excerpts from Add the above callback to the In LiveTV layouts, do not have a I typed the above into github's discussion widget directly, so I'm not sure all of the spaces are entirely consistent, etc. Hopefully, though, you get the main direction I am trying to convey. Cheers, |
Beta Was this translation helpful? Give feedback.
-
Works great, I put it in my fork: dd28c59 |
Beta Was this translation helpful? Give feedback.
-
Currently the progress bars use
VideoPlayer.Time
andVideoPlayer.Duration
for the video sectionHowever for live TV these infolabel does not work. (at least in my setup with tvheadend and kodi 18.9)
The infolabel
PVR.EpgEventElapsedTime
andPVR.EpgEventDuration
send back the correct infomation.How can I use theses infolabel for progress bar only in my live TV layout, and keep the previous infolabels for my other layout?
Maybe with the
ELEMENT_CB
it will work? But I am not sur how it work.Or maybe override the
prog
function ? similary to what I have done with thecalc_progress
functionBeta Was this translation helpful? Give feedback.
All reactions