Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: foo_upnp (Read 1636197 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

foo_upnp

Reply #250
I think you misundertood how the Controller works.

It's not easy to understand how it works when it doesn't work correctly

In the browser, when I rightclick "Playlists", I get the "Send to playlist", "Run service" etc. which is not logical on more than one playlist. I suspect that this menu should only appear when I rightclick a specific playlist, right? When I do that, nothing happens. I also tried changing default left-click action to "Send to UPnP Browser Selection Playlist", but nothing happens when I click no matter what setting I use.
Can't wait for a HD-AAC encoder :P

foo_upnp

Reply #251
I think you misundertood how the Controller works.

It's not easy to understand how it works when it doesn't work correctly

In the browser, when I rightclick "Playlists", I get the "Send to playlist", "Run service" etc. which is not logical on more than one playlist. I suspect that this menu should only appear when I rightclick a specific playlist, right? When I do that, nothing happens. I also tried changing default left-click action to "Send to UPnP Browser Selection Playlist", but nothing happens when I click no matter what setting I use.


Reread carefully what I wrote in the previous message. The  "UPnP Controller playback queue" and "UPnP Browser Selection Playlist" are not the same. The latter will just display what you select in the browser while the former is the actual playback queue of the selected renderer.

foo_upnp

Reply #252
I think I got it now. Sometimes the context menu is reeeaaally slow and on some playlists (e.g. empty ones) it doesn't show at all. I should clean up my many playlists

I take that back. I REALLY DO have problems showing the context menus sometimes. Just before it finally worked on all playlists, but now it only works on certain ones again.

When I get it to work, every track is lagging for about 15 secs - Almost as if it was streaming (I suspect my DSP to cause this, but wonders as I thought it was merely controlling the server?). I can't see the Playback Queue on the server and if I close the client the music stops after playing the track. Isn't it supposed to continue playing the playlist?
Can't wait for a HD-AAC encoder :P

foo_upnp

Reply #253
Hi,
I've got a Nokia N78 with UPnP support. It works with other UPnP-Servers like "Simplecenter" and "Orb", but unfortunately the foobar upnp server doesnt show up in the phone.
Is foo_upnp only compatible with the things listed in the media server presets?


No it should work with other devices but unless you test it with a particular device you never know as most of them have small quirks difficult to trace unless you have the hardware to test.
Maybe the software on the Nokia is expecting the UPnP server to emulate WMP (I'll have a look at the cited servers to see i they do that).
In the mean time you can enable the plugin's debug log in the foobar console ("Advanced Settings / Enable debug message ...) and post the results.
You can also try to start the server after or before th phone UPnP software.


I tried starting the server before and after. But nothing happens
I should add, that I can access the Nokia Phone via foobar, but it doesn't work the other way round. The phone can't find foobar.


These are the results from the debug log. I run a WinXP machine, btw. Don't know if it helps.

foo_upnp: browser_window::OnMSAdded: Added new server name=Orb: Thinkpad - gmB2k1, uuid=0a471960-0547-7cc9-7ad3-32231f59564a, url=http://192.168.0.2:9500/ to browser tree
foo_upnp: browser_window::OnMSAdded: Added new server name=Nokia N78, uuid=b7ea938a-4ca2-10e1-b88d-00210900A717, url=http://192.168.0.5:39647/MediaServer1/ to browser tree
Opening track for playback: "upnp://aHR0cDovLzE5Mi4xNjguMC41OjM5NjQ3LzAwMDAwMDE1NzkzMzQ5MjA0Mi8xNjUxLm1wMw=="
Opening track for playback: "upnp://aHR0cDovLzE5Mi4xNjguMC41OjM5NjQ3LzAwMDAwMDE1NzkzMzQ5MjA0Mi8xNjUxLm1wMw=="
foo_upnp: NPT_HttpClient::SendRequestOnce: NPT_CHECK failed, result=-20302 [NPT_ERROR_EOS]
foo_upnp: NPT_HttpClient::SendRequestOnce: NPT_CHECK failed, result=-20302 [NPT_ERROR_EOS]

Thanks for your answer!

foo_upnp

Reply #254
I have changed my columns UI to show the album artist, instead of artist ie..

Code: [Select]
$if2(%band%,<no artist>)[ / %album%]


However, when playing an album from my server, it does not show the album artist untill the track is playing



Is there anyway I can fix this?

foo_upnp

Reply #255
I think I got it now. Sometimes the context menu is reeeaaally slow and on some playlists (e.g. empty ones) it doesn't show at all. I should clean up my many playlists

I take that back. I REALLY DO have problems showing the context menus sometimes. Just before it finally worked on all playlists, but now it only works on certain ones again.

When I get it to work, every track is lagging for about 15 secs - Almost as if it was streaming (I suspect my DSP to cause this, but wonders as I thought it was merely controlling the server?). I can't see the Playback Queue on the server and if I close the client the music stops after playing the track. Isn't it supposed to continue playing the playlist?


An UPnp Renderer is always streaming from somewhere, that's part of how it works. There was a great article  about the upcoming WMP12 in Win7 that explain all this but I can't find the link ATM.
The renderer's playback queue is entirely managed client side, so yes when the client exit the renderer will stop playing at the end of the current track.

foo_upnp

Reply #256
New version with (beta) Xbox360 support! Please test and report if there are problems. There's a preset for the 360. As the 360 doesn't handle PCM streaming (what where they thinking @ Microsoft), everything the 360 can't play (codecs other than wma, mp3, mp4) is *always* transcoded to mp3.

Also someone reports if album art is now displayed on the PS3. It should be displayed for files that would display it in foobar's album art viewer.

0.99.8
- new: support for the Xbox360
- new: attempt at album art streaming support for PS3 (untested).
- fix: use uuid with chars in lower case else the XBOX360 and possibly other hardware won't connect
- fix: obscure crash when receiving SUBSCRIBE requests

foo_upnp

Reply #257
I have just given v0.99.8 a go with our PS3 and i keep getting an 80710091 error when it tries to play the next track.

Code: [Select]
foo_upnp: FbMediaServer::ProcessHttpRequest: received request URL=/ContentDirectory/428ff545-776c-4399-a03e-001d7d050edc/control.xml from a LAN client
foo_upnp: FbMediaServer::OnAction: received action 'GetSystemUpdateID', args = {  }
foo_upnp: FbMediaServer::OnAction: action 'GetSystemUpdateID' response: args = { Id=0 }
foo_upnp: FbMediaServer::ProcessHttpRequest: received request URL=/content/file://D:\Lossless Music\Muse\2003 - Absolution\01. Intro.flac.lpcm from a LAN client
foo_upnp: FbMediaWavInputStream::queue_fill: >>>>>>>>>>>>>>>>>>>>>>>>>>file://D:\Lossless Music\Muse\2003 - Absolution\01. Intro.flac: realloc #0 (old=2097152, new=2113536)<<<<<<<<<<<<<<<<<<<<<<<<
foo_upnp: FbMediaServer::ProcessHttpRequest: received request URL=/ContentDirectory/428ff545-776c-4399-a03e-001d7d050edc/control.xml from a LAN client
foo_upnp: FbMediaServer::OnAction: received action 'GetSystemUpdateID', args = {  }
foo_upnp: FbMediaServer::OnAction: action 'GetSystemUpdateID' response: args = { Id=0 }
foo_upnp: FbMediaServer::ProcessHttpRequest: received request URL=/ContentDirectory/428ff545-776c-4399-a03e-001d7d050edc/control.xml from a LAN client
foo_upnp: FbMediaServer::OnAction: received action 'Browse', args = { ObjectID=0/1/0/0/15, BrowseFlag=BrowseMetadata, Filter=@id,upnp:class,res,res@protocolInfo,res@av:authenticationUri,res@size,dc:title,upnp:albumArtU
RI,res@dlna:ifoFileURI,res@protection,res@bitrate,res@duration,res@sampleFrequency,res@bitsPerSample
,
res@nrAudioChannels,res@resolution,res@colorDepth,dc:date,av:dateTime,upnp:artist,upnp:album,upnp:ge
n
re,dc:contributer,upnp:storageFree,upnp:storageUsed,upnp:originalTrackNumber,dc:publisher,dc:languag
e
,dc:region,dc:description,upnp:toc,@childCount,upnp:albumArtURI@dlna:profileID, StartingIndex=0, RequestedCount=1, SortCriteria= }
foo_upnp: FbMediaServer::OnAction: action 'Browse' response: args = { ObjectID=0/1/0/0/15, BrowseFlag=BrowseMetadata, Filter=@id,upnp:class,res,res@protocolInfo,res@av:authenticationUri,res@size,dc:title,upnp:albumArtU
RI,res@dlna:ifoFileURI,res@protection,res@bitrate,res@duration,res@sampleFrequency,res@bitsPerSample
,
res@nrAudioChannels,res@resolution,res@colorDepth,dc:date,av:dateTime,upnp:artist,upnp:album,upnp:ge
n
re,dc:contributer,upnp:storageFree,upnp:storageUsed,upnp:originalTrackNumber,dc:publisher,dc:languag
e
,dc:region,dc:description,upnp:toc,@childCount,upnp:albumArtURI@dlna:profileID, StartingIndex=0, RequestedCount=1, SortCriteria=, NumberReturned=1, TotalMatches=1, UpdateID=0 }
foo_upnp: FbMediaServer::ProcessHttpRequest: received request URL=/ContentDirectory/428ff545-776c-4399-a03e-001d7d050edc/control.xml from a LAN client
foo_upnp: FbMediaServer::OnAction: received action 'GetSystemUpdateID', args = {  }
foo_upnp: FbMediaServer::OnAction: action 'GetSystemUpdateID' response: args = { Id=0 }
foo_upnp: FbMediaServer::ProcessHttpRequest: received request URL=/ContentDirectory/428ff545-776c-4399-a03e-001d7d050edc/control.xml from a LAN client
foo_upnp: FbMediaServer::OnAction: received action 'Browse', args = { ObjectID=0/1/0/0/15, BrowseFlag=BrowseMetadata, Filter=@id,upnp:class,res,res@protocolInfo,res@av:authenticationUri,res@size,dc:title,upnp:albumArtU
RI,res@dlna:ifoFileURI,res@protection,res@bitrate,res@duration,res@sampleFrequency,res@bitsPerSample
,
res@nrAudioChannels,res@resolution,res@colorDepth,dc:date,av:dateTime,upnp:artist,upnp:album,upnp:ge
n
re,dc:contributer,upnp:storageFree,upnp:storageUsed,upnp:originalTrackNumber,dc:publisher,dc:languag
e
,dc:region,dc:description,upnp:toc,@childCount,upnp:albumArtURI@dlna:profileID, StartingIndex=0, RequestedCount=1, SortCriteria= }
foo_upnp: FbMediaServer::OnAction: action 'Browse' response: args = { ObjectID=0/1/0/0/15, BrowseFlag=BrowseMetadata, Filter=@id,upnp:class,res,res@protocolInfo,res@av:authenticationUri,res@size,dc:title,upnp:albumArtU
RI,res@dlna:ifoFileURI,res@protection,res@bitrate,res@duration,res@sampleFrequency,res@bitsPerSample
,
res@nrAudioChannels,res@resolution,res@colorDepth,dc:date,av:dateTime,upnp:artist,upnp:album,upnp:ge
n
re,dc:contributer,upnp:storageFree,upnp:storageUsed,upnp:originalTrackNumber,dc:publisher,dc:languag
e
,dc:region,dc:description,upnp:toc,@childCount,upnp:albumArtURI@dlna:profileID, StartingIndex=0, RequestedCount=1, SortCriteria=, NumberReturned=1, TotalMatches=1, UpdateID=0 }
foo_upnp: FbMediaServer::ProcessHttpRequest: received request URL=/content/file://D:\Lossless Music\Muse\2003 - Absolution\01. Intro.flac.lpcm from a LAN client
foo_upnp: FbMediaWavInputStream::queue_fill: >>>>>>>>>>>>>>>>>>>>>>>>>>file://D:\Lossless Music\Muse\2003 - Absolution\01. Intro.flac: realloc #0 (old=2097152, new=2113536)<<<<<<<<<<<<<<<<<<<<<<<<
here is the bizarre thing after waiting 20+ seconds it sometimes does start playing the next track otherwise i get a 80710723 error on the PS3 over and over again. Another thing i noticed is that the total track length displayed on the PS3 is blank (not sure if it's related though).
Who are you and how did you get in here ?
I'm a locksmith, I'm a locksmith.

foo_upnp

Reply #258
Many Many thanks for the Xbox360 support, bubbleguuum. I already tried it (with .mp3, .flac, .ape and .wv) and everything worked flawless. I'm impressed with the speed of decoding. Good job

foo_upnp

Reply #259
The Problem with Nokias still exists in the new version.
Not that it's mentioned in the changelog, just to let you know.
Great job, anyway!

foo_upnp

Reply #260
New version breaks PS3 compatibility.

All it says when trying to play any track is "An HTTP error (418) occurred."

Track will not start playing. Happens with album art swicthed on or off. Old version was fine (apart from the stopping every now and then which I have mentioned).

foo_upnp

Reply #261
New version breaks PS3 compatibility.

All it says when trying to play any track is "An HTTP error (418) occurred."

Track will not start playing. Happens with album art swicthed on or off. Old version was fine (apart from the stopping every now and then which I have mentioned).


Are you using a switch ? wifi ? can you try again wiring directly the PS3 to your PC via ethernet ?

for the funny side, http code 418 = "I'm a teapot" and the plugin never answer that code so...

foo_upnp

Reply #262
The Problem with Nokias still exists in the new version.
Not that it's mentioned in the changelog, just to let you know.
Great job, anyway!


difficult to track down without the hardware to test. Probably the phone do not receive the SSDP (auto-discovery) packets but why ?

foo_upnp

Reply #263
Sorry if someone already reported this!

I use Archos 705 as a client and it works ok with FUPPES server, but with foo_upnp some songs are not played and I see the following in the console:

Code: [Select]
22:31:10] foo_upnp: FbMediaServer::ProcessHttpRequest: received request URL=/content/file://G:\audio\lossy\Antony and the Johnsons\Antony and the Johnsons - 1998 - Antony and the Johnsons\05 - River of Sorrow.m from a LAN client


  It looks like the request does have its filename cut, therefore it is not streamed. The file extension is acually ".mp3", not ".m". Maybe the filename field is not long enough?


 Thanks a lot for your work.

foo_upnp

Reply #264
It looks like the request does have its filename cut, therefore it is not streamed. The file extension is acually ".mp3", not ".m". Maybe the filename field is not long enough?


Maybe the URL generated by the server are too long for the Archos. Try disabling "Generate Persistent URLs" in the server configuration, it generates URLs shorter and simplier.

foo_upnp

Reply #265
It looks like the request does have its filename cut, therefore it is not streamed. The file extension is acually ".mp3", not ".m". Maybe the filename field is not long enough?


Maybe the URL generated by the server are too long for the Archos. Try disabling "Generate Persistent URLs" in the server configuration, it generates URLs shorter and simplier.


Thanks a lot, bubbleguuum! It all works ok now.
It probably was a limitation on the Archos filename/url length.

foo_upnp

Reply #266
I also have the 80710091 error on the ps3 (I have had this with all versions of foo_upnp I have tried)..  It will occasionally happen while a song is playing, then resume the song after a period of time.  It also often happens when it is switching to another song.  A long (30 second?) delay will typically occur before the next song plays.  The results are the same whether I am transcoding to PCM, or streaming straight MP3s.

Interestingly enough, I tried the xbox 360 support you added to this version and I have not observed the issue so far.  It seems to play songs without pauses, and be able to successfully change tracks on its own.

I have both the ps3 and the xbox 360 connected to the same wireless bridge.  I have also attempted to use the ps3's built in wireless and it had the same problem.

Still, thank you very much bubbleguuum for the plugin.  It seems it will be fantastic once I get it working

foo_upnp

Reply #267
The Problem with Nokias still exists in the new version.
Not that it's mentioned in the changelog, just to let you know.
Great job, anyway!


difficult to track down without the hardware to test. Probably the phone do not receive the SSDP (auto-discovery) packets but why ?


I'm such a jerk.
My personal firewall accidently blocked it.

It works like a charm now.
I'm really sorry for the efforts you put into solving my problem.

Thank you a thousand times for giving such a marvelous piece of software to the community for free.


foo_upnp

Reply #268
hi,

I use a Siemens Gigaset M740AV which basically is a DVB-T Tuner but also has a built in (basic) UPnP-client. It works ok with the Twonky-Server and TVersity (with some tweaks). I would love to use it with foo_upnp but I only get the root directories (Media Library, Playlists), when I click on them nothing happens... and I see no error messages on the console (example clicking on Playlists):

Code: [Select]
foo_upnp: FbMediaServer::ProcessHttpRequest: received request URL=/ContentDirectory/428ff545-776c-4399-a03e-0001805d52df/control.xml from a LAN client
foo_upnp: FbMediaServer::OnAction: received action 'Browse', args = { ObjectID=0, BrowseFlag=BrowseDirectChildren, Filter=*, StartingIndex=0, RequestedCount=20, SortCriteria= }
foo_upnp: FbMediaServer::OnAction: action 'Browse' response: args = { ObjectID=0, BrowseFlag=BrowseDirectChildren, Filter=*, StartingIndex=0, RequestedCount=20, SortCriteria=, NumberReturned=2, TotalMatches=2, UpdateID=0 }
foo_upnp: FbMediaServer::ProcessHttpRequest: received request URL=/ContentDirectory/428ff545-776c-4399-a03e-0001805d52df/control.xml from a LAN client
foo_upnp: FbMediaServer::OnAction: received action 'Browse', args = { ObjectID=0, BrowseFlag=BrowseDirectChildren, Filter=*, StartingIndex=0, RequestedCount=20, SortCriteria= }
foo_upnp: FbMediaServer::OnAction: action 'Browse' response: args = { ObjectID=0, BrowseFlag=BrowseDirectChildren, Filter=*, StartingIndex=0, RequestedCount=20, SortCriteria=, NumberReturned=2, TotalMatches=2, UpdateID=0 }

I did try several settings (DLNA, persistent URLs off...), but no luck. Any idea what might be wrong?

---
Device-id: Upnp-Gigaset-M740AV-1_0-0001E3FB4091
User Agent: Linux/2.4.21-xfs, UPnP/1.0, Intel SDK for UPnP devices /1.2



foo_upnp

Reply #269
xbox360 streaming works great man! GJ

foo_upnp

Reply #270
Hi guys,

I'm quite a noob on this subject, so please help me out here... I haven't read the whole topic, so if it's already been answered, I'm sorry.

I want to play music which is stored on my Popcorn Hour, to my stereo receiver. Because I don't want to turn on the TV to control what is playing, I want to use my PC. In Windows Media Player, there is an option "Play to" which works, but the UI is not very good.
So, I searched for alternatives for the "Play to" functionality and found this. It works for me, but some things are not working ("Unknown artist - Unknown Track" all the time, you cannot see which song is playing, etc.)



Can anyone help me to get this fully functional?

Thanks a lot!
Cadish

foo_upnp

Reply #271
xbox360 streaming works great man! GJ


Finally, something that works  !

So, I searched for alternatives for the "Play to" functionality and found this. It works for me, but some things are not working ("Unknown artist - Unknown Track" all the time, you cannot see which song is playing, etc.)


What is displayed as the track and artist if you use another control point ? (WMP, cidero,...). I see that it displays "Unknown Track Title" as the title and I ever set it as "Unknown Track" in the plugin when I do not have the info, which let me think this string is returned by the PCH. Maybe it has a problem parsing metadata ?
Otherwise the playing track is the selected track in the "UPnP Controller Playback Queue" playlist that you can display hitting the "PL" button.

foo_upnp

Reply #272
Hi, don't know if this has been mentioned yet but viewing artists on the xbox 360 list artists in caps before lower case ones e.g. AAA, AAC, aab, aac

foo_upnp

Reply #273
Streaming to 360; no songs will play with this error:

foo_upnp: FbMediaServer::ProcessHttpRequest: received request URL=/content/1?convert=mp3 from a LAN client
foo_upnp: FbMediaWavInputStream::init: cannot create resampler 44100=>44100 for location file://[blah]

All of my files are MP3s and no matter which options I change I can't seem to get it to stop trying to resample. All of the interface stuff works snappy and great, though, so I really hope I can get this running.

 

foo_upnp

Reply #274
Streaming to 360; no songs will play with this error:

foo_upnp: FbMediaServer::ProcessHttpRequest: received request URL=/content/1?convert=mp3 from a LAN client
foo_upnp: FbMediaWavInputStream::init: cannot create resampler 44100=>44100 for location file://[blah]

All of my files are MP3s and no matter which options I change I can't seem to get it to stop trying to resample. All of the interface stuff works snappy and great, though, so I really hope I can get this running.



That's curious, I never saw that problem, even if it is not super useful, creating a resampler from 44100=>44100 shouldn't fail.
I'll avoid resampling from x=>x in the next version .
Which version of fb2k are you using and do you have this error all the time ?

btw there's a bug in 0.99.8 and xbox streaming: it will transcode to mp3 all files inconditionally, no matter the settings. Fixed in the soon to be released 0.99.9


EDIT: maybe this bug is due to an alternate resampler plugin you're using (the SoX resampler?) that would not support x=>x.  If that's the case try disabling it.