TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27) +---- Forum: Program Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=151) +---- Thread: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) (/showthread.php?tid=282157) Pages:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
|
RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - SteliosT - 2018-11-26 (2016-12-19, 22:52)primaeval Wrote: version 0.0.260Hi everyone. Since this is my first post, I apologize for any possible mistakes due to my questions. First, thanks to Primaeval for the amazing work, not only on this script, but for all the previous projects. I have followed the intructions to select the guide.xml file an internet source (url). It seems the file is pre-compressed, so i have taken the final .gz extension out from the url. Unfortunately, this is not working, showing "It was impossible to load the program data due to invalid settings". I wonder what I'm doing wrong. I have tested the decompressed .xml file on TVGF and it worked perfectly. Since I have not been able to make webgrab+ run with mono via Termux (i'm working in an android device), i'm running out of options. Any help would be massive. RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - primaeval - 2018-11-26 (2018-11-25, 22:53)M89SE Wrote: Im trying to reupload on github, yes xmltv channels with no program data.There are 3,914 additions. What am I supposed to be looking at? RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - M89SE - 2018-11-26 class ProgramListDialog(xbmcgui.WindowXMLDialog) I would like to add the empty xmltv channels to the list. Take for example def showNow, so in source.py I manage to add them but i get them at the end of the list. https://github.com/M89SE/script.mtvguide/pull/1/commits/8106e55b295a1821b981ad51b37958139f4b206a
RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - primaeval - 2018-11-26 (2018-11-26, 10:20)M89SE Wrote: ...You could use the channels list that _getChannelList gives you, as it is ORDERed by c.weight, to loop through the channels and insert the programs in the channelsWithoutProg list into the programList in the right places. RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - M89SE - 2018-11-26 I'm a bit lost could you maybe show me an example of it? I'm still in the learning phase. RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - primaeval - 2018-11-26 (2018-11-26, 11:23)M89SE Wrote: I'm a bit lost could you maybe show me an example of it? I'm still in the learning phase.This list of "channels" is all of them with or without programs. https://github.com/M89SE/script.mtvguide/blob/8106e55b295a1821b981ad51b37958139f4b206a/source.py#L956 In the loop https://github.com/M89SE/script.mtvguide/blob/8106e55b295a1821b981ad51b37958139f4b206a/source.py#L978 loop though "channels" if the channel is in the channelsWithoutProg list find the place in programList to "insert" a dummy program. Finding the place will be a bit tricky. You'll have to loop through the channels or programs and detect when there is something missing. RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - M89SE - 2018-11-26 Thank you for your answer I will try it out. RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - M89SE - 2018-11-27 I can't figure out a way to do this, is there an easier way maybe by using sort() method? RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - primaeval - 2018-11-27 (2018-11-27, 00:04)M89SE Wrote: I can't figure out a way to do this, is there an easier way maybe by using sort() method?That is the easiest way. To use sort() you need to make a list indexed by the channel weight. To get the weight you'll need to look up the channel in the program. You also need to sort on start time for other list views. RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - M89SE - 2018-11-27 I made a loop through channel and it's working I have the channels in order but description, startTime, endTime and logo of the channelsWithoutProg are taken from the channel above, I must have made something wrong?
RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - primaeval - 2018-11-27 (2018-11-27, 10:48)M89SE Wrote: I made a loop through channel and it's working I have the channels in order but description, startTime, endTime and logo of the channelsWithoutProg are taken from the channel above, I must have made something wrong?Nice try for using a zip. The channels c and channelswithoutprog are different sizes. Use len() to see. It's like trying to zip up one side of your jacket with your school bag. RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - M89SE - 2018-11-27 Yes of course diden't think about that, so how am I supposed to use a loop if I can't combine them? As you see my phyton knowledge is limited, my point was only to add selectItem() to the list but it became more advanced then I thought. RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - primaeval - 2018-11-27 (2018-11-27, 12:26)M89SE Wrote: Yes of course diden't think about that, so how am I supposed to use a loop if I can't combine them?I said it was tricky. Try making 2 lists of programs: the normal programList and one for the dummy programs. Then loop through the "channels". For each channel check which list the channel is in by looping through each list until you find the channel. Add that into a third combined list of programs. Or loop through the channels and insert a dummy program into programList when you find a missing channel. RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - doktourtv - 2018-12-03 Thank you again for this exceptional addon. With your help in the past, I was able the get the recording feature (autoplaywith) working well. Thanks for that. I have a small related question: Is there any way to start the recording even after the show as started rather then only through scheduling, a 'record immediately' ability. Sometimes I need to leave before the show has ended and would like to record what remains of the show I am currently watching. Thank you RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - primaeval - 2018-12-03 (2018-12-03, 15:21)doktourtv Wrote: Thank you again for this exceptional addon.It should be number keys 8 and 9 to start and stop recording on the channel you are currently on in the epg. It defaults to 4 hours if you don't press stop. I've changed a few things with recording recently so make sure it works before you rely on it. |