Browse Source

Labota kļūda filmix (strādā ar video, kur nav dažādu rezolūciju)

Ivars 8 years ago
parent
commit
614aee58fd
2 changed files with 265 additions and 262 deletions
  1. 261
    261
      PlayStream.wpr
  2. 4
    1
      sources/filmix.py

+ 261
- 261
PlayStream.wpr View File

@@ -120,7 +120,7 @@ debug.breakpoints = {loc('gstreamer/player-minimal.py'): {12: (0,
120 120
         None,
121 121
         1,
122 122
         0),
123
-        118: (0,
123
+        119: (0,
124 124
               None,
125 125
               1,
126 126
               0),
@@ -128,7 +128,7 @@ debug.breakpoints = {loc('gstreamer/player-minimal.py'): {12: (0,
128 128
               None,
129 129
               1,
130 130
               0),
131
-        283: (0,
131
+        286: (0,
132 132
               None,
133 133
               1,
134 134
               0)},
@@ -5117,8 +5117,8 @@ guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
5117 5117
                                {'tree-state': []})],
5118 5118
                  'primary_view_state': {'area': 'wide',
5119 5119
         'constraint': None,
5120
-        'current_pages': [1,
5121
-                          1],
5120
+        'current_pages': [3,
5121
+                          0],
5122 5122
         'notebook_display': 'normal',
5123 5123
         'notebook_percent': 0.40625,
5124 5124
         'override_title': None,
@@ -5168,7 +5168,7 @@ guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
5168 5168
                                        'fRegexFlags': 46,
5169 5169
                                        'fReplaceText': u'self.',
5170 5170
                                        'fReverse': False,
5171
-                                       'fSearchText': u'gst-',
5171
+                                       'fSearchText': u'eServiceReference',
5172 5172
                                        'fStartPos': 0,
5173 5173
                                        'fStyle': 'text',
5174 5174
                                        'fWholeWords': False,
@@ -5225,17 +5225,16 @@ guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
5225 5225
         -1,
5226 5226
         -1),
5227 5227
                        'attrib-starts': [],
5228
-                       'first-line': 1215,
5228
+                       'first-line': 0,
5229 5229
                        'folded-linenos': [],
5230 5230
                        'history': {u'file:C:/Data/Programming/enigma2/PlayStream2/ContentSources.py': ['u'\
5231
-        'rl\n',
5232
-        'print r\n',
5233
-        'print url\n']},
5231
+        'rl0\n',
5232
+        'print url0\n']},
5234 5233
                        'launch-id': None,
5235
-                       'sel-line': 1225,
5236
-                       'sel-line-start': 82159,
5237
-                       'selection_end': 82269,
5238
-                       'selection_start': 82159}),
5234
+                       'sel-line': 3,
5235
+                       'sel-line-start': 114,
5236
+                       'selection_end': 208,
5237
+                       'selection_start': 114}),
5239 5238
                      ('debug-watch',
5240 5239
                       'wide',
5241 5240
                       1,
@@ -5289,166 +5288,181 @@ guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
5289 5288
                       {})],
