Powershell commands for the Music Player Daemon (MPD).
This module provides handy high-level commands to control MPD.
- Tab complete titles, artists, albums and playlists.
- Load your library as Powershell objects.
- Manipulate your library and playlists.
- Play and queue tracks, artists, albums and playlists.
- The mpc tool needs to be installed and available in your
$PATH
asmpc
. - Powershell 5 or above. (Not tested on versions earlier than 7.2, however).
- Import the module either manually or in your Powershell profile:
Import-Module MPD
. - Load your music library:
Sync-MPD
.
Now you can use commands that work on your music library.
- Add my bucket to scoop:
scoop bucket add insomnia https://github.com/insomnimus/scoop-bucket
- Update scoop:
scoop update
- Install the module:
scoop install ps-mpd
- (If you don't have mpd or mpc, you can get it from scoop as well):
scoop install mpd mpc
- Restart Powershell.
git clone https://github.com/insomnimus/ps-mpd
cd ps-mpd
# move `MPD` to somewhere where powershell automatically loads modules from
# e.g: `$env:PSModulePath.Split(";")[-1]`