FAQ  •  Register  •  Login

Odd profile-related problem with WD TV Live

<<

n3mmr

DLNA master

Posts: 376

Joined: Tue Jun 15, 2010 8:01 am

Post Thu Apr 12, 2012 11:42 am

Odd profile-related problem with WD TV Live

I set Audio as "Display Contents Only", and then my WD TV Live couldn't see anything but the audio contents (Audio sub categories, I suppose), irrespective of if I selected "Video" or "Music" on the WD TV Live menues.

Forcing the WD TV Live to be served using the Sony BD profile restored matters.

What part of the profile could cause this???
Serviio 2.3 in a jail on TrueNAS 13 running on an HP N54L w 5*4 TB spinning rust disks.
The media files are on the same machine.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Thu Apr 12, 2012 11:47 am

Re: Odd profile-related problem with WD TV Live

should not be profile related. Unless it's a cache problem (as changing the profile will remove the cache). Try switching back to WDTV profile.
<<

n3mmr

DLNA master

Posts: 376

Joined: Tue Jun 15, 2010 8:01 am

Post Thu Apr 12, 2012 12:45 pm

Re: Odd profile-related problem with WD TV Live

zip wrote:should not be profile related. Unless it's a cache problem (as changing the profile will remove the cache). Try switching back to WDTV profile.



No, it IS profile related!

For two tested Sony profiles, things work OK, but Generic or WDTVLIVE or Samsung TV/Player (C or D model) has the fault.

If, using one of those three profiles, I switch Presentation for Audio to Display Contents Only, only the Audio Contents menu will be displayed for both Video and Audio selections in the WD TV Live Main Menu.
What I would have considered the "right" way would be to display the audio content, and "Video" as the last menu line. But there's no line "video".

I switched back and forth, both between the two audio presentation settings and the Sony vs the other tested profiles.
In all cases, the fault gets switched on and off by the change
Serviio 2.3 in a jail on TrueNAS 13 running on an HP N54L w 5*4 TB spinning rust disks.
The media files are on the same machine.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Thu Apr 12, 2012 6:05 pm

Re: Odd profile-related problem with WD TV Live

you could capture the packets sent when you browse to the root menu using the 2 different profiles to see the difference.
<<

n3mmr

DLNA master

Posts: 376

Joined: Tue Jun 15, 2010 8:01 am

Post Fri Apr 13, 2012 10:20 am

Re: Odd profile-related problem with WD TV Live

zip wrote:you could capture the packets sent when you browse to the root menu using the 2 different profiles to see the difference.


Profiles with the WMP Device description cheat work, all others have the problem.

Will get back with logs, when I get back from a concert trip (going to hear all Shostakovich String Quartets in numeric order in 5 conseq concerts in 3 days.... Phew!), but in the meantime, maybe someone else with a WD TV Live could test, and maybe people with other renderers.
Serviio 2.3 in a jail on TrueNAS 13 running on an HP N54L w 5*4 TB spinning rust disks.
The media files are on the same machine.
<<

n3mmr

DLNA master

Posts: 376

Joined: Tue Jun 15, 2010 8:01 am

Post Wed Apr 18, 2012 11:12 am

Re: Odd profile-related problem with WD TV Live

n3mmr wrote:
zip wrote:you could capture the packets sent when you browse to the root menu using the 2 different profiles to see the difference.


Profiles with the WMP Device description cheat work, all others have the problem.

Will get back with logs, when I get back from a concert trip (going to hear all Shostakovich String Quartets in numeric order in 5 conseq concerts in 3 days.... Phew!), but in the meantime, maybe someone else with a WD TV Live could test, and maybe people with other renderers.



I had hoped for a comment on the above..
Serviio 2.3 in a jail on TrueNAS 13 running on an HP N54L w 5*4 TB spinning rust disks.
The media files are on the same machine.
<<

cc2099

Serviio newbie

Posts: 11

Joined: Wed Apr 18, 2012 11:48 pm

Post Thu Apr 19, 2012 12:20 am

Re: Odd profile-related problem with WD TV Live

I have a similar setup and I've observed this same behavior where the WDTV (HD) Live only shows <folder_name> [Audio/Folders] when using the Generic DLNA profile. If I use the Sony BD Player / SMP Profile, I see <folder_name> [Video/Folders] - ie. it works as expected. If I use the WDTV Live profile, I see a brief message saying something like "There is no media in the current folder".

I don't think it's a cache related issue since I can edit the profiles.xml file, remove Profile ID 14, make a copy of the Sony BD profile, give the copy Profile ID 14 and name it "WDTV Live" - I can then see [Video/Folders].
<<

n3mmr

DLNA master

Posts: 376

Joined: Tue Jun 15, 2010 8:01 am

Post Thu Apr 19, 2012 2:55 pm

Re: Odd profile-related problem with WD TV Live

cc2099 wrote:I have a similar setup and I've observed this same behavior where the WDTV (HD) Live only shows <folder_name> [Audio/Folders] when using the Generic DLNA profile. If I use the Sony BD Player / SMP Profile, I see <folder_name> [Video/Folders] - ie. it works as expected. If I use the WDTV Live profile, I see a brief message saying something like "There is no media in the current folder".

I don't think it's a cache related issue since I can edit the profiles.xml file, remove Profile ID 14, make a copy of the Sony BD profile, give the copy Profile ID 14 and name it "WDTV Live" - I can then see [Video/Folders].


Is this a problem on any other device???
Serviio 2.3 in a jail on TrueNAS 13 running on an HP N54L w 5*4 TB spinning rust disks.
The media files are on the same machine.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Fri Apr 20, 2012 1:11 pm

Re: Odd profile-related problem with WD TV Live

post detailed log of when browsing the empty folder via the WDTV profile.
<<

cc2099

Serviio newbie

Posts: 11

Joined: Wed Apr 18, 2012 11:48 pm

Post Tue Apr 24, 2012 12:16 am

Re: Odd profile-related problem with WD TV Live

I've observed the same behavior on the software renderer 8player lite.

I think the behavior with the WDTV was caused might have been a result of the way the default profiles.xml file was parsed or maybe there were some control characters that couldn't be seen in the file. The problem I had with the WDTV went away once I had edited the profiles.xml file, deleted the WDTV profile and created a new profile based on the Sony BD profile. Here's the profile I'm using:

  Code:
        <Profile id="14" name="WDTV Live" extendsProfileId="1">
                <Detection>
                        <UPnPSearch>
                                <FriendlyName>WDTV Live</FriendlyName>
                                <Manufacturer>Western Digital</Manufacturer>
                        </UPnPSearch>
                        <HttpHeaders>
                                <X-AV-Client-Info>*WDTV*</X-AV-Client-Info>
                        </HttpHeaders>
                </Detection>
                <DeviceDescription>
                        <!-- act as WMP so that the TV doesn't show root categories -->
                        <ModelName>Windows Media Player Sharing</ModelName>
                        <ModelNumber>3.0</ModelNumber>
                        <Manufacturer>Microsoft Corporation</Manufacturer>
                </DeviceDescription>
                <ContentDirectoryMessageBuilder>org.serviio.upnp.service.contentdirectory.SonyDLNAMessageBuilder</ContentDirectoryMessageBuilder>
                <ContentDirectoryDefinitionFilter>org.serviio.upnp.service.contentdirectory.definition.WMPContentDirectoryDefinitionFilter</ContentDirectoryDefinitionFilter>
                <SubtitlesMimeType>text/srt</SubtitlesMimeType>
                <Transcoding>
                        <Video targetContainer="mpegts">
                                <Matches container="wtv" />
                        </Video>
                        <Video targetContainer="mpeg" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="384">
                                <Matches container="flv" />
                                <Matches container="matroska" vCodec="vp8" />
                        </Video>
                </Transcoding>
        </Profile>
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Apr 24, 2012 5:20 pm

Re: Odd profile-related problem with WD TV Live

It's probably 'fixed' by these two lines:

  Code:
<ContentDirectoryMessageBuilder>org.serviio.upnp.service.contentdirectory.SonyDLNAMessageBuilder</ContentDirectoryMessageBuilder>
<ContentDirectoryDefinitionFilter>org.serviio.upnp.service.contentdirectory.definition.WMPContentDirectoryDefinitionFilter</ContentDirectoryDefinitionFilter>


I'll create a ticket to look at this later, but I need someone to post detailed log of browsing to the folder with the original profile.
<<

cc2099

Serviio newbie

Posts: 11

Joined: Wed Apr 18, 2012 11:48 pm

Post Mon Apr 30, 2012 2:03 am

Re: Odd profile-related problem with WD TV Live

I'm not 100% sure if this is what you need or not. If it's not, please tell me what debugging parameters I need to set. This is what happens after browsing, using the original profiles.xml file:

