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

Lines Matching refs:parentID

49 	char parentID[64];
54 get_next_available_id(const char * table, const char * parentID)
62 "(SELECT max(ID) from %s where PARENT_ID = '%s')", table, table, parentID);
82 int parentID = 0, objectID = 0;
94 parentID = strtol(rindex(result[1], '$')+1, NULL, 16);
99 parentID = get_next_available_id("OBJECTS", rootParent);
122 rootParent, parentID, rootParent, refID, detailID, class, item);
126 return (long long)parentID<<32|objectID;
168 //DEBUG DPRINTF(E_DEBUG, L_SCANNER, "Using last date item: %s/%s/%X\n", last_date.name, last_date.parentID, last_date.objectID);
173 sprintf(last_date.parentID, "3$12$%llX", container>>32);
176 //DEBUG DPRINTF(E_DEBUG, L_SCANNER, "Creating cached date item: %s/%s/%X\n", last_date.name, last_date.parentID, last_date.objectID);
182 last_date.parentID, last_date.objectID, last_date.parentID, refID, class, detailID, name);
196 sprintf(last_cam.parentID, "3$13$%llX", container>>32);
203 //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);
207 container = insert_container(date_taken, last_cam.parentID, NULL, "album.photoAlbum", NULL, NULL, NULL);
208 sprintf(last_camdate.parentID, "%s$%llX", last_cam.parentID, container>>32);
211 //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);
217 last_camdate.parentID, last_camdate.objectID, last_camdate.parentID, refID, class, detailID, name);
257 //DEBUG DPRINTF(E_DEBUG, L_SCANNER, "Using last album item: %s/%s/%X\n", last_album.name, last_album.parentID, last_album.objectID);
263 sprintf(last_album.parentID, "1$7$%llX", container>>32);
265 //DEBUG DPRINTF(E_DEBUG, L_SCANNER, "Creating cached album item: %s/%s/%X\n", last_album.name, last_album.parentID, last_album.objectID);
271 last_album.parentID, last_album.objectID, last_album.parentID, refID, class, detailID, name);
278 sprintf(last_artist.parentID, "1$6$%llX", container>>32);
282 container = insert_container(_("- All Albums -"), last_artist.parentID, NULL, "storageFolder", artist, genre, NULL);
283 sprintf(last_artistAlbumAll.parentID, "%s$%llX", last_artist.parentID, container>>32);
293 //DEBUG DPRINTF(E_DEBUG, L_SCANNER, "Using last artist/album item: %s/%s/%X\n", last_artist.name, last_artist.parentID, last_artist.objectID);
297 container = insert_container(album?album:_("Unknown Album"), last_artist.parentID, album?last_album.parentID:NULL, "album.musicAlbum", artist, genre, album_art);
298 sprintf(last_artistAlbum.parentID, "%s$%llX", last_artist.parentID, container>>32);
301 //DEBUG DPRINTF(E_DEBUG, L_SCANNER, "Creating cached artist/album item: %s/%s/%X\n", last_artist.name, last_artist.parentID, last_artist.objectID);
307 last_artistAlbum.parentID, last_artistAlbum.objectID, last_artistAlbum.parentID, refID, class, detailID, name);
312 last_artistAlbumAll.parentID, last_artistAlbumAll.objectID, last_artistAlbumAll.parentID, refID, class, detailID, name);
319 sprintf(last_genre.parentID, "1$5$%llX", container>>32);
323 container = insert_container(_("- All Artists -"), last_genre.parentID, NULL, "storageFolder", NULL, genre, NULL);
324 sprintf(last_genreArtistAll.parentID, "%s$%llX", last_genre.parentID, container>>32);
337 container = insert_container(artist?artist:_("Unknown Artist"), last_genre.parentID, artist?last_artist.parentID:NULL, "person.musicArtist", NULL, genre, NULL);
338 sprintf(last_genreArtist.parentID, "%s$%llX", last_genre.parentID, container>>32);
341 //DEBUG DPRINTF(E_DEBUG, L_SCANNER, "Creating cached genre/artist item: %s/%s/%X\n", last_genreArtist.name, last_genreArtist.parentID, last_genreArtist.objectID);
347 last_genreArtist.parentID, last_genreArtist.objectID, last_genreArtist.parentID, refID, class, detailID, name);
352 last_genreArtistAll.parentID, last_genreArtistAll.objectID, last_genreArtistAll.parentID, refID, class, detailID, name);
390 insert_directory(const char * name, const char * path, const char * base, const char * parentID, int objectID)
404 asprintf(&refID, "%s%s$%X", BROWSEDIR_ID, parentID, objectID);
410 asprintf(&id_buf, "%s%s$%X", base, parentID, objectID);
411 asprintf(&parent_buf, "%s%s", base, parentID);
454 base, parentID, objectID, base, parentID, refID, detailID, class, name);
462 insert_file(char * name, const char * path, const char * parentID, int object)
507 sprintf(objectID, "%s%s$%X", BROWSEDIR_ID, parentID, object);
513 objectID, BROWSEDIR_ID, parentID, class, detailID, name);
515 if( *parentID )
518 typedir_parentID = strdup(parentID);
532 base, parentID, object, base, parentID, objectID, class, detailID, name);