浏览代码

Izlabots eTimer, lai strādā ar opendendreambox

Ivars 8 年前
父节点
当前提交
ca5f7b82aa
共有 32 个文件被更改,包括 310 次插入297 次删除
  1. 0
    2
      ChoiceBox.py
  2. 15
    10
      PlayStream.py
  3. 295
    285
      PlayStream.wpr
  4. 二进制
      release/enigma2-plugin-extensions-playstream_0.1f.ipk
  5. 二进制
      release/enigma2-plugin-extensions-playstream_0.1g.ipk
  6. 二进制
      release/enigma2-plugin-extensions-playstream_0.1h.ipk
  7. 二进制
      release/enigma2-plugin-extensions-playstream_0.2a.ipk
  8. 二进制
      release/enigma2-plugin-extensions-playstream_0.2b.ipk
  9. 二进制
      release/enigma2-plugin-extensions-playstream_0.2c.ipk
  10. 二进制
      release/enigma2-plugin-extensions-playstream_0.2d.ipk
  11. 二进制
      release/enigma2-plugin-extensions-playstream_0.2e.ipk
  12. 二进制
      release/enigma2-plugin-extensions-playstream_0.2f.ipk
  13. 二进制
      release/enigma2-plugin-extensions-playstream_0.2g.ipk
  14. 二进制
      release/enigma2-plugin-extensions-playstream_0.2h.ipk
  15. 二进制
      release/enigma2-plugin-extensions-playstream_0.3a.ipk
  16. 二进制
      release/enigma2-plugin-extensions-playstream_0.3b.ipk
  17. 二进制
      release/enigma2-plugin-extensions-playstream_0.3c.ipk
  18. 二进制
      release/enigma2-plugin-extensions-playstream_0.3d.ipk
  19. 二进制
      release/enigma2-plugin-extensions-playstream_0.3e.ipk
  20. 二进制
      release/enigma2-plugin-extensions-playstream_0.4a.ipk
  21. 二进制
      release/enigma2-plugin-extensions-playstream_0.4b.ipk
  22. 二进制
      release/enigma2-plugin-extensions-playstream_0.4c.ipk
  23. 二进制
      release/enigma2-plugin-extensions-playstream_0.4d.ipk
  24. 二进制
      release/enigma2-plugin-extensions-playstream_0.4f.ipk
  25. 二进制
      release/enigma2-plugin-extensions-playstream_0.5a.ipk
  26. 二进制
      release/enigma2-plugin-extensions-playstream_0.5b.ipk
  27. 二进制
      release/enigma2-plugin-extensions-playstream_0.5c.ipk
  28. 二进制
      release/enigma2-plugin-extensions-playstream_0.5d.ipk
  29. 二进制
      release/enigma2-plugin-extensions-playstream_0.5e.ipk
  30. 二进制
      release/enigma2-plugin-extensions-playstream_0.5g.ipk
  31. 二进制
      release/enigma2-plugin-extensions-playstream_0.5h.ipk
  32. 二进制
      release/enigma2-plugin-extensions-playstream_0.5i.ipk

+ 0
- 2
ChoiceBox.py 查看文件

@@ -26,8 +26,6 @@ class ChoiceBox2(Screen):
26 26
         #self.setTitle(_("Choice Box"))
27 27
         if not list: list = []
28 28
         if not skin_name: skin_name = []
29
-
30
-
31 29
         #if isinstance(skin_name, str):
32 30
         #	skin_name = [skin_name]
33 31
         #self.skinName = skin_name + ["ChoiceBox"]

+ 15
- 10
PlayStream.py 查看文件

@@ -29,7 +29,6 @@ from Tools import Notifications
29 29
 from Screens.LocationBox import LocationBox
30 30
 #from Screens.InputBox import InputBox
31 31
 from Screens.ChoiceBox import ChoiceBox
32
-from ChoiceBox import ChoiceBox2
33 32
 from Screens.VirtualKeyBoard import VirtualKeyBoard
34 33
 from Components.Input import Input
35 34
 from Screens.Screen import Screen
@@ -121,7 +120,12 @@ class PSPlayer(MoviePlayer):
121 120
             "info":self.service_info
122 121
         })
123 122
         self.stimer = eTimer()
124
-        self.stimer.callback.append(self.update_subtitles)
123
+        if "callback" in dir(self.stimer):
124
+            self.stimer.callback.append(self.update_subtitles)
125
+        elif "timeout":
126
+            self.stimer.timeout.connect(self.update_subtitles)
127
+        else:
128
+            self.stimer = None
125 129
         self.stimer_step = 500
126 130
         if self.cur_stream["subs"]:
127 131
             self.subs = self.cur_stream["subs"]
@@ -137,9 +141,10 @@ class PSPlayer(MoviePlayer):
137 141
         self.onLayoutFinish.append(self.start_subtitles_timer)
138 142
         
139 143
     def start_subtitles_timer(self):
140
-        self.subtitle_window.show()
141
-        print "start_subtitles_timer"
142
-        self.stimer.start(self.stimer_step)
144
+        if self.stimer:
145
+            self.subtitle_window.show()
146
+            print "start_subtitles_timer"
147
+            self.stimer.start(self.stimer_step)
143 148
         
144 149
     def get_sub_pts(self,pts):
145 150
         sc = self.get_sub_ind(self.sind) # current subbtitle
@@ -250,7 +255,7 @@ class PSPlayer(MoviePlayer):
250 255
         title = "Select stream"
251 256
         for i,s in enumerate(self.streams):
252 257
             lst.append(("[%s,%s] %s"%(s["lang"],s["quality"],s["name"]),i))
253
-        self.session.openWithCallback(self.cb_select_stream, ChoiceBox2, title = title, list = lst,selection = self.selected)
258
+        self.session.openWithCallback(self.cb_select_stream, ChoiceBox, title = title, list = lst,selection = self.selected)
254 259
 
255 260
     def cb_select_stream(self,answer):
256 261
         #print "item_menu_selected",answer
@@ -280,7 +285,7 @@ class PSPlayer(MoviePlayer):
280 285
         else:
281 286
             selection = len(lst)
282 287
         lst.append(("No captions",-1))
283
-        self.session.openWithCallback(self.cb_select_captions, ChoiceBox2, title = title, list = lst,selection = selection)
288
+        self.session.openWithCallback(self.cb_select_captions, ChoiceBox, title = title, list = lst,selection = selection)
284 289
 
285 290
     def cb_select_captions(self,answer):
286 291
         #print "item_menu_selected",answer
@@ -617,7 +622,7 @@ class MainScreen(Screen):
617 622
             ("Add submenu","add_list","Add submenu before selected item"), 
618 623
             ])
619 624
         title = self.current[0]
620
-        self.session.openWithCallback(self.cb_item_menu, ChoiceBox2, title = title, list = lst) #TODO
625
+        self.session.openWithCallback(self.cb_item_menu, ChoiceBox, title = title, list = lst) #TODO
621 626
 
622 627
     def cb_item_menu(self,answer):
623 628
         #print "item_menu_selected",answer
@@ -637,7 +642,7 @@ class MainScreen(Screen):
637 642
         elif answer[1] == "favorites":
638 643
             lists = self.config.get_lists()
639 644
             lists2 = [(l,l) for l in lists]            
640
-            self.session.openWithCallback(self.cb_favorites, ChoiceBox2, title="Selected menu item will be added",list = lists2) 
645
+            self.session.openWithCallback(self.cb_favorites, ChoiceBox, title="Selected menu item will be added",list = lists2) 
641 646
                         
642 647
         elif answer[1] == 'download':
643 648
             current = self.current
@@ -861,7 +866,7 @@ class OptionsScreen(ConfigListScreen,Screen):
861 866
         self.session = session
862 867
         Screen.__init__(self, session)
863 868
         self.main = args[0]
864
-        self.setTitle(self.main.cur_menu[0]+" Options")
869
+        self.setTitle(self.main.cur_menu[0]+" options")
865 870
         self.source = self.main.cur_menu[1].split("::")[0]
866 871
         self.cfg = config.plugins.playstream
867 872
         self.list = []       

+ 295
- 285
PlayStream.wpr 查看文件

@@ -5033,21 +5033,21 @@ edit.bookmarks = {'Ok': (loc('PlayStream.py'),
5033 5033
         ('MainScreen.Ok',
5034 5034
          243)],
5035 5035
                           'first-line': 237,
5036
-                          'sel-line': 482}),
5036
+                          'sel-line': 487}),
5037 5037
                   'cb_item_menu': (loc('PlayStream.py'),
5038 5038
                                    {'attrib-starts': [('MainScreen',
5039 5039
         72),
5040 5040
         ('MainScreen.cb_item_menu',
5041 5041
          349)],
5042 5042
                                     'first-line': 364,
5043
-                                    'sel-line': 619}),
5043
+                                    'sel-line': 624}),
5044 5044
                   'item_menu': (loc('PlayStream.py'),
5045 5045
                                 {'attrib-starts': [('MainScreen',
5046 5046
         69),
5047 5047
         ('MainScreen.item_menu',
5048 5048
          320)],
5049 5049
                                  'first-line': 312,
5050
-                                 'sel-line': 597})}
5050
+                                 'sel-line': 602})}
5051 5051
 edit.file-encoding = {loc('streams.cfg'): 'utf_8'}
5052 5052
 guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
5053 5053
                             'windows': [{'name': '47wqn9r4eCm6RV6BSVqCQM73zP'\
@@ -5056,7 +5056,7 @@ guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
5056 5056
         'type': 'dock',
5057 5057
         'view': {'area': 'tall',
5058 5058
                  'constraint': None,
5059
-                 'current_pages': [0,
5059
+                 'current_pages': [1,
5060 5060
                                    0],
5061 5061
                  'full-screen': False,
5062 5062
                  'notebook_display': 'normal',
@@ -5070,10 +5070,9 @@ guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
5070 5070
         'tree-states': {'deep': {'expanded-nodes': [(9,),
5071 5071
         (17,),
5072 5072
         (74,),
5073
-        (108,)],
5073
+        (109,)],
5074 5074
                                  'selected-nodes': [(26,)],
5075
-                                 'top-node': (17,
5076
-        20)}},
5075
+                                 'top-node': (0,)}},
5077 5076
         'tree-style': 'deep'}}),
5078 5077
                               ('snippets',
5079 5078
                                'tall',
@@ -5110,7 +5109,7 @@ guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
5110 5109
                  'primary_view_state': {'area': 'wide',
5111 5110
         'constraint': None,
5112 5111
         'current_pages': [1,
5113
-                          4],
5112
+                          1],
5114 5113
         'notebook_display': 'normal',
5115 5114
         'notebook_percent': 0.40625,
5116 5115
         'override_title': None,
@@ -5160,7 +5159,7 @@ guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
5160 5159
                                        'fRegexFlags': 46,
5161 5160
                                        'fReplaceText': u'self.',
5162 5161
                                        'fReverse': False,
5163
-                                       'fSearchText': u'settil',
5162
+                                       'fSearchText': u'etimer',
5164 5163
                                        'fStartPos': 0,
5165 5164
                                        'fStyle': 'text',
5166 5165
                                        'fWholeWords': False,
@@ -5213,16 +5212,20 @@ guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
5213 5212
         -1,
5214 5213
         -1),
5215 5214
                        'attrib-starts': [],
5216
-                       'first-line': 0,
5215
+                       'first-line': 82,
5217 5216
                        'folded-linenos': [],
