Skip to main content
C* Music Player:

How to create a playlist in cmus

Summary

To create a playlist in cmus, you need to add songs to the playlist view by selecting them and pressing y. You can then save the playlist using :save <filename>.pls and reload it later with :load <filename>.pls for easy access.

Introduction #

C* Music Player, cmus, is a powerful, lightweight, and terminal-based music player for Unix-like systems. While it may seem minimalistic at first, it offers a robust set of features, including playlist management. This guide will walk you through creating and managing playlists in cmus.

To create a playlist in `cmus`, you need to add songs to the playlist view.
First add songs, then save as playlist.

Adding songs to a playlist #

To add songs to a playlist (that does not exist yet), follow these steps:

  1. Open cmus by typing cmus in your terminal.
  2. Navigate to the file browser (5 key) or library (1 key) to find your desired songs.
  3. Select a song using the arrow keys and press y to add it to the playlist.
  4. Repeat the process for all the songs you want to include in your playlist.

To view the playlist, press 2.

Saving the playlist #

Once you have added songs to your playlist, you may want to save it for future use. Here is how:

  1. While in the playlist view (2 key), type :save <filename>.pls (e.g., :save myplaylist.pls).
  2. The playlist will be saved in your home directory (~) unless you specify another path.
  3. You can now reload this playlist later.

Loading a saved playlist #

To load a previously saved playlist:

  1. Open cmus.
  2. Type :load <filename>.pls to load your saved playlist.
  3. Your playlist should now appear in the playlist view (2 key).

Managing playlist entries #

  • To remove a song from the playlist, navigate to the playlist view (2 key), select the song, and press D.
  • To clear the entire playlist, type :clear while in the playlist view.

By following the steps above, you can curate your favorite music collections and enjoy them with ease.

FAQ's #

Most common questions and brief, easy-to-understand answers on the topic:

How do I add multiple songs to a playlist in cmus?

You can add multiple songs to the playlist by navigating to the file browser (5 key) or library (1 key), selecting each song using the arrow keys, and pressing y to add them to the playlist view.

Where are cmus playlists saved by default?

By default, playlists saved with the :save <filename>.pls command are stored in your user's home directory (~) unless you specify a different path.

How do I remove a song from a playlist in cmus?

To remove a song from the playlist, switch to the playlist view (2 key), highlight the song, and press D.

Can I clear the entire playlist in cmus?

Yes, you can clear the entire playlist by typing :clear while in the playlist view (2 key).

Further readings #

Sources and recommended, further resources on the topic:

Author

Jonas Jared Jacek • J15k

Jonas Jared Jacek (J15k)

Jonas works as project manager, web designer, and web developer since 2001. On top of that, he is a Linux system administrator with a broad interest in things related to programming, architecture, and design. See: https://www.j15k.com/

License

How to create a playlist in cmus by Jonas Jared Jacek is licensed under CC BY-NC-SA 4.0.

This license requires that reusers give credit to the creator. It allows reusers to distribute, remix, adapt, and build upon the material in any medium or format, for noncommercial purposes only. If others modify or adapt the material, they must license the modified material under identical terms. To give credit, provide a link back to the original source, the author, and the license e.g. like this:

<p xmlns:cc="http://creativecommons.org/ns#" xmlns:dct="http://purl.org/dc/terms/"><a property="dct:title" rel="cc:attributionURL" href="https://www.ditig.com/how-to-create-a-playlist-in-cmus">How to create a playlist in cmus</a> by <a rel="cc:attributionURL dct:creator" property="cc:attributionName" href="https://www.j15k.com/">Jonas Jared Jacek</a> is licensed under <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/" target="_blank" rel="license noopener noreferrer">CC BY-NC-SA 4.0</a>.</p>

For more information see the Ditig legal page.

All Topics

Random Quote

“Users spend most of their time on other sites. This means that users prefer your site to work the same way as all the other sites they already know.”

Jakob Nielsen Principal and Co-founder of the Nielsen Norman GroupJakob's Law of Internet User Experience, - IT quotes