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 1646823 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

foo_upnp

Reply #825
@Foo_Borat

What are you using for a controller (uPnP control point) currently?

Darren

foo_upnp

Reply #826
@Foo_Borat

What are you using for a controller (uPnP control point) currently?

Darren



Hello,

I am using foobar with foo_upnp and currently use my Popcorn Hour 110 as media renderer but I am not 100% happy with the performance.

Zappa,

I already tried the DSP latency checker and the clicks and drops seem to come and go. As I said I finally decided to ditch audio playback using a soundcard and searched for other ways. I of course found out about the squeezebox but the server is a pain in the a** and is not so nice as foobar with all it's possibility to customize etc. You cannot control a Squeezebox receiver or touch from another PC. There are some applications like Moose etc. but as I said they are not as nice as Foobar's structure and ease of use.

So this Teac devices will do everything I want? I can control them from the PC using Foobar (foo_upnp)? Do I need the big version or does a smaller Teac suffice? What about WDTV live?

Thanks,
Foo_B

foo_upnp

Reply #827
Hello,

I am using foobar with foo_upnp and currently use my Popcorn Hour 110 as media renderer but I am not 100% happy with the performance.

Zappa,


So do you mean that you use a PC to controll the PH 110?  Is that how you plan to do it in the future? 

Sorry for all of the questions, but I am a computer tech by trade and I like to gather all of the information that I can before answering your question.  I have been using UPnP for a couple of years now and there are many options regarding control, serving and playback (rendering).  I currently use remote devices (Nokia N800, iPod touch, a Windows Mobile phone and an iPhone to control the music.  Which is served on a file server using Foobar2000 to a media PC that is using the new Ayre QB-9 DAC. I also own a WDTV Live and found that it works great.  Also, my previous media PC used an M-Audio 24/96 sending spdif to an external DAC.

Darren

foo_upnp

Reply #828
Hello,

I am using foobar with foo_upnp and currently use my Popcorn Hour 110 as media renderer but I am not 100% happy with the performance.

Zappa,


So do you mean that you use a PC to controll the PH 110?  Is that how you plan to do it in the future? 

Darren



Yup!    So what does work with the WDTV live in this scenario and what not? And are there any alternatives?

Thanks,
FooB

foo_upnp

Reply #829
Hello,

I am using foobar with foo_upnp and currently use my Popcorn Hour 110 as media renderer but I am not 100% happy with the performance.

Zappa,


So do you mean that you use a PC to controll the PH 110?  Is that how you plan to do it in the future? 

Darren



Yup!    So what does work with the WDTV live in this scenario and what not? And are there any alternatives?

Thanks,
FooB


The WDTV is DLNA (UPnP) mine worked fine as a renderer.  Connect it to your favorite dac or receiver and attach to a network.  Then use Foobar2000 UPnP for the server.  All you need is a way to select and control the playback.  I currently use an iPhone on wifi using an app called PlugPlayer for the controller.  There are other ways as well.

The best playback I have found is using a PC.  It's cheap and highly configurable.  Before I got the Ayre QB-9 DAC I was using a standard desktop pc with a m-audio 24/96 using spdif to an external dac.  I am currently using a mini-itx pc i built that has an external power supply like a notebook computer thus keeping noise to a minimum.  There are more options availabel with eh PC to ensure bit perfect playback.  Both running Foobar 2000 UPnP.  First, i was using the plugin that i started writing and then (and now) this one as he had advanced past where i was and I decided to drop my project.  Don't be fooled using a pc like this is a very high, high-end way to playback digital music.

I am not sure why you are getting conflicts with eh 24/96, but those sorts of things can normally be resolved. I am a computer tech, perhaps I could help you with that if you were to supply me more infor about the pc that it is in and the details regarding the errors that you are getting?

Darren

foo_upnp

Reply #830
Can I somehow stream what I'm playing to my friend's winamp? I tried edcast, oddcast but they just don't show up in the DSP list thus I can't activate them. foo_vorbis streamer wouldn't work either. My only hope is this but I think it does more / different.

Also how can I connet my iPhone to this? I tried my ip:56923 with the port forwarded in my router but it says no xml config can be loaded or something like that. (plugplayer)

foo_upnp

Reply #831
Hi,

Many thanks for the great plugin!  I'm using foo_upnp to stream to my Popcorn Hour using the Playback Stream Capture mechanism and it's working very well.  I much prefer the continuous stream approach because of the gapless playback.

The one minor problem that I have is that if I ever let foobar run out of music then the continuous stream stops.  After a short timeout (30 secs?) the PCH disconnects from the stream.  I then have to reconnect the PCH to the stream with PlugPlayer (fiddly) or the PCH remote (very fiddly).

Apologies if this has been discussed before but is there any way to prevent this?

If not, I was wondering whether it might be a useful new feature to have an option to stream silence if there are no songs queued until the user actively clicks stop?

Regards,

Phil

foo_upnp

Reply #832
Hi,

Quick follow up to the above.  I just discovered the second Play button in the UPNP controller window that I can use to immediately tell the PCH to play from the Stream Capture stream.  Nice!  Much less fiddly than my other options!

I'd still be interested to know whether there's any way to prevent the disconnection in the first place though.

Regards,

Phil

foo_upnp

Reply #833
I'd still be interested to know whether there's any way to prevent the disconnection in the first place though.


As you noted, the only way would be for PSC to generate silence when there is nothing to play, to prevent disconnection of the device  when there is no data.
Some other devices (like the PS3) do not disconnect and wait for data forever so they do not need this.
I may add an option to generate silence but no promise.



foo_upnp

Reply #834
Ok, so I can play my library using the "add remote foobar sever" at home with the "allow internet access" over 2 computers but I can not link up at my work. The strange thing is I can link up using J River at work, the same way with a sever/client that is incorporated in that program. I have the router port open and firewall settings are correct. I am just confused because the one program links up fine but the foobar does not and I have used the same port and ip address with both(not at the same time). Any suggestions on how I can use foobar to link my home library to my work?

foo_upnp

Reply #835
small maintenance release (first post to download)

0.99.27

- server: workaround for WDTV Live sending buggy http requests (having the query part of the URL wrongly XML encoded). This was making some stream requests fail (tracks with subsong) or not stream the correct thing.
- server: fix: track playback statistics not submitted when streaming as MP3 transcode
- server: fix: possible crash if closing the app early while the server is still populating the path registry
- browser: fix (regression): crash if closing UPnP Browser while there is a pending search request

foo_upnp

Reply #836
Hi,

I'm using foo_upnp with PlugPlayer on an iPod touch. With this setup i have two problems.

1. in the artist/album folder hierarchy not only the albums of an artist are listed, but also all single titles intermixed with the albums.

2. The search field does appear, but the search never finds anything.

Are there special options to get PlugPlayer to work correctly with foo_upnp concerning these two points? Or are these bugs of PlugPlayer?
(Note that both things work with fuppes)

Thanks very much if anyone can help me,

lurchi

foo_upnp

Reply #837
1. in the artist/album folder hierarchy not only the albums of an artist are listed, but also all single titles intermixed with the albums.


Exact but this is to be expected because the server expose the flat list of all tracks under an artist node. This
is useful when you browse from another foobar2000 client but I can see how it is annoying in the way PlugPlayer lists the album and tracks:
it sorts items alphabetically, mixing single tracks and album names, and mess the server sort order where albums are listed first and then individual tracks after.
I'll ask PlugPlayer's developer if he can add an option in PP not to reorder items. And I may add an option not to list all tracks under an artist node.


2. The search field does appear, but the search never finds anything.

PP only searches for album names containing the specified string in the current container. It will return the list of albums containing that string.
You can only have sucessful results if you trigger search from the top level directory (the one contaning Playlist, Media Library, Playbck Stream Capture), or any container that lists albums (Media Library/albums, Media Library/Genre/<A Genre> etc..)

foo_upnp

Reply #838
Quote
I'll ask PlugPlayer's developer if he can add an option in PP not to reorder items. And I may add an option not to list all tracks under an artist node.

Great, Thanks!

Quote
2. The search field does appear, but the search never finds anything.

PP only searches for album names containing the specified string in the current container. It will return the list of albums containing that string.
You can only have sucessful results if you trigger search from the top level directory (the one contaning Playlist, Media Library, Playbck Stream Capture), or any container that lists albums (Media Library/albums, Media Library/Genre/<A Genre> etc..)


O.K. I always tried to serach for single titles, not albums.

foo_upnp

Reply #839
I'm internet streaming to PlugPlayer on my iPhone 4 (full bars and 3G) and the music is pausing every 20 secs or so for about 2-4 secos and then starts up again. I attributed this initially to having the mp3 stream set to 320k. So, I lowered it to 256. Same result. Lowered again to 192. Same thing. I really don't want to go lower than that (I use either my car stereo or good headphones). what can I do to fix this.

Mind you these are FLAC files being transcoded. Steaming to another pc hard wired to the Internet works fine at 320k.

Thanks

Darren

foo_upnp

Reply #840
Is there a way to create a folder structure (I use folders for my music) that would put my library shares at the top level?

So like:

- Playlists
- My Music
- A Might Wind - The Album

So I don't have to navigate through a bunch of stuff to get there.

Thanks,

Darren

foo_upnp

Reply #841
Hi, my name is Alejandro and this is my first post. I use VisualMR as controller of my Pinnacle Soundbridge, and lately I've been testing the foo_upnp server. I've got 2 questions about it.

The first one was answered by bubbleguuum a week ago:

1. in the artist/album folder hierarchy not only the albums of an artist are listed, but also all single titles intermixed with the albums.


Exact but this is to be expected because the server expose the flat list of all tracks under an artist node. This
is useful when you browse from another foobar2000 client but I can see how it is annoying in the way PlugPlayer lists the album and tracks:
it sorts items alphabetically, mixing single tracks and album names, and mess the server sort order where albums are listed first and then individual tracks after.
I'll ask PlugPlayer's developer if he can add an option in PP not to reorder items. And I may add an option not to list all tracks under an artist node.

It would be great, as using VisualMR and browsing folders it also displays all songs and albums by an artist, making it a bit confusing!!

My second question:
Though on foobar 2000 I can see all the tag info from my flac files (track number, artist, song title, album title, composer, date & comment), all that is displayed in VisualMR is:
Artist
Album Title
Song Title
Track number
Composer

Is there a way to configure foo so as to also send the "date" and "comment" tag info so I could see it in VisualMR?

Thanks a lot,
Alejandro

foo_upnp

Reply #842
I'm internet streaming to PlugPlayer on my iPhone 4 (full bars and 3G) and the music is pausing every 20 secs or so for about 2-4 secos and then starts up again. I attributed this initially to having the mp3 stream set to 320k. So, I lowered it to 256. Same result. Lowered again to 192. Same thing. I really don't want to go lower than that (I use either my car stereo or good headphones). what can I do to fix this.
Mind you these are FLAC files being transcoded. Steaming to another pc hard wired to the Internet works fine at 320k.


Difficult to say what's wrong. I've never tested PP streaming over 3G, only wifi. PP is very sensible to variation in bandwidth. You may want to increase PP "audio buffer seconds" found in the iPhone Settings app. You can do a streaming test from Safari which could give a clue:
- leave your foobar2000 at home playing audio
- in Safari, connect to the Playback Stream Capture URL: http://<login>:<password>@<server ip>:<server port>/content/psc.mp3
If the audio plays fine, then the problem is likely in either PP or the plugin.



Is there a way to create a folder structure (I use folders for my music) that would put my library shares at the top level?
So like:

- Playlists
- My Music
- A Might Wind - The Album

So I don't have to navigate through a bunch of stuff to get there.

Not possible as the first level of the server is not configurable beyond removing unused nodes


It would be great, as using VisualMR and browsing folders it also displays all songs and albums by an artist, making it a bit confusing!!

This will be configurable


Quote
Is there a way to configure foo so as to also send the "date" and "comment" tag info so I could see it in VisualMR?

Yes you can customize the track title string that is sent by the server. Look in Preferences: Server/Content, then set for example "format title tracks using" to
%title% - %date% - %comment%

foo_upnp

Reply #843
Thanks for your kind reply!

Quote
Quote
Is there a way to configure foo so as to also send the "date" and "comment" tag info so I could see it in VisualMR?

Yes you can customize the track title string that is sent by the server. Look in Preferences: Server/Content, then set for example "format title tracks using" to
%title% - %date% - %comment%


To be fair, this is not exactly what I had in mind. I thought perhaps there is a way to send the tag data (is this called "metadata"? I'm not an expert by any chance!!) so as to display it in VisualMR main panel, like title, artist, album and composer are displayed.



If you see VisualMR left panel, you can see that it displays Title (with %date% and %comment% attached, as seen on right panel), Artist, Album and Composer (all tagged by myself), but not Year (that is, %date%) and Comment. They are displayed attached to Title but that's not what I was thinking of. Is there a way to make it?

Once again, thanks a lot for this plugin and for taking your time to reply.

Alejandro

foo_upnp

Reply #844
BTW, I'm using VisualMR 'cos I can't make UpnP Controller work as a remote control.

I've got the SB wired to a Linksys WRT150N router, and my host pc (the one with my music library) wirelessly connected with a Linksys WUSB300N network adapter. I want to use foobar as music server and also as "remote control", so as to control SB playback with my laptop, also wireless connected.

I'm sure I'm doing something wrong, but when I try to "play to" my Pinnacle Soundbridge in my laptop, using the UpnP Controller, I get a "set avt transport uri error (action: 501)".

The SB detects my Foobar music library, and I can browse through it with my laptop, but not "play to". Any help?

foo_upnp

Reply #845
If you see VisualMR left panel, you can see that it displays Title (with %date% and %comment% attached, as seen on right panel), Artist, Album and Composer (all tagged by myself), but not Year (that is, %date%) and Comment. They are displayed attached to Title but that's not what I was thinking of. Is there a way to make it?


I didin't understand fully your initial question, that's why I suggested adding the comment and date to the title.
Now you don't get the comment in the left panel because the server do not send this info (I thought I was). I'll add it.

For the server to set the date in upnp items, %date% on your files (in foobar2000) must be either YYYY, YYYY-MM or YYYY-MM-DD. So first you may want to check that.
Date in upnp items is always sent as  YYYY-MM-DD (it is required by the upnp spec), completing MM and DD eventually if not present.
Maybe VisualMR do not recognize this format.

You may want to ask the VisualMR author about the above, and also which tag in DIDL-Lite he uses for the comment.

Quote
The SB detects my Foobar music library, and I can browse through it with my laptop, but not "play to". Any help?


The Play command fails for some reason. Record a log with INFO level (see end of first post for instruction) and send it to bubbleguuum@free.fr

foo_upnp

Reply #846
If you see VisualMR left panel, you can see that it displays Title (with %date% and %comment% attached, as seen on right panel), Artist, Album and Composer (all tagged by myself), but not Year (that is, %date%) and Comment. They are displayed attached to Title but that's not what I was thinking of. Is there a way to make it?


I didin't understand fully your initial question, that's why I suggested adding the comment and date to the title.
Now you don't get the comment in the left panel because the server do not send this info (I thought I was). I'll add it.

For the server to set the date in upnp items, %date% on your files (in foobar2000) must be either YYYY, YYYY-MM or YYYY-MM-DD. So first you may want to check that.
Date in upnp items is always sent as  YYYY-MM-DD (it is required by the upnp spec), completing MM and DD eventually if not present.
Maybe VisualMR do not recognize this format.

You may want to ask the VisualMR author about the above, and also which tag in DIDL-Lite he uses for the comment.


Thanks once again for your reply.
Date in my files is YYYY, as is only the year that should be shown. Also, I tag my files using TheGodfather, and the Year tag is just 4 digits long.
I'll try to contact the VisualMR developer, though it's a long time since its last release, so I don't know if he is still working on it. Anyway, your first advice concerning song title format worked well, it showed the year and the comment for each song in the title, so I think it should use the same format as you are using (though I know nothing of xml and didl coding, so excuse me if I'm saying nonsense!!).

About my second inquiry (Upnp controller error), today UpnP controller in my laptop couldn't even find Soundbridge, so things are going for the worst. Let me ask you a very foolish and basic question: I'm opening foobar2000 as server on my host pc (where my music library is). Then I'm opening another foobar instance on my laptop, stopping server and renderer. I open UpnP Browser and find my music library. I open UpnP Controller and I can't find the SB. Am I doing it right, or should I be turning on/off some other component?


foo_upnp

Reply #847
bubbleguuum,

BIG EDIT:  I ripped WAV files and can stream them directly to a Denon AVR-4806CI with Windows Media Player.  Using foo_upnp, within the streaming profiles "Decode to PCM" section I have to select Decode: Always for the receiver to play the files.  It doesn't matter whether I select WAV or LPCM, however.

Is your software doing anything to the file when Decode: Always is selected?  Meaning, is it decoding/reencoding my WAV files?  Or is it just streaming them to my receiver?

 

foo_upnp

Reply #848
Hi!

First of all, thanks for making such a great (free!) plugin.

However, I have a problem when trying to use the "Playback Stream Capture" feature, which btw is an awesome feature.
I'm using the "Samsung Galaxy S" with the AllShare app as the media renderer, and it can play my media library just fine, but not the stream capture. After putting the stream in the playlist, I only get the waiting sign, nothing is ever played.

Here are some log lines, maybe they are useful to you:

Code: [Select]
foo_upnp: 50647.974: FbMediaServer::ProcessHttpRequest(285)/6060: INFO: received LAN request: [url=http://192.168.1.170:56923/content/aa26c86f9c5141d513d27c3063ccb33b.wav?profile_id=7&convert=wav&samplerate=44100]http://192.168.1.170:56923/content/aa26c86...amplerate=44100[/url] (User-Agent: Samsung Player User-Agent)
foo_upnp: 50647.975: PLT_HttpHelper::ToLog(409)/6060: INFO:
GET /content/aa26c86f9c5141d513d27c3063ccb33b.wav?profile_id=7&convert=wav&samplerate=44100 HTTP/1.1
Accept: */*
Host: 192.168.1.170:56923
Range: bytes=0-
x-wap-profile:
User-Agent: Samsung Player User-Agent
Connection: Keep-Alive
foo_upnp: 50647.976: upnp_server_conf::get_profile(699)/6060: INFO: using profile 'Samsung Galaxy' (User-Agent:Samsung Player User-Agent)
foo_upnp: opened 'Playback Stream Capture' for streaming, profile: Samsung Galaxy, WAV / 44100 Hz / 16 bits / 2 channels, replaygain: off, DSP chain: off
foo_upnp: 50647.978: FbMediaServer::ProcessHttpRequest(285)/2220: INFO: received LAN request: [url=http://192.168.1.170:56923/content/aa26c86f9c5141d513d27c3063ccb33b.wav?profile_id=7&convert=wav&samplerate=44100]http://192.168.1.170:56923/content/aa26c86...amplerate=44100[/url] (User-Agent: Samsung Player User-Agent)
foo_upnp: 50647.978: PLT_HttpHelper::ToLog(409)/2220: INFO:
GET /content/aa26c86f9c5141d513d27c3063ccb33b.wav?profile_id=7&convert=wav&samplerate=44100 HTTP/1.1
Accept: */*
Host: 192.168.1.170:56923
Range: bytes=0-5
x-wap-profile:
User-Agent: Samsung Player User-Agent
Connection: Keep-Alive
foo_upnp: 50647.979: upnp_server_conf::get_profile(699)/2220: INFO: using profile 'Samsung Galaxy' (User-Agent:Samsung Player User-Agent)
foo_upnp: opened 'Playback Stream Capture' for streaming, profile: Samsung Galaxy, WAV / 44100 Hz / 16 bits / 2 channels, replaygain: off, DSP chain: off
foo_upnp: 50648.008: FbMediaServer::ProcessHttpRequest(285)/5036: INFO: received LAN request: [url=http://192.168.1.170:56923/content/aa26c86f9c5141d513d27c3063ccb33b.wav?profile_id=7&convert=wav&samplerate=44100]http://192.168.1.170:56923/content/aa26c86...amplerate=44100[/url] (User-Agent: Samsung Player User-Agent)
foo_upnp: 50648.008: PLT_HttpHelper::ToLog(409)/5036: INFO:
GET /content/aa26c86f9c5141d513d27c3063ccb33b.wav?profile_id=7&convert=wav&samplerate=44100 HTTP/1.1
Accept: */*
Host: 192.168.1.170:56923
Range: bytes=0-20971519
x-wap-profile:
User-Agent: Samsung Player User-Agent
Connection: Keep-Alive
foo_upnp: 50648.009: upnp_server_conf::get_profile(699)/5036: INFO: using profile 'Samsung Galaxy' (User-Agent:Samsung Player User-Agent)
foo_upnp: opened 'Playback Stream Capture' for streaming, profile: Samsung Galaxy, WAV / 44100 Hz / 16 bits / 2 channels, replaygain: off, DSP chain: off
foo_upnp: 50648.012: FbMediaServer::ProcessHttpRequest(285)/5012: INFO: received LAN request: [url=http://192.168.1.170:56923/content/aa26c86f9c5141d513d27c3063ccb33b.wav?profile_id=7&convert=wav&samplerate=44100]http://192.168.1.170:56923/content/aa26c86...amplerate=44100[/url] (User-Agent: Samsung Player User-Agent)
foo_upnp: 50648.012: PLT_HttpHelper::ToLog(409)/5012: INFO:
GET /content/aa26c86f9c5141d513d27c3063ccb33b.wav?profile_id=7&convert=wav&samplerate=44100 HTTP/1.1
Accept: */*
Host: 192.168.1.170:56923
Range: bytes=0-262143
x-wap-profile:
User-Agent: Samsung Player User-Agent
Connection: Keep-Alive
foo_upnp: 50648.013: upnp_server_conf::get_profile(699)/5012: INFO: using profile 'Samsung Galaxy' (User-Agent:Samsung Player User-Agent)
foo_upnp: opened 'Playback Stream Capture' for streaming, profile: Samsung Galaxy, WAV / 44100 Hz / 16 bits / 2 channels, replaygain: off, DSP chain: off
foo_upnp: 50648.224: FbMediaServer::ProcessHttpRequest(285)/5412: INFO: received LAN request: [url=http://192.168.1.170:56923/content/aa26c86f9c5141d513d27c3063ccb33b.wav?profile_id=7&convert=wav&samplerate=44100]http://192.168.1.170:56923/content/aa26c86...amplerate=44100[/url] (User-Agent: Samsung Player User-Agent)
foo_upnp: 50648.224: PLT_HttpHelper::ToLog(409)/5412: INFO:
GET /content/aa26c86f9c5141d513d27c3063ccb33b.wav?profile_id=7&convert=wav&samplerate=44100 HTTP/1.1
Accept: */*
Host: 192.168.1.170:56923
Range: bytes=0-262143
x-wap-profile:
User-Agent: Samsung Player User-Agent
Connection: Keep-Alive
foo_upnp: 50648.225: upnp_server_conf::get_profile(699)/5412: INFO: using profile 'Samsung Galaxy' (User-Agent:Samsung Player User-Agent)
foo_upnp: opened 'Playback Stream Capture' for streaming, profile: Samsung Galaxy, WAV / 44100 Hz / 16 bits / 2 channels, replaygain: off, DSP chain: off
foo_upnp: 50648.439: FbMediaServer::ProcessHttpRequest(285)/5476: INFO: received LAN request: [url=http://192.168.1.170:56923/content/aa26c86f9c5141d513d27c3063ccb33b.wav?profile_id=7&convert=wav&samplerate=44100]http://192.168.1.170:56923/content/aa26c86...amplerate=44100[/url] (User-Agent: Samsung Player User-Agent)
foo_upnp: 50648.439: PLT_HttpHelper::ToLog(409)/5476: INFO:
GET /content/aa26c86f9c5141d513d27c3063ccb33b.wav?profile_id=7&convert=wav&samplerate=44100 HTTP/1.1
Accept: */*
Host: 192.168.1.170:56923
Range: bytes=0-262143
x-wap-profile:
User-Agent: Samsung Player User-Agent
Connection: Keep-Alive
foo_upnp: 50648.440: upnp_server_conf::get_profile(699)/5476: INFO: using profile 'Samsung Galaxy' (User-Agent:Samsung Player User-Agent)
foo_upnp: opened 'Playback Stream Capture' for streaming, profile: Samsung Galaxy, WAV / 44100 Hz / 16 bits / 2 channels, replaygain: off, DSP chain: off
foo_upnp: 50648.691: FbMediaServer::ProcessHttpRequest(285)/5820: INFO: received LAN request: [url=http://192.168.1.170:56923/content/aa26c86f9c5141d513d27c3063ccb33b.wav?profile_id=7&convert=wav&samplerate=44100]http://192.168.1.170:56923/content/aa26c86...amplerate=44100[/url] (User-Agent: Samsung Player User-Agent)
foo_upnp: 50648.691: PLT_HttpHelper::ToLog(409)/5820: INFO:
GET /content/aa26c86f9c5141d513d27c3063ccb33b.wav?profile_id=7&convert=wav&samplerate=44100 HTTP/1.1
Accept: */*
Host: 192.168.1.170:56923
Range: bytes=0-262143
x-wap-profile:
User-Agent: Samsung Player User-Agent
Connection: Keep-Alive
foo_upnp: 50648.692: upnp_server_conf::get_profile(699)/5820: INFO: using profile 'Samsung Galaxy' (User-Agent:Samsung Player User-Agent)
foo_upnp: opened 'Playback Stream Capture' for streaming, profile: Samsung Galaxy, WAV / 44100 Hz / 16 bits / 2 channels, replaygain: off, DSP chain: off
foo_upnp: 50648.949: PLT_HttpServerSocketTask::Write(331)/6060: WARNING: NPT_CHECK failed, result=-20401 (NPT_ERROR_CONNECTION_ABORTED) [(NPT_StreamToStreamCopy( *body_stream.AsPointer(), *output_stream.AsPointer(), 0, entity->GetContentLength(), 0, abort))]
foo_upnp: 50648.950: PLT_HttpServerSocketTask::Write(331)/5012: WARNING: NPT_CHECK failed, result=-20401 (NPT_ERROR_CONNECTION_ABORTED) [(NPT_StreamToStreamCopy( *body_stream.AsPointer(), *output_stream.AsPointer(), 0, entity->GetContentLength(), 0, abort))]
foo_upnp: 50649.170: PLT_HttpServerSocketTask::Write(331)/5412: WARNING: NPT_CHECK failed, result=-20401 (NPT_ERROR_CONNECTION_ABORTED) [(NPT_StreamToStreamCopy( *body_stream.AsPointer(), *output_stream.AsPointer(), 0, entity->GetContentLength(), 0, abort))]
foo_upnp: 50649.390: PLT_HttpServerSocketTask::Write(331)/5476: WARNING: NPT_CHECK failed, result=-20401 (NPT_ERROR_CONNECTION_ABORTED) [(NPT_StreamToStreamCopy( *body_stream.AsPointer(), *output_stream.AsPointer(), 0, entity->GetContentLength(), 0, abort))]
foo_upnp: 50649.932: PLT_HttpServerSocketTask::Write(331)/5820: WARNING: NPT_CHECK failed, result=-20400 (NPT_ERROR_CONNECTION_RESET) [(NPT_StreamToStreamCopy( *body_stream.AsPointer(), *output_stream.AsPointer(), 0, entity->GetContentLength(), 0, abort))]
foo_upnp: 50650.161: PLT_HttpServerSocketTask::Write(331)/5036: WARNING: NPT_CHECK failed, result=-20401 (NPT_ERROR_CONNECTION_ABORTED) [(NPT_StreamToStreamCopy( *body_stream.AsPointer(), *output_stream.AsPointer(), 0, entity->GetContentLength(), 0, abort))]


Regards,
Michael

foo_upnp

Reply #849
bubbleguuum,

BIG EDIT:  I ripped WAV files and can stream them directly to a Denon AVR-4806CI with Windows Media Player.  Using foo_upnp, within the streaming profiles "Decode to PCM" section I have to select Decode: Always for the receiver to play the files.  It doesn't matter whether I select WAV or LPCM, however.

Is your software doing anything to the file when Decode: Always is selected?  Meaning, is it decoding/reencoding my WAV files?  Or is it just streaming them to my receiver?


It is decoding the files (whatever their format is) to PCM (WAV or LPCM) for streaming, just like foobar2000 would do to send data to your audio card. So there's no loss of quality. So if it works you can stick with that.



However, I have a problem when trying to use the "Playback Stream Capture" feature, which btw is an awesome feature.
I'm using the "Samsung Galaxy S" with the AllShare app as the media renderer, and it can play my media library just fine, but not the stream capture. After putting the stream in the playlist, I only get the waiting sign, nothing is ever played.


You may want to try to play PBS again from your phone (or from the UPnP Controller) but when foobar2000 is actually playing something. The PBS functionality do not stream silence when foobar2000 do not play anything, and the phone might not like it thinking there is nothing to play and aborting connection.
If that does not work, configure PBS in the profile to stream LPCM instead of WAV. Since your phone is a DLNA device it should support it, and LPCM is more suited to PBS (as it allows a true infinite stream).