Improved UPnP serving and client

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
alcoheca Offline
Team-XBMC Developer
Posts: 265
Joined: Feb 2008
Reputation: 6
Post: #61
And if you can confirm what did work with the previous stable build that would be fantastic.

The more detail the better in getting support for your devices.
find quote
sialivi Offline
Posting Freak
Posts: 1,161
Joined: Dec 2008
Reputation: 9
Location: Sweden
Post: #62
This is a windows build, yes. Running on Windows 7 x64.

This is really odd, now suddenly the TV can access both video and music just fine again. Here's a log of the TV successfully using both the Music and Video libraries, http://xbmclogs.com/show.php?id=10494

The AVR still refuses though. Here's a log of the Pioneer VSX-921 trying accessing the music library with identical results to what I wrote in my previous post, successfully playing a song in the same 2 places and getting a server error in the other 2. http://xbmclogs.com/show.php?id=10492

Trying to access the video node gave me an "empty" response in my previous test, but this time it just seems to hang or at least becomes unresponsive for a long time. Log: http://xbmclogs.com/show.php?id=10493

I can not test with the previous stable build, because the Pioneer didn't work until the platinum changes, it would only get an "authorization failed" response in Eden.
(This post was last modified: 2012-10-12 22:42 by sialivi.)
find quote
alcoheca Offline
Team-XBMC Developer
Posts: 265
Joined: Feb 2008
Reputation: 6
Post: #63
I know why the Pioneer is freezing - it's a silly bug I introduced by hiding the Video Addons folder from clients, the client is told it receives 9 out of 10 possible matches, so it continuously tries to grab the last one. I've just committed the fix - thanks for spotting it! The logs are very useful here.

Another thing which is interesting is the Pioneer correctly requests the sort criteria, which I added support for. However I'm wondering if it correctly requests it for the recently added folders though.. sorting by title there would be pointless.

Didn't we agree that the Pioneer can't play video, just audio?

Are you still seeing problems browsing the music library on the AVR?

Can you browse to recently added albums and post the log?

thanks - I might think of some way of recording requests and saving it to a file for this sort of debugging.
find quote
sialivi Offline
Posting Freak
Posts: 1,161
Joined: Dec 2008
Reputation: 9
Location: Sweden
Post: #64
(2012-10-12 23:28)alcoheca Wrote:  Didn't we agree that the Pioneer can't play video, just audio?

We sure did, but that doesn't stop me from poking around Wink

(2012-10-12 23:28)alcoheca Wrote:  Are you still seeing problems browsing the music library on the AVR?

Yes, two of them fail:
Artists > Sabaton > Carolus Rex > "Server Error"
Genres > Power Metal > Sabaton > "Server Error"
...but the other "branches" work.

Edit: Assuming you meant using the same build, not one with the bug fix you just comitted, because I'm not set up to compile xbmc.

(2012-10-12 23:28)alcoheca Wrote:  Can you browse to recently added albums and post the log?

http://xbmclogs.com/show.php?id=10504
(This post was last modified: 2012-10-13 00:40 by sialivi.)
find quote
alcoheca Offline
Team-XBMC Developer
Posts: 265
Joined: Feb 2008
Reputation: 6
Post: #65
Hi, is the AVR supposed to be able to play Flac files?
(This post was last modified: 2012-10-13 10:55 by alcoheca.)
find quote
sialivi Offline
Posting Freak
Posts: 1,161
Joined: Dec 2008
Reputation: 9
Location: Sweden
Post: #66
(2012-10-13 10:54)alcoheca Wrote:  Hi, is the AVR supposed to be able to play Flac files?

Yes, here are the capabilities according to UPnP Inspector:

Quote:http-get:*:audio/L16;rate=44100;channels=1:DLNA.ORG_PN=LPCM,
http-get:*:audio/L16;rate=44100;channels=2:DLNA.ORG_PN=LPCM,
http-get:*:audio/L16;rate=48000;channels=1:DLNA.ORG_PN=LPCM,
http-get:*:audio/L16;rate=48000;channels=2:DLNA.ORG_PN=LPCM,
http-get:*:audio/mpeg:DLNA.ORG_PN=MP3,
http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMABASE,
http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMAFULL,
http-get:*:audio/mp4:DLNA.ORG_PN=AAC_ISO,
http-get:*:audio/3gpp:DLNA.ORG_PN=AAC_ISO,
http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=AAC_ADTS_320,
http-wavetunes:*:audio/x-ms-wma:*,
http-get:*:audio/wav:*,
http-get:*:audio/x-wav:*,
http-get:*:audio/flac:*,
http-get:*:audio/x-flac:*,

http-get:*:image/jpeg:*
find quote
alcoheca Offline
Team-XBMC Developer
Posts: 265
Joined: Feb 2008
Reputation: 6
Post: #67
@sialivi your best bet is to create a ticket on trac, CC me on it and we can work on it there

