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

foo_upnp

Reply #2000
While I really like this plugin when it works, it seems to freeze up quite a bit and the only recourse I have found is a system reboot which is time consuming and requires me to shut down the many windows and applications I am running. 

Has anyone found another way to somehow "reset" Foobar or the UPnP controller without rebooting their computer? There must be a way!  I am asking for this advice as it looks like the original developer is not maintaining the plugin and I doubt a real code fix will ever be implemented. 

I am running Win 7 Pro on a Intel Core 2  Duo processor and Nvidia Geoforce GT 240 graphics card streaming to a Sony SMP-N200 streaming player if that helps determining a solution.

foo_upnp

Reply #2001
I've asked but am not getting a reply, so I thought since it is mostly related to this component that I might get a reply here.

Trying to get Foobar2000 to load up and run at start using Task Scheduler in WHS 2011 so it can be an always on DNLA server without having to be logged in.

Following the Task Scheduler steps similar to the following links, but using Foobar2000 .exe instead. I followed steps similar to this thread: http://www.wegotserved.com/2011/11/01/auto...ver-2011-boots/ , or with all pics at WaybackMachine: <a href="http://web.archive.org/web/20130718172744/http://forum.wegotserved.com/index.php/tutorials/article/55-how-to-automatically-start-program-when-server-boots/" target="_blank">http://web.archive.org/web/20130718172744/...n-server-boots/</a> 

However, it does not work at all, and in fact make it unable to even start foobar2000 when logged in as Admin. I get the message: "Internal error - cannot access configuration folder."

What I want mainly is for Foobar2000 to be available in the DNLA list on my Onkyo Receiver.  It works when I did not schedule it as a task to run at boot.  As WHS2011 only allows natively the Administrator account, I installed Foobar2000 in the Admin account.  And before trying to schedule Foobar2000 as a task to start at boot, when logged on as Administrator Foobar worked fine with this component and was available as one of the DNLA servers available on my Onkyo receiver.  But again after trying to get Foobar to run as at startup it is no longer available on my receiver, and my receiver says; No Servers.  So scheduling Foobar as a task kills both DNLA options that were available before scheduling Foobar to run at start:  WHS Shared Folders DNLA and Foobar2000 DNLA.  I should probably mention that before I installed Foobar2000 the only DNLA available on my Onkyo receiver was the WHS2011 Shared folders, as long as I was logged in.

I might mention that in the past I ran Foobar2000 as a DNLA server from a client computer and still can if I want(currently have it stopped), but I'd rather have a Foobar2000 DNLA be available all the time on my server.

Could the issue be related to this component?

foo_upnp

Reply #2002
I have only one request: I see that the plugin provides MP3 transcoding for playback stream capture. I have, however, a lot of lossy music and don't like the idea of lossy transcoding. I would really love to see an option for FLAC transcoding (as there are now many devices supporting FLAC).


I thought that this component did transcode FLAC to WAV for DNLA.

foo_upnp

Reply #2003
Still not sure I understand how to use the foo_upnp plugin for what I want.  Is it possible to stream individual tracks over the internet through, say, Firefox or Chrome?  For example, could I put a link in my blog to a track on my hard drive so that anyone who clicked on it could play that track?  And if so, where can I find instructions for setting it up that way?  I'm a little lost after having read all the forum posts.  Thanks.

foo_upnp

Reply #2004
Still not sure I understand how to use the foo_upnp plugin for what I want.  Is it possible to stream individual tracks over the internet through, say, Firefox or Chrome?  For example, could I put a link in my blog to a track on my hard drive so that anyone who clicked on it could play that track?  And if so, where can I find instructions for setting it up that way?  I'm a little lost after having read all the forum posts.  Thanks.

Not possible with this plugin (or any other fb2k plugin that I know of), this is for streaming to upnp/dlna compatible devices on a local network only.

foo_upnp

