FAQ  •  Register  •  Login

Configure DLNA Menu

<<

tombert

User avatar

DLNA master

Posts: 217

Joined: Wed Oct 13, 2010 8:01 pm

Post Sat Jan 15, 2011 1:03 pm

Re: Configure DLNA Menu

I've already set Videos to "Display content only" but still see them in die Audio section ...
... just another idea ... can you test what files are accepted by the TV? i.e. try to offer it an mp3 and see if it takes it - if not then do not display the Audio section ...
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sat Jan 15, 2011 1:25 pm

Re: Configure DLNA Menu

No that is not possible. My Samsung filters audio files from being displayed in the Video section though (it shows the folders, but they are empty)
<<

tombert

User avatar

DLNA master

Posts: 217

Joined: Wed Oct 13, 2010 8:01 pm

Post Sat Jan 15, 2011 6:14 pm

Re: Configure DLNA Menu

I've recheck all DLNA servers ... Wild Media Server is doing that.
http://www.wildmediaserver.com/

When you're in the Music section it only displays the Music folders ... when you're in the Video section it only displays Video folders ... and so on ....
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sat Jan 15, 2011 7:17 pm

Re: Configure DLNA Menu

maybe it's specific to the TV, either it sends some HTTP headers or it expects some attributes on the media items when it's browsing for them. If you can work it out then I can have a look at it.
<<

tombert

User avatar

DLNA master

Posts: 217

Joined: Wed Oct 13, 2010 8:01 pm

Post Sat Jan 15, 2011 7:22 pm

Re: Configure DLNA Menu

I'am already a bit wiser - had a look at it with wireshark and compared a Music with Video request - there is not difference i.e. there is not specific message in the HTTP headers that tells you the content ... BUT: it's a different port for Video, Audio and Pictures - so they must be acknowledged when registering the server ... does this tell you anything?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sat Jan 15, 2011 7:30 pm

Re: Configure DLNA Menu

That could be the reason, or it could be only the way the server pools requests to different ports. I doubt it'd register ports though.

You could use DeviceSpy:

1) Select the server
2) Select COntentDirectory service
3) double-click on Browse method
4) fill in the form with:
ObjectId: 0
BrowseFlag: BrowseMetadata
Filter: *
5) Click Invoke
6) post here contents of field Result
<<

tombert

User avatar

DLNA master

Posts: 217

Joined: Wed Oct 13, 2010 8:01 pm

Post Sat Jan 15, 2011 7:47 pm

Re: Configure DLNA Menu

<DIDL-Lite xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/" xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/">
<container id="0" childCount="4" parentID="-1" restricted="1" searchable="1">
<dlna:dlnaManaged>0</dlna:dlnaManaged>
<dc:title>Media</dc:title>
<upnp:class>object.container</upnp:class>
<dc:date>2011-01-15T20:46:22</dc:date>
<upnp:writeStatus>NOT_WRITABLE</upnp:writeStatus>
<upnp:searchClass includeDerived="1">object.container</upnp:searchClass>
<upnp:searchClass includeDerived="0">object.container.storageFolder</upnp:searchClass>
<upnp:searchClass includeDerived="1">object.item.videoItem</upnp:searchClass>
<upnp:searchClass includeDerived="1">object.item.audioItem</upnp:searchClass>
<upnp:searchClass includeDerived="0">object.item.audioItem.musicTrack</upnp:searchClass>
<upnp:searchClass includeDerived="1">object.container.album</upnp:searchClass>
<upnp:searchClass includeDerived="0">object.container.album.musicAlbum</upnp:searchClass>
<upnp:searchClass includeDerived="1">object.container.genre</upnp:searchClass>
<upnp:searchClass includeDerived="0">object.container.genre.musicGenre</upnp:searchClass>
<upnp:searchClass includeDerived="0">object.container.person.musicArtist</upnp:searchClass>
<upnp:searchClass includeDerived="0">object.container.playlistContainer</upnp:searchClass>
<upnp:searchClass includeDerived="1">object.item.imageItem</upnp:searchClass>
<upnp:searchClass includeDerived="0">object.item.imageItem.photo</upnp:searchClass>
</container>
</DIDL-Lite>
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sat Jan 15, 2011 9:24 pm

