FAQ  •  Register  •  Login

There are no items to display (video only)

<<

gord

Serviio newbie

Posts: 8

Joined: Mon Dec 06, 2010 11:46 pm

Post Thu Oct 27, 2011 3:22 am

There are no items to display (video only)

I've just recently upgraded to 0.6.0.1 and now I can't seem to watch any videos. The images (jpeg) and audio (mp3) still seem to work just fine, but no mater what I do, I can not seem to get a listing of any of the videos (avi) I have. It shows me the directory where there should be the videos but that's it. The other thing I find strange, and it did this in the older version as well, is that it doesn't seem to recognize the TV model... it's a KDL-40W5100 software version aa0194pn.

I changed the log level to debug and now I see the messages from the TV and they seem to include the model name but the reply always seems to be 'generic profile'

I've captured that log file and will try to attach it to this message...
the TV IP is 192.168.1.100 and the PC (linux ubuntu) is at IP 192.168.1.71

In the exchange that I captured I first started serviio, then went to the TV and looked at a picture (jpeg) then listened to some music (mp3) both worked fine. then when I tried to watch a video I got the "There are no items to display" message so I turned off the TV and shutdown serviio.

I hope someone can make head or tail out of this log and point me in the right direction...

Thanks very much in advance,
Gord
Attachments
serviio.log
(149.96 KiB) Downloaded 647 times
<<

moltra

DLNA master

Posts: 1871

Joined: Thu Mar 24, 2011 11:00 pm

Location: Ohio USA

Post Thu Oct 27, 2011 7:07 am

Re: There are no items to display (video only)

Did you try and select the correct profile in the console? If you have not select the profile for your device and restart serviio.

Let us know if that makes any difference. Also while serviio is stopped. rename the current serviio.log file and let serviio start a new log file. If selecting the correct profile does not work post the new log file.
Mark
Beta Tester Group
http://www.serviidb.com Online media resource repository

Netgear EVA2000 | Samsung BD-D5300 | XBOX 360 | Windows 7 | Mint Debian 12 | Raxz Maxx
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Thu Oct 27, 2011 7:28 am

Re: There are no items to display (video only)

In fact the "regexp" in profiles.xml did not match your model number to automatically select the proper profile.

KDL-40W5100 is a 2009 model series.
According to the dlna certification, only audio and photo are supported, no video
But you said that with previous serviio version, video work, so as explain moltra, please try to select manually the proper "Sony Bravia TV" profile, save and restart serviio services.

We could change the reg expression like this in "Sony Bravia TV" profile:
<UPnPSearch>
<!-- 2009 models known to support UPnPSearch, and all 2010 models -->
<FriendlyName>BRAVIA KDL-\d{2}(WE5|(E53|E55|V55|V56|W51|W55|W57|Z55|Z57)\d0|[EHLNPB]X\d[01]\d) *</FriendlyName>
</UPnPSearch>
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

gord

Serviio newbie

Posts: 8

Joined: Mon Dec 06, 2010 11:46 pm

Post Fri Oct 28, 2011 1:51 am

Re: There are no items to display (video only)

OK, I think we're getting somewhere!!! :D

I changed the Profile to "Sony Bravia TV" and now I can see my video files again, well at least as much as I did before. Seems the avi files play OK but mkv or mp4 don't even show up. this is the way it was before the upgrade so at least I'm no worse off...

Keeping on the first trouble still. I tried changing the config file as you suggested and it still won't recognize the TV... still says "Unrecognized device" in the "Device Name" column. Any idea why that is?

Now for problem #2, as I mentioned above, I can only see avi files in the list of videos to play. The others are there and they seem to be added OK (looking at the log file) but they will not show up. Again, here is the log file. I'm back to the original config file here but the Profile is set to Sony Bravia TV. I also changed the server IP to a fixed (was DHCP) 192.168.1.200

As always, any help greatly appreciated.

Gord
<<

moltra

DLNA master

Posts: 1871

Joined: Thu Mar 24, 2011 11:00 pm

Location: Ohio USA

Post Fri Oct 28, 2011 5:01 am

Re: There are no items to display (video only)

Can you give us the ffmpeg -i and mediainfo of a file that will not play. See signature on how. Also see signature on how to show what device will play and post that information also.
Mark
Beta Tester Group
http://www.serviidb.com Online media resource repository

Netgear EVA2000 | Samsung BD-D5300 | XBOX 360 | Windows 7 | Mint Debian 12 | Raxz Maxx
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Fri Oct 28, 2011 1:49 pm

Re: There are no items to display (video only)

try to search for posts from PaulBravia as he has a Bravia 2009 thread here a year ago, you might use that profile (or use it as a basis for a new one)
<<

gord

Serviio newbie

Posts: 8

