Kodi Community Forum
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)



RE: YouTube - SrTaronja - 2024-12-22

@MoojMidge
okay, I don't know if it's also a privilege thing, but I don't see how to send you a private message, I can't see anything in the "contact" tab of your profile, please let me know if you need me to send you the log's URL and how.


RE: YouTube - SpottedDog - 2024-12-22

I am not able to stream Youtube. Internet connection is fine and I see the streams listed but get message "Youtube This Stream is not available" if I click on stream. here is my debug logDebug Log
Using Kodi 21.1.0 and default Youtube ver in official repository
edit:updated YouTube to ver 7.1.16 official but no change

EDIT2: Enabled InputStream and ran Setup page and now working
Thanks for all the work on this problematic addon and Merry Christmas!


RE: YouTube - scott967 - 2024-12-23

(2024-12-22, 01:12)MoojMidge Wrote:
(2024-12-21, 23:08)MoojMidge Wrote: What I was actually looking for was something that is hopefully easier to check. Wanted to confirm what happens on your installation using Kodi 22 when hitting the default select key (or whatever key has been mapped for the select action), depending on the following setting Kodi > Settings > Media > Videos > Default select action

No need to check this, had a look and saw it was due to https://github.com/xbmc/xbmc/pull/25592 which was also backported to Kodi 21, but not yet available in a point release.

Saw your comments on that PR.

So testing MoojMidge/master @ 75da30f0 / Version bump v7.2.0+beta.2
Kodi 22 with settings media / videos default select "choose" default play  "ask if resumable"

In youtube I select search menu (New search is fixed confirmed)
select a search item
In the search results select the "playlist" item to get playlist results.

In the list of playlists, select opens the yt playlist to playlist yt videos
In list of playlists, movie info dialog is available as <i>nfo.  Selecting "play" from the info dialog result in error
Code:
 error <general>: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.youtube/channel/UCjf5s2I9IIDgv6PuQ-opWtQ/playlist/PLPY3GzWq8leXHMOH-_vYsB7CER7lcEoq_/?category_label=the%20superior%20christmas%20music%20video%20playlist%20%f0%9f%8e%84]
probably expected as I guess a playlist is treated as a folder?
<c>ontext on the playlist does open "full" context menu with sort / play all etc/ bookmark

Selecting playlist opens list of yt video items.
selecting a video item opens full contextmenu, same as using <c>ontext
-  resume is available from select (choose) in the contextmenu
-  "play" from movie info dialog gives mini context menu resume/play from beginning

Going to "now playing" video playlist window select on the item gives mini contextmenu (resume/play from beginning)

scott s.
.


RE: YouTube - Puni - 2024-12-23

(2024-12-22, 16:39)SpottedDog Wrote: I am not able to stream Youtube. Internet connection is fine and I see the streams listed but get message "Youtube This Stream is not available" if I click on stream. here is my debug logDebug Log
Using Kodi 21.1.0 and default Youtube ver in official repository
edit:updated YouTube to ver 7.1.16 official but no change

EDIT2: Enabled InputStream and ran Setup page and now working
Thanks for all the work on this problematic addon and Merry Christmas!

 
Had the same happen to me yesterday. Saw a lot of 403 errors in my log files.

Newpipe and yt-dlp users are reporting the same, so I guess Google is toying around with some stuff.
https://github.com/TeamNewPipe/NewPipe/issues/11803
https://github.com/yt-dlp/yt-dlp/issues/11868

Started to work again yesterday evening but I wouldn't expect it to last.


RE: YouTube - DarrenHill - 2024-12-23

(2024-12-22, 14:12)SrTaronja Wrote: @MoojMidge
okay, I don't know if it's also a privilege thing, but I don't see how to send you a private message, I can't see anything in the "contact" tab of your profile, please let me know if you need me to send you the log's URL and how.

@SrTaronja - your account is still newbie, so you didn't have the privs as you correctly surmised (it's an anti-spam measure).

But in this case I've enabled those privs for you, so you should be able to send and receive PMs now.


RE: YouTube - nycguy - 2024-12-24

Hi in my playlist when a video is removed , there is no way to delete it from the playlist.   I have to go to a non-Kodi youtube and delete it there.    Wondering if theres a option or update maybe you could do.     Happy Holidays to all.  Appreciate the work you guys do to keep this app going


RE: YouTube - MoojMidge - 2024-12-26

(2024-12-23, 04:22)scott967 Wrote: probably expected as I guess a playlist is treated as a folder?

It is because when a plugin url is called there is no information provided as to why it is being called. In this addon playlist urls are routed to a handler that produces a directory listing by default, whereas videos are routed to a handler that handles playback (and will force playback if needed) because there is no point displaying a single entry listing that just contains the listitem that was interacted with.

If Kodi provides an argument in the plugin call that identified that the url was being called as part of a play action, similar to how it provides a resume argument, then an addon could parse this and route the url to an appropriate handler.

Added a workaround for this by using the service monitor to check whether a non-playback enabled path is being added to the Kodi internal playlist, and forcing a playback path to be used instead. Will be available in next release and already in MoojMidge/master.

 
(2024-12-23, 08:51)Puni Wrote: Started to work again yesterday evening but I wouldn't expect it to last.

The writing has been on the wall for a while. Not sure exactly why they haven't, but if they wanted to YouTube could easily prevent playback from any 3rd party client. Regardless the methods that can be used for playback are slowly but surely being made inaccessible. It remains to be seen whether this addon will remain a viable means of watching YouTube videos. I suspect that without a javascript interpreter (and possibly even with it) the inevitable answer is no.

 
(2024-12-22, 14:12)SrTaronja Wrote: please let me know if you need me to send you the log's URL and how.

