2014-03-26 15:21:29 -04:00
<!DOCTYPE html>
< html >
< head >
< title > DLNA< / title >
< / head >
< body >
< div id = "dlnaProfilePage" data-role = "page" class = "page type-interior adminPage dlnaPage" >
< div data-role = "content" >
< div class = "content-primary" >
< div data-role = "controlgroup" data-type = "horizontal" class = "localnav" data-mini = "true" >
< a href = "dlnasettings.html" data-role = "button" > Settings< / a >
2014-03-26 16:14:47 -04:00
< a href = "dlnaprofiles.html" data-role = "button" class = "ui-btn-active" > Profiles< / a >
2014-03-26 15:21:29 -04:00
< / div >
2014-03-28 14:17:18 -04:00
< form class = "dlnaProfileForm" style = "max-width: 650px;" >
2014-03-26 16:14:47 -04:00
2014-03-28 14:17:18 -04:00
< p > Profile Information< / p >
2014-03-27 15:30:21 -04:00
< div data-role = "controlgroup" data-type = "horizontal" data-mini = "true" >
< input type = "radio" name = "radioProfileTab" class = "radioProfileTab" id = "radioInfo" value = "tabInfo" >
< label for = "radioInfo" > Info< / label >
< input type = "radio" name = "radioProfileTab" class = "radioProfileTab" id = "radioIdentification" value = "tabIdentification" >
< label for = "radioIdentification" > Identification< / label >
2014-03-28 14:17:18 -04:00
< input type = "radio" name = "radioProfileTab" class = "radioProfileTab" id = "radioDirectPlay" value = "tabDirectPlayProfiles" >
< label for = "radioDirectPlay" > Direct Play< / label >
< input type = "radio" name = "radioProfileTab" class = "radioProfileTab" id = "radioTranscoding" value = "tabTranscodingProfiles" >
< label for = "radioTranscoding" > Transcoding< / label >
< input type = "radio" name = "radioProfileTab" class = "radioProfileTab" id = "radioContainers" value = "tabContainerProfiles" >
< label for = "radioContainers" > Containers< / label >
< input type = "radio" name = "radioProfileTab" class = "radioProfileTab" id = "radioCodecs" value = "tabCodecProfiles" >
< label for = "radioCodecs" > Codecs< / label >
< input type = "radio" name = "radioProfileTab" class = "radioProfileTab" id = "radioMediaProfiles" value = "tabMediaProfiles" >
< label for = "radioMediaProfiles" > Responses< / label >
2014-03-27 15:30:21 -04:00
< / div >
< br / >
< div class = "profileTab tabInfo" >
2014-03-28 14:17:18 -04:00
< ul data-role = "listview" class = "ulForm" >
< li >
< label for = "txtName" > Name< / label >
< input type = "text" id = "txtName" data-mini = "true" required = "required" / >
< / li >
< / ul >
2014-03-27 15:30:21 -04:00
< fieldset data-role = "controlgroup" >
< legend > Supported Media Types:< / legend >
< input type = "checkbox" data-mini = "true" id = "chkAudio" data-value = "Audio" class = "chkMediaType" / >
< label for = "chkAudio" > Audio< / label >
< input type = "checkbox" data-mini = "true" id = "chkPhoto" data-value = "Photo" class = "chkMediaType" / >
< label for = "chkPhoto" > Photo< / label >
< input type = "checkbox" data-mini = "true" id = "chkVideo" data-value = "Video" class = "chkMediaType" / >
< label for = "chkVideo" > Video< / label >
< / fieldset >
2014-03-28 14:17:18 -04:00
< br / >
< ul data-role = "listview" class = "ulForm" >
< li >
< label for = "chkEnableAlbumArtInDidl" > Embed album art in Didl< / label >
< input type = "checkbox" id = "chkEnableAlbumArtInDidl" data-mini = "true" / >
2014-03-28 15:58:18 -04:00
< div class = "fieldDescription" > Some devices prefer this method for obtaining album art. Others may fail to play with this option enabled.< / div >
2014-03-28 14:17:18 -04:00
< / li >
< / ul >
2014-03-27 15:30:21 -04:00
< / div >
< div class = "profileTab tabIdentification" >
2014-03-28 14:17:18 -04:00
< p > Devices have two forms of identification, device properties and HTTP request headers. At least one form should be supplied.< / p >
< br / >
< ul data-role = "listview" class = "ulForm" >
< li >
< label for = "txtIdFriendlyName" > Friendly name< / label >
< input type = "text" id = "txtIdFriendlyName" data-mini = "true" / >
< div class = "fieldDescription" > A case-insensitive substring or regex expression.< / div >
< / li >
< li >
< label for = "txtIdManufacturer" > Manufacturer< / label >
< input type = "text" id = "txtIdManufacturer" data-mini = "true" / >
< div class = "fieldDescription" > A case-insensitive substring or regex expression.< / div >
< / li >
< li >
< label for = "txtIdManufacturerUrl" > Manufacturer url< / label >
< input type = "text" id = "txtIdManufacturerUrl" data-mini = "true" / >
< div class = "fieldDescription" > A case-insensitive substring or regex expression.< / div >
< / li >
< li >
< label for = "txtIdModelName" > Model name< / label >
< input type = "text" id = "txtIdModelName" data-mini = "true" / >
< div class = "fieldDescription" > A case-insensitive substring or regex expression.< / div >
< / li >
< li >
< label for = "txtIdModelNumber" > Model number< / label >
< input type = "text" id = "txtIdModelNumber" data-mini = "true" / >
< div class = "fieldDescription" > A case-insensitive substring or regex expression.< / div >
< / li >
< li >
< label for = "txtIdModelDesription" > Model description< / label >
< input type = "text" id = "txtIdModelDesription" data-mini = "true" / >
< div class = "fieldDescription" > A case-insensitive substring or regex expression.< / div >
< / li >
< li >
< label for = "txtIdModelUrl" > Model url< / label >
< input type = "text" id = "txtIdModelUrl" data-mini = "true" / >
< div class = "fieldDescription" > A case-insensitive substring or regex expression.< / div >
< / li >
< li >
< label for = "txtIdSerialNumber" > Serial number< / label >
< input type = "text" id = "txtIdSerialNumber" data-mini = "true" / >
< div class = "fieldDescription" > A case-insensitive substring or regex expression.< / div >
< / li >
< li >
< label for = "txtIdDeviceDescription" > Device description< / label >
< input type = "text" id = "txtIdDeviceDescription" data-mini = "true" / >
< div class = "fieldDescription" > A case-insensitive substring or regex expression.< / div >
< / li >
< / ul >
2014-03-27 15:30:21 -04:00
< / div >
2014-03-28 14:17:18 -04:00
< div class = "profileTab tabDirectPlayProfiles" >
2014-03-29 11:40:32 -04:00
< p > Add direct play profiles to indicate which formats the device can handle natively.< / p >
< button class = "btnAddDirectPlayProfile" type = "button" data-mini = "true" data-icon = "plus" > New< / button >
< br / >
2014-03-28 14:17:18 -04:00
< div class = "directPlayProfiles" > < / div >
< / div >
< div class = "profileTab tabTranscodingProfiles" >
2014-03-29 11:40:32 -04:00
< p > Add transcoding profiles to indicate which formats should be used when transcoding is required.< / p >
2014-03-28 14:17:18 -04:00
< div class = "transcodingProfiles" > < / div >
< / div >
< div class = "profileTab tabContainerProfiles" >
< p > Container profiles indicate the limitations of a device when playing specific formats. If a limitation applies then the media will be transcoded, even if the device supports the container natively.< / p >
< div class = "containerProfiles" > < / div >
< / div >
< div class = "profileTab tabCodecProfiles" >
< p > Codec profiles indicate the limitations of a device when playing specific codecs. If a limitation applies then the media will be transcoded, even if the device supports the codec natively.< / p >
< div class = "codecProfiles" > < / div >
< / div >
< div class = "profileTab tabMediaProfiles" >
< p > Response profiles provide a way to customize responses sent to the device when playing certain kinds of media.< / p >
< div class = "mediaProfiles" > < / div >
< / div >
2014-03-27 15:30:21 -04:00
< br / >
2014-03-26 16:14:47 -04:00
< ul data-role = "listview" class = "ulForm" >
< li >
< button class = "btnSave" style = "display: none;" type = "submit" data-theme = "b" data-icon = "check" data-mini = "true" >
2014-03-26 15:21:29 -04:00
Save
< / button >
2014-03-26 16:14:47 -04:00
< button type = "button" onclick = "Dashboard.navigate('dlnaprofiles.html');" data-icon = "delete" data-mini = "true" >
2014-03-26 15:21:29 -04:00
Cancel
< / button >
< / li >
< / ul >
< / form >
< / div >
< / div >
2014-03-28 22:28:02 -04:00
< div data-role = "popup" data-transition = "slidefade" id = "popupEditDirectPlayProfile" class = "popup" >
< div class = "ui-bar-a" style = "text-align: center; padding: 0 20px;" >
< h3 > Direct Play Profile< / h3 >
< / div >
< div data-role = "content" >
< form class = "editDirectPlayProfileForm" >
< div style = "margin: 1em 0;" >
< label for = "selectDirectPlayProfileType" > Type:< / label >
< select id = "selectDirectPlayProfileType" data-mini = "true" >
< option value = "Audio" > Audio< / option >
< option value = "Photo" > Photo< / option >
< option value = "Video" > Video< / option >
< / select >
< / div >
< div style = "margin: 1em 0;" >
< label for = "txtDirectPlayContainer" > Containers:< / label >
< input type = "text" id = "txtDirectPlayContainer" data-mini = "true" / >
< div > Separated by comma. This can be left empty to apply to all containers< / div >
< / div >
< div id = "fldDirectPlayVideoCodec" style = "margin: 1em 0;" >
< label for = "txtDirectPlayVideoCodec" > Video codecs:< / label >
< input type = "text" id = "txtDirectPlayVideoCodec" data-mini = "true" / >
< div > Separated by comma. This can be left empty to apply to all containers< / div >
< / div >
< div id = "fldDirectPlayAudioCodec" style = "margin: 1em 0 2em;" >
< label for = "txtDirectPlayAudioCodec" > Audio codecs:< / label >
< input type = "text" id = "txtDirectPlayAudioCodec" data-mini = "true" / >
< div > Separated by comma. This can be left empty to apply to all containers< / div >
< / div >
< p >
< button type = "submit" data-theme = "b" data-icon = "check" data-mini = "true" >
Ok
< / button >
< button type = "button" data-icon = "delete" onclick = "$(this).parents('.popup').popup('close');" data-mini = "true" >
Cancel
< / button >
< / p >
< / form >
< / div >
< / div >
2014-03-26 15:21:29 -04:00
< script type = "text/javascript" >
$('.dlnaProfileForm').off('submit', DlnaProfilePage.onSubmit).on('submit', DlnaProfilePage.onSubmit);
2014-03-28 22:28:02 -04:00
$('.editDirectPlayProfileForm').off('submit', DlnaProfilePage.onDirectPlayFormSubmit).on('submit', DlnaProfilePage.onDirectPlayFormSubmit);
2014-03-26 15:21:29 -04:00
< / script >
< / div >
< / body >
< / html >