nickpegg / mpdsync Goto Github PK
View Code? Open in Web Editor NEWPython program to synchronize multiple MPD servers
Python program to synchronize multiple MPD servers
Hey, I have updated the script to work with python-mpd2 (which supports some newer commands and ranges). The branch is at https://github.com/alphapapa/mpdsync/tree/python-mpd2. I also rewrote a lot of it, subclassing MPDClient
, using argparse
instead of a config file, using CamelCase for names (just my preference), and org-mode for the readme (also just my preference). I did also fix one bug I discovered while working on it, which is that if a track were deleted from the playlist that's before the currently playing track, slaves would stop playing.
Oh, and I used logging
, which picks up debug messages from python-mpd
too.
This is a drastic change, so I understand if you don't want to pull the branch. If that's the case, would you want me to rename it to something other than mpdsync
? I could do something like ampdsync
or mpdsync2
. Let me know what you think.
Using mpd 0.18.7 and 0.19.1 on Ubuntu 14.04 and Debian Jessie, I get this error. I fixed it here: #1 I just started using mpd, so I don't know if something changed in mpd, because surely it used to work.
Thanks for writing this script. It's really great!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.