UPnP Problem

Need help? Post your questions here.

Moderator: moderators

Re: UPnP Problem

Postby RecceDG » Wed Apr 09, 2014 11:07 am

Hm. That's an Android app. So I can't check it here.

I think the fact that WMP won't play anything is the smoking gun, because I bet most other UPnP media players follow the same schema. If you can get it to work on WMP, I bet it'll work anywhere.

But where I need it to work is SoundBridge (and BoxeeBox which I will test today). If there is anything I can do in the way of debug info, just let me know.
RecceDG
 
Posts: 20
Joined: Fri Mar 07, 2014 2:17 pm

Re: UPnP Problem

Postby daneren2005 » Wed Apr 09, 2014 2:21 pm

Looks like Soundbridge isn't just something I can download and try out. Want to try using it and the copy paste the debug info in the server about log here? It should log what it was attempting to connect to. Though WMP doesn't, so there is probably just something simple missing. This is definitely not my area of expertise, but I will try to look at it more sometime this week.
Developer of DSub for Android
daneren2005
 
Posts: 1709
Joined: Fri Jul 06, 2012 7:52 pm

Re: UPnP Problem

Postby RecceDG » Wed Apr 09, 2014 10:24 pm

Sure. Tell me what log info you want (from where) and it's yours.
RecceDG
 
Posts: 20
Joined: Fri Mar 07, 2014 2:17 pm

Re: UPnP Problem

Postby RecceDG » Wed Apr 09, 2014 11:14 pm

OK, this wasn't easy but I got it:

Code: Select all
ListContainerContents
ListContainerContents: TransactionInitiated
ListContainerContents: ListResultSize 8
ListContainerContents: Royals
ListContainerContents: Berzerk
ListContainerContents: Timber (feat. Ke$ha)
ListContainerContents: Anything
ListContainerContents: And We Danced (feat. Ziggy Stardust)
ListContainerContents: Your Love Is My Drug
ListContainerContents: Thrift Shop (feat. Wanz)
ListContainerContents: Here's to Never Growing Up
ListContainerContents: ListResultEnd
ListContainerContents: TransactionComplete

GetSongInfo 0
GetSongInfo: TransactionInitiated
GetSongInfo: id: folder-2469
GetSongInfo: format: unsupported
GetSongInfo: status: unsupported
GetSongInfo: title: Royals
GetSongInfo: OK
GetSongInfo: TransactionComplete


(Don't judge me :) )

That's using the Roku Control Protocol shell to browse the Subsonic UPnP tree. I've navigated to the current container (A Subsonic playlist) and using ListContainerContents, listed the songs in the playlist. I then use GetSongInfo to get info on the first song in the list, index 0.

Here's what GetSongInfo *should* return:

Code: Select all
GetSongInfo 0
GetSongInfo: TransactionInitiated
GetSongInfo: id: 11453852
GetSongInfo: trackLengthMS: 384627
GetSongInfo: trackNumber: 9
GetSongInfo: format: MP3
GetSongInfo: status: unsupported
GetSongInfo: title: Lovely Day
GetSongInfo: artist: Bill Withers
GetSongInfo: album: Lean On Me
GetSongInfo: genre: Rock
GetSongInfo:
comment: flac-to-mp3 version 1.5
GetSongInfo: songFormat: mp3
GetSongInfo: formatDescription: mp3 audio file
GetSongInfo: resource[0] url: http://192.168.0.15/13852.mp3
GetSongInfo: resource[0] format: MP3
GetSongInfo: resource[0] bitrate: 128
GetSongInfo: resource[0] sampleRate: 44100
GetSongInfo: resource[0] sizeBytes: 6154036
GetSongInfo: OK
GetSongInfo: TransactionComplete


(This is an example from http://soundbridge.roku.com/documents/S ... ion2-4.pdf)

So clearly Subsonic is not returning the correct info about the song.

When you look at the output from Subsonic using UPnP Inspector, it's pretty clear that it isn't returning a URL that points at the raw song file. There is a
http://192.168.1.20:4040/stream?id=2469&player=10
result but not a link to the actual file, as in the example result.

I bet this is the same problem as WMP is having. Subsonic literally doesn't return the files.
RecceDG
 
Posts: 20
Joined: Fri Mar 07, 2014 2:17 pm

Re: UPnP Problem

Postby RecceDG » Thu Apr 10, 2014 12:04 pm

OK, weird - BoxeeBox actually works!

...but the user interface to UPnP music is God-awful, including not having the ability to play all files in a container....

Happily, the web interface to Subsonic works fine, so that solves that problem.

So it is all about the Soundbridge then.
RecceDG
 
Posts: 20
Joined: Fri Mar 07, 2014 2:17 pm

Re: UPnP Problem

Postby daneren2005 » Thu Apr 10, 2014 11:35 pm

The url example you posted is a completely valid url. In fact, it makes little sense to include a .mp3 on the end of a general purpose url like the 'good' example you give does. Is the Roku Control Protocol shell something I can download and play with without having any Soundbridge equipment?
Developer of DSub for Android
daneren2005
 
Posts: 1709
Joined: Fri Jul 06, 2012 7:52 pm

Re: UPnP Problem

Postby RecceDG » Fri Apr 11, 2014 4:16 am

No, it's a shell that runs on the Soundbridge itself.

You telnet into the Soundbridge, and then can run the commands in the pdf to control it remotely.

I don't think the issue is necessarily the .mp3 on the end of the URL - in fact, I don't think that's the problem at all. I think the problem (and it's the same with WMP) is that the schema that Subsonic is using to push metadata to the server is not what is expected by the Soundbridge.

I'll lay dollars to doughnuts that if you can get Subsonic to work with WMP, it'll work with the Soundbridge too.

I don't have time to do this this weekend, but I'd try a quick install of MediaTomb and look at its output with UPnP Inspector and see what sort of schema it is publishing. I bet if you changed Subsonic to publish the same schema, it would work perfectly.
RecceDG
 
Posts: 20
Joined: Fri Mar 07, 2014 2:17 pm

Re: UPnP Problem

Postby RecceDG » Fri Apr 25, 2014 1:56 pm

Any new work on this?
RecceDG
 
Posts: 20
Joined: Fri Mar 07, 2014 2:17 pm

Re: UPnP Problem

Postby daneren2005 » Fri Apr 25, 2014 6:27 pm

Sorry, I have been busy. When I've tried looking at this, I can't figure out what might be wrong. Normally I would just start playing with stuff to try to get something to work, but without any way to test it that seems kind of pointless :(
Developer of DSub for Android
daneren2005
 
Posts: 1709
Joined: Fri Jul 06, 2012 7:52 pm

Re: UPnP Problem

Postby RecceDG » Tue Apr 29, 2014 6:55 pm

You can test with WMP.

If WMP works, I'll bet money that the Soundbridge works - and right now, WMP doesn't work.
RecceDG
 
Posts: 20
Joined: Fri Mar 07, 2014 2:17 pm

Previous

Return to Help

Who is online

Users browsing this forum: No registered users and 27 guests