Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
  • 1
  • 164
  • 165
  • 166(current)
  • 167
  • 168
  • 171
Release YouTube
(2024-09-15, 23:59)MoojMidge Wrote:
(2024-09-15, 04:11)scott967 Wrote: On first run I go into setup wizard, and the notification window pops up on "Configure Language and Region" when opening the select dialog for languages.  Result is I'm stuck in the setup wizard as it keeps re-running.  This is before attempting to enter any credentials.  Here is the log

The Setup Wizard should not keep prompting to be run.

I will run your suggested tests later, but to clarify I didn't get repeated prompts to run setup wizard. In a single run it would step through all the sub-steps (like set performance, set subtitles, etc over and over) and never did exit the setup wizard until I killed Kodi.

scott s.
.
Reply
(2024-09-16, 00:00)MoojMidge Wrote: For anyone getting a notification indicating "The caller does not have permission" that means you have not created your own API key.

The inbuilt credentials have not been fully revoked and still work for some API requests, so this may be temporary, but when too many people (ab)use a shared resource then this is what can happen.

Video playback is unaffected, but don't risk making this worse for everyone, please get your own API key if you are logging in, searching or browsing through the plugin, rather than just playing videos from known links i.e. playing trailers.

Instructions for how to get your own API key are available here: https://github.com/anxdpanic/plugin.vide...1509319017
Thanks, I had forgotten that after the reset.
I have one more question: is it possible to change the color of the channel name? And can you hide the comment count and like count?
Reply
(2024-09-15, 23:59)MoojMidge Wrote: [quote='HeresJohnny' pid='3209627' dateline='1726290899']
Hello, when clicking on a video it doesn't play. Instead the menu pops up and there is no straightforward first item "play" but there is a ton of other items like "play with" "play with subtitles" "play (ask for quality)" "play auidio only". How can I fix that?


You are opening the context menu for some reason. Would need to look at your remote or keyboard configuration to see why that is happening, it is not something that is controlled by the plugin. Pressing "P" is another way to play an item, while "Enter" will execute the configured Default select action in the Kodi settings.

I wonder what setting in Kodi would change this. It doesn't matter what I do to play an item, left click, right click, enter key, it always shows the context menu. If I press "P" on the keyboard, the video doesn't play at all. I just get a busy indicator and then a rejection message. This install happens to be on a PC with keyboard and a mouse. Doesn't happen in any other addons or when playing videos on my system. BTW - the cover picture for the item I was using, seems appropriate. Big Grin


Image
Reply
(2024-09-16, 00:00)MoojMidge Wrote: For anyone getting a notification indicating "The caller does not have permission" that means you have not created your own API key.

The inbuilt credentials have not been fully revoked and still work for some API requests, so this may be temporary, but when too many people (ab)use a shared resource then this is what can happen.

Video playback is unaffected, but don't risk making this worse for everyone, please get your own API key if you are logging in, searching or browsing through the plugin, rather than just playing videos from known links i.e. playing trailers.

Instructions for how to get your own API key are available here: https://github.com/anxdpanic/plugin.vide...1509319017

I used to have a api key for a while but then the plugin broke again and at some point i reinstalled libreelec.  And probably never entered those again, strangely enough it used to work fine until 2 days ago.

Are api keys from 2021 still valid.  I seem to have stored them in a text file on my computer.

<Edit> adding those old api keys seems to work sofar.
Reply
(2024-09-16, 00:50)MoojMidge Wrote: You can try the following, [...]
Code:
ActivateWindow(videos,"plugin://plugin.video.youtube/kodion/search/input/?refresh=true",return)
When I start it for the first time it works, the virtual keyboard appears. With each subsequent call, the search results from the first search are displayed.
Quote:I'll add a new endpoint that will bypass the Kodi caching in the next version of the plugin:
Code:
ActivateWindow(videos,"plugin://plugin.video.youtube/kodion/search/input_prompt",return)
Can you confirm that it works using this test version?
Yes, that works. Thanks!

