• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/minidlna/

Lines Matching refs:parentID

44 	char parentID[64];
49 get_next_available_id(const char * table, const char * parentID)
57 "(SELECT max(ID) from %s where PARENT_ID = '%s')", table, table, parentID);
77 int parentID = 0, objectID = 0;
89 parentID = strtol(rindex(result[1], '$')+1, NULL, 16);
94 parentID = get_next_available_id("OBJECTS", rootParent);
117 rootParent, parentID, rootParent, refID, detailID, class, item);
121 return (long long)parentID<<32|objectID;
163 //DEBUG DPRINTF(E_DEBUG, L_SCANNER, "Using last date item: %s/%s/%X\n", last_date.name, last_date.parentID, last_date.objectID);
168 sprintf(last_date.parentID, "3$12$%llX", container>>32);
171 //DEBUG DPRINTF(E_DEBUG, L_SCANNER, "Creating cached date item: %s/%s/%X\n", last_date.name, last_date.parentID, last_date.objectID);
177 last_date.parentID, last_date.objectID, last_date.parentID, refID, class, detailID, name);
191 sprintf(last_cam.parentID, "3$13$%llX", container>>32);
198 //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);
202 container = insert_container(date_taken, last_cam.parentID, NULL, "album.photoAlbum", NULL, NULL, NULL);
203 sprintf(last_camdate.parentID, "%s$%llX", last_cam.parentID, container>>32);
206 //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);
212 last_camdate.parentID, last_camdate.objectID, last_camdate.parentID, refID, class, detailID, name);
252 //DEBUG DPRINTF(E_DEBUG, L_SCANNER, "Using last album item: %s/%s/%X\n", last_album.name, last_album.parentID, last_album.objectID);
258 sprintf(last_album.parentID, "1$7$%llX", container>>32);
260 //DEBUG DPRINTF(E_DEBUG, L_SCANNER, "Creating cached album item: %s/%s/%X\n", last_album.name, last_album.parentID, last_album.objectID);
266 last_album.parentID, last_album.objectID, last_album.parentID, refID, class, detailID, name);
273 sprintf(last_artist.parentID, "1$6$%llX", container>>32);
277 container = insert_container("- All Albums -", last_artist.parentID, NULL, "storageFolder", artist, genre, NULL);
278 sprintf(last_artistAlbumAll.parentID, "%s$%llX", last_artist.parentID, container>>32);
288 //DEBUG DPRINTF(E_DEBUG, L_SCANNER, "Using last artist/album item: %s/%s/%X\n", last_artist.name, last_artist.parentID, last_artist.objectID);
292 container = insert_container(album?album:"Unknown Album", last_artist.parentID, album?last_album.parentID:NULL, "album.musicAlbum", artist, genre, album_art);
293 sprintf(last_artistAlbum.parentID, "%s$%llX", last_artist.parentID, container>>32);
296 //DEBUG DPRINTF(E_DEBUG, L_SCANNER, "Creating cached artist/album item: %s/%s/%X\n", last_artist.name, last_artist.parentID, last_artist.objectID);
302 last_artistAlbum.parentID, last_artistAlbum.objectID, last_artistAlbum.parentID, refID, class, detailID, name);
307 last_artistAlbumAll.parentID, last_artistAlbumAll.objectID, last_artistAlbumAll.parentID, refID, class, detailID, name);
314 sprintf(last_genre.parentID, "1$5$%llX", container>>32);
318 container = insert_container("- All Artists -", last_genre.parentID, NULL, "storageFolder", NULL, genre, NULL);
319 sprintf(last_genreArtistAll.parentID, "%s$%llX", last_genre.parentID, container>>32);
332 container = insert_container(artist?artist:"Unknown Artist", last_genre.parentID, artist?last_artist.parentID:NULL, "person.musicArtist", NULL, genre, NULL);
333 sprintf(last_genreArtist.parentID, "%s$%llX", last_genre.parentID, container>>32);
336 //DEBUG DPRINTF(E_DEBUG, L_SCANNER, "Creating cached genre/artist item: %s/%s/%X\n", last_genreArtist.name, last_genreArtist.parentID, last_genreArtist.objectID);
342 last_genreArtist.parentID, last_genreArtist.objectID, last_genreArtist.parentID, refID, class, detailID, name);
347 last_genreArtistAll.parentID, last_genreArtistAll.objectID, last_genreArtistAll.parentID, refID, class, detailID, name);
385 insert_directory(const char * name, const char * path, const char * base, const char * parentID, int objectID)
399 asprintf(&refID, "%s%s$%X", BROWSEDIR_ID, parentID, objectID);
405 asprintf(&id_buf, "%s%s$%X", base, parentID, objectID);
406 asprintf(&parent_buf, "%s%s", base, parentID);
449 base, parentID, objectID, base, parentID, refID, detailID, class, name);
457 insert_file(char * name, const char * path, const char * parentID, int object)
503 sprintf(objectID, "%s%s$%X", BROWSEDIR_ID, parentID, object);
510 objectID, BROWSEDIR_ID, parentID, class, detailID, name);
514 if( *parentID )
517 typedir_parentID = strdup(parentID);
533 base, parentID, object, base, parentID, objectID, class, detailID, name);