Skip to main content

SRG Player

A terminal-based music player that streams music directly from YouTube.

Features

  • 🎵 Search YouTube songs
  • 📃 Search and import YouTube playlists
  • ⏯ Pause, resume, next, previous
  • ⏩ Forward / backward seeking
  • 🎚 Playback speed control
  • 📝 Lyrics lookup
  • 🔁 Reuse previous search results
  • ➕ Add songs while music is playing
  • 🔊 Volume controls
  • ⌨ Keyboard shortcuts

Installation

Install the application:

pipx install srgplayer

Requirements

SRG Player requires the mpv media player.

Ubuntu/Debian:

sudo apt install mpv

macOS:

brew install mpv

Usage

srgplayer

Controls:

  • Space — Pause/Resume
  • n — Next song
  • p — Previous song
  • a — Search song/playlist
  • l — List queue
  • r — Show previous search results
  • y — Show lyrics
    • / - — Volume up/down
  • ← / → — Seek backward/forward 5 seconds
  • , / . — Seek backward/forward 10 seconds
  • [ / ] — Decrease/increase playback speed
  • \ — Reset speed to 1.0x
  • 0-9 — Play a previous search result
  • c — Clear queue
  • q — Quit

License

MIT License

Metadata

Release files for srgplayer 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for srgplayer 0.2.0
File Size Uploaded
srgplayer-0.2.0.tar.gz 8.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for srgplayer 0.2.0
File Interpreter ABI Platform
srgplayer-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 16.2 kB

Release files / srgplayer-0.2.0.tar.gz

Download URL srgplayer-0.2.0.tar.gz
Size 8.4 kB
Tags Source
SHA-256 checksum
How to use checksums
41fb84d793ddd79280273c550bb5a4055970cc0f4675208084013bed368a3dcd
BLAKE2b-256 checksum
How to use checksums
ca77da12a4f9aefce472acce521f9ebef9b172a5be58dac39802835785b60294
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.0 {"installer":{"name":"uv","version":"0.12.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / srgplayer-0.2.0-py3-none-any.whl

Download URL srgplayer-0.2.0-py3-none-any.whl
Size 7.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2c18d3afc14717ff42dc3e292c7fccc65937f60dc0c106d3d0b74638413a98e8
BLAKE2b-256 checksum
How to use checksums
550fe40baef05ee8d557a1bc448af045a23c586127fc9d516e7b18fdde4ed7e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.0 {"installer":{"name":"uv","version":"0.12.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

0.3.0

2 release files

This release

0.2.0 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page