YouTube Plugin by Taapat DreamOS [*deb]

There are 267 replies in this Thread which was already clicked 73,611 times. The last Post () by ( AMIN ).

  • ( AMIN )

    My question might be a bit out of place, but I'm wondering: since YouTube videos now play in up to 4K on DreamOS using the default player (GStreamer) via your modified plugin, without needing external tools like FFmpeg, Exteplayer, or ServiceApp, could this same method be applied to the XStreamity plugin to play trailers on DreamOS?

  • ( AMIN )

    My question might be a bit out of place, but I'm wondering: since YouTube videos now play in up to 4K on DreamOS using the default player (GStreamer) via your modified plugin, without needing external tools like FFmpeg, Exteplayer, or ServiceApp, could this same method be applied to the XStreamity plugin to play trailers on DreamOS?

    Yes, I’ve experimented with exactly that – applying the same method to the XStreamity plugin to play movie trailers on DreamOS.

    The approach doesn't require any external tools like FFmpeg, Exteplayer, or ServiceApp. Here's how it works:


    How trailers now play in XStreamity (DreamOS / Python 2.7 & 3)

    • Obtaining a trailer ID – The trailer's YouTube video ID is taken first from the IPTV provider data (the trailer or youtube_trailer field). If that field is missing and TMDB integration is enabled, the ID is fetched from TMDB as a fallback.
    • Getting direct streaming URLs – Using the YouTube InnerTube API (youtubei/v1/player), the plugin asks for the video's streaming formats without any API key. This API returns separate video and audio streams (adaptive formats).
    • Building a local MPD file – The best video and audio streams are selected according to the quality settings (up to 4K, configurable), and a tiny temporary .mpd file is written. This file simply tells the player where to find the video and audio.
    • Playing with the default player (GStreamer) – The MPD file is played directly with the default Enigma2 player (eServiceReference(4097, …)) – the same one that plays your IPTV streams. GStreamer handles DASH perfectly, even 4K, so no Exteplayer, ServiceApp, or FFmpeg is needed.

    Is there any external dependency?

    • YouTube API – Yes, but it's just a standard HTTPS request to YouTube's own endpoint; no API key or special library is required.
    • TMDB API – Only needed if you want TMDB to supply the trailer ID when the IPTV provider doesn't. The trailer playback itself works independently of TMDB.
    • No FFmpeg, no pytubefix, no extra players.

    Important note

    These custom modifications are experimental and provided as a proof of concept. They are not endorsed by or affiliated with the original XStreamity developer.

Your hub for Enigma2 DreamOS plugins

Find downloads, installation guides, and support for Dreambox devices and DreamOS images. Official forum for Enigma2 DreamOS plugins. Download the best extensions and get setup help for your Dreambox system.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!