---
name: "LIBMTP_playlist_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_playlist_struct"
---

# LIBMTP\_playlist\_struct(3)

## NAME

LIBMTP\_playlist\_struct

## 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

## Field Documentation

### char\* LIBMTP\_playlist\_struct::name

Name of playlist

**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 last playlist

**Examples** **playlists.c**.

Referenced by **LIBMTP\_Get\_Playlist\_List()**.

### uint32\_t LIBMTP\_playlist\_struct::no\_tracks

The number of tracks in this playlist

**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

**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

**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

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

**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.