Does the YouTube plugin set a property so that a skin can determine whether the YT plugin is running? Something like
Code:
xbmcgui.Window(10000).getProperty("YouTubePluginRunning")
Reply
(2024-09-16, 00:00)MoojMidge Wrote: For anyone getting a notification indicating "The caller does not have permission" that means you have not created your own API key.

The inbuilt credentials have not been fully revoked and still work for some API requests, so this may be temporary, but when too many people (ab)use a shared resource then this is what can happen.

Video playback is unaffected, but don't risk making this worse for everyone, please get your own API key if you are logging in, searching or browsing through the plugin, rather than just playing videos from known links i.e. playing trailers.

Instructions for how to get your own API key are available here: https://github.com/anxdpanic/plugin.vide...1509319017

Cheers, forgot I'd not put my own api in! 😆
Reply
(2024-09-16, 02:08)Panfred Wrote: is it possible to change the color of the channel name? And can you hide the comment count and like count?

Various settings to change this in Settings > Advanced > Views. Nothing to change the colour of the channel name.
 
@HeresJohnny, @flhthemi - no idea what the issue may be. Try getting a debug log and I can have a look to see if it is anything to do with this plugin.
 
(2024-09-16, 20:02)malvinas2 Wrote: Does the YouTube plugin set a property so that a skin can determine whether the YT plugin is running?

No. What would you need this for and when would you want the property set and reset? When navigating in the plugin? When playing a video?
Reply
(2024-09-16, 02:05)scott967 Wrote:
(2024-09-15, 23:59)MoojMidge Wrote:  
(2024-09-15, 04:11)scott967 Wrote: On first run I go into setup wizard, and the notification window pops up on "Configure Language and Region" when opening the select dialog for languages.  Result is I'm stuck in the setup wizard as it keeps re-running.  This is before attempting to enter any credentials.  Here is the log

The Setup Wizard should not keep prompting to be run.

I will run your suggested tests later, but to clarify I didn't get repeated prompts to run setup wizard. In a single run it would step through all the sub-steps (like set performance, set subtitles, etc over and over) and never did exit the setup wizard until I killed Kodi.

scott s.
.

Ran a test with no advancedsettings.xml and same result.  Specific on setup wiz 3/9 configure language and region when the language or region select dialogs are open the notification pops up. 

I see that after setup wiz 9/9 when  Configure refresh settings yesno "yes" is selected, then regardless if you select Yes or No on the follow on "are you sure" it takes you back to the initial setup wiz.  Maybe that's by design?  Don't recall seeing that before, but maybe I never clicked "yes" of configure refresh settings before.

Looking at setup.xml, it doesn't appear that those notifications cause any problem.

scott s.
.
Reply
(2024-09-15, 23:59)MoojMidge Wrote: You are opening the context menu for some reason. Would need to look at your remote or keyboard configuration to see why that is happening, it is not something that is controlled by the plugin. Pressing "P" is another way to play an item, while "Enter" will execute the configured Default select action in the Kodi settings.
Thanks for your comment. Opening the context menu is indeed what I configured and I guess what I really wanted to remark is that PLAY should be the first item n the context menu but it's missing.
Reply
Hello all

I have come from Raspberry Pi forums as Struggling to get my Raspberry Pi 4 set up, Hopping from one OS to another.
All I really want is to use the Pi to watch YouTube at 1080p and play AVI movies on my 42" TV. 

when I tried setting up an API key following YouTube’s steps (by typing in the three keys and following the Google/device authentication), I got a "congratulations" message on my phone, but then an error appeared: "Invalid client, error description: The OAuth client was not found (Code 401)."
I encountered another error: "Caller Does Not Have Permission." I assumed this was an API issue, so I deleted the key, thinking I must have done something wrong.

I triple checked the three key right letters Caps & lower plus numbers. 

Does adding an API key pull in my YouTube subscriptions into the app automatically?
Or there not need to make a API for subscriptions to show.

Don't know if I'm wasting time making an API if doesn't open my Youtube account with subscriptions in the App.

