• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/minidlna/

Lines Matching refs:item

406 	char *item, *saveptr = NULL;
421 item = strtok_r(filter, ",", &saveptr);
422 while( item != NULL )
425 *(item-1) = ',';
426 while( isspace(*item) )
427 item++;
428 if( strcmp(item, "@childCount") == 0 )
432 else if( strcmp(item, "@searchable") == 0 )
436 else if( strcmp(item, "dc:creator") == 0 )
440 else if( strcmp(item, "dc:date") == 0 )
444 else if( strcmp(item, "dc:description") == 0 )
448 else if( strcmp(item, "dlna") == 0 )
452 else if( strcmp(item, "@refID") == 0 )
456 else if( strcmp(item, "upnp:album") == 0 )
460 else if( strcmp(item, "upnp:albumArtURI") == 0 )
466 else if( strcmp(item, "upnp:albumArtURI@dlna:profileID") == 0 )
471 else if( strcmp(item, "upnp:artist") == 0 )
475 else if( strcmp(item, "upnp:actor") == 0 )
479 else if( strcmp(item, "upnp:genre") == 0 )
483 else if( strcmp(item, "upnp:originalTrackNumber") == 0 )
487 else if( strcmp(item, "upnp:searchClass") == 0 )
491 else if( strcmp(item, "upnp:storageUsed") == 0 )
495 else if( strcmp(item, "res") == 0 )
499 else if( (strcmp(item, "res@bitrate") == 0) ||
500 (strcmp(item, "@bitrate") == 0) ||
501 ((strcmp(item, "bitrate") == 0) && (flags & FILTER_RES)) )
506 else if( (strcmp(item, "res@duration") == 0) ||
507 (strcmp(item, "@duration") == 0) ||
508 ((strcmp(item, "duration") == 0) && (flags & FILTER_RES)) )
513 else if( (strcmp(item, "res@nrAudioChannels") == 0) ||
514 (strcmp(item, "@nrAudioChannels") == 0) ||
515 ((strcmp(item, "nrAudioChannels") == 0) && (flags & FILTER_RES)) )
520 else if( (strcmp(item, "res@resolution") == 0) ||
521 (strcmp(item, "@resolution") == 0) ||
522 ((strcmp(item, "resolution") == 0) && (flags & FILTER_RES)) )
527 else if( (strcmp(item, "res@sampleFrequency") == 0) ||
528 (strcmp(item, "@sampleFrequency") == 0) ||
529 ((strcmp(item, "sampleFrequency") == 0) && (flags & FILTER_RES)) )
534 else if( (strcmp(item, "res@size") == 0) ||
535 (strcmp(item, "@size") == 0) ||
536 (strcmp(item, "size") == 0) )
541 else if( strcmp(item, "sec:CaptionInfoEx") == 0 )
545 else if( strcmp(item, "sec:dcmInfo") == 0 )
549 else if( strcmp(item, "res@pv:subtitleFileType") == 0 )
553 else if( strcmp(item, "res@pv:subtitleFileUri") == 0 )
557 else if( strcmp(item, "av:mediaClass") == 0 )
561 item = strtok_r(NULL, ",", &saveptr);
571 char *item, *saveptr;
581 if( (item = strtok_r(sortCriteria, ",", &saveptr)) )
589 for( i = 0; item != NULL; i++ )
594 if( *item == '+' )
596 item++;
598 else if( *item == '-' )
601 item++;
605 DPRINTF(E_ERROR, L_HTTP, "No order specified [%s]\n", item);
608 if( strcasecmp(item, "upnp:class") == 0 )
612 else if( strcasecmp(item, "dc:title") == 0 )
617 else if( strcasecmp(item, "dc:date") == 0 )
621 else if( strcasecmp(item, "upnp:originalTrackNumber") == 0 )
625 else if( strcasecmp(item, "upnp:album") == 0 )
631 DPRINTF(E_ERROR, L_HTTP, "Unhandled SortCriteria [%s]\n", item);
646 item = strtok_r(NULL, ",", &saveptr);
817 if( strncmp(class, "item", 4) == 0 )
922 ret = strcatf(str, "<item id=\"%s\" parentID=\"%s\" restricted=\"1\"", id, parent);
1112 ret = strcatf(str, "</item>");
1126 "<upnp:searchClass includeDerived=\"1\">object.item.audioItem</upnp:searchClass>"
1127 "<upnp:searchClass includeDerived=\"1\">object.item.imageItem</upnp:searchClass>"
1128 "<upnp:searchClass includeDerived=\"1\">object.item.videoItem</upnp:searchClass");
1880 "<container id=\"%s\" type=\"object.item.audioItem\"/>"
1881 "<container id=\"%s\" type=\"object.item.videoItem\"/>"
1882 "<container id=\"%s\" type=\"object.item.imageItem\"/>"