Page 1 of 2
Servio 0.6.0.1 folder bug with Samsung BDC-5500

Posted:
Thu Dec 08, 2011 4:42 am
by Digitoxin
There appears to be a bug with the way folders work on the Samsung BDC-5500. I am using a fresh install of Servio 0.6.0.1 with all default settings. My BluRay player has been properly detected as a Samsung TV / Player (C/D Series).
When I select Servio from the Samsung menu I get the Samsung options for Videos, Music, and Photos. No matter which of these options I select, Servio gives me the folders Audio, Image, and Video instead of placing me in the appropriate folder for the option I selected from Samsungs menu. Media files only show up though in the folder corresponding to what I chose in the Samsung menu. If I choose any of these folders and then back out by either choosing Upper Folder or using the Return button on my remote, I will now see Upper Folder, Audio, Image, and Video. Upper Folder does nothing and I can now no longer use the Return button on my remote to get back to Samsungs Videos, Music, and Photos menu. I have to exit completely out and rechoose Serviio as a media source.
Re: Servio 0.6.0.1 folder bug with Samsung BDC-5500

Posted:
Thu Dec 08, 2011 1:38 pm
by zip
That happens on some BDP models. You can edit the profile by removing <DeviceDescription> block.
Re: Servio 0.6.0.1 folder bug with Samsung BDC-5500

Posted:
Thu Dec 08, 2011 2:12 pm
by Digitoxin
Won't that take away features? This feature works fine on the other DLNA servers I have tried. I wanted to switch away from Twonky to Serviio because of the superior metadata tagging, but I guess I'll have to stick with Twonky for the time being.
Re: Servio 0.6.0.1 folder bug with Samsung BDC-5500

Posted:
Thu Dec 08, 2011 4:00 pm
by zip
It only takes away the device specific features, like turning off subtitles and (possibly) resume. Not sure if your player supports them anyway, or with the original profile.
Re: Servio 0.6.0.1 folder bug with Samsung BDC-5500

Posted:
Wed Dec 14, 2011 4:11 am
by Digitoxin
I tried removing the <DeviceDescription> block from my players profile. I also tried setting my device to the generic profile. Neither one of these fixes the problem.
Re: Servio 0.6.0.1 folder bug with Samsung BDC-5500

Posted:
Wed Dec 14, 2011 4:14 am
by Cerberus
did you restart the serviio server after making the change to the profiles.xml file ???
Re: Servio 0.6.0.1 folder bug with Samsung BDC-5500

Posted:
Wed Dec 14, 2011 4:15 am
by Digitoxin
Yes. I stopped the service first, made the changes, and then restarted the service.
Re: Servio 0.6.0.1 folder bug with Samsung BDC-5500

Posted:
Wed Dec 14, 2011 4:22 am
by Digitoxin
Using a program called UPnP inspector, I noticed the following differences between TwonkyServer (which works correctly), and Serviio.
On the root folder, the dc:title element is called 'root' on TwonkyServer, but 'Serviio Media Library' on Serviio.
Twonky calls the main folders and their dc:title elements Music, Photos, and Videos. Serviio calls them Audio, Image, and Video.
The id elements for the main folders in Twonky are 0$1, 0$2, and 0$3. Serviio uses A, I, V.
Re: Servio 0.6.0.1 folder bug with Samsung BDC-5500

Posted:
Wed Dec 14, 2011 4:27 am
by Cerberus
i am having to go by memory on how i fixed this the first time as it has been some time since i did it, i seem to remember it had something to do with the presentation tab in console.
EDIT: here you go make sure you have this set in presentation tab.
viewtopic.php?f=10&t=2131&p=12004&hilit=presentation#p12004
Re: Servio 0.6.0.1 folder bug with Samsung BDC-5500

Posted:
Wed Dec 14, 2011 4:32 am
by Digitoxin
unfortunately, that didn't work either.
Re: Servio 0.6.0.1 folder bug with Samsung BDC-5500

Posted:
Wed Dec 14, 2011 4:37 am
by Cerberus
and you have latest firmware installed on the BDP?
Re: Servio 0.6.0.1 folder bug with Samsung BDC-5500

Posted:
Wed Dec 14, 2011 4:41 am
by Digitoxin
Yes, they pushed out a new one about a week ago.
Re: Servio 0.6.0.1 folder bug with Samsung BDC-5500

Posted:
Wed Dec 14, 2011 4:45 am
by Cerberus
ok can you post me the samsung C/D profile you have now please (im not at home to look at mine)???
Re: Servio 0.6.0.1 folder bug with Samsung BDC-5500

