https://github.com/bcardoso/msearch
simple mpd playlist manager using mpc search and random options
https://github.com/bcardoso/msearch
fzf mpc mpc-control mpd mpd-client music
Last synced: 9 months ago
JSON representation
simple mpd playlist manager using mpc search and random options
- Host: GitHub
- URL: https://github.com/bcardoso/msearch
- Owner: bcardoso
- Created: 2017-04-19T23:47:19.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2024-12-01T15:21:10.000Z (over 1 year ago)
- Last Synced: 2025-01-24T16:48:32.812Z (over 1 year ago)
- Topics: fzf, mpc, mpc-control, mpd, mpd-client, music
- Language: Shell
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# msearch.sh
Simple [MPD](https://www.musicpd.org/) playlist manager script using mpc search commands and random options.
Depends on [mpc](https://musicpd.org/clients/mpc/) and [fzf](https://github.com/junegunn/fzf).
## how to use
`msearch.sh` [option] [keyword(s)]
h | -h this help
u | -u update database
c | -c clear playlist
C | -C 'crop' all but current song
p | -p toggle play-pause
s | -s stop after current
r | -r toggle random mode
ra | -ra random artist
rb | -rb random album
rg | -rg random genre
rs | -rs random songs
la | -la search artists list
lb | -lb search albums list
lg | -lg search genres list
n | -n recently (7d) added/modified songs
a | -a add artist(s) to playlist
b | -b add album(s) to playlist
g | -g add genre(s) to playlist
i | -i fzf search, 'insert' below current
add | * fzf search, 'add' to playlist end
Usage examples:
- Add multiple artists: `./msearch.sh -a sabbath "miles davis" dylan`
- Add a random album: `./msearch.sh -rb`
## shortcut
```sh
alias ms="~/bin/msearch.sh"
```