![]() |
Release YouTube (IMPORTANT - READ FIRST POST) - 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: Video Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=154) +---- Thread: Release YouTube (IMPORTANT - READ FIRST POST) (/showthread.php?tid=200735) 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
|
RE: YouTube (ALPHA 17) - JasonPell - 2014-08-19 I started to do some hacking of the plugin to see if I could get purchases working. The youtube v2 and v3 apis don't actually have any purchases methods that I can see. However I was able to hack in the play list id for the purchase to replace the 'likes' one and I can see the list of videos. This was just a quick hack to see how far I can get. I figure perhaps we can scrape the https://www.youtube.com/purchases to get a list of the play lists. I can't get very far in playing the videos because the youtube/video.pl getVideoStreamInfosPerPageView function used to determine the appropriate stream does not get the page with an authenticated user, so the stream info is unavailable. So I figure I need to add a login call first to the opener so that all future open calls will be authenticated. I know that even if I can get past that I won't be able to play it because of DRM, but it would be cool to be able to configure a browser event for these DRM protected videos and use the same mechanism as for netflixbmc. I am going to see if I can figure out what I need to pass to the opener to login to youtube first. I think the netflix plugin does this for netflix using a cookie handler. RE: YouTube (ALPHA 17) - Crowly - 2014-08-19 If you're not already doing so, or your solution is better ![]() RE: YouTube (ALPHA 17) - JasonPell - 2014-08-20 (2014-08-19, 19:11)Crowly Wrote: If you're not already doing so, or your solution is better I see the youtube-dl has the login code and a PR even has the TOTP 2 factor auth stuff. Nice, I will definately be looking at that for the purchases stuff. I really just want to watch game of thrones season 4 on my htpc, after I finish season 3, which I bought on dvd. The itch will probably wear off after that. Real shame netflix did not have game of thrones. I am not even a python developer, hate python actually especially the stupid padding requirements for block control, what a joke. Anyway, will see how far I get, not even sure what I come up with would be acceptable to either this or the Hendrik plugin anyway. Do others want purchases support, and would loading a chrome browser with html 5 be acceptable? RE: YouTube (ALPHA 17) - JasonPell - 2014-08-20 the youtube-dl for xbmc seems mostly about enabling downloads, whereas the youtube plugins are about urls that are fed to xbmc for playback. So perhaps not so useful. I will certainly be perusing the youtube-dl code though. The stream URL derivation code could be replaced with this plugin. Its in official repo now too. Very interesting RE: YouTube (ALPHA 17) - MrMarijuano - 2014-08-21 (2014-08-09, 00:50)arithine Wrote:(2014-08-08, 05:06)MrMarijuano Wrote: thanks for this. Also the repo doesn't show anything for me. Thanks, it worked for me. If anyone else has this problem, this option is found pressing left at the Add-ons menu (using Confluence skin) (2014-08-17, 12:57)gott_sei_dank Wrote:(2014-08-13, 18:44)tinybutstrong Wrote:(2014-08-13, 13:17)dkplayaclub Wrote: enable 2 step verification (2014-08-17, 14:52)schumi2004 Wrote:(2014-08-13, 12:42)tinybutstrong Wrote: Login not working for me. I'm using the credentials used in youtube.com (gmail+pass), I don't have 2 step verification enabled. Any suggestion would be good. I didn't really understood the type of account you're using but maybe my experience will help. I had a normal YouTube account before it asked me to merge it to my Google acct., but I rejected the option, so I got an "[email protected]" for my old YT acct. If you haven't set a password for it do this: In YT, go to the upper right corner, click on your acct. icon, click the gear "YouTube settings", under your acct. name click advanced, then change or add password. In the add-on just login with your "@pages.plusgoogle.com" and your new password. RE: YouTube (ALPHA 17) - woodside - 2014-08-21 I use this dynamic content tag to fill a list. How would I format something similar using your addon. What is the format for a search url? PHP Code: <content>plugin://plugin.video.youtube/?path=/root/search&feed=search&search=$INFO[Window(Home).Property(Artist)])</content> RE: YouTube (ALPHA 17) - MediaPi - 2014-08-22 (2014-08-17, 22:53)arithine Wrote: Is there a way to force the plugin to reload "My Subscriptions" when accessed from outside the plugin? Eg: through a favorite or sub-menu Yes there is download Super Favourites http://forum.xbmc.org/showthread.php?tid=192662 you need to set overide context menu on through settings then add to Super favourites, through context menu then go into super favourites and add back to xbmc favourites. this will work as you want you might have to do abit of reading ask for help from Spoyser if you get stuck hes cool RE: YouTube (ALPHA 17) - woodside - 2014-08-22 (2014-08-21, 05:07)woodside Wrote: I use this dynamic content tag to fill a list. Anyone? RE: YouTube (ALPHA 17) - MediaPi - 2014-08-22 (2014-08-22, 17:05)woodside Wrote:(2014-08-21, 05:07)woodside Wrote: I use this dynamic content tag to fill a list. have you had a look at post 53 http://forum.xbmc.org/showthread.php?tid=200735&pid=1767714#pid1767714 (2014-08-06, 23:54)bromix Wrote: I use for example: can't help any further im afraid RE: YouTube (ALPHA 17) - JasonPell - 2014-08-22 (2014-08-19, 07:41)JasonPell Wrote: I started to do some hacking of the plugin to see if I could get purchases working. I decided instead to make a contribution to the original plugin, as it has all the web page login, 2 - factor auth, etc all figured out. https://github.com/HenrikDK/youtube-xbmc-plugin/pull/72 RE: YouTube (ALPHA 17) - woodside - 2014-08-22 (2014-08-22, 17:18)MediaPi Wrote:(2014-08-22, 17:05)woodside Wrote:(2014-08-21, 05:07)woodside Wrote: I use this dynamic content tag to fill a list. Yeah I seen that post but that is actually to play a video url not to search for videos. I basically need the syntax or url to search for videos of a given artist. With new Gotham capabilities you can add a search url like in my original post to the content tag of a list and the the list is automatically filled with the results of your search. The content tag above fills a list but it's for the original youtube plugin and I wanted to use this one if possible because it is quicker to do searches. Thanks... by the way good job on your plugin. RE: YouTube (ALPHA 17) - klikkamongo - 2014-08-22 Hi, I downloaded the Alpha 17 version and logged in with my Google account. The problem is I can only see two menu items, "Search" and "Browse Channels". In the menu items settings all are checked as show. I have tried uncheck all items and recheck again. But still I cant see the menu items. Any idea how I can fix this? RE: YouTube (ALPHA 17) - gott_sei_dank - 2014-08-22 (2014-08-21, 04:45)MrMarijuano Wrote: I didn't really understood the type of account you're using but maybe my experience will help. I had a normal YouTube account before it asked me to merge it to my Google acct., but I rejected the option, so I got an "[email protected]" for my old YT acct. If you haven't set a password for it do this: Apreciate the reply, I added a password for the "@pages.plusgoogle.com" page and still no login, there is no indication it is even attempting to log me in. The whole accounts thing is a total mess, the original plugin is logging me in but minus the subscriptions. RE: YouTube (ALPHA 17) - torenvalk - 2014-08-22 (2014-08-21, 05:07)woodside Wrote: What is the format for a search url? It's possible to figure it out from the source in default.py: Code: __ACTION_SEARCH__ = 'search' So the 'action' for searching is 'search', which has three parameters, 'query' (default empty), 'pageToken' (default None) and 'pageIndex' (default 1). So in your case you want something like this: Code: plugin://plugin.video.bromix.youtube/?action=search&query=$INFO[Window(Home).Property(Artist)] RE: YouTube (ALPHA 17) - woodside - 2014-08-23 (2014-08-22, 22:31)torenvalk Wrote:(2014-08-21, 05:07)woodside Wrote: What is the format for a search url? Wow... Thanks alot!... Being the amateur I am, It probably would have taken me forever to figure that out if I even ever did. It works like a charm and is speedy fast. I really appreciate your help torenvalk! [EDIT] SWEET!!! And it doesn't even choke with artists with commas in their names like "Crosby, Stills & Nash. I be happy!!! [EDIT2] Hmmm one weird thing though.. $INFO[Player.Title] doesn't show the title of the currently playing video.. It shows as "videoplayback" That's strange. |