Reply #2005
Is there any way to get a more in-depth documentation of this plugin?
I'm fighting this thing tooth and nail to do what I want, but keep failing.
We have a Sonos system that usually grabs its files from a media server we setup - it has a path, scans the files for its own library and uses these.
But I like to use foobar to control the playback - I'm quicker when designing playlists for example. Also, I don't want to put all my music on my family's network storage - my parents use Sonos far more than me and adding my music would only make it harder for them to find theirs.
The problem: Whenever I stream from my laptop to the Sonos system it stops after 30s-1m. And I don't know why. No matter whether I grab the stream itself or crawl through the media library. I crawl through the library:
Code: [Select]
foo_upnp: 2997.2997040: FbMediaServer::OnAction(295)/6684: INFO: received action 'Browse', args = { ObjectID=0/0/1/4/3/3I, BrowseFlag=BrowseMetadata, Filter=dc:title,upnp:artist,upnp:album,res@duration,res, StartingIndex=0, RequestedCount=1, SortCriteria= }
foo_upnp: 2997.2997040: upnp_server_conf::get_profile(943)/6684: INFO: using default profile (User-Agent:Linux UPnP/1.0 Sonos/28.1-86173 (ZPS1))
foo_upnp: 2997.2997040: FbMediaServer::OnAction(323)/6684: INFO: action 'Browse' response: args = { ObjectID=0/0/1/4/3/3I, BrowseFlag=BrowseMetadata, Filter=dc:title,upnp:artist,upnp:album,res@duration,res, StartingIndex=0, RequestedCount=1, SortCriteria=, NumberReturned=1, TotalMatches=1, UpdateID=0 }
Then I choose a track:
Code: [Select]
foo_upnp: 3026.3026722: FbMediaServer::CheckAuthentication(401)/6088: INFO: received LAN request: http://<LAPTOP-IP>:56923/content/e81427793a98bfb10d2d0ee3465de2a1.wav?profile_id=0&convert=wav (User-Agent: Sonos)
foo_upnp: 3026.3026722: PLT_HttpHelper::ToLog(432)/6088: INFO: FbMediaServer::ProcessFileRequest
GET /content/e81427793a98bfb10d2d0ee3465de2a1.wav?profile_id=0&convert=wav HTTP/1.1
CONNECTION: close
ACCEPT: */*
Host: <LAPTOP-IP>:56923
USER-AGENT: Sonos
foo_upnp: opened 'file://<FILENAME>' for streaming, profile: Default, WAV / 44100 Hz / 16 bits / 2 channels, replaygain: on, DSP chain: off
And then it stops, waits for a short while and changes to the next track. Shortly thereafter this shows up in the console:
Code: [Select]
foo_upnp: 3066.3066766: FbMediaServer::CheckAuthentication(401)/3328: INFO: received LAN request: http://<LAPTOP-IP>:56923/DeviceDescription.xml (User-Agent: FDSSDP)
foo_upnp: 3071.3071140: PLT_HttpServerSocketTask::Write(465)/6088: WARNING: NPT_CHECK failed, result=-20400 (NPT_ERROR_CONNECTION_RESET) [(SendResponseBody(response, *output_stream, abort))]
I think that's Sonos way of saying "You know what - nevermind, close this", but I'm not sure because I can't figure out what NPT or PLT stand for.
All other devices in our home have no problem accessing the stream and playing the music - no pause, no dying, no nothing, so I suppose it's a Sonos problem. Did anyone of you got this problem (and found a solution)?

foo_upnp

Reply #2006
I'm using Foobar2000 as a music server for my Pioneer Networkplayer.
When I choose the Foobar Music Server from my Pioneer and then go to Music Library I get this sub options in order to looking for music:

Albums
Artists
Album Artists
Genres
Years
Compilations
Codecs
Folders

Is it possible to add my own sub options here e.g. Lable with Foobar or the foo_upnp Plug In? Or has this options something to do with the Pioneer?

foo_upnp

Reply #2007
I'm using many accented characters both in file names and file tags. Some hardware DLNA players don't support such characters. Is there a way to process text strings by transcoding them the way target device can display them properly? I couldn't find related options in Profile settings.

foo_upnp

Reply #2008
Hello, thanks for this plugin but I have a problem and I couldn't solve it, I tried many things.

* I disabled my router firewall completely
* I disabled Windows 7's firewall completely (public profile, private profile, domain profile is all disabled)
* I enabled UPnP in my router
* I enabled UPnP Device Host service in Windows
* I forwarded ports 2012, 15156 (my Media Server port) in my router

Yet I still get this error: "FbMediaServer::CheckAuthentication(404)/5940: INFO: WAN requests not allowed" in Console logs.

I use MediaHouse for Android, this is what I get: http://cl.ly/image/3t3e2P2q211v

This is my Server options: http://cl.ly/image/1b0C3o131J0z

Here's my console log:

Code: [Select]
foo_upnp: 9214.9214099: NPT_BsdUdpSocket::Connect(1488)/6076: FINER: connecting to 192.168.1.55, port 60786
foo_upnp: 9214.9214099: NPT_BsdUdpSocket::Send(1557)/4876: FINEST: send/sendto returned 331
foo_upnp: 9214.9214099: NPT_BsdUdpSocket::Connect(1488)/6076: FINER: connecting to 192.168.1.55, port 60786
foo_upnp: 9214.9214099: PLT_TaskManager::RemoveTask(220)/6076: FINER: [TaskManager 0x03c4f310] 1/0 running tasks
foo_upnp: 9214.9214099: NPT_BsdUdpSocket::Connect(1488)/4876: FINER: connecting to 192.168.1.55, port 60786
foo_upnp: 9214.9214099: NPT_BsdUdpSocket::Connect(1488)/4876: FINER: connecting to 192.168.1.55, port 60786
foo_upnp: 9214.9214099: PLT_TaskManager::RemoveTask(220)/4876: FINER: [TaskManager 0x18031350] 1/0 running tasks
foo_upnp: 9214.9214124: NPT_BsdSocketFd::WaitForCondition(790)/5940: FINER: select returned 1
foo_upnp: 9214.9214124: NPT_BsdSocketInputStream::Read(921)/5940: FINEST: reading 4096 from socket
foo_upnp: 9214.9214124: NPT_BsdSocketInputStream::Read(925)/5940: FINEST: recv returned 143
foo_upnp: 9214.9214124: NPT_HttpRequest::Parse(774)/5940: FINEST: http request: GET /DeviceDescription.xml HTTP/1.1
foo_upnp: 9214.9214124: NPT_HttpHeaders::Parse(194)/5940: FINEST: header - Host: 192.168.2.100:15156
foo_upnp: 9214.9214124: NPT_HttpHeaders::Parse(194)/5940: FINEST: header - Connection: Keep-Alive
foo_upnp: 9214.9214124: NPT_HttpHeaders::Parse(223)/5940: FINEST: header User-Agent: Android/4.4.2 UPnP/1.0 MediaHouse/1.2.1
foo_upnp: 9214.9214124: PLT_HttpHelper::ToLog(432)/5940: FINE: PLT_HttpServer::SetupResponse GET request from 192.168.1.55:48719 for "http://192.168.2.100:15156/DeviceDescription.xml"
GET /DeviceDescription.xml HTTP/1.1
Host: 192.168.2.100:15156
Connection: Keep-Alive
User-Agent: Android/4.4.2 UPnP/1.0 MediaHouse/1.2.1
foo_upnp: 9214.9214124: PLT_HttpHelper::ToLog(432)/5940: FINER: PLT_DeviceHost::SetupResponse:
GET /DeviceDescription.xml HTTP/1.1
Host: 192.168.2.100:15156
Connection: Keep-Alive
User-Agent: Android/4.4.2 UPnP/1.0 MediaHouse/1.2.1
foo_upnp: 9214.9214124: FbMediaServer::CheckAuthentication(401)/5940: INFO: received WAN request: [url=http://192.168.2.100:15156/DeviceDescription.xml]http://192.168.2.100:15156/DeviceDescription.xml[/url] (User-Agent: Android/4.4.2 UPnP/1.0 MediaHouse/1.2.1)
foo_upnp: 9214.9214124: FbMediaServer::CheckAuthentication(404)/5940: INFO: WAN requests not allowed
foo_upnp: 9214.9214124: PLT_HttpHelper::ToLog(530)/5940: FINE: PLT_HttpServerSocketTask::Write
HTTP/1.1 401 Unauthorized
Date: Sun, 21 Jun 2015 18:40:39 GMT
Content-Length: 0
Server: UPnP/1.0 DLNADOC/1.50 Platinum/1.0.4.2-bb
foo_upnp: 9214.9214124: NPT_HttpHeader::Emit(127)/5940: FINEST: header Date: Sun, 21 Jun 2015 18:40:39 GMT
foo_upnp: 9214.9214124: NPT_HttpHeader::Emit(127)/5940: FINEST: header Content-Length: 0
foo_upnp: 9214.9214124: NPT_HttpHeader::Emit(127)/5940: FINEST: header Server: UPnP/1.0 DLNADOC/1.50 Platinum/1.0.4.2-bb
foo_upnp: 9214.9214124: NPT_BsdSocketFd::WaitForCondition(785)/5940: FINER: waiting for condition ( write)
foo_upnp: 9214.9214124: NPT_BsdSocketFd::WaitForCondition(790)/5940: FINER: select returned 1
foo_upnp: 9214.9214124: NPT_BsdSocketOutputStream::Write(1040)/5940: FINEST: writing 136 to socket
foo_upnp: 9214.9214124: NPT_BsdSocketOutputStream::Write(1044)/5940: FINEST: send returned 136
foo_upnp: 9214.9214124: NPT_BsdSocketOutputStream::Flush(1075)/5940: FINEST: flushing socket
foo_upnp: 9214.9214124: NPT_BsdSocketFd::WaitForCondition(785)/5940: FINER: waiting for condition (read )
foo_upnp: 9214.9214148: NPT_BsdSocketFd::WaitForCondition(790)/5940: FINER: select returned 1
foo_upnp: 9214.9214148: NPT_BsdSocketInputStream::Read(921)/5940: FINEST: reading 4096 from socket
foo_upnp: 9214.9214148: NPT_BsdSocketInputStream::Read(925)/5940: FINEST: recv returned 143
foo_upnp: 9214.9214148: NPT_HttpRequest::Parse(774)/5940: FINEST: http request: GET /DeviceDescription.xml HTTP/1.1
foo_upnp: 9214.9214148: NPT_HttpHeaders::Parse(194)/5940: FINEST: header - Host: 192.168.2.100:15156
foo_upnp: 9214.9214148: NPT_HttpHeaders::Parse(194)/5940: FINEST: header - Connection: Keep-Alive
foo_upnp: 9214.9214148: NPT_HttpHeaders::Parse(223)/5940: FINEST: header User-Agent: Android/4.4.2 UPnP/1.0 MediaHouse/1.2.1
foo_upnp: 9214.9214148: PLT_HttpHelper::ToLog(432)/5940: FINE: PLT_HttpServer::SetupResponse GET request from 192.168.1.55:48719 for "http://192.168.2.100:15156/DeviceDescription.xml"
GET /DeviceDescription.xml HTTP/1.1
Host: 192.168.2.100:15156
Connection: Keep-Alive
User-Agent: Android/4.4.2 UPnP/1.0 MediaHouse/1.2.1
foo_upnp: 9214.9214148: PLT_HttpHelper::ToLog(432)/5940: FINER: PLT_DeviceHost::SetupResponse:
GET /DeviceDescription.xml HTTP/1.1
Host: 192.168.2.100:15156
Connection: Keep-Alive
User-Agent: Android/4.4.2 UPnP/1.0 MediaHouse/1.2.1
foo_upnp: 9214.9214148: FbMediaServer::CheckAuthentication(401)/5940: INFO: received WAN request: [url=http://192.168.2.100:15156/DeviceDescription.xml]http://192.168.2.100:15156/DeviceDescription.xml[/url] (User-Agent: Android/4.4.2 UPnP/1.0 MediaHouse/1.2.1)
foo_upnp: 9214.9214148: FbMediaServer::CheckAuthentication(404)/5940: INFO: WAN requests not allowed
foo_upnp: 9214.9214148: PLT_HttpHelper::ToLog(530)/5940: FINE: PLT_HttpServerSocketTask::Write
HTTP/1.1 401 Unauthorized
Date: Sun, 21 Jun 2015 18:40:39 GMT
Content-Length: 0
Server: UPnP/1.0 DLNADOC/1.50 Platinum/1.0.4.2-bb
foo_upnp: 9214.9214148: NPT_HttpHeader::Emit(127)/5940: FINEST: header Date: Sun, 21 Jun 2015 18:40:39 GMT
foo_upnp: 9214.9214148: NPT_HttpHeader::Emit(127)/5940: FINEST: header Content-Length: 0
foo_upnp: 9214.9214148: NPT_HttpHeader::Emit(127)/5940: FINEST: header Server: UPnP/1.0 DLNADOC/1.50 Platinum/1.0.4.2-bb
foo_upnp: 9214.9214148: NPT_BsdSocketFd::WaitForCondition(785)/5940: FINER: waiting for condition ( write)
foo_upnp: 9214.9214148: NPT_BsdSocketFd::WaitForCondition(790)/5940: FINER: select returned 1
foo_upnp: 9214.9214148: NPT_BsdSocketOutputStream::Write(1040)/5940: FINEST: writing 136 to socket
foo_upnp: 9214.9214148: NPT_BsdSocketOutputStream::Write(1044)/5940: FINEST: send returned 136
foo_upnp: 9214.9214149: NPT_BsdSocketOutputStream::Flush(1075)/5940: FINEST: flushing socket
foo_upnp: 9214.9214149: NPT_BsdSocketFd::WaitForCondition(785)/5940: FINER: waiting for condition (read )
foo_upnp: 9214.9214219: NPT_BsdSocketFd::WaitForCondition(790)/5940: FINER: select returned 1
foo_upnp: 9214.9214219: NPT_BsdSocketInputStream::Read(921)/5940: FINEST: reading 4096 from socket
foo_upnp: 9214.9214219: NPT_BsdSocketInputStream::Read(925)/5940: FINEST: recv returned 143
foo_upnp: 9214.9214219: NPT_HttpRequest::Parse(774)/5940: FINEST: http request: GET /DeviceDescription.xml HTTP/1.1
foo_upnp: 9214.9214219: NPT_HttpHeaders::Parse(194)/5940: FINEST: header - Host: 192.168.2.100:15156
foo_upnp: 9214.9214219: NPT_HttpHeaders::Parse(194)/5940: FINEST: header - Connection: Keep-Alive
foo_upnp: 9214.9214219: NPT_HttpHeaders::Parse(223)/5940: FINEST: header User-Agent: Android/4.4.2 UPnP/1.0 MediaHouse/1.2.1
foo_upnp: 9214.9214219: PLT_HttpHelper::ToLog(432)/5940: FINE: PLT_HttpServer::SetupResponse GET request from 192.168.1.55:48719 for "http://192.168.2.100:15156/DeviceDescription.xml"
GET /DeviceDescription.xml HTTP/1.1
Host: 192.168.2.100:15156
Connection: Keep-Alive
User-Agent: Android/4.4.2 UPnP/1.0 MediaHouse/1.2.1
foo_upnp: 9214.9214219: PLT_HttpHelper::ToLog(432)/5940: FINER: PLT_DeviceHost::SetupResponse:
GET /DeviceDescription.xml HTTP/1.1
Host: 192.168.2.100:15156
Connection: Keep-Alive
User-Agent: Android/4.4.2 UPnP/1.0 MediaHouse/1.2.1
foo_upnp: 9214.9214219: FbMediaServer::CheckAuthentication(401)/5940: INFO: received WAN request: [url=http://192.168.2.100:15156/DeviceDescription.xml]http://192.168.2.100:15156/DeviceDescription.xml[/url] (User-Agent: Android/4.4.2 UPnP/1.0 MediaHouse/1.2.1)
foo_upnp: 9214.9214219: FbMediaServer::CheckAuthentication(404)/5940: INFO: WAN requests not allowed
foo_upnp: 9214.9214219: PLT_HttpHelper::ToLog(530)/5940: FINE: PLT_HttpServerSocketTask::Write
HTTP/1.1 401 Unauthorized
Date: Sun, 21 Jun 2015 18:40:39 GMT
Content-Length: 0
Server: UPnP/1.0 DLNADOC/1.50 Platinum/1.0.4.2-bb
foo_upnp: 9214.9214219: NPT_HttpHeader::Emit(127)/5940: FINEST: header Date: Sun, 21 Jun 2015 18:40:39 GMT
foo_upnp: 9214.9214219: NPT_HttpHeader::Emit(127)/5940: FINEST: header Content-Length: 0
foo_upnp: 9214.9214219: NPT_HttpHeader::Emit(127)/5940: FINEST: header Server: UPnP/1.0 DLNADOC/1.50 Platinum/1.0.4.2-bb
foo_upnp: 9214.9214219: NPT_BsdSocketFd::WaitForCondition(785)/5940: FINER: waiting for condition ( write)
foo_upnp: 9214.9214219: NPT_BsdSocketFd::WaitForCondition(790)/5940: FINER: select returned 1
foo_upnp: 9214.9214219: NPT_BsdSocketOutputStream::Write(1040)/5940: FINEST: writing 136 to socket
foo_upnp: 9214.9214219: NPT_BsdSocketOutputStream::Write(1044)/5940: FINEST: send returned 136
foo_upnp: 9214.9214219: NPT_BsdSocketOutputStream::Flush(1075)/5940: FINEST: flushing socket
foo_upnp: 9214.9214219: NPT_BsdSocketFd::WaitForCondition(785)/5940: FINER: waiting for condition (read )
foo_upnp: 9214.9214227: NPT_BsdSocketFd::WaitForCondition(790)/5940: FINER: select returned 1
foo_upnp: 9214.9214227: NPT_BsdSocketInputStream::Read(921)/5940: FINEST: reading 4096 from socket
foo_upnp: 9214.9214227: NPT_BsdSocketInputStream::Read(925)/5940: FINEST: recv returned 143
foo_upnp: 9214.9214227: NPT_HttpRequest::Parse(774)/5940: FINEST: http request: GET /DeviceDescription.xml HTTP/1.1
foo_upnp: 9214.9214227: NPT_HttpHeaders::Parse(194)/5940: FINEST: header - Host: 192.168.2.100:15156
foo_upnp: 9214.9214227: NPT_HttpHeaders::Parse(194)/5940: FINEST: header - Connection: Keep-Alive
foo_upnp: 9214.9214227: NPT_HttpHeaders::Parse(223)/5940: FINEST: header User-Agent: Android/4.4.2 UPnP/1.0 MediaHouse/1.2.1
foo_upnp: 9214.9214227: PLT_HttpHelper::ToLog(432)/5940: FINE: PLT_HttpServer::SetupResponse GET request from 192.168.1.55:48719 for "http://192.168.2.100:15156/DeviceDescription.xml"
GET /DeviceDescription.xml HTTP/1.1
Host: 192.168.2.100:15156
Connection: Keep-Alive
User-Agent: Android/4.4.2 UPnP/1.0 MediaHouse/1.2.1
foo_upnp: 9214.9214227: PLT_HttpHelper::ToLog(432)/5940: FINER: PLT_DeviceHost::SetupResponse:
GET /DeviceDescription.xml HTTP/1.1
Host: 192.168.2.100:15156
Connection: Keep-Alive
User-Agent: Android/4.4.2 UPnP/1.0 MediaHouse/1.2.1
foo_upnp: 9214.9214228: FbMediaServer::CheckAuthentication(401)/5940: INFO: received WAN request: [url=http://192.168.2.100:15156/DeviceDescription.xml]http://192.168.2.100:15156/DeviceDescription.xml[/url] (User-Agent: Android/4.4.2 UPnP/1.0 MediaHouse/1.2.1)
foo_upnp: 9214.9214228: FbMediaServer::CheckAuthentication(404)/5940: INFO: WAN requests not allowed
foo_upnp: 9214.9214228: PLT_HttpHelper::ToLog(530)/5940: FINE: PLT_HttpServerSocketTask::Write
HTTP/1.1 401 Unauthorized
Date: Sun, 21 Jun 2015 18:40:39 GMT
Content-Length: 0
Server: UPnP/1.0 DLNADOC/1.50 Platinum/1.0.4.2-bb
foo_upnp: 9214.9214228: NPT_HttpHeader::Emit(127)/5940: FINEST: header Date: Sun, 21 Jun 2015 18:40:39 GMT
foo_upnp: 9214.9214228: NPT_HttpHeader::Emit(127)/5940: FINEST: header Content-Length: 0
foo_upnp: 9214.9214228: NPT_HttpHeader::Emit(127)/5940: FINEST: header Server: UPnP/1.0 DLNADOC/1.50 Platinum/1.0.4.2-bb
foo_upnp: 9214.9214228: NPT_BsdSocketFd::WaitForCondition(785)/5940: FINER: waiting for condition ( write)
foo_upnp: 9214.9214228: NPT_BsdSocketFd::WaitForCondition(790)/5940: FINER: select returned 1
foo_upnp: 9214.9214228: NPT_BsdSocketOutputStream::Write(1040)/5940: FINEST: writing 136 to socket
foo_upnp: 9214.9214228: NPT_BsdSocketOutputStream::Write(1044)/5940: FINEST: send returned 136
foo_upnp: 9214.9214228: NPT_BsdSocketOutputStream::Flush(1075)/5940: FINEST: flushing socket
foo_upnp: 9214.9214228: NPT_BsdSocketFd::WaitForCondition(785)/5940: FINER: waiting for condition (read )
foo_upnp: 9214.9214589: NPT_BsdUdpSocket::Connect(1488)/5692: FINER: connecting to 192.168.1.55, port 60786
foo_upnp: 9214.9214589: PLT_DeviceHost::SendSsdpSearchResponse(781)/5692: FINE: Responding to a M-SEARCH request for upnp:rootdevice
foo_upnp: 9214.9214589: PLT_HttpHelper::ToLog(530)/5692: FINER: Sending SSDP Response:
HTTP/1.1 200 OK
Location: [url=http://192.168.2.100:2012/]http://192.168.2.100:2012/[/url]
Cache-Control: max-age=1800
Server: UPnP/1.0 DLNADOC/1.50 Platinum/1.0.4.2-bb
EXT:
USN: uuid:34396a38-faee-b538-b7b2-3281e1d49c73::upnp:rootdevice
ST: upnp:rootdevice
Date: Sun, 21 Jun 2015 18:40:39 GMT
foo_upnp: 9214.9214589: NPT_HttpHeader::Emit(127)/5692: FINEST: header Location: [url=http://192.168.2.100:2012/]http://192.168.2.100:2012/[/url]
foo_upnp: 9214.9214589: NPT_HttpHeader::Emit(127)/5692: FINEST: header Cache-Control: max-age=1800
foo_upnp: 9214.9214589: NPT_HttpHeader::Emit(127)/5692: FINEST: header Server: UPnP/1.0 DLNADOC/1.50 Platinum/1.0.4.2-bb
foo_upnp: 9214.9214589: NPT_HttpHeader::Emit(127)/5692: FINEST: header EXT:
foo_upnp: 9214.9214589: NPT_HttpHeader::Emit(127)/5692: FINEST: header USN: uuid:34396a38-faee-b538-b7b2-3281e1d49c73::upnp:rootdevice
foo_upnp: 9214.9214589: NPT_HttpHeader::Emit(127)/5692: FINEST: header ST: upnp:rootdevice
foo_upnp: 9214.9214589: NPT_HttpHeader::Emit(127)/5692: FINEST: header Date: Sun, 21 Jun 2015 18:40:39 GMT
foo_upnp: 9214.9214589: NPT_BsdSocketFd::WaitForCondition(785)/5692: FINER: waiting for condition ( write)
foo_upnp: 9214.9214589: NPT_BsdSocketFd::WaitForCondition(790)/5692: FINER: select returned 1
foo_upnp: 9214.9214589: NPT_BsdUdpSocket::Send(1549)/5692: FINEST: sending datagram
foo_upnp: 9214.9214589: NPT_BsdUdpSocket::Send(1557)/5692: FINEST: send/sendto returned 267
foo_upnp: 9214.9214590: NPT_BsdUdpSocket::Connect(1488)/5692: FINER: connecting to 192.168.1.55, port 60786
foo_upnp: 9214.9214590: NPT_BsdUdpSocket::Connect(1488)/5692: FINER: connecting to 192.168.1.55, port 60786
foo_upnp: 9214.9214590: PLT_TaskManager::RemoveTask(220)/5692: FINER: [TaskManager 0x03c4f310] 0/0 running tasks
foo_upnp: 9215.9215084: NPT_BsdUdpSocket::Connect(1488)/5548: FINER: connecting to 192.168.1.55, port 60786
foo_upnp: 9215.9215084: PLT_DeviceHost::SendSsdpSearchResponse(781)/5548: FINE: Responding to a M-SEARCH request for upnp:rootdevice
foo_upnp: 9215.9215084: PLT_HttpHelper::ToLog(530)/5548: FINER: Sending SSDP Response:
HTTP/1.1 200 OK
Location: [url=http://192.168.2.100:15156/DeviceDescription.xml]http://192.168.2.100:15156/DeviceDescription.xml[/url]
Cache-Control: max-age=1800
Server: UPnP/1.0 DLNADOC/1.50 Platinum/1.0.4.2-bb
EXT:
USN: uuid:66f7db0b-13c4-755e-66a1-c84573126c81::upnp:rootdevice
ST: upnp:rootdevice
Date: Sun, 21 Jun 2015 18:40:40 GMT
foo_upnp: 9215.9215084: NPT_HttpHeader::Emit(127)/5548: FINEST: header Location: [url=http://192.168.2.100:15156/DeviceDescription.xml]http://192.168.2.100:15156/DeviceDescription.xml[/url]
foo_upnp: 9215.9215084: NPT_HttpHeader::Emit(127)/5548: FINEST: header Cache-Control: max-age=1800
foo_upnp: 9215.9215084: NPT_HttpHeader::Emit(127)/5548: FINEST: header Server: UPnP/1.0 DLNADOC/1.50 Platinum/1.0.4.2-bb
foo_upnp: 9215.9215084: NPT_HttpHeader::Emit(127)/5548: FINEST: header EXT:
foo_upnp: 9215.9215084: NPT_HttpHeader::Emit(127)/5548: FINEST: header USN: uuid:66f7db0b-13c4-755e-66a1-c84573126c81::upnp:rootdevice
foo_upnp: 9215.9215084: NPT_HttpHeader::Emit(127)/5548: FINEST: header ST: upnp:rootdevice
foo_upnp: 9215.9215084: NPT_HttpHeader::Emit(127)/5548: FINEST: header Date: Sun, 21 Jun 2015 18:40:40 GMT
foo_upnp: 9215.9215084: NPT_BsdSocketFd::WaitForCondition(785)/5548: FINER: waiting for condition ( write)
foo_upnp: 9215.9215084: NPT_BsdSocketFd::WaitForCondition(790)/5548: FINER: select returned 1
foo_upnp: 9215.9215084: NPT_BsdUdpSocket::Send(1549)/5548: FINEST: sending datagram
foo_upnp: 9215.9215084: NPT_BsdUdpSocket::Send(1557)/5548: FINEST: send/sendto returned 289
foo_upnp: 9215.9215085: NPT_BsdUdpSocket::Connect(1488)/5548: FINER: connecting to 192.168.1.55, port 60786
foo_upnp: 9215.9215085: NPT_BsdUdpSocket::Connect(1488)/5548: FINER: connecting to 192.168.1.55, port 60786
foo_upnp: 9215.9215085: PLT_TaskManager::RemoveTask(220)/5548: FINER: [TaskManager 0x18031350] 0/0 running tasks
foo_upnp: 9215.9215092: NPT_BsdSocketFd::WaitForCondition(790)/5940: FINER: select returned 1
foo_upnp: 9215.9215092: NPT_BsdSocketInputStream::Read(921)/5940: FINEST: reading 4096 from socket
foo_upnp: 9215.9215092: NPT_BsdSocketInputStream::Read(925)/5940: FINEST: recv returned 143
foo_upnp: 9215.9215093: NPT_HttpRequest::Parse(774)/5940: FINEST: http request: GET /DeviceDescription.xml HTTP/1.1
foo_upnp: 9215.9215093: NPT_HttpHeaders::Parse(194)/5940: FINEST: header - Host: 192.168.2.100:15156
foo_upnp: 9215.9215093: NPT_HttpHeaders::Parse(194)/5940: FINEST: header - Connection: Keep-Alive
foo_upnp: 9215.9215093: NPT_HttpHeaders::Parse(223)/5940: FINEST: header User-Agent: Android/4.4.2 UPnP/1.0 MediaHouse/1.2.1
foo_upnp: 9215.9215093: PLT_HttpHelper::ToLog(432)/5940: FINE: PLT_HttpServer::SetupResponse GET request from 192.168.1.55:48719 for "http://192.168.2.100:15156/DeviceDescription.xml"
GET /DeviceDescription.xml HTTP/1.1
Host: 192.168.2.100:15156
Connection: Keep-Alive
User-Agent: Android/4.4.2 UPnP/1.0 MediaHouse/1.2.1
foo_upnp: 9215.9215093: PLT_HttpHelper::ToLog(432)/5940: FINER: PLT_DeviceHost::SetupResponse:
GET /DeviceDescription.xml HTTP/1.1d
Host: 192.168.2.100:15156
Connection: Keep-Alive
User-Agent: Android/4.4.2 UPnP/1.0 MediaHouse/1.2.1
foo_upnp: 9215.9215093: FbMediaServer::CheckAuthentication(401)/5940: INFO: received WAN request: [url=http://192.168.2.100:15156/DeviceDescription.xml]http://192.168.2.100:15156/DeviceDescription.xml[/url] (User-Agent: Android/4.4.2 UPnP/1.0 MediaHouse/1.2.1)
foo_upnp: 9215.9215093: FbMediaServer::CheckAuthentication(404)/5940: INFO: WAN requests not allowed
foo_upnp: 9215.9215093: PLT_HttpHelper::ToLog(530)/5940: FINE: PLT_HttpServerSocketTask::Write
HTTP/1.1 401 Unauthorized
Date: Sun, 21 Jun 2015 18:40:40 GMT
Content-Length: 0
Server: UPnP/1.0 DLNADOC/1.50 Platinum/1.0.4.2-bb
foo_upnp: 9215.9215093: NPT_HttpHeader::Emit(127)/5940: FINEST: header Date: Sun, 21 Jun 2015 18:40:40 GMT
foo_upnp: 9215.9215093: NPT_HttpHeader::Emit(127)/5940: FINEST: header Content-Length: 0
foo_upnp: 9215.9215093: NPT_HttpHeader::Emit(127)/5940: FINEST: header Server: UPnP/1.0 DLNADOC/1.50 Platinum/1.0.4.2-bb
foo_upnp: 9215.9215093: NPT_BsdSocketFd::WaitForCondition(785)/5940: FINER: waiting for condition ( write)
foo_upnp: 9215.9215093: NPT_BsdSocketFd::WaitForCondition(790)/5940: FINER: select returned 1
foo_upnp: 9215.9215093: NPT_BsdSocketOutputStream::Write(1040)/5940: FINEST: writing 136 to socket
foo_upnp: 9215.9215093: NPT_BsdSocketOutputStream::Write(1044)/5940: FINEST: send returned 136
foo_upnp: 9215.9215093: NPT_BsdSocketOutputStream::Flush(1075)/5940: FINEST: flushing socket
foo_upnp: 9215.9215093: NPT_BsdSocketFd::WaitForCondition(785)/5940: FINER: waiting for condition (read )

I tried another UPnP app called BubbleUPnP and that can't see my Media Server either.

foo_upnp

Reply #2009
Update on my last post since I can't edit it anymore: http://cl.ly/image/153V3K3o472A

I installed Universal Media Server and it just worked without doing any configuration at all.

foo_upnp

Reply #2010
I have trouble sharing saved Playlists over UPnP.

I use Foobar + foo_upnp as server on my Windows machine and select and play music using Naim UnitiQute. Everything works fine exept seeing saved playlists on X:\Music\<Artist>\ folder.
As alternative I access and use same X:\Music library from my Linux machine using MiniDLNA server and there everything works fine. All playlist are visible under SERVER -> Music -> Playlsts
Under Foobar/foo_upnp this tree is different. In SERVER -> Media Library -> there are no Playlist option (only Albums, Artists, Album Artists, Genres, Years, Compilations, Codecs, Folders.
Playlists are one level up, under SERVER -> Playlists and my playlists do not show up there. Must they be in:
C:\Users\<me>\AppData\Roaming\foobar2000\playlists\ instead ? But then I can not see them from MiniDLNA...

I tried to install foo_playlist_bind, but this seems to be different thing and only ONE of my playlists showed up.

foo_upnp

Reply #2011
Anyone having luck streaming to the new PS4 media player?

foo_upnp

Reply #2012
Good day.

As for 16 bit files to get the output is 24 bits ?

foo_upnp

Reply #2013
Is anyone else having problems with the playcount increasing in foobar when using foo_upnp? I know that the track has to be streamed 100% for the play to count, and this used to work for me (not 100% of the time, but pretty close), but now I don't think my playcounts have increased for anything I've listened to (using bubbleupnp) in at least a month or two... possibly longer.

foo_upnp

Reply #2014
I can no longer stream (over the Internet) between two Windows boxes running fb2k/foo_upnp, although streaming from one of those to my iPhone running PlugPlayer is working fine.  Could someone please help me interpret the console log errors?  They look like this (log on the client side here, trying to connect with the server over at "hostname.org" but failing):

foo_upnp: 0.000: foo_upnp::on_init(199)/8664: INFO: foo_upnp: version 0.99.49
foo_upnp: 0.010: PLT_UPnP::Start(150)/8664: INFO: Starting UPnP...
foo_upnp: 0.010: PLT_UPnP::AddCtrlPoint(266)/8664: INFO: Starting Ctrlpoint...
foo_upnp: 0.010: PLT_HttpServer::Start(127)/8664: INFO: HttpServer listening on 0.0.0.0:1891
foo_upnp: initialized in 0.020s
foo_upnp: 0.020: PLT_CtrlPoint::InspectDevice(1269)/8748: INFO: Inspecting device "bcf3c445-2cbc-f4ca-a00d-c8b1fe8742b5" detected @ http://hostname.org:56923/DeviceDescription.xml
Startup time : 0:01.747808
foo_upnp: 1.1420: PLT_DeviceData::SetDescription(480)/8748: SEVERE: NPT_CHECK failed, result=-20602 (UNKNOWN) [(res)]
foo_upnp: 1.1420: PLT_CtrlPoint::ProcessGetDescriptionResponse(1383)/8748: FATAL: NPT_CHECK failed, result=-20602 (UNKNOWN) [(PLT_DeviceData::SetDescription(root_device, leasetime, request.GetUrl(), desc, context))]


Obviously I'm not aware that I changed anything recently, but hopefully I'm just missing something that's easy to fix.
Thanks,

--Stu
EAC -> MP3Gain -> Mp3tag -> fb2k

foo_upnp

Reply #2015
I use the Yamaha R N500 and foobar to play flac files. Via dlna. I put what I want to play in the UPnP Controller Playback Queue.


But when the controller has to go to the next song of the Playback Queue, it plays it, but it does not show on the UPnP Controller.
Then, when it has to play the next song, it does not play it, and says: "STOPPED"

Any idea on how to fix that issue ?

Thanks.

foo_upnp

Reply #2016
Nevermind, I solved the issue by disabling the gapless stuff in "Preferences". Too bad gapless does not work with UPnP in foobar.

foo_upnp

Reply #2017
Has anyone managed to get this compponent to work with Windows 10?

I have it working reliably and effectively under Windows 7, streaming to a Cambridge Audio CXN, for which the remote Android app also works well.

However, on a newer, recently upgraded, Win 10 machine, even though the CXN and the App can see the Foobar server and can see the albums / tracks in the library, it will not play: the Android app returns the error message "UDN_NOT_A_MEDIASERVER". Both the Win 7 and Win10 machines are running on the same network and I have ensured that the component settings (pretty standard) are exactly the same. I have also ensured that the Windows networking and sharing settings are as close to identical as possible, although happily it seems that the component providdes a self-contained service and doesn't make use of them. Experimenting by enabling and disabling Windows sharing facilities makes no difference to either OS.

I've also experimented by installing Servio Media Server on the Win 10 box: it works, can be seen by the Cambridge app and will play tracks - all again with none of the OS sharing components active.

I have run the logging for the component on both machines but, apart from being able to see that the logs are significantly different, I confess I can't make head or tail of what it is telling me.

Has anyone any better experiences? This component is so neat and light on resources it would be a pity if it were to lose traction in the move to Win 10.

foo_upnp

Reply #2018
I have some maybe minor concern. You are statically linking with GPL code. Shouldn't you release your source code or something?

foo_upnp

Reply #2019
Has anyone managed to get this compponent to work with Windows 10?
...
Has anyone any better experiences? This component is so neat and light on resources it would be a pity if it were to lose traction in the move to Win 10.


sorry, not the answer you were looking for
here's another user suffering after upgrade from win 8.1 to win 10
upnp controller stopped working with avr pioneer sc-2022

any idea how to fix it or should we start searching for another dlna/upnp server/controller?

foo_upnp

Reply #2020
...

any idea how to fix it or should we start searching for another dlna/upnp server/controller?


I regret to say I've given up on the plug in and moved to Spoon's Asset UPnP (https://www.dbpoweramp.com/asset-upnp-dlna.htm) which, for this novice, works well, is easily configurable and, being a standalone DLNA server which can be run as a service, doesn't require FB2K to be running to allow music to be streamed.

I looked at Bubbleguuum's standalone DLNA server (http://www.bubblesoftapps.com/bubbleupnpserver/) but confess I found it excessively complicated to set up and it requires the installation of Java. The simplicity and functionality of Asset UPnP was and is, to me, well worth the modest cost.

Good luck!

foo_upnp

Reply #2021
I regret to say I've given up on the plug in and moved to Spoon's Asset UPnP (https://www.dbpoweramp.com/asset-upnp-dlna.htm) which, for this novice, works well, is easily configurable and, being a standalone DLNA server which can be run as a service, doesn't require FB2K to be running to allow music to be streamed.

I looked at Bubbleguuum's standalone DLNA server (http://www.bubblesoftapps.com/bubbleupnpserver/) but confess I found it excessively complicated to set up and it requires the installation of Java. The simplicity and functionality of Asset UPnP was and is, to me, well worth the modest cost.

thanks for your answer. I think I must emphasize that I need DLNA controller (DMC) as I'd like to "send" music from my pc to dlna-compatible avr/bdp not to browse it from the opposite site using tv or avr display
foo_upnp still works as a server, it is controller that stopped working

I also don't like "modern", fancy looking apps with tiles, bells and other whistles hence prefer "classic" and simpler foobar UI

foo_upnp

Reply #2022
any idea how to fix it or should we start searching for another dlna/upnp server/controller?
JRiver Media Center seems to work as control point with mine Pioneer SC-2022/BDP-450

foo_upnp

Reply #2023
Hello everyone!

Does the UPNP Browser support proxy username and password? I can stream from my BubbleUPNP server properly if i open an URL in foobar, because the general proxy in foobar is properly configured with my account. But i cannot get the browser work with the same configuration. It says it cannot connect to the server.

Any ideas how to overcome this problem?

Thanks in advance.

foo_upnp

Reply #2024
Hello everyone!

Does the UPNP Browser support proxy username and password? I can stream from my BubbleUPNP server properly if i open an URL in foobar, because the general proxy in foobar is properly configured with my account. But i cannot get the browser work with the same configuration. It says it cannot connect to the server.

Any ideas how to overcome this problem?

Thanks in advance.


File > Preferences > Tools > UPnP > Browser > Remote Internet Servers > HTTP Proxy ?