Pārlūkot izejas kodu

cinemalive izņemts

Ivars 6 gadus atpakaļ
vecāks
revīzija
2fb8b549f2
2 mainītis faili ar 145 papildinājumiem un 107 dzēšanām
  1. 144
    106
      project.wpr
  2. 1
    1
      sources/cinemalive.py

+ 144
- 106
project.wpr Parādīt failu

@@ -137,6 +137,10 @@ debug.breakpoints = {loc('Downloader.py'): {182L: (0,
137 137
                      loc('sources/filmon.py'): {49L: (0,
138 138
         None,
139 139
         1,
140
+        0)},
141
+                     loc('sources/ltc.py'): {551L: (0,
142
+        None,
143
+        1,
140 144
         0)},
141 145
                      loc('sources/replay.py'): {208L: (0,
142 146
         None,
@@ -961,14 +965,17 @@ guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
961 965
                        'attrib-starts': [],
962 966
                        'first-line': 0L,
963 967
                        'folded-linenos': [],
964
-                       'history': {u'file:C:/Data/Programming/Plex/PlayStream.bundle/Contents/Libraries/Shared/content/sources/replay.py': ['i'\
968
+                       'history': {u'file:C:/Data/Programming/Plex/PlayStream.bundle/Contents/Libraries/Shared/content/sources/ltc.py': ['d'\
969
+        'ata2\n',
970
+        'print data2\n'],
971
+                                   u'file:C:/Data/Programming/Plex/PlayStream.bundle/Contents/Libraries/Shared/content/sources/replay.py': ['i'\
965 972
         'tem[1]\n',
966 973
         'print item[1]\n']},
967 974
                        'launch-id': None,
968
-                       'sel-line': 3L,
969
-                       'sel-line-start': 83L,
970
-                       'selection_end': 140L,
971
-                       'selection_start': 83L,
975
+                       'sel-line': 7L,
976
+                       'sel-line-start': 198L,
977
+                       'selection_end': 202L,
978
+                       'selection_start': 202L,
972 979
                        'zoom': 0L}),
973 980
                      ('debug-watch',
974 981
                       'wide',
@@ -1020,89 +1027,14 @@ guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
1020 1027
                             31),
1021 1028
                            ('Source.get_content',
1022 1029
                             42)],
1023
-         'first-line': 225L,
1030
+         'first-line': 216L,
1024 1031
          'folded-linenos': [],
1025
-         'sel-line': 235L,
1026
-         'sel-line-start': 12269L,
1027
-         'selection_end': 12301L,
1028
-         'selection_start': 12301L,
1032
+         'sel-line': 226L,
1033
+         'sel-line-start': 11656L,
1034
+         'selection_end': 11712L,
1035
+         'selection_start': 11707L,
1029 1036
          'zoom': 0L},
1030
-        1523886475.688],
1031
-        [loc('sources/replay.py'),
1032
-         {'attrib-starts': [('Source',
1033
-                             31),
1034
-                            ('Source.get_content',
1035
-                             42)],
1036
-          'first-line': 225L,
1037
-          'folded-linenos': [],
1038
-          'sel-line': 235L,
1039
-          'sel-line-start': 12269L,
1040
-          'selection_end': 12325L,
1041
-          'selection_start': 12320L,
1042
-          'zoom': 0L},
1043
-         1523886477.356],
1044
-        [loc('sources/replay.py'),
1045
-         {'attrib-starts': [],
1046
-          'first-line': 0L,
1047
-          'folded-linenos': [],
1048
-          'sel-line': 5L,
1049
-          'sel-line-start': 188L,
1050
-          'selection_end': 248L,
1051
-          'selection_start': 243L,
1052
-          'zoom': 0L},
1053
-         1523886478.557],
1054
-        [loc('sources/replay.py'),
1055
-         {'attrib-starts': [('Source',
1056
-                             31),
1057
-                            ('Source.get_content',
1058
-                             42)],
1059
-          'first-line': 184L,
1060
-          'folded-linenos': [],
1061
-          'sel-line': 194L,
1062
-          'sel-line-start': 9081L,
1063
-          'selection_end': 9140L,
1064
-          'selection_start': 9135L,
1065
-          'zoom': 0L},
1066
-         1523886480.12],
1067
-        [loc('sources/replay.py'),
1068
-         {'attrib-starts': [('Source',
1069
-                             31),
1070
-                            ('Source.get_content',
1071
-                             42)],
1072
-          'first-line': 197L,
1073
-          'folded-linenos': [],
1074
-          'sel-line': 207L,
1075
-          'sel-line-start': 10466L,
1076
-          'selection_end': 10498L,
1077
-          'selection_start': 10498L,
1078
-          'zoom': 0L},
1079
-         1523886488.428],
1080
-        [loc('sources/replay.py'),
1081
-         {'attrib-starts': [('Source',
1082
-                             31),
1083
-                            ('Source.get_content',
1084
-                             42)],
1085
-          'first-line': 197L,
1086
-          'folded-linenos': [],
1087
-          'sel-line': 207L,
1088
-          'sel-line-start': 10466L,
1089
-          'selection_end': 10522L,
1090
-          'selection_start': 10517L,
1091
-          'zoom': 0L},
1092
-         1523886489.496],
1093
-        [loc('sources/replay.py'),
1094
-         {'attrib-starts': [('Source',
1095
-                             31),
1096
-                            ('Source.get_content',
1097
-                             42)],
1098
-          'first-line': 216L,
1099
-          'folded-linenos': [],
1100
-          'sel-line': 226L,
1101
-          'sel-line-start': 11656L,
1102
-          'selection_end': 11712L,
1103
-          'selection_start': 11707L,
1104
-          'zoom': 0L},
1105
-         1523886491.833],
1037
+        1523886491.833],
1106 1038
         [loc('sources/replay.py'),
1107 1039
          {'attrib-starts': [('Source',
1108 1040
                              31),
@@ -1268,7 +1200,113 @@ guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
1268 1200
           'selection_end': 15564L,
1269 1201
           'selection_start': 15564L,
1270 1202
           'zoom': 0L},
1271
-         1523904590.624]],
1203
+         1523904590.624],
1204
+        [loc('sources/ltc.py'),
1205
+         {'attrib-starts': [('Source',
1206
+                             26),
1207
+                            ('Source.get_content',
1208
+                             78)],
1209
+          'first-line': 85L,
1210
+          'folded-linenos': [131L,
1211
+                             160L,
1212
+                             170L,
1213
+                             183L,
1214
+                             220L,
1215
+                             231L,
1216
+                             257L,
1217
+                             276L,
1218
+                             295L,
1219
+                             319L,
1220
+                             349L,
1221
+                             350L,
1222
+                             367L,
1223
+                             398L,
1224
+                             411L,
1225
+                             525L],
1226
+          'sel-line': 94L,
1227
+          'sel-line-start': 3916L,
1228
+          'selection_end': 4008L,
1229
+          'selection_start': 3916L,
1230
+          'zoom': 0L},
1231
+         1523904679.783],
1232
+        [loc('sources/ltc.py'),
1233
+         {'attrib-starts': [('Source',
1234
+                             26),
1235
+                            ('Source.__init__',
1236
+                             28)],
1237
+          'first-line': 33L,
1238
+          'folded-linenos': [131L,
1239
+                             160L,
1240
+                             170L,
1241
+                             183L,
1242
+                             220L,
1243
+                             231L,
1244
+                             257L,
1245
+                             276L,
1246
+                             295L,
1247
+                             319L,
1248
+                             349L,
1249
+                             350L,
1250
+                             367L,
1251
+                             398L,
1252
+                             411L,
1253
+                             525L],
1254
+          'sel-line': 36L,
1255
+          'sel-line-start': 1390L,
1256
+          'selection_end': 1456L,
1257
+          'selection_start': 1414L,
1258
+          'zoom': 0L},
1259
+         1523909328.233],
1260
+        [loc('sources/cinemalive.py'),
1261
+         {'attrib-starts': [('Source',
1262
+                             29)],
1263
+          'first-line': 27L,
1264
+          'folded-linenos': [],
1265
+          'sel-line': 30L,
1266
+          'sel-line-start': 936L,
1267
+          'selection_end': 936L,
1268
+          'selection_start': 936L,
1269
+          'zoom': 0L},
1270
+         1523909365.098],
1271
+        [loc('sources/filmas.py'),
1272
+         {'attrib-starts': [('Source',
1273
+                             36),
1274
+                            ('Source.__init__',
1275
+                             38)],
1276
+          'first-line': 31L,
1277
+          'folded-linenos': [],
1278
+          'sel-line': 39L,
1279
+          'sel-line-start': 1115L,
1280
+          'selection_end': 1180L,
1281
+          'selection_start': 1123L,
1282
+          'zoom': 0L},
1283
+         1523909388.308],
1284
+        [loc('sources/cinemalive.py'),
1285
+         {'attrib-starts': [('Source',
1286
+                             29),
1287
+                            ('Source.__init__',
1288
+                             31)],
1289
+          'first-line': 27L,
1290
+          'folded-linenos': [],
1291
+          'sel-line': 32L,
1292
+          'sel-line-start': 988L,
1293
+          'selection_end': 996L,
1294
+          'selection_start': 996L,
1295
+          'zoom': 0L},
1296
+         1523909399.836],
1297
+        [loc('sources/filmas.py'),
1298
+         {'attrib-starts': [('Source',
1299
+                             36),
1300
+                            ('Source.__init__',
1301
+                             38)],
1302
+          'first-line': 31L,
1303
+          'folded-linenos': [],
1304
+          'sel-line': 39L,
1305
+          'sel-line-start': 1115L,
1306
+          'selection_end': 1180L,
1307
+          'selection_start': 1123L,
1308
+          'zoom': 0L},
1309
+         1523909401.029]],
1272 1310
         20),
