Lines Matching refs:albuminfo
92 static int add_track_to_album(LIBMTP_album_t *albuminfo, LIBMTP_track_t *trackmeta) in add_track_to_album() argument
103 !strcmp(album->name, albuminfo->name) && in add_track_to_album()
104 !strcmp(album->artist, albuminfo->artist)) || in add_track_to_album()
107 !strcmp(album->name, albuminfo->name) && in add_track_to_album()
108 !strcmp(album->composer, albuminfo->composer))) { in add_track_to_album()
145 albuminfo->tracks = trackid; in add_track_to_album()
146 albuminfo->no_tracks = 1; in add_track_to_album()
147 albuminfo->storage_id = trackmeta->storage_id; in add_track_to_album()
149 ret = LIBMTP_Create_New_Album(device, albuminfo); in add_track_to_album()
173 LIBMTP_album_t *albuminfo; in sendtrack_function() local
179 albuminfo = LIBMTP_new_album_t(); in sendtrack_function()
276 albuminfo->name = strdup(palbum); in sendtrack_function()
280 albuminfo->artist = strdup(palbumartist); in sendtrack_function()
286 albuminfo->artist = strdup(partist); in sendtrack_function()
292 albuminfo->composer = strdup(pcomposer); in sendtrack_function()
297 albuminfo->genre = strdup(pgenre); in sendtrack_function()
362 ret = add_track_to_album(albuminfo, trackmeta); in sendtrack_function()
364 LIBMTP_destroy_album_t(albuminfo); in sendtrack_function()