piccolo fix
This commit is contained in:
@@ -156,7 +156,7 @@ def run(item=None):
|
|||||||
import xbmc
|
import xbmc
|
||||||
item.action = item.real_action
|
item.action = item.real_action
|
||||||
if item.page:
|
if item.page:
|
||||||
item.page = page
|
item.page = int(page)
|
||||||
else:
|
else:
|
||||||
import re
|
import re
|
||||||
item.url = re.sub('([=/])[0-9]+(/?)$', '\g<1>' + page + '\g<2>', item.url)
|
item.url = re.sub('([=/])[0-9]+(/?)$', '\g<1>' + page + '\g<2>', item.url)
|
||||||
@@ -180,7 +180,7 @@ def run(item=None):
|
|||||||
except ImportError:
|
except ImportError:
|
||||||
exec("import " + CHANNELS + "." + item.channel + " as channel")
|
exec("import " + CHANNELS + "." + item.channel + " as channel")
|
||||||
|
|
||||||
logger.info("Running channel %s | %s" % (channel.__name__, channel.__file__))
|
logger.info("Running channel %s | %s" % (channel.__name__, channel.__file__))
|
||||||
|
|
||||||
# Special play action
|
# Special play action
|
||||||
if item.action == "play":
|
if item.action == "play":
|
||||||
|
|||||||
Reference in New Issue
Block a user