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
- ubuntu stonking: libmtp-doc 1.1.23-1 Β· LGPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms