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

foo_upnp

Reply #701
23.1 did the trick for me with my WDTV.  Thanks a lot ... I'll post over on the WDTV forums to add foobar upnp to the list of confirmed servers.  Great.  I really appreciate what you do Mr bubblegum.

I think the WDTV live has some limitations with regards to floating point .wavs [not sure, but that is in the back of my mind ...although I think I did play 24bit 96khz floating point one time...], so that could explain why I have trouble with the playback streaming option .wav (you do use floating point???).... and I know that playback streaming is experimental, so I guess any data would be welcome ....

SOOoooo ... When I stream using lpcm (which WDTV live absolutely does support), the WDTV sees the streaming opint, and I can open it as a client, and I get "metadata" like "artist fooobar song unknown" ... but then the WDTV live says "can't play... might be an unsupported format!!"  Obviously, the WDTV leaves something to be desired in the voerbosity of its error reporting ....Anything I can do to help??

Maybe this is a limitation of the WDTV in respect of streaming media ... I have heard (but don't know) that "playto" works, so you can (supposedly) push files to the WDTV, which is conceptually similar to your playback streaming ... 

I'll try playto ....

Anyway, sorry for the length of this post ... your plugin is great!!!  thanks again 23.1 is the charm.

foo_upnp

Reply #702
WAHOO! Just downloaded 0.99.23.1 and playlists are now working on my Roku too!! Thanks for the pointer.

Outstanding!


Whoops.... looks like I spoke too soon. Seems like 0.99.23.1 does fix the playlist problem that I was having with my Roku, but now playing content from the rest of the media library via Artist, Album, etc is not working. It fails in exactly the same way that 0.99.21 did with playlists. That is, the lists of the album, artist etc come down to the Roku properly but when a track gets selected it gives an error when either trying to show track info, or play the track.

So, 0.99.21 the media library worked fine and the playlists didn't and 0.99.23.1, the playlists work fine and the media library doesn't. The problem seems exactly reversed between the two releases.

Also when using the controller to play the Roku the default streaming profile gets selected rather than the one created for the Roku player.

foo_upnp

Reply #703
Whoops.... looks like I spoke too soon.
Also when using the controller to play the Roku the default streaming profile gets selected rather than the one created for the Roku player.


Hmmmm. After more thorough investigation the issue seems to be limited to the "Media Library->Artists" and the way the browse returns both the albums and the tracks. If a track is selected from this browse it fails, but if an album is selected and then the track is selected it works as expected. The Roku does not seem to handle this case correctly.

I am also using a Hisense MP800H media player which does seem to handle this case properly.

But there does seem to be an issue with the controller always selecting the default streaming profile rather than the one created for the device that is being controlled.

foo_upnp

Reply #704
At first thanks for this plugin! I'm having the problem of a ~45 seconds delay between the playing of two songs. For server and client (browser panel) I'm using foobar 0.9.6.9 with the latest foo_upnp 0.99.16.1. I tried different sizes of the media library, tried to connect from work and everything works fine except the waiting time between the songs. Well, I assume thats not supposed to be, right? I'm running out of ideas and I didn't find anything helpful on the boards...
Was this ever resolved?

I have the exact same problem, except w/ foobar v1.0.2.1 and foo_upnp 0.99.23.1.  Foobar is both server and client, streaming over the net, everything works just fine except for the unreasonably long delay between playlist tracks.  I've attached logs below:

Client Log:
Code: [Select]
0.16: foo_upnp::on_init(120)/3796: INFO: foo_upnp: version 0.99.23.1
0.16: path_registry::populate(57)/3796: INFO: created 58 path registry entries in 0.000s
0.16: media_tree_root_node_t::load_ml_filters_from_file(167)/3796: INFO: file C:\Documents and Settings\Craig\Application Data\foobar2000\foo_upnp_ml_tree.xml do not exists
0.16: standard_media_tree_root_node_t::load_ml_filters(487)/3796: INFO: loaded default Media Library filters
0.16: PLT_UPnP::Start(211)/3796: INFO: Starting UPnP...
0.32: PLT_HttpServer::Start(109)/3796: INFO: HttpServer listening on 0.0.0.0:57407
0.32: PLT_HttpServer::Start(109)/3796: INFO: HttpServer listening on 0.0.0.0:56923
0.47: PLT_HttpServer::Start(109)/3796: INFO: HttpServer listening on 0.0.0.0:60646
2.32: LoadBrowseTreeTask::DoRun(84)/3408: INFO: loaded 1 nodes in 0.000s
2.32: LoadBrowseTreeTask::DoRun(84)/3240: INFO: loaded 2 nodes in 0.000s
159.235: PLT_UPnP::Stop(312)/3796: INFO: Stopping UPnP...
159.235: NPT_HttpResponse::Parse(765)/2088: WARNING: NPT_CHECK failed, result=-1 (FAILURE) [(res)]
159.235: PLT_SsdpSearchTask::DoRun(493)/2088: WARNING: PLT_SsdpSearchTask got an error (-1) waiting for response
159.235: NPT_HttpResponse::Parse(765)/1060: WARNING: NPT_CHECK failed, result=-1 (FAILURE) [(res)]
159.235: PLT_SsdpSearchTask::DoRun(493)/1060: WARNING: PLT_SsdpSearchTask got an error (-1) waiting for response
159.235: NPT_HttpResponse::Parse(765)/3868: WARNING: NPT_CHECK failed, result=-1 (FAILURE) [(res)]
159.235: PLT_SsdpSearchTask::DoRun(493)/3868: WARNING: PLT_SsdpSearchTask got an error (-1) waiting for response
159.235: NPT_HttpResponse::Parse(765)/2372: WARNING: NPT_CHECK failed, result=-1 (FAILURE) [(res)]
159.235: PLT_SsdpSearchTask::DoRun(493)/2372: WARNING: PLT_SsdpSearchTask got an error (-1) waiting for response
160.188: PLT_HttpServerSocketTask::Read(196)/808: WARNING: NPT_CHECK failed, result=-1 (FAILURE) [(res)]

Server Log:
Code: [Select]
0.0: foo_upnp::on_init(120)/3788: INFO: foo_upnp: version 0.99.23.1
0.62: path_registry::populate(57)/3788: INFO: created 1185 path registry entries in 0.046s
0.109: media_tree_root_node_t::load_ml_filters_from_file(167)/3788: INFO: file C:\Documents and Settings\gary\Application Data\foobar2000\foo_upnp_ml_tree.xml do not exists
0.109: standard_media_tree_root_node_t::load_ml_filters(487)/3788: INFO: loaded default Media Library filters
0.141: PLT_UPnP::Start(211)/3788: INFO: Starting UPnP...
0.203: PLT_HttpServer::Start(109)/3788: INFO: HttpServer listening on 0.0.0.0:56923
0.297: PLT_HttpServer::Start(109)/3788: INFO: HttpServer listening on 0.0.0.0:56107
2.641: LoadBrowseTreeTask::DoRun(84)/3544: INFO: loaded 3 nodes in 0.422s
24.812: FbMediaServer::ProcessHttpRequest(255)/1228: INFO: received WAN request: [url=http://216.221.89.25:56923/DeviceDescription.xml]http://216.221.89.25:56923/DeviceDescription.xml[/url] (User-Agent: Platinum/0.5.4.0, DLNADOC/1.50 / foobar2000)
24.812: FbMediaServer::ProcessGetDescription(320)/1228: INFO: ProcessGetDescription: user-agent: Platinum/0.5.4.0, DLNADOC/1.50 / foobar2000
26.500: FbMediaServer::ProcessHttpRequest(255)/528: INFO: received WAN request: [url=http://216.221.89.25:56923/ContentDirectory/0263e755-5a82-125f-780b-79aa5b112d5b/control.xml]http://216.221.89.25:56923/ContentDirector...d5b/control.xml[/url] (User-Agent: Platinum/0.5.4.0, DLNADOC/1.50 / foobar2000)
26.500: FbMediaServer::OnAction(197)/528: INFO: received action 'Browse', args = { ObjectID=0, BrowseFlag=BrowseDirectChildren, Filter=*, StartingIndex=0, RequestedCount=50, SortCriteria= }
26.500: PLT_MediaServer::OnBrowse(380)/528: INFO: Received BrowseDirectChildren from 70.29.106.167 for id = 0 with filter = *, start = 0, count = 50
26.500: FbMediaServer::OnAction(214)/528: INFO: action 'Browse' response: args = { ObjectID=0, BrowseFlag=BrowseDirectChildren, Filter=*, StartingIndex=0, RequestedCount=50, SortCriteria=, NumberReturned=3, TotalMatches=3, UpdateID=0 }
28.141: FbMediaServer::ProcessHttpRequest(255)/208: INFO: received WAN request: [url=http://216.221.89.25:56923/ContentDirectory/0263e755-5a82-125f-780b-79aa5b112d5b/control.xml]http://216.221.89.25:56923/ContentDirector...d5b/control.xml[/url] (User-Agent: Platinum/0.5.4.0, DLNADOC/1.50 / foobar2000)
28.141: FbMediaServer::OnAction(197)/208: INFO: received action 'Browse', args = { ObjectID=0/1, BrowseFlag=BrowseDirectChildren, Filter=*, StartingIndex=0, RequestedCount=50, SortCriteria= }
28.141: PLT_MediaServer::OnBrowse(380)/208: INFO: Received BrowseDirectChildren from 70.29.106.167 for id = 0/1 with filter = *, start = 0, count = 50
28.141: FbMediaServer::OnAction(214)/208: INFO: action 'Browse' response: args = { ObjectID=0/1, BrowseFlag=BrowseDirectChildren, Filter=*, StartingIndex=0, RequestedCount=50, SortCriteria=, NumberReturned=8, TotalMatches=8, UpdateID=0 }
30.328: FbMediaServer::ProcessHttpRequest(255)/2184: INFO: received WAN request: [url=http://216.221.89.25:56923/ContentDirectory/0263e755-5a82-125f-780b-79aa5b112d5b/control.xml]http://216.221.89.25:56923/ContentDirector...d5b/control.xml[/url] (User-Agent: Platinum/0.5.4.0, DLNADOC/1.50 / foobar2000)
30.328: FbMediaServer::OnAction(197)/2184: INFO: received action 'Browse', args = { ObjectID=0/1/1, BrowseFlag=BrowseDirectChildren, Filter=*, StartingIndex=0, RequestedCount=50, SortCriteria= }
30.328: PLT_MediaServer::OnBrowse(380)/2184: INFO: Received BrowseDirectChildren from 70.29.106.167 for id = 0/1/1 with filter = *, start = 0, count = 50
30.328: FbMediaServer::OnAction(214)/2184: INFO: action 'Browse' response: args = { ObjectID=0/1/1, BrowseFlag=BrowseDirectChildren, Filter=*, StartingIndex=0, RequestedCount=50, SortCriteria=, NumberReturned=50, TotalMatches=62, UpdateID=0 }
30.766: FbMediaServer::ProcessHttpRequest(255)/1836: INFO: received WAN request: [url=http://216.221.89.25:56923/ContentDirectory/0263e755-5a82-125f-780b-79aa5b112d5b/control.xml]http://216.221.89.25:56923/ContentDirector...d5b/control.xml[/url] (User-Agent: Platinum/0.5.4.0, DLNADOC/1.50 / foobar2000)
30.766: FbMediaServer::OnAction(197)/1836: INFO: received action 'Browse', args = { ObjectID=0/1/1, BrowseFlag=BrowseDirectChildren, Filter=*, StartingIndex=50, RequestedCount=50, SortCriteria= }
30.766: PLT_MediaServer::OnBrowse(380)/1836: INFO: Received BrowseDirectChildren from 70.29.106.167 for id = 0/1/1 with filter = *, start = 50, count = 50
30.766: FbMediaServer::OnAction(214)/1836: INFO: action 'Browse' response: args = { ObjectID=0/1/1, BrowseFlag=BrowseDirectChildren, Filter=*, StartingIndex=50, RequestedCount=50, SortCriteria=, NumberReturned=12, TotalMatches=62, UpdateID=0 }
34.812: FbMediaServer::ProcessHttpRequest(255)/2668: INFO: received WAN request: [url=http://216.221.89.25:56923/ContentDirectory/0263e755-5a82-125f-780b-79aa5b112d5b/control.xml]http://216.221.89.25:56923/ContentDirector...d5b/control.xml[/url] (User-Agent: Platinum/0.5.4.0, DLNADOC/1.50 / foobar2000)
34.812: FbMediaServer::OnAction(197)/2668: INFO: received action 'Browse', args = { ObjectID=0/1/1/1, BrowseFlag=BrowseDirectChildren, Filter=*, StartingIndex=0, RequestedCount=50, SortCriteria= }
34.812: PLT_MediaServer::OnBrowse(380)/2668: INFO: Received BrowseDirectChildren from 70.29.106.167 for id = 0/1/1/1 with filter = *, start = 0, count = 50
34.812: upnp_server_conf::get_profile(651)/2668: INFO: using default profile (User-Agent:Platinum/0.5.4.0, DLNADOC/1.50 / foobar2000)
34.812: FbMediaServer::BuildAudioItem(1464)/2668: INFO: remote address = 70.29.106.167
34.812: FbMediaServer::BuildAudioItem(1464)/2668: INFO: remote address = 70.29.106.167
34.812: FbMediaServer::BuildAudioItem(1464)/2668: INFO: remote address = 70.29.106.167
34.812: FbMediaServer::BuildAudioItem(1464)/2668: INFO: remote address = 70.29.106.167
34.812: FbMediaServer::BuildAudioItem(1464)/2668: INFO: remote address = 70.29.106.167
34.812: FbMediaServer::BuildAudioItem(1464)/2668: INFO: remote address = 70.29.106.167
34.812: FbMediaServer::BuildAudioItem(1464)/2668: INFO: remote address = 70.29.106.167
34.828: FbMediaServer::BuildAudioItem(1464)/2668: INFO: remote address = 70.29.106.167
34.828: FbMediaServer::BuildAudioItem(1464)/2668: INFO: remote address = 70.29.106.167
34.828: FbMediaServer::BuildAudioItem(1464)/2668: INFO: remote address = 70.29.106.167
34.828: FbMediaServer::BuildAudioItem(1464)/2668: INFO: remote address = 70.29.106.167
34.828: FbMediaServer::BuildAudioItem(1464)/2668: INFO: remote address = 70.29.106.167
34.828: FbMediaServer::BuildAudioItem(1464)/2668: INFO: remote address = 70.29.106.167
34.828: FbMediaServer::BuildAudioItem(1464)/2668: INFO: remote address = 70.29.106.167
34.828: FbMediaServer::BuildAudioItem(1464)/2668: INFO: remote address = 70.29.106.167
34.844: FbMediaServer::BuildAudioItem(1464)/2668: INFO: remote address = 70.29.106.167
34.844: FbMediaServer::BuildAudioItem(1464)/2668: INFO: remote address = 70.29.106.167
34.844: FbMediaServer::BuildAudioItem(1464)/2668: INFO: remote address = 70.29.106.167
34.844: FbMediaServer::BuildAudioItem(1464)/2668: INFO: remote address = 70.29.106.167
34.844: FbMediaServer::BuildAudioItem(1464)/2668: INFO: remote address = 70.29.106.167
34.844: FbMediaServer::BuildAudioItem(1464)/2668: INFO: remote address = 70.29.106.167
34.844: FbMediaServer::BuildAudioItem(1464)/2668: INFO: remote address = 70.29.106.167
34.844: FbMediaServer::BuildAudioItem(1464)/2668: INFO: remote address = 70.29.106.167
34.844: FbMediaServer::BuildAudioItem(1464)/2668: INFO: remote address = 70.29.106.167
34.844: FbMediaServer::BuildAudioItem(1464)/2668: INFO: remote address = 70.29.106.167
34.844: FbMediaServer::BuildAudioItem(1464)/2668: INFO: remote address = 70.29.106.167
34.859: FbMediaServer::BuildAudioItem(1464)/2668: INFO: remote address = 70.29.106.167
34.859: FbMediaServer::BuildAudioItem(1464)/2668: INFO: remote address = 70.29.106.167
34.859: FbMediaServer::BuildAudioItem(1464)/2668: INFO: remote address = 70.29.106.167
34.859: FbMediaServer::BuildAudioItem(1464)/2668: INFO: remote address = 70.29.106.167
34.859: FbMediaServer::BuildAudioItem(1464)/2668: INFO: remote address = 70.29.106.167
34.859: FbMediaServer::BuildAudioItem(1464)/2668: INFO: remote address = 70.29.106.167
34.859: FbMediaServer::OnAction(214)/2668: INFO: action 'Browse' response: args = { ObjectID=0/1/1/1, BrowseFlag=BrowseDirectChildren, Filter=*, StartingIndex=0, RequestedCount=50, SortCriteria=, NumberReturned=33, TotalMatches=33, UpdateID=0 }
43.562: FbMediaServer::ProcessHttpRequest(255)/3468: INFO: received WAN request: [url=http://216.221.89.25:56923/albumart/18758/e23d03b4169635204e38382f3a1b9956]http://216.221.89.25:56923/albumart/18758/...e38382f3a1b9956[/url] (User-Agent: Platinum/0.5.4.0, DLNADOC/1.50 / foobar2000)
43.562: PLT_HttpHelper::ToLog(404)/3468: INFO:
GET /albumart/18758/e23d03b4169635204e38382f3a1b9956 HTTP/1.1
User-Agent: Platinum/0.5.4.0, DLNADOC/1.50 / foobar2000
Host: 216.221.89.25:56923

46.625: FbMediaServer::ProcessHttpRequest(255)/180: INFO: received WAN request: [url=http://216.221.89.25:56923/content/18758/e23d03b4169635204e38382f3a1b9956.mp3?profile_id=0&convert=mp3]http://216.221.89.25:56923/content/18758/e...amp;convert=mp3[/url] (User-Agent: foobar2000/1.0.2.1)
46.625: PLT_HttpHelper::ToLog(404)/180: INFO:
GET /content/18758/e23d03b4169635204e38382f3a1b9956.mp3?profile_id=0&convert=mp3 HTTP/1.1
Host: 216.221.89.25:56923
User-Agent: foobar2000/1.0.2.1
Accept: */*
Icy-MetaData: 1

opened 'file://E:\Music\Bach, JS\Glenn Gould Goldberg Variations\Glenn Gould - 01 Aria.mp3' for streaming, profile: Default, MP3 / VBR -V4, replaygain: on, DSP chain: off
204.234: FbMediaServer::ProcessHttpRequest(255)/3756: INFO: received WAN request: [url=http://216.221.89.25:56923/content/18758/bb7739d5af9535258cb1a28b33da0387.mp3?profile_id=0&convert=mp3]http://216.221.89.25:56923/content/18758/b...amp;convert=mp3[/url] (User-Agent: foobar2000/1.0.2.1)
204.234: PLT_HttpHelper::ToLog(404)/3756: INFO:
GET /content/18758/bb7739d5af9535258cb1a28b33da0387.mp3?profile_id=0&convert=mp3 HTTP/1.1
Host: 216.221.89.25:56923
User-Agent: foobar2000/1.0.2.1
Accept: */*
Icy-MetaData: 1

opened 'file://E:\Music\Bach, JS\Glenn Gould Goldberg Variations\Glenn Gould - 02 Variation 1.mp3' for streaming, profile: Default, MP3 / VBR -V4, replaygain: on, DSP chain: off
204.750: FbMediaServer::ProcessHttpRequest(255)/3564: INFO: received WAN request: [url=http://216.221.89.25:56923/albumart/18758/bb7739d5af9535258cb1a28b33da0387]http://216.221.89.25:56923/albumart/18758/...cb1a28b33da0387[/url] (User-Agent: Platinum/0.5.4.0, DLNADOC/1.50 / foobar2000)
204.750: PLT_HttpHelper::ToLog(404)/3564: INFO:
GET /albumart/18758/bb7739d5af9535258cb1a28b33da0387 HTTP/1.1
User-Agent: Platinum/0.5.4.0, DLNADOC/1.50 / foobar2000
Host: 216.221.89.25:56923

292.47: FbMediaServer::ProcessHttpRequest(255)/3188: INFO: received WAN request: [url=http://216.221.89.25:56923/content/18758/32c31f525a7e60b75118d19b99243008.mp3?profile_id=0&convert=mp3]http://216.221.89.25:56923/content/18758/3...amp;convert=mp3[/url] (User-Agent: foobar2000/1.0.2.1)
292.47: PLT_HttpHelper::ToLog(404)/3188: INFO:
GET /content/18758/32c31f525a7e60b75118d19b99243008.mp3?profile_id=0&convert=mp3 HTTP/1.1
Host: 216.221.89.25:56923
User-Agent: foobar2000/1.0.2.1
Accept: */*
Icy-MetaData: 1

opened 'file://E:\Music\Bach, JS\Glenn Gould Goldberg Variations\Glenn Gould - 03 Variation 2.mp3' for streaming, profile: Default, MP3 / VBR -V4, replaygain: on, DSP chain: off
292.578: FbMediaServer::ProcessHttpRequest(255)/3408: INFO: received WAN request: [url=http://216.221.89.25:56923/albumart/18758/32c31f525a7e60b75118d19b99243008]http://216.221.89.25:56923/albumart/18758/...118d19b99243008[/url] (User-Agent: Platinum/0.5.4.0, DLNADOC/1.50 / foobar2000)
292.578: PLT_HttpHelper::ToLog(404)/3408: INFO:
GET /albumart/18758/32c31f525a7e60b75118d19b99243008 HTTP/1.1
User-Agent: Platinum/0.5.4.0, DLNADOC/1.50 / foobar2000
Host: 216.221.89.25:56923

295.62: FbMediaServer::ProcessHttpRequest(255)/3228: INFO: received WAN request: [url=http://216.221.89.25:56923/albumart/18758/e23d03b4169635204e38382f3a1b9956]http://216.221.89.25:56923/albumart/18758/...e38382f3a1b9956[/url] (User-Agent: Platinum/0.5.4.0, DLNADOC/1.50 / foobar2000)
295.62: PLT_HttpHelper::ToLog(404)/3228: INFO:
GET /albumart/18758/e23d03b4169635204e38382f3a1b9956 HTTP/1.1
User-Agent: Platinum/0.5.4.0, DLNADOC/1.50 / foobar2000
Host: 216.221.89.25:56923

298.750: PLT_HttpServerSocketTask::Write(327)/3188: WARNING: NPT_CHECK failed, result=-20400 (NPT_ERROR_CONNECTION_RESET) [(NPT_StreamToStreamCopy( *body_stream.AsPointer(), *output_stream.AsPointer(), 0, entity->GetContentLength(), 0, abort))]
376.141: FbMediaServer::ProcessHttpRequest(255)/3936: INFO: received WAN request: [url=http://216.221.89.25:56923/albumart/18758/e23d03b4169635204e38382f3a1b9956]http://216.221.89.25:56923/albumart/18758/...e38382f3a1b9956[/url] (User-Agent: Platinum/0.5.4.0, DLNADOC/1.50 / foobar2000)
376.141: PLT_HttpHelper::ToLog(404)/3936: INFO:
GET /albumart/18758/e23d03b4169635204e38382f3a1b9956 HTTP/1.1
User-Agent: Platinum/0.5.4.0, DLNADOC/1.50 / foobar2000
Host: 216.221.89.25:56923

418.578: PLT_UPnP::Stop(312)/3788: INFO: Stopping UPnP...
420.828: PLT_HttpServerSocketTask::Read(196)/2396: WARNING: NPT_CHECK failed, result=-1 (FAILURE) [(res)]

foo_upnp

Reply #705
In ther server "Media Library" list, is there any way to remove all of the folders(Album Artists etc) except the "Folders" folder?

Thank you

Darren

foo_upnp

Reply #706
At first thanks for this plugin! I'm having the problem of a ~45 seconds delay between the playing of two songs. For server and client (browser panel) I'm using foobar 0.9.6.9 with the latest foo_upnp 0.99.16.1. I tried different sizes of the media library, tried to connect from work and everything works fine except the waiting time between the songs. Well, I assume thats not supposed to be, right? I'm running out of ideas and I didn't find anything helpful on the boards...

Was this ever resolved?

I have the exact same problem, except w/ foobar v1.0.2.1 and foo_upnp 0.99.23.1.  Foobar is both server and client, streaming over the net, everything works just fine except for the unreasonably long delay between playlist tracks.  I've attached logs below:


i forgot about that one but here's an explanation:

You stream as -V4 which averages bitrate of 140...185kbps. The server won't start to stream anything before a full buffer of 256Kb of audio is decoded,  which if I take 140Kbps for the mp3 would take about 15 seconds. Then there's the time to transfer that data to the client which might take a few seconds depending on the upload bandwidth of your server.
And finally there's the minimum size of audio the client foobar200 http decoder will need before it starts playing (by default it is 256Kb and is configurable in the network preferences).
To fix this problem and have playback starts ASAP, I'll have to do some testing with low bitrates and auto-compute the internal audio buffer size. But you'll likely have to lower the client's http buffer size in foobar's preferences. In the meantime, if bandwidth is available, stream with a higher bitrate.

I also noticed that your client fetch album art before streaming and that seems to take a few seconds (There's an option to disable album art streaming on the client or the server).



foo_upnp

Reply #707
In ther server "Media Library" list, is there any way to remove all of the folders(Album Artists etc) except the "Folders" folder?


Yes, go into the Server/Content pref page and click "Customize Media Library". This should open an XML file in an editor that you can edit and remove nodes that you do not need.
If the file open in a browser instead of an editor, you'll have to open it manually. It is called foo_upnp_ml_tree.xml and located in your foobar2000 profile directory.




foo_upnp

Reply #708
The server won't start to stream anything before a full buffer of 256Kb of audio is decoded,  which if I take 140Kbps for the mp3 would take about 15 seconds.


correcting myself
This statement is wrong, filling 256Kb of audio won't take 15 seconds as it is not done at 1x speed.

foo_upnp

Reply #709
You stream as -V4 which averages bitrate of 140...185kbps. The server won't start to stream anything before a full buffer of 256Kb of audio is decoded,  which if I take 140Kbps for the mp3 would take about 15 seconds. Then there's the time to transfer that data to the client which might take a few seconds depending on the upload bandwidth of your server.
And finally there's the minimum size of audio the client foobar200 http decoder will need before it starts playing (by default it is 256Kb and is configurable in the network preferences).
To fix this problem and have playback starts ASAP, I'll have to do some testing with low bitrates and auto-compute the internal audio buffer size. But you'll likely have to lower the client's http buffer size in foobar's preferences. In the meantime, if bandwidth is available, stream with a higher bitrate.

I also noticed that your client fetch album art before streaming and that seems to take a few seconds (There's an option to disable album art streaming on the client or the server).
Thanks for the quick reply!  What you say makes sense, so I decreased the client's HTTP buffer to 32kbps, increased streaming bitrate to -V2 and turned off fetch album art. 

But there was no discernible decrease in the loading time between tracks (much longer than 15 seconds) 

Hodge

foo_upnp

Reply #710
But there was no discernible decrease in the loading time between tracks (much longer than 15 seconds)

Delay between tracks is approx. 50 to 55 secs and the file size, file format, bitrate, buffer size, album art have no effect on the delay at all.  It's always 50 to 55 secs. 

You mentioned this might be a network problem in your earlier discussion last November, but I'm not seeing any signs of that here, esp. in in the foo_upnp logs.  I must admit, I'm baffled.

 

foo_upnp

Reply #711
But there was no discernible decrease in the loading time between tracks (much longer than 15 seconds)

Delay between tracks is approx. 50 to 55 secs and the file size, file format, bitrate, buffer size, album art have no effect on the delay at all.  It's always 50 to 55 secs. 

You mentioned this might be a network problem in your earlier discussion last November, but I'm not seeing any signs of that here, esp. in in the foo_upnp logs.  I must admit, I'm baffled.



OK  could reproduce it on the LAN: there's a delay of 50sec between tracks because  foobar2000 as the playing client do not see the end of the mp3 stream, and proceed to next track after a 50 secs timeout. Can you confirm first playing track is not affected by this delay and plays relatively fast ?


foo_upnp

Reply #712
But there was no discernible decrease in the loading time between tracks (much longer than 15 seconds)

Delay between tracks is approx. 50 to 55 secs and the file size, file format, bitrate, buffer size, album art have no effect on the delay at all.  It's always 50 to 55 secs. 

You mentioned this might be a network problem in your earlier discussion last November, but I'm not seeing any signs of that here, esp. in in the foo_upnp logs.  I must admit, I'm baffled.



OK  could reproduce it on the LAN: there's a delay of 50sec between tracks because  foobar2000 as the playing client do not see the end of the mp3 stream, and proceed to next track after a 50 secs timeout. Can you confirm first playing track is not affected by this delay and plays relatively fast ?

Yes, that's the case.  The first track starts up within a second or so.

Hodge

foo_upnp

Reply #713
In ther server "Media Library" list, is there any way to remove all of the folders(Album Artists etc) except the "Folders" folder?


Yes, go into the Server/Content pref page and click "Customize Media Library". This should open an XML file in an editor that you can edit and remove nodes that you do not need.
If the file open in a browser instead of an editor, you'll have to open it manually. It is called foo_upnp_ml_tree.xml and located in your foobar2000 profile directory.


I tried that before.  Maybe I deleted some of the formatting by accident.  Anyways, I just tried it again after letting Foo_UPnP recreate the file.  Now it's working.  Thanks for the fast and helpful reply.

Darren

foo_upnp

Reply #714
Another bugfix release (first post to download)

0.99.23.2

- fix: a few rare crashes
- server: fix: when streaming a track as MP3 transcode, connection was not closed at end of track, causing a long delay between tracks with foobar2000 as the playing client (and most likely others)
- server: fix: when streaming as PCM decode or MP3 transcode, a few audio data was missing at the end of the track (regression introduced in 0.99.23)
- server: fix: bug on the Roku and potentially other renderers where metadata would not be returned for items directly under the Artist node
- controller: made parsing of metadata (DIDL) returned by renderers less strict

foo_upnp

Reply #715
- server: fix: when streaming a track as MP3 transcode, connection was not closed at end of track, causing a long delay between tracks with foobar2000 as the playing client (and most likely others)

That's awesome, bubbles (ever seen "Trailer Park Boys"?  )!  I won't be able to test it until Mon or Tues, but I'll update you then.

Another question:  I can't seem to stop the server from transcoding all files no matter what their format.  Ideally, I'd like to transcode just my lossless files (flac & ape) and stream the MP3s untouched but I can't seem to set up the streaming profiles to do this.  This is probably just my own stupidity in configuring your plugin but I'd appreciate your help.

thanks again,
Hodge

foo_upnp

Reply #716
Another question:  I can't seem to stop the server from transcoding all files no matter what their format.  Ideally, I'd like to transcode just my lossless files (flac & ape) and stream the MP3s untouched but I can't seem to set up the streaming profiles to do this.  This just my own stupidity in configuring your plugin but I'd appreciate your help.


In the MP3 transcode section, set transcode to "Never" and enable the "lossless and" and "Internet" check boxes.
With this settings you'll transcode only lossless files streamed over the Internet.

foo_upnp

Reply #717
From experience it is difficult to troubleshoot PS3 problems especially when wifi is involved. I have no problems with my PS3 using a wired connection. Could you record another log with INFO level, letting the track play for 2-3mins and if possible timing stutter when it happens so I can try to map it to the log ?
The plugin can also stream as mp3 to the PS3 (instead of LPCM): edit the PS3 profile to read "decode always to lpcm except mp3". MP3 is not enabled by default on the PS3 because the PS3 does a few seeks in the mp3 before playing it and it causes 1-3secs delays between files. It is still an interesting test for you to do to compare with WMP streaming as mp3.
Sorry for the delay, but here is the log file as requested:
http://pastebin.com/R2v69Q5q

I stopped the song at about the 1:40 mark, which was a little over 3 minutes real time. It would cut out for about 2-5 seconds every 6 seconds or so. This is using the default profile settings for your plugin and the output is set to 44/88/176 on the PS3. I'm using a wired connection on both my laptop and PS3 (not sure if I made that clear or not).

I tried as you suggested and put mp3 as an exception. It still stutters when I set the output to 44/88/176. It plays back nice and smooth without any interruption when I set the output to 48KHz. One problem however is that songs take about 20-30 seconds to start playing.

foo_upnp

Reply #718
I don't suppose there is an option to update the playcount when a file is played through the UPnP server?

foo_upnp

Reply #719
I don't suppose there is an option to update the playcount when a file is played through the UPnP server?


It is on the todo list, provided there is a way to have it play nice with foo_playcount.

foo_upnp

Reply #720
- server: fix: when streaming a track as MP3 transcode, connection was not closed at end of track, causing a long delay between tracks with foobar2000 as the playing client (and most likely others)

Thanks!  This works!

However, I have an even bigger problem.  I'm streaming music from foobar to my ipod touch via. plugplay and occasionally my ipod connection drops and gets stuck in an endless loop trying to reconnect.  Foobar becomes unresponsive and I can't kill its process using task manager, pskill or even process explorer.  Under process explorer, I see that there are two threads under this process:  foo_upnp.dll!foobar2000_get_interface+0x48ade.  I can't suspend or kill these threads.  My only solution to get both foobar and my ipod wireless connection back up is to reboot.

I haven't run any network diagnostics yet but I'll try to do some in the next couple of days.

Hodge

foo_upnp

Reply #721
Update:  This might be a problem with signal interference with my access point so the problem above might be a symptom, rather than the problem itself.

Still looking into it.

Hodge

foo_upnp

Reply #722
Update:  This might be a problem with signal interference with my access point so the problem above might be a symptom, rather than the problem itself.

Still looking into it.

Hodge


The plugin freezing foobar2000is probably a consequence of these anormal network conditions, yet it shouldn't freeze. If you can reproduce it, it would be useful if you recorded a log to file (INFO level) so I can have an idea on what happens.

foo_upnp

Reply #723
Update:  This might be a problem with signal interference with my access point so the problem above might be a symptom, rather than the problem itself.

Still looking into it.

Hodge


The plugin freezing foobar2000is probably a consequence of these anormal network conditions, yet it shouldn't freeze. If you can reproduce it, it would be useful if you recorded a log to file (INFO level) so I can have an idea on what happens.

Well, I've been trying to duplicate these conditions, but my wireless network has been annoyingly stable for the past 2 days :fingers crossed:

However, since it happened to me twice, it's probably just a matter of time before it happens again.  I've turned on the log file again and I'll post it if it ever freezes again.

Hodge

foo_upnp

Reply #724
Hello,

I tried this plug-in because I was looking for an alternative to a Squeezebox and their server software. I successfully used the server on my WHS to play/push music to my PCH-110 from my client PC but I cannot control the PCH (no seeking or pause). My question is therefore whether I can control a Roku Soundbridge and what is possible with the Soundbridge and is it the best media renderer to pair with this plugin? I am looking for a clean hardware device that will give me bitperfect SPDIF.

Could Soundbridge owners chime in and tell about their experience please?

Thanks in advance,
B.