diff --git a/addons.xml b/addons.xml index 1f2c0b75..d38f20cf 100644 --- a/addons.xml +++ b/addons.xml @@ -1,6 +1,6 @@ - + diff --git a/addons.xml.md5 b/addons.xml.md5 index cc2c01b5..db6402b7 100644 --- a/addons.xml.md5 +++ b/addons.xml.md5 @@ -1 +1 @@ -f784eb149b9c62eeb97d36babfa1e1fa \ No newline at end of file +b09bbb9fd32b00180b02dccce86fd00b \ No newline at end of file diff --git a/plugin.video.pseudotv.live/addon.xml b/plugin.video.pseudotv.live/addon.xml index 4ce492c0..6d0172fb 100644 --- a/plugin.video.pseudotv.live/addon.xml +++ b/plugin.video.pseudotv.live/addon.xml @@ -1,5 +1,5 @@ - + diff --git a/plugin.video.pseudotv.live/resources/lib/utilities.py b/plugin.video.pseudotv.live/resources/lib/utilities.py index 7a08e221..af7377e0 100644 --- a/plugin.video.pseudotv.live/resources/lib/utilities.py +++ b/plugin.video.pseudotv.live/resources/lib/utilities.py @@ -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): @@ -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': diff --git a/zips/plugin.video.pseudotv.live/plugin.video.pseudotv.live-0.4.5j.zip b/zips/plugin.video.pseudotv.live/plugin.video.pseudotv.live-0.4.5j.zip new file mode 100644 index 00000000..3c8a063e Binary files /dev/null and b/zips/plugin.video.pseudotv.live/plugin.video.pseudotv.live-0.4.5j.zip differ