Browse Source

izlabotas shortcut tv live

Ivars 6 years ago
parent
commit
f07a3893bb
2 changed files with 264 additions and 291 deletions
  1. 263
    290
      project.wpr
  2. 1
    1
      sources/ltc.py

+ 263
- 290
project.wpr View File

@@ -86,6 +86,10 @@ debug.breakpoints = {loc('Downloader.py'): {182L: (0,
86 86
               None,
87 87
               1,
88 88
               0),
89
+        112L: (0,
90
+               None,
91
+               1,
92
+               0),
89 93
         120L: (0,
90 94
                None,
91 95
                1,
@@ -114,7 +118,7 @@ debug.breakpoints = {loc('Downloader.py'): {182L: (0,
114 118
         None,
115 119
         1,
116 120
         0)},
117
-                     loc('sources/config.py'): {53: (0,
121
+                     loc('sources/config.py'): {56: (0,
118 122
         None,
119 123
         1,
120 124
         0),
@@ -133,6 +137,10 @@ debug.breakpoints = {loc('Downloader.py'): {182L: (0,
133 137
                      loc('sources/filmon.py'): {49L: (0,
134 138
         None,
135 139
         1,
140
+        0)},
141
+                     loc('sources/ltc.py'): {75L: (0,
142
+        None,
143
+        1,
136 144
         0)},
137 145
                      loc('sources/replay.py'): {255L: (0,
138 146
         None,
@@ -162,11 +170,11 @@ debug.breakpoints = {loc('Downloader.py'): {182L: (0,
162 170
             None,
163 171
             1,
164 172
             0)},
165
-                     loc('unknown:<untitled> #2'): {10: (0,
173
+                     loc('unknown:<untitled> #1'): {10: (0,
166 174
         None,
167 175
         1,
168 176
         0)},
169
-                     loc('unknown:<untitled> #1'): {2: (0,
177
+                     loc('unknown:<untitled> #2'): {2: (0,
170 178
         None,
171 179
         1,
172 180
         0)}}
@@ -275,7 +283,7 @@ guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
275 283
                                0,
276 284
                                {'tree-state': {'file-sort-method': 'by name',
277 285
         'list-files-first': 0,
278
-        'tree-states': {'deep': {'expanded-nodes': [(3,)],
286
+        'tree-states': {'deep': {'expanded-nodes': [(4,)],
279 287
                                  'selected-nodes': [],
280 288
                                  'top-node': (0,)}},
281 289
         'tree-style': 'deep'}}),
@@ -766,47 +774,47 @@ guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
766 774
         'top-node': [('function def',
767 775
                       loc('../../../../../Python27/Lib/lib-tk/Tkinter.py'),
768 776
                       'At')]},
769
-        loc('../../../../../Python27/lib/lib-tk/tkCommonDialog.py'): {'expan'\
777
+        loc('../../../../../Python27/Lib/lib-tk/tkCommonDialog.py'): {'expan'\
770 778
         'ded-nodes': [],
771 779
         'selected-nodes': [],
772 780
         'top-node': [('class def',
773
-                      loc('../../../../../Python27/lib/lib-tk/tkCommonDialog.py'),
781
+                      loc('../../../../../Python27/Lib/lib-tk/tkCommonDialog.py'),
774 782
                       'Dialog')]},
775
-        loc('../../../../../Python27/lib/lib-tk/tkMessageBox.py'): {'expande'\
783
+        loc('../../../../../Python27/Lib/lib-tk/tkMessageBox.py'): {'expande'\
776 784
         'd-nodes': [],
777 785
         'selected-nodes': [],
778 786
         'top-node': [('generic attribute',
779
-                      loc('../../../../../Python27/lib/lib-tk/tkMessageBox.py'),
787
+                      loc('../../../../../Python27/Lib/lib-tk/tkMessageBox.py'),
780 788
                       'ABORT')]},
781
-        loc('../../../../../Python27/lib/lib-tk/tkSimpleDialog.py'): {'expan'\
789
+        loc('../../../../../Python27/Lib/lib-tk/tkSimpleDialog.py'): {'expan'\
782 790
         'ded-nodes': [],
783 791
         'selected-nodes': [],
784 792
         'top-node': [('function def',
785
-                      loc('../../../../../Python27/lib/lib-tk/tkSimpleDialog.py'),
793
+                      loc('../../../../../Python27/Lib/lib-tk/tkSimpleDialog.py'),
786 794
                       'askfloat')]},
787
-        loc('../../../../../Python27/lib/lib-tk/ttk.py'): {'expanded-nodes': [],
795
+        loc('../../../../../Python27/Lib/lib-tk/ttk.py'): {'expanded-nodes': [],
788 796
         'selected-nodes': [],
789 797
         'top-node': [('class def',
790
-                      loc('../../../../../Python27/lib/lib-tk/ttk.py'),
798
+                      loc('../../../../../Python27/Lib/lib-tk/ttk.py'),
791 799
                       'Button')]},
792
-        loc('../../../../../Python27/lib/site-packages/PIL/Image.py'): {'exp'\
800
+        loc('../../../../../Python27/Lib/site-packages/PIL/Image.py'): {'exp'\
793 801
         'anded-nodes': [],
794 802
         'selected-nodes': [],
795 803
         'top-node': [('generic attribute',
796
-                      loc('../../../../../Python27/lib/site-packages/PIL/Image.py'),
804
+                      loc('../../../../../Python27/Lib/site-packages/PIL/Image.py'),
797 805
                       'ADAPTIVE')]},
798 806
         loc('unknown:<untitled> #3'): {'column-widths': [1.0],
799 807
                                        'expanded-nodes': [],
800 808
                                        'selected-nodes': [],
801 809
                                        'top-node': None},
802
-        loc('unknown:<untitled> #4'): {'column-widths': [1.0],
803
-                                       'expanded-nodes': [],
810
+        loc('unknown:<untitled> #6'): {'expanded-nodes': [],
804 811
                                        'selected-nodes': [],
805 812
                                        'top-node': None},
806 813
         loc('unknown:<untitled> #5'): {'expanded-nodes': [],
807 814
                                        'selected-nodes': [],
808 815
                                        'top-node': None},
809
-        loc('unknown:<untitled> #6'): {'expanded-nodes': [],
816
+        loc('unknown:<untitled> #4'): {'column-widths': [1.0],
817
+                                       'expanded-nodes': [],
810 818
                                        'selected-nodes': [],
811 819
                                        'top-node': None}},
812 820
                                 'browse_mode': u'Current Module',
@@ -943,24 +951,15 @@ guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
943 951
         -1,
944 952
         -1),
945 953
                        'attrib-starts': [],
946
-                       'first-line': 24L,
954
+                       'first-line': 0L,
947 955
                        'folded-linenos': [],
948
-                       'history': {u'file:C:/Data/Programming/enigma2/PlayStream2/content/sources/filmix.py': ['p'\
949
-        'ath\n',
950
-        '"\xd0\xa1\xd0\xb5\xd1\x80\xd0\xb8\xd0\xb0\xd0\xbb <a href=" in r\n',
951
-        'js["message"]\n',
952
-        'js["message"]["translations"]\n',
953
-        'js["message"]["translations"]["pl"]\n',
954
-        'source.get_movie_info("124366")["message"]["translations"]["pl"]\n',
955
-        'source.get_movie_info("5430")["message"]["translations"]["pl"]\n',
956
-        'source.get_movie_info("123772")["message"]["translations"]["pl"]\n',
957
-        'source.get_movie_info("116239")["message"]["translations"]["pl"]\n',
958
-        'source.get_movie_info("116329")["message"]["translations"]["pl"]\n']},
956
+                       'history': {u'file:C:/Data/Programming/enigma2/PlayStream2/content/sources/ltc.py': ['d'\
957
+        'ata\n']},
959 958
                        'launch-id': None,
960
-                       'sel-line': 35L,
961
-                       'sel-line-start': 2325L,
962
-                       'selection_end': 2325L,
963
-                       'selection_start': 2325L,
959
+                       'sel-line': 2L,
960
+                       'sel-line-start': 25L,
961
+                       'selection_end': 25L,
962
+                       'selection_start': 25L,
964 963
                        'zoom': 0L}),
965 964
                      ('debug-watch',
966 965
                       'wide',
@@ -1010,195 +1009,16 @@ guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
1010 1009
         'primary_view_state': {'editor_states': ({'bookmarks': ([[loc('sources/filmix.py'),
1011 1010
         {'attrib-starts': [('Source',
1012 1011
                             31),
1013
-                           ('Source.is_video',
1014
-                            246)],
1015
-         'first-line': 244L,
1012
+                           ('Source.get_movie_info',
1013
+                            355)],
1014
+         'first-line': 345L,
1016 1015
          'folded-linenos': [],
1017
-         'sel-line': 254L,
1018
-         'sel-line-start': 11245L,
1019
-         'selection_end': 11279L,
1020
-         'selection_start': 11279L,
1016
+         'sel-line': 355L,
1017
+         'sel-line-start': 15779L,
1018
+         'selection_end': 15801L,
1019
+         'selection_start': 15787L,
1021 1020
          'zoom': 0L},
1022
-        1520786827.402],
1023
-        [loc('sources/filmix.py'),
1024
-         {'attrib-starts': [('Source',
1025
-                             31),
1026
-                            ('Source.get_movie_info',
1027
-                             360)],
1028
-          'first-line': 360L,
1029
-          'folded-linenos': [],
1030
-          'sel-line': 371L,
1031
-          'sel-line-start': 16487L,
1032
-          'selection_end': 16550L,
1033
-          'selection_start': 16539L,
1034
-          'zoom': 0L},
1035
-         1520786863.457],
1036
-        [loc('sources/filmix.py'),
1037
-         {'attrib-starts': [('Source',
1038
-                             31),
1039
-                            ('Source.get_movie_info',
1040
-                             360)],
1041
-          'first-line': 360L,
1042
-          'folded-linenos': [],
1043
-          'sel-line': 360L,
1044
-          'sel-line-start': 15987L,
1045
-          'selection_end': 16009L,
1046
-          'selection_start': 15995L,
1047
-          'zoom': 0L},
1048
-         1520786884.422],
1049
-        [loc('sources/filmix.py'),
1050
-         {'attrib-starts': [],
1051
-          'first-line': 438L,
1052
-          'folded-linenos': [],
1053
-          'sel-line': 443L,
1054
-          'sel-line-start': 19537L,
1055
-          'selection_end': 19537L,
1056
-          'selection_start': 19537L,
1057
-          'zoom': 0L},
1058
-         1520787558.989],
1059
-        [loc('sources/filmix.py'),
1060
-         {'attrib-starts': [('Source',
1061
-                             31),
1062
-                            ('Source.is_video',
1063
-                             246)],
1064
-          'first-line': 248L,
1065
-          'folded-linenos': [],
1066
-          'sel-line': 253L,
1067
-          'sel-line-start': 11208L,
1068
-          'selection_end': 11390L,
1069
-          'selection_start': 11208L,
1070
-          'zoom': 0L},
1071
-         1520787695.878],
1072
-        [loc('sources/filmix.py'),
1073
-         {'attrib-starts': [('Source',
1074
-                             31),
1075
-                            ('Source.get_streams',
1076
-                             264)],
1077
-          'first-line': 278L,
1078
-          'folded-linenos': [],
1079
-          'sel-line': 285L,
1080
-          'sel-line-start': 12584L,
1081
-          'selection_end': 12901L,
1082
-          'selection_start': 12584L,
1083
-          'zoom': 0L},
1084
-         1520787921.989],
1085
-        [loc('sources/filmix.py'),
1086
-         {'attrib-starts': [('Source',
1087
-                             31),
1088
-                            ('Source.is_video',
1089
-                             246)],
1090
-          'first-line': 249L,
1091
-          'folded-linenos': [],
1092
-          'sel-line': 254L,
1093
-          'sel-line-start': 11246L,
1094
-          'selection_end': 11246L,
1095
-          'selection_start': 11246L,
1096
-          'zoom': 0L},
1097
-         1520788014.592],
1098
-        [loc('run.py'),
1099
-         {'attrib-starts': [('Main',
1100
-                             22),
1101
-                            ('Main.initUI',
1102
-                             47)],
1103
-          'first-line': 63L,
1104
-          'folded-linenos': [],
1105
-          'sel-line': 68L,
1106
-          'sel-line-start': 2618L,
1107
-          'selection_end': 2618L,
1108
-          'selection_start': 2618L,
1109
-          'zoom': 0L},
1110
-         1520788018.139],
1111
-        [loc('../../../../../Python27/Lib/lib-tk/Tkinter.py'),
1112
-         {'attrib-starts': [('CallWrapper',
1113
-                             1528),
1114
-                            ('CallWrapper.__call__',
1115
-                             1536)],
1116
-          'first-line': 1537L,
1117
-          'folded-linenos': [],
1118
-          'sel-line': 1542L,
1119
-          'sel-line-start': 60799L,
1120
-          'selection_end': 60799L,
1121
-          'selection_start': 60799L,
1122
-          'zoom': 0L},
1123
-         1520788031.817],
1124
-        [loc('sources/filmix.py'),
1125
-         {'attrib-starts': [('Source',
1126
-                             31),
1127
-                            ('Source.is_video',
1128
-                             246)],
1129
-          'first-line': 249L,
1130
-          'folded-linenos': [],
1131
-          'sel-line': 254L,
1132
-          'sel-line-start': 11246L,
1133
-          'selection_end': 11283L,
1134
-          'selection_start': 11269L,
1135
-          'zoom': 0L},
1136
-         1520788068.755],
1137
-        [loc('sources/filmix.py'),
1138
-         {'attrib-starts': [('Source',
1139
-                             31),
1140
-                            ('Source.get_movie_info',
1141
-                             356)],
1142
-          'first-line': 346L,
1143
-          'folded-linenos': [],
1144
-          'sel-line': 356L,
1145
-          'sel-line-start': 15820L,
1146
-          'selection_end': 15842L,
1147
-          'selection_start': 15828L,
1148
-          'zoom': 0L},
1149
-         1520788070.855],
1150
-        [loc('sources/filmix.py'),
1151
-         {'attrib-starts': [('Source',
1152
-                             31),
1153
-                            ('Source.get_content',
1154
-                             56)],
1155
-          'first-line': 127L,
1156
-          'folded-linenos': [],
1157
-          'sel-line': 132L,
1158
-          'sel-line-start': 5356L,
1159
-          'selection_end': 5392L,
1160
-          'selection_start': 5378L,
1161
-          'zoom': 0L},
1162
-         1520788071.94],
1163
-        [loc('sources/filmix.py'),
1164
-         {'attrib-starts': [('Source',
1165
-                             31),
1166
-                            ('Source.is_video',
1167
-                             246)],
1168
-          'first-line': 244L,
1169
-          'folded-linenos': [],
1170
-          'sel-line': 254L,
1171
-          'sel-line-start': 11246L,
1172
-          'selection_end': 11283L,
1173
-          'selection_start': 11269L,
1174
-          'zoom': 0L},
1175
-         1520788073.609],
1176
-        [loc('sources/filmix.py'),
1177
-         {'attrib-starts': [('Source',
1178
-                             31),
1179
-                            ('Source.get_streams',
1180
-                             263)],
1181
-          'first-line': 277L,
1182
-          'folded-linenos': [],
1183
-          'sel-line': 288L,
1184
-          'sel-line-start': 12733L,
1185
-          'selection_end': 12733L,
1186
-          'selection_start': 12733L,
1187
-          'zoom': 0L},
1188
-         1520788091.381],
1189
-        [loc('sources/filmix.py'),
1190
-         {'attrib-starts': [('Source',
1191
-                             31),
1192
-                            ('Source.get_movie_info',
1193
-                             355)],
1194
-          'first-line': 345L,
1195
-          'folded-linenos': [],
1196
-          'sel-line': 355L,
1197
-          'sel-line-start': 15779L,
1198
-          'selection_end': 15801L,
1199
-          'selection_start': 15787L,
1200
-          'zoom': 0L},
1201
-         1520788092.31],
1021
+        1520788092.31],
1202 1022
         [loc('sources/filmix.py'),
1203 1023
          {'attrib-starts': [('Source',
1204 1024
                              31),
@@ -1263,9 +1083,177 @@ guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
1263 1083
           'selection_end': 12733L,
1264 1084
           'selection_start': 12733L,
1265 1085
           'zoom': 0L},
1266
-         1520788281.42]],
1086
+         1520788281.42],
1087
+        [loc('sources/filmix.py'),
1088
+         {'attrib-starts': [('Source',
1089
+                             31),
1090
+                            ('Source.get_streams',
1091
+                             263)],
1092
+          'first-line': 280L,
1093
+          'folded-linenos': [],
1094
+          'sel-line': 288L,
1095
+          'sel-line-start': 12733L,
1096
+          'selection_end': 12813L,
1097
+          'selection_start': 12813L,
1098
+          'zoom': 0L},
1099
+         1521049839.605],
1100
+        [loc('resolvers/cloudsany.py'),
1101
+         {'attrib-starts': [],
1102
+          'first-line': 105L,
1103
+          'folded-linenos': [],
1104
+          'sel-line': 107L,
1105
+          'sel-line-start': 3224L,
1106
+          'selection_end': 3224L,
1107
+          'selection_start': 3224L,
1108
+          'zoom': 0L},
1109
+         1521049880.604],
1110
+        [loc('../../../../../Python27/Lib/site-packages/requests/adapters.py'),
1111
+         {'attrib-starts': [('HTTPAdapter',
1112
+                             80),
1113
+                            ('HTTPAdapter.send',
1114
+                             387)],
1115
+          'first-line': 493L,
1116
+          'folded-linenos': [],
1117
+          'sel-line': 505L,
1118
+          'sel-line-start': 20166L,
1119
+          'selection_end': 20166L,
1120
+          'selection_start': 20166L,
1121
+          'zoom': 0L},
1122
+         1521049901.409],
1123
+        [loc('../../../../../Python27/Lib/site-packages/requests/sessions.py'),
1124
+         {'attrib-starts': [('Session',
1125
+                             314),
1126
+                            ('Session.send',
1127
+                             588)],
1128
+          'first-line': 605L,
1129
+          'folded-linenos': [],
1130
+          'sel-line': 617L,
1131
+          'sel-line-start': 23618L,
1132
+          'selection_end': 23618L,
1133
+          'selection_start': 23618L,
1134
+          'zoom': 0L},
1135
+         1521049904.55],
1136
+        [loc('resolvers/cloudsany.py'),
1137
+         {'attrib-starts': [],
1138
+          'first-line': 100L,
1139
+          'folded-linenos': [],
1140
+          'sel-line': 111L,
1141
+          'sel-line-start': 3379L,
1142
+          'selection_end': 3379L,
1143
+          'selection_start': 3379L,
1144
+          'zoom': 0L},
1145
+         1521049939.408],
1146
+        [loc('../../../../../Python27/Lib/site-packages/requests/adapters.py'),
1147
+         {'attrib-starts': [('HTTPAdapter',
1148
+                             80),
1149
+                            ('HTTPAdapter.send',
1150
+                             387)],
1151
+          'first-line': 493L,
1152
+          'folded-linenos': [],
1153
+          'sel-line': 505L,
1154
+          'sel-line-start': 20166L,
1155
+          'selection_end': 20166L,
1156
+          'selection_start': 20166L,
1157
+          'zoom': 0L},
1158
+         1521050152.598],
1159
+        [loc('resolvers/cloudsany.py'),
1160
+         {'attrib-starts': [('resolve',
1161
+                             30)],
1162
+          'first-line': 32L,
1163
+          'folded-linenos': [],
1164
+          'sel-line': 39L,
1165
+          'sel-line-start': 1116L,
1166
+          'selection_end': 1158L,
1167
+          'selection_start': 1130L,
1168
+          'zoom': 0L},
1169
+         1521145344.819],
1170
+        [loc('../../../../../Python27/Lib/lib-tk/Tkinter.py'),
1171
+         {'attrib-starts': [('CallWrapper',
1172
+                             1528),
1173
+                            ('CallWrapper.__call__',
1174
+                             1536)],
1175
+          'first-line': 1537L,
1176
+          'folded-linenos': [],
1177
+          'sel-line': 1542L,
1178
+          'sel-line-start': 60799L,
1179
+          'selection_end': 60799L,
1180
+          'selection_start': 60799L,
1181
+          'zoom': 0L},
1182
+         1521145346.325],
1183
+        [loc('resolvers/cloudsany.py'),
1184
+         {'attrib-starts': [('resolve',
1185
+                             30)],
1186
+          'first-line': 32L,
1187
+          'folded-linenos': [],
1188
+          'sel-line': 39L,
1189
+          'sel-line-start': 1116L,
1190
+          'selection_end': 1158L,
1191
+          'selection_start': 1130L,
1192
+          'zoom': 0L},
1193
+         1521145349.413],
1194
+        [loc('../../../../../Python27/Lib/site-packages/requests/adapters.py'),
1195
+         {'attrib-starts': [('HTTPAdapter',
1196
+                             80),
1197
+                            ('HTTPAdapter.send',
1198
+                             387)],
1199
+          'first-line': 493L,
1200
+          'folded-linenos': [],
1201
+          'sel-line': 505L,
1202
+          'sel-line-start': 20166L,
1203
+          'selection_end': 20166L,
1204
+          'selection_start': 20166L,
1205
+          'zoom': 0L},
1206
+         1521145350.209],
1207
+        [loc('resolvers/cloudsany.py'),
1208
+         {'attrib-starts': [('resolve',
1209
+                             30)],
1210
+          'first-line': 32L,
1211
+          'folded-linenos': [],
1212
+          'sel-line': 39L,
1213
+          'sel-line-start': 1116L,
1214
+          'selection_end': 1158L,
1215
+          'selection_start': 1130L,
1216
+          'zoom': 0L},
1217
+         1521145351.374],
1218
+        [loc('sources/config.py'),
1219
+         {'attrib-starts': [('Source',
1220
+                             12),
1221
+                            ('Source.write_streams',
1222
+                             76)],
1223
+          'first-line': 107L,
1224
+          'folded-linenos': [],
1225
+          'sel-line': 116L,
1226
+          'sel-line-start': 4379L,
1227
+          'selection_end': 4379L,
1228
+          'selection_start': 4379L,
1229
+          'zoom': 0L},
1230
+         1521145352.705],
1231
+        [loc('resolvers/cloudsany.py'),
1232
+         {'attrib-starts': [('resolve',
1233
+                             30)],
1234
+          'first-line': 32L,
1235
+          'folded-linenos': [],
1236
+          'sel-line': 39L,
1237
+          'sel-line-start': 1116L,
1238
+          'selection_end': 1158L,
1239
+          'selection_start': 1130L,
1240
+          'zoom': 0L},
1241
+         1521145353.457],
1242
+        [loc('sources/config.py'),
1243
+         {'attrib-starts': [('Source',
1244
+                             12),
1245
+                            ('Source.write_streams',
1246
+                             76)],
1247
+          'first-line': 107L,
1248
+          'folded-linenos': [],
1249
+          'sel-line': 116L,
1250
+          'sel-line-start': 4379L,
1251
+          'selection_end': 4379L,
1252
+          'selection_start': 4379L,
1253
+          'zoom': 0L},
1254
+         1521145357.963]],
1267 1255
         20),
1268
-        'current-loc': loc('sources/filmix.py'),
1256
+        'current-loc': loc('sources/ltc.py'),
1269 1257
         'editor-state-list': [(loc('run.py'),
1270 1258
                                {'attrib-starts': [('Main',
1271 1259
         22),
@@ -1305,12 +1293,12 @@ guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
1305 1293
         26),
1306 1294
         ('Source.get_content',
1307 1295
          73)],
1308
-                                'first-line': 116L,
1296
+                                'first-line': 78L,
1309 1297
                                 'folded-linenos': [],
1310
-                                'sel-line': 124L,
1311
-                                'sel-line-start': 5213L,
1312
-                                'selection_end': 5232L,
1313
-                                'selection_start': 5232L,
1298
+                                'sel-line': 85L,
1299
+                                'sel-line-start': 3365L,
1300
+                                'selection_end': 3410L,
1301
+                                'selection_start': 3410L,
1314 1302
                                 'zoom': 0L}),
1315 1303
                               (loc('sources/replay.py'),
1316 1304
                                {'attrib-starts': [('Source',
@@ -1385,39 +1373,17 @@ guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
1385 1373
                                 'selection_end': 0L,
1386 1374
                                 'selection_start': 0L,
1387 1375
                                 'zoom': 0L}),
1388
-                              (loc('resolvers/cloudsany.py'),
1389
-                               {'attrib-starts': [('resolve',
1390
-        30)],
1391
-                                'first-line': 41L,
1392
-                                'folded-linenos': [],
1393
-                                'sel-line': 55L,
1394
-                                'sel-line-start': 1587L,
1395
-                                'selection_end': 1599L,
1396
-                                'selection_start': 1599L,
1397
-                                'zoom': 0L}),
1398 1376
                               (loc('sources/config.py'),
1399 1377
                                {'attrib-starts': [('Source',
1400 1378
         12),
1401 1379
         ('Source.write_streams',
1402
-         73)],
1403
-                                'first-line': 104L,
1404
-                                'folded-linenos': [],
1405
-                                'sel-line': 113L,
1406
-                                'sel-line-start': 4268L,
1407
-                                'selection_end': 4268L,
1408
-                                'selection_start': 4268L,
1409
-                                'zoom': 0L}),
1410
-                              (loc('../../../../../Python27/Lib/lib-tk/Tkinter.py'),
1411
-                               {'attrib-starts': [('CallWrapper',
1412
-        1528),
1413
-        ('CallWrapper.__call__',
1414
-         1536)],
1415
-                                'first-line': 1537L,
1380
+         76)],
1381
+                                'first-line': 107L,
1416 1382
                                 'folded-linenos': [],
1417
-                                'sel-line': 1542L,
1418
-                                'sel-line-start': 60799L,
1419
-                                'selection_end': 60799L,
1420
-                                'selection_start': 60799L,
1383
+                                'sel-line': 116L,
1384
+                                'sel-line-start': 4379L,
1385
+                                'selection_end': 4379L,
1386
+                                'selection_start': 4379L,
1421 1387
                                 'zoom': 0L})],
1422 1388
         'has-focus': True,
1423 1389
         'locked': False},
@@ -1432,22 +1398,19 @@ guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
1432 1398
          loc('Downloader.py'),
1433 1399
          loc('sources/euronews.py'),
1434 1400
          loc('resolver.py'),
1435
-         loc('resolvers/cloudsany.py'),
1436
-         loc('sources/config.py'),
1437
-         loc('../../../../../Python27/Lib/lib-tk/Tkinter.py')]),
1401
+         loc('sources/config.py')]),
1438 1402
                                'open_files': [u'ContentSources.py',
1439 1403
         u'Downloader.py',
1440 1404
         u'resolver.py',
1441
-        u'resolvers/cloudsany.py',
1442
-        u'sources/config.py',
1405
+        u'run.py',
1443 1406
         u'sources/euronews.py',
1444 1407
         u'sources/filmas.py',
1408
+        u'sources/filmix.py',
1445 1409
         u'sources/lmt.py',
1446
-        u'sources/ltc.py',
1447 1410
         u'sources/replay.py',
1448 1411
         u'util.py',
1449
-        u'run.py',
1450
-        u'sources/filmix.py']},
1412
+        u'sources/config.py',
1413
+        u'sources/ltc.py']},
1451 1414
         'saved_notebook_display': None,
1452 1415
         'split_percents': {0: 0.5061155630535639},
1453 1416
         'splits': 2,
@@ -1462,15 +1425,13 @@ guimgr.overall-gui-state = {'windowing-policy': 'combined-window',
1462 1425
                          -1080,
1463 1426
                          1858,
1464 1427
                          1080)}]}
1465
-guimgr.recent-documents = [loc('sources/filmix.py'),
1466
-                           loc('../../../../../Python27/Lib/lib-tk/Tkinter.py'),
1467
-                           loc('run.py'),
1428
+guimgr.recent-documents = [loc('sources/ltc.py'),
1429
+                           loc('sources/config.py'),
1430
+                           loc('sources/filmix.py'),
1468 1431
                            loc('util.py'),
1432
+                           loc('run.py'),
1469 1433
                            loc('ContentSources.py'),
1470
-                           loc('sources/config.py'),
1471
-                           loc('sources/ltc.py'),
1472 1434
                            loc('sources/replay.py'),
1473
-                           loc('resolvers/cloudsany.py'),
1474 1435
                            loc('sources/euronews.py'),
1475 1436
                            loc('resolver.py'),
1476 1437
                            loc('Downloader.py'),
@@ -1663,12 +1624,12 @@ guimgr.visual-state = {loc('../../../Python25/Lib/BeautifulSoup.py'): {'attr'\
1663 1624
                        loc('resolvers/cloudsany.py'): {'attrib-starts': [('r'\
1664 1625
         'esolve',
1665 1626
         30)],
1666
-        'first-line': 56L,
1627
+        'first-line': 32L,
1667 1628
         'folded-linenos': [],
1668
-        'sel-line': 64L,
1669
-        'sel-line-start': 1841L,
1670
-        'selection_end': 1841L,
1671
-        'selection_start': 1841L,
1629
+        'sel-line': 39L,
1630
+        'sel-line-start': 1116L,
1631
+        'selection_end': 1158L,
1632
+        'selection_start': 1130L,
1672 1633
         'zoom': 0L},
1673 1634
                        loc('resolvers/hqqresolver.py'): {'attrib-starts': [('r'\
1674 1635
         'esolve',
@@ -1922,19 +1883,7 @@ guimgr.visual-state = {loc('../../../Python25/Lib/BeautifulSoup.py'): {'attr'\
1922 1883
         'sel-line-start': 0,
1923 1884
         'selection_end': 1,
1924 1885
         'selection_start': 1},
1925
-                       loc('../../../../../Python27/Lib/lib-tk/Tkinter.py'): {'a'\
1926
-        'ttrib-starts': [('Wm',
1927
-                          1590),
1928
-                         ('Wm.wm_geometry',
1929
-                          1665)],
1930
-        'first-line': 1663L,
1931
-        'folded-linenos': [],
1932
-        'sel-line': 1668L,
1933
-        'sel-line-start': 66037L,
1934
-        'selection_end': 66037L,
1935
-        'selection_start': 66037L,
1936
-        'zoom': 0L},
1937
-                       loc('../../../../../Python27/lib/ftplib.py'): {'attri'\
1886
+                       loc('../../../../../Python27/Lib/ftplib.py'): {'attri'\
1938 1887
         'b-starts': [],
1939 1888
         'first-line': 0L,
1940 1889
         'folded-linenos': [],
@@ -1943,7 +1892,19 @@ guimgr.visual-state = {loc('../../../Python25/Lib/BeautifulSoup.py'): {'attr'\
1943 1892
         'selection_end': 0L,
1944 1893
         'selection_start': 0L,
1945 1894
         'zoom': 0L},
1946
-                       loc('../../../../../Python27/lib/lib-tk/tkCommonDialog.py'): {'a'\
1895
+                       loc('../../../../../Python27/Lib/lib-tk/Tkinter.py'): {'a'\
1896
+        'ttrib-starts': [('CallWrapper',
1897
+                          1528),
1898
+                         ('CallWrapper.__call__',
1899
+                          1536)],
1900
+        'first-line': 1537L,
1901
+        'folded-linenos': [],
1902
+        'sel-line': 1542L,
1903
+        'sel-line-start': 60799L,
1904
+        'selection_end': 60799L,
1905
+        'selection_start': 60799L,
1906
+        'zoom': 0L},
1907
+                       loc('../../../../../Python27/Lib/lib-tk/tkCommonDialog.py'): {'a'\
1947 1908
         'ttrib-starts': [('Dialog',
1948 1909
                           12)],
1949 1910
         'first-line': 12L,
@@ -1953,7 +1914,7 @@ guimgr.visual-state = {loc('../../../Python25/Lib/BeautifulSoup.py'): {'attr'\
1953 1914
         'selection_end': 298L,
1954 1915
         'selection_start': 298L,
1955 1916
         'zoom': 0L},
1956
-                       loc('../../../../../Python27/lib/lib-tk/tkSimpleDialog.py'): {'a'\
1917
+                       loc('../../../../../Python27/Lib/lib-tk/tkSimpleDialog.py'): {'a'\
1957 1918
         'ttrib-starts': [('Dialog',
1958 1919
                           29),
1959 1920
                          ('Dialog.__init__',
@@ -1965,7 +1926,19 @@ guimgr.visual-state = {loc('../../../Python25/Lib/BeautifulSoup.py'): {'attr'\
1965 1926
         'selection_end': 1686L,
1966 1927
         'selection_start': 1686L,
1967 1928
         'zoom': 0L},
1968
-                       loc('../../../../../Python27/lib/site-packages/requests/models.py'): {'a'\
1929
+                       loc('../../../../../Python27/Lib/site-packages/requests/adapters.py'): {'a'\
1930
+        'ttrib-starts': [('HTTPAdapter',
1931
+                          80),
1932
+                         ('HTTPAdapter.send',
1933
+                          387)],
1934
+        'first-line': 493L,
1935
+        'folded-linenos': [],
1936
+        'sel-line': 505L,
1937
+        'sel-line-start': 20166L,
1938
+        'selection_end': 20166L,
1939
+        'selection_start': 20166L,
1940
+        'zoom': 0L},
1941
+                       loc('../../../../../Python27/Lib/site-packages/requests/models.py'): {'a'\
1969 1942
         'ttrib-starts': [('Response',
1970 1943
                           577),
1971 1944
                          ('Response.content',

+ 1
- 1
sources/ltc.py View File

@@ -83,7 +83,7 @@ Accept-Language: en-US,en;q=0.8
83 83
                 #("Meklēt TV arhīvā", "ltc::search/{0}","","Meklēt TV arhīvā"), #TODO
84 84
                 ("Meklēt filmas", "ltc::viss/search/?cat=movies&q={0}","","Meklēt filmu sadaļa"),
85 85
                 ("Meklēt seriālus", "ltc::viss/search/?cat=series&q={0}","", "Meklēt seriālu sadaļā"),
86
-                ("TV tiešraides", "ltc::tiešraide","","TV tiešraides"),
86
+                ("TV tiešraides", "ltc::tiesraide","","TV tiešraides"),
87 87
                 ("TV arhīvs", "ltc::arhivs","","TV arhīvs atseviškiem kanāliem"),
88 88
                 ("Videonoma", "ltc::videonoma","","Filmas (arī Priemiere) un seriāli"),
89 89
             ])