• 1
  • 182
  • 183
  • 184(current)
  • 185
  • 186
  • 189
YouTube Plug-in Thread
Since this Addon also seems to be the only one covering movies bought on the play store, is it possible to browse the store items, play trailers and buy/rent movies there?
Problem with certain youtube video on raspian on pi3b+

Kodi screen shows spinning progress forever.  Reboot needed to return to sanity.

https://pastebin.com/ytWtNbRH

Video plays on other devices.
Hmm... It looks like I'm the first person ever to face the following. I simply cannot play a video starting from today. I'm using 6.8.2. Updating to Leia makes no change. The OS is (I know some will cringe here) Windows 7 x64. I'm using my own API key since 2016. Result is the same regardless if I'm logged in or not. I've yet to find what I'm doing wrong all of a sudden, after many years of flawless performance and smoothness of use. Still the same "timeout" errors in kodi.log: https://paste.kodi.tv/huburesuki.kodi 
I'm sorry if I look stupid but this looks totally foreign. Did anyone ever experience this before? Did I forget to check something? Why am I getting "timeout" errors all of a sudden?
Okay, it looks like it works now. I have no idea of why I'm always caught in temporary glitches or bugs each time I want to use a service online. Hell I only use KODI once a day (night, before going to sleep) and and the Youtube API started to crap out right at that moment just today. That's one of my biggest weaknesses: I'm not patient. Really sorry for the bother and the double-post (not enough posts to be able to edit).
Whenever I start Kodi or the Youtube plugin, I get this pop-up error on my screen. It doesn't show up in kodi.log and it doesn't seem to have any effect on my ability to play any videos. In fact, it doesn't seem to be an error generated by Youtube at all. Its error number is 10013, which appears to be a python error related to accessing ports below 1024 without admin access, but even running Kodi as an administrator doesn't stop the error. I cleared out the settings folder in addon_data and when I launched it again, it did NOT show up, but after going through settings and making updates, it showed up again as soon as I saved them.

Image

I do NOT get this error on my RPi3—it only shows up on my Windows client. Any ideas?

Log file, just in case that's useful: https://paste.kodi.tv/japuyoduha.kodi
(2020-07-24, 16:10)AndrewJC Wrote: Whenever I start Kodi or the Youtube plugin, I get this pop-up error on my screen. It doesn't show up in kodi.log and it doesn't seem to have any effect on my ability to play any videos. In fact, it doesn't seem to be an error generated by Youtube at all. Its error number is 10013, which appears to be a python error related to accessing ports below 1024 without admin access, but even running Kodi as an administrator doesn't stop the error. I cleared out the settings folder in addon_data and when I launched it again, it did NOT show up, but after going through settings and making updates, it showed up again as soon as I saved them.

Image

I do NOT get this error on my RPi3—it only shows up on my Windows client. Any ideas?

Log file, just in case that's useful: https://paste.kodi.tv/japuyoduha.kodi
Debug Log would probably show the issue.
(2020-07-24, 16:25)FXB78 Wrote: Debug Log would probably show the issue.

Oh Jesus, I'm an idiot. Yes, of course.