Re: Configure DLNA Menu

Thanks. Can you do the same only set browse flag to Direct children and requested number 10.
<<

tombert

User avatar

DLNA master

Posts: 217

Joined: Wed Oct 13, 2010 8:01 pm

Post Sat Jan 15, 2011 9:28 pm

Re: Configure DLNA Menu

Whireshark photo snapshot:

0000 3c 3f 78 6d 6c 20 76 65 72 73 69 6f 6e 3d 22 31 <?xml version="1
0010 2e 30 22 3f 3e 3c 73 3a 45 6e 76 65 6c 6f 70 65 .0"?><s:Envelope
0020 20 78 6d 6c 6e 73 3a 73 3d 22 68 74 74 70 3a 2f xmlns:s="http:/
0030 2f 73 63 68 65 6d 61 73 2e 78 6d 6c 73 6f 61 70 /schemas.xmlsoap
0040 2e 6f 72 67 2f 73 6f 61 70 2f 65 6e 76 65 6c 6f .org/soap/envelo
0050 70 65 2f 22 20 73 3a 65 6e 63 6f 64 69 6e 67 53 pe/" s:encodingS
0060 74 79 6c 65 3d 22 68 74 74 70 3a 2f 2f 73 63 68 tyle="http://sch
0070 65 6d 61 73 2e 78 6d 6c 73 6f 61 70 2e 6f 72 67 emas.xmlsoap.org
0080 2f 73 6f 61 70 2f 65 6e 63 6f 64 69 6e 67 2f 22 /soap/encoding/"
0090 3e 3c 73 3a 42 6f 64 79 3e 3c 75 3a 42 72 6f 77 ><s:Body><u:Brow
00a0 73 65 20 78 6d 6c 6e 73 3a 75 3d 22 75 72 6e 3a se xmlns:u="urn:
00b0 73 63 68 65 6d 61 73 2d 75 70 6e 70 2d 6f 72 67 schemas-upnp-org
00c0 3a 73 65 72 76 69 63 65 3a 43 6f 6e 74 65 6e 74 :service:Content
00d0 44 69 72 65 63 74 6f 72 79 3a 31 22 3e 3c 4f 62 Directory:1"><Ob
00e0 6a 65 63 74 49 44 3e 30 3c 2f 4f 62 6a 65 63 74 jectID>0</Object
00f0 49 44 3e 3c 42 72 6f 77 73 65 46 6c 61 67 3e 42 ID><BrowseFlag>B
0100 72 6f 77 73 65 44 69 72 65 63 74 43 68 69 6c 64 rowseDirectChild
0110 72 65 6e 3c 2f 42 72 6f 77 73 65 46 6c 61 67 3e ren</BrowseFlag>
0120 3c 46 69 6c 74 65 72 3e 64 63 3a 74 69 74 6c 65 <Filter>dc:title
0130 2c 61 76 3a 6d 65 64 69 61 43 6c 61 73 73 2c 64 ,av:mediaClass,d
0140 63 3a 64 61 74 65 2c 40 63 68 69 6c 64 43 6f 75 c:date,@childCou
0150 6e 74 2c 72 65 73 2c 75 70 6e 70 3a 63 6c 61 73 nt,res,upnp:clas
0160 73 2c 72 65 73 40 72 65 73 6f 6c 75 74 69 6f 6e s,res@resolution
0170 2c 75 70 6e 70 3a 61 6c 62 75 6d 2c 75 70 6e 70 ,upnp:album,upnp
0180 3a 67 65 6e 72 65 2c 75 70 6e 70 3a 61 6c 62 75 :genre,upnp:albu
0190 6d 41 72 74 55 52 49 2c 75 70 6e 70 3a 61 6c 62 mArtURI,upnp:alb
01a0 75 6d 41 72 74 55 52 49 40 64 6c 6e 61 3a 70 72 umArtURI@dlna:pr
01b0 6f 66 69 6c 65 49 44 2c 64 63 3a 63 72 65 61 74 ofileID,dc:creat
01c0 6f 72 2c 72 65 73 40 73 69 7a 65 2c 72 65 73 40 or,res@size,res@
01d0 64 75 72 61 74 69 6f 6e 2c 72 65 73 40 62 69 74 duration,res@bit
01e0 72 61 74 65 2c 72 65 73 40 70 72 6f 74 6f 63 6f rate,res@protoco
01f0 6c 49 6e 66 6f 3c 2f 46 69 6c 74 65 72 3e 3c 53 lInfo</Filter><S
0200 74 61 72 74 69 6e 67 49 6e 64 65 78 3e 30 3c 2f tartingIndex>0</
0210 53 74 61 72 74 69 6e 67 49 6e 64 65 78 3e 3c 52 StartingIndex><R
0220 65 71 75 65 73 74 65 64 43 6f 75 6e 74 3e 31 30 equestedCount>10
0230 3c 2f 52 65 71 75 65 73 74 65 64 43 6f 75 6e 74 </RequestedCount

