@hispanico:
You can also to edit directly the .pyo compressed python file, i.e. without downloading the .py source file, read this: https://forums.openp...n/#entry1180688
If you read the whole discussion, you will also find a link directly to Taapat github from which you can download the YouTubeUi.py source file directly. Unfortunately, the source file has already been modified by Taapat (info below).
Although the use of modified YouTubeUi.py (if you change the API_KEY) also has its advantages and disadvantages - for example, it is not recommended that if you leave the .py file in the YouTube plugin directory, then each time you restart the Enigma, .py will be automatically translated to .pyo (and overwrite and so the original .pyo). So, although API_KEY will always be functional and rewritten, unfortunately even after a possible update to the YouTube plugin, the updated new version of the .pyo file will always be overwritten by your version of the .py file.
Taapat has already made some changes to the source code - https://github.com/T...rc/YouTubeUi.py on March 27, 2020. It is still in the development stage . So now it depends on which version of Youtube plugin you are using . If your Youtube plugin is old, then my procedure for Shell / "command line" should work simply. But if you are using new source code directly from Taapat from its github profile or you are using one of its new plugin code, then you must create a file /etc/enigma2/YouTube.key and insert the line:
API_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
If you want rather this one "enigma2-plugin-extensions-youtube-src", so it is the installation package... so, you must install it also as package:
opkg update
opkg install enigma2-plugin-extensions-youtube-src
Edited by s3n0, 28 March 2020 - 21:49.