Skip to content

Casting from self-hosted Invidious bypasses Kodi add-ons, treated as plain network video #159

@zen85

Description

@zen85

Describe the bug

hen casting from my self-hosted Invidious instance with CastKodi, the video is not opened via any Kodi plugin. Instead, Kodi just receives a DASH manifest URL and treats it as a generic network stream.

This means Kodi does not "know" it is an Invidious/YouTube video, and it breaks features that rely on the YouTube/Invidious add-ons.

To Reproduce

  1. Disable all video add-ons in Kodi (YouTube, Invidious, etc.).
  2. Cast a video from my own Invidious instance with CastKodi.
  3. Check kodi.log:
    "2025-09-26 10:02:00.099 T:1585 info : JSONRPC Server: New connection added
    2025-09-26 10:02:00.932 T:1462 info : VideoPlayer::OpenFile: https://MY_INDIVIDUAL_INVIDIOUS_URL/companion/api/manifest/dash/id/W8SGvZ9A01c"

Kodi opens the DASH URL directly.

Casting from YouTube (youtube.com) works fine, since Kodi opens via the YouTube plugin as expected.

Expected behavior

When casting from Invidious, CastKodi should be able to:

  • Recognize the Invidious URL

  • Offer (or prefer) to open via plugin://plugin.video.invidious/... if the add-on is installed, instead of only passing a Companion DASH URL.

  • Kodi 21.2 / LibreELEC 12 (Raspberry Pi 5)

  • CastKodi version: 7.14

  • Invidious instance: self-hosted (https://MY_INDIVIDUAL_INVIDIOUS_URL)

Environment

  • Cast Kodi version:
  • Browser version:
  • OS version:
  • Kodi version:
  • Kodi add-on version (if appropriate):

Question

Is there a way to force CastKodi to use the Invidious plugin instead of treating the video as a raw network stream?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions