/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/minidlna/ |
H A D | utils.c | 311 mime_to_ext(const char * mime) argument 313 switch( *mime ) 317 if( strcmp(mime+6, "mpeg") == 0 ) 319 else if( strcmp(mime+6, "mp4") == 0 ) 321 else if( strcmp(mime+6, "x-ms-wma") == 0 ) 323 else if( strcmp(mime+6, "x-flac") == 0 ) 325 else if( strcmp(mime+6, "flac") == 0 ) 327 else if( strcmp(mime+6, "x-wav") == 0 ) 329 else if( strncmp(mime+6, "L16", 3) == 0 ) 331 else if( strcmp(mime [all...] |
H A D | metadata.c | 224 val = GetValueFromNameValueList(&xml, "mime"); 227 free(m->mime); 229 m->mime = escape_tag(esc_tag, 1); 257 free(m->mime); 304 m.mime = strdup("audio/mpeg"); 310 m.mime = strdup("audio/mp4"); 315 m.mime = strdup("audio/3gpp"); 320 m.mime = strdup("audio/x-ms-wma"); 325 m.mime = strdup("audio/x-flac"); 330 m.mime [all...] |
H A D | upnpsoap.c | 697 char *nrAudioChannels, char *resolution, char *dlna_pn, char *mime, 736 mime, dlna_pn, lan_addr[args->iface].str, 780 *tn = argv[18], *creator = argv[19], *dlna_pn = argv[20], *mime = argv[21], *album_art = argv[22], *rotate = argv[23]; local 822 if( *mime == 'v' ) 827 if( strcmp(mime, "video/x-msvideo") == 0 ) 830 strcpy(mime+6, "divx"); 832 strcpy(mime+6, "avi"); 837 if( strcmp(mime, "video/x-msvideo") == 0 ) 839 strcpy(mime+6, "avi"); 847 strcpy(mime 696 add_res(char *size, char *duration, char *bitrate, char *sampleFrequency, char *nrAudioChannels, char *resolution, char *dlna_pn, char *mime, char *detailID, const char *ext, struct Response *args) argument [all...] |
H A D | metadata.h | 43 char * mime; member in struct:metadata_s
|
H A D | tivo_commands.c | 139 *comment = argv[11], *date = argv[12], *resolution = argv[13], *mime = argv[14]; local 146 if( strncmp(mime, "audio", 5) == 0 ) 153 "audio/*", mime, size); 158 else if( strcmp(mime, "image/jpeg") == 0 ) 165 "image/*", mime, size); 177 else if( strncmp(mime, "video", 5) == 0 ) 185 mime, mime, size); 239 mime, 241 detailID, mime_to_ext(mime), [all...] |
H A D | upnphttp.c | 1317 start_dlna_header(struct string_s *str, int respcode, const char *tmode, const char *mime) argument 1332 respcode, date, tmode, mime); 1351 char mime[12] = "image/"; local 1361 strcpy(mime+6, "png"); 1368 strcpy(mime+6, "png"); 1375 strcpy(mime+6, "jpeg"); 1382 strcpy(mime+6, "jpeg"); 1390 strcpy(mime+6, "png"); 1397 strcpy(mime+6, "png"); 1404 strcpy(mime 1848 char mime[32]; member in struct:__anon4702 [all...] |
H A D | utils.h | 93 const char *mime_to_ext(const char * mime);
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/minidlna/ |
H A D | utils.c | 311 mime_to_ext(const char * mime) argument 313 switch( *mime ) 317 if( strcmp(mime+6, "mpeg") == 0 ) 319 else if( strcmp(mime+6, "mp4") == 0 ) 321 else if( strcmp(mime+6, "x-ms-wma") == 0 ) 323 else if( strcmp(mime+6, "x-flac") == 0 ) 325 else if( strcmp(mime+6, "flac") == 0 ) 327 else if( strcmp(mime+6, "x-wav") == 0 ) 329 else if( strncmp(mime+6, "L16", 3) == 0 ) 331 else if( strcmp(mime [all...] |
H A D | metadata.c | 224 val = GetValueFromNameValueList(&xml, "mime"); 227 free(m->mime); 229 m->mime = escape_tag(esc_tag, 1); 257 free(m->mime); 304 m.mime = strdup("audio/mpeg"); 310 m.mime = strdup("audio/mp4"); 315 m.mime = strdup("audio/3gpp"); 320 m.mime = strdup("audio/x-ms-wma"); 325 m.mime = strdup("audio/x-flac"); 330 m.mime [all...] |
H A D | upnpsoap.c | 697 char *nrAudioChannels, char *resolution, char *dlna_pn, char *mime, 736 mime, dlna_pn, lan_addr[args->iface].str, 780 *tn = argv[18], *creator = argv[19], *dlna_pn = argv[20], *mime = argv[21], *album_art = argv[22], *rotate = argv[23]; local 822 if( *mime == 'v' ) 827 if( strcmp(mime, "video/x-msvideo") == 0 ) 830 strcpy(mime+6, "divx"); 832 strcpy(mime+6, "avi"); 837 if( strcmp(mime, "video/x-msvideo") == 0 ) 839 strcpy(mime+6, "avi"); 847 strcpy(mime 696 add_res(char *size, char *duration, char *bitrate, char *sampleFrequency, char *nrAudioChannels, char *resolution, char *dlna_pn, char *mime, char *detailID, const char *ext, struct Response *args) argument [all...] |
H A D | metadata.h | 43 char * mime; member in struct:metadata_s
|
H A D | tivo_commands.c | 139 *comment = argv[11], *date = argv[12], *resolution = argv[13], *mime = argv[14]; local 146 if( strncmp(mime, "audio", 5) == 0 ) 153 "audio/*", mime, size); 158 else if( strcmp(mime, "image/jpeg") == 0 ) 165 "image/*", mime, size); 177 else if( strncmp(mime, "video", 5) == 0 ) 185 mime, mime, size); 239 mime, 241 detailID, mime_to_ext(mime), [all...] |
H A D | upnphttp.c | 1317 start_dlna_header(struct string_s *str, int respcode, const char *tmode, const char *mime) argument 1332 respcode, date, tmode, mime); 1351 char mime[12] = "image/"; local 1361 strcpy(mime+6, "png"); 1368 strcpy(mime+6, "png"); 1375 strcpy(mime+6, "jpeg"); 1382 strcpy(mime+6, "jpeg"); 1390 strcpy(mime+6, "png"); 1397 strcpy(mime+6, "png"); 1404 strcpy(mime 1848 char mime[32]; member in struct:__anon5607 [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/minidlna/ |
H A D | utils.c | 311 mime_to_ext(const char * mime) argument 313 switch( *mime ) 317 if( strcmp(mime+6, "mpeg") == 0 ) 319 else if( strcmp(mime+6, "mp4") == 0 ) 321 else if( strcmp(mime+6, "x-ms-wma") == 0 ) 323 else if( strcmp(mime+6, "x-flac") == 0 ) 325 else if( strcmp(mime+6, "flac") == 0 ) 327 else if( strcmp(mime+6, "x-wav") == 0 ) 329 else if( strncmp(mime+6, "L16", 3) == 0 ) 331 else if( strcmp(mime [all...] |
H A D | metadata.c | 224 val = GetValueFromNameValueList(&xml, "mime"); 227 free(m->mime); 229 m->mime = escape_tag(esc_tag, 1); 257 free(m->mime); 304 m.mime = strdup("audio/mpeg"); 310 m.mime = strdup("audio/mp4"); 315 m.mime = strdup("audio/3gpp"); 320 m.mime = strdup("audio/x-ms-wma"); 325 m.mime = strdup("audio/x-flac"); 330 m.mime [all...] |
H A D | upnpsoap.c | 697 char *nrAudioChannels, char *resolution, char *dlna_pn, char *mime, 736 mime, dlna_pn, lan_addr[args->iface].str, 780 *tn = argv[18], *creator = argv[19], *dlna_pn = argv[20], *mime = argv[21], *album_art = argv[22], *rotate = argv[23]; local 822 if( *mime == 'v' ) 827 if( strcmp(mime, "video/x-msvideo") == 0 ) 830 strcpy(mime+6, "divx"); 832 strcpy(mime+6, "avi"); 837 if( strcmp(mime, "video/x-msvideo") == 0 ) 839 strcpy(mime+6, "avi"); 847 strcpy(mime 696 add_res(char *size, char *duration, char *bitrate, char *sampleFrequency, char *nrAudioChannels, char *resolution, char *dlna_pn, char *mime, char *detailID, const char *ext, struct Response *args) argument [all...] |
H A D | metadata.h | 43 char * mime; member in struct:metadata_s
|
H A D | tivo_commands.c | 139 *comment = argv[11], *date = argv[12], *resolution = argv[13], *mime = argv[14]; local 146 if( strncmp(mime, "audio", 5) == 0 ) 153 "audio/*", mime, size); 158 else if( strcmp(mime, "image/jpeg") == 0 ) 165 "image/*", mime, size); 177 else if( strncmp(mime, "video", 5) == 0 ) 185 mime, mime, size); 239 mime, 241 detailID, mime_to_ext(mime), [all...] |
H A D | upnphttp.c | 1317 start_dlna_header(struct string_s *str, int respcode, const char *tmode, const char *mime) argument 1332 respcode, date, tmode, mime); 1351 char mime[12] = "image/"; local 1361 strcpy(mime+6, "png"); 1368 strcpy(mime+6, "png"); 1375 strcpy(mime+6, "jpeg"); 1382 strcpy(mime+6, "jpeg"); 1390 strcpy(mime+6, "png"); 1397 strcpy(mime+6, "png"); 1404 strcpy(mime 1848 char mime[32]; member in struct:__anon39632 [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/minidlna/tagutils/ |
H A D | tagutils-pcm.c | 45 xasprintf(&(psong->mime), "audio/L16;rate=%d;channels=%d", psong->samplerate, psong->channels);
|
H A D | tagutils.h | 91 char *mime; // MIME type member in struct:song_metadata
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/minidlna/tagutils/ |
H A D | tagutils-pcm.c | 45 xasprintf(&(psong->mime), "audio/L16;rate=%d;channels=%d", psong->samplerate, psong->channels);
|
H A D | tagutils.h | 91 char *mime; // MIME type member in struct:song_metadata
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/minidlna/tagutils/ |
H A D | tagutils-pcm.c | 45 xasprintf(&(psong->mime), "audio/L16;rate=%d;channels=%d", psong->samplerate, psong->channels);
|
H A D | tagutils.h | 91 char *mime; // MIME type member in struct:song_metadata
|