Skip to content
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

replays do not start #678

Open
aouvrard opened this issue Apr 9, 2023 · 2 comments
Open

replays do not start #678

aouvrard opened this issue Apr 9, 2023 · 2 comments
Labels

Comments

@aouvrard
Copy link

aouvrard commented Apr 9, 2023

Context

  • Add-on Version: 3.0.1
  • Kodi Version: 20.1
  • Kodi GUI Language: ?
  • Operating System: LibreElec 11.0.1
  • Operating System Language: ?

The problem

When I want to launch replay about a subscribe channel who have not available without subscribe, I have a error :
error <general>: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.twitch/?mode=play&video_id=1784388991]


Steps to Reproduce

  1. Launch a replay from subrcribe channel who have not available without subscribe

Log

2023-04-09 14:33:19.293 T:763     debug <general>: CLibInputKeyboard::ProcessKey - using delay: 500ms repeat: 33ms
2023-04-09 14:33:19.293 T:4632    debug <general>: Thread Timer start, auto delete: false
2023-04-09 14:33:19.295 T:758     debug <general>: Keyboard: scancode: 0x60, sym: 0x10f, unicode: 0x0d, modifier: 0x0
2023-04-09 14:33:19.418 T:4632    debug <general>: Thread Timer 140084936746688 terminating
2023-04-09 14:33:19.424 T:758     debug <general>: Keyboard: scancode: 0x60, sym: 0x10f, unicode: 0x0d, modifier: 0x0
2023-04-09 14:33:19.424 T:758     debug <general>: HandleKey: enter (0xf065) pressed, window 10025, action is Select
2023-04-09 14:33:19.429 T:758     debug <general>: OnPlayMedia plugin://plugin.video.twitch/?mode=play&video_id=1784388991
2023-04-09 14:33:19.431 T:758     debug <general>: CScriptRunner: running add-on script Twitch('plugin://plugin.video.twitch/', '352', '?mode=play&video_id=1784388991')
2023-04-09 14:33:19.431 T:758     debug <general>: GetLanguageInvoker - Reusing LanguageInvokerThread 385 for script /storage/.kodi/addons/plugin.video.twitch/resources/lib/addon_runner.py
2023-04-09 14:33:19.431 T:4625    debug <general>: initializing python engine.
2023-04-09 14:33:19.431 T:4625    debug <general>: CPythonInvoker(385, /storage/.kodi/addons/plugin.video.twitch/resources/lib/addon_runner.py): start processing
2023-04-09 14:33:19.431 T:4625    debug <general>: CPythonInvoker(385): adding args:
2023-04-09 14:33:19.431 T:4625    debug <general>: CPythonInvoker(385):  plugin://plugin.video.twitch/
2023-04-09 14:33:19.431 T:4625    debug <general>: CPythonInvoker(385):  352
2023-04-09 14:33:19.431 T:4625    debug <general>: CPythonInvoker(385):  ?mode=play&video_id=1784388991
2023-04-09 14:33:19.431 T:4625    debug <general>: CPythonInvoker(385):  resume:false
2023-04-09 14:33:19.431 T:4625    debug <general>: CPythonInvoker(385, /storage/.kodi/addons/plugin.video.twitch/resources/lib/addon_runner.py): entering source directory /storage/.kodi/addons/plugin.video.twitch/resources/lib
2023-04-09 14:33:19.431 T:4625    debug <general>: CPythonInvoker(385, /storage/.kodi/addons/plugin.video.twitch/resources/lib/addon_runner.py): instantiating addon using automatically obtained id of "plugin.video.twitch" dependent on version 3.0.1 of the xbmc.python api
2023-04-09 14:33:19.432 T:4625    debug <general>: Twitch: Version: |3.0.1| Application Version: <class 'twitch_addon.addon.common.kodi.get_kodi_version.<locals>.KodiVersion'>
2023-04-09 14:33:19.432 T:4625    debug <general>: Twitch: Queries: |{'mode': 'play', 'video_id': '1784388991'}| Args: |['plugin://plugin.video.twitch/', '352', '?mode=play&video_id=1784388991', 'resume:false']|
2023-04-09 14:33:19.433 T:4625    debug <general>: Twitch: Using method cache for: |twitch_addon.addon.api.Twitch.valid_token| -> |4|
2023-04-09 14:33:19.433 T:4625     info <general>: Twitch: Calling |_play| for mode |play| with pos args |[]| and kwargs |{'video_id': '1784388991'}|
2023-04-09 14:33:19.433 T:4625    debug <general>: Twitch: Using method cache for: |twitch_addon.addon.api.Twitch.get_video_by_id| -> |657|
2023-04-09 14:33:19.434 T:4625    debug <general>: Twitch: Using method cache for: |twitch_addon.addon.api.Twitch._get_video_token| -> |564|
2023-04-09 14:33:19.434 T:4625    debug <general>: Twitch: Using method cache for: |twitch_addon.addon.api.Twitch.get_user| -> |356|
2023-04-09 14:33:19.435 T:4625    debug <general>: script.module.python.twitch: GET QUERY: url: |https://api.twitch.tv/helix/subscriptions/user|, params: |[('broadcaster_id', '192231926'), ('user_id', '530027949')]|, data: |{}|, headers: |{'Client-ID': 'ps2ed9zlj8zyqztsdz2tl4uys84b8k', 'Authorization': 'Bearer ***********'}|, target_func: |get_user_subscriptions|
2023-04-09 14:33:19.435 T:4625    debug <general>: script.module.python.twitch: Downloading: |https://api.twitch.tv/helix/subscriptions/user?broadcaster_id=192231926&user_id=530027949|
2023-04-09 14:33:19.451 T:4633    debug <general>: Thread ScriptObs start, auto delete: false
2023-04-09 14:33:19.652 T:758     debug <general>: ------ Window Init (DialogBusy.xml) ------
2023-04-09 14:33:19.661 T:758     debug <general>: ------ Window Deinit (Custom_AutoTrailer_Background_Helper.xml) ------
2023-04-09 14:33:19.733 T:4625    debug <general>: script.module.python.twitch: url: |https://api.twitch.tv/helix/subscriptions/user| parameters: |[('broadcaster_id', '192231926'), ('user_id', '530027949')]|
                                                   {
                                                       "data": [
                                                           {
                                                               "broadcaster_id": "192231926",
                                                               "broadcaster_login": "canardpc",
                                                               "broadcaster_name": "CanardPC",
                                                               "is_gift": false,
                                                               "tier": "1000"
                                                           }
                                                       ]
                                                   }
