Skip to content

Commit

Permalink
v.0.4.5j
Browse files Browse the repository at this point in the history
  • Loading branch information
Lunatixz committed Feb 28, 2024
1 parent ece293e commit bc0638b
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 4 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.4.5i" name="PseudoTV Live" provider-name="Lunatixz">
<addon id="plugin.video.pseudotv.live" version="0.4.5j" 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 @@
f784eb149b9c62eeb97d36babfa1e1fa
b09bbb9fd32b00180b02dccce86fd00b
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.4.5i" name="PseudoTV Live" provider-name="Lunatixz">
<addon id="plugin.video.pseudotv.live" version="0.4.5j" 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
17 changes: 16 additions & 1 deletion plugin.video.pseudotv.live/resources/lib/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,21 @@ def openFile(fle):
except Exception as e: self.log('showFile failed! %s'%(e), xbmc.LOGERROR)


def showWelcome(self):
try:
fle = FileAccess.open(WELCOME_FLE, "r")
if SETTINGS.getCacheSetting('showWelcome', checksum=fle.size(), default='true') == 'true':
SETTINGS.setCacheSetting('showWelcome', 'false', checksum=fle.size())
DIALOG.textviewer(fle.read().format(addon_name=ADDON_NAME,
pvr_name=PVR_CLIENT_NAME,
m3u=M3UFLEPATH,
xmltv=XMLTVFLEPATH,
genre=GENREFLEPATH,
logo=LOGO_LOC,
lang_30074=LANGUAGE(30074)), heading=(LANGUAGE(32043)%(ADDON_NAME,ADDON_VERSION)),usemono=True,usethread=False)
except Exception as e: self.log('showWelcome failed! %s'%(e), xbmc.LOGERROR)


def showReadme(self):
with busy_dialog():
def convertMD2TXT(md):
Expand Down Expand Up @@ -187,7 +202,7 @@ def run(self):
elif param.startswith('Move_Channelbug'):
ctl = (5,5)
self.openChannelBug()
elif param == 'Show_Welcome':
elif param == 'Show_Welcome':
with busy_dialog():
return self.showWelcome()
elif param == 'Show_Readme':
Expand Down
Binary file not shown.

0 comments on commit bc0638b

Please sign in to comment.