Taapat / enigma2-plugin-youtube

YouTube enigma2 plugin to manage your youtube account and wach videos
GNU General Public License v2.0
34 stars 38 forks source link

Age restriction #223

Open pwd491 opened 4 months ago

pwd491 commented 4 months ago

When I try to watch video broadcast I have a error with age restriction. I'm logged by https://google.com/device but still doesn't work. Also I haven't YouTube.key in my ./etc/enigma2/ - could be problem with that and should I create it?

Youtube Shorts with resolutions 720x1080 & 1080x1920 doesn't display but sound exists. I suggested that can be problem with skin, then toggled to default skin but nothing changes.

My device: GI S8120 cpu 7111 Linux version 2.6.32.71_stm24_0217 (@IMEDIA-A4500) (gcc version 4.9.4 (GCC) ) #1 PREEMPT Tue Jun 18 18:18:53 CEST 2019 openpli homebuild 2019 Python 2.7.13 enigma2-plugin-extensions-youtube - py3-git1178-7de75f4-r0.0 ffmpeg version 3.4.6 Copyright (c) 2000-2019 the FFmpeg developers gstreamer 1.17.0.1

Taapat commented 4 months ago

There is no authentication mechanism in the plugin when the link to the video stream is extracted, so you cannot confirm your age. Authentication only works for youtube API to get information. There is a workaround in the plugin to bypass age restrictions, but it doesn't work in all cases. If you post a link to a video that doesn't work, I can check if something can't be done, but I can't promise that it will be possible to bypass the age restriction in your case.

Taapat commented 4 months ago

If the video doesn't display but sound exists, then I assume that the problem is a bad gstreamer support for your receiver. You can try plugin serviceapp with exteplayer, it should work better. I haven't seen knowledgeable support for your receiver in a long time, so I don't think anything will change.

pwd491 commented 4 months ago

There is no authentication mechanism in the plugin when the link to the video stream is extracted, so you cannot confirm your age. Authentication only works for youtube API to get information. There is a workaround in the plugin to bypass age restrictions, but it doesn't work in all cases. If you post a link to a video that doesn't work, I can check if something can't be done, but I can't promise that it will be possible to bypass the age restriction in your case.

In fact, this is not the video that was not available, I just added my own and set an age limit, you can check it yourself. https://youtu.be/1MHTKquKa3c?si=Cr4YsSFQY7yZl7zO

Error when extracting a video link None Video Id 1MHTKquKa3c

Taapat commented 3 months ago

You can try the latest plugin version. There is no upgrade for all age-restricted cases, but some should work better.

Taapat commented 3 weeks ago

Try the latest plugin version. I added authentication when extracting video links and as I can see it will fix the problem with age restriction.