5218
-                       'history': {u'file:C:/Data/Programming/enigma2/PlayStream2/ContentSources.py': ['p'\
5219
-        'rint url\n',
5220
-        'data\n']},
5217
+                       'history': {u'file:C:/Data/Programming/enigma2/PlayStream2/ContentSources.py': ['u'\
5218
+        'rl\n',
5219
+        'print url\n',
5220
+        'self\n',
5221
+        'self.api_url\n',
5222
+        'dir(self)\n',
5223
+        '"api_url" in dir(self)\n']},
5221 5224
                        'launch-id': None,
5222
-                       'sel-line': 6,
5223
-                       'sel-line-start': 199,
5224
-                       'selection_end': 199,
5225
-                       'selection_start': 199}),
5225
+                       'sel-line': 93,
5226
+                       'sel-line-start': 1439,
5227
+                       'selection_end': 1439,
5228
+                       'selection_start': 1439}),
5226 5229
                      ('debug-watch',
5227 5230
                       'wide',
5228 5231
                       1,
@@ -5274,115 +5277,134 @@ guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
5274 5277
                       {})],
5275 5278
         'primary_view_state': {'editor_states': ('vertical',
5276 5279
         1.0,
5277
-        ({'bookmarks': ([[loc('ChoiceBox.py'),
5278
-                          {'attrib-starts': [('ChoiceBox2',
5279
-        8),
5280
-        ('ChoiceBox2.__init__',
5281
-         23)],
5282
-                           'first-line': 24,
5280
+        ({'bookmarks': ([[loc('PlayStream.py'),
5281
+                          {'attrib-starts': [],
5282
+                           'first-line': 23,
5283 5283
                            'folded-linenos': [],
5284
-                           'sel-line': 51,
5285
-                           'sel-line-start': 1918,
5286
-                           'selection_end': 1968,
5287
-                           'selection_start': 1959},
5288
-                          1480548131.23],
5289
-                         [loc('ChoiceBox.py'),
5290
-                          {'attrib-starts': [('ChoiceBox2',
5291
-        8),
5292
-        ('ChoiceBox2.__init__',
5293
-         23)],
5294
-                           'first-line': 36,
5284
+                           'sel-line': 31,
5285
+                           'sel-line-start': 1212,
5286
+                           'selection_end': 1212,
5287
+                           'selection_start': 1212},
5288
+                          1480708440.879],
5289
+                         [loc('ContentSources.py'),
5290
+                          {'attrib-starts': [],
5291
+                           'first-line': 173,
5295 5292
                            'folded-linenos': [],
5296
-                           'sel-line': 53,
5297
-                           'sel-line-start': 1992,
5298
-                           'selection_end': 2023,
5299
-                           'selection_start': 2017},
5300
-                          1480548131.959],
5301
-                         [loc('ChoiceBox.py'),
5302
-                          {'attrib-starts': [('ChoiceBox2',
5303
-        8),
5304
-        ('ChoiceBox2.__init__',
5305
-         23)],
5306
-                           'first-line': 44,
5293
+                           'sel-line': 192,
5294
+                           'sel-line-start': 6829,
5295
+                           'selection_end': 6829,
5296
+                           'selection_start': 6829},
5297
+                          1480708448.981],
5298
+                         [loc('sources/ltc.py'),
5299
+                          {'attrib-starts': [('Source',
5300
+        24),
5301
+        ('Source.get_streams',
5302
+         401)],
5303
+                           'first-line': 455,
5307 5304
                            'folded-linenos': [],
5308
-                           'sel-line': 55,
5309
-                           'sel-line-start': 2058,
5310
-                           'selection_end': 2085,
5311
-                           'selection_start': 2079},
5312
-                          1480548133.123],
5313
-                         [loc('ChoiceBox.py'),
5314
-                          {'attrib-starts': [('ChoiceBox2',
5315
-        8),
5316
-        ('ChoiceBox2.__init__',
5317
-         23)],
5318
-                           'first-line': 44,
5305
+                           'sel-line': 460,
5306
+                           'sel-line-start': 26123,
5307
+                           'selection_end': 26123,
5308
+                           'selection_start': 26123},
5309
+                          1480751941.827],
5310
+                         [loc('PlayStream.py'),
5311
+                          {'attrib-starts': [],
5312
+                           'first-line': 0,
5319 5313
                            'folded-linenos': [],
5320
-                           'sel-line': 57,
5321
-                           'sel-line-start': 2121,
5322
-                           'selection_end': 2144,
5323
-                           'selection_start': 2138},
5324
-                          1480548133.601],
5325
-                         [loc('ChoiceBox.py'),
5326
-                          {'attrib-starts': [('ChoiceBox2',
5327
-        8),
5328
-        ('ChoiceBox2.autoResize',
5329
-         108)],
5330
-                           'first-line': 98,
5314
+                           'sel-line': 11,
5315
+                           'sel-line-start': 431,
5316
+                           'selection_end': 449,
5317
+                           'selection_start': 449},
5318
+                          1480751956.342],
5319
+                         [loc('PlayStream.py'),
5320
+                          {'attrib-starts': [('PSPlayer',
5321
+        91),
5322
+        ('PSPlayer.__init__',
5323
+         92)],
5324
+                           'first-line': 2,
5331 5325
                            'folded-linenos': [],
5332
-                           'sel-line': 115,
5333
-                           'sel-line-start': 5129,
5334
-                           'selection_end': 5155,
5335
-                           'selection_start': 5149},
5336
-                          1480548134.631],
5337
-                         [loc('ChoiceBox.py'),
5338
-                          {'attrib-starts': [('ChoiceBox2',
5339
-        8),
5340
-        ('ChoiceBox2.autoResize',
5341
-         108)],
5342
-                           'first-line': 105,
5326
+                           'sel-line': 121,
5327
+                           'sel-line-start': 4996,
5328
+                           'selection_end': 5024,
5329
+                           'selection_start': 5018},
5330
+                          1480756795.819],
5331
+                         [loc('PlayStream.py'),
5332
+                          {'attrib-starts': [('PSPlayer',
5333
+        91),
5334
+        ('PSPlayer.service_info',
5335
+         225)],
5336
+                           'first-line': 215,
5343 5337
                            'folded-linenos': [],
5344
-                           'sel-line': 122,
5345
-                           'sel-line-start': 5406,
5346
-                           'selection_end': 5440,
5347
-                           'selection_start': 5434},
5348
-                          1480548135.011],
5349
-                         [loc('ChoiceBox.py'),
5350
-                          {'attrib-starts': [('ChoiceBox2',
5351
-        8),
5352
-        ('ChoiceBox2.autoResize',
5353
-         108)],
5354
-                           'first-line': 114,
5338
+                           'sel-line': 232,
5339
+                           'sel-line-start': 9024,
5340
+                           'selection_end': 9077,
5341
+                           'selection_start': 9072},
5342
+                          1480756796.863],
5343
+                         [loc('PlayStream.py'),
5344
+                          {'attrib-starts': [('MainScreen',
5345
+        318)],
5346
+                           'first-line': 311,
5355 5347
                            'folded-linenos': [],
5356
-                           'sel-line': 131,
5357
-                           'sel-line-start': 5806,
5358
-                           'selection_end': 5829,
5359
-                           'selection_start': 5823},
5360
-                          1480548135.487],
5361
-                         [loc('ChoiceBox.py'),
5362
-                          {'attrib-starts': [('ChoiceBox2',
5363
-        8),
5364
-        ('ChoiceBox2.autoResize',
5365
-         108)],
5366
-                           'first-line': 121,
5348
+                           'sel-line': 328,
5349
+                           'sel-line-start': 12826,
5350
+                           'selection_end': 12897,
5351
+                           'selection_start': 12892},
5352
+                          1480756797.782],
5353
+                         [loc('PlayStream.py'),
5354
+                          {'attrib-starts': [('MainScreen',
5355
+        318),
5356
+        ('MainScreen.Ok',
5357
+         491)],
5358
+                           'first-line': 526,
5367 5359
                            'folded-linenos': [],
5368
-                           'sel-line': 132,
5369
-                           'sel-line-start': 5872,
5370
-                           'selection_end': 5895,
5371
-                           'selection_start': 5889},
5372
-                          1480548135.971],
5373
-                         [loc('ChoiceBox.py'),
5374
-                          {'attrib-starts': [('ChoiceBox2',
5375
-        8),
5376
-        ('ChoiceBox2.__init__',
5377
-         23)],
5378
-                           'first-line': 6,
5360
+                           'sel-line': 532,
5361
+                           'sel-line-start': 22660,
5362
+                           'selection_end': 22728,
5363
+                           'selection_start': 22728},
5364
+                          1480756800.912],
5365
+                         [loc('PlayStream.py'),
5366
+                          {'attrib-starts': [('MainScreen',
5367
+        318),
5368
+        ('MainScreen.Ok',
5369
+         491)],
5370
+                           'first-line': 526,
5371
+                           'folded-linenos': [],
5372
+                           'sel-line': 534,
5373
+                           'sel-line-start': 22746,
5374
+                           'selection_end': 22766,
5375
+                           'selection_start': 22765},
5376
+                          1480756802.509],
5377
+                         [loc('PlayStream.py'),
5378
+                          {'attrib-starts': [],
5379
+                           'first-line': 9,
5379 5380
                            'folded-linenos': [],
5380
-                           'sel-line': 24,
5381
-                           'sel-line-start': 909,
5382
-                           'selection_end': 930,
5383
-                           'selection_start': 922},
5384
-                          1480621196.918],
5385
-                         [loc('../python/Components/GUISkin.py'),
5381
+                           'sel-line': 14,
5382
+                           'sel-line-start': 466,
5383
+                           'selection_end': 513,
5384
+                           'selection_start': 513},
5385
+                          1480756808.806],
5386
+                         [loc('PlayStream.py'),
5387
+                          {'attrib-starts': [],
5388
+                           'first-line': 9,
5389
+                           'folded-linenos': [],
5390
+                           'sel-line': 14,
5391
+                           'sel-line-start': 466,
5392
+                           'selection_end': 520,
5393
+                           'selection_start': 514},
5394
+                          1480756809.501],
5395
+                         [loc('PlayStream.py'),
5396
+                          {'attrib-starts': [('PSPlayer',
5397
+        91),
5398
+        ('PSPlayer.__init__',
5399
+         92)],
5400
+                           'first-line': 104,
5401
+                           'folded-linenos': [],
5402
+                           'sel-line': 121,
5403
+                           'sel-line-start': 4996,
5404
+                           'selection_end': 5024,
5405
+                           'selection_start': 5018},
5406
+                          1480758158.263],
5407
+                         [loc('sniplets.py'),
5386 5408
                           {'attrib-starts': [],
5387 5409
                            'first-line': 0,
5388 5410
                            'folded-linenos': [],
@@ -5390,111 +5412,81 @@ guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
5390 5412
                            'sel-line-start': 0,
5391 5413
                            'selection_end': 0,
5392 5414
                            'selection_start': 0},
5393
-                          1480621197.042],
5394
-                         [loc('../python/Components/GUISkin.py'),
5395
-                          {'attrib-starts': [('GUISkin',
5396
-        5),
5397
-        ('GUISkin.setTitle',
5398
-         65)],
5399
-                           'first-line': 53,
5400
-                           'folded-linenos': [],
5401
-                           'sel-line': 68,
5402
-                           'sel-line-start': 1840,
5403
-                           'selection_end': 1857,
5404
-                           'selection_start': 1849},
5405
-                          1480621306.861],
5406
-                         [loc('ChoiceBox.py'),
5407
-                          {'attrib-starts': [('ChoiceBox2',
5408
-        8)],
5409
-                           'first-line': 6,
5410
-                           'folded-linenos': [],
5411
-                           'sel-line': 20,
5412
-                           'sel-line-start': 763,
5413
-                           'selection_end': 785,
5414
-                           'selection_start': 785},
5415
-                          1480621623.9],
5416
-                         [loc('PlayStream.py'),
5415
+                          1480758171.285],
5416
+                         [loc('sniplets.py'),
5417 5417
                           {'attrib-starts': [],
5418
-                           'first-line': 25,
5418
+                           'first-line': 0,
5419 5419
                            'folded-linenos': [],
5420
-                           'sel-line': 30,
5421
-                           'sel-line-start': 1172,
5422
-                           'selection_end': 1208,
5423
-                           'selection_start': 1202},
5424
-                          1480621629.137],
5425
-                         [loc('PlayStream.py'),
5420
+                           'sel-line': 4,
5421
+                           'sel-line-start': 124,
5422
+                           'selection_end': 143,
5423
+                           'selection_start': 135},
5424
+                          1480758572.581],
5425
+                         [loc('ContentSources.py'),
5426 5426
                           {'attrib-starts': [],
5427
-                           'first-line': 20,
5427
+                           'first-line': 173,
5428 5428
                            'folded-linenos': [],
5429
-                           'sel-line': 31,
5430
-                           'sel-line-start': 1212,
5431
-                           'selection_end': 1223,
5432
-                           'selection_start': 1217},
5433
-                          1480621630.754],
5434
-                         [loc('PlayStream.py'),
5435
-                          {'attrib-starts': [('make_service',
5436
-        55)],
5437
-                           'first-line': 38,
5429
+                           'sel-line': 192,
5430
+                           'sel-line-start': 6829,
5431
+                           'selection_end': 6829,
5432
+                           'selection_start': 6829},
5433
+                          1480758581.095],
5434
+                         [loc('sources/ltc.py'),
5435
+                          {'attrib-starts': [('Source',
5436
+        24),
5437
+        ('Source.get_content',
5438
+         71)],
5439
+                           'first-line': 67,
5438 5440
                            'folded-linenos': [],
5439
-                           'sel-line': 55,
5440
-                           'sel-line-start': 2207,
5441
-                           'selection_end': 2219,
5442
-                           'selection_start': 2216},
5443
-                          1480621630.892],
5441
+                           'sel-line': 72,
5442
+                           'sel-line-start': 2705,
5443
+                           'selection_end': 2705,
5444
+                           'selection_start': 2705},
5445
+                          1480758647.62],
5444 5446
                          [loc('PlayStream.py'),
5445
-                          {'attrib-starts': [],
5446
-                           'first-line': 29,
5447
+                          {'attrib-starts': [('PSPlayer',
5448
+        91),
5449
+        ('PSPlayer.__init__',
5450
+         92)],
5451
+                           'first-line': 109,
5447 5452
                            'folded-linenos': [],
5448
-                           'sel-line': 40,
5449
-                           'sel-line-start': 1611,
5450
-                           'selection_end': 1660,
5451
-                           'selection_start': 1658},
5452
-                          1480621631.54],
5453
-                         [loc('PlayStream.py'),
5453
+                           'sel-line': 124,
5454
+                           'sel-line-start': 5133,
5455
+                           'selection_end': 5147,
5456
+                           'selection_start': 5147},
5457
+                          1480758789.926],
5458
+                         [loc('sniplets.py'),
5454 5459
                           {'attrib-starts': [],
5455
-                           'first-line': 29,
5460
+                           'first-line': 0,
5456 5461
                            'folded-linenos': [],
5457
-                           'sel-line': 40,
5458
-                           'sel-line-start': 1611,
5459
-                           'selection_end': 1737,
5460
-                           'selection_start': 1734},
5461
-                          1480621633.911],
5462
+                           'sel-line': 1,
5463
+                           'sel-line-start': 28,
5464
+                           'selection_end': 74,
5465
+                           'selection_start': 67},
5466
+                          1480758809.125],
5462 5467
                          [loc('PlayStream.py'),
5463
-                          {'attrib-starts': [('MainScreen',
5464
-        319),
5465
-        ('MainScreen.__init__',
5466
-         349)],
5467
-                           'first-line': 334,
5468
+                          {'attrib-starts': [('PSPlayer',
5469
+        91),
5470
+        ('PSPlayer.__init__',
5471
+         92)],
5472
+                           'first-line': 109,
5468 5473
                            'folded-linenos': [],
5469
-                           'sel-line': 351,
5470
-                           'sel-line-start': 14819,
5471
-                           'selection_end': 14838,
5472
-                           'selection_start': 14833},
5473
-                          1480621927.754],
5474
-                         [loc('ChoiceBox.py'),
5475
-                          {'attrib-starts': [('ChoiceBox2',
5476
-        8),
5477
-        ('ChoiceBox2.__init__',
5478
-         23)],
5479
-                           'first-line': 4,
5480
-                           'folded-linenos': [],
5481
-                           'sel-line': 43,
5482
-                           'sel-line-start': 1528,
5483
-                           'selection_end': 1563,
5484
-                           'selection_start': 1555},
5485
-                          1480622087.775],
5486
-                         [loc('PlayStream.py'),
5487
-                          {'attrib-starts': [('MainScreen',
5488
-        319)],
5489
-                           'first-line': 313,
5474
+                           'sel-line': 125,
5475
+                           'sel-line-start': 5157,
5476
+                           'selection_end': 5219,
5477
+                           'selection_start': 5219},
5478
+                          1480758825.135],
5479
+                         [loc('sniplets.py'),
5480
+                          {'attrib-starts': [],
5481
+                           'first-line': 0,
5490 5482
                            'folded-linenos': [],
5491
-                           'sel-line': 321,
5492
-                           'sel-line-start': 12372,
5493
-                           'selection_end': 12440,
5494
-                           'selection_start': 12421},
5495
-                          1480622113.43]],
5483
+                           'sel-line': 1,
5484
+                           'sel-line-start': 28,
5485
+                           'selection_end': 82,
5486
+                           'selection_start': 51},
5487
+                          1480758835.647]],
5496 5488
                         20),
5497
-          'current-loc': loc('ChoiceBox.py'),
5489
+          'current-loc': loc('PlayStream.py'),
5498 5490
           'editor-state-list': [(loc('plugin.py'),
5499 5491
                                  {'attrib-starts': [('main',
5500 5492
         4)],
@@ -5505,14 +5497,16 @@ guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
5505 5497
                                   'selection_end': 208,
5506 5498
                                   'selection_start': 199}),
5507 5499
                                 (loc('PlayStream.py'),
5508
-                                 {'attrib-starts': [('MainScreen',
5509
-        319)],
5510
-                                  'first-line': 313,
5500
+                                 {'attrib-starts': [('PSPlayer',
5501
+        91),
5502
+        ('PSPlayer.start_subtitles_timer',
5503
+         217)],
5504
+                                  'first-line': 131,
5511 5505
                                   'folded-linenos': [],
5512
-                                  'sel-line': 321,
5513
-                                  'sel-line-start': 12372,
5514
-                                  'selection_end': 12440,
5515
-                                  'selection_start': 12421}),
5506
+                                  'sel-line': 142,
5507
+                                  'sel-line-start': 5807,
5508
+                                  'selection_end': 5836,
5509
+                                  'selection_start': 5815}),
5516 5510
                                 (loc('util.py'),
5517 5511
                                  {'attrib-starts': [('play_video',
5518 5512
         49)],
@@ -5577,14 +5571,14 @@ guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
5577 5571
                                 (loc('sources/ltc.py'),
5578 5572
                                  {'attrib-starts': [('Source',
5579 5573
         24),
5580
-        ('Source.call2',
5581
-         610)],
5582
-                                  'first-line': 610,
5574
+        ('Source.get_content',
5575
+         71)],
5576
+                                  'first-line': 67,
5583 5577
                                   'folded-linenos': [],
5584
-                                  'sel-line': 616,
5585
-                                  'sel-line-start': 31793,
5586
-                                  'selection_end': 31793,
5587
-                                  'selection_start': 31793}),
5578
+                                  'sel-line': 72,
5579
+                                  'sel-line-start': 2705,
5580
+                                  'selection_end': 2705,
5581
+                                  'selection_start': 2705}),
5588 5582
                                 (loc('resolvers/hdgo.py'),
5589 5583
                                  {'attrib-starts': [('supports',
5590 5584
         37)],
@@ -5596,24 +5590,34 @@ guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
5596 5590
                                   'selection_start': 1163}),
5597 5591
                                 (loc('ChoiceBox.py'),
5598 5592
                                  {'attrib-starts': [('ChoiceBox2',
5599
-        8)],
5600
-                                  'first-line': 49,
5593
+        8),
5594
+        ('ChoiceBox2.__init__',
5595
+         23)],
5596
+                                  'first-line': 0,
5601 5597
                                   'folded-linenos': [],
5602
-                                  'sel-line': 10,
5603
-                                  'sel-line-start': 332,
5604
-                                  'selection_end': 414,
5605
-                                  'selection_start': 414}),
5598
+                                  'sel-line': 44,
5599
+                                  'sel-line-start': 1664,
5600
+                                  'selection_end': 1702,
5601
+                                  'selection_start': 1694}),
5606 5602
                                 (loc('../python/Components/GUISkin.py'),
5607 5603
                                  {'attrib-starts': [('GUISkin',
5608 5604
         5),
5609
-        ('GUISkin.setTitle',
5610
-         65)],
5611
-                                  'first-line': 53,
5605
+        ('GUISkin.__init__',
5606
+         8)],
5607
+                                  'first-line': 17,
5612 5608
                                   'folded-linenos': [],
5613
-                                  'sel-line': 68,
5614
-                                  'sel-line-start': 1840,
5615
-                                  'selection_end': 1857,
5616
-                                  'selection_start': 1849})],
5609
+                                  'sel-line': 9,
5610
+                                  'sel-line-start': 207,
5611
+                                  'selection_end': 235,
5612
+                                  'selection_start': 225}),
5613
+                                (loc('sniplets.py'),
5614
+                                 {'attrib-starts': [],
5615
+                                  'first-line': 0,
5616
+                                  'folded-linenos': [],
5617
+                                  'sel-line': 1,
5618
+                                  'sel-line-start': 28,
5619
+                                  'selection_end': 82,
5620
+                                  'selection_start': 51})],
5617 5621
           'has-focus': True,
5618 5622
           'locked': False},
5619 5623
          [loc('plugin.py'),
@@ -5627,7 +5631,8 @@ guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
5627 5631
           loc('sources/ltc.py'),
5628 5632
           loc('resolvers/hdgo.py'),
5629 5633
           loc('ChoiceBox.py'),
5630
-          loc('../python/Components/GUISkin.py')]),
5634
+          loc('../python/Components/GUISkin.py'),
5635
+          loc('sniplets.py')]),
5631 5636
         ({'bookmarks': ([[loc('sources/viaplay.py'),
5632 5637
                           {'attrib-starts': [('Source',
5633 5638
         19),
@@ -5869,8 +5874,6 @@ guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
5869 5874
                                   'selection_start': 2626}),
5870 5875
                                 (loc('sources/euronews.py'),
5871 5876
                                  {}),
5872
-                                (loc('../python/Components/GUISkin.py'),
5873
-                                 {}),
5874 5877
                                 (loc('resolvers/hdgo.py'),
5875 5878
                                  {'attrib-starts': [],
5876 5879
                                   'first-line': 74,
@@ -5919,6 +5922,8 @@ guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
5919 5922
                                   'sel-line-start': 108,
5920 5923
                                   'selection_end': 118,
5921 5924
                                   'selection_start': 112}),
5925
+                                (loc('sniplets.py'),
5926
+                                 {}),
5922 5927
                                 (loc('util.py'),
5923 5928
                                  {'attrib-starts': [('player',
5924 5929
         86)],
@@ -5938,32 +5943,37 @@ guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
5938 5943
                                   'sel-line': 119,
5939 5944
                                   'sel-line-start': 5450,
5940 5945
                                   'selection_end': 5488,
5941
-                                  'selection_start': 5476})],
5946
+                                  'selection_start': 5476}),
5947
+                                (loc('../python/Components/GUISkin.py'),
5948
+                                 {})],
5942 5949
           'has-focus': False,
5943 5950
           'locked': False},
