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
Implemented with uvw / libuv and only calls the status callback when there is an actual change on the MPD server. It uses modern event notification mechanism (epoll (), etc.) through libuv.
src/mpd/status-listener.cpp
Implemented using the normal POSIX socket functions, but is not complete. Currently it calls the status callback with a dummy Idle::Song flag set every 2 seconds. It should actually call MPDs idle method (like the uvw one does) and preferably use select (). At the beginning a simple loop whould be fine as well.
The text was updated successfully, but these errors were encountered:
There are currently two status listeners:
src/mpd/status-listener-uvw.cpp
Implemented with uvw / libuv and only calls the status callback when there is an actual change on the MPD server. It uses modern event notification mechanism (
epoll ()
, etc.) through libuv.src/mpd/status-listener.cpp
Implemented using the normal POSIX socket functions, but is not complete. Currently it calls the status callback with a dummy Idle::Song flag set every 2 seconds. It should actually call MPDs
idle
method (like the uvw one does) and preferably useselect ()
. At the beginning a simple loop whould be fine as well.The text was updated successfully, but these errors were encountered: