diff options
Diffstat (limited to 'plugin.video.plutotv')
-rw-r--r-- | plugin.video.plutotv/addon.xml | 4 | ||||
-rw-r--r-- | plugin.video.plutotv/default.py | 11 |
2 files changed, 7 insertions, 8 deletions
diff --git a/plugin.video.plutotv/addon.xml b/plugin.video.plutotv/addon.xml index 47cac68..776c79f 100644 --- a/plugin.video.plutotv/addon.xml +++ b/plugin.video.plutotv/addon.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<addon id="plugin.video.plutotv" version="1.0.2" name="Pluto.TV" provider-name="Lunatixz"> +<addon id="plugin.video.plutotv" version="1.0.3" name="Pluto.TV" provider-name="Lunatixz"> <requires> <import addon="xbmc.python" version="2.25.0"/> <import addon="script.module.requests" version="2.7.0"/> @@ -19,7 +19,7 @@ <source>https://github.com/Lunatixz/XBMC_Addons/tree/master/plugin.video.plutotv</source> <website>http://pluto.tv/</website> <forum>http://forum.kodi.tv/showthread.php?tid=315513</forum> - <news>v1.0.1[CR]- Fixed login cache issue.[CR]v1.0.2[CR]- Fixed cookie issue on android/rpi devices.[CR]- Updated cache timings (8Hrs).</news> + <news>v1.0.1[CR]- Fixed login cache issue.[CR]v1.0.2[CR]- Fixed cookie issue on android/rpi devices.[CR]- Updated cache timings (8Hrs).[CR]v1.0.3[CR]- Fixed Menu and Tweaked cache</news> <assets> <icon>icon.png</icon> <fanart>fanart.jpg</fanart> diff --git a/plugin.video.plutotv/default.py b/plugin.video.plutotv/default.py index dfe7bd7..045c36c 100644 --- a/plugin.video.plutotv/default.py +++ b/plugin.video.plutotv/default.py @@ -21,7 +21,7 @@ import os, sys, time, datetime, net, requests, re, traceback import urllib, socket, json, urlresolver, collections import xbmc, xbmcgui, xbmcplugin, xbmcvfs, xbmcaddon -from simplecache import use_cache, SimpleCache +from simplecache import SimpleCache # Plugin Info ADDON_ID = 'plugin.video.plutotv' REAL_SETTINGS = xbmcaddon.Addon(id=ADDON_ID) @@ -179,8 +179,7 @@ class PlutoTV(): for item in self.categoryMenu: self.addDir(*item) - - @use_cache(1) + def getCategories(self): log('getCategories') collect= [] @@ -300,7 +299,7 @@ class PlutoTV(): return VMURL + url.split('/vimeo.com/')[1] return urlresolver.resolve(url) - + def playChannel(self, name, url): log('playChannel') if PTVL_RUN == True: @@ -347,7 +346,7 @@ class PlutoTV(): playlist.add(url, liz, idx) xbmcplugin.setResolvedUrl(int(sys.argv[1]), True, liz) - + def playContent(self, name, url): log('playContent') origurl = url @@ -387,7 +386,7 @@ class PlutoTV(): liz.setProperty('ResumeTime', str(vid_offset) ) self.addLink(name, url, 7, infoList, infoArt, len(data)) - + def playVideo(self, name, url, list=None): log('playVideo') if not list: |