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

foo_upnp

Reply #1450
There seems to be a memory leak in this version. Stopping the server doesn't free memory. After several stops and starts, foobar2000's memory usage becomes quite high.



Thanks for reporting, now fixed.

foo_upnp

Reply #1451
Hey, I see you've begun working on trying to get this working with Samsung DLNA TV's!! Just wanted to chip in my two cent, I have a Samsung UE37D5000 series TV, and figured I might be of help testing, etc. If it's any use to you, here's a log from earlier today when I was testing out the new upnp beta: http://pastebin.com/8qhMBAWn



Can you state what exactly isn't working and post a log with INFO level instead ?

foo_upnp

Reply #1452
BubbleUPnP Server 0.5.4 and foo_upnp 0.99.37 are available.

This new version of BubbleUPnP Server allows Internet https connections from both Android BubbleUPnP 1.3.3 and foo_upnp 0.99.37.
In both clients, to connect to BubbleUPnP Server with https just use
Code: [Select]
https://host:port
The default https port is 58051 and it must be opened like the regular http port (which is still used for streaming only).

foo_upnp 0.99.37

  • server: handle track title searches emitted by BubbleUPnP for Android
  • server: fixed huge memory leak when stopping/starting the server
  • server: supports sending gzipped responses to browsing/searching requests.  Uses 12x less bandwidth. Useful for internet connections.
  • browser: supports receiving gzipped responses for browsing/searching requests. Both foo_upnp 0.99.37 and BubbleUPnP Server 0.5.4+ send gzipped responses.
  • browser: support https connections to Internet BubbleUPnP Server for added security. foo_upnp server *does not* supports https connections.
  • browser: revamped "View > Add remote Internet Server" dialog


BubbleUPnP Server 0.5.4

  • added HTTPS support for connecting. Default https port is 58051. Works with Android BubbleUPnP 1.3.3+ and foo_upnp 0.99.37+
  • added support for sending compressed data to foo_upnp 0.99.37+ to save bandwidth
  • added support for logging media streams connections, in the NCSA common file format
    Media streams logs are added to file access_log.txt found in the installation directory. Can be enabled/disabled in the "Network and Security" tab. Disabled by default
  • fixed obscure startup crash on some Windows installs
  • fixed new version check notification not working since v0.5
  • updated documentation (https)

foo_upnp

Reply #1453
Now that track title search has been implemented, any chance of being able to perform a string search similar to how Media Library Search in foobar2000 works? It'd be nice to be able to search all fields/tags at a time instead of just one (track title in this case).

foo_upnp

Reply #1454
Now that track title search has been implemented, any chance of being able to perform a string search similar to how Media Library Search in foobar2000 works? It'd be nice to be able to search all fields/tags at a time instead of just one (track title in this case).


OK. Next version of foo_upnp will do a global tag search (like the Media Library) when receiving BubbleUPnP track title search.

foo_upnp

Reply #1455
I can't access the library of my pc because the path for the foobar2000 components contains some french accents. Would it be possible to fix this?

Thanks!

foo_upnp

Reply #1456
I can't access the library of my pc because the path for the foobar2000 components contains some french accents. Would it be possible to fix this?

Thanks!



Can you be more specific about your problem so I do not have an infinitesimal remote chance of reproducing it ?

foo_upnp

Reply #1457
Ok, I'll try. My music library is on a pc. The foobar2000 appdata folder is something like c:\users\éàê\roaming\appdata\foobar2000. I try to connect from another pc using the upnp component through foobar2000 and it does not see the music library on the first pc.

I tried a portable foobar2000 installation in a folder that does not have accents in the path and it works but I would prefer to leave the installation as is.

foo_upnp

Reply #1458
hi bubbleguuum, great to see you are back!

thanks for adding the 176.4khz entry, but, I don't need that anymore! I need 176.4khz before, was playing those DSD/SACD transcoded 176.4kkhz file. Now that the foo_input_sacd plugin supporst direct playback of native .DFF and .DSF DSD files, I need to once again "hex edit" the upnp dll, replace the 192khz option to 2.82Mhz, in order to stream DSD file in native format!

Please add DSD rate 2.82Mhz support someday! Thanks in advance!

foo_upnp

Reply #1459
Ok, I'll try. My music library is on a pc. The foobar2000 appdata folder is something like c:\users\éàê\roaming\appdata\foobar2000. I try to connect from another pc using the upnp component through foobar2000 and it does not see the music library on the first pc.

I tried a portable foobar2000 installation in a folder that does not have accents in the path and it works but I would prefer to leave the installation as is.


I cannot reproduce this issue, using a username with accents. Are you sure it is not some other problem like you firewall authorizing your portable foobar2000.exe but not the non-portable install one ?

foo_upnp

Reply #1460
hi bubbleguuum, great to see you are back!

thanks for adding the 176.4khz entry, but, I don't need that anymore! I need 176.4khz before, was playing those DSD/SACD transcoded 176.4kkhz file. Now that the foo_input_sacd plugin supporst direct playback of native .DFF and .DSF DSD files, I need to once again "hex edit" the upnp dll, replace the 192khz option to 2.82Mhz, in order to stream DSD file in native format!

Please add DSD rate 2.82Mhz support someday! Thanks in advance!


Is that for playing the .DFF or .DSF "as is"  to a foobar2000 client ?

foo_upnp

Reply #1461
Is that for playing the .DFF or .DSF "as is"  to a foobar2000 client ?


Yes, if 2.8Mhz support is added, I can use a iOS/android controller to play native DSD to a foobar renderer. foobar can output native DSD (no transcoding) to a supported external DAC.


foo_upnp

Reply #1463
Anyone get it working with Boxee Box? Running firmware 1.2.2.20482.

It tries to play the files. I hear sound but then it just quits.

Here is log from upnp:

