MPS – How to Listen to Music from the Command Line

If you’re a fan of music and the command line, I have a solution for all you bearded cotton swabs out there!

It’s called MPS, and it’s an app for your Linux, OSX, and even Windows devices that allows you to search for music (albums, songs, artists, etc.), create playlists, download these songs, and play them thanks to MPlayer. I have the impression that the recovered pieces come from prostopleer


To install it, it’s super simple; you just have to have “pip” and make a

sudo pip install mps

Also, install MPlayer right away.

Then, to do a search, just put a “/” in front of your keyword. You will then get a list of numbered songs. To get the best quality ones, add +best to the order.

For example: /lana +best

To play them all, type “all”. To play only songs (for example) 4, 8, and 9, simply type 4,8,9 in MPS.

To play songs from 2 to 10, type 2-10, and to do sequences, put commas. For example, “2-4, 6-8, 10-12” will play songs 2, 3, 4, 6, 7, 8, 10, 11, and 12.

To download the song, simply press “d” followed by the song number.

For the rest of the commands, especially regarding the creation and management of playlists, I invite you to click.

5/5 - (1 vote)

See also  How to Fix “Server IP Address Could Not Be Found” Error in 5 Steps (2023)
Mohamed SAKHRI

I am Mohamed SAKHRI, the creator and editor-in-chief of Tech To Geek, where I've demonstrated my passion for technology through extensive blogging. My expertise spans various operating systems, including Windows, Linux, macOS, and Android, with a focus on providing practical and valuable guides. Additionally, I delve into WordPress-related subjects. You can find more about me on my Linkedin!, Twitter!, Reddit

Leave a Comment