2020-07-24 10:38:31.480 T:17116   DEBUG: CAddonSettings[script.common.plugin.cache]: loading setting definitions
2020-07-24 10:38:31.480 T:17116   DEBUG: CAddonSettings[script.common.plugin.cache]: trying to load setting definitions from old format...
2020-07-24 10:38:31.785 T:16692   DEBUG: CAddonSettings[plugin.video.youtube]: loading setting definitions
2020-07-24 10:38:31.785 T:16692   DEBUG: CAddonSettings[plugin.video.youtube]: trying to load setting definitions from old format...
2020-07-24 10:38:31.787 T:16692   DEBUG: CAddonSettings[plugin.video.youtube]: loading setting values
2020-07-24 10:38:31.788 T:16692   DEBUG: [plugin.video.youtube] send_notification: |check_settings| -> |{"httpd_address": "0.0.0.0", "use_httpd": true, "whitelist": "", "httpd_port": 50152}|
2020-07-24 10:38:31.788 T:16692   DEBUG: [plugin.video.youtube] JSONStore Load |C:\Users\Andrew\AppData\Roaming\Kodi\userdata\addon_data\plugin.video.youtube\api_keys.json|
2020-07-24 10:38:31.789 T:16692   DEBUG: [plugin.video.youtube] JSONStore Load |C:\Users\Andrew\AppData\Roaming\Kodi\userdata\addon_data\plugin.video.youtube\access_manager.json|
2020-07-24 10:38:31.789 T:16692   DEBUG: [plugin.video.youtube] User: |0| Using API key set: |own|
2020-07-24 10:38:31.806 T:16692   DEBUG: [plugin.video.youtube] YouTube service initialization...
2020-07-24 10:38:31.806 T:16692   DEBUG: CAddonSettings[plugin.video.youtube]: loading setting definitions
2020-07-24 10:38:31.806 T:16692   DEBUG: CAddonSettings[plugin.video.youtube]: trying to load setting definitions from old format...
2020-07-24 10:38:31.808 T:16692   DEBUG: CAddonSettings[plugin.video.youtube]: loading setting values
2020-07-24 10:38:31.809 T:16692   DEBUG: [plugin.video.youtube] HTTPServer: Starting |0.0.0.0:50152|
2020-07-24 10:38:31.822 T:16692   DEBUG: [plugin.video.youtube] HTTPServer: Failed to start |0.0.0.0:50152| |[Errno 10013] An attempt was made to access a socket in a way forbidden by its access permissions|
2020-07-24 10:38:31.824 T:16692   DEBUG: CAddonSettings[plugin.video.youtube]: loading setting definitions
2020-07-24 10:38:31.824 T:16692   DEBUG: CAddonSettings[plugin.video.youtube]: trying to load setting definitions from old format...
2020-07-24 10:38:31.825 T:16692   DEBUG: CAddonSettings[plugin.video.youtube]: loading setting values

Now that's interesting: The HTTP server in the add-on is trying to use port 50152, which is above 1024. Kodi is whitelisted in my firewall, which means the system shouldn't be restricting it.

Do I even need the HTTP server?
(2020-07-24, 16:44)AndrewJC Wrote: 2020-07-24 10:38:31.809 T:16692   DEBUG: [plugin.video.youtube] HTTPServer: Starting |0.0.0.0:50152|
2020-07-24 10:38:31.822 T:16692   DEBUG: [plugin.video.youtube] HTTPServer: Failed to start |0.0.0.0:50152| |[Errno 10013] An attempt was made to access a socket in a way forbidden by its access permissions|

Now that's interesting: The HTTP server in the add-on is trying to use port 50152, which is above 1024. Kodi is whitelisted in my firewall, which means the system shouldn't be restricting it.

Do I even need the HTTP server?
Never mind, I found a similar post earlier on in this thread. It's something to do specifically with port 50152—updating it to 52520 got rid of the error.
(2020-07-10, 07:11)Abbaskip Wrote: I've noticed that Youtube Music Playlists appear in this addon under Playlists - but they don't appear on the Youtube App on my phone. Is this a deliberate attempt at this addon to read all playlists not just video?

