diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 57ca9a8..00115ce 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,9 +2,8 @@ - - + @@ -34,10 +33,10 @@ - + - + @@ -170,11 +169,11 @@ - + - - + + @@ -341,43 +340,43 @@ - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -482,10 +481,10 @@ @@ -799,12 +798,6 @@ \ No newline at end of file diff --git a/Core.py b/Core.py index f5d7403..67fc592 100644 --- a/Core.py +++ b/Core.py @@ -505,7 +505,8 @@ class Core: watchedPercent = int((float(seek) / float(length)) * 100) duration = '%02d:%02d:%02d' % ((length / (60*60)), (length / 60) % 60, length % 60) title = '[%d%%][%s] %s [%d MB]' % (watchedPercent, duration, filename.encode('utf-8'), int(size)) - contextMenu = [(self.localize('Search Control Window'), + contextMenu = [(self.localize('Play'), ListString % ('WatchedHistory', 'play', 'addtime', str(addtime))), + (self.localize('Search Control Window'), 'xbmc.RunScript(%s,)' % os.path.join(ROOT, 'controlcenter.py'))] if watchedPercent >= 85: img = self.ROOT + '/icons/stop-icon.png'