Home | History | Annotate | Download | only in examples

Lines Matching refs:tracks

2  * \file tracks.c
3 * Example program to list the tracks on a device.
85 LIBMTP_track_t *tracks;
93 fprintf(stdout, "mtp-tracks: No Devices have been found\n");
96 fprintf(stderr, "mtp-tracks: There has been an error connecting. Exit\n");
99 fprintf(stderr, "mtp-tracks: Memory Allocation Error. Exit\n");
105 fprintf(stderr, "mtp-tracks: Unknown error, please report "
111 fprintf(stdout, "mtp-tracks: Successfully connected\n");
129 tracks = LIBMTP_Get_Tracklisting_With_Callback(iter, NULL, NULL);
130 if (tracks == NULL) {
131 printf("No tracks.\n");
134 track = tracks;