5944 5951
          [loc('ChoiceBox.py'),
5945 5952
           loc('ContentSources.py'),
5946 5953
           loc('sources/euronews.py'),
5947
-          loc('../python/Components/GUISkin.py'),
5948 5954
           loc('resolvers/hdgo.py'),
5949 5955
           loc('sources/iplayer.py'),
5950 5956
           loc('sources/kinofilmnet.py'),
5951 5957
           loc('sources/ltc.py'),
5952 5958
           loc('PlayStream.py'),
5953 5959
           loc('plugin.py'),
5960
+          loc('sniplets.py'),
5954 5961
           loc('util.py'),
5955
-          loc('sources/viaplay.py')])),
5956
-                               'open_files': [u'ContentSources.py',
5962
+          loc('sources/viaplay.py'),
5963
+          loc('../python/Components/GUISkin.py')])),
5964
+                               'open_files': [u'ChoiceBox.py',
5957 5965
         u'plugin.py',
5958 5966
         u'resolvers/hdgo.py',
5959 5967
         u'sources/euronews.py',
5960 5968
         u'sources/iplayer.py',
5961 5969
         u'sources/kinofilmnet.py',
5962
-        u'sources/ltc.py',
5963 5970
         u'sources/viaplay.py',
5971
+        u'../python/Components/GUISkin.py',
5964 5972
         u'util.py',
5965
-        u'PlayStream.py',
5966
-        u'ChoiceBox.py']},
5973
+        u'ContentSources.py',
5974
+        u'sources/ltc.py',
5975
+        u'sniplets.py',
5976
+        u'PlayStream.py']},
5967 5977
         'saved_notebook_display': None,
