← Retour au blog
tech 23 June 2026

ytr: YouTube Radio for Emacs

Discover how ytr, an innovative Emacs package, transforms YouTube listening into a seamless, integrated experience powered by mpv and yt-dlp.

Article inspired by the original source
ytr: YouTube Radio for Emacs ↗ xenodium.com

Why ytr?

Emacs, the legendary text editor, is renowned for its flexibility and ability to handle everything from text editing to complex project management. However, integrating online audio streams remained a challenge. This is where ytr: YouTube Radio for Emacs comes in. Developed for users who want to integrate YouTube directly into their daily workflow within Emacs, ytr is an innovative solution addressing an unmet need.

ytr Features

The ytr package is designed to be intuitive and easy to use. Here are some of its key features:

  • Direct YouTube Integration: Add a YouTube channel URL and ytr automatically pulls the metadata and presents it in a child frame.
  • Powered by mpv and yt-dlp: These two powerful tools enable efficient audio streaming, ensuring a smooth experience without interruptions.
  • Winamp-inspired User Interface: For those feeling nostalgic, ytr includes animations reminiscent of the famous 90s media player.

How Does it Work?

Using ytr is simplified for the end user. By using the Emacs terminal, you can add a YouTube channel URL that will be automatically loaded. The content is then directly accessible without needing to leave the Emacs environment. This seamless integration enhances productivity by minimizing interruptions.

Underlying Technology

To operate, ytr relies on two robust tools:

  • mpv: A versatile media player that supports a wide range of audio and video formats.
  • yt-dlp: A fork of youtube-dl, designed to be more flexible and include additional features like support for new sites and formats.

These tools ensure that streaming remains stable and high-quality, even with fluctuating internet connections.

The Future of ytr

Although ytr is still in an experimental phase, its potential is tremendous. User feedback will be crucial in shaping its future development. Currently tested mainly on macOS, ytr could expand to other platforms with community contributions and testing.

Conclusion

By integrating a YouTube radio feature into Emacs, ytr redefines how users interact with online content. This innovation, although still young, already shows significant promise. So, are you ready to integrate ytr into your workflow?

Let's discuss your project in 15 minutes.

Emacs YouTube Streaming mpv yt-dlp
Deepthix newsletter · 100% AI · every Monday 8am

An AI agent reads tech for you.

Our AI agent scans ~200 sources per week and ships the best articles to your inbox Monday 8am. Free. One click to unsubscribe.

Visit the newsletter page →

Want to automate your operations?

Let's talk about your project in 15 minutes.

Book a call