[RELEASE] PseudoTV Addon: Virtual EPG and TV Channel Surfing Script - 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) +----- Forum: PseudoTV / PseudoTV Live (https://forum.kodi.tv/forumdisplay.php?fid=231) +----- Thread: [RELEASE] PseudoTV Addon: Virtual EPG and TV Channel Surfing Script (/showthread.php?tid=90738) 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
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
|
- jtucker1972 - 2011-02-11 TheDoughboy Wrote:After that I picked a playlist that I knew would look for that movie and made it channel_1. I then ran PsuedoTV and it picked the movie right away. Bingo! You picked a playlist that had the movie in it. This triggered XBMC to scrape the video file header data and update streamdetails. This is why PseudoTV had the data available and you did not get a no duration error. - jtucker1972 - 2011-02-11 @TheDoughboy, you will notice in the iso nfo that there is no <fileinfo> section. In the avi/divx nfo, there is a <fileinfo> section, but it is missing the <durationinseconds> so XBMC will not update streamdetails.iVideoDuration since it looks in <durationinseconds> for this data in the nfo. - Sranshaft - 2011-02-11 I see two things that need to be fixed with that nfo. Each genre, credit and director should be a separate tag. At least this is the way XBMC, and by extension, my program does it. Also. for the duration tag, it should just be a number - there shouldn't be 'min'. What is still unclear, to me at least, is the nfos XBMC creates still have the <durationbyseconds> tag but there have been conflicting statements whether that is still used. I know that XBMC uses it in the nfo and I'll be using that as well but things like this need to be ironed out. I'm really looking forward to when the devs start rolling out the new database. Hopefully some of this stuff will be fixed / changed. Ember still misses some other 'minor' tags - things like epbookmark (this field is necessary if you have video files that contain more than one episode), country, movieset and sorttitle. @jtucker: I'll send you a PM as soon as I've got things ready to test. Also, just a heads up, you'll be able to manage all those extra things (fanart, covers, extrathumbs, etc) right from the program as well. - jtucker1972 - 2011-02-11 Sranshaft Wrote:Also. for the duration tag, it should just be a number - there shouldn't be 'min'. What is still unclear, to me at least, is the nfos XBMC creates still have the <durationbyseconds> tag but there have been conflicting statements whether that is still used. I am going to verify as soon as my library finishes exporting. I need to setup another computer with XBMC so when I do the scan it will be pulling in the nfo exported by XBMC with the <durationinseconds> tag. If it works like I think, the streamdetails should be updated accordingly. Before I do the import, I will pick a movie and episode to remove the <durationinseconds> tag from and see if it still updates iVideoDuration or not. Sranshaft Wrote:@jtucker: I'll send you a PM as soon as I've got things ready to test. Also, just a heads up, you'll be able to manage all those extra things (fanart, covers, extrathumbs, etc) right from the program as well. Hot damn! - TheDoughboy - 2011-02-11 jtucker1972 Wrote:Bingo! You picked a playlist that had the movie in it. This triggered XBMC to scrape the video file header data and update streamdetails. This is why PseudoTV had the data available and you did not get a no duration error. Okay I see the point, but what I was trying to bring up with that experiment was the people are looking to say the tools like Ember cause problems, and here a file that scraped through Ember and XBMC scanned it no problem and Psuedo played it. I still get no duration errors and again I pointed out that I think it is either a) the number files it gets errors from or b) stacked or iso files. - TheDoughboy - 2011-02-11 Sranshaft Wrote:I see two things that need to be fixed with that nfo. Each genre, credit and director should be a separate tag. At least this is the way XBMC, and by extension, my program does it. First min is not causing a problem with Psuedo on my end. Second <epbookmark> is not needed for movies. It is needed for ISO files, it's actually something I put a request in for if we could put a data bookmark in for ISO files just like the epbookmark tag we could then actually go to the movie in an iso file. Yes I know I should just rip the movie and be done with it. Can someone post a blank nfo for tv and movie files that contains every field that can be currently used? - TheDoughboy - 2011-02-11 Here's an nfo for one of my TV shows, this one comes from Media Companion (don't ask) and I manually added epbookmarks. Quote:<?xml version="1.0" encoding="UTF-8" standalone="yes"?> - jtucker1972 - 2011-02-11 TheDoughboy Wrote:Okay I see the point, but what I was trying to bring up with that experiment was the people are looking to say the tools like Ember cause problems, and here a file that scraped through Ember and XBMC scanned it no problem and Psuedo played it. Regardless of whether you scrape using a third-party tool like Ember or not, you still have to use a playlist to capture the durations or play each file to capture the duration. If Ember were outputting complete XBMC nfo's with fileinfo populated with durationinseconds, then XBMC would use that and would not need to use a playlist to capture it. - jtucker1972 - 2011-02-11 TheDoughboy Wrote:Can someone post a blank nfo for tv and movie files that contains every field that can be currently used? Please see my earlier post where I provide a link to both a movie nfo and episode nfo output by XBMC. - jtucker1972 - 2011-02-11 @Jason102, I found a little glitch with the script. If the Channel Name has an & in it the script will hang when it tries to create the channel. For example, Action & Adventure hangs the script, but Action and Adventure works fine. Just thought I'd let you know. - jtucker1972 - 2011-02-11 Just a quick tip for anyone who wants to map a key to start PseudoTV. I use this with my XBMC Commander to have a one button solution to start my XBMC TV. For keyboard you assign the following command to keyboard.xml: XBMC.Runscript(script.PseudoTV) For example: <f11>XBMC.Runscript(script.PseudoTV)</f11> If XBMC is running and I send the F11 keystroke, PseudoTV loads. You could map this to a button on your remote as well. Thought I'd share this as I love having single button access to my favorite scripts. - zepfan - 2011-02-11 ^ Thanks for that, I was looking for a way to launch from xbmc commander. I still have an issue with incorrect info for every show showing up, any thoughts? I've tried resetting, etc, to no avail. EDIT: Fixed it ( I Think). Shuffle was on for everything. Turned it off and it's fine. - rtwight - 2011-02-12 For those using Ember and having the duration issue, disable Ember from getting the runtime from imdb and the meta data from the file. To do that i would just go to the root of my movies and watch the overall duration increment and leave it there until it stopped (you can tell if its close to being done by averaging the length of each move to 90 minutes and see if the amount of movies time 90 minutes is your overall duration. For tv shows i would go to the all seasons of each and wait for the same. That way XBMC will scan the file and get the information it needs. But you can still edit and customize everything else. As others have stated no third party app creates the nfo file the same way as xmbc does, so until they do there is the above work around - jtucker1972 - 2011-02-12 rtwight Wrote:For those using Ember and having the duration issue, disable Ember from getting the runtime from imdb and the meta data from the file. A screenshot of where to disable the runtime can be seen at http://forum.xbmc.org/showpost.php?p=719251&postcount=315 - mwkurt - 2011-02-12 Could one of you guys possibly tell me what I am doing wrong? When I open a playlist that I created I do not see any times accumulating. I do this inside of XBMC. IS there something that I am missing? Could you please give me instructions on what you are doing to accomplish the time accumulation that you all see? Thanks, Mark |