the bug fix was for the video library, if you use a nightly from tomorrow it should have the fix and we can then confirm the video library doesn't still cause the AVR to hang.
(This post was last modified: 2012-10-13 20:34 by alcoheca.)
find quote
Montellese Offline
Team-XBMC Developer
Posts: 3,832
Joined: Jan 2009
Reputation: 36
Location: Switzerland
Post: #68
I tested the latest UPnP changes on my android phone with Skifta (which is DLNA certified) and BubbleUPnP and before your latest fix Skifta wasn't able to open neither video nor music library and with your latest fixes entering the video and music library works. With BubbleUPnP viewing the library already worked before. The only thing I couldn't get to work with BuubleUPnP is resuming playback of a video I previously paused using BubbleUPnP. I just tried to reproduce it but now it seems to work (both with Skifta and BubbleUPnP).

PS: I now also got the XBMC logo showing up (using XBMC on Windows 7).

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.

[Image: badge.gif]
(This post was last modified: 2012-10-13 20:57 by Montellese.)
find quote
alcoheca Offline
Team-XBMC Developer
Posts: 265
Joined: Feb 2008
Reputation: 6
Post: #69
Hi - the proper resuming of a file seems to be client dependent, I dunno if we're doing something wrong server side (I haven't changed anything in that respect AFAICT). XBMC as a client seems to cope fine.

I'll have a play with Skifta in the next day or two.
find quote
alcoheca Offline
Team-XBMC Developer
Posts: 265
Joined: Feb 2008
Reputation: 6
Post: #70
(2012-10-13 20:57)Montellese Wrote:  PS: I now also got the XBMC logo showing up (using XBMC on Windows 7).

XBMC acting as the server here? Hmm then I wonder what's up with the two devices mentioned by sialvia here. It looks like a lot of clients expect the icons to be a certain size (though the spec does not demand this in the slightest). They export them as 48x48 or 120x120 pixels in size. I'll get round to resizing the xbmc icon in due course.
find quote
Martijn Offline
Team Kodi
Posts: 11,868
Joined: Jul 2011
Reputation: 170
Location: Dawn of time
Post: #71
one thing that would be nice was to disable the set content dialog for upnp sources. not sure if that's within your scope but it's something that will and already has caused confusion with users

Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first

For your mediacenter artwork go to
[Image: fanarttv.png]
find quote
alcoheca Offline
Team-XBMC Developer
Posts: 265
Joined: Feb 2008
Reputation: 6
Post: #72
I could definitely hack this in - but I don't think there's easy way of doing it, such as specifying that a particular source should never be scanned - which would be the correct way to do this.
find quote
sialivi Offline
Posting Freak
Posts: 1,161
Joined: Dec 2008
Reputation: 9
Location: Sweden
Post: #73
(2012-10-13 20:32)alcoheca Wrote:  @sialivi your best bet is to create a ticket on trac, CC me on it and we can work on it there

the bug fix was for the video library, if you use a nightly from tomorrow it should have the fix and we can then confirm the video library doesn't still cause the AVR to hang.

Confirmed that video library no longer hangs my AVR.

Not quite sure what to put in the trac ticket since I don't quite understand what's happening. You were asking about Flac support earlier, but the format surely isn't affecting this issue since I can reach a song on one "branch" (I really don't know the correct terminology, so I'm going with a tree analogy) but get a Server Error when trying to reach the same song on another branch? Also, the error is occuring when trying to list the songs, not when trying to play them. Or was that question unrelated?
(This post was last modified: 2012-10-14 00:07 by sialivi.)
find quote
alcoheca Offline
Team-XBMC Developer
Posts: 265
Joined: Feb 2008
Reputation: 6
Post: #74
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.
find quote
alcoheca Offline
Team-XBMC Developer
Posts: 265
Joined: Feb 2008
Reputation: 6
Post: #75
(2012-10-14 00:03)sialivi Wrote:  
(2012-10-13 20:32)alcoheca Wrote:  @sialivi your best bet is to create a ticket on trac, CC me on it and we can work on it there

the bug fix was for the video library, if you use a nightly from tomorrow it should have the fix and we can then confirm the video library doesn't still cause the AVR to hang.

Confirmed that video library no longer hangs my AVR.

Not quite sure what to put in the trac ticket since I don't quite understand what's happening. You were asking about Flac support earlier, but the format surely isn't affecting this issue since I can reach a song on one "branch" (I really don't know the correct terminology, so I'm going with a tree analogy) but get a Server Error when trying to reach the same song on another branch? Also, the error is occuring when trying to list the songs, not when trying to play them. Or was that question unrelated?

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.
find quote
Post Reply