Solved Python: How to hide the Seek Bar - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26) +--- Thread: Solved Python: How to hide the Seek Bar (/showthread.php?tid=175544) |
Python: How to hide the Seek Bar - robwebset - 2013-10-12 Hi All, I have an addon that will seek to a given place inside an audio track using: Code: xbmc.Player().seekTime( randomStart ) However when it does this it shows the "Seek Bar" at the top right of the screen. Is there a way to do a seek without this dialog being displayed? Any help greatly appreciated. Thanks, Rob RE: Python: How to hide the Seek Bar - robwebset - 2013-11-10 Just in case some-one stumbles accross this post asking the same question, I did find the answer out myself while coding something else (spotted the option!) Instead of using seek, add the file to the playlist and set the "StartOffset" value. e.g. Code: listitem = xbmcgui.ListItem() Hope this helps some-one Rob |