* Remove any DLNA profile info for TiVo files.
This commit is contained in:
parent
21a36701e6
commit
f7394c0c43
@ -1432,8 +1432,13 @@ video_no_dlna:
|
|||||||
#ifdef TIVO_SUPPORT
|
#ifdef TIVO_SUPPORT
|
||||||
if( ends_with(path, ".TiVo") && is_tivo_file(path) )
|
if( ends_with(path, ".TiVo") && is_tivo_file(path) )
|
||||||
{
|
{
|
||||||
free(m.mime);
|
if( m.dlna_pn )
|
||||||
asprintf(&m.mime, "video/x-tivo-mpeg");
|
{
|
||||||
|
free(m.dlna_pn);
|
||||||
|
m.dlna_pn = NULL;
|
||||||
|
}
|
||||||
|
m.mime = realloc(m.mime, 18);
|
||||||
|
strcpy(m.mime, "video/x-tivo-mpeg");
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
if( !m.title )
|
if( !m.title )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user