Lines Matching refs:objectID
65 int64_t objectID;
74 int64_t objectID = 0;
83 objectID = strtoll(base+1, NULL, 16) + 1;
87 return objectID;
92 const char *artist, const char *genre, const char *album_art, int64_t *objectID, int64_t *parentID)
112 *objectID = get_next_available_id("OBJECTS", result);
117 *objectID = 0;
148 int64_t objectID, parentID;
174 last_date.objectID++;
175 //DEBUG DPRINTF(E_DEBUG, L_SCANNER, "Using last date item: %s/%s/%X\n", last_date.name, last_date.parentID, last_date.objectID);
179 insert_container(date_taken, IMAGE_DATE_ID, NULL, "album.photoAlbum", NULL, NULL, NULL, &objectID, &parentID);
181 last_date.objectID = objectID;
183 //DEBUG DPRINTF(E_DEBUG, L_SCANNER, "Creating cached date item: %s/%s/%X\n", last_date.name, last_date.parentID, last_date.objectID);
189 last_date.parentID, (long long)last_date.objectID, last_date.parentID, refID, class, (long long)detailID, name);
193 insert_container(camera, IMAGE_CAMERA_ID, NULL, "storageFolder", NULL, NULL, NULL, &objectID, &parentID);
201 last_camdate.objectID++;
202 //DEBUG DPRINTF(E_DEBUG, L_SCANNER, "Using last camdate item: %s/%s/%s/%X\n", camera, last_camdate.name, last_camdate.parentID, last_camdate.objectID);
206 insert_container(date_taken, last_cam.parentID, NULL, "album.photoAlbum", NULL, NULL, NULL, &objectID, &parentID);
208 last_camdate.objectID = objectID;
210 //DEBUG DPRINTF(E_DEBUG, L_SCANNER, "Creating cached camdate item: %s/%s/%s/%X\n", camera, last_camdate.name, last_camdate.parentID, last_camdate.objectID);
216 last_camdate.parentID, last_camdate.objectID, last_camdate.parentID, refID, class, (long long)detailID, name);
254 last_album.objectID++;
255 //DEBUG DPRINTF(E_DEBUG, L_SCANNER, "Using last album item: %s/%s/%X\n", last_album.name, last_album.parentID, last_album.objectID);
260 insert_container(album, MUSIC_ALBUM_ID, NULL, "album.musicAlbum", artist, genre, album_art, &objectID, &parentID);
262 last_album.objectID = objectID;
263 //DEBUG DPRINTF(E_DEBUG, L_SCANNER, "Creating cached album item: %s/%s/%X\n", last_album.name, last_album.parentID, last_album.objectID);
269 last_album.parentID, last_album.objectID, last_album.parentID, refID, class, (long long)detailID, name);
275 insert_container(artist, MUSIC_ARTIST_ID, NULL, "person.musicArtist", NULL, genre, NULL, &objectID, &parentID);
280 insert_container(_("- All Albums -"), last_artist.parentID, NULL, "album", artist, genre, NULL, &objectID, &parentID);
282 last_artistAlbumAll.objectID = objectID;
286 last_artistAlbumAll.objectID++;
290 last_artistAlbum.objectID++;
291 //DEBUG DPRINTF(E_DEBUG, L_SCANNER, "Using last artist/album item: %s/%s/%X\n", last_artist.name, last_artist.parentID, last_artist.objectID);
296 "album.musicAlbum", artist, genre, album_art, &objectID, &parentID);
298 last_artistAlbum.objectID = objectID;
300 //DEBUG DPRINTF(E_DEBUG, L_SCANNER, "Creating cached artist/album item: %s/%s/%X\n", last_artist.name, last_artist.parentID, last_artist.objectID);
306 last_artistAlbum.parentID, last_artistAlbum.objectID, last_artistAlbum.parentID, refID, class, (long long)detailID, name);
311 last_artistAlbumAll.parentID, last_artistAlbumAll.objectID, last_artistAlbumAll.parentID, refID, class, (long long)detailID, name);
317 insert_container(genre, MUSIC_GENRE_ID, NULL, "genre.musicGenre", NULL, NULL, NULL, &objectID, &parentID);
321 insert_container(_("- All Artists -"), last_genre.parentID, NULL, "person", NULL, genre, NULL, &objectID, &parentID);
323 last_genreArtistAll.objectID = objectID;
327 last_genreArtistAll.objectID++;
331 last_genreArtist.objectID++;
336 "person.musicArtist", NULL, genre, NULL, &objectID, &parentID);
338 last_genreArtist.objectID = objectID;
340 //DEBUG DPRINTF(E_DEBUG, L_SCANNER, "Creating cached genre/artist item: %s/%s/%X\n", last_genreArtist.name, last_genreArtist.parentID, last_genreArtist.objectID);
346 last_genreArtist.parentID, last_genreArtist.objectID, last_genreArtist.parentID, refID, class, (long long)detailID, name);
351 last_genreArtistAll.parentID, last_genreArtistAll.objectID, last_genreArtistAll.parentID, refID, class, (long long)detailID, name);
389 insert_directory(const char *name, const char *path, const char *base, const char *parentID, int objectID)
404 snprintf(refID, sizeof(refID), "%s%s$%X", BROWSEDIR_ID, parentID, objectID);
405 snprintf(id_buf, sizeof(id_buf), "%s%s$%X", base, parentID, objectID);
445 base, parentID, objectID, base, parentID, detailID, class, name);
454 char objectID[64];
496 sprintf(objectID, "%s%s$%X", BROWSEDIR_ID, parentID, object);
502 objectID, BROWSEDIR_ID, parentID, class, detailID, name);
521 base, parentID, object, base, parentID, objectID, class, detailID, name);
523 insert_containers(name, path, objectID, class, detailID);