Kodi Community Forum
Improved UPnP serving and client - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93)
+---- Forum: GSoC (https://forum.kodi.tv/forumdisplay.php?fid=299)
+----- Forum: GSoC 2012 (https://forum.kodi.tv/forumdisplay.php?fid=161)
+----- Thread: Improved UPnP serving and client (/showthread.php?tid=127949)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17


RE: Improved UPnP serving and client - alcoheca - 2012-10-17

(2012-10-15, 12:19)alcoheca Wrote: HI, I've found a problem with browsing via upnp-inspector, I'll get a fix in ASAP. Hopefully this will fix your issue. Let's forget about trac for now.

the bug I'm seeing is different, Neptune's xml serializer doesn't cope well with ASCII control codes.



RE: Improved UPnP serving and client - sialivi - 2012-10-17

(2012-10-17, 11:23)alcoheca Wrote: Can you browse the music library until the point where you receive a server error, and then post the log again? I'm struggling to figure out what's causing this. I think some clients boak after the first N responses are returned. The logs will show if that's the case.

http://xbmclogs.com/show.php?id=10819

Picked up a new UPnP device yesterday, a Nexus 7, and it has worked flawless with XBMC so far (using BubbleUPnP)


RE: Improved UPnP serving and client - alcoheca - 2012-10-17

hi, and please list how you're browsing the tree here.


RE: Improved UPnP serving and client - alcoheca - 2012-10-17

there's something strange with how the AVR is browsing genres (of which you have 67).

First it requests the first 50, which it receives.
Then it requests the next 50 starting at item 60 rather than item 50, it receives 7 as to be expected.
Then it requests the next 50 starting at item 34. it receives 33 as to be expected.

This all happens in the space of 1 second - are there any firmware updates available for this device?


RE: Improved UPnP serving and client - sialivi - 2012-10-17

(2012-10-17, 14:32)alcoheca Wrote: there's something strange with how the AVR is browsing genres (of which you have 67).

First it requests the first 50, which it receives.
Then it requests the next 50 starting at item 60 rather than item 50, it receives 7 as to be expected.
Then it requests the next 50 starting at item 34. it receives 33 as to be expected.

This all happens in the space of 1 second - are there any firmware updates available for this device?

1) Selected the XBMC server
2) Selected "Music Library"
3) Selected "Genres"
4) Selected genre "Symphonic Metal"
5) Selected artist "Within Temptation" -> "Server Error"

Nope, no firmware updates. Don't think they have ever released one during it's life cycle, not very common with AVRs.
Just looked, all 67 genres are listed on the AVR. Their order is totally random though, not sorted in any recognizable way.


RE: Improved UPnP serving and client - alcoheca - 2012-10-17

hmm that's interesting about the sorting, I just checked and the genre listing is not being sorted correctly, due to a bug in the VideoLibrary (we think it's already sorted by title but infact it hasn't been). I'll get a fix in for that soon.

As to your problem, I've still no idea. At step 5 are you trying to play the entire artist? or are you just trying to browse to show the albums by 'Within temptation' ?






RE: Improved UPnP serving and client - sialivi - 2012-10-17

Just browsing. To clarify, these are the steps to get to the 2 different "leafs/nodes" that cause a Server Error. The error occurs in different places depending on what you pick in step 3.

Method 1:
1) Selected the XBMC server
2) Selected "Music Library"
3) Selected "Genres"
4) Selected genre "Symphonic Metal"
5) Selected artist "Within Temptation"
6) Result: "Server Error" instead of showing a list of Albums

Method 2:
1) Selected the XBMC server
2) Selected "Music Library"
3) Selected "Artists"
4) Selected artist "Within Temptation"
5) Selected album "The Silent Force"
6) Result: "Server Error" instead of showing a list of Songs


RE: Improved UPnP serving and client - alcoheca - 2012-10-17

Thanks for that clarification, it really helps. Sorry this is taking so long to pinpoint but it's proving a tricky one.


RE: Improved UPnP serving and client - sialivi - 2012-10-17

(2012-10-17, 16:42)alcoheca Wrote: Thanks for that clarification, it really helps. Sorry this is taking so long to pinpoint but it's proving a tricky one.

It's no problem.

Just so you know; If you feel that this particular AVR is just misbehaving too much to be worth the effort, I won't blame you and I have multiple other ways to access the content.

But if you feel that the misbehavior helps to find edge cases, I'm more than happy to help in any way I can.



RE: Improved UPnP serving and client - alcoheca - 2012-10-17

I think it's an edge case, we already support devices which have particular quirks, but at the same time we might not always be doing things 100% to spec. Some clients are more lenient than others. It's good practice for me to figure out *why* something isn't working (which is tricky when you're dealing with hardware which can't give any more info than server error!).




RE: Improved UPnP serving and client - alcoheca - 2012-10-17

So to anyone else reading this, if you have a DLNA certified bit of hardware, please test it against the latest nighties and report any problems here or on trac.


RE: Improved UPnP serving and client - kricker - 2012-10-17

I have 2 DLNA certified Sony TVs I could try. I guess only browsing would work on them at the moment. Oh and a PS3.


RE: Improved UPnP serving and client - Jules - 2012-10-18

(2012-09-23, 20:59)alcoheca Wrote:
(2012-09-19, 23:59)Jules Wrote: Basically be able to drop xbmc "client" nodes, or any other type of node for that matter, around the house to receive multi-streaming audio content. Setup of various zones like "Sonos" players, to play different music everywhere or play the same music in any rooms you choose to group! I have been testing a lot of audio systems lately and I think this is one of the best features I've come across in a while. I'm surprised that XBMC does not have multi-streaming support?? (or did I miss this in XBMC 101 class?). Maybe some additional info here: http://forum.xbmc.org/showthread.php?tid=78431

hi, synchronized playback is a long way off, I don't know of any UPnP devices which support the AVTransport3 service (which introduced the CLOCKSYNC feature). I'm not also sure this is the way we'd do it if we decided to implement is at all.

I suggest looking at Logitech squeezebox (is opensource, clients can run on most hardware) - that's what I use at home for synchronized music playback.

What are your thoughts on the multi-streaming capabilities? I'm really not too jazzed about the synchronization, but I think being able to play multiple streams of music(different songs) from single XBMC Server to various rooms around the house should be a nice achievement! A lot of systems have this capability already. Thoughts on how to implement into your work?



RE: Improved UPnP serving and client - Robotica - 2012-10-18

edit


RE: Improved UPnP serving and client - Martijn - 2012-10-18

(2012-10-18, 01:06)Robotica Wrote: like this: https://github.com/xbmc/xbmc/pull/1597

no that's something completely different