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:
- Search for a program by name
- Browse popular programs
- Select what you want to watch
- 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 informationmpv- Video playerzenity- Creates the dialog windowsjq- Processes datacurl- 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
- Click "Search for Program"
- Type what you want (like "Wallander" or "News")
- Wait 10-20 seconds for results (this is normal, the server is a bit slow)
- Click on the program you want
- It automatically opens in your video player
- Enjoy!
Example: Browsing popular programs
- Click "Browse Popular Programs"
- Wait for the list to load (10-20 seconds)
- Scroll through and pick something
- 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