What's new

add media server to support *.rmvb?

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

## 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 " ));
 

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

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