---
name: "LIBMTP_album_struct"
section: "3"
platform: "linux"
package: "libmtp"
version: "1.1.23-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/LIBMTP_album_struct"
---

# LIBMTP\_album\_struct(3)

## NAME

LIBMTP\_album\_struct

## SYNOPSIS

\#include \<libmtp.h\>

### Data Fields

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

MTP Album structure

## Field Documentation

### uint32\_t LIBMTP\_album\_struct::album\_id

Unique playlist ID

Referenced by **LIBMTP\_Create\_New\_Album()**, **LIBMTP\_Get\_Album()**, **LIBMTP\_Get\_Album\_List\_For\_Storage()**, **LIBMTP\_Set\_Album\_Name()**, and **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()**, and **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()**, and **LIBMTP\_Update\_Album()**.

### char\* LIBMTP\_album\_struct::genre

Genre of album

**Examples** **sendtr.c**.

Referenced by **LIBMTP\_Create\_New\_Album()**, **LIBMTP\_destroy\_album\_t()**, and **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()**, and **LIBMTP\_Update\_Album()**.

### LIBMTP\_album\_t\* LIBMTP\_album\_struct::next

Next album or NULL if last album

**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()**, and **LIBMTP\_Update\_Album()**.

### uint32\_t LIBMTP\_album\_struct::parent\_id

ID of parent folder

Referenced by **LIBMTP\_Create\_New\_Album()**, **LIBMTP\_Get\_Album()**, and **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()**, and **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()**, and **LIBMTP\_Update\_Album()**.

## Author

Generated automatically by Doxygen for libmtp from the source code.
