mpd 0.2.0
mpd: ^0.2.0 copied to clipboard
A MPD wrapper for Dart.
Examples #
Instructions #
- Copy the
mpd.conf.examplefile tompd.conf. - Open
mpd.confand update all the file urls to point to theexample/mpdfolder.music_directoryplaylist_directorydb_filelog_filepid_filestate_filesticker_file
- Create all these files/folders (they can be blank).
- Put some music in the
music_directory. - Run the examples (MPD may need to update it's database).
The Edxamples #
arbitrary-commands.dart #
This allows you to enter anything into the application's stdin and it will send it to MPD. Then MPD will send a response back, and it will be printed to the screen.
adding-songs.dart #
This is an example of how you can add songs, tell MPD to play, and skip songs.
requesting-data.dart #
This is an example of how you can request some data from MPD's database.