From c96f838d120b973f121f324b971d8705040dfb5e Mon Sep 17 00:00:00 2001 From: DiMartinoXBMC Date: Wed, 28 Jan 2015 21:02:01 +0300 Subject: [PATCH] myshows fix --- .idea/workspace.xml | 236 +++++++++++++++++++++++++++++++++++++------- Core.py | 6 +- 2 files changed, 204 insertions(+), 38 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 2fbb3a3..ac53cd1 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -3,8 +3,6 @@ - - @@ -39,9 +37,50 @@ - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -49,7 +88,7 @@ - + @@ -59,8 +98,8 @@ - - + + @@ -164,12 +203,12 @@ @@ -205,7 +244,6 @@ - @@ -258,6 +296,7 @@ + @@ -558,7 +597,11 @@ 1422137592938 1422137592938 - @@ -585,7 +628,7 @@ - + @@ -620,7 +663,6 @@ - @@ -645,7 +687,8 @@ - @@ -694,7 +737,48 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -739,7 +823,48 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -986,14 +1111,6 @@ - - - - - - - - @@ -1002,14 +1119,6 @@ - - - - - - - - @@ -1018,11 +1127,68 @@ + + + + + + + + + + + + + + + + - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Core.py b/Core.py index 872fb20..163678c 100644 --- a/Core.py +++ b/Core.py @@ -1531,10 +1531,10 @@ class Core: '{"filename":"%s", "stype":%s, "showId":%s, "seasonId":%s, "id":%s, "episodeId":%s}' % ( link, jstr(s['stype']), jstr(s['showId']), jstr(s['seasonId']), jstr(s['id']), jstr(s['episodeId']))))), + (self.localize('Open (no return)'), + 'XBMC.ActivateWindow(Videos,%s)' % ('%s?action=%s%s') % ( + sys.argv[0], 'openTorrent', link_url)), (self.localize('Return to MyShows.ru'), - (self.localize('Open (no return)'), - 'XBMC.ActivateWindow(Videos,%s)' % ('%s?action=%s%s') % ( - sys.argv[0], 'openTorrent', link_url)), 'XBMC.ActivateWindow(%s)' % ('Videos,plugin://plugin.video.myshows/?mode=3013')), ] title = self.titleMake(seeds, leechers, size, title)