2026-02-22 03:25:12 +01:00
2026-02-22 01:00:11 +01:00
2026-02-22 03:25:12 +01:00

SVT Play Stream Launcher

A simple tool that lets you watch SVT Play programs directly in a video player.

What It Does

This script makes it easy to search for and watch SVT Play programs. Instead of opening a web browser, you can:

  1. Search for a program by name
  2. Browse popular programs
  3. Select what you want to watch
  4. It opens in your video player automatically

What You Need

Before using this script, make sure you have these programs installed:

  • yt-dlp - Downloads video information
  • mpv - Video player
  • zenity - Creates the dialog windows
  • jq - Processes data
  • curl - Downloads information

The script will tell you if something is missing and how to install it.

How to Use It

Start the script

./svt.sh

A window will appear with two options:

  • Search for Program - Type the name of what you want to watch
  • Browse Popular Programs - See what's trending on SVT Play

Example: Searching for a program

  1. Click "Search for Program"
  2. Type what you want (like "Wallander" or "News")
  3. Wait 10-20 seconds for results (this is normal, the server is a bit slow)
  4. Click on the program you want
  5. It automatically opens in your video player
  6. Enjoy!
  1. Click "Browse Popular Programs"
  2. Wait for the list to load (10-20 seconds)
  3. Scroll through and pick something
  4. Press OK and it starts playing

If Something Goes Wrong

"Missing required tools"

You need to install something. The script will tell you exactly what to install. On Arch Linux:

sudo pacman -S yt-dlp mpv zenity jq curl

On Ubuntu/Debian:

sudo apt install yt-dlp mpv zenity jq curl

"Program not found"

The program you searched for doesn't exist or isn't available on SVT Play right now.

"Nothing happens after clicking OK"

This is usually just the server being slow. Wait a bit longer. The script is still working.

"Video player doesn't open"

Make sure mpv is installed. Check with: which mpv

See What's Happening

The script keeps a log of everything it's doing. If you want to see what's going on:

tail -f ~/.svtplay.log

This shows you all the activity in real-time. Good for understanding what the script is doing.

Notes

  • Video plays in mpv, which is a lightweight video player
  • Everything is logged to ~/.svtplay.log
  • The program searches the actual SVT Play website, not a saved list
  • Searching and loading takes 10-20 seconds because the server is slow - this is normal
Description
random scripts
Readme 37 KiB
Languages
Shell 100%