Giter Club home page Giter Club logo

plugin.video.youtube's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

plugin.video.youtube's Issues

A way for the Kodi-YouTube addon to work without requiring users to set up a YouTube API key

What Problem Does This Solve?

A convenient, integrated way for accessing YouTube is a main requirement for a complete and comprehensive media center like Kodi strives to be or at least could be.

Requiring users to set up the addon without plug&play functionality is a major barrier to that. Requiring them to set up developer API keys even more so.

This is a barrier to users who prefer to not log in / have associated API keys on the device Kodi is running on and to users who are not tech-savvy (aside from requiring time and effort which is especially relevant to newcomers to Kodi just wanting to try out the software).


Suggest a Solution (optional)

It seems like YouTube videos can be embedded without a problem. For example see this Vue component. But it seems to be impossible to directly search (and retrieve recommendations etc) from YouTube without an API key.

In this issue I'd like to ask about which ways could conceivably exchange such data with YouTube or YouTube overlay websites without requiring the user to set up a personal YouTube key. Here's what I found so far:

  • the Kodi-reddit addon plays YouTube videos
  • maybe invidious could be used for this
  • maybe an API key could be setup / assigned automatically when setting up the Kodi-YouTube addon with a new key being set up each time one starts the addon (or something similar to it)
  • maybe youtube-dl could be used for this
  • maybe noembed or sth similar could be used for this
  • it should be possible to just search the website with a user-agent like in the browser (also see the other solutions from the link above)

Do you know of more options?

Then this issue is also about how this could be implemented best / the implementation.

I think this is a really important issue for Kodi. (Once it's solved I hope that the Kodi-YouTube addon becomes suggested to the user during installation so the only thing that the user needs to do is check a box to install the addon with Kodi for less experienced users and convenience.)


See anxdpanic/plugin.video.tubed#234

Youtube and xbmc.python version 3.0

Context

Please provide any relevant information about your setup

  • Add-on Version:
  • Kodi Version:
  • Kodi GUI Language:
  • Operating System:
  • Operating System Language:

Expected Behavior

Please describe the behavior you are expecting.


Current Behavior

What is the current behavior?


Steps to Reproduce

Please provide detailed steps for reproducing the issue.


Log

Please include a complete debug log.


Additional Information

Please provide any additional information that may be helpful.


[Issue] Video Quality Fallback

  • Add-on Version: 6.8.6~beta2
  • Kodi Version: 18.8 / LE 9.2.4
  • Kodi GUI Language: English
  • Operating System: LibreELEC
  • Operating System Language: English

When I try to play some videos which doesn't have VP9 Codec unavailable, the video quality fallback plays the lowest quality starting from 360p.

Sample Video: https://youtu.be/_uc2O9EPVHY

screenshot000~2

As you see in the above picture, there is 720p MP4 available, but it plays 360p in MPD. Quality Fallback needs fixing here.

Regards & Thanks,
XxAcielxX

"Saved playlists" no longer works

Context

I am running Kodi on a Raspberry Pi 4 computer. Until recently, clicking on "Saved playlists" brings me to the saved playlists associated with my YouTube account. However, it stopped working a few days ago. See error messages below.

  • Add-on Version: 6.8.8
  • Kodi Version: 18.7
  • Kodi GUI Language: English
  • Operating System: Raspbian GNU/Linux 10 (buster), Kernel 5.4.72-v7l+
  • Operating System Language: English

Expected Behavior

The list of saved playlists loads.


Current Behavior

What is the current behavior?

The playlists fail to load. Instead, an error message pops up in the bottom-right corner.


Steps to Reproduce

Please provide detailed steps for reproducing the issue.

  1. Open the YouTube addon.
  2. Sign in.
  3. Click on "Saved playlists".

Log

Please include a complete debug log.

2020-11-23 10:35:59.752 T:2295324880 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.KeyError'>
Error Contents: 'channelId'
Traceback (most recent call last):
File "/home/pi/.kodi/addons/plugin.video.youtube/resources/lib/default.py", line 15, in
runner.run(provider)
File "/home/pi/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/runner.py", line 60, in run
RUNNER.run(provider, context)
File "/home/pi/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/impl/xbmc/xbmc_runner.py", line 33, in run
results = provider.navigate(context)
File "/home/pi/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/abstract_provider.py", line 105, in navigate
result = method(context, re_match)
File "/home/pi/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/register_provider_path.py", line 19, in wrapper
return func(*args, **kwargs)
File "/home/pi/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/provider.py", line 797, in _on_yt_specials
return yt_specials.process(category, self, context)
File "/home/pi/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/helper/yt_specials.py", line 350, in process
return _process_saved_playlists_tv(provider, context)
File "/home/pi/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/helper/yt_specials.py", line 277, in _process_saved_playlists_tv
result.extend(tv.saved_playlists_to_items(provider, context, json_data))
File "/home/pi/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/helper/tv.py", line 149, in saved_playlists_to_items
utils.update_playlist_infos(provider, context, playlist_id_dict, channel_items_dict)
File "/home/pi/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/helper/utils.py", line 195, in update_playlist_infos
channel_id = snippet['channelId']
KeyError: 'channelId'
-->End of Python script error report<--
2020-11-23 10:35:59.886 T:2696933584 ERROR: GetDirectory - Error getting plugin://plugin.video.youtube/special/saved_playlists/
2020-11-23 10:35:59.898 T:2972879968 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.youtube/special/saved_playlists/) failed


Additional Information

Please provide any additional information that may be helpful.


Plugin hangs on Fedora 32 [ solved on Fedora 33 alpha 3 ]

Context

Please provide any relevant information about your setup

  • Add-on Version:6.8.5
  • Kodi Version: 18.8
  • Kodi GUI Language: French
  • Operating System: Fedora32
  • Operating System Language: French

Expected Behavior

Load Plugin via interface

Current Behavior

Got error message, see log below

Steps to Reproduce

Activate Youtube account ( is activated and works on Windows and Linux Mint )
Install Fedora32 on fresh Disk partition and update it
Install Kodi 18.8 from Fedora RPM fusion
Try to install the plugin on Kodi via GUI by normal way

Log

https://paste.kodi.tv/aboxakayog.kodi

Additional Information

Kodi is working for Video playing and works with pvr.hts plugin.

Basic video listing works, all other requests result in quotaExceeded

Context

Please provide any relevant information about your setup

  • Add-on Version: 6.8.5
  • Kodi Version: 18.8
  • Kodi GUI Language: English
  • Operating System: macOS Catalina 10.15.6
  • Operating System Language: English

Expected Behavior

To be able to access 'My Subscriptions' with video thumbnails, information from video description, as well as access to 'Search', 'Subscriptions', 'Playlists' and any other feature.


Current Behavior

The only thing I'm currently able to access after logging in is a very basic listing of videos that can be played successfully, but there are no video thumbnails or information from the description, and accessing any other Youtube items returns 'quotaExceeded'.


Steps to Reproduce

I've setup the add-on multiple times with newly generated keys, and each time it happens for me, so the steps to reproduce are the ones in the documentation.


Log

kodi.log
Complete log, from starting kodi, going to 'My Subscriptions', over 'Playlists' and quitting.


Additional Information

Please provide any additional information that may be helpful.


Back command jumping to Kodi home screen

The 6.8.4 release seems to have resolve the majority of this issue, but it's still occurring in certain situations. The issue has existed for some time across multiple releases, and is known to affect Krypton and Leia versions on Android.

The previous issue was that the Back command (the Backspace key when using keyboard, or Back button on Sony remotes) would skip several steps and send the user back to the Kodi home screen. Example steps to reproduce:

• Select the YouTube addon.
• Select Search.
• Select New Search.
• Enter a search term, and wait for the results to appear.
• Use the Back command with keyboard or remote.

Expected behavior was to return to the New Search screen with the search history. Instead, the addon very quickly flashed that screen and immediately returned to the Kodi home screen. This behavior would also be observed when going to additional pages of search results (page 2 of results, page 3, etcetera). From several pages deep in results, it would jump directly back to Kodi home.

