-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inappropriate video won't play #278
Comments
I can confirm I'm getting the same error using Kodi 18.8 youtube plugin v6.8.18 I have a workaround for viewing these videos so hadn't gotten around to do a proper issue with log. |
It seems to be a change on YouTube's end because it's happening to me with videos that used to work prior to the last week or so, and it happens for seemingly all age restricted content. Same account, API key, and add-on version that used to play these videos fine. Happens regardless of how I initiate the video (through the add-on, through Kore, etc). |
I’ve experienced this issue for a long time |
The example id provided in the issue works here when logged in, but not when logged out. Need more videos to check and debug logs. May also be acct related. |
I'm getting the error with these: |
I'm logged in in android app and on kodi addon, and on android all videos play fine, but using this same account on kodi its not so.... |
Hello, can you share workaround for this problem until is resolved in addon itself |
@jonisb Thanks for the videos and the log. Unfortunately the log doesn't show anything obvious, and every single one of the videos provided so far work for my account. |
@Doktor-X I'm the creator of the xbmc2 EventGhost plugin: https://github.com/jonisb/KodiEventGhost Only yt-dlp is needed as the other details can be done differently. |
@anxdpanic Edit: Last time there was a problem that was fixed for me here: #228 (comment) |
Same for me, try this video |
I have found app for android https://github.com/yausername/dvd |
@Doktor-X |
Same here, age restricted videos won't play |
Now yt-dl no longer works also |
Hi, same issue here, age restricted videos won't play. |
Ops... I just opened a similar issue here: Apparently all this video link posted upper here i can open whitout any issue from my pc (also the video this massage). At this point i can use this insted to open a new issue... if yes sorry me :) |
Yt-dlp fix problem |
Same issue here, some video's do not play and the add-on reports the message "This video may be inappropriate for some users". The video's play fine on my PC using the same account. In the add-on configuration I have safe search set to "None" and age gate is not ticked. This age gate setting appears not to make a difference, but should it be ticked or not to see the age restricted videos? |
I can report the same issue :( |
Is there a possibility to use the yt-dlp solution as I did some testing and it works with most videos that don't work in the Youtube plugin. |
Using newpipe extractor might be a good solution ? |
Im working on resolving this as I can, hopefully sooner rather than later at this point. |
I know that devs dont like this question, but did you made any progress |
Sadly not the progress I wanted, I did a lot when I had time and hit another wall. So I have no good news atm, and time became an issue again for a bit. It's still on the radar, seems to only affect certain account types too which doesn't help much on my end, since stuff already works. :/ |
"seems to only affect certain account types" Can we then as a quick workaround somehow change our 'account type'? |
Having this issue with this russian youtube account |
@ErikBrown2 i don't thinks youtube have different type of account. at first I thought that some API key created more recently they could solve the problem. I have had friends who have renewed their API keys by even making new accounts and once configured on kodi the same videos are not visible in any way. Simply it's a stupid feature adding by youtube developers....... |
We need to find simple way of adding extracted video and audio by yt-dlp to kodi, so that we can play this sorts of videos |
Can confirm: 6.8.18 is not playing age-gates videos (cannabis-related hehe) even when logged-in (personal API keys)..... while YT-DLP does without logging in. Right now I'm trying to analyze it with MiTM Charles Proxy. You can join our effort, guys. Have your Charles Proxy set up (add it's Root CA to Trusted). Run YT-DLP with "--no-check-certificate" and your age-gated yt video url. You gonna see the output (tons of JS code) of the intercepted client-server exchange with Youtube/Google CDN. I'm sure it can be cut and pasted to the plugin but will take some time. Cheers.... |
Don't know if this works, but kodi actually have a "No-check-certificate" switch, |
Is there any addon, plugin or any other metode, that can combine seperate audio and video streams into one, so that i can play files extracted by yt-dlp |
Doesn't Kodi automatically merge streams when it comes to local files? By the way, youtube-dl has a --cookies flag that allows to download inappropriate videos. Maybe the same can be implemented here as well |
It's very very complicated, but you can try doing what the add-on does when playing Mpeg DASH (MPD) content.
If you can get yt-dlp to make that MPD file for your then you only need part 2, asking Kodi to play it with inputstream.adaptive. |
That's not a suitable solution to our problem sorry. I have been looking into it more though. I haven't found any good news, but it does seem that the accounts that worked for me has used a credit card/payment method. You guys would have to verify if that matches with your experience to know for sure. I will keep looking for a solution as I do other minor fixups though. |
@anxdpanic mmmm anyway it could have been a temporary patch or a temporary workaroud. Because the links generated by keepvid works and if same links it's generated by addons using the youtube API no ? Anyway another weird.... on my PC i have installed Internet Download Manager...... IDM when open a youtube video made the possibility to download a video from youtube site...... open same link posted above for 720P it's using this link: apparently the direct link to mp4 it's very similar... there is no such option like "ratebypass=yes" but both link if i pass/share it directly to urlresolver made this same video watchable from kodi. different methods are used to get direct links to the mp4 file? |
@DjDiabolik the problem is piggybacking on a third-party service. You can modify your own add-on code to use them, of course. I myself modified the context-menu items on mine to have the Comments button at the top. What can be done is, like you said, finding out what trick those sites are using to get access to the media, and doing the same in Python code. PS I think Invidious is another possible source too, try playing that restricted video using one of their nodes (https://redirect.invidious.io/) |
I think that yt-dlp is best and also its local solution to found audio and video links and then combine them to one file |
@Doktor-X my suggested workaround not need to use local storage.............. |
I added billing to Google Cloud, linked it to the project, but to no avail. Inappropriate video still not playing |
@LmarLoe where did you read that this would allow you to watch age-restricted videos? AFAIK YT only requires one of two things: user confirmation (with a popup dialog on the webpage), or logged-in cookies that identify your account. |
@RNavega here above, anxdpanic has no such problem on paid accounts On YouTube in the browser, I had to send a photo of id to confirm my age, i.e. simply confirming or logging into the account was not enough. For some reason this does not apply to the API |
Not to pile on, but I've been experiencing this same error every now and then for a long time. Just came upon another video that doesn't play due to "inappropriate for some users" error. Are logs still needed? Thanks to all the devs involved here |
I think I'm running into the same bug trying to play this news documentary, which (on the official YT app / website) pops up several gratuitous warnings: https://www.youtube.com/watch?v=v4OK4zQsxc0 When I use Cast Kodi to send the URL to Kodi, Kodi displays the an alert saying "The following content may contain suicide or self-harm topics" and doesn't give me the option to play the video. I tried with Age Gate disabled + enabled, same result. The log says:
|
And yet yt-dlp can detect all links up to 4k but audio and video are separated |
@nickrbogdanov try to look by direct link: |
Same deal here, trying to play a corny erotica movie after reading a Reddit post of a user who couldn't access age restricted content ( https://www.reddit.com/r/Addons4Kodi/comments/11jlnzi/help_youtube_addon_refuses_to_play_age_restricted/ ). https://www.youtube.com/watch?v=BTVByFr3GVU&t=1559s&ab_channel=Cin%C3%A9maZone Have my own API keys from a verified account, plays in browser, age gate and safe search disabled. I searched for " A Nous les lycéennes - 1975 [Film Complet] " and the first 2 give unknown error and the third result gives me the age restricted notification in the right upper corner. Debug log, scroll towards the end for relevant entries: |
When trying to play the following video I get an error "this video may be inappropriate."
https://youtu.be/uIGRizua3MA
The text was updated successfully, but these errors were encountered: