Home | History | Annotate | Download | only in examples

Lines Matching defs:album

3  * Example program to send album art.
100 printf("You need to supply an album name.\n");
145 LIBMTP_album_t *album = LIBMTP_new_album_t();
146 album->name = albumname;
147 album->no_tracks = idcount;
148 album->tracks = ids;
149 album->parent_id = parentid;
150 album->storage_id = storageid;
152 ret = LIBMTP_Create_New_Album(device,album);
154 ret = LIBMTP_Send_Representative_Sample(device,album->album_id, albumart);
156 printf("Couldn't send album art\n");
162 printf("Couldn't create album object\n");
168 LIBMTP_destroy_album_t(album);