Skip to content

repomansez/mprand

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

mprand

Play random songs within your MPD database.

Project focus is to be as simple and stupid as possible.

This script was inspired by oldlaptop's mprand script, written in Tcl, which isn't simple (in a bad way) nor stupid. Thanks to him for his help and inspiration.

Usage

Just have MPD running and run the script.

If mpd is not playing, it'll start playing, if the playlist is empty, it'll enqueue two songs, if the playlist is not empty it'll only enqueue a new song if you're on the last or second to last song of the playlist.

Contributing

If you find any bugs or think you know a way to improve my shitty code, feel free to create a pull request or something idk.

You can also find me on irc (libera.chat) @ repoman

and on Matrix @sbctani:matrix.sussywebsite.xyz

Dependencies

python-mpd2

Video example of usage with ncmpcpp

example.mp4

Known bugs

none!!!!!!! probably about one trillion unknown ones though.

About

Play random songs within your MPD database

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages