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
         None,
163
         None,
164
         1,
164
         1,
165
         0),
165
         0),
166
-        222L: (0,
167
-               None,
168
-               1,
169
-               0),
170
-        340L: (0,
171
-               None,
172
-               1,
173
-               0),
174
         366L: (0,
166
         366L: (0,
175
                None,
167
                None,
176
                1,
168
                1,
982
         -1,
974
         -1,
983
         -1),
975
         -1),
984
                        'attrib-starts': [],
976
                        'attrib-starts': [],
985
-                       'first-line': 19L,
977
+                       'first-line': 21L,
986
                        'folded-linenos': [],
978
                        'folded-linenos': [],
987
                        'history': {u'file:C:/Data/Programming/Kodi/plugin.video.playstream/resources/lib/content/sources/replay.py': ['p'\
979
                        'history': {u'file:C:/Data/Programming/Kodi/plugin.video.playstream/resources/lib/content/sources/replay.py': ['p'\
988
         'rint url2\n',
980
         'rint url2\n',
989
         'print headers\n',
981
         'print headers\n',
990
         'raise \n',
982
         'raise \n',
991
         'url3\n',
983
         'url3\n',
992
-        'url\n']},
984
+        'url\n',
985
+        'data2\n']},
993
                        'launch-id': None,
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
                        'zoom': 0L}),
991
                        'zoom': 0L}),
999
                      ('debug-watch',
992
                      ('debug-watch',
1000
                       'wide',
993
                       'wide',
1546
         31),
1539
         31),
1547
         ('Source.get_streams',
1540
         ('Source.get_streams',
1548
          220)],
1541
          220)],
1549
-                                'first-line': 354L,
1542
+                                'first-line': 360L,
1550
                                 'folded-linenos': [70L,
1543
                                 'folded-linenos': [70L,
1551
         89L,
1544
         89L,
1552
         143L,
1545
         143L,
1553
         166L,
1546
         166L,
1554
         284L],
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
                                 'zoom': 0L}),
1552
                                 'zoom': 0L}),
1560
                               (loc('sources/lmt.py'),
1553
                               (loc('sources/lmt.py'),
1561
                                {'attrib-starts': [('Source',
1554
                                {'attrib-starts': [('Source',

+ 1
- 1
sources/replay.py View File

384
         stream["img"] = img
384
         stream["img"] = img
385
         stream["desc"] = desc
385
         stream["desc"] = desc
386
         stream["resolver"] = "replay"
386
         stream["resolver"] = "replay"
387
-        stream["headers"] = headers2
387
+        stream["headers"] = headers
388
         stream["nfo"] = nfo
388
         stream["nfo"] = nfo
389
         #stream["filename"] = filename # TODO jāģenere jēdzigs faila nosaukums, kuru pēc tam izmanto downloadsb
389
         #stream["filename"] = filename # TODO jāģenere jēdzigs faila nosaukums, kuru pēc tam izmanto downloadsb
390
         return [stream]
390
         return [stream]