/** * Request the playlist_loaded broadcast. This will be called * if a playlist is loaded server-side. The argument will be a string * with the playlist name. */ xmmsc_result_t * xmmsc_broadcast_playlist_loaded (xmmsc_connection_t *c) { x_check_conn (c, NULL); return xmmsc_send_broadcast_msg (c, XMMS_IPC_SIGNAL_PLAYLIST_LOADED); }
/** * Request the collection changed broadcast from the server. Everytime someone * manipulates a collection this will be emitted. */ xmmsc_result_t* xmmsc_broadcast_collection_changed (xmmsc_connection_t *c) { x_check_conn (c, NULL); return xmmsc_send_broadcast_msg (c, XMMS_IPC_SIGNAL_COLLECTION_CHANGED); }
/** * Request the playlist current pos broadcast. When the position * in the playlist is changed this will be called. */ xmmsc_result_t * xmmsc_broadcast_playlist_current_pos (xmmsc_connection_t *c) { x_check_conn (c, NULL); return xmmsc_send_broadcast_msg (c, XMMS_IPC_SIGNAL_PLAYLIST_CURRENT_POS); }
/** * Request the medialib_entry_changed broadcast. This will be called * if a entry changes on the serverside. The argument will be an medialib * id. */ xmmsc_result_t * xmmsc_broadcast_medialib_entry_changed (xmmsc_connection_t *c) { x_check_conn (c, NULL); return xmmsc_send_broadcast_msg (c, XMMS_IPC_SIGNAL_MEDIALIB_ENTRY_UPDATE); }
/** * Request status for the mediainfo reader. It can be idle or working */ xmmsc_result_t * xmmsc_broadcast_mediainfo_reader_status (xmmsc_connection_t *c) { x_check_conn (c, NULL); return xmmsc_send_broadcast_msg (c, XMMS_IPC_SIGNAL_MEDIAINFO_READER_STATUS); }
xmmsc_result_t * xmmsc_broadcast_playback_volume_changed (xmmsc_connection_t *c) { x_check_conn (c, NULL); return xmmsc_send_broadcast_msg (c, XMMS_IPC_SIGNAL_PLAYBACK_VOLUME_CHANGED); }
/** * Request the current id broadcast. This will be called then the * current playing id is changed. New song for example. */ xmmsc_result_t * xmmsc_broadcast_playback_current_id (xmmsc_connection_t *c) { x_check_conn (c, NULL); return xmmsc_send_broadcast_msg (c, XMMS_IPC_SIGNAL_PLAYBACK_CURRENTID); }
/** * Requests the playback status broadcast. This will be called when * events like play, stop and pause is triggered. */ xmmsc_result_t * xmmsc_broadcast_playback_status (xmmsc_connection_t *c) { x_check_conn (c, NULL); return xmmsc_send_broadcast_msg (c, XMMS_IPC_SIGNAL_PLAYBACK_STATUS); }