plugin.video.sendtokodi icon indicating copy to clipboard operation
plugin.video.sendtokodi copied to clipboard

Only audio plays, Youtube challenge solving failed?

Open claes opened this issue 3 months ago • 1 comments

Description of the bug Since some days, when trying to play a youtube video, only audio plays in an audio-only interface.

Steps to reproduce For example, when sharing a Youtube video through the Android Kore app to Kodi.

Expected behavior

It should play like a regular video

Version and plattform:

  • Kodi: 21.2.0
  • Addon: SendToKodi 0.9.1007
  • Plattform: NixOS 25.05

As the log contains a reference to https://github.com/yt-dlp/yt-dlp/wiki/EJS and a challenge solver script, I can also mention that deno 2.2.12 is available on my path. However, uncertain if it is available to the plugin?

Kodi log

      2025-11-04 22:17:53.359 T:1856548   error <general>: WARNING: [youtube] [jsc] Remote components challenge solver script (deno) and NPM package (deno) were skipped. These may be required to solve JS challenges. You can enable these downloads with  --remote-components ejs:github  (recommended) or  --remote-components ejs:npm , respectively. For more information and alternatives, refer to  https://github.com/yt-dlp/yt-dlp/wiki/EJS
                                                         
      2025-11-04 22:17:53.360 T:1856548   error <general>: WARNING: [youtube] RqubKSF3wig: n challenge solving failed: Some formats may be missing. Ensure you have a supported JavaScript runtime and challenge solver script distribution installed. Review any warnings presented before this message. For more details, refer to  https://github.com/yt-dlp/yt-dlp/wiki/EJS
                                                         
      2025-11-04 22:17:53.946 T:1856548    info <general>: plugin.video.sendtokodi: Added audio stream 139 - audio only (low) to DASH manifest
      2025-11-04 22:17:53.950 T:1856548    info <general>: plugin.video.sendtokodi: Picked DASH with custom manifest
      2025-11-04 22:17:53.950 T:1856548    info <general>: plugin.video.sendtokodi: creating list item for url http://127.0.0.1:36979/manifest.mpd
      2025-11-04 22:17:53.954 T:1856548    info <general>: CPythonInvoker(2028, /home/claes/.kodi/addons/plugin.video.sendtokodi/service.py): waiting on thread 139962098407104
      2025-11-04 22:17:53.970 T:1856583   error <general>: 127.0.0.1 - - [04/Nov/2025 22:17:53] "HEAD /manifest.mpd HTTP/1.1" 200 -
                                                         
      2025-11-04 22:17:53.981 T:2440347    info <general>: VideoPlayer::OpenFile: plugin://plugin.video.sendtokodi/?https://www.youtube.com/watch?v=RqubKSF3wig
      2025-11-04 22:17:53.983 T:1856583   error <general>: 127.0.0.1 - - [04/Nov/2025 22:17:53] "HEAD /manifest.mpd HTTP/1.1" 200 -
                                                         
      2025-11-04 22:17:53.984 T:1856584    info <general>: Creating InputStream
      2025-11-04 22:17:53.987 T:1856584    info <general>: AddOnLog: inputstream.adaptive: [Repr. chooser] Resolution set: 1920x1080, max allowed: 1920x1080, Adjust refresh rate: 0
      2025-11-04 22:17:53.990 T:1856583   error <general>: 127.0.0.1 - - [04/Nov/2025 22:17:53] "GET /manifest.mpd HTTP/1.1" 200 -
                                                         
      2025-11-04 22:17:53.992 T:1856584 warning <general>: AddOnLog: inputstream.adaptive: ParseTagAdaptationSet: Skipped AdaptationSet with id: "1", has no representations.
      2025-11-04 22:17:53.992 T:1856584    info <general>: AddOnLog: inputstream.adaptive: Manifest successfully parsed (Periods: 1, Streams in first period: 1, Type: VOD)
      2025-11-04 22:17:53.992 T:1856584    info <general>: Creating Demuxer
      2025-11-04 22:17:53.992 T:1856584    info <general>: Opening stream: 1001 source: 256
      2025-11-04 22:17:54.067 T:1856584    info <general>: Finding audio codec for: 86018
      2025-11-04 22:17:54.068 T:1856584    info <general>: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder aac
      2025-11-04 22:17:54.068 T:1856584    info <general>: OpenStream: Allowing max Out-Of-Sync Value of 50 ms
      2025-11-04 22:17:54.068 T:1856584    info <general>: Creating audio thread
      2025-11-04 22:17:54.068 T:1856587    info <general>: running thread: CVideoPlayerAudio::Process()
      2025-11-04 22:17:54.089 T:1856587    info <general>: Creating audio stream (codec id: 86018, channels: 2, sample rate: 44100, no pass-through)
      2025-11-04 22:17:54.122 T:2440365    info <general>: CActiveAESink::OpenSink - initialize sink
      2025-11-04 22:17:54.312 T:2440365    info <general>: PulseAudio: Opened device Default in pcm mode with Buffersize 150 ms Periodsize 50 ms
      2025-11-04 22:17:54.322 T:1856584 warning <general>: CDVDMessageQueue(video)::Put MSGQ_NOT_INITIALIZED
      

In case a certain website does not work for you

Screenshots

Additional context

claes avatar Nov 04 '25 21:11 claes

Perhaps it is related to the activity here?

https://github.com/yt-dlp/yt-dlp/issues/14404

claes avatar Nov 04 '25 21:11 claes