2012-04-30 01:45:28,861 DEBUG [WebServer] Incoming connection from /192.168.100.92:60407
2012-04-30 01:45:28,874 DEBUG [ServiceControlRequestHandler] ServiceControl request received for action '"urn:schemas-upnp-org:service:ContentDirectory:1#Browse"' from 192.168.100.92:
2012-04-30 01:45:28,874 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.100.92
2012-04-30 01:45:28,880 DEBUG [ContentDirectory] Browse() called for renderer WD TV Live (profile 1) with parameters: objectID = 0, browseFlag = BrowseDirectChildren, filter = *, startIndex = 0, count = 64, sortCriteria =
2012-04-30 01:45:28,882 DEBUG [RepositoryDAOImpl] Retrieving list of Repositories for AUDIO (from=0, count=64)
2012-04-30 01:45:28,899 DEBUG [FolderDAOImpl] Getting number of AUDIO sub-folders and media items in folder 'root'
2012-04-30 01:45:28,976 DEBUG [RepositoryDAOImpl] Retrieving number of repositories for AUDIO
2012-04-30 01:45:28,985 DEBUG [RepositoryDAOImpl] Retrieving list of Repositories for IMAGE (from=0, count=63)
2012-04-30 01:45:28,996 DEBUG [FolderDAOImpl] Getting number of IMAGE sub-folders and media items in folder 'root'
2012-04-30 01:45:29,032 DEBUG [RepositoryDAOImpl] Retrieving number of repositories for IMAGE
2012-04-30 01:45:29,038 DEBUG [RepositoryDAOImpl] Retrieving list of Repositories for VIDEO (from=0, count=63)
2012-04-30 01:45:29,042 DEBUG [FolderDAOImpl] Getting number of VIDEO sub-folders and media items in folder 'root'
2012-04-30 01:45:29,082 DEBUG [RepositoryDAOImpl] Retrieving number of repositories for VIDEO
2012-04-30 01:45:29,091 DEBUG [ServiceControlRequestHandler] Returning OK SOAP message

And this is what happens when manually forcing Serviio to use the original WDTV profile:

2012-04-30 01:54:33,830 DEBUG [WebServer] Incoming connection from /192.168.100.92:62710
2012-04-30 01:54:33,834 DEBUG [ServiceControlRequestHandler] ServiceControl request received for action '"urn:schemas-upnp-org:service:ContentDirectory:1#Browse"' from 192.168.100.92:
2012-04-30 01:54:33,835 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.100.92
2012-04-30 01:54:33,839 DEBUG [ContentDirectory] Browse() called for renderer WD TV Live (profile 14) with parameters: objectID = 0, browseFlag = BrowseDirectChildren, filter = *, startIndex = 0, count = 64, sortCriteria =
2012-04-30 01:54:33,840 DEBUG [RepositoryDAOImpl] Retrieving list of Repositories for AUDIO (from=0, count=64)
2012-04-30 01:54:33,857 DEBUG [FolderDAOImpl] Getting number of AUDIO sub-folders and media items in folder 'root'
2012-04-30 01:54:33,935 DEBUG [RepositoryDAOImpl] Retrieving number of repositories for AUDIO
2012-04-30 01:54:33,938 DEBUG [RepositoryDAOImpl] Retrieving list of Repositories for IMAGE (from=0, count=63)
2012-04-30 01:54:33,947 DEBUG [FolderDAOImpl] Getting number of IMAGE sub-folders and media items in folder 'root'
2012-04-30 01:54:33,985 DEBUG [RepositoryDAOImpl] Retrieving number of repositories for IMAGE
2012-04-30 01:54:33,987 DEBUG [RepositoryDAOImpl] Retrieving list of Repositories for VIDEO (from=0, count=63)
2012-04-30 01:54:33,989 DEBUG [FolderDAOImpl] Getting number of VIDEO sub-folders and media items in folder 'root'
2012-04-30 01:54:34,026 DEBUG [RepositoryDAOImpl] Retrieving number of repositories for VIDEO
2012-04-30 01:54:34,036 DEBUG [ServiceControlRequestHandler] Returning OK SOAP message

Finally, here's what happens with the WDTV Live profile that I'm currently using:

2012-04-30 02:01:14,675 DEBUG [WebServer] Incoming connection from /192.168.100.92:60371
2012-04-30 02:01:14,686 DEBUG [ServiceControlRequestHandler] ServiceControl request received for action '"urn:schemas-upnp-org:service:ContentDirectory:1#Browse"' from 192.168.100.92:
2012-04-30 02:01:14,686 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.100.92
2012-04-30 02:01:14,693 DEBUG [ContentDirectory] Browse() called for renderer WD TV Live (profile 14) with parameters: objectID = 2, browseFlag = BrowseDirectChildren, filter = *, startIndex = 0, count = 64, sortCriteria =
2012-04-30 02:01:14,695 DEBUG [RepositoryDAOImpl] Retrieving list of Repositories for VIDEO (from=0, count=64)
2012-04-30 02:01:14,715 DEBUG [FolderDAOImpl] Getting number of VIDEO sub-folders and media items in folder 'root'
2012-04-30 02:01:14,769 DEBUG [RepositoryDAOImpl] Retrieving number of repositories for VIDEO
2012-04-30 02:01:14,777 DEBUG [ServiceControlRequestHandler] Returning OK SOAP message

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 66 guests

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