Skip to content

Commit

Permalink
v.0.5.4a
Browse files Browse the repository at this point in the history
  • Loading branch information
Lunatixz committed Sep 13, 2024
1 parent 9617365 commit 5ae3694
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 3 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.4" name="PseudoTV Live" provider-name="Lunatixz">
<addon id="plugin.video.pseudotv.live" version="0.5.4a" 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 @@
5d4053282578514c17bf0788bee468e6
e30cc28b6b1a6259568c9ad82865c304
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.4" name="PseudoTV Live" provider-name="Lunatixz">
<addon id="plugin.video.pseudotv.live" version="0.5.4a" 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
11 changes: 11 additions & 0 deletions plugin.video.pseudotv.live/resources/lib/overlay.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,23 @@ def onInit(self):
try:
self._closing = False
self.myService = self.myPlayer.myService
self.progressLoop(self.getControl(40000))
self.setFocusId(40001)
except Exception as e:
log("Replay: onInit, failed! %s\ncitem = %s"%(e,self.sysInfo), xbmc.LOGERROR)
self.onClose()


def progressLoop(self, control, wait=OVERLAY_DELAY):
tot = wait
while not self.myService.monitor.abortRequested():
log("Replay: progressLoop, wait = %s"%(wait))
if (self.myService._interrupt(1) or wait <= 0 or self._closing): break
control.setPercent((abs(wait-tot)*100)//tot)
wait -= 1
self.onClose()


def onAction(self, act):
actionId = act.getId()
log('Replay: onAction: actionId = %s'%(actionId))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,18 @@
<posy>0</posy>
<animation effect="fade" delay="20" start="0" end="100" time="200">WindowOpen</animation>
<animation effect="fade" time="20">WindowClose</animation>
<control type="progress" id="40000">
<left>480</left>
<bottom>270</bottom>
<width>200</width>
<height>40</height>
<reveal>true</reveal>
<overlaytexture></overlaytexture>
<texturebg colordiffuse="FF696969">>buttons/ButtonFocus.png</texturebg>
<midtexture colordiffuse="FF01416b">>buttons/ButtonFocus.png</midtexture>
<lefttexture colordiffuse="FF01416b">>buttons/ButtonFocus.png</lefttexture>
<righttexture colordiffuse="FF01416b">>buttons/ButtonFocus.png</righttexture>
</control>
<control type="button" id="40001">
<description>Replay Button</description>
<left>480</left>
Expand Down
Binary file not shown.

0 comments on commit 5ae3694

Please sign in to comment.