I'll send you a PM.

 
(2024-12-24, 23:34)nycguy Wrote: Hi in my playlist when a video is removed , there is no way to delete it from the playlist.

Do you mean that if a video is deleted or is otherwise unavailable, the normal YouTube addon context menu does not show up for that video in a playlist, which means that you cannot delete the unavailable video? Or are you having issues deleting any video from a playlist?


RE: YouTube - berkhornet - 2024-12-26

Hello. I'm hoping someone out there can help with this. Until recently I've had no issues with the Youtube addon. Recently it asked me to sign-in again. I got the prompt about having to go to google.com/device page twice, but then received a Login Exception error. I've uploaded a debug file at the following link "https://paste.kodi.tv/akecepimow.kodi". Any help appreciated. Thank you


RE: YouTube - nycguy - 2024-12-26

I mean when a video is removed or deleted by the uploader.   There is no option to remove that dead video from the playlist.   Thx


RE: YouTube - nycguy - 2024-12-26

(2024-12-26, 08:35)MoojMidge Wrote:
(2024-12-23, 04:22)scott967 Wrote: probably expected as I guess a playlist is treated as a folder?

It is because when a plugin url is called there is no information provided as to why it is being called. In this addon playlist urls are routed to a handler that produces a directory listing by default, whereas videos are routed to a handler that handles playback (and will force playback if needed) because there is no point displaying a single entry listing that just contains the listitem that was interacted with.

If Kodi provides an argument in the plugin call that identified that the url was being called as part of a play action, similar to how it provides a resume argument, then an addon could parse this and route the url to an appropriate handler.

Added a workaround for this by using the service monitor to check whether a non-playback enabled path is being added to the Kodi internal playlist, and forcing a playback path to be used instead. Will be available in next release and already in MoojMidge/master.

 
(2024-12-23, 08:51)Puni Wrote: Started to work again yesterday evening but I wouldn't expect it to last.

The writing has been on the wall for a while. Not sure exactly why they haven't, but if they wanted to YouTube could easily prevent playback from any 3rd party client. Regardless the methods that can be used for playback are slowly but surely being made inaccessible. It remains to be seen whether this addon will remain a viable means of watching YouTube videos. I suspect that without a javascript interpreter (and possibly even with it) the inevitable answer is no.

 
(2024-12-22, 14:12)SrTaronja Wrote: please let me know if you need me to send you the log's URL and how.

I'll send you a PM.

 
(2024-12-24, 23:34)nycguy Wrote: Hi in my playlist when a video is removed , there is no way to delete it from the playlist.

Do you mean that if a video is deleted or is otherwise unavailable, the normal YouTube addon context menu does not show up for that video in a playlist, which means that you cannot delete the unavailable video? Or are you having issues deleting any video from a playlist?
I mean when a video is removed or deleted by the uploader.   There is no option to remove that dead video from the playlist.   Thx


RE: YouTube - Oversized - 2024-12-26

How big of a UI job would be to bring yt comments in a few less clicks ?


RE: YouTube - nycguy - 2024-12-28

Sorry I probably didnt  answer clearly.       If a video is deleted, etc, the menu does come up but theres no option to delete it.   So the video stays on the playlist almost like its saying theres nothing to delete its already removed.   But it remains listed on the playlist but named deleted.       All other active videos can be removed normally.      Thanks again


RE: YouTube - kurai - 2024-12-28

(2024-12-26, 08:35)MoojMidge Wrote: The writing has been on the wall for a while. Not sure exactly why they haven't, but if they wanted to YouTube could easily prevent playback from any 3rd party client. Regardless the methods that can be used for playback are slowly but surely being made inaccessible. It remains to be seen whether this addon will remain a viable means of watching YouTube videos. I suspect that without a javascript interpreter (and possibly even with it) the inevitable answer is no.
For what it's worth the 403 problem seems only to happen to me from CDN hosts delivering VP9/9.2 video streams - audio still plays however.
A (hopefully) temporary workaround was to disable VP9 video in Stream Features, thereby forcing H.264 selection, which seems unaffected.
From my small sample size when testing the video streams seem to come from a different address range of hosts.

Unfortunately the highest resolution they offer now with H.264 is 1080p, so no more 4K for me for a while Sad

Still - at least it's *something* to tide me over until bigger brains can hopefully work around this latest roadblock.  Love


RE: YouTube - xtruder - 2024-12-28

(2024-12-28, 04:01)kurai Wrote: For what it's worth the 403 problem seems only to happen to me from CDN hosts delivering VP9/9.2 video streams - audio still plays however.
A (hopefully) temporary workaround was to disable VP9 video in Stream Features, thereby forcing H.264 selection, which seems unaffected.
403 errors happened to me 3 days ago (on all my computers) and i thought it was the API issue.
Getting this error now on all youtube videos regardless of kodi version:

Code:

AddOnLog: inputstream.adaptive: [AS-0] Download failed, HTTP error 403:

I tried playing with Inputstream adaptive settings, to play video's on lower resolutions, but nothing helps.


RE: YouTube - Kisuke-CZE - 2024-12-28

I am facing same 403 issues when playing most of videos on youtube. Not all, but most of them.

When I play problematic video, I get this error message in log:
 AddOnLog: inputstream.adaptive: [AS-17] Download failed, HTTP error 403:

Followed by URL which kodi cannot play. But when I open that URL on my computer in firefox, it works OK.
Maybe changing user agent string could help? But I do not know how to do that. Any ideas?