0240 3e 3c 53 6f 72 74 43 72 69 74 65 72 69 61 3e 2b ><SortCriteria>+
0250 64 63 3a 64 61 74 65 3c 2f 53 6f 72 74 43 72 69 dc:date</SortCri
0260 74 65 72 69 61 3e 3c 2f 75 3a 42 72 6f 77 73 65 teria></u:Browse


0270 3e 3c 2f 73 3a 42 6f 64 79 3e 3c 2f 73 3a 45 6e ></s:Body></s:En
0280 76 65 6c 6f 70 65 3e velope>

No. Time Source Destination Protocol Info
7 0.194742 192.168.100.101 192.168.100.66 TCP 45357 > 45722 [PSH, ACK] Seq=1 Ack=1036 Win=63205 Len=343 TSV=102038 TSER=102967

Frame 7: 409 bytes on wire (3272 bits), 409 bytes captured (3272 bits)
Ethernet II, Src: Vmware_01:07:2b (00:0c:29:01:07:2b), Dst: Sony_0b:a1:ba (78:84:3c:0b:a1:ba)
Internet Protocol, Src: 192.168.100.101 (192.168.100.101), Dst: 192.168.100.66 (192.168.100.66)
Transmission Control Protocol, Src Port: 45357 (45357), Dst Port: 45722 (45722), Seq: 1, Ack: 1036, Len: 343
Data (343 bytes)

0000 48 54 54 50 2f 31 2e 31 20 32 30 30 20 4f 4b 0d HTTP/1.1 200 OK.
0010 0a 43 6f 6e 74 65 6e 74 2d 54 79 70 65 3a 20 74 .Content-Type: t
0020 65 78 74 2f 78 6d 6c 3b 20 63 68 61 72 73 65 74 ext/xml; charset
0030 3d 22 75 74 66 2d 38 22 0d 0a 54 72 61 6e 73 66 ="utf-8"..Transf
0040 65 72 2d 45 6e 63 6f 64 69 6e 67 3a 20 63 68 75 er-Encoding: chu
0050 6e 6b 65 64 0d 0a 74 72 61 6e 73 66 65 72 4d 6f nked..transferMo
0060 64 65 2e 64 6c 6e 61 2e 6f 72 67 3a 20 53 74 72 de.dlna.org: Str
0070 65 61 6d 69 6e 67 0d 0a 44 61 74 65 3a 20 53 61 eaming..Date: Sa
0080 74 2c 20 31 35 20 4a 61 6e 20 32 30 31 31 20 32 t, 15 Jan 2011 2
0090 32 3a 32 33 3a 34 35 20 2b 30 31 30 30 0d 0a 43 2:23:45 +0100..C
00a0 61 63 68 65 2d 43 6f 6e 74 72 6f 6c 3a 20 6e 6f ache-Control: no
00b0 2d 63 61 63 68 65 0d 0a 45 78 70 69 72 65 73 3a -cache..Expires:
00c0 20 30 0d 0a 4c 61 73 74 2d 4d 6f 64 69 66 69 65 0..Last-Modifie
00d0 64 3a 20 53 61 74 2c 20 31 35 20 4a 61 6e 20 32 d: Sat, 15 Jan 2
00e0 30 31 31 20 32 32 3a 32 33 3a 34 35 20 2b 30 31 011 22:23:45 +01
00f0 30 30 0d 0a 45 58 54 3a 0d 0a 53 65 72 76 65 72 00..EXT:..Server
0100 3a 20 57 69 6e 64 6f 77 73 2f 35 2e 31 32 36 30 : Windows/5.1260
0110 30 20 55 50 6e 50 2f 31 2e 30 20 44 4c 4e 41 44 0 UPnP/1.0 DLNAD
0120 4f 43 2f 31 2e 35 30 20 57 69 6c 64 20 4d 65 64 OC/1.50 Wild Med
0130 69 61 20 53 65 72 76 65 72 20 28 55 50 6e 50 2c ia Server (UPnP,
0140 20 44 4c 4e 41 2c 20 48 54 54 50 29 2f 31 2e 30 DLNA, HTTP)/1.0
0150 38 2e 32 0d 0a 0d 0a 8.2....