Thanks 
Reply
(2024-09-16, 22:47)MoojMidge Wrote:
(2024-09-16, 20:02)malvinas2 Wrote: Does the YouTube plugin set a property so that a skin can determine whether the YT plugin is running?
No. What would you need this for and when would you want the property set and reset? When navigating in the plugin? When playing a video?
First World Problem: Using the solution with the new endpoint the skin displays a default background as a fallback solution when the virtual keyboard opens. I would like it to display a YouTube wallpaper.
Reply
Hello, so just so I understand. The only way this works at all now is by making API keys correct? Is the 2 Login process supposed to work or not? Or are you still supposed to enter API keys even just to use the Youtube login option? Seems now, even trailers are not working anymore. Error "Please login to confirm your not a bot" message even with trailers in info screens. Was using Unofficial for a while and worked great even if not logged in or entered API keys., but now Unofficial and Official seems to not work anymore. Just curious if something changed recently. Thanks!
Reply
(2024-09-17, 03:55)scott967 Wrote: Ran a test with no advancedsettings.xml and same result.  Specific on setup wiz 3/9 configure language and region when the language or region select dialogs are open the notification pops up. 

I see that after setup wiz 9/9 when  Configure refresh settings yesno "yes" is selected, then regardless if you select Yes or No on the follow on "are you sure" it takes you back to the initial setup wiz.

To clarify the test with no advancedsettings.xml was to allow a log file to be produced that logged the settings that were being changed. Was hoping to see why the settings values were not being updated.

In any case I think I can see what the problem may be - the addon service, plugin and script invocations were geting out of sync with whatever Kodi was writing to the filesystem when a settings value was being updated. Should be fixed in https://github.com/anxdpanic/plugin.vide...0%2Bbeta.3

 
(2024-09-17, 10:40)HeresJohnny Wrote: PLAY should be the first item n the context menu but it's missing.

Maybe. While some operating systems have the default selection action in the context menu (usually first in the menu and bolded or otherwise visually distinct), many don't and it also not consistent across different applications. Kodi itself doesn't do this as an example. The context menu for this plugin is already overcrowded with too many options, so I am not likely to add the default selection action to the context menu as it it a bit redundant and takes up space from the other options. If you want to play something from the context menu, you can use "Play (Ask for quality)" and just select the default/first item in the select dialog.

 
(2024-09-17, 12:21)know nothing Wrote: when I tried setting up an API key following YouTube’s steps (by typing in the three keys and following the Google/device authentication), I got a "congratulations" message on my phone, but then an error appeared: "Invalid client, error description: The OAuth client was not found (Code 401)."

The error message means that the OAuth details have not been created or entered correctly. Try following the steps detailed here again. https://github.com/anxdpanic/plugin.vide...issues/439
 
(2024-09-17, 12:21)know nothing Wrote: Does adding an API key pull in my YouTube subscriptions into the app automatically?

An API key is used to allow browsing various parts of YouTube. The OAuth credentials are used to login and access your own account information such as subscriptions.

If you don't want to login, then only an API key is required. If you want to access your account then OAuth credentials are required.

Previously you didn't need your own API key for browsing or logging in, but there are consequences when too many people take advantage of a shared resource like this. Now, while some things may still work without it, it seems like you will need your own API key for logging in and browsing.
 
(2024-09-18, 22:10)jdig4240 Wrote: The only way this works at all now is by making API keys correct? Is the 2 Login process supposed to work or not? Or are you still supposed to enter API keys even just to use the Youtube login option?

See explanation above.
 
(2024-09-18, 22:10)jdig4240 Wrote: Seems now, even trailers are not working anymore. Error "Please login to confirm your not a bot" message even with trailers in info screens.

This is not specifically related to the other issue. Playing trailiers should still work. Are you sure you are using the latest version of this plugin? Will need a debug log to investigate further.

 
(2024-09-17, 13:56)malvinas2 Wrote: Using the solution with the new endpoint the skin displays a default background as a fallback solution when the virtual keyboard opens. I would like it to display a YouTube wallpaper.

