NJB_Delete_Playlist3
Delete a playlist from the njb
Usage
#include <sys/types.h> #include <libnjb.h>
extern int njb_error
int NJB_Delete_Playlist (njb_t *njb, u_int32_t plid)
Library
libnjb
Overview
This function deletes the playlist identified by the ID plid from the NJB. The IDs of existing playlists are obtained via the NJB_Get_Playlists(3) function.
Return values
Returns 0 on success. If a failure occurs, -1 is returned an njb_error is set.
EO_BADSTATUS
|
Non-zero status returned by the NJB (the playlist ID may be invalid). |
|---|---|
EO_USBCTL
|
An I/O error occurred on the control data pipe. |
Releases
Unchanged in 2 releases since Debian 3.1 (Sarge).