njb_playlist_struct

Langue: en

Version: 359707 (ubuntu - 24/10/10)

Section: 3 (Bibliothèques de fonctions)

NAME

njb_playlist_struct -

SYNOPSIS


#include <libnjb.h>

Data Fields


char * name

int _state

u_int32_t ntracks

u_int32_t plid

njb_playlist_track_t * first

njb_playlist_track_t * last

njb_playlist_track_t * cur

njb_playlist_t * nextpl

Detailed Description

This struct holds the actual playlist. A playlist usually contain a number of njb_playlist_track_t tracks.

Examples:

pl.c, and playlists.c.

Field Documentation

int njb_playlist_struct::_stateThe state of this playlist

Examples: pl.c, and playlists.c.

Referenced by NJB_Playlist_Addtrack(), NJB_Playlist_Deltrack(), NJB_Playlist_Deltrack_TrackID(), NJB_Playlist_New(), NJB_Playlist_Set_Name(), NJB_Update_Playlist(), and playlist_unpack().

njb_playlist_track_t* njb_playlist_struct::curA pointer to the current track in this playlist

Referenced by NJB_Playlist_Addtrack(), NJB_Playlist_Destroy(), NJB_Playlist_Gettrack(), and NJB_Playlist_Reset_Gettrack().

njb_playlist_track_t* njb_playlist_struct::firstA pointer to the first track in this playlist

Referenced by NJB_Playlist_Addtrack(), NJB_Playlist_Deltrack(), NJB_Playlist_Deltrack_TrackID(), NJB_Playlist_Destroy(), and NJB_Playlist_Reset_Gettrack().

njb_playlist_track_t* njb_playlist_struct::lastA pointer to the last track in this playlist

Referenced by NJB_Playlist_Addtrack(), and NJB_Playlist_Deltrack().

char* njb_playlist_struct::nameThe name of this playlist

Examples: pl.c, and playlists.c.

Referenced by NJB_Playlist_Destroy(), NJB_Playlist_Set_Name(), NJB_Update_Playlist(), and playlist_unpack().

njb_playlist_t* njb_playlist_struct::nextplUsed internally for spanning lists of playlists on series 3 devices only

Referenced by njb3_reset_get_playlist_tag().

u_int32_t njb_playlist_struct::ntracksThe number of tracks in this playlist

Examples: pl.c, and playlists.c.

Referenced by NJB_Playlist_Addtrack(), NJB_Playlist_Deltrack(), NJB_Playlist_Deltrack_TrackID(), and NJB_Update_Playlist().

u_int32_t njb_playlist_struct::plidThe playlist ID for this playlist, as used on the device

Examples: pl.c, and playlists.c.

Referenced by NJB_Update_Playlist(), and playlist_unpack().

Author

Generated automatically by Doxygen for libnjb from the source code.