This is not straightforward to do from the plugin, but you should be able to do this from the xml for the keyboard dialog with a check for Container.PluginName or Container.FolderPath
Reply
(2024-09-19, 00:37)MoojMidge Wrote:
(2024-09-17, 03:55)scott967 Wrote: Ran a test with no advancedsettings.xml and same result.  Specific on setup wiz 3/9 configure language and region when the language or region select dialogs are open the notification pops up. 

I see that after setup wiz 9/9 when  Configure refresh settings yesno "yes" is selected, then regardless if you select Yes or No on the follow on "are you sure" it takes you back to the initial setup wiz.

To clarify the test with no advancedsettings.xml was to allow a log file to be produced that logged the settings that were being changed. Was hoping to see why the settings values were not being updated.

In any case I think I can see what the problem may be - the addon service, plugin and script invocations were geting out of sync with whatever Kodi was writing to the filesystem when a settings value was being updated. Should be fixed in https://github.com/anxdpanic/plugin.vide...0%2Bbeta.3

 
(2024-09-17, 10:40)HeresJohnny Wrote: PLAY should be the first item n the context menu but it's missing.

Maybe. While some operating systems have the default selection action in the context menu (usually first in the menu and bolded or otherwise visually distinct), many don't and it also not consistent across different applications. Kodi itself doesn't do this as an example. The context menu for this plugin is already overcrowded with too many options, so I am not likely to add the default selection action to the context menu as it it a bit redundant and takes up space from the other options. If you want to play something from the context menu, you can use "Play (Ask for quality)" and just select the default/first item in the select dialog.

 
(2024-09-17, 12:21)know nothing Wrote: when I tried setting up an API key following YouTube’s steps (by typing in the three keys and following the Google/device authentication), I got a "congratulations" message on my phone, but then an error appeared: "Invalid client, error description: The OAuth client was not found (Code 401)."

The error message means that the OAuth details have not been created or entered correctly. Try following the steps detailed here again. https://github.com/anxdpanic/plugin.vide...issues/439
 
(2024-09-17, 12:21)know nothing Wrote: Does adding an API key pull in my YouTube subscriptions into the app automatically?

An API key is used to allow browsing various parts of YouTube. The OAuth credentials are used to login and access your own account information such as subscriptions.

If you don't want to login, then only an API key is required. If you want to access your account then OAuth credentials are required.

Previously you didn't need your own API key for browsing or logging in, but there are consequences when too many people take advantage of a shared resource like this. Now, while some things may still work without it, it seems like you will need your own API key for logging in and browsing.
 
(2024-09-18, 22:10)jdig4240 Wrote: The only way this works at all now is by making API keys correct? Is the 2 Login process supposed to work or not? Or are you still supposed to enter API keys even just to use the Youtube login option?

See explanation above.
 
(2024-09-18, 22:10)jdig4240 Wrote: Seems now, even trailers are not working anymore. Error "Please login to confirm your not a bot" message even with trailers in info screens.

This is not specifically related to the other issue. Playing trailiers should still work. Are you sure you are using the latest version of this plugin? Will need a debug log to investigate further.

 
(2024-09-17, 13:56)malvinas2 Wrote: Using the solution with the new endpoint the skin displays a default background as a fallback solution when the virtual keyboard opens. I would like it to display a YouTube wallpaper.

This is not straightforward to do from the plugin, but you should be able to do this from the xml for the keyboard dialog with a check for Container.PluginName or Container.FolderPath

Ok, looks like it gives the bot error when Nord VPN is on, without VPN it does play but shows "The caller does not have permission", but still plays. My bad, never had the issue before with my VPN, but makes sense.
Reply
Thanks MoojMidge
I have made an API number time following different steps by steps.
One above you posted I see different page after clicking.

I wounder if it because I'm not using a windows computer.
I try again make a note were I get different page.

Thanks for help
Reply
  • 1
  • 164
  • 165
  • 166(current)
  • 167
  • 168
  • 171

Logout Mark Read Team Forum Stats Members Help
YouTube0