Skip to content
ScottRapsey edited this page Apr 2, 2013 · 13 revisions

A page for info about the Dlna Plugin

Info about dlna in general

A great document about how Media Player 11 serves DLNA content to clients:
http://msdn.microsoft.com/en-us/library/windows/hardware/gg487545.aspx
This is the first place I found any solid information about the well known folder structure that dlna expects for the first few levels of folders. There's a bit of an MS glossary here: http://msdn.microsoft.com/en-us/library/ff362584.aspx

Common Acronyms

  • DMS - Digital Media Server - These devices store content and make it available to networked digital media players (DMP) and digital media renderers (DMR). Examples include PCs and network-attached storage (NAS) devices.

  • DMP - Digital Media Player - These devices find content on digital media servers (DMS) and provide playback and rendering capabilities. Examples include TVs, stereos and home theaters, wireless monitors and game consoles.

  • DMR - Digital Media Renderer - These devices play content received from a digital media controller (DMC), which will find content from a digital media server (DMS). Examples include TVs, audio/video receivers, video displays and remote speakers for music.

  • DMC - Digital Media Controller - These devices find content on digital media servers (DMS) and play it on digital media renderers (DMR). Examples include Internet tablets, Wi-Fi enabled digital cameras and personal digital assistants (PDAs).

  • DIDL-Lite - A subset of the Digital Item Declaration Language (DIDL), which is an XML dialect developed within ISO/MPEG21. The didl-lite-v2.xsd (the Platinum library always refers to DIDL but it really means DIDL-Lite).

Dlna Protocol Information

DLNA.ORG_PN

Described in very descriptively as the PN parameter

DLNA.ORG_OP - Operations Parameter

Operations Parameter - The op-value is a string composed of two characters: a-val and b-val.

  • a-val: boolean - indicates support of the TimeSeekRange.dlna.org HTTP header for the context of the protocolInfo under the "Full Random Access Data Availability" model
  • b-val: boolean - indicates support of the Range HTTP header for the context of the protocolInfo under the "Full Random Access Data Availability" model.
DLNA.ORG_CI - Conversion Indicator Flag

Boolean - If the context of the protocolInfo involves a content binary that is converted from a different content binary, then ci-value is "1". , the ci-value is "0".

DLNA.ORG_FLAGS

Made up of two flag values: "Primary Flags" "Reserved Flags"

  • Primary Flags - 8 hex digit - The primary-flags token must be exactly 8 hexadecimal digits and it must represent a value composed of 32 binary bits
  • Reserved Flags - 24 reserved hex digit

Link Dump

http://upnp.org/specs/av/UPnP-av-ContentDirectory-v2-Service.pdf
ftp://ftp.im.must.edu.tw/download/wtlin/UPnP-DLNA/[DLNA]%20Member%20Download/DLNA__Guideline.pdf
http://download.microsoft.com/download/9/5/E/95EF66AF-9026-4BB0-A41D-A4F81802D92C/[MS-DLNHND].pdf http://msdn.microsoft.com/en-us/library/ff362430.aspx
http://www.plutinosoft.com/platinum
http://stackoverflow.com/questions/274470/creating-a-dlna-server-service-in-vb-net
http://stackoverflow.com/questions/14327977/c-dms-with-subtitle-support-on-lg-smart-tv-with-platinium-library

Xbox 360 Information

A list of file types that the 360 supports can be found here:
http://support.xbox.com/en-US/xbox-360/playto/playto-setup
A more detailed but unoffical list here:
http://superuser.com/questions/439500/recommended-xbox-360-video-format
There's some great (if slightly dated) information about serving up Dlan/UPnP info to the 360 here:
http://www.mperfect.net/whsUpnp360/

Random Notes

Multiple resources can be attached to each media item that is served. If an audio/music item has all possible resources attached (raw stream, .ogg, .mp3, .flac, .aac, .wma) then:

  • WMP will not try to pick the most suitable, it will just try to play the last resource in the list.
  • VLC will not try to pick the most suitable either it will play the first resource in the list.
  • XBox360 Music App is more discerning and will use the first supplied out of .acc, .mp3 and .wma (although the MB Api crashes when it tries to serve the Xbox .acc files at the moment).