source: ipk/source.sh4/network_xupnpd/_path_/etc/xupnpd/profiles/samsung.lua

Last change on this file was 27875, checked in by obi, 12 years ago

add xupnpd tpk

File size: 1.4 KB
Line 
1sec_dlna_org_extras_none='*;DLNA.ORG_OP=00;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=01700000000000000000000000000000'
2
3profiles['Samsung-AllShare']=
4{
5 ['desc']='Samsung AllShare uPnP/DLNA',
6
7 -- SEC_HHP_[TV]UE32ES6757/1.0 DLNADOC/1.50
8 ['match']=function(user_agent) if string.find(user_agent,'SEC_HHP_',1,true) then return true else return false end end,
9
10 ['options']=
11 {
12 ['upnp_feature_list']=
13 '<?xml version="1.0" encoding="utf-8"?>'..
14 '<Features xmlns="urn:schemas-upnp-org:av:avs" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" '..
15 'xsi:schemaLocation="urn:schemas-upnp-org:av:avs http://www.upnp.org/schemas/av/avs.xsd">'..
16 '<Feature name="samsung.com_BASICVIEW" version="1">'..
17 '<container id="1" type="object.item.audioItem"/>'..
18 '<container id="2" type="object.item.videoItem"/>'..
19 '<container id="3" type="object.item.imageItem"/>'..
20 '</Feature>'..
21 '</Features>',
22
23 ['upnp_albumart']=3, -- <res protocolInfo="http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_TN">http://127.0.0.1:4044/logo?s=0%2F1%2F14%2F33</res>
24 ['sec_extras']=true
25 },
26
27 ['mime_types']=
28 {
29 ['mp4'] = { upnp_type.video, upnp_class.video, 'video/mp4', upnp_proto.mp4, sec_dlna_org_extras_none },
30 ['mkv'] = { upnp_type.video, upnp_class.video, 'video/x-mkv', upnp_proto.mkv, sec_dlna_org_extras_none }
31 }
32}
Note: See TracBrowser for help on using the repository browser.