Lines Matching refs:item_id
4212 new->item_id = 0; in LIBMTP_new_file_t()
4290 file->item_id = ob->oid; in obj2file()
4326 file->filesize = get_u64_from_object(device, file->item_id, PTP_OPC_ObjectSize, 0); in obj2file()
4328 file->filesize = get_u32_from_object(device, file->item_id, PTP_OPC_ObjectSize, 0); in obj2file()
4603 new->item_id = 0; in LIBMTP_new_track_t()
4761 ret = ptp_object_want(params, track->item_id, PTPOBJECT_MTPPROPLIST_LOADED, &ob); in get_track_metadata()
4780 track->title = get_string_from_object(device, track->item_id, PTP_OPC_Name); in get_track_metadata()
4783 track->artist = get_string_from_object(device, track->item_id, PTP_OPC_Artist); in get_track_metadata()
4786 track->composer = get_string_from_object(device, track->item_id, PTP_OPC_Composer); in get_track_metadata()
4789 track->duration = get_u32_from_object(device, track->item_id, PTP_OPC_Duration, 0); in get_track_metadata()
4792 track->tracknumber = get_u16_from_object(device, track->item_id, PTP_OPC_Track, 0); in get_track_metadata()
4795 track->genre = get_string_from_object(device, track->item_id, PTP_OPC_Genre); in get_track_metadata()
4798 track->album = get_string_from_object(device, track->item_id, PTP_OPC_AlbumName); in get_track_metadata()
4801 track->date = get_string_from_object(device, track->item_id, PTP_OPC_OriginalReleaseDate); in get_track_metadata()
4805 track->samplerate = get_u32_from_object(device, track->item_id, PTP_OPC_SampleRate, 0); in get_track_metadata()
4808 track->nochannels = get_u16_from_object(device, track->item_id, PTP_OPC_NumberOfChannels, 0); in get_track_metadata()
4811 track->wavecodec = get_u32_from_object(device, track->item_id, PTP_OPC_AudioWAVECodec, 0); in get_track_metadata()
4814 track->bitrate = get_u32_from_object(device, track->item_id, PTP_OPC_AudioBitRate, 0); in get_track_metadata()
4817 track->bitratetype = get_u16_from_object(device, track->item_id, PTP_OPC_BitRateType, 0); in get_track_metadata()
4820 track->rating = get_u16_from_object(device, track->item_id, PTP_OPC_Rating, 0); in get_track_metadata()
4823 track->usecount = get_u32_from_object(device, track->item_id, PTP_OPC_UseCount, 0); in get_track_metadata()
4827 track->filesize = get_u64_from_object(device, track->item_id, PTP_OPC_ObjectSize, 0); in get_track_metadata()
4829 … track->filesize = (uint64_t) get_u32_from_object(device, track->item_id, PTP_OPC_ObjectSize, 0); in get_track_metadata()
4991 track->item_id = ob->oid; in LIBMTP_Get_Tracklisting_With_Callback_For_Storage()
5098 track->item_id = ob->oid; in LIBMTP_Get_Trackmetadata()
5652 filedata.item_id = metadata->item_id;
5681 metadata->item_id = filedata.item_id;
5756 filedata.item_id = metadata->item_id;
5786 metadata->item_id = filedata.item_id;
5969 add_object_to_cache(device, filedata->item_id);
5977 newfilemeta = LIBMTP_Get_Filemetadata(device, filedata->item_id);
6082 add_object_to_cache(device, filedata->item_id);
6090 newfilemeta = LIBMTP_Get_Filemetadata(device, filedata->item_id);
6267 filedata->item_id = 0x00000000U;
6282 prop->ObjectHandle = filedata->item_id;
6294 prop->ObjectHandle = filedata->item_id;
6301 prop->ObjectHandle = filedata->item_id;
6308 prop->ObjectHandle = filedata->item_id;
6318 prop->ObjectHandle = filedata->item_id;
6331 ret = ptp_mtp_sendobjectproplist(params, &store, &localph, &filedata->item_id,
6366 ret = ptp_sendobjectinfo(params, &store, &localph, &filedata->item_id, &new_file);
6441 prop->ObjectHandle = metadata->item_id;
6450 prop->ObjectHandle = metadata->item_id;
6459 prop->ObjectHandle = metadata->item_id;
6468 prop->ObjectHandle = metadata->item_id;
6477 prop->ObjectHandle = metadata->item_id;
6484 prop->ObjectHandle = metadata->item_id;
6491 prop->ObjectHandle = metadata->item_id;
6500 prop->ObjectHandle = metadata->item_id;
6507 prop->ObjectHandle = metadata->item_id;
6514 prop->ObjectHandle = metadata->item_id;
6521 prop->ObjectHandle = metadata->item_id;
6528 prop->ObjectHandle = metadata->item_id;
6535 prop->ObjectHandle = metadata->item_id;
6545 prop->ObjectHandle = metadata->item_id;
6552 prop->ObjectHandle = metadata->item_id;
6561 prop->ObjectHandle = metadata->item_id;
6601 ret = set_object_string(device, metadata->item_id, PTP_OPC_Name, metadata->title);
6609 ret = set_object_string(device, metadata->item_id, PTP_OPC_AlbumName, metadata->album);
6617 ret = set_object_string(device, metadata->item_id, PTP_OPC_Artist, metadata->artist);
6625 ret = set_object_string(device, metadata->item_id, PTP_OPC_Composer, metadata->composer);
6634 ret = set_object_string(device, metadata->item_id, PTP_OPC_Genre, metadata->genre);
6644 …ret = set_object_u32(device, metadata->item_id, PTP_OPC_Duration, adjust_u32(metadata->duration, &…
6654 …ret = set_object_u16(device, metadata->item_id, PTP_OPC_Track, adjust_u16(metadata->tracknumber, &…
6666 … ret = set_object_string(device, metadata->item_id, PTP_OPC_OriginalReleaseDate, metadata->date);
6677 …ret = set_object_u32(device, metadata->item_id, PTP_OPC_SampleRate, adjust_u32(metadata->samplerat…
6687 …ret = set_object_u16(device, metadata->item_id, PTP_OPC_NumberOfChannels, adjust_u16(metadata->noc…
6697 …ret = set_object_u32(device, metadata->item_id, PTP_OPC_AudioWAVECodec, adjust_u32(metadata->wavec…
6707 …ret = set_object_u32(device, metadata->item_id, PTP_OPC_AudioBitRate, adjust_u32(metadata->bitrate…
6717 …ret = set_object_u16(device, metadata->item_id, PTP_OPC_BitRateType, adjust_u16(metadata->bitratet…
6728 …ret = set_object_u16(device, metadata->item_id, PTP_OPC_Rating, adjust_u16(metadata->rating, &opd)…
6737 …ret = set_object_u32(device, metadata->item_id, PTP_OPC_UseCount, adjust_u32(metadata->usecount, &…
6747 ret = set_object_string(device, metadata->item_id, PTP_OPC_DateModified, tmpstamp);
6772 update_metadata_cache(device, metadata->item_id);
6908 ret = set_object_filename(device, file->item_id,
6968 ret = set_object_filename(device, track->item_id,