#music-player #music #player #cli

app musicman

Simple cli for playing music in the ~/Music folder

6 releases

new 0.1.4 Oct 15, 2024
0.1.3 Oct 11, 2024
0.1.1 Sep 21, 2024
0.0.1 Sep 19, 2024

#205 in Command line utilities

Download history 381/week @ 2024-09-16 54/week @ 2024-09-23 95/week @ 2024-09-30 218/week @ 2024-10-07

748 downloads per month

MIT/Apache

27KB
520 lines

Music Manager

Simple cli for playing music in the ~/Music folder

What is musicman

Recursively scans the music directory for files (all files, so please only have music in there :P) and allows for playback of found songs. Has a queue implemented. Queues can be saved as playlists for quick access.

Commands

Running musicman presents you with a prompt.

$ musicman
musicman❯

The available commands

add

Adds matches to you queue.

Syntax: add <search_term>

will prompt you to choose if multiple matches are found!

show | ls

Show the current queue.

Syntax: show
Syntax: ls

current | cp

Shows the currently playing track
Syntax: show cp (-_-)
Syntax: ls cp

p | play | pause

Pause/resume playback

Syntax: p
Syntax: play
Syntax: pause

clear

Clears queue

Syntax: clear

next

Skip to the next song in queue. Optionally takes the number of tracks to skip

Syntax: next
Syntax: next <n>

prev

Skip to the previous song in queue. Optionally takes the number of tracks to skip

Syntax: prev
Syntax: prev <n>

replay

Replay the current song.

Syntax: replay

playlist | pl

Playlist creation and playing

new

Saves the current queue as a playlist

Playlist names are case sensitive (except on MacOS)


Syntax: playlist new <name

show | ls

Shows all the available playlists
Syntax: playlist show
Syntax: playlist ls

load

Load the specified playlist as the queue
Syntax: playlist new <name

Replaces the queue!

exit

Quit the player

Syntax: exit


Dependencies

~9–43MB
~668K SLoC