YouTube is down
#1
Posted 16 March 2020 - 07:52
Re: YouTube is down #2
Posted 16 March 2020 - 10:21
You must have Google registration! Create your own keys and type them into YouTubeUI.py.
Alcohol for wimps. Strong people enjoy depression.
Re: YouTube is down #3
Re: YouTube is down #4
Re: YouTube is down #5
Posted 16 March 2020 - 19:20
You must have three generated keys.
Attached Files
Alcohol for wimps. Strong people enjoy depression.
Re: YouTube is down #6
Re: YouTube is down #7
Posted 16 March 2020 - 21:02
Alcohol for wimps. Strong people enjoy depression.
Re: YouTube is down #8
Re: YouTube is down #9
Posted 16 March 2020 - 21:36
I have already generated these 3 keys. Problem.nam, because in my YouTube folder there is only YouTubeUI.pyo file and there is no YouTubeUI.py file
Just in case you want to solve the 'issue' by yourself instead of using the (great) service from FRAP.....
The needed files are not available because the sources from the youtube plugin are not installed.
You can install them by using a telnet client (putty) and type
enigma2-plugin-extensions-youtube-src
Just browse to the plugin folder and edit the py file, the pyo will be overwitten by the compiled (and edited) py when you restart enigma2.
Aan de rand van de afgrond is een stap voorwaarts niet altijd vooruitgang....
On the edge of the abyss, a step forward is not always progress....
Hardware: 2x Daily used Vu+ Ultimo 4K - Vu+ Duo 4K SE and a lot more.... - VisioSat BiBigsat - Jultec Unicable Multiswitch 4 positions: 19.2/23.5/28.2 East - Diseqc motorized flatdish antenna
Software : HomeBuild OpenPLi Develop and Scarthgap builds, local cards driven by OsCam
Press the button on the buttom right of this message
Have you tried our wiki yet? Many answers can be found in our OpenPLi wiki
Re: YouTube is down #10
Re: YouTube is down #11
Re: YouTube is down #12
Re: YouTube is down #13
Posted 24 March 2020 - 21:07
You can't edit pyo and pyc files, you need the source, which is in the py file. Source packages can be installed seperately.
Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)
Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.
Many answers to your question can be found in our new and improved wiki.
Re: YouTube is down #14
Posted 24 March 2020 - 22:36
HI, i need hepl. How do i edit YoutubeUi.pyo? What use software for edit? Thanks
Just read a few messages above your reply to read the answer to your question!!
In my opinion, it is quite amazing that people just start asking questions before reading.......
https://forums.openp...dpost&p=1177984
Aan de rand van de afgrond is een stap voorwaarts niet altijd vooruitgang....
On the edge of the abyss, a step forward is not always progress....
Hardware: 2x Daily used Vu+ Ultimo 4K - Vu+ Duo 4K SE and a lot more.... - VisioSat BiBigsat - Jultec Unicable Multiswitch 4 positions: 19.2/23.5/28.2 East - Diseqc motorized flatdish antenna
Software : HomeBuild OpenPLi Develop and Scarthgap builds, local cards driven by OsCam
Press the button on the buttom right of this message
Have you tried our wiki yet? Many answers can be found in our OpenPLi wiki
Re: YouTube is down #15
Posted 25 March 2020 - 01:53
- simple shell script to change the api key directly inside of the file:
#!/bin/sh KEY_OLD='AIzaSyCyIlbb0FIwoieEZ9RTShMVkRMisu-ZX0k' # original YoutubeDL key KEY_NEW='AIza_NewKey_NewKey_NewKey_NewKey_NewKey' # new generated key - use YOUR OWN NEW generated API KEY sed -i -e "s/$KEY_OLD/$KEY_NEW/I" /usr/lib/enigma2/python/Plugins/Extensions/YouTube/YouTubeUi.pyo
- or single line:
sed -i -e 's/AIzaSyCyIlbb0FIwoieEZ9RTShMVkRMisu-ZX0k/AIza_NewKey_NewKey_NewKey_NewKey_NewKey/I' /usr/lib/enigma2/python/Plugins/Extensions/YouTube/YouTubeUi.pyo
Re: YouTube is down #16
Re: YouTube is down #17
Posted 25 March 2020 - 08:14
Maybe it's possible to create more API keys and rotate them randomly?
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916
Re: YouTube is down #18
Posted 25 March 2020 - 14:11
Thus, programming a configuration to insert an API user key in the GUI MENU is a simple matter. The Youtube plugin for most Enigma distributions has a basic configuration. There it would be easy to add one configuration item to change API_KEY that is currently declared as a fixed value. This item will always be stored in the Enigma configuration (file /etc/enigma2/settings), because of course the config python module from Enigma would be used. Easy as a slap. I'm just waiting to see if there is any other solution or when @Taapat adds it. I think most Enigma distributions draws the source code of the Youtube plugin directly from @Taapat - https://github.com/T...-plugin-youtube .
Edited by s3n0, 25 March 2020 - 14:14.
Re: YouTube is down #19
Posted 25 March 2020 - 16:04
Brrr or install the py source file and change it there...
Wierd that the plugin does not have a config for that...!!!
YOUTUBE_API_CLIENT_ID is 72 characters long. Do you think it can be entered normally with the remote in config?
Please read: https://stackoverflo...e-data-api-keys
Maybe it's possible to create more API keys and rotate them randomly?
Re: YouTube is down #20
Posted 25 March 2020 - 16:51
I don't know how many connections one API_KEY is limited, but if it's 1000, for example, it should be enough to generate a different API_KEY for each brand of device.
If this is limited to a smaller number (for example, 10), then this is a bigger problem, as each user will need to use their own Youtube / Google account for the YouTtube plugin. Since Enigma is not well secured, it is not good because it is difficult to protect the Youtube / Google account stored in the Enigma set-top box.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users