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. ;) - samueljones - 2019-07-27 (2019-07-26, 21:42)M89SE Wrote:@M89SE , thanks for your reply, I thought it was an easy job, I dont know its a hard one. Am still a beginner when it comes to python. Any help will be highly appreciated(2019-07-26, 00:24)samueljones Wrote: @M89SE , or anyone can please help me out. am trying to get the programme duration to show something like 1hr 20min. currently it shows in minutes e.g Length : 100 minutes. Thanks. SJ RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - M89SE - 2019-07-27 @samueljones OK, first you need to decide in which window you would like to add this function, eg. script-tvguide-main.xml or else. Lets say you choose script-tvguide-main. Open gui.py and find class TVGuide, then from self.program you need to extract program.startDate and program.endDate, I think this should also be possible in TVGF. Create a new defining function (def)
Add self.calcTime() to "def onInit(self):" at the end. Then create an ID number for C_MAIN_CALC_TIME_EPG and add it to class TVGuide(xbmcgui.WindowXML):. eg. C_MAIN_CALC_TIME_EPG = 4232 Open up script-tvguide-main.xml and add a new label with ID 4232, now the function should be visible in time format: hours "1h 00" or minutes "60 min". I might be a bit wrong and I haven't tested this implementation myself in TVGF. RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - samueljones - 2019-07-30 @M89SE unfortunately, this does not work in TVGF, after the edit TVGF can not be opened. may be the problem is from my edit I cant say. hope @primaeval will consider this function one day. Thanks so much for your help anyways. Regards RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - M89SE - 2019-07-30 (2019-07-30, 01:01)samueljones Wrote: @M89SE unfortunately, this does not work in TVGF, after the edit TVGF can not be opened. may be the problem is from my edit I cant say. I will install TVGF and try to add it when I have some time over. Like I said before I may have made some mistake and need to try it out myself. RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - M89SE - 2019-07-30 @samueljones Ok I got it working. gui.py https://drive.google.com/open?id=1tBc7n-foLruKelOJZs1Dw7j8DoYfiBmx C_MAIN_CALC_TIME_EPG = 45999 Added on end of def onFocus(self, controlId):
script-tvguide-main.xml
RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - samueljones - 2019-07-31 @M89SE thanks a lot Bro, you are star. its working now. I really appreciate your effort and time. Regards SJ RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - M89SE - 2019-07-31 (2019-07-31, 10:01)samueljones Wrote: @M89SE thanks a lot Bro, you are star. its working now. I really appreciate your effort and time.No problem just let me know if you need some help. RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - daemonrealm - 2019-07-31 Hello, I keep getting this error after parsing of my XMLTV file on multiple services used for EPG data. 2019-07-31 16:32:24.479 T:123145415970816 ERROR: Traceback (most recent call last): 2019-07-31 16:32:24.479 T:123145415970816 ERROR: File "/Users/j131337/Library/Application Support/Kodi/addons/script.tvguide.fullscreen/source.py", line 568, in _updateChannelAndProgramListCaches 2019-07-31 16:32:24.481 T:123145415970816 ERROR: self.conn.commit() 2019-07-31 16:32:24.481 T:123145415970816 ERROR: IntegrityError: FOREIGN KEY constraint failed Thanks any assistance? RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - M89SE - 2019-07-31 (2019-07-31, 22:34)daemonrealm Wrote: Hello,Seems to be a database corruption, have you tried to reset the database file?. Might be a channel with special characters (maybe ' or ") in XMLTV file that need to be removed. RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - daemonrealm - 2019-08-01 (2019-07-31, 23:50)M89SE Wrote:(2019-07-31, 22:34)daemonrealm Wrote: Hello,Seems to be a database corruption, have you tried to reset the database file?. Might be a channel with special characters (maybe ' or ") in XMLTV file that need to be removed. Hello, yes I did a reset everything on the database restarting Kodi as well. That sometimes works, also the history is sometimes the XMLTV guide data loads OK, sometimes not. RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - M89SE - 2019-08-01 @deamonrealm I would need to see the entire log. Could you send it to me as PM?. RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - daemonrealm - 2019-08-02 (2019-08-01, 06:29)M89SE Wrote: @deamonrealm I would need to see the entire log. Could you send it to me as PM?. Hello yes, I apologize for the delay response. Let me re-run it, the trial for this service may be over so I will re-obtain one. RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - moshoodo123 - 2019-08-02 (2019-07-30, 13:23)M89SE Wrote:@M89SE, Thanks a lot for providing this script, it is very helpful. is there a way make it show as 1h 46m with space in between? currently it shows as 1h00 and 2h30.(2019-07-30, 01:01)samueljones Wrote: @M89SE unfortunately, this does not work in TVGF, after the edit TVGF can not be opened. may be the problem is from my edit I cant say. i.e I want hours to show as 1h , 2h, 3h etc minutes to show as 20m, 30m etc and combination to be 1h 30m. Thanks for your help. RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - M89SE - 2019-08-04 (2019-08-02, 15:23)moshoodo123 Wrote:(2019-07-30, 13:23)M89SE Wrote:@M89SE, Thanks a lot for providing this script, it is very helpful. is there a way make it show as 1h 46m with space in between? currently it shows as 1h00 and 2h30.(2019-07-30, 01:01)samueljones Wrote: @M89SE unfortunately, this does not work in TVGF, after the edit TVGF can not be opened. may be the problem is from my edit I cant say. Sure
To have "m" instead of "min" just replace all "min" terms with "m". RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - moshoodo123 - 2019-08-06 (2019-08-04, 22:27)M89SE Wrote:(2019-08-02, 15:23)moshoodo123 Wrote:(2019-07-30, 13:23)M89SE Wrote: I will install TVGF and try to add it when I have some time over. Like I said before I may have made some mistake and need to try it out myself.@M89SE, Thanks a lot for providing this script, it is very helpful. is there a way make it show as 1h 46m with space in between? currently it shows as 1h00 and 2h30. @M89SE , Thanks a lot mate for your help. that really makes sense. do you have any idea why single hour still shows as 1h00m , 2h00m. instead of 1h, 2h etc. it is perfect when showing hour and minutes together which currently shows as 1h 30min. minutes only too is showing perfectly which currently shows as 20min, 30min etc. only single hour have the bug. Regards |