Joined: Mon Dec 06, 2010 11:46 pm

Post Tue Nov 01, 2011 2:58 am

Re: There are no items to display (video only)

Well, I think I've got this all fixed now... I'll try to explain what I did in hopes that it may be of assistance to someone else.
I believe I had two problems:
1. The 'no items to display' was caused by the wrong profile for my TV.
2. The failure to play some videos was caused by the wrong version of ffmpeg.

The details:
1. To fix the first problem I could select the correct profile for the TV from the drop down list, but what I did finally was to changed the "config/profiles.xml" this way:
"<X-AV-Client-Info>.*BRAVIA KDL-.*</X-AV-Client-Info>"
this is probably a more blunt fix than is necessary, but I tried the suggestion above and it didn't seem to work for me. Now serviio recognizes my TV and I no longer get the dreaded 'no items to display' :D

2. The failure to play some videos (mkv, mp4, mov) was caused by the wrong version on ffmpeg (I believe). I'm running ubuntu 11.10, when I turned on the debug level of the serviio logs, I saw an error message pop up when I tried to play one of these videos. It said something about ffmpeg exiting with an error, so I tried to copy and paste the command 'manually' at the unix prompt and got an error from ffmpeg that said "Unknown encoder 'libmp3lame'". This seemed odd to me because I have libmp3lame0 installed. I recalled I had another problem with another app that used the mp3 encoder. I seem to remember some sort of controversy from the debian community if the mp3 encoder was 'free' (free speech not free beer) and I had to install it from another source. So I did some web searching and found the place I once got this from is now called www.debian-multimedia.org so I added to my sources list the following:
deb http://www.debian-multimedia.org testing main
actually I used synaptic, but it ends up in the /etc/apt/sources.list file.
Anyway, after doing a resync I had a bunch of updates, one of which was ffmpeg... I can't remember the old version number, but the new is 0.8.5-0.0
after I did this and the upgrade there were a bunch of dependency problems... missing files, which I had to add separately. I think if I was going to do it again, I'd remove ffmpeg then reinstall the new version. The other strange thing is that it seemed to uninstall my vlc I have not reinstalled it, yet, I was waiting until I was sure the serviio problem was fixed.

I think that's about it...

thanks to everyone that made suggestions to my original problem and thanks in advance to anyone that would like to suggest a more elegant solution :D
<<

patters

User avatar

DLNA master

Posts: 1282

Joined: Sat Oct 09, 2010 3:51 pm

Location: London, UK

Post Tue Nov 01, 2011 7:44 am

Re: There are no items to display (video only)

The strange thing is that it ought to be matched by the Httpheaders regex:

  Code:
</HttpHeaders>
     <!-- 2008 models, and possibly older or different region 2009 firmwares which may not support UPnPSearch -->
     <X-AV-Client-Info>.*BRAVIA KDL-\d{2}(([A-Z](1|5|E1|R1|BR45|BR9|[1357]0\d{2}|4\d{3}))|(S55|S57|W51|Z51|Z58)\d0) *</X-AV-Client-Info>
</HttpHeaders>


Which in English is:
0 or more characters, "BRAVIA KDL-", two digits (a letter (1 or 5 or E1 or R1 or BR45 or BR9 or ((1 or 3 or 5 or 7), 0, two digits) or (4, three digits)) or ((S55 or S57 or W51 or Z51 or Z58), a single digit, 0) zero or more spaces

So the part in italics should match. Maybe there's a problem with the brackets. I'll check in a code editor later when I'm at work.

EDIT - brackets seem fine.

What happens if you try:
  Code:
</HttpHeaders>
     <!-- 2008 models, and possibly older or different region 2009 firmwares which may not support UPnPSearch -->
     <X-AV-Client-Info>.*BRAVIA KDL-\d{2}W51\d0 *</X-AV-Client-Info>
</HttpHeaders>
LG OLED55B8PLA | PS4 Pro | Xbox One S | Synology DS214play
Serviio 2.1 package for Synology NAS - with limited hardware transcoding support!
<<

gord

Serviio newbie

Posts: 8

Joined: Mon Dec 06, 2010 11:46 pm

Post Thu Nov 03, 2011 12:03 am

Re: There are no items to display (video only)

Nope, that didn't work... actually there's a typo in the config as well... had me going for a while... serviio kept quiting right after I started it, with an error message:
  Code:
2011-11-02 16:32:13,708 INFO  [DBSchemaUpdateExecutor] Checking if DB schema needs to be updated
2011-11-02 16:32:15,613 ERROR [XmlUtils] XML Profiles.xsd didn't pass validation, reason: The element type "Detection" must be terminated by the matching end-tag "</Detection>".
2011-11-02 16:32:15,620 ERROR [MediaServer] An unexpected error occured. Ending the application. Message: org.serviio.profile.ProfilesDefinitionException: Profiles XML file is not valid (according to the schema). Check the log.

I think the profile should be:
  Code:
         <HttpHeaders>
              <!-- 2008 models, and possibly older or different region 2009 firmwares which may not support UPnPSearch -->
              <X-AV-Client-Info>.*BRAVIA KDL-\d{2}W51\d0 *</X-AV-Client-Info>
         </HttpHeaders>

Which is what I put in my config. but it still would not recognize the TV.
Here is part of the log file...


  Code:
2011-11-02 16:59:08,787 DEBUG [DiscoveryAdvertisementNotifier] Multicasting SSDP alive using interface eth0 (eth0) and address 192.168.1.200, timeout = 0
2011-11-02 16:59:08,788 DEBUG [DiscoveryAdvertisementNotifier] Sending 6 'alive' messages describing device bd590831-6385-341b-9d94-e40d4175dda5
2011-11-02 16:59:09,393 DEBUG [WebServer] Incoming connection from /192.168.1.100:3365
2011-11-02 16:59:09,394 DEBUG [DeviceDescriptionRequestHandler] DeviceDescription request received for device bd590831-6385-341b-9d94-e40d4175dda5 from 192.168.1.100 (headers = [Host: 192.168.1.200:8895,Date: Thu, 01 Jan 2009 00:13:05 GMT,User-Agent: UPnP/1.0,X-AV-Physical-Unit-Info: pa="BRAVIA KDL-40W5100";,X-AV-Client-Info: av=5.0; cn="Sony Corporation"; mn="BRAVIA KDL-40W5100"; mv="1.7";])
2011-11-02 16:59:09,394 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.100
2011-11-02 16:59:09,394 DEBUG [RendererManager] Looking for a renderer profile for Http headers: [Host: 192.168.1.200:8895,Date: Thu, 01 Jan 2009 00:13:05 GMT,User-Agent: UPnP/1.0,X-AV-Physical-Unit-Info: pa="BRAVIA KDL-40W5100";,X-AV-Client-Info: av=5.0; cn="Sony Corporation"; mn="BRAVIA KDL-40W5100"; mv="1.7";]
2011-11-02 16:59:09,395 DEBUG [RendererDAOImpl] Creating a new Renderer (uuid = 1f9430a2-c5aa-4994-ad08-640289b462c7)
2011-11-02 16:59:09,409 INFO  [RendererManager] Stored a new renderer: uuid='1f9430a2-c5aa-4994-ad08-640289b462c7', name = 'Unrecognized device', ipAddress='192.168.1.100', profile = '1'
2011-11-02 16:59:09,410 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.100
2011-11-02 16:59:09,411 DEBUG [DeviceDescriptionRequestHandler] Sending DeviceDescription XML back using profile 'Generic DLNA profile'
2011-11-02 16:59:09,431 DEBUG [WebServer] Incoming connection from /192.168.1.100:3366
2011-11-02 16:59:09,433 DEBUG [ServiceDescriptionRequestHandler] ServiceDescription request received for service ConnectionManager
2011-11-02 16:59:09,434 DEBUG [ServiceDescriptionRequestHandler] Sending ServiceDescription XML back
2011-11-02 16:59:09,447 DEBUG [WebServer] Incoming connection from /192.168.1.100:3367
2011-11-02 16:59:09,447 DEBUG [ServiceDescriptionRequestHandler] ServiceDescription request received for service ContentDirectory
2011-11-02 16:59:09,448 DEBUG [ServiceDescriptionRequestHandler] Sending ServiceDescription XML back
2011-11-02 16:59:09,511 DEBUG [WebServer] Incoming connection from /192.168.1.100:3368
2011-11-02 16:59:09,512 DEBUG [ServiceControlRequestHandler] ServiceControl request received for action '"urn:schemas-upnp-org:service:ContentDirectory:1#GetSortCapabilities"' from 192.168.1.100:
2011-11-02 16:59:09,512 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.100
2011-11-02 16:59:09,516 DEBUG [ServiceControlRequestHandler] Returning OK SOAP message
2011-11-02 16:59:09,525 DEBUG [WebServer] Incoming connection from /192.168.1.100:3369
2011-11-02 16:59:09,526 DEBUG [ServiceControlRequestHandler] ServiceControl request received for action '"urn:schemas-upnp-org:service:ConnectionManager:1#GetProtocolInfo"' from 192.168.1.100:
2011-11-02 16:59:09,526 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 192.168.1.100
2011-11-02 16:59:09,530 DEBUG [ConnectionManager] Sending protocol info using profile 'Generic DLNA profile'


Return to Sony

Who is online

Users browsing this forum: No registered users and 23 guests

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