-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
All Videos Unplayable #996
Comments
Appreciate you took the time to post a log using v7.0.9.2. Will look to push a v7.1.1.2 release out shortly to help those similarly affected. |
Just updated to 7.1.1.1 manually and the issues seems to be gone, only tested a few videos. Also tried before updating with 7.0.9.2 and no video worked, compared to yesterday where only some had errors. But i'm happy and thankful this has already been fixed just not pushed to offical repos yet. |
I have suddenly the same problem, but already using 7.1.1.1 since a few days. I played a video for my daughter and that run fine, and suddenly the next video could not be played anymore, now no video suitable for kids is working. |
Same here, no video playback possible, v7.1.1.1 (downloaded today). |
Same problem with 7.0.9.2 and 7.1.1.1. |
Fixed in 7.1.1.1 on my Kodi 20.5 (Ubuntu package). Thanks a lot ! |
This may be useful:
|
Same problem here, all youtube videos unplayable. Log shows "request contains an invalid argument".
I'll try installing the updated youtube plugin version tonight and see if that changes things |
installing v7.1.1.1 from the github releases official zip file fixed the issue, looks like. |
No luck here with the update to 7.1.1.1. Needed to Sign out. |
That's an interesting observation. It means that your OAuth credentials are no longer valid and need to be recreated. Follow the steps here: #439 (comment) Once you do this and can login again, can you check whether playback also works using v7.1.1.1? For anyone else having problems using v7.1.1.1, are you also unable to log in after logging out? Or are you able to log in, but still have problems with playback? There are reports of OAuth credentials no longer working in the way that it is used in this addon, and this change is slowly rolling out, but would be interested to find out a bit more from those correctly having issues using v7.1.1.1 |
Hey there, I would love to share a log too, but can't locate it. The /storage/logs folder is empty. :/ If you can give me a hint how to retrieve the log I would be happy to share it. :) |
@Kaizaaaa - don't need a log just at this stage, but can you try to logout and then login? Does the login work? If the login does work after the logout, but playback still doesn't work, then I would like to see a log. The easiest way to share a log is to use the Kodi Logfile Uploader addon. There are some instructions in the Kodi wiki: https://kodi.wiki/view/Log_file/Easy |
Followed step 9, 10 to switch OAuth from "Desktop client" to "TV client". This fixed sign in. Now again can't play anything as before. |
I had no problem logging out and logging in again, but I checked and my credentials are for TV.
Still no playback for me though. I have basically the same log output as @teodoryantcheff --
|
I logged out and logged in again. That did not help. So I followed the instructions to get the log file:
|
Getting the same exact issue on version 7.0.9.2 installed from Kodi's Add-on repository. I tried updating to version 7.1.1.1 but it looks like it hasn't been uploaded yet? |
v7.0.9.2 running on two XBox Series X under Kodi 21.1. - One affected, the other not. Separate accounts on each. Log off / Log in did not resolve. v7.0.9.2 appears to be the official in XBox repo. Manually updating to v7.1.1.1 on the affected machine seems to have resolved. |
Kodi 20 on Ubuntu 20.04, manually updated to 7.1.1.1 using zip from here, videos now play again. I didn't try logging out and back in again, either before or after updating. |
Same issue as shown in Kaizaaaa log #996 (comment). But I'm using:
Can play videos when logged out but not when logged in. |
Kodi 21 on LibreELEC 12.0.1. Installing 7.1.1.1 from zip works for me. |
Installing 7.1.1.1 from zip and running through setup wizard (including refreshing settings.xml at the end) appears to have worked. |
I was sure that I ran the setup wizard after the update. I tried again anyways and reset the settings.xml either. Now video playback works for me again. Thanks for looking into this. |
That worked for me as well:
Thanks for figuring that out!!! |
- Workaround for issues with family/linked accounts - Workaround for potential future restrictions on use of OAuth
- Workaround for issues with family/linked accounts - Workaround for potential future restrictions on use of OAuth
- Workaround for issues with family/linked accounts - Workaround for potential future restrictions on use of OAuth
- Workaround for issues with family/linked accounts - Workaround for potential future restrictions on use of OAuth
For those who are using v7.1.1.1, have run the Setup Wizard, logged out and back in, but are still having issues please try this test version (identified as v7.1.1.3): |
- Workaround for issues with family/linked accounts - Workaround for potential future restrictions on use of OAuth
With Version: 7.0.9.2 and 7.1.1.1 i get the same error: "Request contains an invalid argument" with @MoojMidge version 7.1.1.3 I get a new error. Logs from V 7.1.1.3
|
@kuene - that is unrelated to this issue. If you have the same problem after restarting your device, updating InputStream.Adaptive and running the Setup Wizard, then post a full debug log in a new issue - there appears to be some significant problems with the way your device is working |
@MoojMidge version 7.1.1.3 fixes this issue for me. 👏👏👏 |
Sorry for the stupid question, but how can I log out and log in again? I was blind and didn't find a menu or whatever 🙈 |
There are entries in the main menu of the addon to |
That's what happens. I see no reaction on the screen (no video, no error message):
|
Use Setup Wizard to configure the addon correctly. v7.1.1.3 has now been released which contains these fixes |
I ran setup Wizzard, that's what happens now:
I get a messagebox which basically says "general failure, look at the protocol". |
Ok, I restarted Kodi, now it works :) Thanks a lot! |
@kuene, @mgrunwald - that is an issue with InputStream.Adaptive which occurs after updating: xbmc/inputstream.adaptive#454 A restart is required. |
- Workaround for issues with family/linked accounts - Workaround for potential future restrictions on use of OAuth
installing v7.1.1.3, deleting settings.xml and running the wizard solved this issue for me. Thanks for the effort. |
For me the update to v7.1.1.3 was enough, no need to delete settings.xml or running the setup wizard. I'm using my own Google API key, don't know if that makes a difference. |
- Workaround for issues with family/linked accounts - Workaround for potential future restrictions on use of OAuth
- Workaround for issues with family/linked accounts - Workaround for potential future restrictions on use of OAuth
- Workaround for issues with family/linked accounts - Workaround for potential future restrictions on use of OAuth
Context
Please provide any relevant information about your setup
Expected Behavior
Play video
Current Behavior
Error: UNKNOWN
Unplayable: This video is not available
Steps to Reproduce
Log
2024-11-25 15:12:41.281 T:1541 debug : [plugin.video.youtube] Starting Kodion framework by bromix...
2024-11-25 15:12:41.282 T:1541 info : [plugin.video.youtube] Running: YouTube (7.0.9.2) on Nexus (Kodi-20.2) with Python 3.10.12
Path: /play/
Params: {'video_id': 'jS_7lxKzdaU'}
2024-11-25 15:12:41.284 T:1541 debug : requested setting (kodion.access_token) was not found.
2024-11-25 15:12:41.284 T:1541 debug : requested setting (kodion.access_token.expires) was not found.
2024-11-25 15:12:41.284 T:1541 debug : requested setting (kodion.alternative_player.web.urls) was not found.
2024-11-25 15:12:41.284 T:1541 debug : requested setting (kodion.fanart.show) was not found.
2024-11-25 15:12:41.284 T:1541 debug : requested setting (kodion.mpd.hdr) was not found.
2024-11-25 15:12:41.284 T:1541 debug : requested setting (kodion.mpd.limit.30) was not found.
2024-11-25 15:12:41.284 T:1541 debug : requested setting (kodion.mpd.live_streams) was not found.
2024-11-25 15:12:41.284 T:1541 debug : requested setting (kodion.mpd.proxy.port) was not found.
2024-11-25 15:12:41.284 T:1541 debug : requested setting (kodion.playback.history) was not found.
2024-11-25 15:12:41.284 T:1541 debug : requested setting (kodion.refresh_token) was not found.
2024-11-25 15:12:41.284 T:1541 debug : requested setting (kodion.video.quality.mpd) was not found.
2024-11-25 15:12:41.284 T:1541 debug : requested setting (simple.requests.ssl.verify) was not found.
2024-11-25 15:12:41.284 T:1541 debug : requested setting (youtube.api.last.hash) was not found.
2024-11-25 15:12:41.284 T:1541 debug : requested setting (youtube.channel.fanart.show) was not found.
2024-11-25 15:12:41.284 T:1541 debug : requested setting (youtube.client.selection) was not found.
2024-11-25 15:12:41.284 T:1541 debug : requested setting (youtube.hide_shorts) was not found.
2024-11-25 15:12:41.284 T:1541 debug : requested setting (youtube.view.description.show_channel_name) was not found.
2024-11-25 15:12:41.284 T:1541 debug : [plugin.video.youtube] Get |kodion.setup_wizard.forced_runs|: 5 (int, success)
2024-11-25 15:12:41.284 T:1541 debug : [plugin.video.youtube] Get |kodion.setup_wizard|: False (bool, success)
2024-11-25 15:12:41.385 T:1541 debug : [plugin.video.youtube] Wakeup |server_wakeup| in 100ms
2024-11-25 15:12:41.385 T:1541 debug : [plugin.video.youtube] JSONStore.load - loading:
|/home/darksine/.kodi/userdata/addon_data/plugin.video.youtube/access_manager.json|
2024-11-25 15:12:41.385 T:1541 debug : [plugin.video.youtube] JSONStore.save - data unchanged:
|/home/darksine/.kodi/userdata/addon_data/plugin.video.youtube/access_manager.json|
2024-11-25 15:12:41.385 T:1541 debug : [plugin.video.youtube] JSONStore.load - loading:
|/home/darksine/.kodi/userdata/addon_data/plugin.video.youtube/api_keys.json|
2024-11-25 15:12:41.385 T:1541 debug : [plugin.video.youtube] JSONStore.save - data unchanged:
|/home/darksine/.kodi/userdata/addon_data/plugin.video.youtube/api_keys.json|
2024-11-25 15:12:41.385 T:1541 debug : [plugin.video.youtube] JSONStore.load - loading:
|/home/darksine/.kodi/userdata/addon_data/plugin.video.youtube/access_manager.json|
2024-11-25 15:12:41.385 T:1541 debug : [plugin.video.youtube] JSONStore.save - data unchanged:
|/home/darksine/.kodi/userdata/addon_data/plugin.video.youtube/access_manager.json|
2024-11-25 15:12:41.385 T:1541 debug : [plugin.video.youtube] Get |youtube.api.key|: "000...000" (str, success)
2024-11-25 15:12:41.385 T:1541 debug : [plugin.video.youtube] Get |youtube.api.id|: "000...000" (str, success)
2024-11-25 15:12:41.385 T:1541 debug : [plugin.video.youtube] Get |youtube.api.secret|: "000...000" (str, success)
2024-11-25 15:12:41.385 T:1541 debug : [plugin.video.youtube] User: |0|, Using API key set: |own|
2024-11-25 15:12:41.385 T:1541 debug : [plugin.video.youtube] Selecting YouTube config "All"
2024-11-25 15:12:41.385 T:1541 debug : [plugin.video.youtube] Access token count: |2|, refresh token count: |2|
2024-11-25 15:12:41.385 T:1541 debug : [plugin.video.youtube] Get |youtube.language|: "en-US" (str, success)
2024-11-25 15:12:41.385 T:1541 debug : [plugin.video.youtube] Get |youtube.region|: "US" (str, success)
2024-11-25 15:12:41.385 T:1541 debug : [plugin.video.youtube] Get |kodion.content.max_per_page|: 50 (int, success)
2024-11-25 15:12:41.386 T:1541 debug : [plugin.video.youtube] Get |requests.ssl.verify|: True (bool, success)
2024-11-25 15:12:41.386 T:1541 debug : [plugin.video.youtube] Get |requests.timeout.connect|: 9 (int, success)
2024-11-25 15:12:41.386 T:1541 debug : [plugin.video.youtube] Get |requests.timeout.read|: 27 (int, success)
2024-11-25 15:12:41.386 T:1541 debug : [plugin.video.youtube] User is logged in
2024-11-25 15:12:41.386 T:1541 debug : [plugin.video.youtube] Get |kodion.support.alternative_player|: False (bool, success)
2024-11-25 15:12:41.386 T:1541 debug : [plugin.video.youtube] Get |kodion.default_player.web_urls|: False (bool, success)
2024-11-25 15:12:41.386 T:1541 debug : [plugin.video.youtube] Get |kodion.video.quality.isa|: True (bool, success)
2024-11-25 15:12:41.386 T:1541 debug : [plugin.video.youtube] Get |kodion.mpd.videos|: True (bool, success)
2024-11-25 15:12:41.386 T:1541 debug : [plugin.video.youtube] Get |kodion.mpd.stream.select|: 3 (int, success)
2024-11-25 15:12:41.386 T:1541 debug : [plugin.video.youtube] Get |kodion.audio_only|: False (bool, success)
2024-11-25 15:12:41.386 T:1541 debug : [plugin.video.youtube] Get |kodion.age.gate|: False (bool, success)
2024-11-25 15:12:41.583 T:1541 error : [plugin.video.youtube] Player request failed
exc: |"error" in response JSON data|
reason: badRequest
message: |Request contains an invalid argument.|
video_id: jS_7lxKzdaU, client: ios, auth: True
Request response:
{'error': {'code': 400, 'message': 'Request contains an invalid argument.', 'errors': [{'message': 'Request contains an invalid argument.', 'domain': 'global', 'reason': 'badRequest'}], 'status': 'INVALID_ARGUMENT'}}
Stack trace (most recent call last):
File "/home/darksine/.kodi/addons/plugin.video.youtube/resources/lib/plugin.py", line 16, in
plugin_runner.run()
File "/home/darksine/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/plugin_runner.py", line 62, in run
plugin.run(provider, context, focused=(current_uri == new_uri))
File "/home/darksine/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/plugin/xbmc/xbmc_plugin.py", line 158, in run
result, options = provider.navigate(context)
File "/home/darksine/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/abstract_provider.py", line 157, in navigate
result = handler(provider=self, context=context, re_match=re_match)
File "/home/darksine/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/helper/yt_play.py", line 348, in process
media_item = _play_stream(provider, context)
File "/home/darksine/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/helper/yt_play.py", line 68, in _play_stream
streams = client.get_streams(context,
File "/home/darksine/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/client/youtube.py", line 200, in get_streams
use_mpd=use_mpd).load_stream_info(video_id)
File "/home/darksine/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/helper/stream_info.py", line 1398, in load_stream_info
_result = self.request(
File "/home/darksine/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/network/requests.py", line 126, in request
stack_trace = format_stack()
2024-11-25 15:12:41.583 T:1541 warning : [plugin.video.youtube] Failed to retrieve video info - video_id: jS_7lxKzdaU, client: ios, auth: True,
status: ERROR, reason: UNKNOWN
2024-11-25 15:12:41.644 T:1541 error : [plugin.video.youtube] Player request failed
exc: |"error" in response JSON data|
reason: badRequest
message: |Request contains an invalid argument.|
video_id: jS_7lxKzdaU, client: android_youtube_tv, auth: True
Request response:
{'error': {'code': 400, 'message': 'Request contains an invalid argument.', 'errors': [{'message': 'Request contains an invalid argument.', 'domain': 'global', 'reason': 'badRequest'}], 'status': 'INVALID_ARGUMENT'}}
Stack trace (most recent call last):
File "/home/darksine/.kodi/addons/plugin.video.youtube/resources/lib/plugin.py", line 16, in
plugin_runner.run()
File "/home/darksine/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/plugin_runner.py", line 62, in run
plugin.run(provider, context, focused=(current_uri == new_uri))
File "/home/darksine/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/plugin/xbmc/xbmc_plugin.py", line 158, in run
result, options = provider.navigate(context)
File "/home/darksine/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/abstract_provider.py", line 157, in navigate
result = handler(provider=self, context=context, re_match=re_match)
File "/home/darksine/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/helper/yt_play.py", line 348, in process
media_item = _play_stream(provider, context)
File "/home/darksine/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/helper/yt_play.py", line 68, in _play_stream
streams = client.get_streams(context,
File "/home/darksine/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/client/youtube.py", line 200, in get_streams
use_mpd=use_mpd).load_stream_info(video_id)
File "/home/darksine/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/helper/stream_info.py", line 1398, in load_stream_info
_result = self.request(
File "/home/darksine/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/network/requests.py", line 126, in request
stack_trace = format_stack()
2024-11-25 15:12:41.644 T:1541 warning : [plugin.video.youtube] Failed to retrieve video info - video_id: jS_7lxKzdaU, client: android_youtube_tv, auth: True,
status: ERROR, reason: UNKNOWN
2024-11-25 15:12:41.754 T:1541 warning : [plugin.video.youtube] Failed to retrieve video info - video_id: jS_7lxKzdaU, client: android_testsuite, auth: True,
status: UNPLAYABLE, reason: This video is not available
2024-11-25 15:12:41.755 T:1541 error : [plugin.video.youtube] yt_play.play_video - This video is not available:
File "/home/darksine/.kodi/addons/plugin.video.youtube/resources/lib/plugin.py", line 16, in
plugin_runner.run()
File "/home/darksine/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/plugin_runner.py", line 62, in run
plugin.run(provider, context, focused=(current_uri == new_uri))
File "/home/darksine/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/plugin/xbmc/xbmc_plugin.py", line 158, in run
result, options = provider.navigate(context)
File "/home/darksine/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/kodion/abstract_provider.py", line 157, in navigate
result = handler(provider=self, context=context, re_match=re_match)
File "/home/darksine/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/helper/yt_play.py", line 348, in process
media_item = _play_stream(provider, context)
File "/home/darksine/.kodi/addons/plugin.video.youtube/resources/lib/youtube_plugin/youtube/helper/yt_play.py", line 75, in _play_stream
exc=exc, details=''.join(format_stack())
2024-11-25 15:12:41.766 T:1541 debug : [plugin.video.youtube] Profiling stats: 14999 function calls (14780 primitive calls) in 0.474 seconds
2024-11-25 15:12:41.766 T:1541 debug : CPythonInvoker(13, /home/darksine/.kodi/addons/plugin.video.youtube/resources/lib/plugin.py): script successfully run
2024-11-25 15:12:41.768 T:1369 debug : ------ Window Deinit (DialogBusy.xml) ------
2024-11-25 15:12:41.768 T:1542 debug : Thread ScriptObs 140611973015104 terminating
2024-11-25 15:12:41.768 T:1369 error : Playlist Player: skipping unplayable item: 11, path [plugin://plugin.video.youtube/play/?video_id=jS_7lxKzdaU]
2024-11-25 15:12:41.768 T:1369 debug : CScriptRunner: running add-on script YouTube('plugin://plugin.video.youtube/play/', '10', '?video_id=Q37OYGy-0ZQ')
2024-11-25 15:12:41.768 T:1369 debug : GetLanguageInvoker - Reusing LanguageInvokerThread 13 for script /home/darksine/.kodi/addons/plugin.video.youtube/resources/lib/plugin.py
2024-11-25 15:12:41.768 T:1541 debug : initializing python engine.
2024-11-25 15:12:41.768 T:1541 debug : CPythonInvoker(13, /home/darksine/.kodi/addons/plugin.video.youtube/resources/lib/plugin.py): start processing
2024-11-25 15:12:41.768 T:1541 debug : CPythonInvoker(13): adding args:
2024-11-25 15:12:41.768 T:1541 debug : CPythonInvoker(13): plugin://plugin.video.youtube/play/
2024-11-25 15:12:41.768 T:1541 debug : CPythonInvoker(13): 10
2024-11-25 15:12:41.768 T:1541 debug : CPythonInvoker(13): ?video_id=Q37OYGy-0ZQ
2024-11-25 15:12:41.768 T:1541 debug : CPythonInvoker(13): resume:false
2024-11-25 15:12:41.768 T:1541 debug : CPythonInvoker(13, /home/darksine/.kodi/addons/plugin.video.youtube/resources/lib/plugin.py): entering source directory /home/darksine/.kodi/addons/plugin.video.youtube/resources/lib
2024-11-25 15:12:41.768 T:1541 debug : CPythonInvoker(13, /home/darksine/.kodi/addons/plugin.video.youtube/resources/lib/plugin.py): instantiating addon using automatically obtained id of "plugin.video.youtube" dependent on version 3.0.0 of the xbmc.python api
Additional Information
Working fine for months until today. Same error happens on every play attempt. Tested hundreds of videos. Manual update to 7.1.1.1 from 995 makes videos playable. Just posting to make my error log available. I modified the API Key, ID, and secret lines. Thanks for all the work on this amazing add-on.
The text was updated successfully, but these errors were encountered: