Browse Source

headeri replay

Ivars 6 years ago
parent
commit
56ea9bb01d
2 changed files with 13 additions and 20 deletions
  1. 12
    19
      project.wpr
  2. 1
    1
      sources/replay.py

+ 12
- 19
project.wpr View File

@@ -163,14 +163,6 @@ debug.breakpoints = {loc('Downloader.py'): {94: (0,
163 163
         None,
164 164
         1,
165 165
         0),
166
-        222L: (0,
167
-               None,
168
-               1,
169
-               0),
170
-        340L: (0,
171
-               None,
172
-               1,
173
-               0),
174 166
         366L: (0,
175 167
                None,
176 168
                1,
@@ -982,19 +974,20 @@ guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
982 974
         -1,
983 975
         -1),
984 976
                        'attrib-starts': [],
985
-                       'first-line': 19L,
977
+                       'first-line': 21L,
986 978
                        'folded-linenos': [],
987 979
                        'history': {u'file:C:/Data/Programming/Kodi/plugin.video.playstream/resources/lib/content/sources/replay.py': ['p'\
988 980
         'rint url2\n',
989 981
         'print headers\n',
990 982
         'raise \n',
991 983
         'url3\n',
992
-        'url\n']},
984
+        'url\n',
985
+        'data2\n']},
993 986
                        'launch-id': None,
994
-                       'sel-line': 27L,
995
-                       'sel-line-start': 1774L,
996
-                       'selection_end': 1774L,
997
-                       'selection_start': 1774L,
987
+                       'sel-line': 29L,
988
+                       'sel-line-start': 2068L,
989
+                       'selection_end': 2068L,
990
+                       'selection_start': 2068L,
998 991
                        'zoom': 0L}),
999 992
                      ('debug-watch',
1000 993
                       'wide',
@@ -1546,16 +1539,16 @@ guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
1546 1539
         31),
1547 1540
         ('Source.get_streams',
1548 1541
          220)],
1549
-                                'first-line': 354L,
1542
+                                'first-line': 360L,
1550 1543
                                 'folded-linenos': [70L,
1551 1544
         89L,
1552 1545
         143L,
1553 1546
         166L,
1554 1547
         284L],
1555
-                                'sel-line': 363L,
1556
-                                'sel-line-start': 18441L,
1557
-                                'selection_end': 18483L,
1558
-                                'selection_start': 18483L,
1548
+                                'sel-line': 386L,
1549
+                                'sel-line-start': 19370L,
1550
+                                'selection_end': 19405L,
1551
+                                'selection_start': 19405L,
1559 1552
                                 'zoom': 0L}),
1560 1553
                               (loc('sources/lmt.py'),
1561 1554
                                {'attrib-starts': [('Source',

+ 1
- 1
sources/replay.py View File

@@ -384,7 +384,7 @@ Referer: https://replay.lsm.lv/%s/%s
384 384
         stream["img"] = img
385 385
         stream["desc"] = desc
386 386
         stream["resolver"] = "replay"
387
-        stream["headers"] = headers2
387
+        stream["headers"] = headers
388 388
         stream["nfo"] = nfo
389 389
         #stream["filename"] = filename # TODO jāģenere jēdzigs faila nosaukums, kuru pēc tam izmanto downloadsb
390 390
         return [stream]