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. ;) - Jeffers24 - 2016-12-05 (2016-12-05, 12:06)primaeval Wrote:(2016-12-05, 12:03)Jeffers24 Wrote:(2016-12-05, 11:13)primaeval Wrote: Almost there. Don't Save. Press Alt Stream. Not working as I thought, I add folder, then when I choose channel from EPG I get told there are multiple addons that provide this stream, but now I am stuck and I am only shown the options in the addon of the highlighted stream when I chose add folder. What I wanted to do was set up a BBC1 HD stream from addon X as my main stream and a BBC1 SD stream from addon Y as my alt stream. By setting up a folder I am stuck in choosing from addon Y streams. RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - primaeval - 2016-12-05 (2016-12-05, 12:25)Jeffers24 Wrote:(2016-12-05, 12:06)primaeval Wrote:(2016-12-05, 12:03)Jeffers24 Wrote: After highlighting the stream I want to allocate as the Alt Stream, I don't have an option to press Alt Stream. That just goes to prove that devs can never really read the minds of users. I'll add another Alt Stream button in Browse for you later. RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - Jeffers24 - 2016-12-05 If you could read minds you would be unique, maybe you would not be doing what you are doing RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - primaeval - 2016-12-05 version 0.0.219 - Stream Setup \ Browse \ Alt Stream @Jeffers24 Think of a button. Any button. Is it Alt Stream in Browse? TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - ed_davidson - 2016-12-05 (2016-12-05, 11:03)Jeffers24 Wrote:(2016-12-05, 10:31)primaeval Wrote:(2016-12-05, 10:21)Jeffers24 Wrote: I am still having problems allocating an alternative stream, based on my thinking that by having an alternative screen I can have two streams allocated to a channel and choose between them when I select a channel to play. Here's what I do to add an alternative stream after saving primary. Stream. Setup / chose my stream / alt stream / save. Seems to work for me. RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - primaeval - 2016-12-05 version 0.0.220 - pre-find program images (up,down,left,right of current program) If you go slowly enough the next channel or program's images should be found before you get there if possible. RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - Jeffers24 - 2016-12-05 (2016-12-05, 15:27)primaeval Wrote: version 0.0.219 If not too late for input, I don't think you need another button, having already chosen Add Alt Stream from the long vertical menu, using the save button should save my chosen stream as the alt stream not the main stream. Thanks for looking at this RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - primaeval - 2016-12-05 (2016-12-05, 19:01)Jeffers24 Wrote:(2016-12-05, 15:27)primaeval Wrote: version 0.0.219 There are more than one thing you can do with a stream: Preview, Save, Alt Stream. So there is no default action. That's a continuation of the way the original TV Guide did it. It does make sense to have separate main and alternative streams, as the main streams can be overwritten in Settings \ Optional if you subscribe to someone else's channel mapping but the alternative streams are totally personal. [EDIT] I see what you mean now. You will only get taken to the Stream Setup from Add Alt Stream if you don't have any matches in addons.ini. I expect you get that every time because you like to select the streams one by one. RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - Jeffers24 - 2016-12-07 [EDIT] I see what you mean now. You will only get taken to the Stream Setup from Add Alt Stream if you don't have any matches in addons.ini. I expect you get that every time because you like to select the streams one by one. - CORRECT Thanks for change/s I can now set up Main and Alt streams for a channel. Menu>Stream Setup>Browse>choose addon>Choose Stream (BBC1)>Save, saves main stream and goes back to EPG Menu>Stream Setup>Browse>choose addon>Choose Stream (BBC1)>Alt Stream, saves alt stream and stays on same screen, should this go back to EPG? I pressed Alt Stream a few times thinking the key press did not take, I ended up with a main stream of BBC1 and Multiple Alt Streams of BBC2. Just to test I added another Alt Stream ITV1 and ended up with Main stream BBC1, multiple BBC2 alts and an ITV1 alt, like magic and they all played!! RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - primaeval - 2016-12-07 (2016-12-07, 13:12)Jeffers24 Wrote: [EDIT] I see what you mean now. You will only get taken to the Stream Setup from Add Alt Stream if you don't have any matches in addons.ini. I expect you get that every time because you like to select the streams one by one. - CORRECT I'm glad you've got it working. The Alt Stream doesn't close in case you want to add a few streams at once. For example: BBC One, you might also want BBC One London, BBC One Scotland etc and from different addons. I still think it's easier to add all the streams in a folder with Add Folder and let the channel matching sort them out, but I always try to allow multiple choice if possible. I'll see if I can change the logic to only adding the stream once. RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - samueljones - 2016-12-07 @primaeval, Thanks for this beautiful addon. I have been a secret reader of this thread for a while and decided to comment today. having been playing with this addon, I can confirm that I have never seen any powerful kodi Tv guide like this before. I can now set a reminder and also have it autoplay... Fantastic. Please how hard / easy is it to have a befitting Skin for this addon? IMO, the current skins didnt show its full potential. see below layout example. ability to show the categories in the main page like it is that picture will be nice. Thanks. SJ RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - primaeval - 2016-12-07 (2016-12-07, 14:10)samueljones Wrote: @primaeval, Thanks for this beautiful addon. I have been a secret reader of this thread for a while and decided to comment today. having been playing with this addon, I can confirm that I have never seen any powerful kodi Tv guide like this before. I can now set a reminder and also have it autoplay... Fantastic. I'm glad you like it. Thanks. I'm not really a skinner and I like the minimalistic look but if you want to add something in you can. There is an option to use your own skin in the addon_data folder. If you want to share I can either add your skin in or make a separate addon with extra skins. To make the Category buttons show up over the epg you can just make the background of the context menu transparent or make it invisible. Then only the buttons will show. I've seen it done that way in some other guides. You can then make them small and add icons. I can add some changes in the code if you need them to support extra buttons. Just make sure you don't add any trademark names of companies who like suing people. RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - primaeval - 2016-12-07 version 0.0.221 - unique alternative streams - feedback on Alt Stream button - categories menu in main epg (m, menu) [Thanks Team iVue] @samueljones For those of you too lazy to open the context menu I've added the categories menu into the main epg. There have been a few requests for this so here y'all go. It is in my minimalist style. If you want it to look like the yellow one you'll have to get your crayons out in Photoshop. You can get to it with the (menu, m) key and close it with m or back. Right clicking on a category will bring up Add/Remove like in the normal context menu. @Jeffers24 The Alternative Streams should be unique now. So you can click away on the same stream and it should only add it once. There is a quick info window when you click on Alt Stream. To delete a Program Image that OMDb/TVDb/IMDb found now use the ACTION_DELETE_ITEM button. I mapped mine up to DEL with the Keymap Editor addon. RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - myname - 2016-12-07 Very nice guide. I modded a skin with the cats. I maintained a small fork of the FTV guide but don't release it publicly. Your base is amazing so i'm moving over to it. I am going to list a few things i do with the logic behind it that you can incorporate or inquire about if you want. You are a completely capable coder so i'm sure your solutions would be more elegant than mine. File fetcher : - have the download progress. If you are unfamiliar with the guide it looks like it freezes on slow devices - the ability to use a gz file. 20 meg vs 2 meg is a no brainer. I currently use the below, maybe thats the problem? 7z a -mx0 -tgzip %final%guide.xml.gz "%guidezip%guide.xml" - a selfish request, but the option to also download a zip along with the epg and extract it in the base. addons.ini: - separate the add folder and import addons.ini. Have the import save to addons2.ini and append both ini files if found. To append just repeat the first ini append routine with different ini destination. - option to play from and search ini for all possible channel names (under lists?) ADDONID: - another selfish request is to eliminate the addon name. This is for easy forks (still have to change skin paths). I create a func.py with : ADDONID = 'script.tvguide.fullscreen' ADDON = xbmcaddon.Addon(ADDONID) and then in other py files import func ADDONID = func.ADDONID ADDON = xbmcaddon.Addon(ADDONID) changing all refences of script.tvguide.fullscreen to ADDONID or '+ADDONID+' Categories: - read it at a different place in the script. It often isn't initiated until you reopen the guide. - categories tab visible with the touch\mouse controls. - add a label displaying the current category. i use the middle line self.database.setCategory(self.category) self.setControlLabel(self.C_MAIN_CAT_LABEL, '%s' % self.category) self.database.initialize(self.onSourceInitialized, self.isSourceInitializationCancelled) playlist: - option to also import playlist from set path in settings rather than only via streamsetup Logos: - use underscores instead of spaces. Many people (well, me) share the logos with the kodi pvr and they require underscores vs spaces. I use elif xbmcvfs.exists(logoFile): #logo = logoFile.replace(' ', '%20') # needed due to fetching from a server! logo = logoFile.replace(' ', '_') # needed to have logos in pvr client! elif self.logoSource == XMLTVSource.LOGO_SOURCE_CUSTOM: logo = logoFile.replace(' ', '_') # needed to have logos in pvr client! Ignore stream: - option to not save channel to database for mega pesky unreliable sources. if IGNORESTRM: self.database.deleteCustomStreamUrl(program.channel Add folders: - ability to remove path from folders.list I have most of this working if you want to DM me about anything. I see you just added cats to the main screen so you are already making me happy RE: TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;) - primaeval - 2016-12-07 (2016-12-07, 20:33)myname Wrote: ^^^ Sounds like some good suggestions. Thanks. I'll pm you my dev email. You need 10 posts here before they let you do that. I recently added some feedback to the file download and it can handle compressed files. The server either has to support compression or just gz the file and download that. Python requests will do the decompression without asking. I used to have a secondary addons.ini file but it got lost in the chaos at one point. I've been moving to grabbing the addon id programmatically in my other addons too so I can reuse the code easier. It doesn't always work when scripts are called by timers or context menu items though. It still needs a lot of search/replace in the language files though. I made a separate addons.ini viewer to do channel searching and playback. I think I put it on github somewhere. https://github.com/primaeval/plugin.video.addons.ini.player https://github.com/primaeval/plugin.video.addons.ini.tester https://github.com/primaeval/plugin.video.addons.ini.creator I must have been lucky with servers that can handle spaces in the logo paths. I didn't expect people to switch categories much. Maybe they do. As this is easily configurable I thought people would just add all their favourites to a Favourites category and leave that selected. Remove path needs a bit of housekeeping that I haven't got around to yet. I'll have a look at your mods and try and add them in. Thanks. |