No. Time Source Destination Protocol Info
8 0.195046 192.168.100.101 192.168.100.66 TCP 45357 > 45722 [PSH, ACK] Seq=344 Ack=1036 Win=63205 Len=1448 TSV=102038 TSER=102967

Frame 8: 1514 bytes on wire (12112 bits), 1514 bytes captured (12112 bits)
Ethernet II, Src: Vmware_01:07:2b (00:0c:29:01:07:2b), Dst: Sony_0b:a1:ba (78:84:3c:0b:a1:ba)
Internet Protocol, Src: 192.168.100.101 (192.168.100.101), Dst: 192.168.100.66 (192.168.100.66)
Transmission Control Protocol, Src Port: 45357 (45357), Dst Port: 45722 (45722), Seq: 344, Ack: 1036, Len: 1448
Data (1448 bytes)

0000 30 30 30 30 30 37 35 36 0d 0a 3c 3f 78 6d 6c 20 00000756..<?xml
0010 76 65 72 73 69 6f 6e 3d 22 31 2e 30 22 20 65 6e version="1.0" en
0020 63 6f 64 69 6e 67 3d 22 75 74 66 2d 38 22 3f 3e coding="utf-8"?>
0030 0d 0a 20 20 3c 73 3a 45 6e 76 65 6c 6f 70 65 20 .. <s:Envelope
0040 78 6d 6c 6e 73 3a 73 3d 22 68 74 74 70 3a 2f 2f xmlns:s="http://
0050 73 63 68 65 6d 61 73 2e 78 6d 6c 73 6f 61 70 2e schemas.xmlsoap.
0060 6f 72 67 2f 73 6f 61 70 2f 65 6e 76 65 6c 6f 70 org/soap/envelop
0070 65 2f 22 20 73 3a 65 6e 63 6f 64 69 6e 67 53 74 e/" s:encodingSt
0080 79 6c 65 3d 22 68 74 74 70 3a 2f 2f 73 63 68 65 yle="http://sche
0090 6d 61 73 2e 78 6d 6c 73 6f 61 70 2e 6f 72 67 2f mas.xmlsoap.org/
00a0 73 6f 61 70 2f 65 6e 63 6f 64 69 6e 67 2f 22 3e soap/encoding/">
00b0 0d 0a 20 20 20 20 3c 73 3a 42 6f 64 79 3e 0d 0a .. <s:Body>..
00c0 20 20 20 20 20 20 3c 75 3a 42 72 6f 77 73 65 52 <u:BrowseR
00d0 65 73 70 6f 6e 73 65 20 78 6d 6c 6e 73 3a 75 3d esponse xmlns:u=
00e0 22 75 72 6e 3a 73 63 68 65 6d 61 73 2d 75 70 6e "urn:schemas-upn
00f0 70 2d 6f 72 67 3a 73 65 72 76 69 63 65 3a 43 6f p-org:service:Co
0100 6e 74 65 6e 74 44 69 72 65 63 74 6f 72 79 3a 31 ntentDirectory:1
0110 22 3e 0d 0a 20 20 20 20 20 20 20 20 3c 52 65 73 ">.. <Res
0120 75 6c 74 3e 26 6c 74 3b 44 49 44 4c 2d 4c 69 74 ult>&lt;DIDL-Lit
0130 65 20 78 6d 6c 6e 73 3a 64 63 3d 22 68 74 74 70 e xmlns:dc="http
0140 3a 2f 2f 70 75 72 6c 2e 6f 72 67 2f 64 63 2f 65 ://purl.org/dc/e
0150 6c 65 6d 65 6e 74 73 2f 31 2e 31 2f 22 20 78 6d lements/1.1/" xm
0160 6c 6e 73 3a 75 70 6e 70 3d 22 75 72 6e 3a 73 63 lns:upnp="urn:sc
0170 68 65 6d 61 73 2d 75 70 6e 70 2d 6f 72 67 3a 6d hemas-upnp-org:m
0180 65 74 61 64 61 74 61 2d 31 2d 30 2f 75 70 6e 70 etadata-1-0/upnp
0190 2f 22 20 78 6d 6c 6e 73 3d 22 75 72 6e 3a 73 63 /" xmlns="urn:sc
01a0 68 65 6d 61 73 2d 75 70 6e 70 2d 6f 72 67 3a 6d hemas-upnp-org:m
01b0 65 74 61 64 61 74 61 2d 31 2d 30 2f 44 49 44 4c etadata-1-0/DIDL
01c0 2d 4c 69 74 65 2f 22 20 78 6d 6c 6e 73 3a 61 76 -Lite/" xmlns:av
01d0 3d 22 75 72 6e 3a 73 63 68 65 6d 61 73 2d 73 6f ="urn:schemas-so
01e0 6e 79 2d 63 6f 6d 3a 61 76 22 20 78 6d 6c 6e 73 ny-com:av" xmlns
01f0 3a 64 6c 6e 61 3d 22 75 72 6e 3a 73 63 68 65 6d :dlna="urn:schem
0200 61 73 2d 64 6c 6e 61 2d 6f 72 67 3a 6d 65 74 61 as-dlna-org:meta
0210 64 61 74 61 2d 31 2d 30 2f 22 26 67 74 3b 0d 0a data-1-0/"&gt;..
0220 20 20 20 20 26 6c 74 3b 63 6f 6e 74 61 69 6e 65 &lt;containe
0230 72 20 69 64 3d 22 38 45 44 39 38 39 46 38 2d 31 r id="8ED989F8-1
0240 30 45 39 2d 34 42 39 41 2d 38 45 41 45 2d 45 38 0E9-4B9A-8EAE-E8
0250 31 35 30 42 45 37 41 33 30 32 22 20 63 68 69 6c 150BE7A302" chil
0260 64 43 6f 75 6e 74 3d 22 31 30 22 20 70 61 72 65 dCount="10" pare
0270 6e 74 49 44 3d 22 30 22 20 72 65 73 74 72 69 63 ntID="0" restric
0280 74 65 64 3d 22 31 22 20 73 65 61 72 63 68 61 62 ted="1" searchab
0290 6c 65 3d 22 31 22 26 67 74 3b 0d 0a 20 20 20 20 le="1"&gt;..
02a0 20 20 26 6c 74 3b 64 63 3a 74 69 74 6c 65 26 67 &lt;dc:title&g

