Adam

Results 131 comments of Adam

Well, to be honest, in my opinion this is bad design then (you may have your reasons, but my personal opinion is, that I do not like it). In Volumio...

Good point @youpilai > And for now, the emulation of mpd is not complete. Why do you want to emulate mpd, when you have an actual mpd instance running under...

What is a doc change? A pull request?

Interesting to note: You can set the transmission channel with `wifi_set_channel()` but advertise a different channel in `beaconPacket[82]`. The phone/router show the latter when receiving the beacons.

This is probably related to https://github.com/Mic92/python-mpd2/issues/64. I solved this using https://piripherals.readthedocs.io/en/latest/piripherals.mpd.html (https://github.com/quantenschaum/piripherals).

Just guessing here, but `python-mpd2` is *not* threadsafe! You must call it from one thread only.

Yes, locking is one possibility. I used a dedicated thread for calling mpd methods. Instead of locking and calling mpd directly from different threads, I queued calls to mpd in...

`except ConnectionError:` maybe?

This may actually not be part of this issue, but people may find it useful anyways. Could you @Stephanowicz please post a minimal example to reproduce this?

It's old but just to mention it. You could grab tiles from https://wetmaps.co.nz/ and cache them using mapproxy.