You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here follows some scripts using python-mpd to connect and play with your MPD server.
MPD server used in the script is localhost:6600, please adapt to your own configuration changing the proper var in the script header.
Examples
Print out general stats: ExampleStats
Random queue: ExampleRandomQueue
Handling errors: ExampleErrorhandling
Deal with mutli-tag files. Some sound files may define the same tag multiple times, here is a function to deal with it in your client: ExampleMultiTags