5290 5289
         'primary_view_state': {'editor_states': ('vertical',
5291 5290
         1.0,
5292
-        ({'bookmarks': ([[loc('util.py'),
5293
-                          {'attrib-starts': [('play_video',
5294
-        49)],
5295
-                           'first-line': 0,
5291
+        ({'bookmarks': ([[loc('PlayStream.py'),
5292
+                          {'attrib-starts': [('PSPlayer',
5293
+        91),
5294
+        ('PSPlayer.__init__',
5295
+         92)],
5296
+                           'first-line': 107,
5296 5297
                            'folded-linenos': [],
5297
-                           'sel-line': 70,
5298
-                           'sel-line-start': 1928,
5299
-                           'selection_end': 1928,
5300
-                           'selection_start': 1928},
5301
-                          1481149538.99],
5302
-                         [loc('util.py'),
5303
-                          {'attrib-starts': [('play_video',
5304
-        49)],
5305
-                           'first-line': 66,
5298
+                           'sel-line': 119,
5299
+                           'sel-line-start': 4948,
5300
+                           'selection_end': 4979,
5301
+                           'selection_start': 4972},
5302
+                          1481480932.314],
5303
+                         [loc('PlayStream.py'),
5304
+                          {'attrib-starts': [('PSPlayer',
5305
+        91),
5306
+        ('PSPlayer.play_service',
5307
+         220)],
5308
+                           'first-line': 203,
5306 5309
                            'folded-linenos': [],
5307
-                           'sel-line': 83,
5308
-                           'sel-line-start': 2447,
5309
-                           'selection_end': 2486,
5310
-                           'selection_start': 2485},
5311
-                          1481149540.094],
5312
-                         [loc('util.py'),
5313
-                          {'attrib-starts': [('player',
5314
-        86)],
5315
-                           'first-line': 76,
5310
+                           'sel-line': 220,
5311
+                           'sel-line-start': 8608,
5312
+                           'selection_end': 8628,
5313
+                           'selection_start': 8621},
5314
+                          1481480936.264],
5315
+                         [loc('PlayStream.py'),
5316
+                          {'attrib-starts': [('PSPlayer',
5317
+        91),
5318
+        ('PSPlayer.play_service',
5319
+         220)],
5320
+                           'first-line': 203,
5316 5321
                            'folded-linenos': [],
5317
-                           'sel-line': 97,
5318
-                           'sel-line-start': 3194,
5319
-                           'selection_end': 3215,
5320
-                           'selection_start': 3204},
5321
-                          1481371034.176],
5322
-                         [loc('ContentSources.py'),
5323
-                          {'attrib-starts': [('ContentSources',
5324
-        15),
5325
-        ('ContentSources.get_streams',
5326
-         74)],
5327
-                           'first-line': 87,
5322
+                           'sel-line': 220,
5323
+                           'sel-line-start': 8608,
5324
+                           'selection_end': 8641,
5325
+                           'selection_start': 8634},
5326
+                          1481480936.679],
5327
+                         [loc('PlayStream.py'),
5328
+                          {'attrib-starts': [('PSPlayer',
5329
+        91),
5330
+        ('PSPlayer.play_service',
5331
+         220)],
5332
+                           'first-line': 210,
5328 5333
                            'folded-linenos': [],
5329
-                           'sel-line': 94,
5330
-                           'sel-line-start': 3796,
5331
-                           'selection_end': 3829,
5332
-                           'selection_start': 3829},
5333
-                          1481371054.748],
5334
-                         [loc('sources/replay.py'),
5335
-                          {'attrib-starts': [('Source',
5336
-        25),
5337
-        ('Source.get_content',
5338
-         36)],
5339
-                           'first-line': 233,
5334
+                           'sel-line': 221,
5335
+                           'sel-line-start': 8644,
5336
+                           'selection_end': 8678,
5337
+                           'selection_start': 8671},
5338
+                          1481480938.579],
5339
+                         [loc('PlayStream.py'),
5340
+                          {'attrib-starts': [('PSPlayer',
5341
+        91),
5342
+        ('PSPlayer.service_info',
5343
+         231)],
5344
+                           'first-line': 220,
5340 5345
                            'folded-linenos': [],
5341
-                           'sel-line': 245,
5342
-                           'sel-line-start': 13416,
5343
-                           'selection_end': 13416,
5344
-                           'selection_start': 13416},
5345
-                          1481371071.983],
5346
-                         [loc('sources/SourceBase.py'),
5347
-                          {'attrib-starts': [('SourceBase',
5348
-        18),
5349
-        ('SourceBase.get_streams',
5350
-         47)],
5351
-                           'first-line': 42,
5346
+                           'sel-line': 231,
5347
+                           'sel-line-start': 8885,
5348
+                           'selection_end': 8900,
5349
+                           'selection_start': 8893},
5350
+                          1481480940.845],
5351
+                         [loc('PlayStream.py'),
5352
+                          {'attrib-starts': [('PSPlayer',
5353
+        91),
5354
+        ('PSPlayer.service_info',
5355
+         231)],
5356
+                           'first-line': 220,
5352 5357
                            'folded-linenos': [],
5353
-                           'sel-line': 59,
5354
-                           'sel-line-start': 2232,
5355
-                           'selection_end': 2232,
5356
-                           'selection_start': 2232},
5357
-                          1481371086.367],
5358
-                         [loc('ContentSources.py'),
5359
-                          {'attrib-starts': [('ContentSources',
5360
-        15),
5361
-        ('ContentSources.get_streams',
5362
-         74)],
5363
-                           'first-line': 87,
5358
+                           'sel-line': 232,
5359
+                           'sel-line-start': 8913,
5360
+                           'selection_end': 8957,
5361
+                           'selection_start': 8950},
5362
+                          1481480941.345],
5363
+                         [loc('PlayStream.py'),
5364
+                          {'attrib-starts': [('PSPlayer',
5365
+        91),
5366
+        ('PSPlayer.cb_select_stream',
5367
+         259)],
5368
+                           'first-line': 247,
5364 5369
                            'folded-linenos': [],
5365
-                           'sel-line': 94,
5366
-                           'sel-line-start': 3796,
5367
-                           'selection_end': 3796,
5368
-                           'selection_start': 3796},
5369
-                          1481371095.354],
5370
-                         [loc('util.py'),
5371
-                          {'attrib-starts': [('play_video',
5372
-        49)],
5373
-                           'first-line': 67,
5370
+                           'sel-line': 264,
5371
+                           'sel-line-start': 10414,
5372
+                           'selection_end': 10429,
5373
+                           'selection_start': 10422},
5374
+                          1481480944.288],
5375
+                         [loc('PlayStream.py'),
5376
+                          {'attrib-starts': [('PSPlayer',
5377
+        91),
5378
+        ('PSPlayer.cb_select_stream',
5379
+         259)],
5380
+                           'first-line': 247,
5374 5381
                            'folded-linenos': [],
5375
-                           'sel-line': 84,
5376
-                           'sel-line-start': 2507,
5377
-                           'selection_end': 2507,
5378
-                           'selection_start': 2507},
5379
-                          1481414443.715],
5380
-                         [loc('ContentSources.py'),
5381
-                          {'attrib-starts': [('ContentSources',
5382
-        15),
5383
-        ('ContentSources.get_streams',
5384
-         74)],
5385
-                           'first-line': 87,
5382
+                           'sel-line': 264,
5383
+                           'sel-line-start': 10414,
5384
+                           'selection_end': 10444,
5385
+                           'selection_start': 10437},
5386
+                          1481480944.786],
5387
+                         [loc('PlayStream.py'),
5388
+                          {'attrib-starts': [('PSPlayer',
5389
+        91),
5390
+        ('PSPlayer.cb_select_stream',
5391
+         259)],
5392
+                           'first-line': 255,
5386 5393
                            'folded-linenos': [],
5387
-                           'sel-line': 94,
5388
-                           'sel-line-start': 3796,
5389
-                           'selection_end': 3796,
5390
-                           'selection_start': 3796},
5391
-                          1481414529.33],
5392
-                         [loc('sources/kinofilmnet.py'),
5393
-                          {'attrib-starts': [('Source',
5394
-        23),
5395
-        ('Source.get_streams',
5396
-         149)],
5397
-                           'first-line': 154,
5394
+                           'sel-line': 266,
5395
+                           'sel-line-start': 10544,
5396
+                           'selection_end': 10569,
5397
+                           'selection_start': 10562},
5398
+                          1481480950.986],
5399
+                         [loc('PlayStream.py'),
5400
+                          {'attrib-starts': [('PSPlayer',
5401
+        91),
5402
+        ('PSPlayer.cb_select_stream',
5403
+         259)],
5404
+                           'first-line': 255,
5398 5405
                            'folded-linenos': [],
5399
-                           'sel-line': 166,
5400
-                           'sel-line-start': 7521,
5401
-                           'selection_end': 7521,
5402
-                           'selection_start': 7521},
5403
-                          1481415143.712],
5404
-                         [loc('ContentSources.py'),
5405
-                          {'attrib-starts': [('ContentSources',
5406
-        15),
5407
-        ('ContentSources.get_streams',
5408
-         74)],
5409
-                           'first-line': 87,
5406
+                           'sel-line': 266,
5407
+                           'sel-line-start': 10544,
5408
+                           'selection_end': 10577,
5409
+                           'selection_start': 10570},
5410
+                          1481480951.379],
5411
+                         [loc('PlayStream.py'),
5412
+                          {'attrib-starts': [('PSPlayer',
5413
+        91),
5414
+        ('PSPlayer.serviceStarted',
5415
+         268)],
5416
+                           'first-line': 255,
5410 5417
                            'folded-linenos': [],
5411
-                           'sel-line': 94,
5412
-                           'sel-line-start': 3796,
5413
-                           'selection_end': 3796,
5414
-                           'selection_start': 3796},
5415
-                          1481415159.443],
5416
-                         [loc('sources/ustvnow.py'),
5417
-                          {'attrib-starts': [('Source',
5418
-        28),
5419
-        ('Source.login',
5420
-         44)],
5421
-                           'first-line': 55,
5418
+                           'sel-line': 268,
5419
+                           'sel-line-start': 10580,
5420
+                           'selection_end': 10595,
5421
+                           'selection_start': 10588},
5422
+                          1481480951.763],
5423
+                         [loc('PlayStream.py'),
5424
+                          {'attrib-starts': [('PSPlayer',
5425
+        91),
5426
+        ('PSPlayer.serviceStarted',
5427
+         268)],
5428
+                           'first-line': 255,
5422 5429
                            'folded-linenos': [],
5423
-                           'sel-line': 57,
5424
-                           'sel-line-start': 2180,
5425
-                           'selection_end': 2223,
5426
-                           'selection_start': 2223},
5427
-                          1481416133.375],
5428
-                         [loc('ContentSources.py'),
5429
-                          {'attrib-starts': [('ContentSources',
5430
-        15),
5431
-        ('ContentSources.get_streams',
5432
-         74)],
5433
-                           'first-line': 87,
5430
+                           'sel-line': 269,
5431
+                           'sel-line-start': 10610,
5432
+                           'selection_end': 10632,
5433
+                           'selection_start': 10625},
5434
+                          1481480952.102],
5435
+                         [loc('PlayStream.py'),
5436
+                          {'attrib-starts': [('MainScreen',
5437
+        324),
5438
+        ('MainScreen.cb_item_menu',
5439
+         626)],
5440
+                           'first-line': 620,
5434 5441
                            'folded-linenos': [],
5435
-                           'sel-line': 94,
5436
-                           'sel-line-start': 3796,
5437
-                           'selection_end': 3796,
5438
-                           'selection_start': 3796},
5439
-                          1481416147.512],
5440
-                         [loc('sources/ustvnow.py'),
5441
-                          {'attrib-starts': [('Source',
5442
-        28),
5443
-        ('Source.login',
5444
-         44)],
5445
-                           'first-line': 47,
5442
+                           'sel-line': 637,
5443
+                           'sel-line-start': 26848,
5444
+                           'selection_end': 26891,
5445
+                           'selection_start': 26884},
5446
+                          1481480953.804],
5447
+                         [loc('PlayStream.py'),
5448
+                          {'attrib-starts': [],
5449
+                           'first-line': 9,
5450
+                           'folded-linenos': [],
5451
+                           'sel-line': 14,
5452
+                           'sel-line-start': 466,
5453
+                           'selection_end': 512,
5454
+                           'selection_start': 495},
5455
+                          1481480965.376],
5456
+                         [loc('PlayStream.py'),
5457
+                          {'attrib-starts': [('make_service',
5458
+        54)],
5459
+                           'first-line': 53,
5446 5460
                            'folded-linenos': [],
5447
-                           'sel-line': 63,
5448
-                           'sel-line-start': 2478,
5449
-                           'selection_end': 2478,
5450
-                           'selection_start': 2478},
5451
-                          1481416278.649],
5461
+                           'sel-line': 69,
5462
+                           'sel-line-start': 2647,
5463
+                           'selection_end': 2658,
5464
+                           'selection_start': 2651},
5465
+                          1481917205.656],
5452 5466
                          [loc('ContentSources.py'),
5453 5467
                           {'attrib-starts': [('ContentSources',
5454 5468
         15),
@@ -5460,19 +5474,19 @@ guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
5460 5474
                            'sel-line-start': 3796,
5461 5475
                            'selection_end': 3796,
5462 5476
                            'selection_start': 3796},
5463
-                          1481416290.17],
5464
-                         [loc('sources/ustvnow.py'),
5477
+                          1481918254.999],
5478
+                         [loc('sources/filmix.py'),
5465 5479
                           {'attrib-starts': [('Source',
5466
-        28),
5467
-        ('Source.login',
5468
-         44)],
5469
-                           'first-line': 41,
5480
+        24),
5481
+        ('Source.get_streams2',
5482
+         253)],
5483
+                           'first-line': 247,
5470 5484
                            'folded-linenos': [],
5471
-                           'sel-line': 53,
5472
-                           'sel-line-start': 2010,
5473
-                           'selection_end': 2040,
5474
-                           'selection_start': 2040},
5475
-                          1481416344.922],
5485
+                           'sel-line': 255,
5486
+                           'sel-line-start': 11626,
5487
+                           'selection_end': 11643,
5488
+                           'selection_start': 11643},
5489
+                          1481918487.272],
5476 5490
                          [loc('ContentSources.py'),
5477 5491
                           {'attrib-starts': [('ContentSources',
5478 5492
         15),
@@ -5484,43 +5498,31 @@ guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
5484 5498
                            'sel-line-start': 3796,
5485 5499
                            'selection_end': 3796,
5486 5500
                            'selection_start': 3796},
5487
-                          1481416358.672],
5488
-                         [loc('sources/ustvnow.py'),
5501
+                          1481918504.366],
5502
+                         [loc('sources/filmix.py'),
5489 5503
                           {'attrib-starts': [('Source',
5490
-        28),
5491
-        ('Source.login',
5492
-         44)],
5493
-                           'first-line': 48,
5494
-                           'folded-linenos': [],
5495
-                           'sel-line': 56,
5496
-                           'sel-line-start': 2058,
5497
-                           'selection_end': 2066,
5498
-                           'selection_start': 2066},
5499
-                          1481416411.631],
5500
-                         [loc('ContentSources.py'),
5501
-                          {'attrib-starts': [('ContentSources',
5502
-        15),
5503
-        ('ContentSources.get_streams',
5504
-         74)],
5505
-                           'first-line': 87,
5504
+        24),
5505
+        ('Source.get_content',
5506
+         49)],
5507
+                           'first-line': 107,
5506 5508
                            'folded-linenos': [],
5507
-                           'sel-line': 94,
5508
-                           'sel-line-start': 3796,
5509
-                           'selection_end': 3796,
5510
-                           'selection_start': 3796},
5511
-                          1481416424.704],
5512
-                         [loc('sources/ustvnow.py'),
5509
+                           'sel-line': 120,
5510
+                           'sel-line-start': 4810,
5511
+                           'selection_end': 4810,
5512
+                           'selection_start': 4810},
5513
+                          1481918537.137],
5514
+                         [loc('sources/filmix.py'),
5513 5515
                           {'attrib-starts': [('Source',
5514
-        28),
5515
-        ('Source.login',
5516
-         44)],
5517
-                           'first-line': 48,
5516
+        24),
5517
+        ('Source.get_streams2',
5518
+         253)],
5519
+                           'first-line': 245,
5518 5520
                            'folded-linenos': [],
5519
-                           'sel-line': 59,
5520
-                           'sel-line-start': 2351,
5521
-                           'selection_end': 2351,
5522
-                           'selection_start': 2351},
5523
-                          1481416464.308]],
5521
+                           'sel-line': 253,
5522
+                           'sel-line-start': 11549,
5523
+                           'selection_end': 11573,
5524
+                           'selection_start': 11573},
5525
+                          1481918585.247]],
5524 5526
                         20),