02b0 74 3b 50 68 6f 74 6f 26 6c 74 3b 2f 64 63 3a 74 t;Photo&lt;/dc:t

02c0 69 74 6c 65 26 67 74 3b 0d 0a 20 20 20 20 20 20 itle&gt;..
02d0 26 6c 74 3b 75 70 6e 70 3a 63 6c 61 73 73 26 67 &lt;upnp:class&g
02e0 74 3b 6f 62 6a 65 63 74 2e 63 6f 6e 74 61 69 6e t;object.contain
02f0 65 72 2e 73 74 6f 72 61 67 65 46 6f 6c 64 65 72 er.storageFolder
0300 26 6c 74 3b 2f 75 70 6e 70 3a 63 6c 61 73 73 26 &lt;/upnp:class&
0310 67 74 3b 0d 0a 20 20 20 20 20 20 26 6c 74 3b 64 gt;.. &lt;d
0320 63 3a 64 61 74 65 26 67 74 3b 32 30 31 31 2d 30 c:date&gt;2011-0
0330 31 2d 31 35 54 32 32 3a 32 33 3a 34 35 26 6c 74 1-15T22:23:45&lt
0340 3b 2f 64 63 3a 64 61 74 65 26 67 74 3b 0d 0a 20 ;/dc:date&gt;..
0350 20 20 20 20 20 26 6c 74 3b 61 76 3a 6d 65 64 69 &lt;av:medi
0360 61 43 6c 61 73 73 26 67 74 3b 50 26 6c 74 3b 2f aClass&gt;P&lt;/
0370 61 76 3a 6d 65 64 69 61 43 6c 61 73 73 26 67 74 av:mediaClass&gt
0380 3b 0d 0a 20 20 20 20 26 6c 74 3b 2f 63 6f 6e 74 ;.. &lt;/cont
0390 61 69 6e 65 72 26 67 74 3b 0d 0a 20 20 20 20 26 ainer&gt;.. &
03a0 6c 74 3b 63 6f 6e 74 61 69 6e 65 72 20 69 64 3d lt;container id=
03b0 22 30 39 37 32 33 34 35 41 2d 34 32 35 35 2d 34 "0972345A-4255-4
03c0 45 43 41 2d 39 38 41 31 2d 46 33 32 36 34 36 35 ECA-98A1-F326465
03d0 42 41 37 32 37 22 20 63 68 69 6c 64 43 6f 75 6e BA727" childCoun
03e0 74 3d 22 31 34 22 20 70 61 72 65 6e 74 49 44 3d t="14" parentID=
03f0 22 30 22 20 72 65 73 74 72 69 63 74 65 64 3d 22 "0" restricted="
0400 31 22 20 73 65 61 72 63 68 61 62 6c 65 3d 22 31 1" searchable="1
0410 22 26 67 74 3b 0d 0a 20 20 20 20 20 20 26 6c 74 "&gt;.. &lt
0420 3b 64 63 3a 74 69 74 6c 65 26 67 74 3b 4d 75 73 ;dc:title&gt;Mus
0430 69 63 26 6c 74 3b 2f 64 63 3a 74 69 74 6c 65 26 ic&lt;/dc:title&
0440 67 74 3b 0d 0a 20 20 20 20 20 20 26 6c 74 3b 75 gt;.. &lt;u
0450 70 6e 70 3a 63 6c 61 73 73 26 67 74 3b 6f 62 6a pnp:class&gt;obj
0460 65 63 74 2e 63 6f 6e 74 61 69 6e 65 72 2e 73 74 ect.container.st
0470 6f 72 61 67 65 46 6f 6c 64 65 72 26 6c 74 3b 2f orageFolder&lt;/
0480 75 70 6e 70 3a 63 6c 61 73 73 26 67 74 3b 0d 0a upnp:class&gt;..
0490 20 20 20 20 20 20 26 6c 74 3b 64 63 3a 64 61 74 &lt;dc:dat
04a0 65 26 67 74 3b 32 30 31 31 2d 30 31 2d 31 35 54 e&gt;2011-01-15T
04b0 32 32 3a 32 33 3a 34 35 26 6c 74 3b 2f 64 63 3a 22:23:45&lt;/dc:
04c0 64 61 74 65 26 67 74 3b 0d 0a 20 20 20 20 20 20 date&gt;..
04d0 26 6c 74 3b 61 76 3a 6d 65 64 69 61 43 6c 61 73 &lt;av:mediaClas
04e0 73 26 67 74 3b 4d 26 6c 74 3b 2f 61 76 3a 6d 65 s&gt;M&lt;/av:me
04f0 64 69 61 43 6c 61 73 73 26 67 74 3b 0d 0a 20 20 diaClass&gt;..
0500 20 20 26 6c 74 3b 2f 63 6f 6e 74 61 69 6e 65 72 &lt;/container
0510 26 67 74 3b 0d 0a 20 20 20 20 26 6c 74 3b 63 6f &gt;.. &lt;co
0520 6e 74 61 69 6e 65 72 20 69 64 3d 22 34 42 30 31 ntainer id="4B01
0530 31 46 39 37 2d 31 31 35 31 2d 34 35 42 31 2d 41 1F97-1151-45B1-A
0540 39 35 34 2d 37 36 42 44 46 43 41 45 37 34 36 41 954-76BDFCAE746A
0550 22 20 63 68 69 6c 64 43 6f 75 6e 74 3d 22 31 35 " childCount="15
0560 22 20 70 61 72 65 6e 74 49 44 3d 22 30 22 20 72 " parentID="0" r
0570 65 73 74 72 69 63 74 65 64 3d 22 31 22 20 73 65 estricted="1" se
0580 61 72 63 68 61 62 6c 65 3d 22 31 22 26 67 74 3b archable="1"&gt;
0590 0d 0a 20 20 20 20 20 20 26 6c 74 3b 64 63 3a 74 .. &lt;dc:t
05a0 69 74 6c 65 26 67 74 3b itle&gt;
<<