This is a good thing in my eyes, however I've also found that any songs uploaded to Youtube Music (or migrated from Google Play Music) won't play. I believe the Youtube API must not have access to them (it says they're private content or similar), and they need to be accessed by a Youtube Music API direct perhaps?

I believe I've run into a similar issue.

I've been trying to play videos uploaded to what appears to be a Youtube "Official Artist Channel". Kodi won't play them.

for example: https://www.youtube.com/watch?v=uoAgzvzDORM

Videos from this channel used to play fine so i'm assuming this is a recent development ( or maybe the channel recently changed to an "Official Artist Channel" )
(2020-07-28, 11:02)BriceysCousin Wrote:
(2020-07-10, 07:11)Abbaskip Wrote: I've noticed that Youtube Music Playlists appear in this addon under Playlists - but they don't appear on the Youtube App on my phone. Is this a deliberate attempt at this addon to read all playlists not just video?

This is a good thing in my eyes, however I've also found that any songs uploaded to Youtube Music (or migrated from Google Play Music) won't play. I believe the Youtube API must not have access to them (it says they're private content or similar), and they need to be accessed by a Youtube Music API direct perhaps?

I believe I've run into a similar issue.

I've been trying to play videos uploaded to what appears to be a Youtube "Official Artist Channel". Kodi won't play them.

for example: https://www.youtube.com/watch?v=uoAgzvzDORM

Videos from this channel used to play fine so i'm assuming this is a recent development ( or maybe the channel recently changed to an "Official Artist Channel" )
(2020-07-28, 12:20)Naga Wrote:
(2020-07-28, 11:02)BriceysCousin Wrote:
(2020-07-10, 07:11)Abbaskip Wrote: I've noticed that Youtube Music Playlists appear in this addon under Playlists - but they don't appear on the Youtube App on my phone. Is this a deliberate attempt at this addon to read all playlists not just video?

This is a good thing in my eyes, however I've also found that any songs uploaded to Youtube Music (or migrated from Google Play Music) won't play. I believe the Youtube API must not have access to them (it says they're private content or similar), and they need to be accessed by a Youtube Music API direct perhaps?

I believe I've run into a similar issue.

I've been trying to play videos uploaded to what appears to be a Youtube "Official Artist Channel". Kodi won't play them.

for example: https://www.youtube.com/watch?v=uoAgzvzDORM

Videos from this channel used to play fine so i'm assuming this is a recent development ( or maybe the channel recently changed to an "Official Artist Channel" )

https://m.youtube.com/watch?v=1zRe8UPF1tM

Same also for this
2020-07-28 - re: music videos not playing

I don't see anything in the text indicating why (ie: projects created *after*) but the date aligns with this email I got a few days ago...

::copy/paste::
 Hi YouTube Developer,=0 We're writing to let you know about upcoming changes to the YouTube API Services that will affect API projects created after July 28, 2020.=0 All videos uploaded via the videos.insert endpoint from unverified API Projects created after this date will be restricted to private viewing mode. To lift this restriction, each project must undergo an audit to verify compliance with the Terms of Service.=0 Creators who use an affected project to upload video will receive an email explaining that their video is locked as private, and that they can avoid the restriction by using an official or audited service.=0 Existing API projects will not be affected by this change, but we strongly recommend that all developers complete a compliance audit for their projects to ensure continued access to the YouTube API Services.=0 Thanks,
YouTube API Services Team
See below to fix the issue with some videos not playing that started yesterday/today.

I've updated post #2 and the repositories to 6.8.3
Code:
[fix] playback of some videos
[fix] notifications for some languages |contrib: Mutronics|
[fix] fix rating videos causing and error even though it succeeded
[upd] cache javascript player url for 4 hours, reduces http requests per play by 1
[upd] use new settings format on Kodi 19
[lang] el_gr strings |contrib: twilight0|
[lang] hu_hu strings |contrib: thelacesz|
This version should also be available in the official repository in 8~12hrs.
Debug Log (wiki) | Troubleshooting (wiki)Add-ons
Thumbs Up 
(2020-07-28, 15:11)anxdpanic Wrote: See below to fix the issue with some videos not playing that started yesterday/today.

I've updated post #2 and the repositories to 6.8.3
Code:
[fix] playback of some videos
[fix] notifications for some languages |contrib: Mutronics|
[fix] fix rating videos causing and error even though it succeeded
[upd] cache javascript player url for 4 hours, reduces http requests per play by 1
[upd] use new settings format on Kodi 19
[lang] el_gr strings |contrib: twilight0|
[lang] hu_hu strings |contrib: thelacesz|
This version should also be available in the official repository in 8~12hrs.
Great!. Works like a charm. Thank you!
(2020-07-28, 15:19)Naga Wrote:
(2020-07-28, 15:11)anxdpanic Wrote: See below to fix the issue with some videos not playing that started yesterday/today.

I've updated post #2 and the repositories to 6.8.3
Code:
[fix] playback of some videos
[fix] notifications for some languages |contrib: Mutronics|
[fix] fix rating videos causing and error even though it succeeded
[upd] cache javascript player url for 4 hours, reduces http requests per play by 1
[upd] use new settings format on Kodi 19
[lang] el_gr strings |contrib: twilight0|
[lang] hu_hu strings |contrib: thelacesz|
This version should also be available in the official repository in 8~12hrs.
Great!. Works like a charm. Thank you!
I second that. This version fixed the issues i was having viewing videos uploaded to "Official Artist Channel" pages
  • 1
  • 182
  • 183
  • 184(current)
  • 185
  • 186
  • 189

Logout Mark Read Team Forum Stats Members Help
YouTube Plug-in Thread18