1273 1311
         'current-loc': loc('sources/ltc.py'),
1274 1312
         'editor-state-list': [(loc('run.py'),
@@ -1308,9 +1346,9 @@ guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
1308 1346
                               (loc('sources/ltc.py'),
1309 1347
                                {'attrib-starts': [('Source',
1310 1348
         26),
1311
-        ('Source.get_content',
1312
-         78)],
1313
-                                'first-line': 85L,
1349
+        ('Source.__init__',
1350
+         28)],
1351
+                                'first-line': 33L,
1314 1352
                                 'folded-linenos': [131L,
1315 1353
         160L,
1316 1354
         170L,
@@ -1327,10 +1365,10 @@ guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
1327 1365
         398L,
1328 1366
         411L,
1329 1367
         525L],
1330
-                                'sel-line': 97L,
1331
-                                'sel-line-start': 4220L,
1332
-                                'selection_end': 4237L,
1333
-                                'selection_start': 4237L,
1368
+                                'sel-line': 36L,
1369
+                                'sel-line-start': 1390L,
1370
+                                'selection_end': 1456L,
1371
+                                'selection_start': 1414L,
1334 1372
                                 'zoom': 0L}),
1335 1373
                               (loc('sources/replay.py'),
1336 1374
                                {'attrib-starts': [('Source',
@@ -1554,14 +1592,14 @@ guimgr.visual-state = {loc('config.py'): {'attrib-starts': [],
1554 1592
                        loc('sources/cinemalive.py'): {'attrib-starts': [('So'\
1555 1593
         'urce',
1556 1594
         29),
1557
-        ('Source.get_streams',
1558
-         166)],
1559
-        'first-line': 176L,
1595
+        ('Source.__init__',
1596
+         31)],
1597
+        'first-line': 27L,
1560 1598
         'folded-linenos': [],
1561
-        'sel-line': 184L,
1562
-        'sel-line-start': 9047L,
1563
-        'selection_end': 9087L,
1564
-        'selection_start': 9074L,
1599
+        'sel-line': 32L,
1600
+        'sel-line-start': 988L,
1601
+        'selection_end': 996L,
1602
+        'selection_start': 996L,
1565 1603
         'zoom': 0L},
1566 1604
                        loc('sources/config.py'): {'attrib-starts': [('Source',
1567 1605
         12),
@@ -1590,12 +1628,12 @@ guimgr.visual-state = {loc('config.py'): {'attrib-starts': [],
1590 1628
         36),
1591 1629
         ('Source.__init__',
1592 1630
          38)],
1593
-        'first-line': 42L,
1631
+        'first-line': 31L,
1594 1632
         'folded-linenos': [],
1595
-        'sel-line': 44L,
1596
-        'sel-line-start': 1330L,
1597
-        'selection_end': 1369L,
1598
-        'selection_start': 1369L,
1633
+        'sel-line': 39L,
1634
+        'sel-line-start': 1115L,
1635
+        'selection_end': 1180L,
1636
+        'selection_start': 1123L,
1599 1637
         'zoom': 0L},
1600 1638
                        loc('sources/filmix.py'): {'attrib-starts': [('Source',
1601 1639
         31),

+ 1
- 1
sources/cinemalive.py Parādīt failu

@@ -30,7 +30,7 @@ h = HTMLParser.HTMLParser()
30 30
 class Source(SourceBase):
31 31
 
32 32
     def __init__(self,country="",cfg_path=None):
33
-        #self.hidden = True # nerāda menu nestrādājošos avotus
33
+        self.hidden = True # nerāda menu nestrādājošos avotus
34 34
         self.name = "cinemalive"
35 35
         self.title = "cinemalive.tv"
36 36
         self.img = "cinemalive.png" #"https://cinemalive.tv/assets/img/logo.png"