tombert

User avatar

DLNA master

Posts: 217

Joined: Wed Oct 13, 2010 8:01 pm

Post Sat Jan 15, 2011 9:32 pm

Re: Configure DLNA Menu

And here an excerpt from the movies:

0230 3c 2f 52 65 71 75 65 73 74 65 64 43 6f 75 6e 74 </RequestedCount
0240 3e 3c 53 6f 72 74 43 72 69 74 65 72 69 61 3e 2d ><SortCriteria>-
0250 64 63 3a 64 61 74 65 3c 2f 53 6f 72 74 43 72 69 dc:date</SortCri
0260 74 65 72 69 61 3e 3c 2f 75 3a 42 72 6f 77 73 65 teria></u:Browse


The point is, the only thing I found in the protocol is the SortCriteria Requested from the TV:

Photo: +dc:date
Movie: -dc:date
Music: no sort criteria

... could this really be the decission ...
<<

tombert

User avatar

DLNA master

Posts: 217

Joined: Wed Oct 13, 2010 8:01 pm

Post Sat Jan 15, 2011 9:37 pm

Re: Configure DLNA Menu

zip wrote:Thanks. Can you do the same only set browse flag to Direct children and requested number 10.


If you mean by "requested number 10" to set the RequestedCount then here:

<DIDL-Lite xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/" xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/">
<container id="4B011F97-1151-45B1-A954-76BDFCAE746A" childCount="14" parentID="0" restricted="1" searchable="1">
<dlna:dlnaManaged>0</dlna:dlnaManaged>
<dc:title>Movies</dc:title>
<upnp:class>object.container.storageFolder</upnp:class>
<dc:date>2011-01-15T22:35:39</dc:date>
<upnp:writeStatus>NOT_WRITABLE</upnp:writeStatus>
<upnp:searchClass includeDerived="1">object.container</upnp:searchClass>
<upnp:searchClass includeDerived="0">object.container.storageFolder</upnp:searchClass>
<upnp:searchClass includeDerived="1">object.item.videoItem</upnp:searchClass>
</container>
<container id="0972345A-4255-4ECA-98A1-F326465BA727" childCount="13" parentID="0" restricted="1" searchable="1">
<dlna:dlnaManaged>0</dlna:dlnaManaged>
<dc:title>Music</dc:title>
<upnp:class>object.container.storageFolder</upnp:class>
<dc:date>2011-01-15T22:35:39</dc:date>
<upnp:writeStatus>NOT_WRITABLE</upnp:writeStatus>
<upnp:searchClass includeDerived="1">object.container</upnp:searchClass>
<upnp:searchClass includeDerived="0">object.container.storageFolder</upnp:searchClass>
<upnp:searchClass includeDerived="1">object.item.audioItem</upnp:searchClass>
<upnp:searchClass includeDerived="0">object.item.audioItem.musicTrack</upnp:searchClass>
<upnp:searchClass includeDerived="1">object.container.album</upnp:searchClass>
<upnp:searchClass includeDerived="0">object.container.album.musicAlbum</upnp:searchClass>
<upnp:searchClass includeDerived="1">object.container.genre</upnp:searchClass>
<upnp:searchClass includeDerived="0">object.container.genre.musicGenre</upnp:searchClass>
<upnp:searchClass includeDerived="0">object.container.person.musicArtist</upnp:searchClass>
<upnp:searchClass includeDerived="0">object.container.playlistContainer</upnp:searchClass>
</container>
<container id="8ED989F8-10E9-4B9A-8EAE-E8150BE7A302" childCount="9" parentID="0" restricted="1" searchable="1">
<dlna:dlnaManaged>0</dlna:dlnaManaged>
<dc:title>Photo</dc:title>
<upnp:class>object.container.storageFolder</upnp:class>
<dc:date>2011-01-15T22:35:39</dc:date>
<upnp:writeStatus>NOT_WRITABLE</upnp:writeStatus>
<upnp:searchClass includeDerived="1">object.container</upnp:searchClass>
<upnp:searchClass includeDerived="0">object.container.storageFolder</upnp:searchClass>
<upnp:searchClass includeDerived="1">object.item.imageItem</upnp:searchClass>
<upnp:searchClass includeDerived="0">object.item.imageItem.photo</upnp:searchClass>
</container>
<container id="CF95E9A3-E6DC-4D7C-BA5B-395EC7883A99" childCount="3" parentID="0" restricted="1" searchable="1">
<dlna:dlnaManaged>0</dlna:dlnaManaged>
<dc:title>Service</dc:title>
<upnp:class>object.container.storageFolder</upnp:class>
<dc:date>2011-01-15T22:35:39</dc:date>
<upnp:writeStatus>NOT_WRITABLE</upnp:writeStatus>
<upnp:searchClass includeDerived="1">object.container</upnp:searchClass>
<upnp:searchClass includeDerived="0">object.container.storageFolder</upnp:searchClass>
<upnp:searchClass includeDerived="1">object.item.videoItem</upnp:searchClass>
<upnp:searchClass includeDerived="1">object.item.audioItem</upnp:searchClass>
<upnp:searchClass includeDerived="0">object.item.audioItem.musicTrack</upnp:searchClass>
<upnp:searchClass includeDerived="1">object.container.album</upnp:searchClass>
<upnp:searchClass includeDerived="0">object.container.album.musicAlbum</upnp:searchClass>
<upnp:searchClass includeDerived="1">object.container.genre</upnp:searchClass>
<upnp:searchClass includeDerived="0">object.container.genre.musicGenre</upnp:searchClass>
<upnp:searchClass includeDerived="0">object.container.person.musicArtist</upnp:searchClass>
<upnp:searchClass includeDerived="0">object.container.playlistContainer</upnp:searchClass>
<upnp:searchClass includeDerived="1">object.item.imageItem</upnp:searchClass>
<upnp:searchClass includeDerived="0">object.item.imageItem.photo</upnp:searchClass>
</container>
</DIDL-Lite>
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sat Jan 15, 2011 10:46 pm

Re: Configure DLNA Menu

Ok no specific fields there. Maybe the tv calls Search (which Serviio doesn't support) instead of Browse. You could probably confirm it by catching the packets.
<<

tombert

User avatar

DLNA master

Posts: 217

Joined: Wed Oct 13, 2010 8:01 pm

Post Sun Jan 16, 2011 1:23 pm

Re: Configure DLNA Menu

No search - it uses browse - see my previous Wireshark captures I posted ...
... and what do you think about the SortCriteria? ... you could check what your Samsung request ...
<<

tombert

User avatar

DLNA master

Posts: 217

Joined: Wed Oct 13, 2010 8:01 pm

Post Tue Jan 18, 2011 9:13 pm

Re: Configure DLNA Menu

I posted this here:
http://yabb.jriver.com/interact/index.php?topic=61804

JRMC is going to implement it ... but they say it's not generic.

thx
Previous

Return to Feature requests

Who is online

Users browsing this forum: No registered users and 6 guests

cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.