PDA

View Full Version : YouTube Plugin



clucas
07-07-2020, 02:59 AM
When trying to use the YouTube plugin any search yields an error: There was an error in creating entry list! Doing some internet research prompted me to create an API key, client id and client secret but I don't know where to input these. It suggests it goes in a YouTubeUi.pyo file but again, I can't find out where it would belong in the file. I'm using TNAP.

Does anyone have some suggestions or instructions on what I have to do?

Thanks.

Megatron817
07-07-2020, 05:22 AM
HI, what you will have to do is uninstall the youtube plugin and download and install the IPK youtube plugin.[Only registered and activated users can see links] That will give you the youtubeUI.py for editing in usr/lib/enigma2/python/plugins/extensions/youtube.
Edit with notepad++ look for the API_key somewhere around line 130 I think.

clucas
07-08-2020, 02:23 AM
Hi Megatron817,

Thanks for the information. I found the latest file on the internet using your link but don't know how to download it to the box. Can I put it on my computer and FTP it into the box? If so, where does it go?

Also, I'm hoping I can use the Text Edit program on my Mac otherwise I will have to dig out my failing Windows laptop and edit it there.

I'm using SatdreamGr 6 the TNAP that came with the box and I think it is v3.0.

Carl

Megatron817
07-08-2020, 04:51 AM
Yes FTP the IPK to the tmp folder then telnet command is
opkg install /tmp/*.ipk
After IPK is installed you can FTP in and get the YoutubeUI file from usr/lib/enigma2/python/plugins/extensions/youtube
Text editor should work for editing then replace file with FTP and full reboot when done.

clucas
07-09-2020, 03:37 AM
Now I'm getting frustrated! I deleted the old YouTube plugin and lost the OpenWebif in the process in addition to Software Manager and Weather MSN. The warning is SystemPlugins/SoftwareManager; Extensions/OpenWebif and Extensions/weatherMSN (No module found web or web.client for the weather). When I try to download the Open Webif plugin, I get an error:
*opkg_prepare_url_for_install:Couldn't find anything to satisfy 'enigma2_plugin_extensions_openwebif'.
I thought I could just restore a backup but I'm having problems with that too. I'm able to access the files using the FTP and see that the YouTube is actually gone. My next problem will be how to use the telnet command!
I wish there was some kind of manual with basic instructions for this receiver.

Megatron817
07-09-2020, 05:56 AM
That's not fun when things go bad but you could just start over with fresh clean install or is your backup a full image backup or just a settings backup?
You say you deleted the old youtube plugin. Was that done with the remove plugins "red button" in the plugin browser? Can't just delete it with FTP.

clucas
07-09-2020, 01:09 PM
I deleted the plugin using the red button in the browser.
The backup folder I have is fullbackup_osmo4k and that has a folder with the date of the backup, 20200703. I tried to reload it using the backup plugin but did not have success.

Megatron817
07-09-2020, 03:00 PM
That sounds ok. With BackupSuite press blue button "Restore backup" open usb folder, open fullbackup_osmio4k folder, open 20200703 folder, highlight or go to osmio4k folder then press green button to run flash,press ok then Standard root and kernel , press ok. That should work, I never have had a backupSuite issue.

clucas
07-09-2020, 10:28 PM
Well, that worked like a charm. Many thanks, Megatron817! It's easy when you know what to do. Originally I got as far as the 20200703 folder and when I added your step to go to the osmio4k folder it all fell into place. Now I'm back to working on my YouTube plugin.

Carl

Megatron817
07-10-2020, 05:31 PM
My YouTube plugin was an older version. I replaced it with a new version and found out now the YouTubeUi.py does not have to be edited, now there is after the install a YouTube key file in etc/enigma2 where your personal api can be added in. But for now the latest ipk YouTube plugin is working without adding api key credentials.

clucas
07-10-2020, 07:43 PM
Here's what I did. I put the file in the tmp folder and couldn't get the telnet command to work. I then went directly to the box and started the Dream-Explorer plugin and navigated to the tmp folder, found the file and hit menu. Option 0 put it in the executable mode and highlighting the file and hitting the OK I had the option (2, I think) which caused the plugin to install. I didn't delete the old YouTube plugin, just did the install right over it.

I wasn't as lucky with getting my YouTube to work even after I rebooted but thanks to your insight, Megatron817, I FTP'd to the YouTube key file in etc/enigma2, added API key, Client ID and Client Secret to the key file and installed it in the box. All is well and it now works fine.