DEV Community

Hyena
Hyena

Posted on

Mini-mp3-player

https://github.com/rafapaezbas/mini-mp3-player

What is mini-mp3-player?

Mini-mp3-player is a minimal, distracionless terminal mp3 player.

How do you use it?

First thing you have to do is compiling the source code. Mini-mp3-player is coded in C and uses SDL2 and Ncurses libreries.

The code and compilation has only been tested in a Ubuntu system, the followed step are:

apt-get install libsdl2-dev libsdl2-mixer-2.0-0 libncurses5-dev libncursesw5-dev && make install
Enter fullscreen mode Exit fullscreen mode

Usage

Once the code has been compiled run:

sudo mini-mp3-player -c {path-to-music-collection}
Enter fullscreen mode Exit fullscreen mode

This command will create or refresh a collection file used by mini-mp3-player.
If you already have a collection, only run:

sudo mini-mp3-player
Enter fullscreen mode Exit fullscreen mode

Skip to next song pressing -n- or quit pressing -q-

AWS Security LIVE!

Tune in for AWS Security LIVE!

Join AWS Security LIVE! for expert insights and actionable tips to protect your organization and keep security teams prepared.

Learn More

Top comments (2)

Collapse
 
qwertyuzsx profile image
qwertyuzsx

It's a pretty neat mini player. I remember I've tried to make such one for myself, but couldn't do switching between audio tracks. Your option works fine. The overall usage reminds me of using the youtube-dl file. It's a utility used for downloading files from YouTube of native quality. Usually, I use it in pair with this mp3 converter convertr.org/mp3-converter. I'm curious whether it is possible to merge Youtube downloader with the audio player. I mean, you can create a library of native-quality tracks without the need for gui.

Collapse
 
leohardlee profile image
LeoHardLee

It's a pretty neat mini player. I remember I've tried to make such one for myself, but couldn't do switching between audio tracks. Your option works fine.