Searched defs:album (Results 1 - 5 of 5) sorted by relevance
/external/libmtp/examples/ |
H A D | albums.c | 26 static void dump_albuminfo(LIBMTP_album_t *album) argument 28 printf("Album ID: %d\n",album->album_id); 29 printf(" Parent ID: %d\n",album->parent_id); 30 printf(" Name: %s\n",album->name); 31 printf(" Artist: %s\n", album->artist); 32 printf(" Composer: %s\n", album->composer); 33 printf(" Genre: %s\n", album->genre); 34 printf(" Tracks: %d\n\n",album->no_tracks); 73 LIBMTP_album_t *album_list, *album, *tmp; local 85 album [all...] |
H A D | albumart.c | 3 * Example program to send album art. 88 printf("You need to supply an album name.\n"); 132 LIBMTP_album_t *album = LIBMTP_new_album_t(); local 133 album->name = albumname; 134 album->no_tracks = idcount; 135 album->tracks = ids; 136 album->parent_id = 0; 137 album->storage_id = 0; 138 int ret = LIBMTP_Create_New_Album(device,album); 140 ret = LIBMTP_Send_Representative_Sample(device,album [all...] |
H A D | sendtr.c | 59 fprintf(stderr, " -l <album> -c <codec> -g <genre> -n <track number> -y <year>\n"); 94 LIBMTP_album_t *album; local 98 /* Look for the album */ 99 album = LIBMTP_Get_Album_List(device); 100 while(album != NULL) { 101 if ((album->name != NULL && 102 album->artist != NULL && 103 !strcmp(album->name, albuminfo->name) && 104 !strcmp(album->artist, albuminfo->artist)) || 105 (album 167 char artist[80], albumartist[80], title[80], genre[80], album[80], composer[80]; local [all...] |
/external/libmtp/src/ |
H A D | libmtp.c | 3216 printf(" Default album folder: 0x%08x\n", device->default_album_folder); 4175 new->album = NULL; 4213 if (track->album != NULL) 4214 free(track->album); 4263 track->album = strdup(prop->propval.str); 4265 track->album = NULL; 4364 track->album = get_string_from_object(device, track->item_id, PTP_OPC_AlbumName); 5879 if (metadata->album == NULL) 5885 prop->propval.str = strdup(metadata->album); 6040 // Update album 6463 LIBMTP_Set_Album_Name(LIBMTP_mtpdevice_t *device, LIBMTP_album_t *album, const char* newname) argument 7688 LIBMTP_destroy_album_t(LIBMTP_album_t *album) argument [all...] |
H A D | libmtp.h | 633 char *album; /**< Album name for track */ member in struct:LIBMTP_track_struct 670 uint32_t storage_id; /**< ID of storage holding this album */ 671 char *name; /**< Name of album */ 672 char *artist; /**< Name of album artist */ 674 char *genre; /**< Genre of album */ 675 uint32_t *tracks; /**< The tracks in this album */ 676 uint32_t no_tracks; /**< The number of tracks in this album */ 677 LIBMTP_album_t *next; /**< Next album or NULL if last album */ 914 * @defgroup albums The audio/video album managemen [all...] |
Completed in 153 milliseconds