Posted:
Wed Dec 14, 2011 4:48 am
by Digitoxin
Here is the profile.
<Profile id="7" name="Samsung TV / player (C/D-series)" extendsProfileId="2">
<Detection>
<UPnPSearch>
<FriendlyName>(^TV-\d{2}C\d{3}.*)|(^\[TV\][A-Z]{2}\d{2}D\d{3}.*)</FriendlyName>
<ModelNumber>(1\.0)|(AllShare1\.0)</ModelNumber>
</UPnPSearch>
<HttpHeaders>
<!-- for BD players -->
<User-Agent>(.*SEC_HHP_BD-[CD].*)|(.*SEC_HHP_\[HT\][CD].*)</User-Agent>
</HttpHeaders>
</Detection>
<DeviceDescription>
<ExtraElements>
<sec:ProductCap>smi,DCM10,getMediaInfo.sec,getCaptionInfo.sec</sec:ProductCap>
<sec:X_ProductCap>smi,DCM10,getMediaInfo.sec,getCaptionInfo.sec</sec:X_ProductCap>
</ExtraElements>
</DeviceDescription>
<ContentDirectoryDefinitionFilter>org.serviio.upnp.service.contentdirectory.definition.SamsungContentDirectoryDefinitionFilter</ContentDirectoryDefinitionFilter>
<Transcoding>
<!-- Transcode all h264 video with HIGH/MAIN > Level 4.1 on MPEG-TS stream with MPEG2VIDEO and ac3 audio transcoding -->
<Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="192">
<Matches container="avi" vCodec="h264" profile="high" levelGreaterThan="4.2" />
<Matches container="avi" vCodec="h264" profile="main" levelGreaterThan="4.2" />
<Matches container="matroska" vCodec="h264" profile="high" levelGreaterThan="4.2" />
<Matches container="matroska" vCodec="h264" profile="main" levelGreaterThan="4.2" />
<Matches container="mp4" vCodec="h264" profile="high" levelGreaterThan="4.2" />
<Matches container="mp4" vCodec="h264" profile="main" levelGreaterThan="4.2" />
<Matches container="mp4" vCodec="mpeg4" aCodec="lpcm" />
</Video>
<!-- transcode H264 MP4 files with LPCM audio -->
<Video targetContainer="mpegts" targetACodec="ac3">
<Matches container="mpegts" aCodec="mp2" />
<Matches container="mp4" aCodec="lpcm" />
<Matches container="flv" vCodec="h264" />
<Matches container="matroska" vCodec="h264" aCodec="flac" />
<Matches container="matroska" vCodec="h264" aCodec="vorbis" />
<Matches container="matroska" vCodec="vc1" />
<Matches container="ogg" vCodec="mpeg4" />
<Matches container="3gp" aCodec="amrnb" />
</Video>
<!-- transcode MKV with MPEG2 video, remux into mpeg2ts -->
<!-- transcode AVI with AVC video -->
<Video targetContainer="mpegts" targetACodec="ac3" targetVCodec="mpeg2video">
<Matches container="matroska" vCodec="mpeg2video" />
<Matches container="avi" vCodec="h264" />
<Matches container="avi" vCodec="mjpeg" />
<Matches container="avi" vCodec="dvvideo" />
<Matches container="flv" />
<Matches container="ogg" />
</Video>
<!-- For dvr-ms files force mpeg2video transcoding to fix monotone timestamps problems-->
<Video targetContainer="mpegts" targetACodec="ac3" forceVTranscoding="true">
<Matches container="asf" vCodec="mpeg2video" />
</Video>
<Video targetContainer="mpegts">
<Matches container="wtv" />
</Video>
<!-- transcode audio only for wmv with wmapro -->
<Video targetContainer="asf" targetACodec="ac3" aBitrate="256">
<Matches container="asf" aCodec="wmapro" />
</Video>
<Audio targetContainer="lpcm">
<Matches container="mp4" />
<Matches container="flac" />
<Matches container="ogg" />
</Audio>
</Transcoding>
</Profile>
Re: Servio 0.6.0.1 folder bug with Samsung BDC-5500

Posted:
Wed Dec 14, 2011 4:52 am
by Cerberus
- Code:
<DeviceDescription>
<ExtraElements>
<sec:ProductCap>smi,DCM10,getMediaInfo.sec,getCaptionInfo.sec</sec:ProductCap>
<sec:X_ProductCap>smi,DCM10,getMediaInfo.sec,getCaptionInfo.sec</sec:X_ProductCap>
</ExtraElements>
</DeviceDescription>
<ContentDirectoryDefinitionFilter>org.serviio.upnp.service.contentdirectory.definition.SamsungContentDirectoryDefinitionFilter</ContentDirectoryDefinitionFilter>
Remove the above section from the profile and make sure when you have restarted the server that this profile is selected for your device.

Re: Servio 0.6.0.1 folder bug with Samsung BDC-5500

Posted:
Wed Dec 14, 2011 5:04 am
by Digitoxin
That seemed to work. Why would that work, when setting the device to use the Generic profile doesn't?
Re: Servio 0.6.0.1 folder bug with Samsung BDC-5500

Posted:
Wed Dec 14, 2011 5:08 am
by Cerberus
it works cause that how its been magicly enchanted to by ZIP aka Merlin

Re: Servio 0.6.0.1 folder bug with Samsung BDC-5500

Posted:
Wed Dec 14, 2011 5:41 am
by Digitoxin
Looks like I lose subtitle support with this modification
It looks like the problem lies in the SamsungContentDirectoryDefinitionFilter.class file. Maybe when I feel a bit adventurous, I'll decompile the file and see if I can figure out what it is doing wrong with my bluray player.
Re: Servio 0.6.0.1 folder bug with Samsung BDC-5500

Posted:
Wed Dec 14, 2011 6:05 am
by Cerberus
Digitoxin wrote:Looks like I lose subtitle support with this modification
It looks like the problem lies in the SamsungContentDirectoryDefinitionFilter.class file. Maybe when I feel a bit adventurous, I'll decompile the file and see if I can figure out what it is doing wrong with my bluray player.
yep that drawback of the BDP you loose all the extra features there nothing we can do about that, thats a firmware issue ntohign to do with serviio.
Re: Servio 0.6.0.1 folder bug with Samsung BDC-5500

Posted:
Wed Dec 14, 2011 6:08 am
by Digitoxin
Thats what I don't get. If Serviio is not the problem, how come these additional features work fine in Twonky without the folder bug?