LIBMTP_playlist_struct(3)

πŸ“¦ version 1.1.23, in arch rolling

πŸ’– 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_id
  • uint32_t parent_id
  • uint32_t storage_id
  • char * name
  • uint32_t * tracks
  • uint32_t no_tracks
  • LIBMTP_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