LIBMTP_playlist_struct(3)
π LIBMTP_playlist_struct π
okay so bestie, welcome to the Library Functions Manual β this is the page for LIBMTP_playlist_struct, and honestly? it's giving "the blueprint of a playlist" and we're obsessed π
β¨ NAME β¨
LIBMTP_playlist_struct β the struct that is an MTP playlist, no cap π΅
πΈ SYNOPSIS πΈ
#include <libmtp.h>
π¦ Data Fields
uint32_t playlist_iduint32_t parent_iduint32_t storage_idchar * nameuint32_t * tracksuint32_t no_tracksLIBMTP_playlist_t * next
π Detailed Description π
MTP Playlist structure β that's the whole vibe. it's the little bundle of fields that describes one playlist on your device, and every field is a main character in its own right π
π§ Field Documentation π§
π char* LIBMTP_playlist_struct::name
Name of playlist β literally the label, the title, the whole identity of the thing β¨
Examples: playlists.c.
Referenced by LIBMTP_Create_New_Playlist(), LIBMTP_destroy_playlist_t(), LIBMTP_Get_Playlist(), LIBMTP_Get_Playlist_List(), LIBMTP_Set_Playlist_Name(), and LIBMTP_Update_Playlist().
π LIBMTP_playlist_t* LIBMTP_playlist_struct::next
Next playlist, or NULL if this is the last playlist β so it's a linked list, and when it's NULL you've hit the end, periodt π₯
Examples: playlists.c.
Referenced by LIBMTP_Get_Playlist_List().
π uint32_t LIBMTP_playlist_struct::no_tracks
The number of tracks in this playlist β the headcount, the attendance list, iykyk π«Ά
Examples: getplaylist.c, and playlists.c.
Referenced by LIBMTP_Create_New_Playlist(), LIBMTP_Get_Playlist(), LIBMTP_Get_Playlist_List(), and LIBMTP_Update_Playlist().
π¦ uint32_t LIBMTP_playlist_struct::parent_id
ID of parent folder β like, where this playlist lives in the folder tree π
Examples: playlists.c.
Referenced by LIBMTP_Create_New_Playlist(), LIBMTP_Get_Playlist(), and LIBMTP_Get_Playlist_List().
π uint32_t LIBMTP_playlist_struct::playlist_id
Unique playlist ID β the one-of-one identifier, no duplicates allowed bestie π
Examples: playlists.c.
Referenced by LIBMTP_Create_New_Playlist(), LIBMTP_Get_Playlist(), LIBMTP_Get_Playlist_List(), LIBMTP_Set_Playlist_Name(), and LIBMTP_Update_Playlist().
β uint32_t LIBMTP_playlist_struct::storage_id
ID of storage holding this playlist β which storage the playlist is chilling on πΎ
Referenced by LIBMTP_Create_New_Playlist(), LIBMTP_Get_Playlist(), and LIBMTP_Get_Playlist_List().
π§ uint32_t* LIBMTP_playlist_struct::tracks
The tracks in this playlist β the actual bops, the lineup, the reason we're all here πΆ
Examples: getplaylist.c, and playlists.c.
Referenced by LIBMTP_Create_New_Playlist(), LIBMTP_destroy_playlist_t(), LIBMTP_Get_Playlist(), LIBMTP_Get_Playlist_List(), and LIBMTP_Update_Playlist().
π Author π
Generated automatically by Doxygen for libmtp from the source code. not me being generated by a doc tool π iconic behaviour honestly.
bestie reminder: every field above is verbatim, every function name is verbatim, every file name is verbatim β the vibes are new but the facts are sacred π«Άπ
okay that's the whole page!! this was LIBMTP_playlist_struct(3) from libmtp, Version 1.1.23 β slay, go build something cute with it πβ¨π
π¦ where this page comes from
- arch rolling: libmtp 1.1.23-1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms