Ytdlp2STRM

screenshot of Ytdlp2STRM
flask

A little script to serve Youtube / Twitch / Crunchyroll videos without storage it. Uses yt-dlp HTTP data throught Flask and dynamic URLs. We can use this dynamic URLs to set STRM files.

Overview:

The ytdlp2STRM tool allows users to convert content from platforms like Youtube and Twitch into STRM files. These STRM files can then be accessed and watched through media server applications like Jellyfin or Emby. The tool requires prerequisites like Python 3 and FFmpeg. Installation instructions are provided for Linux, Windows, and Docker environments.

Features:

  • Convert Youtube and Twitch Content: Convert videos from Youtube and Twitch into STRM files.
  • Integration with Jellyfin and Emby: Watch converted videos through media server applications like Jellyfin and Emby.
  • Platform Compatibility: Works on Linux, Windows, and Docker environments.
  • Support for Docker Containers: Deploy as a Docker container for easy usage and setup.
  • Customizable Settings: Optional configuration files for setting general preferences, cronjob settings, and plugin settings.

Linux:

  1. Install requirements.txt
  2. Copy service file to system services folder
  3. Enable and start the service
  4. Check GUI in browser

Windows:

  1. Install requirements.txt
  2. Create a scheduled task to run main.py at startup
flask
Flask

Flask is a lightweight and popular web framework for Python, known for its simplicity and flexibility. It is widely used to build web applications, providing a minimalistic approach to web development with features like routing, templates, and support for extensions.