![]() |
Release YouTube - 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 (/showthread.php?tid=356934) 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
|
RE: YouTube - izprtxqkft - 2024-11-29 (2024-11-29, 19:35)phyrros1 Wrote: The second one does not appear in the list. what's the video link? RE: YouTube - jim_p - 2024-11-29 (2024-11-28, 19:16)MoojMidge Wrote: @jim_p - Yes, please advise what other strings are missing that you have noticed.This will take a while, because I think most of the missing ones were related to the "live" label strings which were missing in 7.1.1.1 but were fixed in 7.1.1.3. RE: YouTube - jacen05 - 2024-11-29 Hello, First, thanks to the plugin authors and all contributors. I used this addon some months ago, but it doesn't work anymore in my case. I was on version 7.0.9, so I first updated to latest version 7.1.1.3 I got an error Code: IAddonInstanceHandler::CreateInstance: inputstream.adaptive returned bad status "Permanent failure" during instance creation The setting "Use InputStream.Adaptive" was on, I disabled it. After that I got the error Code: Response: {'error': {'code': 403, 'message': 'The caller does not have permission', 'errors': [{'message': 'The caller does not have permission', 'domain': 'global', 'reason': 'forbidden'}], 'status': 'PERMISSION_DENIED'}} What else can I try? RE: YouTube - izprtxqkft - 2024-11-29 (2024-11-29, 23:34)jacen05 Wrote: The setting "Use InputStream.Adaptive" was on, I disabled it. (2024-11-29, 23:34)jacen05 Wrote: but same error happened when trying to play anything (tried several videos using several menus). use of ISA is supposed to fix problems but you just disabled it (2024-11-29, 23:34)jacen05 Wrote: inputstream.adaptive returned bad status "Permanent failure" during instance creation you need to fix this see https://github.com/xbmc/inputstream.adaptive/issues/866 and the pertinent response is here https://github.com/xbmc/inputstream.adaptive/issues/866#issuecomment-1002675624 RE: YouTube - MoojMidge - 2024-11-30 (2024-11-28, 23:13)Chillbo Wrote: I assumed the issue was only present in the unofficial repo, but it showed up when installing the addon from the official testing repo as well. I had a quick look through a few zip files and couldn't see the unofficial changes in the non-unofficial testing repo. What version did you see this in? (2024-11-28, 23:13)Chillbo Wrote: Addons shouldn't try and circumvent basic Kodi guidelines for addons and skins. The same applies to forced view types as well as hard-coded colour tags provided by an addon. That should be the skin's business really. 😊 I don't use the unofficial version myself, but I don't fully agree with this. The problem is that there is core Kodi functionality that does not work when using a video content-type. Selecting views is also problematic because of the dynamic nature of plugin URIs and the way that Kodi stores paths in its ViewModes db. There is also no standard way for addons to identify the purpose of various label parts so that skins can display them in a way that is appropriate to the context in which they are used while still styling them according to the aesthetic of the skin. It is not ideal behaviour because there are limitations in the plugin API, but removing functionality when there are no alternative is not necessary imo, it does however require compromises in the addons, skins and core until someone comes up with a better way. (2024-11-28, 23:13)Chillbo Wrote: There's no chance of switching views with our skin anymore, if the content type has been manipulated. The amount of views we offer depends entirely on the content type - the reason for it being that we'd like to offer only view types useful for certain content types, not all of them at all times. If a wrong content type is being set by an addon, this will mess with the skin's intent. Not an OSMC (skin) user, so don't know if this is not already the case, but perhaps there should be some common basic views shared among all content-types to avoid the inability to switch away from a bespoke view that may not be appropriate for the content available? While this addon does not primarily provide episodic content, there are actually shows and episodes available on YouTube. Similarly there are other plugins that do provide shows and episodes, however the infolabels that may be populated for the plugin listitems may not contain the same information as library content. I don't think it is appropriate to say that these plugins cannot use an episode content-type, and I think it is the role of a default skin to try to provide as much usability as possible for as many use cases as possible/reasonable. Just my 2c. (2024-11-29, 08:04)doko-desuka Wrote: The reasoning is: "Since my device is slow in decoding VP9, if there are no playable H264 streams then at least try the smallest VP9 stream so it's watchable" -- because a 360 height VP9 can keep up with the audio and doesn't desync, at least on my device of course. That makes some sense, but I'm not sure whether such a scenario could/would ever eventuate when using the custom MPEG-DASH manifests that this addon creates. Anyway added this: https://github.com/MoojMidge/plugin.video.youtube/commit/000984c4b76eecb2eea45a8aa10b67b47ecf676f (2024-11-29, 17:14)flhthemi Wrote: Soooo...anytime the Setup Wizard DOES pop up then we ARE supposed to run it? Generally, yes. The only time the Setup Wizard popup appears is when there are some default settings that need to be changed to allow the addon to work properly. At a rough guesstimate, more than 75% of issues that are reported could have been avoided by simply running the Setup Wizard, case in point - many of the response in this thread... (2024-11-29, 19:35)phyrros1 Wrote: However, the add-on ( 7.1.1.1 unofficial) only supports playing the first audio track. The second one does not appear in the list. This addon has supported multiple audio track for almost (more than?) 2 years now. I make use of it all the time. Without knowing what video you are trying to play, or what list you are referring to, I can only presume that you are not using MPEG-DASH, which is why it doesn't work for you. Run the Setup Wizard and if you are still having problem provide a debug log. (2024-11-29, 23:34)jacen05 Wrote: What else can I try? Restart your system/device as advised by @izprtxqkft, and run the Setup Wizard afterwards. RE: YouTube - jacen05 - 2024-11-30 (2024-11-29, 23:45)izprtxqkft Wrote:(2024-11-29, 23:34)jacen05 Wrote: The setting "Use InputStream.Adaptive" was on, I disabled it.(2024-11-29, 23:34)jacen05 Wrote: but same error happened when trying to play anything (tried several videos using several menus). Thanks @izprtxqkft and @MoojMidge for the quick answer, that was indeed the problem: I didn't rebooted the device after updating. I did that, run the setup wizard again, that worked! RE: YouTube - Chillbo - 2024-11-30 (2024-11-30, 00:10)MoojMidge Wrote: I had a quick look through a few zip files and couldn't see the unofficial changes in the non-unofficial testing repo. What version did you see this in? Thank you for your extensive reply! Upon checking this again, it seems to me the issue was installing different versions of the addon over one another. If you uninstall and reinstall it, even keeping addon settings intact, it seems to work. So, probably an issue not with the addon, but with the way I switched between addon versions 😊 (2024-11-30, 00:10)MoojMidge Wrote: I don't use the unofficial version myself, but I don't fully agree with this. The problem is that there is core Kodi functionality that does not work when using a video content-type. Selecting views is also problematic because of the dynamic nature of plugin URIs and the way that Kodi stores paths in its ViewModes db. There is also no standard way for addons to identify the purpose of various label parts so that skins can display them in a way that is appropriate to the context in which they are used while still styling them according to the aesthetic of the skin. I agree, compromises are necessary and the situation is not ideal. It's still evident that most of Kodi's skin related functionality is not made for addons in the first place. From the skin side, I can provide a few examples why implementing a default override to usual Kodi behaviour is problematic:
(2024-11-30, 00:10)MoojMidge Wrote: Not an OSMC (skin) user, so don't know if this is not already the case, but perhaps there should be some common basic views shared among all content-types to avoid the inability to switch away from a bespoke view that may not be appropriate for the content available? While this addon does not primarily provide episodic content, there are actually shows and episodes available on YouTube. Similarly there are other plugins that do provide shows and episodes, however the infolabels that may be populated for the plugin listitems may not contain the same information as library content. I don't think it is appropriate to say that these plugins cannot use an episode content-type, and I think it is the role of a default skin to try to provide as much usability as possible for as many use cases as possible/reasonable. Just my 2c. What comes to mind: Why set episodes as the content type, if not all content the addon offers is episodes? That's what the videos content type should cater to: different types of videos in one list. Forcing views made for episodes on all of them doesn't make sense IMHO. But don't get me wrong... Obviously, views shouldn't be too limited, yes. And it should be possible to work around limitations (something one has to do as a skinner all the time - as the Kodi skin engine has substantial limitations). But an addon setting a content type not meant for an addon by default will lead to issues... A skinner has to decide what to rely on: Kodi guidelines and functionality or what single addons do differently. With the second approach, a skin has to basically be coded to work perfectly with one single addon - the next addon might approach this differently already leading to new issues. The basis is that Kodi addon and skin guidelines mandate the appropriate content type to be set by an addon (music for music addons, videos for video addons, programs for other types of addons) and not force any view types by setting other content types: https://kodi.wiki/view/Add-on_rules#Requirements_for_all_python_addons I do like customizability, especially if and when a system has undesirable limitations. But my 2 cents: overrides of default behaviour should only be optional, not the default. That's what I'm trying to get at 😊 The override of a content type as well as colour tags or forced view types should only be options for users to set. I apologize for the novel of a reply I wrote 🙈 RE: YouTube wizard crash - graham-h - 2024-11-30 Thanks for this excellent Add-on!! I've been getting random pop-ups asking 'Configure Settings?' which I've been dismissing but the last time I decided to click Yes. It seems this is from YouTube - maybe the name YouTube should be added to the dialog? Anyway, after going through the questions and getting to the one about keeping search history I get an error and this in logs. https://paste.kodi.tv/olimelenul.kodi I upgraded from 7.0.6.3 to 7.1.1.3 and ran the wizard again, with the same error. Is this the right place to report it? RE: YouTube - phyrros1 - 2024-11-30 Here are the links for two videos: https://youtu.be/I1KqalXTA_Y?si=mG6FuV-SmQ0YyMAE https://youtu.be/zPmazQ9OqIs?si=UAY7dyUUlaV5YGzG RE: YouTube - phyrros1 - 2024-11-30 (2024-11-29, 19:39)izprtxqkft Wrote:Here are the links for two videos:(2024-11-29, 19:35)phyrros1 Wrote: The second one does not appear in the list. https://youtu.be/I1KqalXTA_Y?si=mG6FuV-SmQ0YyMAE https://youtu.be/zPmazQ9OqIs?si=UAY7dyUUlaV5YGzG RE: YouTube - phyrros1 - 2024-11-30 (2024-11-30, 00:10)MoojMidge Wrote:I know that this add-on previously worked with multiple audio tracks. Its's only that it does not seem to work for me since I have installed 7.1.1.1. I have enabled MPEG-DASH otherwise nothing would play at all - I would only get the UNKNOWN error message. As posted in my previous message here the links to two vids with this issue:(2024-11-29, 19:35)phyrros1 Wrote: However, the add-on ( 7.1.1.1 unofficial) only supports playing the first audio track. The second one does not appear in the list. https://youtu.be/I1KqalXTA_Y?si=mG6FuV-SmQ0YyMAE https://youtu.be/zPmazQ9OqIs?si=UAY7dyUUlaV5YGzG RE: YouTube - Shredder_guitar - 2024-11-30 Looks like my version of youtube plugin was several versions behind the latest release, when I check for updates in the kodi platform there was no update, why was no update found when checking for updates on the plugin? RE: YouTube - izprtxqkft - 2024-11-30 (2024-11-30, 18:47)Shredder_guitar Wrote: Looks like my version of youtube plugin was several versions behind the latest release, when I check for updates in the kodi platform there was no update, why was no update found when checking for updates on the plugin? because the newer versions are not in the repo yet manual installation from github is required until the updates are submitted to kodi and reviewed RE: YouTube - scott967 - 2024-11-30 (2024-11-28, 14:56)Chillbo Wrote: With newer versions of the addon, from the testing or the unofficial repo, the content type is once again being set to episodes rather than videos which it should always be set to... No video addon should ever set content types other than videos. Other content types are reserved for library content and will mess with skins.That's not what the documentation says. There are 11 specific content types available for xbmcplugin.setContent() and the documentation says as a remark: "Use videos for all videos which do not apply to the more specific mentioned ones like "movies", "episodes" etc. A good example is youtube." https://xbmc.github.io/docs.kodi.tv/master/kodi-base/d1/d32/group__python__xbmcplugin.html#gaa30572d1e5d9d589e1cd3bfc1e2318d6 scott s. . RE: YouTube - Shredder_guitar - 2024-11-30 Thanks for the reply. Sounds like Kodi needs to evaluate their approval criteria for this plugin (at the very least)... I don't recall the version number I came from but it was several minor changes and several patch number difference. Ideally, I should be able to hit check updates on Kodi and all plugins that have been updated since the last check contain the latest version of a plugin. If that is not happening, then I have questions. When my wife comes into my office and says youtube's not working, it's a big deal. |