Logo Search packages:      
Sourcecode: libmpdclient version File versions  Download package

bool mpd_send_noidle ( struct mpd_connection connection  ) 

Tells MPD to leave the "idle" mode. MPD will then respond with a list of events which have occurred (which may be empty). Call mpd_recv_idle() after that.

Definition at line 174 of file idle.c.

References mpd_send_command(), mpd_send_noidle(), and mpd_connection::receiving.

Referenced by mpd_run_noidle(), and mpd_send_noidle().

      /* we need this workaround, because "noidle" may be sent while
         the "idle" response is being received */
      connection->receiving = false;

      return mpd_send_command(connection, "noidle", NULL);

Generated by  Doxygen 1.6.0   Back to index