5525 5527
           'current-loc': loc('ContentSources.py'),
5526 5528
           'editor-state-list': [(loc('plugin.py'),
@@ -5533,16 +5535,14 @@ guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
5533 5535
                                   'selection_end': 208,
5534 5536
                                   'selection_start': 199}),
5535 5537
                                 (loc('PlayStream.py'),
5536
-                                 {'attrib-starts': [('PSPlayer',
5537
-        91),
5538
-        ('PSPlayer.__init__',
5539
-         92)],
5540
-                                  'first-line': 94,
5538
+                                 {'attrib-starts': [('make_service',
5539
+        54)],
5540
+                                  'first-line': 53,
5541 5541
                                   'folded-linenos': [],
5542
-                                  'sel-line': 100,
5543
-                                  'sel-line-start': 4102,
5544
-                                  'selection_end': 4110,
5545
-                                  'selection_start': 4110}),
5542
+                                  'sel-line': 69,
5543
+                                  'sel-line-start': 2647,
5544
+                                  'selection_end': 2658,
5545
+                                  'selection_start': 2651}),
5546 5546
                                 (loc('util.py'),
5547 5547
                                  {'attrib-starts': [('play_video',
5548 5548
         49)],
@@ -5660,14 +5660,14 @@ guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
5660 5660
                                 (loc('sources/filmix.py'),
5661 5661
                                  {'attrib-starts': [('Source',
5662 5662
         24),
5663
-        ('Source.get_content',
5664
-         49)],
5665
-                                  'first-line': 106,
5663
+        ('Source.get_streams2',
5664
+         253)],
5665
+                                  'first-line': 245,
5666 5666
                                   'folded-linenos': [],
5667
-                                  'sel-line': 117,
5668
-                                  'sel-line-start': 4649,
5669
-                                  'selection_end': 4649,
5670
-                                  'selection_start': 4649}),
5667
+                                  'sel-line': 253,
5668
+                                  'sel-line-start': 11549,
5669
+                                  'selection_end': 11573,
5670
+                                  'selection_start': 11573}),
5671 5671
                                 (loc('sources/replay.py'),
5672 5672
                                  {'attrib-starts': [('Source',
5673 5673
         25),
@@ -6079,20 +6079,20 @@ guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
6079 6079
           loc('../python/Components/GUISkin.py'),
6080 6080
           loc('sources/replay.py')])),
