LIBMTP_album_struct(3)

πŸ’– LIBMTP_album_struct(3) πŸ’–

okay bestie, welcome to LIBMTP_album_struct(3) β€” it lives in the Library Functions Manual for libmtp, and it's literally just the blueprint for one (1) album struct. lowkey iconic. let's get into it πŸŽ€


✨ NAME ✨

libmtp β€” that's it. that's the name. the description field is giving empty, and honestly? we respect the mystery 🫢


✨ SYNOPSIS ✨

first things first, you gotta let it in:

#include <libmtp.h>

πŸ¦‹ Data Fields

the whole glow-up list, in original order, no notes:

uint32_t album_id
uint32_t parent_id
uint32_t storage_id
char * name
char * artist
char * composer
char * genre
uint32_t * tracks
uint32_t no_tracks
LIBMTP_album_t * next

✨ Detailed Description ✨

it's the MTP Album structure, periodt. one struct, holding one album's whole situation πŸ’…


✨ Field Documentation ✨

uint32_t LIBMTP_album_struct::album_id

Unique playlist ID. (yes bestie it says playlist in the docs β€” we don't write 'em, we just report 'em πŸ’€)

referenced by:

  • LIBMTP_Create_New_Album()
  • LIBMTP_Get_Album()
  • LIBMTP_Get_Album_List_For_Storage()
  • LIBMTP_Set_Album_Name()
  • LIBMTP_Update_Album()

char* LIBMTP_album_struct::artist

Name of album artist 🎀

Examples: sendtr.c.

referenced by:

  • LIBMTP_Create_New_Album()
  • LIBMTP_destroy_album_t()
  • LIBMTP_Update_Album()

char* LIBMTP_album_struct::composer

Name of recording composer ✍️

Examples: sendtr.c.

referenced by:

  • LIBMTP_Create_New_Album()
  • LIBMTP_destroy_album_t()
  • LIBMTP_Update_Album()

char* LIBMTP_album_struct::genre

Genre of album 🌈

Examples: sendtr.c.

referenced by:

  • LIBMTP_Create_New_Album()
  • LIBMTP_destroy_album_t()
  • LIBMTP_Update_Album()

char* LIBMTP_album_struct::name

Name of album πŸ’–

Examples: sendtr.c.

referenced by:

  • LIBMTP_Create_New_Album()
  • LIBMTP_destroy_album_t()
  • LIBMTP_Set_Album_Name()
  • LIBMTP_Update_Album()

LIBMTP_album_t* LIBMTP_album_struct::next

Next album or NULL if last album. (so you just keep chasing next until it's NULL β€” that's the whole thing, no cap ✨)

Examples: sendtr.c.

referenced by:

  • LIBMTP_Get_Album_List_For_Storage()

uint32_t LIBMTP_album_struct::no_tracks

The number of tracks in this album πŸ”’

Examples: sendtr.c.

referenced by:

  • LIBMTP_Create_New_Album()
  • LIBMTP_Get_Album()
  • LIBMTP_Get_Album_List_For_Storage()
  • LIBMTP_Update_Album()

uint32_t LIBMTP_album_struct::parent_id

ID of parent folder πŸ“

referenced by:

  • LIBMTP_Create_New_Album()
  • LIBMTP_Get_Album()
  • LIBMTP_Get_Album_List_For_Storage()

uint32_t LIBMTP_album_struct::storage_id

ID of storage holding this album πŸ’Ύ

Examples: sendtr.c.

referenced by:

  • LIBMTP_Create_New_Album()
  • LIBMTP_Get_Album()
  • LIBMTP_Get_Album_List_For_Storage()

uint32_t* LIBMTP_album_struct::tracks

The tracks in this album 🎢

Examples: sendtr.c.

referenced by:

  • LIBMTP_Create_New_Album()
  • LIBMTP_destroy_album_t()
  • LIBMTP_Get_Album()
  • LIBMTP_Get_Album_List_For_Storage()
  • LIBMTP_Update_Album()

✨ Author ✨

Generated automatically by Doxygen for libmtp from the source code. (so no, a human did not handcraft this, the robot did it and it ate πŸ€–βœ¨)


and that's the whole page bestie 🫢 shoutout to libmtp, footer says Version 1.1.23, and the original page signs off as LIBMTP_album_struct(3) β€” go forth and struct your albums πŸ’…πŸŒΈ

πŸ“¦ where this page comes from