What's new

add media server to support *.rmvb?

## metadata.c
//line 840
else if ( strncmp (ctx->iformatctx->name, "matroska" , 8 ) == 0 )
xasprintf(&m.mime, "video/x-matroska" );
else if ( strcmp (ctx->iformatctx->name, "flv" ) == 0 )
xasprintf(&m.mime, "video/x-flv" );
//----add----
else if ( strcmp (ctx->iformat->name, "rm" ) == 0 )
xasprintf(&m.mime, "video/x-pn-realvideo" );
else if ( strcmp (ctx->iformat->name, "rmvb" ) == 0 )
xasprintf(&m.mime, "video/x-pn-realvideo" );
//---end----
if ( m.mime )
goto video_nodlna;


-----------------------------------------------------------------------------------------------
## upnpglobalvars.h
// Line 169
"http-get:*:audio/mp4:*," \
"http-get:*:audio/x-wav:*," \
"http-get:*:audio/ x-flac:*," \
"http-get:*:application/ogg:*," \ //Modify this
"http-get:*:video/x-pn-realvideo:*" // Add this

# define DLNA_FLAG_DLNA_V1_5 0x00100000
# define DLNA_FLAG_HTTP_STALLING 0x00200000

----------------------------------------------------------------------------------------------------
## utils.c
//line 381
ends_with(file, ".m2t" ) || ends_with(file, ".mkv" ) ||
ends_with(file, ".vob" ) || ends_with(file, ".ts" ) ||
ends_with(file, ".flv" ) || ends_with(file, ".xvid" ) ||
//----add----
ends_with(file, ".rm" ) || ends_with(file, ". rmvb" ) ||
//----end----
# ifdef TIVO_SUPPORT
ends_with(file, ".TiVo" ) ||
# endif
ends_with(file, ".mov" ) || ends_with(file, ".3gp " ));
 

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top