Home | History | Annotate | Download | only in examples

Lines Matching full:playlist

3  * Example program to create a playlist on a device.
72 printf("You need to supply a playlist name.\n");
89 LIBMTP_playlist_t *playlist = LIBMTP_new_playlist_t();
90 playlist->name = playlistname;
91 playlist->no_tracks = idcount;
92 playlist->tracks = ids;
93 playlist->parent_id = 0;
94 playlist->storage_id = 0;
95 int ret = LIBMTP_Create_New_Playlist(device,playlist);
97 printf("Couldn't create playlist object\n");
102 printf("Created new playlist: %u\n", playlist->playlist_id);