Lines Matching refs:album
4609 new->album = NULL; in LIBMTP_new_track_t()
4647 if (track->album != NULL) in LIBMTP_destroy_track_t()
4648 free(track->album); in LIBMTP_destroy_track_t()
4697 track->album = strdup(prop->propval.str); in pick_property_to_track_metadata()
4699 track->album = NULL; in pick_property_to_track_metadata()
4798 track->album = get_string_from_object(device, track->item_id, PTP_OPC_AlbumName); in get_track_metadata()
6447 if (metadata->album == NULL)
6453 prop->propval.str = strdup(metadata->album);
6609 ret = set_object_string(device, metadata->item_id, PTP_OPC_AlbumName, metadata->album);
7038 LIBMTP_album_t *album, const char* newname) argument
7042 ret = set_object_filename(device, album->album_id,
7050 free(album->name);
7051 album->name = strdup(newname);
8320 void LIBMTP_destroy_album_t(LIBMTP_album_t *album) argument
8322 if (album == NULL) {
8325 if (album->name != NULL)
8326 free(album->name);
8327 if (album->artist != NULL)
8328 free(album->artist);
8329 if (album->composer != NULL)
8330 free(album->composer);
8331 if (album->genre != NULL)
8332 free(album->genre);
8333 if (album->tracks != NULL)
8334 free(album->tracks);
8335 free(album);