Skip to content

Commit

Permalink
v.0.5.7a
Browse files Browse the repository at this point in the history
  • Loading branch information
Lunatixz committed Jan 2, 2025
1 parent 0067c5c commit 45c7b10
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 11 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.7" name="PseudoTV Live" provider-name="Lunatixz">
<addon id="plugin.video.pseudotv.live" version="0.5.7a" 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 @@
7d74f54baabc603f206762035ab12e62
56ec0c3f60fe16dd084b0788864f4517
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.7" name="PseudoTV Live" provider-name="Lunatixz">
<addon id="plugin.video.pseudotv.live" version="0.5.7a" 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
13 changes: 7 additions & 6 deletions plugin.video.pseudotv.live/resources/lib/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,18 +205,19 @@ def buildCells(self, citem: dict={}, duration: int=10800, type: str='video', ent

def addScheduling(self, citem: dict, fileList: list, start: time, padScheduling=True) -> list:
self.log("addScheduling, [%s] IN fileList = %s, start = %s, padScheduling = %s"%(citem['id'],len(fileList),start,padScheduling))
totDur = 0
tmpList = []
nowtime = getUTCstamp()

for idx, item in enumerate(self.runActions(RULES_ACTION_CHANNEL_BUILD_TIME_PRE, citem, fileList, inherited=self)):
totDur = 0
tmpList = []
nowtime = getUTCstamp()
fileList = self.runActions(RULES_ACTION_CHANNEL_BUILD_TIME_PRE, citem, fileList, inherited=self)

for idx, item in enumerate(fileList):
item["idx"] = idx
item['start'] = start
item['stop'] = start + item['duration']
start = item['stop']
tmpList.append(item)

if padScheduling:
if padScheduling and len(tmpList) > 0:
iters = cycle(fileList)
while not self.service.monitor.abortRequested() and tmpList[-1].get('stop') <= (nowtime + MIN_EPG_DURATION):
if tmpList[-1].get('stop') >= (nowtime + MIN_EPG_DURATION):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
<control type="grouplist">
<posx>130</posx>
<posy>735</posy>
<itemgap>10</itemgap>
<itemgap>15</itemgap>
<orientation>vertical</orientation>
<control type="image" id="40004">
<description>OnNext Image</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<control type="grouplist">
<posx>130</posx>
<posy>735</posy>
<itemgap>10</itemgap>
<itemgap>15</itemgap>
<orientation>vertical</orientation>
<Visible>Window.IsActive(fullscreenvideo) + [!Window.IsActive(videoosd)]</Visible>
<control type="image" id="40004">
Expand Down
Binary file not shown.

0 comments on commit 45c7b10

Please sign in to comment.