Release YouTube Plug-in Thread - 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 Plug-in Thread (/showthread.php?tid=267160) 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
|
RE: YouTube Plug-in Thread - jmh2002 - 2017-08-22 Did you try the steps listed here in the FAQ? (2017-08-13, 22:05)jmh2002 Wrote: From the FAQ in Post #3 on Page #1 of this thread here: https://forum.kodi.tv/showthread.php?tid=267160&pid=2299963#pid2299963 RE: YouTube Plug-in Thread - jdf76 - 2017-08-22 (2017-08-22, 04:57)Thub Wrote: Since I updated to 5.4.2, I will occasionally find an empty My Subscriptions menu. If I then sign it, then back in, I'm only prompted for one code, not the two I'm used to. Everything else seems to work, but My Subscriptions remains empty. Ultimately, deleting settings.xml allows me to log back in, but if I enter my API key and ID, I end up signing in again with the single code and losing My Subscriptions. It sounds like you have something turned off, i would go to Maintenance in settings and then Delete settings.xml This will reset you to default. You also make note of your API keys so you can put them back in once you re-start the add-on. Jeff YouTube DASH not working on Kodi 17 for Windows - arsMOBILIS - 2017-08-22 I'm running Kodi on two platforms... Android 6.1 Amlogic OTT box, and Windows 10 Enterprise. I recently updated Kodi on both from 16.1 to 17.4, mainly to take advantage of 1080p YouTube vids via the DASH feature introduced with Krypton. On the Android box, when I enable DASH in the YouTube addon settings, and set max res to 1080p in inputstream.adaptive I get glorious 1080p playback on my Samsung TV. On the Windows laptop, however, as soon as I enable DASH all videos played revert to SD resolution, no matter what I do with the inputstream.adaptive settings. The laptop is fairly high end (i7, 16GB RAM, SSD boot drive, etc.) and it has no difficulty playing any other 1080p content in Kodi, so it's not a hardware issue. If I turn DASH off in the YouTube addon settings it plays 720p just fine, but it refuses to play anything over SD resolution as soon as I enable DASH. Does anybody have any suggestions what might be wrong? EDIT: BTW, I'm running version 5.4.2 of the YouTube addon. RE: YouTube Plug-in Thread - Thub - 2017-08-23 Okay, I found my problem and I think it's a bug, but I thought I would share my journey. (2017-08-22, 06:34)jmh2002 Wrote: Did you try the steps listed here in the FAQ? I'm not sure I tried the clean reinstallation over the weeks since this started happening, so I tried it just to be sure. It didn't help this problem, but I noticed some of the default settings are different if you completely wrote settings and plugin and reinstall than if you only delete your settings. Most notably, after doing the reinstall it now allows me to use the DASH plugin again. Is the settings.XML file created at install time or is it a boilerplate file bundled with the plugin? Shouldn't it have the same defaults as when you delete the file and launch for the first time? Or vice versa? (2017-08-22, 18:53)jdf76 Wrote: It sounds like you have something turned off, i would go to Maintenance in settings and then Delete settings.xml While I've been doing that for some time, you were right that something was turned off. As it happens, the first thing I was doing before signing in was to turn all the files on and off to the way I like it. One of the things I've been trying out since the 5.4.2 version was available is the My Subscriptions (Filtered) folder. Forgive me if I've misunderstood some of the internals, but it would seem that if you turn off the My Subscriptions folder, the plugin doesn't bother authenticating against the second (first?) API version, which means that the My Subscriptions (Filtered) folder doesn't do anything. If you sign in while My Subscriptions is enabled, you're fine for a time, even if you disable that folder afterward. Eventually though, the access token expires and if it's not enabled when that happens, then you get nothing. tl;dr Bug: My Subscriptions folder must be enabled at sign-in for My Subscriptions (Filtered) to work. Possible bug: Deleting settings.xml yields different defaults than fresh install. RE: YouTube Plug-in Thread - anxdpanic - 2017-08-23 @arsMOBILIS: Setting Min Bandwidth to 10000000 or greater in inputstream.adaptive, and a desktop/Kodi resolution of 1920x1080 or greater and Kodi in fullscreen not windowed should yield 1080 results. @Thub: Thanks. My subscriptions using its own api is the reason the second login is not required when it is shut off, should apply to filtered as well. I made a pass at undefined settings in 5.4.1-2, it was intentional initially though changes to settings handling in Kodi 18 may now cause issues. (non-issue in Kodi <18). Will be looking at both and should have an alpha zip up tomorrow, time permitting. RE: YouTube Plug-in Thread - DjDiabolik - 2017-08-23 Hi "friends" i have to ask, in the pass someone it's possible already ask this, for resolve a my dubs..... i try to explain: On current version of addons we have two "popolars" feeds..... we have: - Recommended and: - Things to see (or "Cose da vedere" in my language) On normal PC viewing by a browser we have only the "Trending" feeds at this exact page: https://www.youtube.com/feed/trending On this addons..... how it's located this ? On Recommended or other ? I see some Italian "Youtubers" uses this auto-generated playlist to see the "Italian Trendings": https://www.youtube.com/channel/UCEOJ7BEM0V5dYWFNoj3qJZQ/videos It's possible to integrate this ? RE: YouTube Plug-in Thread - anxdpanic - 2017-08-23 'Trending/Popular on Youtube/Popular right now' are the same. DjDiabolik Wrote:I see some Italian "Youtubers" uses this auto-generated playlist to see the "Italian Trendings": "Cose da vedere" or 'Popular right now', should honor the region you have set in the add-on. So if your region is set(setup wizard) to Italy/IT then this menu should bring you to the same videos you see in the above link. RE: YouTube Plug-in Thread - anxdpanic - 2017-08-24 5.4.3~alpha2 is posted. 5.4.3 alpha2 zips [add] mpeg-dash support for live content (requires inputstream.adaptive >= 2.0.12) [fix/upd] add My Subscriptions (Filtered) to dual login requirements [upd] Greek strings [Twilight0] Mpeg-dash livestreams will only work with inputstream.adaptive >= 2.0.12, which should be available in the latest Kodi 18/Leia nightly. Big thanks goes to peak3d for his work on inputstream.adaptive to get livestreams up and running. As usual if you have an issue, please provide a debug_log (wiki) RE: YouTube Plug-in Thread - A600 - 2017-08-24 I noticed that auto subtitles for almost all videos stopped working after this commit A couple of examples: https://www.youtube.com/watch?v=AOGtcBR1fdg https://www.youtube.com/watch?v=4pnNKcocmAY RE: YouTube Plug-in Thread - Islander3153 - 2017-08-24 This is most likely not necessarily unique to YT addon but coming here in case someone can point me in the right direction. The sd card on my pi3 LE setup appears to have gone bad. Managed to clubber together a resuscitated system using backups but I am getting this error: 07:45:28.035 T:1372582816 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: <type 'exceptions.ImportError'> Error Contents: No module named urllib3 Traceback (most recent call last): File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/startup.py", line 3, in <module> from youtube_plugin.kodion.impl import Context File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/__init__.py", line 17, in <module> from requests import api as client File "/storage/.kodi/addons/script.module.requests/lib/requests/__init__.py", line 60, in <module> from .packages.urllib3.exceptions import DependencyWarning File "/storage/.kodi/addons/script.module.requests/lib/requests/packages/__init__.py", line 29, in <module> import urllib3 ImportError: No module named urllib3 I am guessing getting urllib3 will fix the issue but after searching around I was not able to find a way to do that, or my search parameters were not adequate. Can anyone point me in the right direction? Thanks. RE: YouTube Plug-in Thread - anxdpanic - 2017-08-24 Thanks for the heads up A600, that change made automatic the equivalent to auto-translated instead of auto-generated. Will look to add auto-generated back into that. @Islander3153: Looks like either an underlying dependency issue, or environment issue. Not proficient in linux enviroments, but the first thing I would try is: sudo pip install urllib3 Long run, may be easier to start fresh and migrate userdata/addon_data/<addon> folders only though. RE: YouTube Plug-in Thread - qwertyy - 2017-08-24 Thanks for new alpha. Timeshift is working as well. Great work RE: YouTube Plug-in Thread - DjDiabolik - 2017-08-24 (2017-08-23, 20:32)anxdpanic Wrote: 'Trending/Popular on Youtube/Popular right now' are the same. mmmmmm... it's now more clearing.... and recommended ( in italian "Raccomandati") ? It's the same ? How it's your feeds ? *EDIT* Other question it's: I have installed the newest alpha2.... and i see this: [add] mpeg-dash support for live content (requires inputstream.adaptive >= 2.0.12) I use OSMC Latest..... the inputstream it's 1.0.8 and i don't see upgrade... someone can explain me how i can obtain this newest version ? RE: YouTube Plug-in Thread - anxdpanic - 2017-08-24 @DjDiabolik: Recommendation or 'Raccomandati' doesn't directly translate to the web from what I've seen. The api request for that item is described as 'the API response contains items similar to those that a logged-out user would see on the YouTube home page' inputstream.adaptive 2.0.12 or greater will be in the next OSMC nightly, which likely won't be until the end of the month. reference #1 reference #2 @A600: Auto-generated subs should be resolved with the next alpha. 4fd2b05 RE: YouTube Plug-in Thread - A600 - 2017-08-24 (2017-08-24, 19:20)anxdpanic Wrote: @A600: Auto-generated subs should be resolved with the next alpha. 4fd2b05 It is. Many thanks! edit: Some videos only have audio tracks. For example: https://www.youtube.com/watch?v=dLnYrog3AJQ https://www.youtube.com/watch?v=zgiXm355hjM Code: 19:41:38.182 T:1108 DEBUG: AddOnLog: InputStream Adaptive: GetStreamIds() If I disable the "Use MPEG-DASH" option, they play without problems. @anxdpanic: could you check if you can play them? |