Code: [Select]
HOST: 192.168.1.105:56923
Range: bytes=0-16384
DATE: Wed, 18 Apr 2012 16:29:23 GMT
CONNECTION: close
USER-AGENT: Linux/2.6.28, UPnP/1.0, Intel SDK for UPnP devices /1.2
foo_upnp: 149.149583: FbMediaServer::ProcessHttpGetRequest(335)/1120: INFO: received LAN request: [url=http://192.168.1.105:56923/content/aa26c86f9c5141d513d27c3063ccb33b.mp3?profile_id=7&convert=mp3]http://192.168.1.105:56923/content/aa26c86...amp;convert=mp3[/url] (User-Agent: Linux/2.6.28, UPnP/1.0, Intel SDK for UPnP devices /1.2)
foo_upnp: 149.149583: PLT_HttpHelper::ToLog(481)/1120: INFO: FbMediaServer::ProcessFileRequest
GET /content/aa26c86f9c5141d513d27c3063ccb33b.mp3?profile_id=7&convert=mp3 HTTP/1.1
HOST: 192.168.1.105:56923
Range: bytes=0-16384
DATE: Wed, 18 Apr 2012 16:29:23 GMT
CONNECTION: close
USER-AGENT: Linux/2.6.28, UPnP/1.0, Intel SDK for UPnP devices /1.2
foo_upnp: 149.149586: upnp_server_conf::get_profile(806)/1120: INFO: using profile 'Boxee Box', matching header (User-Agent:Linux/2.6.28, UPnP/1.0, Intel SDK for UPnP devices /1.2)
foo_upnp: opened 'Playback Stream Capture' for streaming, profile: Boxee Box, MP3 / CBR 192 kbps, replaygain: off, DSP chain: off
foo_upnp: 149.149586: PLT_HttpHelper::ToLog(577)/1120: FINE: PLT_HttpServerSocketTask::Write
HTTP/1.1 200 OK
TransferMode.DLNA.ORG: Streaming
Content-Range: bytes */*
Content-Type: audio/mpeg
Connection: close
Server: UPnP/1.0 DLNADOC/1.50 Platinum/0.6.8.0-bb
foo_upnp: 149.149586: NPT_HttpHeader::Emit(127)/1120: FINEST: header TransferMode.DLNA.ORG: Streaming
foo_upnp: 149.149586: NPT_HttpHeader::Emit(127)/1120: FINEST: header Content-Range: bytes */*
foo_upnp: 149.149586: NPT_HttpHeader::Emit(127)/1120: FINEST: header Content-Type: audio/mpeg
foo_upnp: 149.149586: NPT_HttpHeader::Emit(127)/1120: FINEST: header Connection: close
foo_upnp: 149.149586: NPT_HttpHeader::Emit(127)/1120: FINEST: header Server: UPnP/1.0 DLNADOC/1.50 Platinum/0.6.8.0-bb
foo_upnp: 149.149586: NPT_BsdSocketFd::WaitForCondition(688)/1120: FINER: waiting for condition ( write)
foo_upnp: 149.149586: NPT_BsdSocketFd::WaitForCondition(693)/1120: FINER: select returned 1
foo_upnp: 149.149586: NPT_BsdSocketOutputStream::Write(934)/1120: FINEST: writing 175 to socket
foo_upnp: 149.149586: NPT_BsdSocketOutputStream::Write(938)/1120: FINEST: send returned 175
foo_upnp: 150.150586: NPT_BsdSocketFd::WaitForCondition(688)/1120: FINER: waiting for condition ( write)
foo_upnp: 150.150586: NPT_BsdSocketFd::WaitForCondition(693)/1120: FINER: select returned 1
foo_upnp: 150.150586: NPT_BsdSocketOutputStream::Write(934)/1120: FINEST: writing 626 to socket
foo_upnp: 150.150586: NPT_BsdSocketOutputStream::Write(938)/1120: FINEST: send returned 626
foo_upnp: 150.150587: NPT_BsdSocketFd::WaitForCondition(688)/1120: FINER: waiting for condition ( write)
foo_upnp: 150.150587: NPT_BsdSocketFd::WaitForCondition(693)/1120: FINER: select returned 1
foo_upnp: 150.150587: NPT_BsdSocketOutputStream::Write(934)/1120: FINEST: writing 626 to socket
foo_upnp: 150.150588: NPT_BsdSocketOutputStream::Write(938)/1120: FINEST: send returned 626
foo_upnp: 150.150588: NPT_BsdSocketFd::WaitForCondition(688)/1120: FINER: waiting for condition ( write)
foo_upnp: 150.150588: NPT_BsdSocketFd::WaitForCondition(693)/1120: FINER: select returned 1
foo_upnp: 150.150589: NPT_BsdSocketOutputStream::Write(934)/1120: FINEST: writing 627 to socket
foo_upnp: 150.150589: NPT_BsdSocketOutputStream::Write(938)/1120: FINEST: send returned 627
foo_upnp: 150.150589: NPT_BsdSocketFd::WaitForCondition(688)/1120: FINER: waiting for condition ( write)
foo_upnp: 150.150589: NPT_BsdSocketFd::WaitForCondition(693)/1120: FINER: select returned 1
foo_upnp: 150.150589: NPT_BsdSocketOutputStream::Write(934)/1120: FINEST: writing 627 to socket
foo_upnp: 150.150590: NPT_BsdSocketOutputStream::Write(938)/1120: FINEST: send returned 627
foo_upnp: 150.150590: NPT_BsdSocketFd::WaitForCondition(688)/1120: FINER: waiting for condition ( write)
foo_upnp: 150.150590: NPT_BsdSocketFd::WaitForCondition(693)/1120: FINER: select returned 1
foo_upnp: 150.150590: NPT_BsdSocketOutputStream::Write(934)/1120: FINEST: writing 627 to socket
foo_upnp: 150.150590: NPT_BsdSocketOutputStream::Write(938)/1120: FINEST: send returned 627
foo_upnp: 150.150591: NPT_BsdSocketFd::WaitForCondition(688)/1120: FINER: waiting for condition ( write)
foo_upnp: 150.150591: NPT_BsdSocketFd::WaitForCondition(693)/1120: FINER: select returned 1
foo_upnp: 150.150591: NPT_BsdSocketOutputStream::Write(934)/1120: FINEST: writing 627 to socket
foo_upnp: 150.150591: NPT_BsdSocketOutputStream::Write(938)/1120: FINEST: send returned 627
foo_upnp: 150.150592: NPT_BsdSocketFd::WaitForCondition(688)/1120: FINER: waiting for condition ( write)
foo_upnp: 150.150592: NPT_BsdSocketFd::WaitForCondition(693)/1120: FINER: select returned 1
foo_upnp: 150.150592: NPT_BsdSocketOutputStream::Write(934)/1120: FINEST: writing 627 to socket
foo_upnp: 150.150592: NPT_BsdSocketOutputStream::Write(938)/1120: FINEST: send returned 627
foo_upnp: 150.150593: NPT_BsdSocketFd::WaitForCondition(688)/1120: FINER: waiting for condition ( write)
foo_upnp: 150.150593: NPT_BsdSocketFd::WaitForCondition(693)/1120: FINER: select returned 1
foo_upnp: 150.150593: NPT_BsdSocketOutputStream::Write(934)/1120: FINEST: writing 627 to socket
foo_upnp: 150.150593: NPT_BsdSocketOutputStream::Write(938)/1120: FINEST: send returned 627
foo_upnp: 150.150594: NPT_BsdSocketFd::WaitForCondition(688)/1120: FINER: waiting for condition ( write)
foo_upnp: 150.150594: NPT_BsdSocketFd::WaitForCondition(693)/1120: FINER: select returned 1
foo_upnp: 150.150594: NPT_BsdSocketOutputStream::Write(934)/1120: FINEST: writing 627 to socket
foo_upnp: 150.150594: NPT_BsdSocketOutputStream::Write(938)/1120: FINEST: send returned 627
foo_upnp: 150.150595: NPT_BsdSocketFd::WaitForCondition(688)/1120: FINER: waiting for condition ( write)
foo_upnp: 150.150595: NPT_BsdSocketFd::WaitForCondition(693)/1120: FINER: select returned 1
foo_upnp: 150.150595: NPT_BsdSocketOutputStream::Write(934)/1120: FINEST: writing 627 to socket
foo_upnp: 150.150595: NPT_BsdSocketOutputStream::Write(938)/1120: FINEST: send returned 627
foo_upnp: 150.150596: NPT_BsdSocketFd::WaitForCondition(688)/1120: FINER: waiting for condition ( write)
foo_upnp: 150.150596: NPT_BsdSocketFd::WaitForCondition(693)/1120: FINER: select returned 1
foo_upnp: 150.150596: NPT_BsdSocketOutputStream::Write(934)/1120: FINEST: writing 627 to socket
foo_upnp: 150.150596: NPT_BsdSocketOutputStream::Write(938)/1120: FINEST: send returned 627
foo_upnp: 150.150597: NPT_BsdSocketFd::WaitForCondition(688)/1120: FINER: waiting for condition ( write)
foo_upnp: 150.150597: NPT_BsdSocketFd::WaitForCondition(693)/1120: FINER: select returned 1
foo_upnp: 150.150597: NPT_BsdSocketOutputStream::Write(934)/1120: FINEST: writing 627 to socket
foo_upnp: 150.150597: NPT_BsdSocketOutputStream::Write(938)/1120: FINEST: send returned 627
foo_upnp: 150.150598: NPT_BsdSocketFd::WaitForCondition(688)/1120: FINER: waiting for condition ( write)
foo_upnp: 150.150598: NPT_BsdSocketFd::WaitForCondition(693)/1120: FINER: select returned 1
foo_upnp: 150.150598: NPT_BsdSocketOutputStream::Write(934)/1120: FINEST: writing 627 to socket
foo_upnp: 150.150598: NPT_BsdSocketOutputStream::Write(938)/1120: FINEST: send returned 627
foo_upnp: 150.150599: NPT_BsdSocketFd::WaitForCondition(688)/1120: FINER: waiting for condition ( write)
foo_upnp: 150.150599: NPT_BsdSocketFd::WaitForCondition(693)/1120: FINER: select returned 1
foo_upnp: 150.150599: NPT_BsdSocketOutputStream::Write(934)/1120: FINEST: writing 627 to socket
foo_upnp: 150.150599: NPT_BsdSocketOutputStream::Write(938)/1120: FINEST: send returned 627
foo_upnp: 150.150600: NPT_BsdSocketFd::WaitForCondition(688)/1120: FINER: waiting for condition ( write)
foo_upnp: 150.150600: NPT_BsdSocketFd::WaitForCondition(693)/1120: FINER: select returned 1
foo_upnp: 150.150600: NPT_BsdSocketOutputStream::Write(934)/1120: FINEST: writing 627 to socket
foo_upnp: 150.150600: NPT_BsdSocketOutputStream::Write(938)/1120: FINEST: send returned 627
foo_upnp: 150.150601: NPT_BsdSocketFd::WaitForCondition(688)/1120: FINER: waiting for condition ( write)
foo_upnp: 150.150601: NPT_BsdSocketFd::WaitForCondition(693)/1120: FINER: select returned 1
foo_upnp: 150.150601: NPT_BsdSocketOutputStream::Write(934)/1120: FINEST: writing 627 to socket
foo_upnp: 150.150601: NPT_BsdSocketOutputStream::Write(938)/1120: FINEST: send returned 627
foo_upnp: 150.150602: NPT_BsdSocketFd::WaitForCondition(688)/1120: FINER: waiting for condition ( write)
foo_upnp: 150.150602: NPT_BsdSocketFd::WaitForCondition(693)/1120: FINER: select returned 1
foo_upnp: 150.150602: NPT_BsdSocketOutputStream::Write(934)/1120: FINEST: writing 627 to socket
foo_upnp: 150.150602: NPT_BsdSocketOutputStream::Write(938)/1120: FINEST: send returned 627
foo_upnp: 150.150603: NPT_BsdSocketFd::WaitForCondition(688)/1120: FINER: waiting for condition ( write)
foo_upnp: 150.150603: NPT_BsdSocketFd::WaitForCondition(693)/1120: FINER: select returned 1
foo_upnp: 150.150603: NPT_BsdSocketOutputStream::Write(934)/1120: FINEST: writing 627 to socket
foo_upnp: 150.150603: NPT_BsdSocketOutputStream::Write(938)/1120: FINEST: send returned 627
foo_upnp: 150.150603: NPT_BsdSocketFd::WaitForCondition(688)/1120: FINER: waiting for condition ( write)
foo_upnp: 150.150603: NPT_BsdSocketFd::WaitForCondition(693)/1120: FINER: select returned 1
foo_upnp: 150.150604: NPT_BsdSocketOutputStream::Write(934)/1120: FINEST: writing 626 to socket
foo_upnp: 150.150604: NPT_BsdSocketOutputStream::Write(938)/1120: FINEST: send returned 626
foo_upnp: 150.150604: NPT_BsdSocketFd::WaitForCondition(688)/1120: FINER: waiting for condition ( write)
foo_upnp: 150.150604: NPT_BsdSocketFd::WaitForCondition(693)/1120: FINER: select returned 1
foo_upnp: 150.150604: NPT_BsdSocketOutputStream::Write(934)/1120: FINEST: writing 627 to socket
foo_upnp: 150.150605: NPT_BsdSocketOutputStream::Write(938)/1120: FINEST: send returned 627
foo_upnp: 150.150605: NPT_BsdSocketFd::WaitForCondition(688)/1120: FINER: waiting for condition ( write)
foo_upnp: 150.150605: NPT_BsdSocketFd::WaitForCondition(693)/1120: FINER: select returned 1
foo_upnp: 150.150605: NPT_BsdSocketOutputStream::Write(934)/1120: FINEST: writing 627 to socket
foo_upnp: 150.150605: NPT_BsdSocketOutputStream::Write(938)/1120: FINEST: send returned 627
foo_upnp: 150.150606: NPT_BsdSocketFd::WaitForCondition(688)/1120: FINER: waiting for condition ( write)
foo_upnp: 150.150606: NPT_BsdSocketFd::WaitForCondition(693)/1120: FINER: select returned 1
foo_upnp: 150.150606: NPT_BsdSocketOutputStream::Write(934)/1120: FINEST: writing 627 to socket
foo_upnp: 150.150606: NPT_BsdSocketOutputStream::Write(938)/1120: FINEST: send returned 627
foo_upnp: 150.150607: NPT_BsdSocketFd::WaitForCondition(688)/1120: FINER: waiting for condition ( write)
foo_upnp: 150.150607: NPT_BsdSocketFd::WaitForCondition(693)/1120: FINER: select returned 1
foo_upnp: 150.150607: NPT_BsdSocketOutputStream::Write(934)/1120: FINEST: writing 627 to socket
foo_upnp: 150.150607: NPT_BsdSocketOutputStream::Write(938)/1120: FINEST: send returned 627
foo_upnp: 150.150608: NPT_BsdSocketFd::WaitForCondition(688)/1120: FINER: waiting for condition ( write)
foo_upnp: 150.150608: NPT_BsdSocketFd::WaitForCondition(693)/1120: FINER: select returned 1
foo_upnp: 150.150608: NPT_BsdSocketOutputStream::Write(934)/1120: FINEST: writing 627 to socket
foo_upnp: 150.150608: NPT_BsdSocketOutputStream::Write(938)/1120: FINEST: send returned 627
foo_upnp: 150.150609: NPT_BsdSocketFd::WaitForCondition(688)/1120: FINER: waiting for condition ( write)
foo_upnp: 150.150609: NPT_BsdSocketFd::WaitForCondition(693)/1120: FINER: select returned 1
foo_upnp: 150.150609: NPT_BsdSocketOutputStream::Write(934)/1120: FINEST: writing 627 to socket
foo_upnp: 150.150609: NPT_BsdSocketOutputStream::Write(938)/1120: FINEST: send returned 627
foo_upnp: 150.150610: NPT_BsdSocketFd::WaitForCondition(688)/1120: FINER: waiting for condition ( write)
foo_upnp: 150.150610: NPT_BsdSocketFd::WaitForCondition(693)/1120: FINER: select returned 1
foo_upnp: 150.150610: NPT_BsdSocketOutputStream::Write(934)/1120: FINEST: writing 627 to socket
foo_upnp: 150.150610: NPT_BsdSocketOutputStream::Write(938)/1120: FINEST: send returned 627
foo_upnp: 150.150611: NPT_BsdSocketFd::WaitForCondition(688)/1120: FINER: waiting for condition ( write)
foo_upnp: 150.150611: NPT_BsdSocketFd::WaitForCondition(693)/1120: FINER: select returned 1
foo_upnp: 150.150611: NPT_BsdSocketOutputStream::Write(934)/1120: FINEST: writing 627 to socket
foo_upnp: 150.150611: NPT_BsdSocketOutputStream::Write(938)/1120: FINEST: send returned 627
foo_upnp: 150.150612: NPT_BsdSocketFd::WaitForCondition(688)/1120: FINER: waiting for condition ( write)
foo_upnp: 150.150612: NPT_BsdSocketFd::WaitForCondition(693)/1120: FINER: select returned 1
foo_upnp: 150.150612: NPT_BsdSocketOutputStream::Write(934)/1120: FINEST: writing 627 to socket
foo_upnp: 150.150612: NPT_BsdSocketOutputStream::Write(938)/1120: FINEST: send returned 627
foo_upnp: 150.150613: NPT_BsdSocketFd::WaitForCondition(688)/1120: FINER: waiting for condition ( write)
foo_upnp: 150.150613: NPT_BsdSocketFd::WaitForCondition(693)/1120: FINER: select returned 1
foo_upnp: 150.150613: NPT_BsdSocketOutputStream::Write(934)/1120: FINEST: writing 627 to socket
foo_upnp: 150.150613: NPT_BsdSocketOutputStream::Write(938)/1120: FINEST: send returned -1
foo_upnp: 150.150613: NPT_BsdSocketOutputStream::Write(949)/1120: FINE: socket result = -22000
foo_upnp: 150.150613: PLT_HttpServerSocketTask::Write(410)/1120: WARNING: NPT_CHECK failed, result=-22000 (UNKNOWN) [(NPT_StreamToStreamCopy( *body_stream.AsPointer(), *output_stream.AsPointer(), 0, entity->GetContentLength(), 0, abort))]
foo_upnp: 150.150613: PLT_TaskManager::RemoveTask(173)/1120: FINER: [TaskManager 0x02adfd20] 0/100 running tasks
foo_upnp: 150.150614: NPT_BsdSocketFd::WaitForCondition(693)/2724: FINER: select returned 1
foo_upnp: 150.150614: NPT_BsdTcpServerSocket::WaitForNewClient(1993)/2724: FINER: accepting connection
foo_upnp: 150.150614: PLT_TaskManager::AddTask(152)/2724: FINER: [TaskManager 0x02adfd20] 1/100 running tasks
foo_upnp: 150.150614: NPT_Win32Thread::Start(536)/2724: FINER: creating thread
foo_upnp: 150.150614: NPT_Win32Thread::EntryPoint(503)/8368: FINER: thread in =======================
foo_upnp: 150.150614: NPT_BsdTcpServerSocket::WaitForNewClient(1989)/2724: FINER: waiting until socket is readable or writeable
foo_upnp: 150.150614: NPT_BsdSocketFd::WaitForCondition(688)/8368: FINER: waiting for condition (read )
foo_upnp: 150.150615: NPT_BsdSocketFd::WaitForCondition(688)/2724: FINER: waiting for condition (read write)
foo_upnp: 150.150615: NPT_BsdSocketFd::WaitForCondition(693)/8368: FINER: select returned 1
foo_upnp: 150.150615: NPT_BsdSocketInputStream::Read(824)/8368: FINEST: reading 4096 from socket
foo_upnp: 150.150615: NPT_BsdSocketInputStream::Read(828)/8368: FINEST: recv returned 265
foo_upnp: 150.150615: NPT_HttpRequest::Parse(774)/8368: FINEST: http request: GET /content/aa26c86f9c5141d513d27c3063ccb33b.mp3?profile_id=7&convert=mp3 HTTP/1.1
foo_upnp: 150.150615: NPT_HttpHeaders::Parse(194)/8368: FINEST: header - HOST: 192.168.1.105:56923
foo_upnp: 150.150615: NPT_HttpHeaders::Parse(194)/8368: FINEST: header - Range: bytes=16384-49152
foo_upnp: 150.150615: NPT_HttpHeaders::Parse(194)/8368: FINEST: header - DATE: Wed, 18 Apr 2012 16:29:24 GMT
foo_upnp: 150.150615: NPT_HttpHeaders::Parse(194)/8368: FINEST: header - CONNECTION: close
foo_upnp: 150.150615: NPT_HttpHeaders::Parse(223)/8368: FINEST: header USER-AGENT: Linux/2.6.28, UPnP/1.0, Intel SDK for UPnP devices /1.2
foo_upnp: 150.150615: PLT_HttpHelper::ToLog(481)/8368: FINER: PLT_HttpServer::SetupResponse GET request from 192.168.1.196:36557 for "http://192.168.1.105:56923/content/aa26c86f9c5141d513d27c3063ccb33b.mp3?profile_id=7&convert=mp3"
GET /content/aa26c86f9c5141d513d27c3063ccb33b.mp3?profile_id=7&convert=mp3 HTTP/1.1
HOST: 192.168.1.105:56923
Range: bytes=16384-49152
DATE: Wed, 18 Apr 2012 16:29:24 GMT
CONNECTION: close
USER-AGENT: Linux/2.6.28, UPnP/1.0, Intel SDK for UPnP devices /1.2
foo_upnp: 150.150615: PLT_HttpHelper::ToLog(481)/8368: FINER: PLT_DeviceHost::SetupResponse:
GET /content/aa26c86f9c5141d513d27c3063ccb33b.mp3?profile_id=7&convert=mp3 HTTP/1.1
HOST: 192.168.1.105:56923
Range: bytes=16384-49152
DATE: Wed, 18 Apr 2012 16:29:24 GMT
CONNECTION: close
USER-AGENT: Linux/2.6.28, UPnP/1.0, Intel SDK for UPnP devices /1.2
foo_upnp: 150.150615: FbMediaServer::ProcessHttpGetRequest(335)/8368: INFO: received LAN request: [url=http://192.168.1.105:56923/content/aa26c86f9c5141d513d27c3063ccb33b.mp3?profile_id=7&convert=mp3]http://192.168.1.105:56923/content/aa26c86...amp;convert=mp3[/url] (User-Agent: Linux/2.6.28, UPnP/1.0, Intel SDK for UPnP devices /1.2)
foo_upnp: 150.150615: PLT_HttpHelper::ToLog(481)/8368: INFO: FbMediaServer::ProcessFileRequest
GET /content/aa26c86f9c5141d513d27c3063ccb33b.mp3?profile_id=7&convert=mp3 HTTP/1.1
HOST: 192.168.1.105:56923
Range: bytes=16384-49152
DATE: Wed, 18 Apr 2012 16:29:24 GMT
CONNECTION: close
USER-AGENT: Linux/2.6.28, UPnP/1.0, Intel SDK for UPnP devices /1.2
foo_upnp: 150.150618: upnp_server_conf::get_profile(806)/8368: INFO: using profile 'Boxee Box', matching header (User-Agent:Linux/2.6.28, UPnP/1.0, Intel SDK for UPnP devices /1.2)
foo_upnp: opened 'Playback Stream Capture' for streaming, profile: Boxee Box, MP3 / CBR 192 kbps, replaygain: off, DSP chain: off
foo_upnp: 150.150618: PLT_HttpHelper::ToLog(577)/8368: FINE: PLT_HttpServerSocketTask::Write
HTTP/1.1 416 Requested range not satisfiable
TransferMode.DLNA.ORG: Streaming
Content-Length: 0
Connection: close
Server: UPnP/1.0 DLNADOC/1.50 Platinum/0.6.8.0-bb
foo_upnp: 150.150618: NPT_HttpHeader::Emit(127)/8368: FINEST: header TransferMode.DLNA.ORG: Streaming
foo_upnp: 150.150618: NPT_HttpHeader::Emit(127)/8368: FINEST: header Content-Length: 0
foo_upnp: 150.150618: NPT_HttpHeader::Emit(127)/8368: FINEST: header Connection: close
foo_upnp: 150.150618: NPT_HttpHeader::Emit(127)/8368: FINEST: header Server: UPnP/1.0 DLNADOC/1.50 Platinum/0.6.8.0-bb
foo_upnp: 150.150618: NPT_BsdSocketFd::WaitForCondition(688)/8368: FINER: waiting for condition ( write)
foo_upnp: 150.150618: NPT_BsdSocketFd::WaitForCondition(693)/8368: FINER: select returned 1
foo_upnp: 150.150618: NPT_BsdSocketOutputStream::Write(934)/8368: FINEST: writing 171 to socket
foo_upnp: 150.150618: NPT_BsdSocketOutputStream::Write(938)/8368: FINEST: send returned 171
foo_upnp: 150.150618: NPT_BsdSocketOutputStream::Flush(969)/8368: FINEST: flushing socket
foo_upnp: 150.150619: PLT_TaskManager::RemoveTask(173)/8368: FINER: [TaskManager 0x02adfd20] 0/100 running tasks
foo_upnp: 150.150620: NPT_BsdSocketFd::WaitForCondition(693)/2724: FINER: select returned 1
foo_upnp: 150.150620: NPT_BsdTcpServerSocket::WaitForNewClient(1993)/2724: FINER: accepting connection
foo_upnp: 150.150621: PLT_TaskManager::AddTask(152)/2724: FINER: [TaskManager 0x02adfd20] 1/100 running tasks
foo_upnp: 150.150621: NPT_Win32Thread::Start(536)/2724: FINER: creating thread
foo_upnp: 150.150621: NPT_Win32Thread::EntryPoint(503)/8204: FINER: thread in =======================
foo_upnp: 150.150621: NPT_BsdSocketFd::WaitForCondition(688)/8204: FINER: waiting for condition (read )
foo_upnp: 150.150621: NPT_BsdTcpServerSocket::WaitForNewClient(1989)/2724: FINER: waiting until socket is readable or writeable
foo_upnp: 150.150621: NPT_BsdSocketFd::WaitForCondition(693)/8204: FINER: select returned 1
foo_upnp: 150.150621: NPT_BsdSocketFd::WaitForCondition(688)/2724: FINER: waiting for condition (read write)
foo_upnp: 150.150621: NPT_BsdSocketInputStream::Read(824)/8204: FINEST: reading 4096 from socket
foo_upnp: 150.150621: NPT_BsdSocketInputStream::Read(828)/8204: FINEST: recv returned 275
foo_upnp: 150.150621: NPT_HttpRequest::Parse(774)/8204: FINEST: http request: GET /content/aa26c86f9c5141d513d27c3063ccb33b.mp3?profile_id=7&convert=mp3 HTTP/1.1
foo_upnp: 150.150621: NPT_HttpHeaders::Parse(194)/8204: FINEST: header - HOST: 192.168.1.105:56923
foo_upnp: 150.150621: NPT_HttpHeaders::Parse(194)/8204: FINEST: header - Range: bytes=8589930496-8589934592
foo_upnp: 150.150621: NPT_HttpHeaders::Parse(194)/8204: FINEST: header - DATE: Wed, 18 Apr 2012 16:29:24 GMT
foo_upnp: 150.150621: NPT_HttpHeaders::Parse(194)/8204: FINEST: header - CONNECTION: close
foo_upnp: 150.150621: NPT_HttpHeaders::Parse(223)/8204: FINEST: header USER-AGENT: Linux/2.6.28, UPnP/1.0, Intel SDK for UPnP devices /1.2
foo_upnp: 150.150622: PLT_HttpHelper::ToLog(481)/8204: FINER: PLT_HttpServer::SetupResponse GET request from 192.168.1.196:36558 for "http://192.168.1.105:56923/content/aa26c86f9c5141d513d27c3063ccb33b.mp3?profile_id=7&convert=mp3"
GET /content/aa26c86f9c5141d513d27c3063ccb33b.mp3?profile_id=7&convert=mp3 HTTP/1.1
HOST: 192.168.1.105:56923
Range: bytes=8589930496-8589934592
DATE: Wed, 18 Apr 2012 16:29:24 GMT
CONNECTION: close
USER-AGENT: Linux/2.6.28, UPnP/1.0, Intel SDK for UPnP devices /1.2
foo_upnp: 150.150622: PLT_HttpHelper::ToLog(481)/8204: FINER: PLT_DeviceHost::SetupResponse:
GET /content/aa26c86f9c5141d513d27c3063ccb33b.mp3?profile_id=7&convert=mp3 HTTP/1.1
HOST: 192.168.1.105:56923
Range: bytes=8589930496-8589934592
DATE: Wed, 18 Apr 2012 16:29:24 GMT
CONNECTION: close
USER-AGENT: Linux/2.6.28, UPnP/1.0, Intel SDK for UPnP devices /1.2
foo_upnp: 150.150622: FbMediaServer::ProcessHttpGetRequest(335)/8204: INFO: received LAN request: [url=http://192.168.1.105:56923/content/aa26c86f9c5141d513d27c3063ccb33b.mp3?profile_id=7&convert=mp3]http://192.168.1.105:56923/content/aa26c86...amp;convert=mp3[/url] (User-Agent: Linux/2.6.28, UPnP/1.0, Intel SDK for UPnP devices /1.2)
foo_upnp: 150.150622: PLT_HttpHelper::ToLog(481)/8204: INFO: FbMediaServer::ProcessFileRequest
GET /content/aa26c86f9c5141d513d27c3063ccb33b.mp3?profile_id=7&convert=mp3 HTTP/1.1
HOST: 192.168.1.105:56923
Range: bytes=8589930496-8589934592
DATE: Wed, 18 Apr 2012 16:29:24 GMT
CONNECTION: close
USER-AGENT: Linux/2.6.28, UPnP/1.0, Intel SDK for UPnP devices /1.2
foo_upnp: 150.150624: upnp_server_conf::get_profile(806)/8204: INFO: using profile 'Boxee Box', matching header (User-Agent:Linux/2.6.28, UPnP/1.0, Intel SDK for UPnP devices /1.2)
foo_upnp: opened 'Playback Stream Capture' for streaming, profile: Boxee Box, MP3 / CBR 192 kbps, replaygain: off, DSP chain: off
foo_upnp: 150.150624: PLT_HttpHelper::ToLog(577)/8204: FINE: PLT_HttpServerSocketTask::Write
HTTP/1.1 416 Requested range not satisfiable
TransferMode.DLNA.ORG: Streaming
Content-Length: 0
Connection: close
Server: UPnP/1.0 DLNADOC/1.50 Platinum/0.6.8.0-bb
foo_upnp: 150.150625: NPT_HttpHeader::Emit(127)/8204: FINEST: header TransferMode.DLNA.ORG: Streaming
foo_upnp: 150.150625: NPT_HttpHeader::Emit(127)/8204: FINEST: header Content-Length: 0
foo_upnp: 150.150625: NPT_HttpHeader::Emit(127)/8204: FINEST: header Connection: close
foo_upnp: 150.150625: NPT_HttpHeader::Emit(127)/8204: FINEST: header Server: UPnP/1.0 DLNADOC/1.50 Platinum/0.6.8.0-bb
foo_upnp: 150.150625: NPT_BsdSocketFd::WaitForCondition(688)/8204: FINER: waiting for condition ( write)
foo_upnp: 150.150625: NPT_BsdSocketFd::WaitForCondition(693)/8204: FINER: select returned 1
foo_upnp: 150.150625: NPT_BsdSocketOutputStream::Write(934)/8204: FINEST: writing 171 to socket
foo_upnp: 150.150625: NPT_BsdSocketOutputStream::Write(938)/8204: FINEST: send returned 171
foo_upnp: 150.150625: NPT_BsdSocketOutputStream::Flush(969)/8204: FINEST: flushing socket
foo_upnp: 150.150625: PLT_TaskManager::RemoveTask(173)/8204: FINER: [TaskManager 0x02adfd20] 0/100 running tasks
foo_upnp: 152.152375: NPT_BsdSocketFd::WaitForCondition(693)/8132: FINER: select returned 0
foo_upnp: 152.152375: NPT_BsdSocketFd::WaitForCondition(753)/8132: FINER: select result = -20014
foo_upnp: 152.152375: NPT_BsdTcpServerSocket::WaitForNewClient(1989)/8132: FINER: waiting until socket is readable or writeable
foo_upnp: 152.152375: NPT_BsdSocketFd::WaitForCondition(688)/8132: FINER: waiting for condition (read write)
foo_upnp: 155.155622: NPT_BsdSocketFd::WaitForCondition(693)/2724: FINER: select returned 0
foo_upnp: 155.155622: NPT_BsdSocketFd::WaitForCondition(753)/2724: FINER: select result = -20014
foo_upnp: 155.155622: NPT_BsdTcpServerSocket::WaitForNewClient(1989)/2724: FINER: waiting until socket is readable or writeable
foo_upnp: 155.155622: NPT_BsdSocketFd::WaitForCondition(688)/2724: FINER: waiting for condition (read write)
foo_upnp: 157.157375: NPT_BsdSocketFd::WaitForCondition(693)/8132: FINER: select returned 0
foo_upnp: 157.157375: NPT_BsdSocketFd::WaitForCondition(753)/8132: FINER: select result = -20014
foo_upnp: 157.157375: NPT_BsdTcpServerSocket::WaitForNewClient(1989)/8132: FINER: waiting until socket is readable or writeable
foo_upnp: 157.157375: NPT_BsdSocketFd::WaitForCondition(688)/8132: FINER: waiting for condition (read write)
God Bless U.S.A

 

foo_upnp

Reply #1464
Anyone get it working with Boxee Box? Running firmware 1.2.2.20482.

It tries to play the files. I hear sound but then it just quits.


It tries to play a file transcoded to mp3 but it fails because the Boxee Box emits seeking requests which is are not supported for transcoded streams.

Modify the BubbleUPnP streaming profile (seems it looks you trigger playback from BubbleUPnP) to decode to WAV or LPCM instead
for a possible fix.

What is the audio format of the file you are trying to play ?

foo_upnp

Reply #1465
I cannot reproduce this issue, using a username with accents. Are you sure it is not some other problem like you firewall authorizing your portable foobar2000.exe but not the non-portable install one ?

This is strange, I can reproduce it on Vista and Windows 7. For instance, if I install a portable installation in a folder that contains accents, I can't customize the Media Library Tree (in Preferences\Tools\UPnP\Server\Content). I get an error which says "Windows does not find "c:\...\foo_upnp_ml_tree_xml". If I remove accents from the folder name, it works.

foo_upnp

Reply #1466
I cannot reproduce this issue, using a username with accents. Are you sure it is not some other problem like you firewall authorizing your portable foobar2000.exe but not the non-portable install one ?

This is strange, I can reproduce it on Vista and Windows 7. For instance, if I install a portable installation in a folder that contains accents, I can't customize the Media Library Tree (in Preferences\Tools\UPnP\Server\Content). I get an error which says "Windows does not find "c:\...\foo_upnp_ml_tree_xml". If I remove accents from the folder name, it works.


Ok, I could reproduce and fix that issue. Was it your original problem ?

foo_upnp

Reply #1467
Ok, I could reproduce and fix that issue. Was it your original problem ?

Great, thanks! I am not sure if it is the same as my original problem but I will tell you when I can test.

foo_upnp

Reply #1468
v0.99.38 is available (components site or first post of this topic for link)

  • browser: improved browse loading times of huge folders over the Internet (playlists) (thanks kopf for testing)
  • server: fixed gzip related crash with some clients
  • server: added 2.8Mhz samplerate to the list in streaming profiles configuration. This allows foobar2000 as a renderer to play unmodified DSD files with foo_input_sacd: if max samplerate of the profile is 2.8Mhz *AND* max bitdepth is 24 bits *AND* the profile is setup for no transcoding of DSD files
  • fixed "Customize Media Library tree..." button in preferences dialog failing to load the file if the foobar2000 profile path contains chars > 127 (accents, etc).
  • server: track title searches emitted by Android BubbleUpnP search the Media Library globally (ie all tags) instead of just the title

foo_upnp

Reply #1469
What do all of these mean? My console is full of them and they're causing quite a bit of lag in foobar.
Code: [Select]
foo_upnp: didl generation: took 1.920s
foo_upnp: didl generation: took 2.180s
foo_upnp: didl generation: took 3.397s
foo_upnp: didl generation: took 1.742s
foo_upnp: didl generation: took 2.202s
foo_upnp: didl generation: took 1.998s
foo_upnp: didl generation: took 1.840s
foo_upnp: didl generation: took 1.823s

foo_upnp

Reply #1470
I think there may be a bug in the recent releases of foo_upnp that I have just discovered. My library is single CD image flacs. After I played one on my Roku box via the UPnP control I tried to edit the metadata and got a sharing error which refused to allow writing to the flac. I stopped the server, edited the metadata and it then wrote to the file without any problem. Seems as if the server still had the file open and locked even after completion of playing the flac image.

I am running version 0.99.37. This is not something I have ever had a problem with prior to recently upgrading to this version.


foo_upnp

Reply #1472
Hey there!

First of all thanks for the effort you put in coding this plugin and everything!

But I'm desperate right now:

I use foobar to stream media to my PS3 via WLAN - works like a charm. Stream to my Android via WLAN, using UPnPlay or BubbleUPnP works as well.

Streaming over the internet worked a while and right now I can't get it working again. I don't know what I'm missing. Everything worked fine in the first place and apparently after my Router reconnected and I had to set up a new dynamic DNS Service it won't work again.. After that I changed ports, disabled my firewall and changed port forwarding of course. I even tried using my WAN IP instead of the dyndns hostname.

When using UPnPlay I can connect to my foobar server over the internet, browse through playlists, but playback won't start because of time-outs.

With BubbleUPnP I can't even access my foobar server. The console output tells me, foo_upnp blocked a WAN access. I double checked username & password (which work with UPnPlay though). After some more logging I found out it was blocked because username and password weren't submitted (401 unauthorized). I tried putting user + pw together with the server adress (http://user:pass@host:port). I almost tried all combinations I could think of, with no success.

Now I really don't know what I can do... It's making me nuts, especially cause it worked in the first place.

I need help with that please.

foo_upnp

Reply #1473
What do all of these mean? My console is full of them and they're causing quite a bit of lag in foobar.
Code: [Select]
foo_upnp: didl generation: took 1.920s
foo_upnp: didl generation: took 2.180s
foo_upnp: didl generation: took 3.397s
foo_upnp: didl generation: took 1.742s
foo_upnp: didl generation: took 2.202s
foo_upnp: didl generation: took 1.998s
foo_upnp: didl generation: took 1.840s
foo_upnp: didl generation: took 1.823s



These are left over debug traces showing that the server is returning tracks from probably a very large playlist to a browsing client.
I know for the lag. I'm looking into it.

foo_upnp

Reply #1474
I think there may be a bug in the recent releases of foo_upnp that I have just discovered. My library is single CD image flacs. After I played one on my Roku box via the UPnP control I tried to edit the metadata and got a sharing error which refused to allow writing to the flac. I stopped the server, edited the metadata and it then wrote to the file without any problem. Seems as if the server still had the file open and locked even after completion of playing the flac image.

I am running version 0.99.37. This is not something I have ever had a problem with prior to recently upgrading to this version.


Cannot reproduce it using foobar2000 as the client to play singe FLAC + cue sheet.
What you describe could happen if the Roku doesn't close the http connection (leaving the file opened) or takes time to do so.
One way to check that theory is to wait 1 min (server read timeout) or more after the file has finished playing to see if you can tag the file.