Home | History | Annotate | Download | only in examples

Lines Matching refs:id

42   int id = parse_path (from_path,files,folders);
43 if (id > 0) {
45 if (LIBMTP_Get_File_To_File(device, id, to_path, progress, NULL) != 0 ) {
58 uint32_t id;
63 // We need file ID and filename
69 // Sanity check song ID
70 id = strtoul(argv[1], &endptr, 10);
74 } else if ( ! id ) {
75 fprintf(stderr, "bad file/track id %u\n", id);
81 printf("Getting file/track %d to local file %s\n", id, file);
84 if (LIBMTP_Get_File_To_File(device, id, file, progress, NULL) != 0 ) {