The 6.8.4 release seems to have addressed this issue partially. From the first page of search results, the Back command now correctly returns you to the previous New Search/history screen. However, infrequently, the behavior still occurs. From observation, it appears to be limited to situations where you have navigated several pages deep into search results (so far, I've not seen it occur with anything lower than the third page of results). Example steps to reproduce, matching my observations today:

• Select the YouTube addon.
• Select Search.
• Select New Search.
• Enter a search term, and wait for the results to appear.
• Select the next page of results (page 2), and again (page 3).
• Use the Back command with keyboard or remote.

Here, the expected behavior would be to return to page 2 of search results. Instead, it infrequently (perhaps once in every ten or so searches) jumps immediately back to Kodi home, very briefly displaying the New Search/history page along the way. It does seem that the problem becomes more frequent as you navigate deeper into search results pages, but I cannot confirm that at this time. I also cannot confirm that closing/reopening Kodi has any effect.

Environment is Kodi Leia 18.8 on Sony Bravia running Android Oreo 8.0.0.

KeyError exception

Hi. Getting an exception on new search since yesterday.

`
2020-10-08 07:42:59.624 T:1519891168 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.KeyError'>
Error Contents: u'\u043f'
Traceback (most recent call last):
File "/home/xbian/.kodi/addons/plugin.video.youtube/resources/lib/default.py", line 15, in
runner.run(provider)
File "/home/xbian/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/runner.py", line 60, in run
RUNNER.run(provider, context)
File "/home/xbian/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/impl/xbmc/xbmc_runner.py", line 33, in run
results = provider.navigate(context)
File "/home/xbian/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/abstract_provider.py", line 104, in navigate
result = method(context, re_match)
File "/home/xbian/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/abstract_provider.py", line 247, in _internal_search
self._data_cache.set('search_query', json.dumps({'query': quote(query)}))
File "/usr/lib/python2.7/urllib.py", line 1299, in quote
return ''.join(map(quoter, s))
KeyError: u'\u043f'
-->End of Python script error report<--
2020-10-08 07:42:59.625 T:1519891168 DEBUG: onExecutionDone(15, /home/xbian/.kodi/addons/plugin.video.youtube/resources/lib/default.py)

`

API and quota exceeded

Context

Please provide any relevant information about your setup

  • Add-on Version: 6.8.7
  • Kodi Version: 18.9
  • Kodi GUI Language: English
  • Operating System: LIBREELEC
  • Operating System Language: EN

Expected Behavior

Search function should work normally.


Current Behavior

Despite having working personal Youtube API keys when selecting "search" from the addon the message "The request cannot be completed because you have exceeded your quota." is displayed.


Steps to Reproduce

Please provide detailed steps for reproducing the issue.

  1. Configure YT API key @ https://console.developers.google.com
  2. Paste API details in the addon
  3. Open the addon and select "search"
  4. The message "The request cannot be completed because you have exceeded your quota." will be displayed and search wont happen.

Additional info

Seems to be related to this issue reported earlier.

The API key and the authentication credential are from different...

I have just installed this addon in coreelec 9.2.4.2. The resulting version of the addon is 6.8.4.

I have added the API keys, exactly the same ones I use on another kodi box.

I logged in (twice) using the same google account that the API keys were generated in. I have rebooted.

When I enter the addon, it shows me the list of directories like I expect if I am logged in.

If I click on My Subscriptions, all is well. There are numerous videos there that are ones from my subscription list, sorted by date.

If I click on Subscriptions on the other hand (the link further down that usually gives you the individual subscribed channels) then I get a notification "The API key and the authentication credential are from different...". The rest is cut off. The resulting directory listing is blank, except for the ... go up a level.

History works (kinda, it only shows videos I watched elsewhere, like my laptop, not from kodi).

Recommendations shows the error.

What have I done wrong?

crack/lag in some videos

when i watch https://www.youtube.com/watch?v=SJmmaIGiGBg with kodi and youtube addon 6.8.4 (coreelec nightly) on my odroid n2 i get a lot of those errors and cracking sound/lags:

2020-09-22 20:04:24.949 T:3188630400 ERROR: Traceback (most recent call last):
2020-09-22 20:04:24.949 T:3188630400 ERROR: File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/utils/storage.py", line 238, in get_seconds_diff
2020-09-22 20:04:24.949 T:3188630400 ERROR: stamp_datetime = datetime.datetime((self.strptime(current_stamp, stamp_format)[0:6]))
2020-09-22 20:04:24.949 T:3188630400 ERROR: File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/utils/storage.py", line 230, in strptime
2020-09-22 20:04:24.949 T:3188630400 ERROR: return time.strptime(stamp, stamp_fmt)
2020-09-22 20:04:24.950 T:3188630400 ERROR: File "/usr/lib/python2.7/_strptime.py", line 478, in _strptime_time
2020-09-22 20:04:24.950 T:3188630400 ERROR: File "/usr/lib/python2.7/_strptime.py", line 329, in _strptime
2020-09-22 20:04:24.950 T:3188630400 ERROR: TypeError: expected string or buffer
2020-09-22 20:04:24.950 T:3188630400 ERROR: [plugin.video.youtube] Exception while calculating timestamp difference: current_stamp |1600797444|<type 'int'>| stamp_format |%Y-%m-%d %H:%M:%S.%f|<type 'str'>|
None
2020-09-22 20:04:24.950 T:3188630400 ERROR: Traceback (most recent call last):
2020-09-22 20:04:24.950 T:3188630400 ERROR: File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/utils/storage.py", line 238, in get_seconds_diff
2020-09-22 20:04:24.950 T:3188630400 ERROR: stamp_datetime = datetime.datetime(
(self.strptime(current_stamp, stamp_format)[0:6]))
2020-09-22 20:04:24.950 T:3188630400 ERROR: File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/utils/storage.py", line 230, in strptime
2020-09-22 20:04:24.950 T:3188630400 ERROR: return time.strptime(stamp, stamp_fmt)
2020-09-22 20:04:24.950 T:3188630400 ERROR: File "/usr/lib/python2.7/_strptime.py", line 478, in _strptime_time
2020-09-22 20:04:24.950 T:3188630400 ERROR: File "/usr/lib/python2.7/_strptime.py", line 329, in _strptime
2020-09-22 20:04:24.950 T:3188630400 ERROR: TypeError: expected string or buffer
2020-09-22 20:04:24.950 T:3188630400 ERROR: [plugin.video.youtube] Exception while calculating timestamp difference: current_stamp |1600797444|<type 'int'>| stamp_format |%Y-%m-%d %H:%M:%S.%f|<type 'str'>|
None
2020-09-22 20:04:24.951 T:3188630400 ERROR: Traceback (most recent call last):
2020-09-22 20:04:24.951 T:3188630400 ERROR: File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/utils/storage.py", line 238, in get_seconds_diff
2020-09-22 20:04:24.951 T:3188630400 ERROR: stamp_datetime = datetime.datetime((self.strptime(current_stamp, stamp_format)[0:6]))
2020-09-22 20:04:24.951 T:3188630400 ERROR: File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/utils/storage.py", line 230, in strptime
2020-09-22 20:04:24.951 T:3188630400 ERROR: return time.strptime(stamp, stamp_fmt)
2020-09-22 20:04:24.951 T:3188630400 ERROR: File "/usr/lib/python2.7/_strptime.py", line 478, in _strptime_time
2020-09-22 20:04:24.951 T:3188630400 ERROR: File "/usr/lib/python2.7/_strptime.py", line 329, in _strptime
2020-09-22 20:04:24.951 T:3188630400 ERROR: TypeError: expected string or buffer
2020-09-22 20:04:24.951 T:3188630400 ERROR: [plugin.video.youtube] Exception while calculating timestamp difference: current_stamp |1600797444|<type 'int'>| stamp_format |%Y-%m-%d %H:%M:%S.%f|<type 'str'>|
None
2020-09-22 20:04:24.952 T:3188630400 ERROR: Traceback (most recent call last):
2020-09-22 20:04:24.952 T:3188630400 ERROR: File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/utils/storage.py", line 238, in get_seconds_diff
2020-09-22 20:04:24.952 T:3188630400 ERROR: stamp_datetime = datetime.datetime(
(self.strptime(current_stamp, stamp_format)[0:6]))
2020-09-22 20:04:24.952 T:3188630400 ERROR: File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/utils/storage.py", line 230, in strptime
2020-09-22 20:04:24.952 T:3188630400 ERROR: return time.strptime(stamp, stamp_fmt)
2020-09-22 20:04:24.952 T:3188630400 ERROR: File "/usr/lib/python2.7/_strptime.py", line 478, in _strptime_time
2020-09-22 20:04:24.952 T:3188630400 ERROR: File "/usr/lib/python2.7/_strptime.py", line 329, in _strptime
2020-09-22 20:04:24.952 T:3188630400 ERROR: TypeError: expected string or buffer
2020-09-22 20:04:24.952 T:3188630400 ERROR: [plugin.video.youtube] Exception while calculating timestamp difference: current_stamp |1600797444|<type 'int'>| stamp_format |%Y-%m-%d %H:%M:%S.%f|<type 'str'>|
None

Can't sign in as google account has 2 step

Context

Please provide any relevant information about your setup

  • Add-on Version: 6.8.7
  • Kodi Version: 18.8
  • Kodi GUI Language: English
  • Operating System: OSMC
  • Operating System Language: English

Expected Behavior

Please describe the behavior you are expecting.

Sign into my google account to be able to watch youtube like I do on my phone


Current Behavior

What is the current behavior?

I can't get my api keys to work with the add-on. I think I understand why though. I believe it's because I have 2 step verification enabled which basically means google won't let me use the unsafe method of signing into my account. They instead want me to use an app password.

Any ideas on how I can use this with the youtube addon so I can sign in? I also after having played around for a bit only ever get prompted to sign in to the addon once and then it fails, it does not seem to ask a second time.


Steps to Reproduce

Please provide detailed steps for reproducing the issue.

  1. tried signing in without the api keys put in (didn't realise they were needed) got asked twice to sign into my google account
  2. Failed so looked up how to and did all the api key
  3. go to sign in and it fails after one try of signing into my account with invalid api invalid client type
    I have tried to uninstall and reinstall removing all settings but does not seem to have changed anything

Log

Please include a complete debug log.

2020-11-06 11:45:07.521 T:1178575072 WARNING: Previous line repeats 1 times.
2020-11-06 11:45:07.521 T:1178575072 NOTICE: LoadJpeg: unable to load /home/osmc/.kodi/addons/plugin.video.youtube/fanart.jpg
2020-11-06 11:51:00.386 T:1230971104 ERROR: /home/osmc/.kodi/addons/script.module.urllib3/lib/urllib3/connectionpool.py:1004: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecureRequestWarning,
2020-11-06 11:51:28.230 T:1230971104 ERROR: Previous line repeats 7 times.
2020-11-06 11:51:28.230 T:1230971104 ERROR: [plugin.video.youtube] Requesting device and user code failed: Code: |401| JSON: |{u'error_description': u'Invalid client type.', u'error': u'invalid_client'}|
2020-11-06 11:51:28.276 T:1230971104 ERROR: [plugin.video.youtube] LoginException: [401] invalid_client: Invalid client type.
2020-11-06 11:51:28.282 T:1230971104 WARNING: Attempt to use invalid handle -1
2020-11-06 11:53:02.644 T:1230971104 ERROR: /home/osmc/.kodi/addons/script.module.urllib3/lib/urllib3/connectionpool.py:1004: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecureRequestWarning,
2020-11-06 11:53:35.472 T:1230971104 ERROR: Previous line repeats 8 times.
2020-11-06 11:53:35.473 T:1230971104 ERROR: [plugin.video.youtube] Requesting device and user code failed: Code: |401| JSON: |{u'error_description': u'Invalid client type.', u'error': u'invalid_client'}|
2020-11-06 11:53:35.503 T:1230971104 ERROR: [plugin.video.youtube] LoginException: [401] invalid_client: Invalid client type.
2020-11-06 11:53:35.504 T:1230971104 WARNING: Attempt to use invalid handle -1


Additional Information

Please provide any additional information that may be helpful.
I tried quite a few times and sorry about not having posted this using the template as I just didn't see it

Thanks for any help


6.8.9+matrix1~beta2 update fails (404)

Using repository unoficial_testing.

2020-12-06 10:56:41.830 T:876     ERROR <general>: CCurlFile::Open failed with code 404 for http://panicked.xyz/repository/youtube/python3/unofficial_testing/zips/plugin.video.youtube/plugin.video.youtube-6.8.9+matrix.1~beta2.zip:
2020-12-06 10:56:41.831 T:876     ERROR <general>: CAddonInstallJob[plugin.video.youtube]: failed to download special://home/addons/packages/plugin.video.youtube-6.8.9 matrix.1~beta2.zip

[Feature request] Shuffle full YouTube playlist

Can you make an option to randomise/ shuffle a full playlist?
I have large playlists with music videos, it would be nice to shuffle them.
I know it's possible to shuffle the playlist, but, and maybe I'm not seeing an already provided solution, you can only shuffle per page of a playlist. This would be maximum 50 tracks as this is the max that can be set in the options.

A possible solution could be an extra "sort" option, to sort the list randomly.

Bug: Watch Later gives error; url watch later changed

Hi, I've got following error:

2020-12-14 11:46:29.954 T:139673262163712 ERROR: [plugin.video.youtube] Error reason: |playlistNotFound| with message: |The playlist identified with the request's playlistId parameter cannot be found.|
2020-12-14 11:46:29.959 T:139675842225920 ERROR: GetDirectory - Error getting plugin://plugin.video.youtube/channel/mine/playlist/%20WL/

Could it be that the url on Youtube has changed?
https://www.youtube.com/playlist?list=WL

Unable to play YouTube videos longer than four hours

Issue has existed through multiple versions including 6.8.4, and has been observed on Krypton and Leia versions. Videos on YouTube exceeding four hours possibly might not play. The issue is independent of whether proxy or MPEG-DASH is used or not.

Generally videos of four hours or less play successfully. Videos of a length between four and six hours usually play, but sometimes fail. Above six hours the failure rate becomes significant, and videos above seven hours are highly unlikely to play.

When failing, the following is observed:

• The screen dims and the blue circular Kodi spinner is very briefly seen (normal for any video playback).
• The screen regains full brightness, and a play prompt appears in the upper-right corner near the time (normal for any video playback). The prompt consists of a blue play icon and the title of the video in truncated form.
• The screen again dims and the Kodi spinner reappears.
• After a few seconds (averaging eight to fifteen seconds), Kodi abruptly drops the spinner and returns the screen to full brightness. The play prompt disappears with what appears to be a quick flash of the truncated portion of the title.

The only common denominator is length of video. I've tried numerous videos from different channels and content creators, and it applies universally to all YouTube video. Failure of long videos to play does not seem to affect the stability of the addon or Kodi; another video of an acceptable length can immediately be selected and played after a failure.

Environment is Kodi Leia 18.8 on Sony Bravia running Android Oreo 8.0.0.

Put 👍 👎 in main context menu of the videos

What Problem Does This Solve?

Please provide a concise description of the problem this request solves.


Suggest a Solution (optional)

Please provide a concise description of your suggested solution. If there are multiple solutions, describe them independently and optionally follow them with a comparison.


Some videos in my subscription list don't play

Context

Please provide any relevant information about your setup

  • Add-on Version: 6.8.7
  • Kodi Version: 18.9
  • Kodi GUI Language: English
  • Operating System: Arch Linux
  • Operating System Language: en-US

Expected Behavior

Video should play


Current Behavior

No playback. Just returned back to selection.


Steps to Reproduce

Please provide detailed steps for reproducing the issue.

  1. Try to play https://www.youtube.com/watch?v=F6t_HSo3tQ8 with YouTube Add-on on Kodi
  2. Seems like video is about to start, but then you just get back to the video list

Log

2020-11-15 20:49:50.019 T:140440542771904 NOTICE: VideoPlayer::OpenFile: plugin://plugin.video.youtube/play/?video_id=F6t_HSo3tQ8
2020-11-15 20:49:50.109 T:140438048601664 WARNING: CDVDMessageQueue(video)::Put MSGQ_NOT_INITIALIZED
2020-11-15 20:49:50.292 T:140440162735680 WARNING: Previous line repeats 1 times.
2020-11-15 20:49:50.292 T:140440162735680 ERROR: /var/lib/kodi/.kodi/addons/script.module.urllib3/lib/urllib3/connectionpool.py:1004: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecureRequestWarning,
2020-11-15 20:49:51.212 T:140438048601664 ERROR: Previous line repeats 1 times.
2020-11-15 20:49:51.212 T:140438048601664 NOTICE: Creating InputStream
2020-11-15 20:49:51.513 T:140438048601664 NOTICE: Creating Demuxer
2020-11-15 20:49:51.818 T:140438026237504 ERROR: CCurlFile::FillBuffer - Failed: Transferred a partial file(18)
2020-11-15 20:49:51.818 T:140438026237504 WARNING: CCurlFile::FillBuffer - Reconnect, (re)try 1
2020-11-15 20:49:52.039 T:140438026237504 ERROR: CCurlFile::FillBuffer - Failed: Transferred a partial file(18)
2020-11-15 20:49:52.039 T:140438026237504 WARNING: CCurlFile::FillBuffer - Reconnect, (re)try 1
2020-11-15 20:49:52.132 T:140438026237504 ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 503
2020-11-15 20:49:52.143 T:140438048601664 ERROR: Open - Error, could not open file https://r5---sn-h0jeenek.googlevideo.com/videoplayback?expire=1605491482&ei=uoaxX--LNcqC8gPXlIqoCQ&ip=46.87.161.102&id=o-AGDF2bCPJmYM7SNL1BlfQkNbR7_4BheusON0PeLMfxfu&itag=22&source=youtube&requiressl=yes&mh=HX&mm=31%2C29&mn=sn-h0jeenek%2Csn-h0jeln7e&ms=au%2Crdu&mv=m&mvi=5&pl=26&initcwndbps=1283750&vprv=1&mime=video%2Fmp4&ns=IBC_QbzW6eC8TslDyX-sLlEF&ratebypass=yes&dur=605.112&lmt=1605450182709837&mt=1605469724&fvip=5&c=WEB&txp=6316222&n=OSs3i8i68HlWTB1QG&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cns%2Cratebypass%2Cdur%2Clmt&sig=AOq0QJ8wRAIge0uBex_sri84hFR43ZMUH4SeLoAH1nujDHFB0xGvF8sCIHwg369M2FoWsVscbm-0i7D8xFaWtM-kARvfAXt1kBR2&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRQIgGC1o2iHI1cJilTEUdMkYEjtbe7p_lupiZC0P1xowDDYCIQCuXJfxyb1INsvZfJt3IrjYlCQcsaWBHIMzQXAFu6RqdQ%3D%3D
2020-11-15 20:49:52.143 T:140438048601664 ERROR: OpenDemuxStream - Error creating demuxer
2020-11-15 20:49:52.143 T:140438048601664 NOTICE: CVideoPlayer::OnExit()
2020-11-15 20:49:52.143 T:140438048601664 NOTICE: Closing stream player 1
2020-11-15 20:49:52.143 T:140438048601664 NOTICE: Waiting for audio thread to exit
2020-11-15 20:49:52.148 T:140439382386240 NOTICE: thread end: CVideoPlayerAudio::OnExit()
2020-11-15 20:49:52.148 T:140438048601664 NOTICE: Closing audio device
2020-11-15 20:49:52.148 T:140438048601664 NOTICE: Deleting audio codec
2020-11-15 20:49:52.169 T:140440542771904 NOTICE: CVideoPlayer::CloseFile()
2020-11-15 20:49:52.176 T:140440542771904 NOTICE: VideoPlayer: waiting for threads to exit
2020-11-15 20:49:52.176 T:140440542771904 NOTICE: VideoPlayer: finished waiting
2020-11-15 20:49:52.582 T:140440162735680 ERROR: /var/lib/kodi/.kodi/addons/script.module.urllib3/lib/urllib3/connectionpool.py:1004: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecureRequestWarning,
2020-11-15 20:50:35.087 T:140440542771904 ERROR: Previous line repeats 3 times.

Python 3.9 failure

Have Kodi built with python 3.9 on linux.
Open youtube addon.
Navigate to "My Subscriptions", the following exception is produced:

2020-10-09 01:03:29.988 T:766      INFO <general>: [plugin.video.youtube] Running: YouTube (6.8.5+matrix.1) on Krypton (Kodi-19.0) with Python 3.9.0
                                                   <--->Path: /
                                                   <--->Params: {}
2020-10-09 01:03:30.270 T:766      INFO <general>: CPythonInvoker(2, /home/kodi/.kodi/addons/plugin.video.youtube/resources/lib/default.py): script successfully run
2020-10-09 01:03:31.338 T:766      INFO <general>: initializing python engine.
2020-10-09 01:03:31.339 T:766      INFO <general>: [plugin.video.youtube] Running: YouTube (6.8.5+matrix.1) on Krypton (Kodi-19.0) with Python 3.9.0
                                                   <--->Path: /special/new_uploaded_videos_tv/
                                                   <--->Params: {}
2020-10-09 01:03:32.873 T:766     ERROR <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                                    - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                                   Error Type: <class 'AttributeError'>
                                                   Error Contents: module 'html.parser' has no attribute 'HTMLParseError'
                                                   Traceback (most recent call last):
                                                     File "/home/kodi/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/items/video_item.py", line 117, in set_plot
                                                       plot = html_parser.HTMLParser().unescape(plot)
                                                   AttributeError: 'HTMLParser' object has no attribute 'unescape'
                                                   During handling of the above exception, another exception occurred:
                                                   Traceback (most recent call last):
                                                     File "/home/kodi/.kodi/addons/plugin.video.youtube/resources/lib/default.py", line 15, in <module>
                                                       runner.run(__provider__)
                                                     File "/home/kodi/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/runner.py", line 60, in run
                                                       __RUNNER__.run(provider, context)
                                                     File "/home/kodi/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/impl/xbmc/xbmc_runner.py", line 33, in run
                                                       results = provider.navigate(context)
                                                     File "/home/kodi/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/abstract_provider.py", line 105, in navigate
                                                       result = method(context, re_match)
                                                     File "/home/kodi/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/register_provider_path.py", line 19, in wrapper
                                                       return func(*args, **kwargs)
                                                     File "/home/kodi/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/provider.py", line 797, in _on_yt_specials
                                                       return yt_specials.process(category, self, context)
                                                     File "/home/kodi/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/helper/yt_specials.py", line 346, in process
                                                       return _process_new_uploaded_videos_tv(provider, context)
                                                     File "/home/kodi/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/helper/yt_specials.py", line 313, in _process_new_uploaded_videos_tv
                                                       result.extend(tv.my_subscriptions_to_items(provider, context, json_data))
                                                     File "/home/kodi/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/helper/tv.py", line 56, in my_subscriptions_to_items
                                                       utils.update_video_infos(provider, context, video_id_dict, channel_items_dict=channel_item_dict, use_play_data=use_play_data)
                                                     File "/home/kodi/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/helper/utils.py", line 338, in update_video_infos
                                                       video_item.set_plot(description)
                                                     File "/home/kodi/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/items/video_item.py", line 118, in set_plot
                                                       except html_parser.HTMLParseError as _:
                                                   AttributeError: module 'html.parser' has no attribute 'HTMLParseError'
                                                   -->End of Python script error report<--
2020-10-09 01:03:32.894 T:766      INFO <general>: Python interpreter stopped
2020-10-09 01:03:32.894 T:766      INFO <general>: Python interpreter stopped
2020-10-09 01:03:32.906 T:768     ERROR <general>: GetDirectory - Error getting plugin://plugin.video.youtube/special/new_uploaded_videos_tv/
2020-10-09 01:03:32.916 T:571     ERROR <general>: CGUIMediaWindow::GetDirectory(plugin://plugin.video.youtube/special/new_uploaded_videos_tv/) failed

Reportedly in python 3.9 html.parser.HTMLParser().unescape() function was removed, it was undocumented and deprecated since python 3.4 . https://bugs.python.org/issue37328

And HTMLParseError was dropped in python 3.5 python/cpython@73a4359#diff-1a7486df8279dbac7f20abd487947845

There are several instances of html_parser.HTMLParser().unescape used mostly in kodion/*_item.py .
I've fixed this locally for me, but sadly I'm not able to submit a proper PR as writing code that works for both 2.7 and 3.x is not my cup of tea :(

Live stream not updated in API ?

Hello,

I am trying to watch a livestream but can only watch the last 2 hours of the stream.
I know this is normally on YouTube's end waiting for processing but I can watch the full video on my iPhone.
Perhaps the API used by Kodi did not update the fact that the video is fully available and the iOS API did?

https://paste.kodi.tv/xacemofika.kodi

Using latest stable + beta + Dash on/off result in the same issue

Video doesn't play in 1080p (Dash enabled)

Context

Please provide any relevant information about your setup

  • Add-on Version:6.8.8
  • Kodi Version:18.9.0
  • Kodi GUI Language:English
  • Operating System:Amazon AFTSSS with Android 9.0.0 (Latest FireTv stick - 3rd Gen)
  • Operating System Language:English

Youtube add-on config
GENERAL - Video quality - 1080 Live/720 p(HD), Ask for Video quality - No
MPEG DASH - Use MPEG-DASH - Yes, Use for Videos - Yes, Video quality - Adaptive (MP4/H264) - config provided below
API - Allow developer keys - Enabled. API Key, API ID and API secret - all have correct values and normally working for low res

InputStream Adaptive Config
Min Bandwidth - 0, Max Bandwidth - 0
Max Res general decoder - Max, Max res secure decoder - Max,
Stream selection - Automatic, Media - All
Override HDCP - Not selected, Ignore Display Res - Not selected


Expected Behavior

Video should play in 1080p resolution


Current Behavior

When play button is clicked, the screen flashes for a second and doesn't play the video


Steps to Reproduce

  1. Start plugin and play the video (1080p)

Log

Kodi logs - https://paste.kodi.tv/azubofowoz.kodi
MPD File (xsbLtHql4g8.mpd)- https://paste.kodi.tv/usanehitup

Snippets from Kodi.log

2020-11-29 14:18:47.194 T:19206   DEBUG: [plugin.video.youtube] HTTPServer: Request file path |/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/temp/plugin.video.youtube/xsbLtHql4g8.mpd|
2020-11-29 14:18:47.204 T:19227  NOTICE: Creating Demuxer
2020-11-29 14:18:47.205 T:19228   DEBUG: Thread FileCache start, auto delete: false
2020-11-29 14:18:47.206 T:19228    INFO: CFileCache::Process - Source read didn't return any data! Hit eof(?)
2020-11-29 14:18:47.241 T:19227   ERROR: Open - error probing input format, http://127.0.0.1:50152/xsbLtHql4g8.mpd
2020-11-29 14:18:47.241 T:19227   ERROR: OpenDemuxStream - Error creating demuxer
2020-11-29 14:18:47.241 T:19227  NOTICE: CVideoPlayer::OnExit()
2020-11-29 14:18:47.242 T:19228   DEBUG: Thread FileCache 19228 terminating
2020-11-29 14:18:47.242 T:19227   DEBUG: Thread VideoPlayer 19227 terminating

Additional Information

Tried changing the settings, but didn't work
Method 1) Changed stream selection to manual and the first option in the prompt is 1080p, however video doesn't play when selected. 360p plays without issues. 720p res is not listed as one of the options when DASH is enabled

Method 2) Disabled DASH and video plays in 720p

Whenever any settings were changed, Kodi is exited fully and opened again

Installation feedback / Documentation wiki

Context

  • With OSMC on Raspberry Pi 3B+.
  • OSMC's fresh installation.
  • Just one extension : ARTE+7

What ?

During the configuration of the Youtube extension, when use youtube.com/activate it doesn't work. I do use google.com/device for a good installation.

I don't know if it specific problems or it's more général.

Thank for your good extension to kodi.

Default language subtitle

Context

  • Add-on Version: 6.8.8
  • Kodi Version: 18.9
  • Kodi GUI Language: PL
  • Operating System: Win 10
  • Operating System Language: PL

Expected Behavior

I want pl (polish) subtitles on the list same as in the screenshot

Current Behavior

I've got two PC's with Kodi. When I get into settings of youtube addon and then to "Configure subtitles" I can see the screen as I put above. However, on one of PC's it shows similar five options, but those three that refers to PL language are related to EN. I'm not sure if I can call this behaviour as a bug, but I'm curious on what exactly it depends, because both PC's are on same OS, same language, same add-on revision etc. Do you know on what specifically it is based? Then, maybe I would be able to fix it for myself.

Playlist Changes in 6.8.8

Hi ANXD,

 I apologize as I’m brand new to Git & I see this is already reported.  But I wanted to state that this definitely worked fine before this latest update; something changed either due to that or a YT change at the same time.  As previously reported, History & Recommendations now return no results, and Watch Later gives the invalid playlist error.  Is there a quick .py that I could just update on my device so that the right URL gets sent to YT?  I know that I can establish a new Kodi-only history, but I really want the global history to work again if at all possible. 

Purchased movies stop after about 5 minutes

Context

Please provide any relevant information about your setup

  • Add-on Version: 6.8.5
  • Kodi Version: 18.8
  • Kodi GUI Language: French
  • Operating System: LibreElec 9.2.4
  • Operating System Language: French

Expected Behavior

Purchased movies should play normally.


Current Behavior

As the title says, purchased movies stop after about 5 minutes. All other videos play fine.


Steps to Reproduce

Please provide detailed steps for reproducing the issue.

  1. Purchase movie on Youtube
  2. Play with with the Youtube extension.

Log

https://drive.google.com/file/d/1unGGfOnqNmZvEzyAlFmnle4IR81Wy9Ls/view?usp=sharing
01_KODI.log


Additional Information

Please provide any additional information that may be helpful.


Recomedations not working

Add-on Version: GIT eff6401
Kodi Version: 18.9
Kodi GUI Language: Russian
Operating System: COREELEC
Operating System Language: EN
Traceback (most recent call last): File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/default.py", line 15, in <module> runner.run(__provider__) File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/runner.py", line 60, in run __RUNNER__.run(provider, context) File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/impl/xbmc/xbmc_runner.py", line 33, in run results = provider.navigate(context) File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/abstract_provider.py", line 105, in navigate result = method(context, re_match) File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/register_provider_path.py", line 19, in wrapper return func(*args, **kwargs) File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/provider.py", line 796, in _on_yt_specials return yt_specials.process(category, self, context) File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/helper/yt_specials.py", line 304, in process return _process_recommendations(provider, context) File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/helper/yt_specials.py", line 67, in _process_recommendations json_data = provider.get_client(context).get_activities('home', page_token=page_token) File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/client/youtube.py", line 433, in get_activities recommended = self._get_recommendations_for_home() File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/client/youtube.py", line 329, in _get_recommendations_for_home history = self.get_watch_history() AttributeError: 'YouTube' object has no attribute 'get_watch_history'

Search in "History"

Hi, could you add a function where we can search through our personal "history", like in the site?

Can't sign in as google account has 2 step

I can't get my api keys to work with the add-on. I think I understand why though. I believe it's because I have 2 step verification enabled which basically means google won't let me use the unsafe method of signing into my account. They instead want me to use an app password.

Any ideas on how I can use this with the youtube addon so I can sign in? I also after having played around for a bit only ever get prompted to sign in to the addon once and then it fails, it does not seem to ask a second time.

Thanks for your help

[Feature Request] Expanded dialogue for video description

Regardless of Viewtype (Wide List, Wall, etcetera), videos with significant amounts of description text often do not have enough space to display all the text. My Kodi is set to scroll such text, but the scrolling is inconvenient (such as when trying to translate description in a foreign language or copying long URI's provided in the text).

A menu option for displaying the video description in a popup window would be very convenient when there is a lot of description text to read. Even more appreciable would be the style of information page that many video addons use—being able to see the YouTube channel name, the channel and/or video thumbnail in a somewhat larger size, and all the descriptive text in a large area of the screen would be lovely. (Reference https://kodi.wiki/images/a/a2/Artwork-Actors01.jpg for an example of a generic information page.) Additional YouTube information, such as upload date, number of views, and likes/dislikes would also be handy for such a page.

Unable to play some videos

Context

Please provide any relevant information about your setup

  • Add-on Version: 5.8.8
  • Kodi Version: 18.2
  • Kodi GUI Language:
  • Operating System: LibreElec 9.0.2
  • Operating System Language: En

Expected Behavior

Youtube plugin starts a video after sharing video from Yatse remote control


Current Behavior

What is the current behavior?

Currently some videos are experiencing crash of Youtube plugin instead of playing a video.
Crashes of plugin are random, some videos will play, some not.
Look at log below:


Steps to Reproduce

Please provide detailed steps for reproducing the issue.

  1. Open youtube application on android device
  2. Choose video with id uQslBusc56g (https://www.youtube.com/watch?v=uWslBusc56g)
  3. Click share button
  4. Choose Play on Media center (Tested even with Kore remote and text input search, behaviour is same. Probably it's videos related problem)
  5. Voila, nothing happens :(

Log

Please include a complete debug log.

2020-12-01 11:39:08.025 T:1336955760 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'requests.exceptions.InvalidURL'>
Error Contents: Invalid URL u'http://': No host supplied
Traceback (most recent call last):
File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/default.py", line 15, in
runner.run(provider)
File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/runner.py", line 60, in run
RUNNER.run(provider, context)
File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/impl/xbmc/xbmc_runner.py", line 33, in run
results = provider.navigate(context)
File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/abstract_provider.py", line 105, in navigate
result = method(context, re_match)
File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/register_provider_path.py", line 19, in wrapper
return func(*args, **kwargs)
File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/provider.py", line 768, in on_play
return yt_play.play_video(self, context)
File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/helper/yt_play.py", line 50, in play_video
video_streams = client.get_video_streams(context, video_id)
File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/client/youtube.py", line 100, in get_video_streams
video_streams = video_info.load_stream_infos(video_id)
File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/helper/video_info.py", line 515, in load_stream_infos
return self._method_get_video_info(video_id)
File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/helper/video_info.py", line 1024, in _method_get_video_info
parse_to_stream_list(std_fmts)
File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/helper/video_info.py", line 986, in parse_to_stream_list
url = ''.join([url, sig_param, cipher.get_signature(stream_map['s'])])
File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/helper/signature/cipher.py", line 32, in get_signature
json_script = function_cache.get(FunctionCache.ONE_DAY, self._load_json_script, self._javascript_url)
File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/utils/function_cache.py", line 108, in get
cached_data = partial_func()
File "/storage/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/helper/signature/cipher.py", line 52, in _load_json_script
result = requests.get(url, headers=headers, verify=self._verify, allow_redirects=True)
File "/storage/.kodi/addons/script.module.requests/lib/requests/api.py", line 75, in get
return request('get', url, params=params, **kwargs)
File "/storage/.kodi/addons/script.module.requests/lib/requests/api.py", line 60, in request
return session.request(method=method, url=url, **kwargs)
File "/storage/.kodi/addons/script.module.requests/lib/requests/sessions.py", line 519, in request
prep = self.prepare_request(req)
File "/storage/.kodi/addons/script.module.requests/lib/requests/sessions.py", line 462, in prepare_request
hooks=merge_hooks(request.hooks, self.hooks),
File "/storage/.kodi/addons/script.module.requests/lib/requests/models.py", line 313, in prepare
self.prepare_url(url, params)
File "/storage/.kodi/addons/script.module.requests/lib/requests/models.py", line 390, in prepare_url
raise InvalidURL("Invalid URL %r: No host supplied" % url)
InvalidURL: Invalid URL u'http://': No host supplied
-->End of Python script error report<--
2020-12-01 11:39:08.277 T:1937502224 ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.youtube/play/?video_id=uWslBusc56g]


Additional Information

Please provide any additional information that may be helpful.


When using playlist ‘watch later’ in YT add-on I get message playlistid not found

Context

Please provide any relevant information about your setup

  • Add-on Version: 6.8.8
  • Kodi Version: OSMC
  • Kodi GUI Language:
  • Operating System: No idea, but I'm running OSMC on RASP Pi 3b+
  • Operating System Language:

Since the option ‘my subscriptions’ no longer works (since beginning of Dec 2020) I now use the option to add videos to my ‘watch later’ playlist. When I use the youtube add-on on my OSMC raspberry pi3b+ I get a lot of errors when getting back to that playlist, be it after a video has ended or by selecting the playlist. The error message appears briefly on the screen and when I try again either the playlist is shown, or I get the same error a number of times. Eventually I do get my playlist. But it is very annoying. Anybody has any idea what is going on?


Expected Behavior

Return to playlist "watch later" after video ends or when selecting that playlist.

Current Behavior

Getting error message stating playlistid cannot be found or similar. (I have to write down the exact error but will do that in an update of this reported issue later)


Steps to Reproduce

  1. select "watch later" -> get either the list of items or an error message, sometimes multiple times, but eventually I get to the playlist.

Log

Please include a complete debug log.

https://paste.kodi.tv/uzivaxiquy.kodi


Additional Information

Please provide any additional information that may be helpful.

This started recently (Dec. 2020) when switching from the 'my subscription' option that no longer seems to work


"My Subscriptions", "Saved Playlists", and "Purchases" folders are empty

Context

  • Add-on Version: 6.8.8
  • Kodi Version: 18.9
  • Kodi GUI Language: English
  • Operating System: LibreELEC (Linux)
  • Operating System Language: English

Expected Behavior

Display of a merged list of new & recent entries from subscribed Youtube channels.


Current Behavior

Folder is empty.


Steps to Reproduce

  1. Start plugin and navigate to "My Subscriptions" folder

Log

Debug log: https://paste.kodi.tv/yedururace.kodi


Additional Information

The subscribed channels' videos can be browsed and played from the Subscriptions/{ChannelName} subfolders normally, so it doesn't seem like a more systemic auth/list problem.

I deleted the function & data caches, cleared temporary files and did the sign-out/sign-in dance just in case, but no luck.


win-inet-pton not available during setup

Context

I can't currently install the plugin because script.module.win-inet-pton isn't available. Do I need that at all? I'm not even on Windows. :-)

  • Add-on Version: 6.7.0
  • Kodi Version: 18.6 Leia
  • Kodi GUI Language: EN
  • Operating System: LibreELEC
  • Operating System Language: EN

Expected Behavior

Installation.

Can't play history playlist

What Problem Does This Solve?

Hello!

Thx for best Youtube addon.
Can you help me?
I can't do play history playlist via JSON

{"jsonrpc": "2.0", "method": "Addons.ExecuteAddon", "params": { "addonid": "plugin.video.youtube", "params": ["/play/?playlist_id=HL&play=1&order=default"]}, "id": "1"}

I just want to continue play last video from my phone.
Is it possible?

Sorry for my english language.

Best regrads

Watch Later: playlistNotFound

Context

  • Add-on Version: 6.8.8 and latest version from git 2d75cc8
  • Kodi Version: 18.9.0
  • Kodi GUI Language: english
  • Operating System: Ubuntu 16.04 and Librelec 9.2
  • Operating System Language: english

Current Behavior

When selecting the Watch Later playlist instead of showing the lists entries an error message is shown, for details see debug log.

Same behavior on my desktop system as well as my raspberry pi 4 media center. Work fine a few days ago, failed occasionally two days ago, didn't work at all since yesterday. Re-installing the plugin and deleting user data doesn't help. With the latest git version other playlists work fine.


Steps to Reproduce

Please provide detailed steps for reproducing the issue.

  1. Install plugin
  2. Setup plugin with valid account and own API keys (which worked fine since february)
  3. Select watch later

Log

Log starting with the first line containing the word youtube
2020-12-16 20:15:11.050 T:139765674461568   DEBUG: CServiceAddonManager: starting plugin.video.youtube
2020-12-16 20:15:11.050 T:139764493682432   DEBUG: Thread LanguageInvoker start, auto delete: false
2020-12-16 20:15:11.050 T:139765674461568   DEBUG: CServiceAddonManager: starting plugin.video.netflix
2020-12-16 20:15:11.050 T:139764493682432    INFO: initializing python engine.
2020-12-16 20:15:11.050 T:139763872954112   DEBUG: Thread LanguageInvoker start, auto delete: false
2020-12-16 20:15:11.050 T:139765674461568  NOTICE: initialize done
2020-12-16 20:15:11.050 T:139763872954112    INFO: initializing python engine.
2020-12-16 20:15:11.050 T:139763864561408   DEBUG: Thread LanguageInvoker start, auto delete: false
2020-12-16 20:15:11.050 T:139765674461568  NOTICE: Running the application...
2020-12-16 20:15:11.050 T:139763864561408    INFO: initializing python engine.
2020-12-16 20:15:11.050 T:139765674461568   DEBUG: no profile autoexec.py (/home/seddy/.kodi/userdata/autoexec.py) found, skipping
2020-12-16 20:15:11.050 T:139765674461568   DEBUG: NetworkMessage - Starting network services
2020-12-16 20:15:11.052 T:139765674461568   DEBUG: CZeroconfAvahi::clientCallback: client is up and running
2020-12-16 20:15:11.052 T:139765674461568  NOTICE: starting zeroconf publishing
2020-12-16 20:15:11.052 T:139763847776000   DEBUG: Thread EventServer start, auto delete: false
2020-12-16 20:15:11.052 T:139763847776000  NOTICE: ES: Starting UDP Event server on port 9777
2020-12-16 20:15:11.052 T:139763847776000  NOTICE: UDP: Listening on port 9777 (ipv6 : false)
2020-12-16 20:15:11.052 T:139764732495616   DEBUG: CZeroconfAvahi::doPublishService identifier: servers.eventserver type: _xbmc-events._udp name:Kodi (asus) port:9777
2020-12-16 20:15:11.052 T:139764732495616   DEBUG: CZeroconfAvahi::addService() named: Kodi (asus) type: _xbmc-events._udp port:9777
2020-12-16 20:15:11.053 T:139765674461568    INFO: JSONRPC Server: Successfully initialized
2020-12-16 20:15:11.053 T:139764699944704   DEBUG: CZeroconfAvahi::doPublishService identifier: servers.jsonrpc-tpc type: _xbmc-jsonrpc._tcp name:Kodi (asus) port:9090
2020-12-16 20:15:11.053 T:139763839383296   DEBUG: Thread TCPServer start, auto delete: false
2020-12-16 20:15:11.053 T:139764699944704   DEBUG: CZeroconfAvahi::addService() named: Kodi (asus) type: _xbmc-jsonrpc._tcp port:9090
2020-12-16 20:15:11.076 T:139764708775680   DEBUG: CRecentlyAddedJob::UpdateTotal() - Running RecentlyAdded home screen update
2020-12-16 20:15:11.077 T:139764708775680   DEBUG: GetArtistsByWhere query: SELECT COUNT(DISTINCT artistview.idArtist) FROM artistview  WHERE (EXISTS (SELECT 1 FROM song_artist WHERE song_artist.idArtist = artistview.idArtist AND song_artist.idRole = 1) OR EXISTS (SELECT 1 FROM album_artist WHERE album_artist.idArtist = artistview.idArtist)) AND (artistview.strArtist != '')
2020-12-16 20:15:11.110 T:139764502075136   DEBUG: CPythonInvoker(0, /home/seddy/.kodi/addons/service.xbmc.versioncheck/resources/lib/runner.py): start processing
2020-12-16 20:15:11.110 T:139764493682432   DEBUG: CPythonInvoker(1, /home/seddy/.kodi/addons/script.common.plugin.cache/resources/lib/entry_point.py): start processing
2020-12-16 20:15:11.110 T:139763872954112   DEBUG: CPythonInvoker(2, /home/seddy/.kodi/addons/plugin.video.youtube/resources/lib/startup.py): start processing
2020-12-16 20:15:11.111 T:139763864561408   DEBUG: CPythonInvoker(3, /home/seddy/.kodi/addons/plugin.video.netflix/service.py): start processing
2020-12-16 20:15:11.184 T:139764502075136   DEBUG: -->Python Interpreter Initialized<--
2020-12-16 20:15:11.184 T:139764502075136   DEBUG: CPythonInvoker(0, /home/seddy/.kodi/addons/service.xbmc.versioncheck/resources/lib/runner.py): the source file to load is "/home/seddy/.kodi/addons/service.xbmc.versioncheck/resources/lib/runner.py"
2020-12-16 20:15:11.240 T:139764493682432   DEBUG: -->Python Interpreter Initialized<--
2020-12-16 20:15:11.240 T:139764493682432   DEBUG: CPythonInvoker(1, /home/seddy/.kodi/addons/script.common.plugin.cache/resources/lib/entry_point.py): the source file to load is "/home/seddy/.kodi/addons/script.common.plugin.cache/resources/lib/entry_point.py"
2020-12-16 20:15:11.240 T:139763872954112   DEBUG: -->Python Interpreter Initialized<--
2020-12-16 20:15:11.241 T:139763872954112   DEBUG: CPythonInvoker(2, /home/seddy/.kodi/addons/plugin.video.youtube/resources/lib/startup.py): the source file to load is "/home/seddy/.kodi/addons/plugin.video.youtube/resources/lib/startup.py"
2020-12-16 20:15:11.241 T:139764502075136   DEBUG: CPythonInvoker(0, /home/seddy/.kodi/addons/service.xbmc.versioncheck/resources/lib/runner.py): setting the Python path to /home/seddy/.kodi/addons/service.xbmc.versioncheck/resources/lib:/home/seddy/.local/lib/python2.7/site-packages/PyOpenGL-3.1.0-py2.7.egg:/home/seddy/.local/lib/python2.7/site-packages/ftputil-3.2-py2.7.egg:/home/seddy/.local/lib/python2.7/site-packages/Pillow-1.7.8-py2.7-linux-x86_64.egg:/home/seddy/.local/lib/python2.7/site-packages/PyYAML-3.10-py2.7-linux-x86_64.egg:/usr/lib/python2.7:/usr/lib/python2.7/plat-x86_64-linux-gnu:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload:/home/seddy/.local/lib/python2.7/site-packages:/usr/local/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages/PILcompat:/usr/lib/python2.7/dist-packages/gtk-2.0:/usr/lib/python2.7/dist-packages/wx-3.0-gtk2
2020-12-16 20:15:11.241 T:139764502075136   DEBUG: CPythonInvoker(0, /home/seddy/.kodi/addons/service.xbmc.versioncheck/resources/lib/runner.py): entering source directory /home/seddy/.kodi/addons/service.xbmc.versioncheck/resources/lib
2020-12-16 20:15:11.241 T:139764502075136   DEBUG: CPythonInvoker(0, /home/seddy/.kodi/addons/service.xbmc.versioncheck/resources/lib/runner.py): instantiating addon using automatically obtained id of "service.xbmc.versioncheck" dependent on version 2.14.0 of the xbmc.python api
2020-12-16 20:15:11.241 T:139763872954112   DEBUG: CPythonInvoker(2, /home/seddy/.kodi/addons/plugin.video.youtube/resources/lib/startup.py): setting the Python path to /home/seddy/.kodi/addons/plugin.video.youtube/resources/lib:/home/seddy/.kodi/addons/script.module.certifi/lib:/home/seddy/.kodi/addons/script.module.chardet/lib:/home/seddy/.kodi/addons/script.module.idna/lib:/home/seddy/.kodi/addons/script.module.inputstreamhelper/lib:/home/seddy/.kodi/addons/script.module.requests/lib:/home/seddy/.kodi/addons/script.module.six/lib:/home/seddy/.kodi/addons/script.module.urllib3/lib:/home/seddy/.local/lib/python2.7/site-packages/PyOpenGL-3.1.0-py2.7.egg:/home/seddy/.local/lib/python2.7/site-packages/ftputil-3.2-py2.7.egg:/home/seddy/.local/lib/python2.7/site-packages/Pillow-1.7.8-py2.7-linux-x86_64.egg:/home/seddy/.local/lib/python2.7/site-packages/PyYAML-3.10-py2.7-linux-x86_64.egg:/usr/lib/python2.7:/usr/lib/python2.7/plat-x86_64-linux-gnu:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload:/home/seddy/.local/lib/python2.7/site-packages:/usr/local/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages/PILcompat:/usr/lib/python2.7/dist-packages/gtk-2.0:/usr/lib/python2.7/dist-packages/wx-3.0-gtk2
2020-12-16 20:15:11.241 T:139763872954112   DEBUG: CPythonInvoker(2, /home/seddy/.kodi/addons/plugin.video.youtube/resources/lib/startup.py): entering source directory /home/seddy/.kodi/addons/plugin.video.youtube/resources/lib
2020-12-16 20:15:11.241 T:139763872954112   DEBUG: CPythonInvoker(2, /home/seddy/.kodi/addons/plugin.video.youtube/resources/lib/startup.py): instantiating addon using automatically obtained id of "plugin.video.youtube" dependent on version 2.20.0 of the xbmc.python api
2020-12-16 20:15:11.241 T:139764493682432   DEBUG: CPythonInvoker(1, /home/seddy/.kodi/addons/script.common.plugin.cache/resources/lib/entry_point.py): setting the Python path to /home/seddy/.kodi/addons/script.common.plugin.cache/resources/lib:/home/seddy/.local/lib/python2.7/site-packages/PyOpenGL-3.1.0-py2.7.egg:/home/seddy/.local/lib/python2.7/site-packages/ftputil-3.2-py2.7.egg:/home/seddy/.local/lib/python2.7/site-packages/Pillow-1.7.8-py2.7-linux-x86_64.egg:/home/seddy/.local/lib/python2.7/site-packages/PyYAML-3.10-py2.7-linux-x86_64.egg:/usr/lib/python2.7:/usr/lib/python2.7/plat-x86_64-linux-gnu:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload:/home/seddy/.local/lib/python2.7/site-packages:/usr/local/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages/PILcompat:/usr/lib/python2.7/dist-packages/gtk-2.0:/usr/lib/python2.7/dist-packages/wx-3.0-gtk2
2020-12-16 20:15:11.241 T:139764493682432   DEBUG: CPythonInvoker(1, /home/seddy/.kodi/addons/script.common.plugin.cache/resources/lib/entry_point.py): entering source directory /home/seddy/.kodi/addons/script.common.plugin.cache/resources/lib
2020-12-16 20:15:11.241 T:139764493682432   DEBUG: CPythonInvoker(1, /home/seddy/.kodi/addons/script.common.plugin.cache/resources/lib/entry_point.py): instantiating addon using automatically obtained id of "script.common.plugin.cache" dependent on version 2.24.0 of the xbmc.python api
2020-12-16 20:15:11.241 T:139763864561408   DEBUG: -->Python Interpreter Initialized<--
2020-12-16 20:15:11.241 T:139763864561408   DEBUG: CPythonInvoker(3, /home/seddy/.kodi/addons/plugin.video.netflix/service.py): the source file to load is "/home/seddy/.kodi/addons/plugin.video.netflix/service.py"
2020-12-16 20:15:11.339 T:139765674461568   DEBUG: ------ Window Init (Pointer.xml) ------
2020-12-16 20:15:11.548 T:139763872954112   DEBUG: CAddonSettings[plugin.video.youtube]: loading setting definitions
2020-12-16 20:15:11.548 T:139763872954112   DEBUG: CAddonSettings[plugin.video.youtube]: trying to load setting definitions from old format...
2020-12-16 20:15:11.549 T:139763872954112   DEBUG: CAddonSettings[plugin.video.youtube]: loading setting values
2020-12-16 20:15:11.549 T:139763872954112   DEBUG: CSettingsManager: requested setting (kodion.mpd.webm) was not found.
2020-12-16 20:15:11.549 T:139763872954112   DEBUG: CAddonSettings[plugin.video.youtube]: failed to find definition for setting kodion.mpd.webm. Creating a setting on-the-fly...
2020-12-16 20:15:11.549 T:139763872954112   DEBUG: CSettingsManager: requested setting (youtube.api.config.address) was not found.
2020-12-16 20:15:11.549 T:139763872954112   DEBUG: CAddonSettings[plugin.video.youtube]: failed to find definition for setting youtube.api.config.address. Creating a setting on-the-fly...
2020-12-16 20:15:11.549 T:139763872954112   DEBUG: CSettingsManager: requested setting (youtube.api.enable) was not found.
2020-12-16 20:15:11.549 T:139763872954112   DEBUG: CAddonSettings[plugin.video.youtube]: failed to find definition for setting youtube.api.enable. Creating a setting on-the-fly...
2020-12-16 20:15:11.549 T:139763872954112   DEBUG: CSettingsManager: requested setting (youtube.api.key.switch) was not found.
2020-12-16 20:15:11.549 T:139763872954112   DEBUG: CAddonSettings[plugin.video.youtube]: failed to find definition for setting youtube.api.key.switch. Creating a setting on-the-fly...
2020-12-16 20:15:11.549 T:139763872954112   DEBUG: CSettingsManager: requested setting (youtube.get.watch_later.playlist.id) was not found.
2020-12-16 20:15:11.549 T:139763872954112   DEBUG: CAddonSettings[plugin.video.youtube]: failed to find definition for setting youtube.get.watch_later.playlist.id. Creating a setting on-the-fly...
2020-12-16 20:15:11.549 T:139763872954112   DEBUG: CSettingsManager: requested setting (youtube.search.remote.friendly) was not found.
2020-12-16 20:15:11.549 T:139763872954112   DEBUG: CAddonSettings[plugin.video.youtube]: failed to find definition for setting youtube.search.remote.friendly. Creating a setting on-the-fly...
2020-12-16 20:15:11.549 T:139763872954112   DEBUG: [plugin.video.youtube] send_notification: |check_settings| -> |{"httpd_address": "127.0.0.1", "use_httpd": true, "whitelist": "", "httpd_port": 50152}|
2020-12-16 20:15:11.550 T:139763872954112   DEBUG: [plugin.video.youtube] JSONStore Load |/home/seddy/.kodi/userdata/addon_data/plugin.video.youtube/api_keys.json|
2020-12-16 20:15:11.550 T:139763872954112   DEBUG: [plugin.video.youtube] JSONStore Load |/home/seddy/.kodi/userdata/addon_data/plugin.video.youtube/access_manager.json|
2020-12-16 20:15:11.550 T:139763872954112   DEBUG: [plugin.video.youtube] User: |0| Using API key set: |own|
2020-12-16 20:15:11.553 T:139763872954112   DEBUG: [plugin.video.youtube] YouTube service initialization...
2020-12-16 20:15:11.553 T:139763872954112   DEBUG: CAddonSettings[plugin.video.youtube]: loading setting definitions
2020-12-16 20:15:11.553 T:139763872954112   DEBUG: CAddonSettings[plugin.video.youtube]: trying to load setting definitions from old format...
2020-12-16 20:15:11.554 T:139765674461568   DEBUG: LogindUPowerSyscall - Received unknown signal NameAcquired
2020-12-16 20:15:11.555 T:139763872954112   DEBUG: CAddonSettings[plugin.video.youtube]: loading setting values
2020-12-16 20:15:11.555 T:139763872954112   DEBUG: CSettingsManager: requested setting (kodion.mpd.webm) was not found.
2020-12-16 20:15:11.555 T:139763872954112   DEBUG: CAddonSettings[plugin.video.youtube]: failed to find definition for setting kodion.mpd.webm. Creating a setting on-the-fly...
2020-12-16 20:15:11.555 T:139763872954112   DEBUG: CSettingsManager: requested setting (youtube.api.config.address) was not found.
2020-12-16 20:15:11.555 T:139763872954112   DEBUG: CAddonSettings[plugin.video.youtube]: failed to find definition for setting youtube.api.config.address. Creating a setting on-the-fly...
2020-12-16 20:15:11.555 T:139763872954112   DEBUG: CSettingsManager: requested setting (youtube.api.enable) was not found.
2020-12-16 20:15:11.555 T:139763872954112   DEBUG: CAddonSettings[plugin.video.youtube]: failed to find definition for setting youtube.api.enable. Creating a setting on-the-fly...
2020-12-16 20:15:11.555 T:139763872954112   DEBUG: CSettingsManager: requested setting (youtube.api.key.switch) was not found.
2020-12-16 20:15:11.555 T:139763872954112   DEBUG: CAddonSettings[plugin.video.youtube]: failed to find definition for setting youtube.api.key.switch. Creating a setting on-the-fly...
2020-12-16 20:15:11.555 T:139763872954112   DEBUG: CSettingsManager: requested setting (youtube.get.watch_later.playlist.id) was not found.
2020-12-16 20:15:11.555 T:139763872954112   DEBUG: CAddonSettings[plugin.video.youtube]: failed to find definition for setting youtube.get.watch_later.playlist.id. Creating a setting on-the-fly...
2020-12-16 20:15:11.555 T:139763872954112   DEBUG: CSettingsManager: requested setting (youtube.search.remote.friendly) was not found.
2020-12-16 20:15:11.555 T:139763872954112   DEBUG: CAddonSettings[plugin.video.youtube]: failed to find definition for setting youtube.search.remote.friendly. Creating a setting on-the-fly...
2020-12-16 20:15:11.555 T:139763872954112   DEBUG: [plugin.video.youtube] HTTPServer: Starting |127.0.0.1:50152|
2020-12-16 20:15:11.583 T:139763872954112   DEBUG: [plugin.video.youtube] HTTPServer: Serving on |127.0.0.1:50152|
2020-12-16 20:15:11.584 T:139764502075136   DEBUG: CAddonSettings[service.xbmc.versioncheck]: loading setting definitions
2020-12-16 20:15:11.584 T:139764502075136   DEBUG: CAddonSettings[service.xbmc.versioncheck]: trying to load setting definitions from old format...
2020-12-16 20:15:11.584 T:139764502075136   DEBUG: CAddonSettings[service.xbmc.versioncheck]: loading setting values
2020-12-16 20:15:11.584 T:139764502075136   DEBUG: CSettingsManager: requested setting (lastnotified_stable) was not found.
2020-12-16 20:15:11.584 T:139764502075136   DEBUG: CAddonSettings[service.xbmc.versioncheck]: failed to find definition for setting lastnotified_stable. Creating a setting on-the-fly...
2020-12-16 20:15:11.584 T:139764502075136   DEBUG: Version Check: Version 0.5.12 started
2020-12-16 20:15:11.584 T:139763872954112   DEBUG: CAddonSettings[plugin.video.youtube]: loading setting definitions
2020-12-16 20:15:11.584 T:139763872954112   DEBUG: CAddonSettings[plugin.video.youtube]: trying to load setting definitions from old format...
2020-12-16 20:15:11.585 T:139763872954112   DEBUG: CAddonSettings[plugin.video.youtube]: loading setting values
2020-12-16 20:15:11.585 T:139763872954112   DEBUG: CSettingsManager: requested setting (kodion.mpd.webm) was not found.
2020-12-16 20:15:11.585 T:139763872954112   DEBUG: CAddonSettings[plugin.video.youtube]: failed to find definition for setting kodion.mpd.webm. Creating a setting on-the-fly...
2020-12-16 20:15:11.585 T:139763872954112   DEBUG: CSettingsManager: requested setting (youtube.api.config.address) was not found.
2020-12-16 20:15:11.585 T:139763872954112   DEBUG: CAddonSettings[plugin.video.youtube]: failed to find definition for setting youtube.api.config.address. Creating a setting on-the-fly...
2020-12-16 20:15:11.585 T:139763872954112   DEBUG: CSettingsManager: requested setting (youtube.api.enable) was not found.
2020-12-16 20:15:11.585 T:139763872954112   DEBUG: CAddonSettings[plugin.video.youtube]: failed to find definition for setting youtube.api.enable. Creating a setting on-the-fly...
2020-12-16 20:15:11.585 T:139763872954112   DEBUG: CSettingsManager: requested setting (youtube.api.key.switch) was not found.
2020-12-16 20:15:11.585 T:139763872954112   DEBUG: CAddonSettings[plugin.video.youtube]: failed to find definition for setting youtube.api.key.switch. Creating a setting on-the-fly...
2020-12-16 20:15:11.586 T:139763872954112   DEBUG: CSettingsManager: requested setting (youtube.get.watch_later.playlist.id) was not found.
2020-12-16 20:15:11.586 T:139763872954112   DEBUG: CAddonSettings[plugin.video.youtube]: failed to find definition for setting youtube.get.watch_later.playlist.id. Creating a setting on-the-fly...
2020-12-16 20:15:11.586 T:139763872954112   DEBUG: CSettingsManager: requested setting (youtube.search.remote.friendly) was not found.
2020-12-16 20:15:11.586 T:139763872954112   DEBUG: CAddonSettings[plugin.video.youtube]: failed to find definition for setting youtube.search.remote.friendly. Creating a setting on-the-fly...
2020-12-16 20:15:11.586 T:139763864561408   DEBUG: CPythonInvoker(3, /home/seddy/.kodi/addons/plugin.video.netflix/service.py): setting the Python path to /home/seddy/.kodi/addons/plugin.video.netflix:/home/seddy/.kodi/addons/script.module.addon.signals/lib:/home/seddy/.kodi/addons/script.module.certifi/lib:/home/seddy/.kodi/addons/script.module.chardet/lib:/home/seddy/.kodi/addons/script.module.future/libs:/home/seddy/.kodi/addons/script.module.idna/lib:/home/seddy/.kodi/addons/script.module.inputstreamhelper/lib:/home/seddy/.kodi/addons/script.module.requests/lib:/home/seddy/.kodi/addons/script.module.urllib3/lib:/usr/share/kodi/addons/script.module.pycryptodome/lib:/home/seddy/.local/lib/python2.7/site-packages/PyOpenGL-3.1.0-py2.7.egg:/home/seddy/.local/lib/python2.7/site-packages/ftputil-3.2-py2.7.egg:/home/seddy/.local/lib/python2.7/site-packages/Pillow-1.7.8-py2.7-linux-x86_64.egg:/home/seddy/.local/lib/python2.7/site-packages/PyYAML-3.10-py2.7-linux-x86_64.egg:/usr/lib/python2.7:/usr/lib/python2.7/plat-x86_64-linux-gnu:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload:/home/seddy/.local/lib/python2.7/site-packages:/usr/local/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages/PILcompat:/usr/lib/python2.7/dist-packages/gtk-2.0:/usr/lib/python2.7/dist-packages/wx-3.0-gtk2
2020-12-16 20:15:11.586 T:139763864561408   DEBUG: CPythonInvoker(3, /home/seddy/.kodi/addons/plugin.video.netflix/service.py): entering source directory /home/seddy/.kodi/addons/plugin.video.netflix
2020-12-16 20:15:11.586 T:139763864561408   DEBUG: CPythonInvoker(3, /home/seddy/.kodi/addons/plugin.video.netflix/service.py): instantiating addon using automatically obtained id of "plugin.video.netflix" dependent on version 2.26.0 of the xbmc.python api
2020-12-16 20:15:11.597 T:139764493682432   DEBUG: CAddonSettings[script.common.plugin.cache]: loading setting definitions
2020-12-16 20:15:11.597 T:139764493682432   DEBUG: CAddonSettings[script.common.plugin.cache]: trying to load setting definitions from old format...
2020-12-16 20:15:11.615 T:139763864561408   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.ImportError'>
                                            Error Contents: No module named run_service
                                            Traceback (most recent call last):
                                              File "/home/seddy/.kodi/addons/plugin.video.netflix/service.py", line 13, in <module>
                                                from resources.lib.run_service import run
                                            ImportError: No module named run_service
                                            -->End of Python script error report<--
2020-12-16 20:15:11.615 T:139763864561408   DEBUG: onExecutionDone(3, /home/seddy/.kodi/addons/plugin.video.netflix/service.py)
2020-12-16 20:15:11.618 T:139763864561408    INFO: Python interpreter stopped
2020-12-16 20:15:11.618 T:139763864561408   DEBUG: Thread LanguageInvoker 139763864561408 terminating
2020-12-16 20:15:11.620 T:139765674461568   DEBUG: ------ Window Init (DialogNotification.xml) ------
2020-12-16 20:15:11.634 T:139763461908224   DEBUG: CAddonSettings[script.common.plugin.cache]: loading setting definitions
2020-12-16 20:15:11.634 T:139763461908224   DEBUG: CAddonSettings[script.common.plugin.cache]: trying to load setting definitions from old format...
2020-12-16 20:15:11.635 T:139763461908224   DEBUG: CAddonSettings[script.common.plugin.cache]: loading setting definitions
2020-12-16 20:15:11.635 T:139763461908224   DEBUG: CAddonSettings[script.common.plugin.cache]: trying to load setting definitions from old format...
2020-12-16 20:15:11.635 T:139763461908224   DEBUG: [StorageClient-2.6.1] Service loaded, starting server ...
2020-12-16 20:15:11.637 T:139763872954112   DEBUG: CAddonSettings[plugin.video.youtube]: loading setting definitions
2020-12-16 20:15:11.637 T:139763872954112   DEBUG: CAddonSettings[plugin.video.youtube]: trying to load setting definitions from old format...
2020-12-16 20:15:11.638 T:139763872954112   DEBUG: CAddonSettings[plugin.video.youtube]: loading setting values
2020-12-16 20:15:11.638 T:139763872954112   DEBUG: CSettingsManager: requested setting (kodion.mpd.webm) was not found.
2020-12-16 20:15:11.638 T:139763872954112   DEBUG: CAddonSettings[plugin.video.youtube]: failed to find definition for setting kodion.mpd.webm. Creating a setting on-the-fly...
2020-12-16 20:15:11.638 T:139763872954112   DEBUG: CSettingsManager: requested setting (youtube.api.config.address) was not found.
2020-12-16 20:15:11.638 T:139763872954112   DEBUG: CAddonSettings[plugin.video.youtube]: failed to find definition for setting youtube.api.config.address. Creating a setting on-the-fly...
2020-12-16 20:15:11.638 T:139763872954112   DEBUG: CSettingsManager: requested setting (youtube.api.enable) was not found.
2020-12-16 20:15:11.639 T:139763872954112   DEBUG: CAddonSettings[plugin.video.youtube]: failed to find definition for setting youtube.api.enable. Creating a setting on-the-fly...
2020-12-16 20:15:11.639 T:139763872954112   DEBUG: CSettingsManager: requested setting (youtube.api.key.switch) was not found.
2020-12-16 20:15:11.639 T:139763872954112   DEBUG: CAddonSettings[plugin.video.youtube]: failed to find definition for setting youtube.api.key.switch. Creating a setting on-the-fly...
2020-12-16 20:15:11.639 T:139763872954112   DEBUG: CSettingsManager: requested setting (youtube.get.watch_later.playlist.id) was not found.
2020-12-16 20:15:11.639 T:139763872954112   DEBUG: CAddonSettings[plugin.video.youtube]: failed to find definition for setting youtube.get.watch_later.playlist.id. Creating a setting on-the-fly...
2020-12-16 20:15:11.639 T:139763872954112   DEBUG: CSettingsManager: requested setting (youtube.search.remote.friendly) was not found.
2020-12-16 20:15:11.639 T:139763872954112   DEBUG: CAddonSettings[plugin.video.youtube]: failed to find definition for setting youtube.search.remote.friendly. Creating a setting on-the-fly...
2020-12-16 20:15:11.645 T:139763470300928   DEBUG: CAddonSettings[plugin.video.youtube]: loading setting definitions
2020-12-16 20:15:11.645 T:139763470300928   DEBUG: CAddonSettings[plugin.video.youtube]: trying to load setting definitions from old format...
2020-12-16 20:15:11.646 T:139763470300928   DEBUG: CAddonSettings[plugin.video.youtube]: loading setting values
2020-12-16 20:15:11.646 T:139763470300928   DEBUG: CSettingsManager: requested setting (kodion.mpd.webm) was not found.
2020-12-16 20:15:11.646 T:139763470300928   DEBUG: CAddonSettings[plugin.video.youtube]: failed to find definition for setting kodion.mpd.webm. Creating a setting on-the-fly...
2020-12-16 20:15:11.646 T:139763470300928   DEBUG: CSettingsManager: requested setting (youtube.api.config.address) was not found.
2020-12-16 20:15:11.646 T:139763470300928   DEBUG: CAddonSettings[plugin.video.youtube]: failed to find definition for setting youtube.api.config.address. Creating a setting on-the-fly...
2020-12-16 20:15:11.646 T:139763470300928   DEBUG: CSettingsManager: requested setting (youtube.api.enable) was not found.
2020-12-16 20:15:11.646 T:139763470300928   DEBUG: CAddonSettings[plugin.video.youtube]: failed to find definition for setting youtube.api.enable. Creating a setting on-the-fly...
2020-12-16 20:15:11.646 T:139763470300928   DEBUG: CSettingsManager: requested setting (youtube.api.key.switch) was not found.
2020-12-16 20:15:11.646 T:139763470300928   DEBUG: CAddonSettings[plugin.video.youtube]: failed to find definition for setting youtube.api.key.switch. Creating a setting on-the-fly...
2020-12-16 20:15:11.646 T:139763470300928   DEBUG: CSettingsManager: requested setting (youtube.get.watch_later.playlist.id) was not found.
2020-12-16 20:15:11.646 T:139763470300928   DEBUG: CAddonSettings[plugin.video.youtube]: failed to find definition for setting youtube.get.watch_later.playlist.id. Creating a setting on-the-fly...
2020-12-16 20:15:11.646 T:139763470300928   DEBUG: CSettingsManager: requested setting (youtube.search.remote.friendly) was not found.
2020-12-16 20:15:11.646 T:139763470300928   DEBUG: CAddonSettings[plugin.video.youtube]: failed to find definition for setting youtube.search.remote.friendly. Creating a setting on-the-fly...
2020-12-16 20:15:11.647 T:139763470300928   DEBUG: CAddonSettings[plugin.video.youtube]: loading setting definitions
2020-12-16 20:15:11.647 T:139763470300928   DEBUG: CAddonSettings[plugin.video.youtube]: trying to load setting definitions from old format...
2020-12-16 20:15:11.648 T:139763470300928   DEBUG: CAddonSettings[plugin.video.youtube]: loading setting values
2020-12-16 20:15:11.648 T:139763470300928   DEBUG: CSettingsManager: requested setting (kodion.mpd.webm) was not found.
2020-12-16 20:15:11.648 T:139763470300928   DEBUG: CAddonSettings[plugin.video.youtube]: failed to find definition for setting kodion.mpd.webm. Creating a setting on-the-fly...
2020-12-16 20:15:11.648 T:139763470300928   DEBUG: CSettingsManager: requested setting (youtube.api.config.address) was not found.
2020-12-16 20:15:11.648 T:139763470300928   DEBUG: CAddonSettings[plugin.video.youtube]: failed to find definition for setting youtube.api.config.address. Creating a setting on-the-fly...
2020-12-16 20:15:11.648 T:139763470300928   DEBUG: CSettingsManager: requested setting (youtube.api.enable) was not found.
2020-12-16 20:15:11.648 T:139763470300928   DEBUG: CAddonSettings[plugin.video.youtube]: failed to find definition for setting youtube.api.enable. Creating a setting on-the-fly...
2020-12-16 20:15:11.648 T:139763470300928   DEBUG: CSettingsManager: requested setting (youtube.api.key.switch) was not found.
2020-12-16 20:15:11.648 T:139763470300928   DEBUG: CAddonSettings[plugin.video.youtube]: failed to find definition for setting youtube.api.key.switch. Creating a setting on-the-fly...
2020-12-16 20:15:11.648 T:139763470300928   DEBUG: CSettingsManager: requested setting (youtube.get.watch_later.playlist.id) was not found.
2020-12-16 20:15:11.648 T:139763470300928   DEBUG: CAddonSettings[plugin.video.youtube]: failed to find definition for setting youtube.get.watch_later.playlist.id. Creating a setting on-the-fly...
2020-12-16 20:15:11.648 T:139763470300928   DEBUG: CSettingsManager: requested setting (youtube.search.remote.friendly) was not found.
2020-12-16 20:15:11.648 T:139763470300928   DEBUG: CAddonSettings[plugin.video.youtube]: failed to find definition for setting youtube.search.remote.friendly. Creating a setting on-the-fly...
2020-12-16 20:15:11.750 T:139763872954112   DEBUG: [plugin.video.youtube] onNotification: |check_settings| -> |{"httpd_address": "127.0.0.1", "use_httpd": true, "whitelist": "", "httpd_port": 50152}|
2020-12-16 20:15:11.855 T:139763856168704   DEBUG: CZeroconfAvahi::groupCallback: Service successfully established
2020-12-16 20:15:13.309 T:139765674461568   DEBUG: Previous line repeats 1 times.
2020-12-16 20:15:13.309 T:139765674461568   DEBUG: ProcessMouse: trying mouse action leftclick
2020-12-16 20:15:13.309 T:139765674461568   DEBUG: Activating window ID: 10025
2020-12-16 20:15:13.569 T:139765674461568   DEBUG: ------ Window Deinit (Home.xml) ------
2020-12-16 20:15:13.569 T:139765674461568   DEBUG: FreeVisualisation() done
2020-12-16 20:15:13.571 T:139765674461568   DEBUG: ------ Window Init (MyVideoNav.xml) ------
2020-12-16 20:15:13.571 T:139765674461568    INFO: Loading skin file: MyVideoNav.xml, load type: KEEP_IN_MEMORY
2020-12-16 20:15:13.595 T:139765674461568   DEBUG: CGUIMediaWindow::GetDirectory (addons://sources/video/)
2020-12-16 20:15:13.595 T:139765674461568   DEBUG:   ParentPath = []
2020-12-16 20:15:13.598 T:139763864561408   DEBUG: Thread BackgroundLoader start, auto delete: false
2020-12-16 20:15:13.601 T:139763864561408   DEBUG: Thread BackgroundLoader 139763864561408 terminating
2020-12-16 20:15:14.988 T:139765674461568   DEBUG: ProcessMouse: trying mouse action leftclick
2020-12-16 20:15:14.989 T:139765674461568   DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.video.youtube/)
2020-12-16 20:15:14.989 T:139765674461568   DEBUG:   ParentPath = [addons://sources/video]
2020-12-16 20:15:14.989 T:139763864561408   DEBUG: Thread waiting start, auto delete: false
2020-12-16 20:15:14.994 T:139764708775680   DEBUG: CAddonDatabase::SetLastUsed[plugin.video.youtube] took 5 ms
2020-12-16 20:15:14.995 T:139763864561408   DEBUG: StartScript - calling plugin YouTube('plugin://plugin.video.youtube/','1','','resume:false')
2020-12-16 20:15:14.995 T:139763453515520   DEBUG: Thread LanguageInvoker start, auto delete: false
2020-12-16 20:15:14.995 T:139763453515520    INFO: initializing python engine.
2020-12-16 20:15:14.995 T:139763453515520   DEBUG: CPythonInvoker(4, /home/seddy/.kodi/addons/plugin.video.youtube/resources/lib/default.py): start processing
2020-12-16 20:15:15.059 T:139763453515520   DEBUG: -->Python Interpreter Initialized<--
2020-12-16 20:15:15.059 T:139763453515520   DEBUG: CPythonInvoker(4, /home/seddy/.kodi/addons/plugin.video.youtube/resources/lib/default.py): the source file to load is "/home/seddy/.kodi/addons/plugin.video.youtube/resources/lib/default.py"
2020-12-16 20:15:15.060 T:139763453515520   DEBUG: CPythonInvoker(4, /home/seddy/.kodi/addons/plugin.video.youtube/resources/lib/default.py): setting the Python path to /home/seddy/.kodi/addons/plugin.video.youtube/resources/lib:/home/seddy/.kodi/addons/script.module.certifi/lib:/home/seddy/.kodi/addons/script.module.chardet/lib:/home/seddy/.kodi/addons/script.module.idna/lib:/home/seddy/.kodi/addons/script.module.inputstreamhelper/lib:/home/seddy/.kodi/addons/script.module.requests/lib:/home/seddy/.kodi/addons/script.module.six/lib:/home/seddy/.kodi/addons/script.module.urllib3/lib:/home/seddy/.local/lib/python2.7/site-packages/PyOpenGL-3.1.0-py2.7.egg:/home/seddy/.local/lib/python2.7/site-packages/ftputil-3.2-py2.7.egg:/home/seddy/.local/lib/python2.7/site-packages/Pillow-1.7.8-py2.7-linux-x86_64.egg:/home/seddy/.local/lib/python2.7/site-packages/PyYAML-3.10-py2.7-linux-x86_64.egg:/usr/lib/python2.7:/usr/lib/python2.7/plat-x86_64-linux-gnu:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload:/home/seddy/.local/lib/python2.7/site-packages:/usr/local/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages/PILcompat:/usr/lib/python2.7/dist-packages/gtk-2.0:/usr/lib/python2.7/dist-packages/wx-3.0-gtk2
2020-12-16 20:15:15.060 T:139763453515520   DEBUG: CPythonInvoker(4, /home/seddy/.kodi/addons/plugin.video.youtube/resources/lib/default.py): entering source directory /home/seddy/.kodi/addons/plugin.video.youtube/resources/lib
2020-12-16 20:15:15.060 T:139763453515520   DEBUG: CPythonInvoker(4, /home/seddy/.kodi/addons/plugin.video.youtube/resources/lib/default.py): instantiating addon using automatically obtained id of "plugin.video.youtube" dependent on version 2.20.0 of the xbmc.python api
2020-12-16 20:15:15.089 T:139765674461568   DEBUG: ------ Window Init (DialogBusy.xml) ------
2020-12-16 20:15:15.402 T:139763453515520   DEBUG: CAddonSettings[plugin.video.youtube]: loading setting definitions
2020-12-16 20:15:15.402 T:139763453515520   DEBUG: CAddonSettings[plugin.video.youtube]: trying to load setting definitions from old format...
2020-12-16 20:15:15.403 T:139763453515520   DEBUG: CAddonSettings[plugin.video.youtube]: loading setting values
2020-12-16 20:15:15.403 T:139763453515520   DEBUG: CSettingsManager: requested setting (kodion.mpd.webm) was not found.
2020-12-16 20:15:15.403 T:139763453515520   DEBUG: CAddonSettings[plugin.video.youtube]: failed to find definition for setting kodion.mpd.webm. Creating a setting on-the-fly...
2020-12-16 20:15:15.403 T:139763453515520   DEBUG: CSettingsManager: requested setting (youtube.api.config.address) was not found.
2020-12-16 20:15:15.404 T:139763453515520   DEBUG: CAddonSettings[plugin.video.youtube]: failed to find definition for setting youtube.api.config.address. Creating a setting on-the-fly...
2020-12-16 20:15:15.404 T:139763453515520   DEBUG: CSettingsManager: requested setting (youtube.api.enable) was not found.
2020-12-16 20:15:15.404 T:139763453515520   DEBUG: CAddonSettings[plugin.video.youtube]: failed to find definition for setting youtube.api.enable. Creating a setting on-the-fly...
2020-12-16 20:15:15.404 T:139763453515520   DEBUG: CSettingsManager: requested setting (youtube.api.key.switch) was not found.
2020-12-16 20:15:15.404 T:139763453515520   DEBUG: CAddonSettings[plugin.video.youtube]: failed to find definition for setting youtube.api.key.switch. Creating a setting on-the-fly...
2020-12-16 20:15:15.404 T:139763453515520   DEBUG: CSettingsManager: requested setting (youtube.get.watch_later.playlist.id) was not found.
2020-12-16 20:15:15.404 T:139763453515520   DEBUG: CAddonSettings[plugin.video.youtube]: failed to find definition for setting youtube.get.watch_later.playlist.id. Creating a setting on-the-fly...
2020-12-16 20:15:15.404 T:139763453515520   DEBUG: CSettingsManager: requested setting (youtube.search.remote.friendly) was not found.
2020-12-16 20:15:15.404 T:139763453515520   DEBUG: CAddonSettings[plugin.video.youtube]: failed to find definition for setting youtube.search.remote.friendly. Creating a setting on-the-fly...
2020-12-16 20:15:15.404 T:139763453515520   DEBUG: [plugin.video.youtube] send_notification: |check_settings| -> |{"httpd_address": "127.0.0.1", "use_httpd": true, "whitelist": "", "httpd_port": 50152}|
2020-12-16 20:15:15.404 T:139763453515520   DEBUG: [plugin.video.youtube] JSONStore Load |/home/seddy/.kodi/userdata/addon_data/plugin.video.youtube/api_keys.json|
2020-12-16 20:15:15.405 T:139763453515520   DEBUG: [plugin.video.youtube] JSONStore Load |/home/seddy/.kodi/userdata/addon_data/plugin.video.youtube/access_manager.json|
2020-12-16 20:15:15.405 T:139763453515520   DEBUG: [plugin.video.youtube] User: |0| Using API key set: |own|
2020-12-16 20:15:15.408 T:139763453515520   DEBUG: [plugin.video.youtube] Starting Kodion framework by bromix...
2020-12-16 20:15:15.417 T:139763453515520    INFO: [plugin.video.youtube] Running: YouTube (6.8.9~beta3) on Leia (Kodi-18.9) with Python 2.7.12
                                            	Path: /
                                            	Params: {}
2020-12-16 20:15:15.418 T:139763453515520   DEBUG: CAddonSettings[plugin.video.youtube]: loading setting definitions
2020-12-16 20:15:15.418 T:139763453515520   DEBUG: CAddonSettings[plugin.video.youtube]: trying to load setting definitions from old format...
2020-12-16 20:15:15.419 T:139763453515520   DEBUG: CAddonSettings[plugin.video.youtube]: loading setting values
2020-12-16 20:15:15.419 T:139763453515520   DEBUG: CSettingsManager: requested setting (kodion.mpd.webm) was not found.
2020-12-16 20:15:15.419 T:139763453515520   DEBUG: CAddonSettings[plugin.video.youtube]: failed to find definition for setting kodion.mpd.webm. Creating a setting on-the-fly...
2020-12-16 20:15:15.419 T:139763453515520   DEBUG: CSettingsManager: requested setting (youtube.api.config.address) was not found.
2020-12-16 20:15:15.419 T:139763453515520   DEBUG: CAddonSettings[plugin.video.youtube]: failed to find definition for setting youtube.api.config.address. Creating a setting on-the-fly...
2020-12-16 20:15:15.419 T:139763453515520   DEBUG: CSettingsManager: requested setting (youtube.api.enable) was not found.
2020-12-16 20:15:15.419 T:139763453515520   DEBUG: CAddonSettings[plugin.video.youtube]: failed to find definition for setting youtube.api.enable. Creating a setting on-the-fly...
2020-12-16 20:15:15.419 T:139763453515520   DEBUG: CSettingsManager: requested setting (youtube.api.key.switch) was not found.
2020-12-16 20:15:15.419 T:139763453515520   DEBUG: CAddonSettings[plugin.video.youtube]: failed to find definition for setting youtube.api.key.switch. Creating a setting on-the-fly...
2020-12-16 20:15:15.419 T:139763453515520   DEBUG: CSettingsManager: requested setting (youtube.get.watch_later.playlist.id) was not found.
2020-12-16 20:15:15.419 T:139763453515520   DEBUG: CAddonSettings[plugin.video.youtube]: failed to find definition for setting youtube.get.watch_later.playlist.id. Creating a setting on-the-fly...
2020-12-16 20:15:15.419 T:139763453515520   DEBUG: CSettingsManager: requested setting (youtube.search.remote.friendly) was not found.
2020-12-16 20:15:15.419 T:139763453515520   DEBUG: CAddonSettings[plugin.video.youtube]: failed to find definition for setting youtube.search.remote.friendly. Creating a setting on-the-fly...
2020-12-16 20:15:15.423 T:139763453515520   DEBUG: [plugin.video.youtube] JSONStore Load |/home/seddy/.kodi/userdata/addon_data/plugin.video.youtube/access_manager.json|
2020-12-16 20:15:15.423 T:139763453515520   DEBUG: [plugin.video.youtube] Selecting YouTube config "All"
2020-12-16 20:15:15.423 T:139763453515520   DEBUG: [plugin.video.youtube] Access token count: |1| Refresh token count: |1|
2020-12-16 20:15:15.423 T:139763453515520   DEBUG: CAddonSettings[plugin.video.youtube]: loading setting definitions
2020-12-16 20:15:15.423 T:139763453515520   DEBUG: CAddonSettings[plugin.video.youtube]: trying to load setting definitions from old format...
2020-12-16 20:15:15.424 T:139763453515520   DEBUG: CAddonSettings[plugin.video.youtube]: loading setting values
2020-12-16 20:15:15.425 T:139763453515520   DEBUG: CSettingsManager: requested setting (kodion.mpd.webm) was not found.
2020-12-16 20:15:15.425 T:139763453515520   DEBUG: CAddonSettings[plugin.video.youtube]: failed to find definition for setting kodion.mpd.webm. Creating a setting on-the-fly...
2020-12-16 20:15:15.425 T:139763453515520   DEBUG: CSettingsManager: requested setting (youtube.api.config.address) was not found.
2020-12-16 20:15:15.425 T:139763453515520   DEBUG: CAddonSettings[plugin.video.youtube]: failed to find definition for setting youtube.api.config.address. Creating a setting on-the-fly...
2020-12-16 20:15:15.425 T:139763453515520   DEBUG: CSettingsManager: requested setting (youtube.api.enable) was not found.
2020-12-16 20:15:15.425 T:139763453515520   DEBUG: CAddonSettings[plugin.video.youtube]: failed to find definition for setting youtube.api.enable. Creating a setting on-the-fly...
2020-12-16 20:15:15.425 T:139763453515520   DEBUG: CSettingsManager: requested setting (youtube.api.key.switch) was not found.
2020-12-16 20:15:15.425 T:139763453515520   DEBUG: CAddonSettings[plugin.video.youtube]: failed to find definition for setting youtube.api.key.switch. Creating a setting on-the-fly...
2020-12-16 20:15:15.425 T:139763453515520   DEBUG: CSettingsManager: requested setting (youtube.get.watch_later.playlist.id) was not found.
2020-12-16 20:15:15.425 T:139763453515520   DEBUG: CAddonSettings[plugin.video.youtube]: failed to find definition for setting youtube.get.watch_later.playlist.id. Creating a setting on-the-fly...
2020-12-16 20:15:15.425 T:139763453515520   DEBUG: CSettingsManager: requested setting (youtube.search.remote.friendly) was not found.
2020-12-16 20:15:15.425 T:139763453515520   DEBUG: CAddonSettings[plugin.video.youtube]: failed to find definition for setting youtube.search.remote.friendly. Creating a setting on-the-fly...
2020-12-16 20:15:15.425 T:139763453515520   DEBUG: [plugin.video.youtube] User is logged in
2020-12-16 20:15:15.425 T:139763453515520   DEBUG: [plugin.video.youtube] Setting content-type: "files" for "/"
2020-12-16 20:15:15.434 T:139763453515520   DEBUG: [plugin.video.youtube] Shutdown of Kodion after |0.0262| seconds
2020-12-16 20:15:15.434 T:139763453515520    INFO: CPythonInvoker(4, /home/seddy/.kodi/addons/plugin.video.youtube/resources/lib/default.py): script successfully run
2020-12-16 20:15:15.434 T:139763864561408   DEBUG: Thread waiting 139763864561408 terminating
2020-12-16 20:15:15.434 T:139765674461568   DEBUG: ------ Window Deinit (DialogBusy.xml) ------
2020-12-16 20:15:15.435 T:139763864561408   DEBUG: Thread BackgroundLoader start, auto delete: false
2020-12-16 20:15:15.438 T:139765674461568   DEBUG: [Warning] CGUITextureManager::GetTexturePath: could not find texture 'OverlayUnwatched.png'
2020-12-16 20:15:15.438 T:139763864561408   DEBUG: Previous line repeats 6 times.
2020-12-16 20:15:15.438 T:139763864561408   DEBUG: Thread BackgroundLoader 139763864561408 terminating
2020-12-16 20:15:15.480 T:139763872954112   DEBUG: [plugin.video.youtube] onNotification: |check_settings| -> |{"httpd_address": "127.0.0.1", "use_httpd": true, "whitelist": "", "httpd_port": 50152}|
2020-12-16 20:15:16.012 T:139765674461568   DEBUG: [Warning] CGUITextureManager::GetTexturePath: could not find texture 'OverlayUnwatched.png'
2020-12-16 20:15:16.591 T:139764502075136   DEBUG: Version Check: Version installed {u'major': 18, u'tag': u'stable', u'minor': 9, u'revision': u'20201024-0655c2c718'}
2020-12-16 20:15:16.591 T:139764502075136   DEBUG: Version Check: Version available  {u'major': u'18', u'extrainfo': u'final', u'tagversion': u'', u'tag': u'stable', u'addon_support': u'yes', u'minor': u'9', u'revision': u'20201023-0655c2c718'}
2020-12-16 20:15:16.591 T:139764502075136   DEBUG: Version Check: There is no newer stable available
2020-12-16 20:15:16.591 T:139764502075136    INFO: CPythonInvoker(0, /home/seddy/.kodi/addons/service.xbmc.versioncheck/resources/lib/runner.py): script successfully run
2020-12-16 20:15:16.591 T:139764502075136   DEBUG: onExecutionDone(0, /home/seddy/.kodi/addons/service.xbmc.versioncheck/resources/lib/runner.py)
2020-12-16 20:15:16.626 T:139764502075136    INFO: Python interpreter stopped
2020-12-16 20:15:16.626 T:139764502075136   DEBUG: Thread LanguageInvoker 139764502075136 terminating
2020-12-16 20:15:16.789 T:139765674461568   DEBUG: ProcessMouse: trying mouse action leftclick
2020-12-16 20:15:16.790 T:139765674461568   DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.video.youtube/channel/mine/playlist/%20WL/)
2020-12-16 20:15:16.790 T:139765674461568   DEBUG:   ParentPath = [plugin://plugin.video.youtube/]
2020-12-16 20:15:16.791 T:139764502075136   DEBUG: Thread waiting start, auto delete: false
2020-12-16 20:15:16.801 T:139764708775680   DEBUG: CAddonDatabase::SetLastUsed[plugin.video.youtube] took 10 ms
2020-12-16 20:15:16.801 T:139764502075136   DEBUG: StartScript - calling plugin YouTube('plugin://plugin.video.youtube/channel/mine/playlist/%20WL/','1','','resume:false')
2020-12-16 20:15:16.801 T:139764502075136   DEBUG: GetLanguageInvoker - Reusing LanguageInvokerThread 4 for script /home/seddy/.kodi/addons/plugin.video.youtube/resources/lib/default.py
2020-12-16 20:15:16.801 T:139763453515520    INFO: initializing python engine.
2020-12-16 20:15:16.802 T:139763453515520   DEBUG: CPythonInvoker(4, /home/seddy/.kodi/addons/plugin.video.youtube/resources/lib/default.py): start processing
2020-12-16 20:15:16.802 T:139763453515520   DEBUG: CPythonInvoker(4, /home/seddy/.kodi/addons/plugin.video.youtube/resources/lib/default.py): entering source directory /home/seddy/.kodi/addons/plugin.video.youtube/resources/lib
2020-12-16 20:15:16.802 T:139763453515520   DEBUG: CPythonInvoker(4, /home/seddy/.kodi/addons/plugin.video.youtube/resources/lib/default.py): instantiating addon using automatically obtained id of "plugin.video.youtube" dependent on version 2.20.0 of the xbmc.python api
2020-12-16 20:15:16.803 T:139763453515520   DEBUG: [plugin.video.youtube] Starting Kodion framework by bromix...
2020-12-16 20:15:16.803 T:139763453515520    INFO: [plugin.video.youtube] Running: YouTube (6.8.9~beta3) on Leia (Kodi-18.9) with Python 2.7.12
                                            	Path: /channel/mine/playlist/ WL/
                                            	Params: {}
2020-12-16 20:15:16.805 T:139763453515520   DEBUG: CAddonSettings[plugin.video.youtube]: loading setting definitions
2020-12-16 20:15:16.805 T:139763453515520   DEBUG: CAddonSettings[plugin.video.youtube]: trying to load setting definitions from old format...
2020-12-16 20:15:16.808 T:139763453515520   DEBUG: CAddonSettings[plugin.video.youtube]: loading setting values
2020-12-16 20:15:16.809 T:139763453515520   DEBUG: CSettingsManager: requested setting (kodion.mpd.webm) was not found.
2020-12-16 20:15:16.809 T:139763453515520   DEBUG: CAddonSettings[plugin.video.youtube]: failed to find definition for setting kodion.mpd.webm. Creating a setting on-the-fly...
2020-12-16 20:15:16.809 T:139763453515520   DEBUG: CSettingsManager: requested setting (youtube.api.config.address) was not found.
2020-12-16 20:15:16.809 T:139763453515520   DEBUG: CAddonSettings[plugin.video.youtube]: failed to find definition for setting youtube.api.config.address. Creating a setting on-the-fly...
2020-12-16 20:15:16.810 T:139763453515520   DEBUG: CSettingsManager: requested setting (youtube.api.enable) was not found.
2020-12-16 20:15:16.810 T:139763453515520   DEBUG: CAddonSettings[plugin.video.youtube]: failed to find definition for setting youtube.api.enable. Creating a setting on-the-fly...
2020-12-16 20:15:16.810 T:139763453515520   DEBUG: CSettingsManager: requested setting (youtube.api.key.switch) was not found.
2020-12-16 20:15:16.810 T:139763453515520   DEBUG: CAddonSettings[plugin.video.youtube]: failed to find definition for setting youtube.api.key.switch. Creating a setting on-the-fly...
2020-12-16 20:15:16.810 T:139763453515520   DEBUG: CSettingsManager: requested setting (youtube.get.watch_later.playlist.id) was not found.
2020-12-16 20:15:16.810 T:139763453515520   DEBUG: CAddonSettings[plugin.video.youtube]: failed to find definition for setting youtube.get.watch_later.playlist.id. Creating a setting on-the-fly...
2020-12-16 20:15:16.810 T:139763453515520   DEBUG: CSettingsManager: requested setting (youtube.search.remote.friendly) was not found.
2020-12-16 20:15:16.810 T:139763453515520   DEBUG: CAddonSettings[plugin.video.youtube]: failed to find definition for setting youtube.search.remote.friendly. Creating a setting on-the-fly...
2020-12-16 20:15:16.810 T:139763453515520   DEBUG: [plugin.video.youtube] Setting content-type: "videos" for "/channel/mine/playlist/ WL/"
2020-12-16 20:15:16.811 T:139763453515520   DEBUG: [plugin.video.youtube] JSONStore Load |/home/seddy/.kodi/userdata/addon_data/plugin.video.youtube/access_manager.json|
2020-12-16 20:15:16.812 T:139763453515520   DEBUG: [plugin.video.youtube] Selecting YouTube config "All"
2020-12-16 20:15:16.812 T:139763453515520   DEBUG: [plugin.video.youtube] Access token count: |1| Refresh token count: |1|
2020-12-16 20:15:16.812 T:139763453515520   DEBUG: [plugin.video.youtube] User is logged in
2020-12-16 20:15:16.813 T:139763453515520   DEBUG: [plugin.video.youtube] [data] v3 request: |GET| path: |playlistItems| params: |{'part': 'snippet', 'playlistId': ' WL', 'maxResults': '50'}| post_data: |None|
2020-12-16 20:15:16.891 T:139765674461568   DEBUG: ------ Window Init (DialogBusy.xml) ------
2020-12-16 20:15:17.069 T:139765674461568   DEBUG: ------ Window Deinit (DialogNotification.xml) ------
2020-12-16 20:15:21.801 T:139765674461568   DEBUG: ------ Window Deinit (Pointer.xml) ------
2020-12-16 20:15:22.143 T:139763453515520   DEBUG: [plugin.video.youtube] [data] v3 response: |404| headers: |{'X-XSS-Protection': '0', 'X-Content-Type-Options': 'nosniff', 'Content-Encoding': 'gzip', 'Transfer-Encoding': 'chunked', 'Vary': 'Origin, X-Origin, Referer', 'Server': 'scaffolding on HTTPServer2', 'Cache-Control': 'private', 'Date': 'Wed, 16 Dec 2020 19:15:22 GMT', 'X-Frame-Options': 'SAMEORIGIN', 'Alt-Svc': 'h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"', 'Content-Type': 'application/json; charset=UTF-8'}|
2020-12-16 20:15:22.145 T:139763453515520   ERROR: [plugin.video.youtube] Error reason: |playlistNotFound| with message: |The playlist identified with the request's playlistId parameter cannot be found.|
2020-12-16 20:15:22.146 T:139763453515520   DEBUG: [plugin.video.youtube] Shutdown of Kodion after |5.3439| seconds
2020-12-16 20:15:22.147 T:139764502075136   ERROR: GetDirectory - Error getting plugin://plugin.video.youtube/channel/mine/playlist/%20WL/
2020-12-16 20:15:22.147 T:139763453515520    INFO: CPythonInvoker(4, /home/seddy/.kodi/addons/plugin.video.youtube/resources/lib/default.py): script successfully run
2020-12-16 20:15:22.147 T:139764502075136   DEBUG: Thread waiting 139764502075136 terminating
2020-12-16 20:15:22.149 T:139765674461568   DEBUG: ------ Window Deinit (DialogBusy.xml) ------
2020-12-16 20:15:22.151 T:139765674461568   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.youtube/channel/mine/playlist/%20WL/) failed
2020-12-16 20:15:22.151 T:139765674461568   DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.video.youtube/)
2020-12-16 20:15:22.151 T:139765674461568   DEBUG:   ParentPath = [addons://sources/video]
2020-12-16 20:15:22.151 T:139764502075136   DEBUG: Thread waiting start, auto delete: false
2020-12-16 20:15:22.162 T:139764708775680   DEBUG: CAddonDatabase::SetLastUsed[plugin.video.youtube] took 11 ms
2020-12-16 20:15:22.163 T:139764502075136   DEBUG: StartScript - calling plugin YouTube('plugin://plugin.video.youtube/','1','','resume:false')
2020-12-16 20:15:22.163 T:139764502075136   DEBUG: GetLanguageInvoker - Reusing LanguageInvokerThread 4 for script /home/seddy/.kodi/addons/plugin.video.youtube/resources/lib/default.py
2020-12-16 20:15:22.163 T:139763453515520    INFO: initializing python engine.
2020-12-16 20:15:22.163 T:139763453515520   DEBUG: CPythonInvoker(4, /home/seddy/.kodi/addons/plugin.video.youtube/resources/lib/default.py): start processing
2020-12-16 20:15:22.164 T:139763453515520   DEBUG: CPythonInvoker(4, /home/seddy/.kodi/addons/plugin.video.youtube/resources/lib/default.py): entering source directory /home/seddy/.kodi/addons/plugin.video.youtube/resources/lib
2020-12-16 20:15:22.164 T:139763453515520   DEBUG: CPythonInvoker(4, /home/seddy/.kodi/addons/plugin.video.youtube/resources/lib/default.py): instantiating addon using automatically obtained id of "plugin.video.youtube" dependent on version 2.20.0 of the xbmc.python api
2020-12-16 20:15:22.165 T:139763453515520   DEBUG: [plugin.video.youtube] Starting Kodion framework by bromix...
2020-12-16 20:15:22.166 T:139763453515520    INFO: [plugin.video.youtube] Running: YouTube (6.8.9~beta3) on Leia (Kodi-18.9) with Python 2.7.12
                                            	Path: /
                                            	Params: {}
2020-12-16 20:15:22.167 T:139763453515520   DEBUG: CAddonSettings[plugin.video.youtube]: loading setting definitions
2020-12-16 20:15:22.167 T:139763453515520   DEBUG: CAddonSettings[plugin.video.youtube]: trying to load setting definitions from old format...
2020-12-16 20:15:22.171 T:139763453515520   DEBUG: CAddonSettings[plugin.video.youtube]: loading setting values
2020-12-16 20:15:22.173 T:139763453515520   DEBUG: CSettingsManager: requested setting (kodion.mpd.webm) was not found.
2020-12-16 20:15:22.174 T:139763453515520   DEBUG: CAddonSettings[plugin.video.youtube]: failed to find definition for setting kodion.mpd.webm. Creating a setting on-the-fly...
2020-12-16 20:15:22.174 T:139763453515520   DEBUG: CSettingsManager: requested setting (youtube.api.config.address) was not found.
2020-12-16 20:15:22.174 T:139763453515520   DEBUG: CAddonSettings[plugin.video.youtube]: failed to find definition for setting youtube.api.config.address. Creating a setting on-the-fly...
2020-12-16 20:15:22.174 T:139763453515520   DEBUG: CSettingsManager: requested setting (youtube.api.enable) was not found.
2020-12-16 20:15:22.174 T:139763453515520   DEBUG: CAddonSettings[plugin.video.youtube]: failed to find definition for setting youtube.api.enable. Creating a setting on-the-fly...
2020-12-16 20:15:22.174 T:139763453515520   DEBUG: CSettingsManager: requested setting (youtube.api.key.switch) was not found.
2020-12-16 20:15:22.174 T:139763453515520   DEBUG: CAddonSettings[plugin.video.youtube]: failed to find definition for setting youtube.api.key.switch. Creating a setting on-the-fly...
2020-12-16 20:15:22.174 T:139763453515520   DEBUG: CSettingsManager: requested setting (youtube.get.watch_later.playlist.id) was not found.
2020-12-16 20:15:22.174 T:139763453515520   DEBUG: CAddonSettings[plugin.video.youtube]: failed to find definition for setting youtube.get.watch_later.playlist.id. Creating a setting on-the-fly...
2020-12-16 20:15:22.174 T:139763453515520   DEBUG: CSettingsManager: requested setting (youtube.search.remote.friendly) was not found.
2020-12-16 20:15:22.174 T:139763453515520   DEBUG: CAddonSettings[plugin.video.youtube]: failed to find definition for setting youtube.search.remote.friendly. Creating a setting on-the-fly...
2020-12-16 20:15:22.175 T:139763453515520   DEBUG: [plugin.video.youtube] JSONStore Load |/home/seddy/.kodi/userdata/addon_data/plugin.video.youtube/access_manager.json|
2020-12-16 20:15:22.176 T:139763453515520   DEBUG: [plugin.video.youtube] Selecting YouTube config "All"
2020-12-16 20:15:22.176 T:139763453515520   DEBUG: [plugin.video.youtube] Access token count: |1| Refresh token count: |1|
2020-12-16 20:15:22.177 T:139763453515520   DEBUG: [plugin.video.youtube] User is logged in
2020-12-16 20:15:22.177 T:139763453515520   DEBUG: [plugin.video.youtube] Setting content-type: "files" for "/"
2020-12-16 20:15:22.181 T:139763453515520   DEBUG: [plugin.video.youtube] Shutdown of Kodion after |0.0163| seconds
2020-12-16 20:15:22.181 T:139763453515520    INFO: CPythonInvoker(4, /home/seddy/.kodi/addons/plugin.video.youtube/resources/lib/default.py): script successfully run
2020-12-16 20:15:22.181 T:139764502075136   DEBUG: Thread waiting 139764502075136 terminating
2020-12-16 20:15:22.184 T:139764502075136   DEBUG: Thread BackgroundLoader start, auto delete: false
2020-12-16 20:15:22.187 T:139765674461568   DEBUG: [Warning] CGUITextureManager::GetTexturePath: could not find texture 'OverlayUnwatched.png'
2020-12-16 20:15:22.190 T:139764502075136   DEBUG: Previous line repeats 6 times.
2020-12-16 20:15:22.190 T:139764502075136   DEBUG: Thread BackgroundLoader 139764502075136 terminating
2020-12-16 20:15:22.191 T:139765674461568   DEBUG: ------ Window Init (DialogNotification.xml) ------
2020-12-16 20:15:22.902 T:139765674461568   DEBUG: ------ Window Init (Pointer.xml) ------
2020-12-16 20:15:22.908 T:139765674461568   DEBUG: [Warning] CGUITextureManager::GetTexturePath: could not find texture 'OverlayUnwatched.png'
2020-12-16 20:15:28.076 T:139765674461568   DEBUG: Previous line repeats 1 times.
2020-12-16 20:15:28.076 T:139765674461568   DEBUG: ------ Window Deinit (Pointer.xml) ------

Additional Information

Maybe related to #55 and/or #56, but doesn't get fixed by using the latest version from git.

I found it suspicious that the plugin tried to load the playlist " WL" (with space in front), so I adjusted the code to load "WL" instead (by calling i simple strip() on the playlist string. This changes the situation, no error message anymore, but now the playlist is empty.

Recomedations ListItem not showing

Add-on Version: 6.8.9-beta3
Kodi Version: 18.9
Kodi GUI Language: Russian
Operating System: COREELEC
Operating System Language: EN
Recomedations ListItem not showing

What is the 'unofficial' release?

Hi, I love your add-on!
In your Releases page there's two flavors of release, one normal and one "unofficial".

What would be the difference?

YouTube Through VPN

Hi,
I live in Iran and have to use VPN Manager for OpenVPN (Link) to watch YouTube on my Kodi. I've got the private API, I've set it up and I don't think there an issue there. But after the update on my LibreELEC, it just doesn't work anymore. I've uploaded my log here:

https://pastebin.com/bJ1FCN3h

I believe now the addon, doesn't connect to YouTube server through my VPN.

Thank you.

ValueError (6.8.7)

2020-10-31 10:22:35.713 T:139694146844416   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.ValueError'>
                                            Error Contents: Extra data: line 20 column 5 - line 21 column 2 (char 1128 - 1131)
                                            Traceback (most recent call last):
                                              File "/home/user/.kodi/addons/plugin.video.youtube/resources/lib/default.py", line 12, in <module>
                                                from youtube_plugin import youtube
                                              File "/home/user/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/__init__.py", line 11, in <module>
                                                from .provider import Provider
                                              File "/home/user/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/provider.py", line 22, in <module>
                                                from ..youtube.client import YouTube
                                              File "/home/user/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/client/__init__.py", line 11, in <module>
                                                from .youtube import YouTube
                                              File "/home/user/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/client/youtube.py", line 19, in <module>
                                                from .login_client import LoginClient
                                              File "/home/user/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/client/login_client.py", line 17, in <module>
                                                from .__config__ import api, youtube_tv, developer_keys, keys_changed
                                              File "/home/user/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/client/__config__.py", line 222, in <module>
                                                _api_check = APICheck(__context, __settings)
                                              File "/home/user/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/client/__config__.py", line 30, in __init__
                                                self._am_jstore = LoginTokenStore()
                                              File "/home/user/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/json_store/login_tokens.py", line 17, in __init__
                                                JSONStore.__init__(self, 'access_manager.json')
                                              File "/home/user/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/json_store/json_store.py", line 39, in __init__
                                                self.load()
                                              File "/home/user/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/json_store/json_store.py", line 59, in load
                                                data = json.load(jsonfile)
                                              File "/usr/lib64/python2.7/json/__init__.py", line 291, in load
                                                **kw)
                                              File "/usr/lib64/python2.7/json/__init__.py", line 339, in loads
                                                return _default_decoder.decode(s)
                                              File "/usr/lib64/python2.7/json/decoder.py", line 367, in decode
                                                raise ValueError(errmsg("Extra data", s, end, len(s)))
                                            ValueError: Extra data: line 20 column 5 - line 21 column 2 (char 1128 - 1131)
                                            -->End of Python script error report<--
2020-10-31 10:22:35.757 T:139693308282624   ERROR: GetDirectory - Error getting plugin://plugin.video.youtube/

That's weird. This was not happening 4 days ago.

My subscriptions and Subscriptions not working since Youtube website redesign (empty list)

Context

  • Add-on Version: 6.8.7
  • Kodi Version: 18.9
  • Kodi GUI Language: English
  • Operating System: LibreELEC 9.2.6 (Intel CPU)
  • Operating System Language: English

Expected Behavior

Obtain a list of newly available videos posted on channels the signed in user is subscribed to.


Current Behavior

No results are shown when accessing those sections within Kodi.


Steps to Reproduce

Please provide detailed steps for reproducing the issue.

  1. Launch the youtube plugin
  2. Make sure user is logged in (using codes at https://google.com/device)
  3. Browse to the My subscriptions or Subscriptions sections.

Additional Information

Subscription list is working correctly (list available videos) on the Youtube website when logged with the same user.


Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.