Skip to content

Commit

Permalink
v.0.5.5t
Browse files Browse the repository at this point in the history
  • Loading branch information
Lunatixz committed Nov 13, 2024
1 parent 2ae1d44 commit 07d5e13
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 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.5s" name="PseudoTV Live" provider-name="Lunatixz">
<addon id="plugin.video.pseudotv.live" version="0.5.5t" 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 @@
5db42a3e63b6fd3103558ba3dc789fc6
2ef9ce704e834f5cacb29a5fc99b3d7d
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.5s" name="PseudoTV Live" provider-name="Lunatixz">
<addon id="plugin.video.pseudotv.live" version="0.5.5t" 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
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def determineLength(self, filename: str) -> int and float:
log("MediaInfo: parsing %s"%(filename))
except:
with xbmcvfs.File(filename) as fle:
mi = MediaInfo.parse(xbmcvfs.translatePath(fle.read())
mi = MediaInfo.parse(xbmcvfs.translatePath(fle.read()))
log("MediaInfo: reading %s"%(filename))
if not mi is None: dur = (mi.tracks[0].duration // 1000 or 0)
log('MediaInfo: Duration is %s'%(dur))
Expand Down
8 changes: 4 additions & 4 deletions plugin.video.pseudotv.live/resources/lib/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,10 +238,10 @@ def playLive(self, name: str, chid: str, vid: str):
# DIALOG.notificationDialog(LANGUAGE(32185)%(self.sysInfo['fitem'].get('label',self.sysInfo.get('title',''))))
# timerit(BUILTIN.executebuiltin)(0.1,['PlayMedia(%s)'%(url)])
# self.resolveURL(False, xbmcgui.ListItem())
# else:
# DIALOG.notificationDialog(LANGUAGE(32000))
# timerit(BUILTIN.executebuiltin)(0.1,['Action(stop)'])
# self.resolveURL(False, xbmcgui.ListItem())
else:
DIALOG.notificationDialog(LANGUAGE(32000))
timerit(BUILTIN.executebuiltin)(0.1,['Action(stop)'])
self.resolveURL(False, xbmcgui.ListItem())
else: self.resolveURL(False, xbmcgui.ListItem())
else:#-> onChange callback from "live" or widget or channel switch (change via input not ui)
liz = xbmcgui.ListItem(name,path=vid)
Expand Down
Binary file not shown.

0 comments on commit 07d5e13

Please sign in to comment.