YouTube

ytm-player – terminal client for YouTube Music

ytm-player is a terminal client for browsing and playing music from a YouTube Music account. It uses mpv for audio playback and Textual for its interface.

A YouTube Music account is required, but a Premium subscription is optional. The setup process supports browser-cookie authentication, while the application combines keyboard-driven navigation with desktop media integration.

This is free and open source software.

Key Features

  • Navigate with Vim-style controls, including j/k movement, multi-key sequences, and numeric count prefixes.
  • Display synchronised lyrics with live highlighting and an LRCLIB fallback when lyrics are unavailable from YouTube.
  • Use gapless playback and stream prefetching through the mpv backend.
  • Retain previously heard audio in a local cache managed using a least-recently-used policy.
  • Restore the last-playing track and playback queue when the application starts.
  • Import Spotify playlists through the Spotify API or a scraper fallback.
  • Control a running player from another terminal through command-line and inter-process communication commands.
  • Choose Textual themes and override application colours in a separate theme configuration file.
  • Integrate with MPRIS on Linux, Now Playing on macOS, and media keys on Windows.
  • Optionally publish listening activity through Discord Rich Presence.
  • Optionally scrobble played music to Last.fm.
  • Cross-platform support – runs on Linux, macOS, and Windows.

Website: github.com/peternaame-boop/ytm-player
Support:
Developer: Peter Naame
License: MIT License

ytm-player demo
Click animation for full size

ytm-player is written in Python. Learn Python with our recommended free books and free tutorials.


Related Software

Console-Based YouTube Tools
yt-dlpFork of youtube-dl offering new features
You-GetDownloader that scrapes the web
LuxDownload library and CLI tool
yewtubeTerminal based YouTube player and downloader
YouTube TUILightweight and user friendly TUI for browsing YouTube
TizoniaCloud music player for the Linux terminal
ytdl-subAutomates media downloads and generates accompanying metadata
pipe-viewerLightweight YouTube client with CLI and GUI
yt-xBrowse YouTube from the terminal
pytubefixLibrary and CLI for downloading YouTube videos
ytsurfClean and distraction-free
YTerMusicAims to be as fast and simple as possible
xytzTUI frontend for yt-dlp
ytm-playerTerminal-based client for YouTube Music
tuitubeTUI to download videos
GopherTubeTerminal YouTube client for searching and watching videos
youtube-dlDownload videos from YouTube and many other sites. Extremely versatile
ytccKeep track of your favorite playlists on YouTube
ytmPlay and browse YouTube Music directly from your terminal
RataplayTUI to search, play and download videos
gytmTerminal-based player for searching and streaming YouTube Music
GoMusicDownload and stream music from YouTube

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted