home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 2
Plugin Development
Featured Plugins
UPnP / DLNA Media Server
UPnP / DLNA Media Server for MediaPortal 2
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="MrTechno" data-source="post: 1150781" data-attributes="member: 111518"><p>You mean in DlnaProtocolInfoFactory? I think the most relevant part of the way we do it now is the comment:</p><p>[CODE=C#] private static string ConfigureProfile(DlnaForthField dlnaField, MediaItem item, string mediaType)</p><p> {</p><p> //TODO: much better type resolution[/CODE]</p><p>You're right that using only the MIME type is not enough, we need to use the information in the MediaItem (which includes everything in <a href="http://sourceforge.net/p/minidlna/git/ci/master/tree/metadata.c#l660" target="_blank">http://sourceforge.net/p/minidlna/git/ci/master/tree/metadata.c#l660</a> ) to determine the DLNA profile. We probably need to add more options to DlnaProfiles as well. It just need some time and some thinking,,,</p></blockquote><p></p>
[QUOTE="MrTechno, post: 1150781, member: 111518"] You mean in DlnaProtocolInfoFactory? I think the most relevant part of the way we do it now is the comment: [CODE=C#] private static string ConfigureProfile(DlnaForthField dlnaField, MediaItem item, string mediaType) { //TODO: much better type resolution[/CODE] You're right that using only the MIME type is not enough, we need to use the information in the MediaItem (which includes everything in [URL]http://sourceforge.net/p/minidlna/git/ci/master/tree/metadata.c#l660[/URL] ) to determine the DLNA profile. We probably need to add more options to DlnaProfiles as well. It just need some time and some thinking,,, [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
Plugin Development
Featured Plugins
UPnP / DLNA Media Server
UPnP / DLNA Media Server for MediaPortal 2
Contact us
RSS
Top
Bottom