2023-04-09 14:33:19.734 T:4625    debug <general>: Twitch: Using method cache for: |twitch_addon.addon.api.Twitch.get_vod| -> |5|
2023-04-09 14:33:19.734 T:4625    debug <general>: Twitch: Playback Failed ||
2023-04-09 14:33:19.734 T:758     debug <general>: ------ Window Init (DialogNotification.xml) ------
2023-04-09 14:33:19.734 T:4625    debug <general>: CPythonInvoker(385, /storage/.kodi/addons/plugin.video.twitch/resources/lib/addon_runner.py): script successfully run
2023-04-09 14:33:19.750 T:758     debug <general>: ------ Window Deinit (DialogBusy.xml) ------
2023-04-09 14:33:19.750 T:4633    debug <general>: Thread ScriptObs 140083021735616 terminating
2023-04-09 14:33:19.751 T:758     error <general>: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.twitch/?mode=play&video_id=1784388991]
2023-04-09 14:33:19.751 T:758     debug <general>: Playlist Player: no more playable items... aborting playback
2023-04-09 14:33:19.751 T:4634    debug <general>: Thread BackgroundLoader start, auto delete: false
2023-04-09 14:33:19.757 T:4634    debug <general>: Thread BackgroundLoader 140083059463872 terminating
2023-04-09 14:33:20.426 T:758     debug <general>: ------ Window Init (Custom_AutoTrailer_Background_Helper.xml) ------

Additional Information

I tried to reinstall the plugin (v3.0.0 have a same issue) , I verify my oauth_token it's OK, with another alternative client (Xtra on android) replay works.
Am I the only one having the problem?


@aouvrard aouvrard added the bug label Apr 9, 2023
@rjousse18
Copy link

Same here ! A friend have this problem, any fix ?

@rjousse18
Copy link

@anxdpanic any idea ? it's a bit annoying not to have this feature

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants