gompd
gompd copied to clipboard
Client side library for MPD (Music Player Daemon) for Go Programming Language.
Experimenting with some encoded URLs (using gompd v2.3.0 tag) I found that `addid` was breaking the URLs it sends to MPD while `add` was not. After some digging I found...
https://github.com/fhs/gompd/blob/c269f23a98e34a26322620c35e756cb4da0bfc6d/mpd/watcher.go#L8-L9 contains unexported reference to `Client` instance. Now when I need both watcher for mpd's subsystem events and also retrieve current song information, I have to create another instance with...
There's currently no function for the `listfiles` mpd [command](https://www.musicpd.org/doc/html/protocol.html#the-music-database). > `listfiles {URI}` > > Lists the contents of the directory URI, including files are not recognized by MPD. URI can...
The test seems to sometimes hang during tear-down (closing the Watcher). ``` === RUN TestWatcher panic: test timed out after 10m0s goroutine 43 [running]: testing.(*M).startAlarm.func1() /opt/hostedtoolcache/go/1.14.1/x64/src/testing/testing.go:1460 +0x11c created by time.goFunc...
it would be great if this package supported [client-to-client channels](https://www.musicpd.org/doc/html/protocol.html#client-to-client). i haven't looked at this package in too much detail yet, so i don't know how difficult this would be...