* Add a possible MIME type workaround for MPEG-TS files on Freebox.
This commit is contained in:
parent
996f85e025
commit
5195daf0ca
@ -690,6 +690,14 @@ callback(void *args, int argc, char **argv, char **azColName)
|
||||
strcpy(mime+6, "avi");
|
||||
}
|
||||
}
|
||||
else if( passed_args->client == EFreeBox )
|
||||
{
|
||||
if( strncmp(dlna_pn, "AVC_TS", 6) == 0 ||
|
||||
strncmp(dlna_pn, "MPEG_TS", 7) == 0 )
|
||||
{
|
||||
strcpy(mime+6, "mp2t");
|
||||
}
|
||||
}
|
||||
if( !(passed_args->flags & FLAG_DLNA) )
|
||||
{
|
||||
if( strcmp(mime+6, "vnd.dlna.mpeg-tts") == 0 )
|
||||
|
Loading…
x
Reference in New Issue
Block a user