Skip to content

Commit

Permalink
v.0.5.7k
Browse files Browse the repository at this point in the history
  • Loading branch information
Lunatixz committed Jan 6, 2025
1 parent 0ddd1be commit 32ee669
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion addons.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addons>
<addon id="plugin.video.pseudotv.live" version="0.5.7j" name="PseudoTV Live" provider-name="Lunatixz">
<addon id="plugin.video.pseudotv.live" version="0.5.7k" name="PseudoTV Live" provider-name="Lunatixz">
<requires>
<import addon="xbmc.python" version="3.0.1"/>
<import addon="pvr.iptvsimple" version="21.8.0"/>
Expand Down
2 changes: 1 addition & 1 deletion addons.xml.md5
Original file line number Diff line number Diff line change
@@ -1 +1 @@
b3595896623cfbf05b58126ffae488a2
940266051e098d34c8a68c0185125b36
2 changes: 1 addition & 1 deletion plugin.video.pseudotv.live/addon.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<addon id="plugin.video.pseudotv.live" version="0.5.7j" name="PseudoTV Live" provider-name="Lunatixz">
<addon id="plugin.video.pseudotv.live" version="0.5.7k" name="PseudoTV Live" provider-name="Lunatixz">
<requires>
<import addon="xbmc.python" version="3.0.1"/>
<import addon="pvr.iptvsimple" version="21.8.0"/>
Expand Down
3 changes: 1 addition & 2 deletions plugin.video.pseudotv.live/resources/lib/overlay.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ def onInit(self):
self.getControl(40002).setImage(COLOR_LOGO if self.logo.endswith('wlogo.png') else self.logo)
self.getControl(40001).setPosition(self.overlay.onNextX, self.overlay.onNextY)
self.getControl(40001).setVisible(self.overlay.chkOnNextConditions())
self.getControl(40000).setVisible(self.visible)
except Exception as e:
log("Background: onInit, failed! %s"%(e), xbmc.LOGERROR)
self.close()
Expand Down Expand Up @@ -395,7 +394,7 @@ def __getOnNextInterval(interval, remaining, displayTime):
elapsed = self.player.getElapsedTime()
showTime = (totalTime - displayTime)
sleepTime = roundupDIV(showTime,interval)
if remaining < sleepTime: return __getOnNextInterval(interval+1, remaining, displayTime)
if interval < (ON_NEXT_COUNT*2) and remaining < sleepTime: return __getOnNextInterval(interval+1, remaining, displayTime)
conditions = self.chkOnNextConditions()
showOnNext = (elapsed >= showTime and remaining >= sleepTime and totalTime > self.minDuration and conditions)
self.log('toggleOnNext, __getOnNextInterval: interval = %s, totalTime = %s, showTime = %s, remaining = %s, elapsed = %s, displayTime = %s, sleepTime = %s, conditions = %s, showOnNext = %s'%(interval,totalTime,showTime,remaining,elapsed,displayTime,sleepTime,conditions,showOnNext))
Expand Down
Binary file not shown.

0 comments on commit 32ee669

Please sign in to comment.