5968 5978
         'split_percents': {0: 0.2603027754415475},
5969 5979
         'splits': 2,
@@ -5978,12 +5988,12 @@ guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
5978 5988
                          0,
5979 5989
                          2405,
5980 5990
                          1376)}]}
5981
-guimgr.recent-documents = [loc('ChoiceBox.py'),
5982
-                           loc('PlayStream.py'),
5983
-                           loc('../python/Components/GUISkin.py'),
5984
-                           loc('util.py'),
5985
-                           loc('ContentSources.py'),
5991
+guimgr.recent-documents = [loc('PlayStream.py'),
5992
+                           loc('sniplets.py'),
5986 5993
                            loc('sources/ltc.py'),
5994
+                           loc('ContentSources.py'),
5995
+                           loc('util.py'),
5996
+                           loc('ChoiceBox.py'),
5987 5997
                            loc('resolvers/hdgo.py'),
5988 5998
                            loc('sources/viaplay.py'),
5989 5999
                            loc('sources/iplayer.py'),
@@ -6642,25 +6652,6 @@ guimgr.visual-state = {loc('../../Kodi/test2/plugin.video.aaa/addon.py'): {'a'\
6642 6652
         'sel-line-start': 4043,
6643 6653
         'selection_end': 4043,
6644 6654
         'selection_start': 4043},
6645
-                       loc('../../../../Python27/Lib/site-packages/gi/__init__.py'): {'a'\
6646
-        'ttrib-starts': [],
6647
-        'first-line': 24,
6648
-        'folded-linenos': [],
6649
-        'sel-line': 41,
6650
-        'sel-line-start': 1595,
6651
-        'selection_end': 1595,
6652
-        'selection_start': 1595},
6653
-                       loc('../../../../Python27/Lib/site-packages/gi/module.py'): {'a'\
6654
-        'ttrib-starts': [('IntrospectionModule',
6655
-                          110),
6656
-                         ('IntrospectionModule.__getattr__',
6657
-                          132)],
6658
-        'first-line': 121,
6659
-        'folded-linenos': [],
6660
-        'sel-line': 136,
6661
-        'sel-line-start': 4187,
6662
-        'selection_end': 4187,
6663
-        'selection_start': 4187},
6664 6655
                        loc('../../../../Python27/Lib/site-packages/gi/overrides/Gst.py'): {'a'\
6665 6656
         'ttrib-starts': [],
6666 6657
         'first-line': 0,
@@ -6669,6 +6660,15 @@ guimgr.visual-state = {loc('../../Kodi/test2/plugin.video.aaa/addon.py'): {'a'\
6669 6660
         'sel-line-start': 0,
6670 6661
         'selection_end': 0,
6671 6662
         'selection_start': 0},
6663
+                       loc('../../../../Python27/Lib/re.py'): {'attrib-start'\
6664
+        's': [('findall',
6665
+               172)],
6666
+        'first-line': 162,
6667
+        'folded-linenos': [],
6668
+        'sel-line': 180,
6669
+        'sel-line-start': 8708,
6670
+        'selection_end': 8708,
6671
+        'selection_start': 8708},
6672 6672
                        loc('../../../../Python27/Lib/site-packages/requests/adapters.py'): {'a'\
6673 6673
         'ttrib-starts': [('HTTPAdapter',
6674 6674
                           77),
@@ -6709,15 +6709,25 @@ guimgr.visual-state = {loc('../../Kodi/test2/plugin.video.aaa/addon.py'): {'a'\
6709 6709
         'sel-line-start': 2478,
6710 6710
         'selection_end': 2478,
6711 6711
         'selection_start': 2478},
6712
-                       loc('../../../../Python27/lib/re.py'): {'attrib-start'\
6713
-        's': [('findall',
6714
-               172)],
6715
-        'first-line': 162,
6712
+                       loc('../../../../Python27/lib/site-packages/gi/__init__.py'): {'a'\
6713
+        'ttrib-starts': [],
6714
+        'first-line': 24,
6716 6715
         'folded-linenos': [],
6717
-        'sel-line': 180,
6718
-        'sel-line-start': 8708,
6719
-        'selection_end': 8708,
6720
-        'selection_start': 8708},
6716
+        'sel-line': 41,
6717
+        'sel-line-start': 1595,
6718
+        'selection_end': 1595,
6719
+        'selection_start': 1595},
6720
+                       loc('../../../../Python27/lib/site-packages/gi/module.py'): {'a'\
6721
+        'ttrib-starts': [('IntrospectionModule',
6722
+                          110),
6723
+                         ('IntrospectionModule.__getattr__',
6724
+                          132)],
6725
+        'first-line': 121,
6726
+        'folded-linenos': [],
6727
+        'sel-line': 136,
6728
+        'sel-line-start': 4187,
6729
+        'selection_end': 4187,
6730
+        'selection_start': 4187},
6721 6731
                        loc('../../../../Python27/lib/site.py'): {'attrib-sta'\
6722 6732
         'rts': [('setquit',
6723 6733
                  333),
@@ -6742,7 +6752,12 @@ proj.pypath = {None: ('custom',
6742 6752
                       u'c:\\Data\\Programming\\enigma2\\python;')}
6743 6753
 search.replace-history = [u'self',
6744 6754
                           u'current']
6745
-search.search-history = [u'settil',
6755
+search.search-history = [u'etimer',
6756
+                         u'text=',
6757
+                         u'OptionsScreen',
6758
+                         u'title=',
6759
+                         u'ChoiceBox',
6760
+                         u'settil',
6746 6761
                          u'"text"',
6747 6762
                          u'choice',
6748 6763
                          u'ch',
@@ -6756,12 +6771,7 @@ search.search-history = [u'settil',
6756 6771
                          u'content',
6757 6772
                          u'autoResize',
6758 6773
                          u'font',
6759
-                         u'choicebox',
6760
-                         u'skin',
6761
-                         u'ChoiceBox',
6762
-                         u'skin_name',
6763
-                         u'skin_choice_box',
6764
-                         u'backgrou']
6774
+                         u'choicebox']
6765 6775
 testing.stored-results = (1,
6766 6776
                           [],
6767 6777
                           {})

二进制
release/enigma2-plugin-extensions-playstream_0.1f.ipk 查看文件


二进制
release/enigma2-plugin-extensions-playstream_0.1g.ipk 查看文件


二进制
release/enigma2-plugin-extensions-playstream_0.1h.ipk 查看文件


二进制
release/enigma2-plugin-extensions-playstream_0.2a.ipk 查看文件


二进制
release/enigma2-plugin-extensions-playstream_0.2b.ipk 查看文件


二进制
release/enigma2-plugin-extensions-playstream_0.2c.ipk 查看文件


二进制
release/enigma2-plugin-extensions-playstream_0.2d.ipk 查看文件


二进制
release/enigma2-plugin-extensions-playstream_0.2e.ipk 查看文件


二进制
release/enigma2-plugin-extensions-playstream_0.2f.ipk 查看文件


二进制
release/enigma2-plugin-extensions-playstream_0.2g.ipk 查看文件


二进制
release/enigma2-plugin-extensions-playstream_0.2h.ipk 查看文件


二进制
release/enigma2-plugin-extensions-playstream_0.3a.ipk 查看文件


二进制
release/enigma2-plugin-extensions-playstream_0.3b.ipk 查看文件


二进制
release/enigma2-plugin-extensions-playstream_0.3c.ipk 查看文件


二进制
release/enigma2-plugin-extensions-playstream_0.3d.ipk 查看文件


二进制
release/enigma2-plugin-extensions-playstream_0.3e.ipk 查看文件


二进制
release/enigma2-plugin-extensions-playstream_0.4a.ipk 查看文件


二进制
release/enigma2-plugin-extensions-playstream_0.4b.ipk 查看文件


二进制
release/enigma2-plugin-extensions-playstream_0.4c.ipk 查看文件


二进制
release/enigma2-plugin-extensions-playstream_0.4d.ipk 查看文件


二进制
release/enigma2-plugin-extensions-playstream_0.4f.ipk 查看文件


二进制
release/enigma2-plugin-extensions-playstream_0.5a.ipk 查看文件


二进制
release/enigma2-plugin-extensions-playstream_0.5b.ipk 查看文件


二进制
release/enigma2-plugin-extensions-playstream_0.5c.ipk 查看文件


二进制
release/enigma2-plugin-extensions-playstream_0.5d.ipk 查看文件


二进制
release/enigma2-plugin-extensions-playstream_0.5e.ipk 查看文件


二进制
release/enigma2-plugin-extensions-playstream_0.5g.ipk 查看文件


二进制
release/enigma2-plugin-extensions-playstream_0.5h.ipk 查看文件


二进制
release/enigma2-plugin-extensions-playstream_0.5i.ipk 查看文件