@@ -529,9 +529,8 @@ def setup(self, duration, meta, offset=0, bif_url=None, title='', title2='', cha
529
529
self .timeFmtKodi = self .timeFmtKodi .replace ("hh:" , "" )
530
530
self ._ignoreTick = False
531
531
self ._ignoreInput = False
532
- if not self .showChapters :
533
- self .bifURL = bif_url
534
- self .hasBif = bool (self .bifURL )
532
+ self .bifURL = bif_url
533
+ self .hasBif = bool (self .bifURL )
535
534
536
535
if self .hasBif :
537
536
self .baseURL = re .sub (r'/\d+\?' , '/{0}?' , self .bifURL )
@@ -636,11 +635,13 @@ def onAction(self, action):
636
635
# we're seeking from the timeline with the OSD open - do an actual timeline seek
637
636
638
637
if action in (xbmcgui .ACTION_MOVE_RIGHT , xbmcgui .ACTION_STEP_FORWARD ):
638
+ self .setProperty ('show.chapters' , '' )
639
639
if self .useDynamicStepsForTimeline :
640
640
return self .skipForward ()
641
641
return self .seekByOffset (10000 , auto_seek = self .useAutoSeek )
642
642
643
643
elif action in (xbmcgui .ACTION_MOVE_LEFT , xbmcgui .ACTION_STEP_BACK ):
644
+ self .setProperty ('show.chapters' , '' )
644
645
if self .useDynamicStepsForTimeline :
645
646
return self .skipBack ()
646
647
return self .seekByOffset (- 10000 , auto_seek = self .useAutoSeek )
@@ -1822,7 +1823,12 @@ def updateProgress(self, set_to_current=True, offset=None, onlyTimeIndicator=Fal
1822
1823
return
1823
1824
1824
1825
if self .hasBif :
1825
- self .setProperty ('bif.image' , self .handler .player .playerObject .getBifUrl (offset ))
1826
+ bifUrl = self .handler .player .playerObject .getBifUrl (offset )
1827
+ if "blur_chapters" in self .no_spoilers :
1828
+ bifUrl = self .player .video .server .getImageTranscodeURL (bifUrl ,
1829
+ * PlaylistDialog .LI_AR16X9_THUMB_DIM ,
1830
+ ** {"blur" : util .addonSettings .episodeNoSpoilerBlur })
1831
+ self .setProperty ('bif.image' , bifUrl )
1826
1832
self .bifImageControl .setPosition (bifx , 752 )
1827
1833
1828
1834
self .seekbarControl .setPosition (0 , self .seekbarControl .getPosition ()[1 ])
0 commit comments