6081 6081
                                'open_files': [u'ChoiceBox.py',
6082
-        u'PlayStream.py',
6083 6082
         u'plugin.py',
6084 6083
         u'resolvers/hdgo.py',
6085 6084
         u'sniplets.py',
6086 6085
         u'sources/euronews.py',
6087
-        u'sources/filmix.py',
6088 6086
         u'sources/iplayer.py',
6087
+        u'sources/kinofilmnet.py',
6089 6088
         u'sources/ltc.py',
6090
-        u'sources/viaplay.py',
6091
-        u'../python/Components/GUISkin.py',
6092 6089
         u'sources/replay.py',
6093
-        u'util.py',
6094
-        u'sources/kinofilmnet.py',
6095 6090
         u'sources/ustvnow.py',
6091
+        u'sources/viaplay.py',
6092
+        u'util.py',
6093
+        u'../python/Components/GUISkin.py',
6094
+        u'PlayStream.py',
6095
+        u'sources/filmix.py',
6096 6096
         u'ContentSources.py']},
6097 6097
         'saved_notebook_display': None,
6098 6098
         'split_percents': {0: 0.33756345177664976},
@@ -6109,13 +6109,13 @@ guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
6109 6109
                          2405,
6110 6110
                          1376)}]}
6111 6111
 guimgr.recent-documents = [loc('ContentSources.py'),
6112
+                           loc('sources/filmix.py'),
6113
+                           loc('PlayStream.py'),
6114
+                           loc('../python/Components/GUISkin.py'),
6115
+                           loc('util.py'),
6112 6116
                            loc('sources/ustvnow.py'),
6113 6117
                            loc('sources/kinofilmnet.py'),
6114
-                           loc('util.py'),
6115 6118
                            loc('sources/replay.py'),
6116
-                           loc('PlayStream.py'),
6117
-                           loc('../python/Components/GUISkin.py'),
6118
-                           loc('sources/filmix.py'),
6119 6119
                            loc('sources/ltc.py'),
6120 6120
                            loc('sniplets.py'),
6121 6121
                            loc('ChoiceBox.py'),
@@ -6776,6 +6776,25 @@ guimgr.visual-state = {loc('../../Kodi/test2/plugin.video.aaa/addon.py'): {'a'\
6776 6776
         'sel-line-start': 4043,
6777 6777
         'selection_end': 4043,
6778 6778
         'selection_start': 4043},
6779
+                       loc('../../../../Python27/Lib/site-packages/gi/__init__.py'): {'a'\
6780
+        'ttrib-starts': [],
6781
+        'first-line': 24,
6782
+        'folded-linenos': [],
6783
+        'sel-line': 41,
6784
+        'sel-line-start': 1595,
6785
+        'selection_end': 1595,
6786
+        'selection_start': 1595},
6787
+                       loc('../../../../Python27/Lib/site-packages/gi/module.py'): {'a'\
6788
+        'ttrib-starts': [('IntrospectionModule',
6789
+                          110),
6790
+                         ('IntrospectionModule.__getattr__',
6791
+                          132)],
6792
+        'first-line': 121,
6793
+        'folded-linenos': [],
6794
+        'sel-line': 136,
6795
+        'sel-line-start': 4187,
6796
+        'selection_end': 4187,
6797
+        'selection_start': 4187},
6779 6798
                        loc('../../../../Python27/Lib/site-packages/gi/overrides/Gst.py'): {'a'\
6780 6799
         'ttrib-starts': [],
6781 6800
         'first-line': 0,
@@ -6784,6 +6803,15 @@ guimgr.visual-state = {loc('../../Kodi/test2/plugin.video.aaa/addon.py'): {'a'\
6784 6803
         'sel-line-start': 0,
6785 6804
         'selection_end': 0,
6786 6805
         'selection_start': 0},
6806
+                       loc('../../../../Python27/Lib/re.py'): {'attrib-start'\
6807
+        's': [('findall',
6808
+               172)],
6809
+        'first-line': 162,
6810
+        'folded-linenos': [],
6811
+        'sel-line': 180,
6812
+        'sel-line-start': 8708,
6813
+        'selection_end': 8708,
6814
+        'selection_start': 8708},
6787 6815
                        loc('../../../../Python27/Lib/site-packages/requests/adapters.py'): {'a'\
6788 6816
         'ttrib-starts': [('HTTPAdapter',
6789 6817
                           77),
@@ -6824,34 +6852,6 @@ guimgr.visual-state = {loc('../../Kodi/test2/plugin.video.aaa/addon.py'): {'a'\
6824 6852
         'sel-line-start': 2478,
6825 6853
         'selection_end': 2478,
6826 6854
         'selection_start': 2478},
6827
-                       loc('../../../../Python27/lib/re.py'): {'attrib-start'\
6828
-        's': [('findall',
6829
-               172)],
6830
-        'first-line': 162,
6831
-        'folded-linenos': [],
6832
-        'sel-line': 180,
6833
-        'sel-line-start': 8708,
6834
-        'selection_end': 8708,
6835
-        'selection_start': 8708},
6836
-                       loc('../../../../Python27/lib/site-packages/gi/__init__.py'): {'a'\
6837
-        'ttrib-starts': [],
6838
-        'first-line': 24,
6839
-        'folded-linenos': [],
6840
-        'sel-line': 41,
6841
-        'sel-line-start': 1595,
6842
-        'selection_end': 1595,
6843
-        'selection_start': 1595},
6844
-                       loc('../../../../Python27/lib/site-packages/gi/module.py'): {'a'\
6845
-        'ttrib-starts': [('IntrospectionModule',
6846
-                          110),
6847
-                         ('IntrospectionModule.__getattr__',
6848
-                          132)],
6849
-        'first-line': 121,
6850
-        'folded-linenos': [],
6851
-        'sel-line': 136,
6852
-        'sel-line-start': 4187,
6853
-        'selection_end': 4187,
6854
-        'selection_start': 4187},
6855 6855
                        loc('../../../../Python27/lib/site.py'): {'attrib-sta'\
6856 6856
         'rts': [('setquit',
6857 6857
                  333),
@@ -6876,7 +6876,9 @@ proj.pypath = {None: ('custom',
6876 6876
                       u'c:\\Data\\Programming\\enigma2\\python;')}
6877 6877
 search.replace-history = [u'self',
6878 6878
                           u'current']
6879
-search.search-history = [u'gst',
6879
+search.search-history = [u'eServiceReference',
6880
+                         u'service',
6881
+                         u'gst',
6880 6882
                          u'timer',
6881 6883
                          u'etimer',
6882 6884
                          u'text=',
@@ -6893,9 +6895,7 @@ search.search-history = [u'gst',
6893 6895
                          u'ChoiceList',
6894 6896
                          u'choiceli',
6895 6897
                          u'ChoiceEntryComponent',
6896
-                         u'list',
6897
-                         u'content',
6898
-                         u'autoResize']
6898
+                         u'list']
6899 6899
 testing.stored-results = (1,
6900 6900
                           [],
6901 6901
                           {})

+ 4
- 1
sources/filmix.py View File

@@ -252,7 +252,10 @@ Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
252 252
         return result
253 253
     
254 254
     def get_streams2(self,url0):
255
-        res = re.search("\[([\d,]+)]",url0).group(1)
255
+        m = re.search("\[([\d,]+)]",url0)
256
+        if not m:
257
+            return [("?",url0)]
258
+        res = m.group(1)
256 259
         streams=[]
257 260
         for res in res.split(","):
258 261
             if not res: continue