HydrogenAudio

Hosted Forums => foobar2000 => 3rd Party Plugins - (fb2k) => Topic started by: bubbleguuum on 2009-02-20 17:57:20

Title: foo_upnp
Post by: bubbleguuum on 2009-02-20 17:57:20
Download latest version of plugin 0.99.48 (http://www.foobar2000.org/components/view/foo_upnp) [BETA] [Changelog (http://bubbleguuum.free.fr/foo_upnp/changelog.txt)]
Documentation (http://bubbleguuum.free.fr/foo_upnp/foo_upnp.txt) (work in progress)

Some use cases:

- Use the server to stream audio to a PS3, XBOX360 (using their interface), iPhone (PlugPlayer)
- Push audio from either your local foobar2000 Media Library or another UPnP Media Server to WMP12, an iPhone (PlugPlayer) or another foobar2000 instance on the network.
- Control foobar2000 playback from an iPhone, WMP12, or any other Control Point.
- Browse and play your Media Library and playlists remotely with an Internet connection
- Control a Linn Ds product including making playlists, switching sources, etc.

UPnP AV Media Server

Media Server Browser (UPnP Browser)

Control Point (UPnP Controller)

UPnP AV Renderer


How to enable logging to troubleshoot problems

Logging can be enabled in File->Preferences->Tools->UPnP->Server->Basic. Logging is mostly useful so I can troubleshoot issues when I don't have the hardware or can't reproduce the issue. If log to file is enabled, a log file called foo_upnp.log is generated in either your foobar install directory or in <Document and settins>/<login>/Application Data/foobar2000. This file is overwritten on each foobar2000 launch. You can also see logging in the foobar2000 console by enabling the relevant option. Log level can be changed. Usually the INFO level gives sufficient information but sometimes finer spammy levels are required to troubleshoot some issues.
Title: foo_upnp
Post by: --pv-- on 2009-02-20 18:32:40
Hello,
Sorry that this is not directly related to this component. It seems to be very nice feature to be able to use foobar 2000 to get my music collection streamed accross my home network. Now the question is the browser will only work with columns UI or so called hosts. I have looked at foo_dockable_pannels briefly and it still requires a lot of mouse activity to use it. Is there a solution so I can got this thing setup without requiring usage of the mouse?
Title: foo_upnp
Post by: ExUser on 2009-02-20 18:36:45
I get the following error trying to stream FLACs from one foobar2000 to another:

Code: [Select]
Decoding failure at 0:00.000 (Reported file length changed):
"http://192.168.1.10:56923/content/file:%2f%2fN:%5cNew%20&%20Unsorted%5cMochipet%20-%202009%20-%20Master%20P%20on%20Atari%5c04-Marshall_Bass_Stack.flac.wav?convert=wav&samplerate=44100"
Title: foo_upnp
Post by: bubbleguuum on 2009-02-20 18:47:08
I get the following error trying to stream FLACs from one foobar2000 to another:

Code: [Select]
Decoding failure at 0:00.000 (Reported file length changed):
"http://192.168.1.10:56923/content/file:%2f%2fN:%5cNew%20&%20Unsorted%5cMochipet%20-%202009%20-%20Master%20P%20on%20Atari%5c04-Marshall_Bass_Stack.flac.wav?convert=wav&samplerate=44100"

Yup listed in limitations in the original post, as FLAC is streamed as WAV (FLAC is not a standard UPnP AV audio format). If a dev could explain in which case this error (Reported file length changed) happen I'll be able to correct it.
It probably has something to do with the HTTP Content-length header or the audio size in the WAV header but I'm not sure.
Title: foo_upnp
Post by: bubbleguuum on 2009-02-20 18:49:28
Hello,
Sorry that this is not directly related to this component. It seems to be very nice feature to be able to use foobar 2000 to get my music collection streamed accross my home network. Now the question is the browser will only work with columns UI or so called hosts. I have looked at foo_dockable_pannels briefly and it still requires a lot of mouse activity to use it. Is there a solution so I can got this thing setup without requiring usage of the mouse?


With foo_dockable_panels you just have to create the window panel once, it will be remembered. But it will remain a separate window.
Title: foo_upnp
Post by: --pv-- on 2009-02-20 19:00:04
I guess you are using somekind of treeview in the pannel. since foo_dockable_panels does not create top level windows I'd still need to click that window using mouse in order to get to interact with the window. or do I missunderstand completelly? For me docking implies something visual and since I am blind I always feel I don't understand it correctly.
Title: foo_upnp
Post by: ExUser on 2009-02-20 19:14:31
The size of the file that is reported by your HTTP server is changing. The client receives one value at one time and another value at another time. Specifically, look into the size of the file reported when seeking, as that was explicitly mentioned when I asked Peter directly.
Title: foo_upnp
Post by: ExUser on 2009-02-20 19:17:35
I guess you are using somekind of treeview in the pannel. since foo_dockable_panels does not create top level windows I'd still need to click that window using mouse in order to get to interact with the window. or do I missunderstand completelly? For me docking implies something visual and since I am blind I always feel I don't understand it correctly.
That sounds right.

I suspect that the best use case for you is to use Columns UI, though I really don't know how well that supports the accessibility features you depend on.
Title: foo_upnp
Post by: bubbleguuum on 2009-02-20 20:53:09
The size of the file that is reported by your HTTP server is changing. The client receives one value at one time and another value at another time. Specifically, look into the size of the file reported when seeking, as that was explicitly mentioned when I asked Peter directly.


Thanks, this is helpful and I have found where the problem is in my code
Title: foo_upnp
Post by: ExUser on 2009-02-20 21:03:01
I eagerly await the bug-fix release.
Title: foo_upnp
Post by: ExUser on 2009-02-20 23:28:19
Another weird bug: Somehow this component interferes with metadata from my Vorbis stream. With the component, I get no artist/title metadata (but oddly a couple other fields like DISCNUMBER). Without it, everything works as expected.
Title: foo_upnp
Post by: bubbleguuum on 2009-02-21 00:09:29
Another weird bug: Somehow this component interferes with metadata from my Vorbis stream. With the component, I get no artist/title metadata (but oddly a couple other fields like DISCNUMBER). Without it, everything works as expected.

I'm not too surprised, it is a side effect of the implementation of a custom metadb_display_field_provider that is the cause of this. It processes a few standard fields for display.
I suspect you have one also, and the two interfere.

When the item is not managed by my plugin, my custom metadb_display_field_provider class  just call titleformat_hook_impl_file_info::process_field() (see code below) .
Instead it should let foobar call other providers but I don't know if it is possible (returning false in process_field() will just leave the fields unprocessed...).

Btw 0.81 released (first post) now able to play all audio formats .

Code: [Select]
bool process_field(t_uint32 index, metadb_handle * handle, titleformat_text_out * out) {

        string8 field;
        get_field_name(index, field);

        const file_info *finfo = NULL;

        if(handle->get_info_async_locked(finfo)) {
            const char *codec = finfo->info_get("codec");
            if(codec && strcmp(codec, "PCM") == 0) {
                browser_window::get_instance()->get_file_info(handle, finfo);
            }
        } else {
            browser_window::get_instance()->get_file_info(handle, finfo);
        }

        if(finfo) {
            bool flag;
            titleformat_hook_impl_file_info hook(handle->get_location(), finfo);
            hook.process_field(out, field, field.get_length(), flag);
        }
        return true;
    }
Title: foo_upnp
Post by: Peter on 2009-02-21 01:08:35
bubbleguuum, your metadb_display_field_provider use is critically flawed and probably breaks all mid-stream metadata processing for streams that your component isn't handling, please remove it or your component will be put on the list of problematic components. You're falling back to static track information cached in the metadb, which doesn't contain realtime playback information. If you try to hackfix this, you start feeding playback information to callers that don't want it, which is just as bad.

Rant: no matter how clearly documented the API is, people will just happily ignore what the documentation says anyway and then waste other people's time with "component A can't coexist with component B" problems.
Title: foo_upnp
Post by: bubbleguuum on 2009-02-21 01:23:54
bubbleguuum, your metadb_display_field_provider use is critically flawed and probably breaks all mid-stream metadata processing for streams that your component isn't handling, please remove it or your component will be put on the list of problematic components. You're falling back to static track information cached in the metadb, which doesn't contain realtime playback information. If you try to hackfix this, you start feeding playback information to callers that don't want it, which is just as bad.

Rant: no matter how clearly documented the API is, people will just happily ignore what the documentation says anyway and then waste other people's time with "component A can't coexist with component B" problems.


I had the feeling this was broken when I coded it to be honest. I posted a message about it in the development forum a few days ago that went unanswered.
I may be wrong but it looks like file_info cannot be written without being written to disk. In that case how should I proceed if metadb_display_field_provider is innapropriate? Oh yes I could present empty items in the playlist and info will be displayed when played, right ?

Rant: no matter how you ask for help in the development forum on some finer point of the SDK, sometimes you get no anwser. And the documentation does not explain all, far from it.
Title: foo_upnp
Post by: Peter on 2009-02-21 01:43:01
The exact thing you asked for is inherently incompatible with the 0.9.x metadb design. If there was a simple answer to your question, you'd probably have gotten one.
Can't you simply accept the fact that the foobar2000 architecture was not designed with your exact scenario in mind and stop trying to hack around the limitations?

I can think of one reasonable solution to this situation - it might seem ugly but it avoids all the landmines:
- Don't pass http:// URLs to foobar2000 - obscure them somehow to generate URLs that existing inputs won't attempt to play - eg. upnpstream://<base64-encoded-original-url-string>
- Implement your own input class that plays your streams and invokes other inputs to do the decoding; you have full power over returned metadata so you can return whatever you want and it stays in the metadb. If your metadata changes in mid-stream, use get_dynamic_info() / get_dynamic_info_track() to signal such changes; components displaying real-time playback information will render that information.
- Since the real HTTP URL is obscured, you might want to return it in tech infos or something like that for people who care.
Title: foo_upnp
Post by: bubbleguuum on 2009-02-21 01:56:23
The exact thing you asked for is inherently incompatible with the 0.9.x metadb design. If there was a simple answer to your question, you'd probably have gotten one.
Can't you simply accept the fact that the foobar2000 architecture was not designed with your exact scenario in mind and stop trying to hack around the limitations?

I can think of one reasonable solution to this situation - it might seem ugly but it avoids all the landmines:
- Don't pass http:// URLs to foobar2000 - obscure them somehow to generate URLs that existing inputs won't attempt to play - eg. upnpstream://<base64-encoded-original-url-string>
- Implement your own input class that plays your streams and invokes other inputs to do the decoding; you have full power over returned metadata so you can return whatever you want and it stays in the metadb. If your metadata changes in mid-stream, use get_dynamic_info() / get_dynamic_info_track() to signal such changes; components displaying real-time playback information will render that information.
- Since the real HTTP URL is obscured, you might want to return it in tech infos or something like that for people who care.


Thanks for the info, I'll look into it. One last question:  using a custom input class will I have control over the metadata (ie file_info) before the user plays anything (ie starts decoding) ?
Title: foo_upnp
Post by: Peter on 2009-02-21 02:06:19
Yes, you can implement your own equivalent of tag reading and return any info you want, it will be kept by the metadb and shown in playlist even before the user plays your streams.
Note that you should add items to a playlist using playlist_incoming_item_filter_v2::process_locations_async() or alike, they will fetch metadata from your input class if necessary. Creating metadb_handles yourself and adding them directly may bypass that, so the metadata won't be seen until the stream is played for the first time.
Title: foo_upnp
Post by: TomBarlow on 2009-02-21 10:14:14
Hmm this is probably related to the stuff discussed above that I don't understand, but this component seems to break square brackets across foobar- in playlists, the window title etc, e.g. [%tracknumber%] returns '?' instead of nothing as it should...
Title: foo_upnp
Post by: --pv-- on 2009-02-21 20:20:16
I feel nausea is also doing this in his foo_lastfm_radio. At least he has also been asking how to add his own metadata into the files before playing.

Might there be a chance for native default user interface compatible version in the future?
Title: foo_upnp
Post by: bubbleguuum on 2009-02-21 20:38:14
I feel nausea is also doing this in his foo_lastfm_radio. At least he has also been asking how to add his own metadata into the files before playing.


I'm applying the method described by Peter and it works well, a rerelease of this plugin is not too far .

Quote
Might there be a chance for native default user interface compatible version in the future?


When the UI Elements SDK will be available this will be possible.
Title: foo_upnp
Post by: bubbleguuum on 2009-02-23 21:40:38
v 0.9 (beta)  (first post to download)

- fix:removed ugly metadb_display_field_provider hook causing all sorts of problems. Now remote items use the upnp:// protocol and persists across foobar sessions. Metadata retrieved at browse time is augmented with real decoder info at decode time. The same File Operations than the http filesystem are supported: you can copy remote items, however there's a small issue with it (see notes below)
these items will be playable as long as the remote server is running and the urls valid.
- fix: now able to browse and play music from any UPnP media server. Tested with WMP, Nero Media Home.
- fix: don't crash if no resource in a music item
- add: tree browser now configurable for right and left click action on node. Actions are: send to current playlist, add to current playlist, send to new playlist, send to UPnP browser playlist, show context menu. Use right click somewhere not on the tree to configure this behaviour.

Notes:

- WMP takes a long time to show up in the server list, ususally it appears within a few mins
- Nero media home does not appear in list if started after the plugin
- File operation->copy files works (with servers that supports http seeking), but copied files have no extension (had a solution for this but conflicts with something else)
Title: foo_upnp
Post by: ExUser on 2009-02-23 23:25:20
Thanks for the new version! It works better than the last version. There are still a few bugs to work out though.

Title: foo_upnp
Post by: bubbleguuum on 2009-02-23 23:56:58
Thanks for the new version! It works better than the last version. There are still a few bugs to work out though.

  • Playlists do not appear to update without restarting.
  • I can't seem to be able to use it to stream modules at all. I'm using foo_dumb with cyberride by jester (http://ftp://ftp.mpoli.fi/pub/skene/MUSIC/OTHER/CYB.ZIP) to test.
  • When I manually stop the server, it restarts when foobar2000 is restarted. There are a couple places where I want to use foo_upnp strictly as a client and not as a server.
  • Not a bug, but I'd prefer a proper Preferences dialog page to configure the context menu rather than the current "right-click-on-whitespace" method.


1. Remote library changes notifications to the client are not implemented. The UPnP spec says something about that but it's quite complicated to implement and I'm
not sure that many servers implement it. I'll probably have a go at it just for completeness and the challenge
In the current version, once a node is loaded it won't change its content.

2. This format do not define the technical info "samplerate" which the transcode to PCM needs. I can work around that but look for direct streaming of the original file format (FLAC, MOD , whatever) in the next version instead.

3. Works here, not suer what happened (can you reproduce it ?)

4. This will probably gets a conf page as there are more things to configure

Title: foo_upnp
Post by: ExUser on 2009-02-24 00:02:26
Yep. Easily reproduced. I click the "Stop Server" button, it says the server is stopped. I close foobar2000. I re-open foobar2000. The server is running again.
Title: foo_upnp
Post by: bubbleguuum on 2009-02-24 00:14:47
Yep. Easily reproduced. I click the "Stop Server" button, it says the server is stopped. I close foobar2000. I re-open foobar2000. The server is running again.


No problem here. Did you remove foo_upnp_mediaserver.dll ?
Title: foo_upnp
Post by: ExUser on 2009-02-24 00:34:49
Yes.
Title: foo_upnp
Post by: Kohlrabi on 2009-02-24 00:38:53
Great plugin, coincidentally I was just looking for a way to access my Album List remotely, keep up the good work. 

Just two features I'm hoping for in the future: Is it possible to expand the program to allow streaming of vorbis files/streams? And is the program expandable to allow transcoding non-streamable formats to MP3/AAC/WMA? (maybe using the builtin foobar converter somehow?)
Title: foo_upnp
Post by: bubbleguuum on 2009-02-24 00:43:12
Yes.



Got it! configuration is not saved in foo_dockable_panels but is saved when running columns ui. I'm guessing you use the former.
Title: foo_upnp
Post by: ExUser on 2009-02-24 00:45:31
You got it.
Title: foo_upnp
Post by: supertramp on 2009-02-24 04:19:16
bubbleguuum,

I can't seem to get .90 (or earlier versions) working with Roku Soundbridge client(s). Tried transcoding FLAC (WAV and LPCM), and also pulling down MP3 w/o transcoding, but in all cases SB displays "can't play selection" error message. Cycling through each selected file displays the same error.

I have 2 SB's connected to the network. Browsing from the client devices works fine.

Also, .90 doesn't retain settings. Relaunching foobar returns to default settings in all cases.

Any ideas?  Anybody else got it working on Roku devices?

Title: foo_upnp
Post by: bubbleguuum on 2009-02-24 10:38:00
bubbleguuum,

I can't seem to get .90 (or earlier versions) working with Roku Soundbridge client(s). Tried transcoding FLAC (WAV and LPCM), and also pulling down MP3 w/o transcoding, but in all cases SB displays "can't play selection" error message. Cycling through each selected file displays the same error.

I have 2 SB's connected to the network. Browsing from the client devices works fine.


These problems are hard to solve without having the actual hardware to test, each device behaving in its own quircky ways...
I'll put up instructions easy to follow (if you're a bit technical) to sniff the HTTP traffic between the device and the plugin.

Quote
Also, .90 doesn't retain settings. Relaunching foobar returns to default settings in all cases.


That's only the case when running with foo_dockable_panels. I'll have a fix for this tonight.
Title: foo_upnp
Post by: Zbih on 2009-02-24 12:50:57
hi, with foobar 0.9.6.3 beta 2 it doesn't save changes in upnp media server setting, after foobar restart options go back to default

ps. is it possible to add by album sorting in every playlist (not only in media library) on PS3?
Title: foo_upnp
Post by: supertramp on 2009-02-24 14:07:31
If you post instructions for sniffing, I'll try to help out. This might help, however:  I have another upnp server that works reliably with the Roku. It maintains and displays a list of quirks for various units.  Here are some examples:

Roku Soundbridge: skip child count.
Netgear MP101: replace empty genre, include sessionID, filter international characters
Buffalo Linktheater: Include sessionID, allow visual content, filter international characters
DLink DSM-320: Shrink large images, include sessionID, no server header, allow visual content, filter international characters

The other quirks on the list (i.e., not mentioned above) are: use flat URLs, omit host portion of URL, experimental DLNA

Perhaps this will help track down some compatibility issues?

Title: foo_upnp
Post by: Jorgo on 2009-02-25 20:18:17
I'm having the same problems as Supertramp with the Popcorn Hour. I see all the pretty lists but can't play any items.
Title: foo_upnp
Post by: bubbleguuum on 2009-02-25 20:30:24
I stongly suspect those device to not like the very long URLs the plugin generates. I have another naming scheme that produce way shorter and simpler URL at the expense of them
not to be valid between server restart which is usually no problem when used with such devices. I'll send you a test version if you wish we'll see how it goes.
In the meantime, can you say if your device works with WMP or Nero Media Home as the server ?


EDIT: I remember reading somewhere that the Popcorn Hour only support UPnP for video.
Title: foo_upnp
Post by: Galova on 2009-02-25 22:22:28
oh. my dreams come true

thank you very much. I must try it immediatly
Title: foo_upnp
Post by: bubbleguuum on 2009-02-25 22:59:41
Many goodies and polishing in this version! (first post to download)

v 0.91

- new: ability to stream all file formats without any conversion to WAV/LPCM  (option "stream all files in their orignal format if possible").
  Exceptions are tracks with a subsong id (FLAC + CUE for example) which are always streamed as WAV or LPCM.
- new: option to not list the server in the local UPnP browser (by default it is hidden to local browser)
- new: in configuration panel, button to quickly set server settings for use with this plugin as the client
- fix: save config when running under foo_dockable_panels. On first launch this will reset conf but it will be preserved in future versions.
- fix: starting the server in the configuration dialog was using the old settings (not the displayed one)
- fix: plugin was slowing down foobar when exiting app
- fix: better handling of merge of metadata+technical info coming from metadb cache, upnp browse info and http decode info.
- fix: server: ability to stream as WAV/LPCM formats that do not define technical info "samplerate" (hello mods and foo_dumb!)
- chg: server: do not expose upnp:// items to clients else it could get funny!

known issues:

- seeking in FLAC files streamed as FLAC can give random "Unsupported file format" errors
- in pref page, when closing the page and the server is restarted because of a settings change and the server set to be  visible in the local UPnP browser,
  this will freeze foobar (deadlock). This does not happen when doing start/stop server manually.
Title: foo_upnp
Post by: saivert on 2009-02-26 00:28:57
Warning against foo_dockable_panels:
I advise against using foo_dockable_panels to use the UPnP browser panel. If you need this switch to using Columns UI (http://yuo.be/columns.php) instead (it's not that different from Default UI in functionality and has been improved a lot since it's early days).
foo_dockable_panels uses hacks to get around things in foobar2000 which is prohibited expressively. Also it uses unstable code and it actually caused foo_upnp to lock up and crash.
foo_upnp has enough bugs as it is (no offense) so adding other unstable components to the mix is not the smartest thing you can do.
Until buublegum is allowed access to the UI Elements SDK or it's released for everybody, the only sane way to use the UPnP Browser is by using Columns UI.
This is not meant as an assault on anyone particular. I'm just trying to help out.

And now for a bug report:
- Using foo_upnp to stream files to itself within the same foobar2000 instance crashes foobar2000.
- Multiple issues with the preferences page as long as the UPnP browser panel is visible. Users are advised to only use foo_upnp as a server or a client, but not both at the same time in a single foobar2000 instance.

Also a tip when using Windows Media Player on the client side to test foo_upnp:
Windows Media Player caches media items from UPnP servers so be sure to restart WMP and refresh the list view to get rid of non-working items. I was caught by this issue after wondering why some options in foo_upnp didn't take effect.
Title: foo_upnp
Post by: Kohlrabi on 2009-02-26 12:06:01
v 0.91

- new: ability to stream all file formats without any conversion to WAV/LPCM  (option "stream all files in their orignal format if possible").
  Exceptions are tracks with a subsong id (FLAC + CUE for example) which are always streamed as WAV or LPCM.


yay! 

will try it out later when I'm home.
Title: foo_upnp
Post by: bubbleguuum on 2009-02-26 14:54:31
- Using foo_upnp to stream files to itself within the same foobar2000 instance crashes foobar2000.


More details on this ? It does not crash on my PC but I know it could be problematic.
Send the crash backtrace. It'll be useful as there is debug info and I should now where it crashes.

Quote
- Multiple issues with the preferences page as long as the UPnP browser panel is visible. Users are advised to only use foo_upnp as a server or a client, but not both at the same time in a single foobar2000 instance.


In my experience there are potential problems only when doing loopback [local server visible to local client] (see above), which is not very useful to end user and that I'll disable in the next version.
Title: foo_upnp
Post by: bubbleguuum on 2009-02-26 19:13:03
v 0.92

- fix broken directories dragged into a playlist
- do not allow browsing local server anymore
Title: foo_upnp
Post by: Jorgo on 2009-02-27 11:30:05
I stongly suspect those device to not like the very long URLs the plugin generates. I have another naming scheme that produce way shorter and simpler URL at the expense of them
not to be valid between server restart which is usually no problem when used with such devices. I'll send you a test version if you wish we'll see how it goes.
In the meantime, can you say if your device works with WMP or Nero Media Home as the server ?

EDIT: I remember reading somewhere that the Popcorn Hour only support UPnP for video.


Here's an excerpt from the PCH Wiki. It states that basic UPnP support is available for both video and audio and a list working controllers:
http://www.networkedmediatank.com/wiki/index.php/UPnP (http://www.networkedmediatank.com/wiki/index.php/UPnP)


Title: foo_upnp
Post by: Peter on 2009-02-27 11:52:35
- fix broken directories dragged into a playlist
Out of curiosity: how did you break that in first place? We've had components do things like this before, it would be interesting to know how exactly for future reference.
Title: foo_upnp
Post by: bubbleguuum on 2009-02-27 14:02:40
- fix broken directories dragged into a playlist
Out of curiosity: how did you break that in first place? We've had components do things like this before, it would be interesting to know how exactly for future reference.


It is due a misuse of the undocumented filesystem::get_canonical_path() API. My plugin which use a filesystem subclass, was returning true in this function. It happens that in some cases (dropping the directory in a playlist is one of them) foobar core calls this function (from filesystem::g_get_canonical_path()) even if filesystem::is_our_path () or file_system::supports_content_type() returns false. 
returning true in filesystem::get_canonical_path()  made the core think my filesystem implementation was handling the directory path, hence the bug.
I'm still not sure what the canonical path is, and what its purpose is.
Curiously since services seems to not be initialized in the same order between foobar runs, sometimes my filesystem impl was registered after the legit file:// impl and there was no bug.

I have another question related to opening files. This plugin defines an input_entry subclass as well as a filesystem subclass. The only filesystem subclass purpose is to allow on upnp:// items the same file operations than http, namely copying remote files. The file operation dialog uses the item path to know what is the file extension for the copied file. I don't have any extension in my upnp:// paths so the copied files would be without extension. To overcome this I added the correct extension to my upnp:// path but in that case, when playing an upnp:// item in most case input_entry::open() was called but to my surprise in other cases it was filesystem::open(). In the case filesystem::open() was called it would then turn to later call the open() function of the http input_entry, which obviously don't work. So it seems the behaviour is different if a path has an extension or not. In my case I'd like it to have an extension to make file operations find the extension, but the call to  filesystem::open() gets in the way in normal decoding. Any idea or workaround to solve that issue ?
Title: foo_upnp
Post by: Kohlrabi on 2009-02-27 14:03:52
I can't see any foobar UPnP servers in the foobar UPnP browser anymore with version 0.92. WMP sees them fine, but crashes when trying to play vorbis (maybe some directshow filter problem), but plays WAV and MP3.

Title: foo_upnp
Post by: bubbleguuum on 2009-02-27 14:09:04
I can't see any foobar UPnP servers in the foobar UPnP browser anymore with version 0.92. WMP sees them fine, but crashes when trying to play vorbis (maybe some directshow filter problem), but plays WAV and MP3.


probably due to a change in the latest versio. I'll check that later today
Title: foo_upnp
Post by: Peter on 2009-02-27 15:20:13
It is due a misuse of the undocumented filesystem::get_canonical_path() API. My plugin which use a filesystem subclass, was returning true in this function. It happens that in some cases (dropping the directory in a playlist is one of them) foobar core calls this function (from filesystem::g_get_canonical_path()) even if filesystem::is_our_path () or file_system::supports_content_type() returns false.
That API indeed isn't properly documented, I'm sorry for that. I wasn't really expecting third party components to try to reimplement it. Thanks for bringing this to my attention though, I will provide better documentation with the next SDK update.
Anyway, get_canonical_path() is called without is_our_path() checks because it has to accept local filesystem paths without the file:// and turn them into proper file:// strings. You should perform checks for the path being something that you recognize on your own (as you can figure out from filesystem::g_get_canonical_path() code).
Quote
Curiously since services seems to not be initialized in the same order between foobar runs, sometimes my filesystem impl was registered after the legit file:// impl and there was no bug.
This is by design. Order of services is undefined and randomized on each startup. Otherwise you could end with DLL loading order always giving you the scenario not triggering service order dependency bugs on your system and never notice anything wrong or be unable to reproduce problems reported by users. Some components that were in circulation long ago did exactly that, sometimes even without the author knowing that there was something wrong ("works for me").
Quote
I have another question related to opening files. This plugin defines an input_entry subclass as well as a filesystem subclass. The only filesystem subclass purpose is to allow on upnp:// items the same file operations than http, namely copying remote files. The file operation dialog uses the item path to know what is the file extension for the copied file. I don't have any extension in my upnp:// paths so the copied files would be without extension. To overcome this I added the correct extension to my upnp:// path but in that case, when playing an upnp:// item in most case input_entry::open() was called but to my surprise in other cases it was filesystem::open(). In the case filesystem::open() was called it would then turn to later call the open() function of the http input_entry, which obviously don't work. So it seems the behaviour is different if a path has an extension or not. In my case I'd like it to have an extension to make file operations find the extension, but the call to  filesystem::open() gets in the way in normal decoding. Any idea or workaround to solve that issue ?
I'm sorry but I can't think of any way to deal with this right now. This is an inherent negative side effect of the custom input trick. I suppose you could provide a custom context menu command to download files instead and get rid of the filesystem service entirely. I'll consider adding some other way for the File Operations component to determine target file extensions.
Title: foo_upnp
Post by: Galova on 2009-02-27 19:37:55
Is it possible in upcoming versions to make it possible integrating plugin's UI into built-in user interface (not as a columns_ui panel)?
Title: foo_upnp
Post by: callisto on 2009-02-27 20:00:21
already asked:

Quote
Might there be a chance for native default user interface compatible version in the future?


When the UI Elements SDK will be available this will be possible.

Title: foo_upnp
Post by: Galova on 2009-02-27 20:50:58
oh, sorry. i must have missed this
Title: foo_upnp
Post by: bubbleguuum on 2009-02-28 11:33:11
mainly a bugfix release

v 0.93

- fix (regression): server was not visible to foobar clients anymore
- fix (regression): WMP was not able to play content streamed as WAV anymore
- fix: on foobar shutdown, server byebye was not notified to clients
- add: preset settings for WMP client
- add: server: added option to not allow seeking (used only to stream to WMP for now)

Title: foo_upnp
Post by: The Link on 2009-02-28 11:43:19
This release seems to work very well so far. Just one small thing: With the foobar preset applied streaming mpc files doesn't work. Disabling "Stream all files ..." makes it work again though. I guess not every file format can be streamed even if it's a foobar client and server.
Title: foo_upnp
Post by: bubbleguuum on 2009-02-28 11:51:13
This release seems to work very well so far. Just one small thing: With the foobar preset applied streaming mpc files doesn't work. Disabling "Stream all files ..." makes it work again though. I guess not every file format can be streamed even if it's a foobar client and server.


Don't forget that when using  "Stream all files ..." you need on the local playing foobar, the correct codec. Check that the mpc codec is installed. When streaming as WAV it is the reverse: you need the codec on the server, not the client.
Title: foo_upnp
Post by: The Link on 2009-02-28 12:12:30
Don't forget that when using  "Stream all files ..." you need on the local playing foobar, the correct codec. Check that the mpc codec is installed. When streaming as WAV it is the reverse: you need the codec on the server, not the client.
MPC decoding support is a native feature of foobar.
Title: foo_upnp
Post by: bubbleguuum on 2009-02-28 12:27:49
Don't forget that when using  "Stream all files ..." you need on the local playing foobar, the correct codec. Check that the mpc codec is installed. When streaming as WAV it is the reverse: you need the codec on the server, not the client.
MPC decoding support is a native feature of foobar.


Ah exact forgot about that. MPC does not seem to be streamable directly via http, I get the same error using my provider's http server.
Title: foo_upnp
Post by: Peter on 2009-02-28 12:49:23
For uninteresting technical reasons playback of MPC files over HTTP is currently not supported.
Title: foo_upnp
Post by: Kohlrabi on 2009-02-28 16:47:21
Don't forget that when using  "Stream all files ..." you need on the local playing foobar, the correct codec. Check that the mpc codec is installed. When streaming as WAV it is the reverse: you need the codec on the server, not the client.
MPC decoding support is a native feature of foobar.


Ah exact forgot about that. MPC does not seem to be streamable directly via http, I get the same error using my provider's http server.


as far as I know (http://wiki.hydrogenaudio.org/index.php?title=Musepack (http://wiki.hydrogenaudio.org/index.php?title=Musepack)) MPC isn't streamable (yet). SV8 of MPC should include streaming support, though it's still beta and I'm unsure if the streaming support is enabled in the beta. Foobar already plays back SV8, though.

EDIT: whoops, just saw Peter's reply...
Title: foo_upnp
Post by: QuickoS on 2009-03-01 19:44:25
hi! first of all well done for this plugin.
I wondering if there is any way to show the media library by directory structure instead of By Album, Artist...  (an option like in Album list panel)?
if yes, how to proceed ?
if no, is it planed for a newer version ?
Thanks
Title: foo_upnp
Post by: bubbleguuum on 2009-03-02 23:08:30
v 0.94

- chg: preferences are splitted on several pages + pref page for the Browser
- add: browser: fetch remote album art (can be disabled in UPnP browser prefs). Work with components using foobar builtin album art interface
- add: browser: preference settings to automatically remove all remote items in all playlists when a server disconnects (off by default). Useful with server not generating persistent URLs
- add: server: preference settings to generate non-persistent URLs, simpler to parse for some hardware clients (off by default)
- add: server: preference settings to toggle generation of DLNA protocol info, toggle off may be needed for some hardware clients
- chg (cosmetic): round returned track duration to the nearest greatest second, like foobar does.
- fix: server: always stream Musepack files as WAV/LPCM
- fix: server: files with '(' or ')' in path were not playable
Title: foo_upnp
Post by: Jorgo on 2009-03-03 17:34:31
OK! I can now play mp3, aac and wma on the Popcorn Hour! I think I've tried all possible settings combinations, but somehow I can't make the other files play. The best I've got is a valid sound file icon instead of an exclamation mark when I used WAV instead of PCM for decoding, but playback never starts.

Keep up the good work!
Title: foo_upnp
Post by: ZetaEpyon on 2009-03-04 17:33:26
hi! first of all well done for this plugin.
I wondering if there is any way to show the media library by directory structure instead of By Album, Artist...  (an option like in Album list panel)?
if yes, how to proceed ?
if no, is it planed for a newer version ?
Thanks


I too had a thought regarding the display of the media library. I use a ton of custom tags in my files, mostly to have both the tags in the original text (Japanese in my case) as well as a romanized format. If there was some way to specify a custom sort order for the library, this plugin would be about perfect in my opinion.
Title: foo_upnp
Post by: Jorgo on 2009-03-04 20:19:08
I use a ton of custom tags in my files, mostly to have both the tags in the original text (Japanese in my case) as well as a romanized format. If there was some way to specify a custom sort order for the library, this plugin would be about perfect in my opinion.


Regarding Japanese Kanji, are they showing up alright in your client? On my Popcorn Hour, anything that is not us ascii looks garbled.
Title: foo_upnp
Post by: bubbleguuum on 2009-03-04 20:38:32
I use a ton of custom tags in my files, mostly to have both the tags in the original text (Japanese in my case) as well as a romanized format. If there was some way to specify a custom sort order for the library, this plugin would be about perfect in my opinion.


Regarding Japanese Kanji, are they showing up alright in your client? On my Popcorn Hour, anything that is not us ascii looks garbled.



That's due to the fact the upnp lib I use do not encode strings as utf-8 which it should do according to the UPNP spec.
And then you'd have to pray for your player to decode utf-8 well
Title: foo_upnp
Post by: Jorgo on 2009-03-05 06:25:43
That's due to the fact the upnp lib I use do not encode strings as utf-8 which it should do according to the UPNP spec.
And then you'd have to pray for your player to decode utf-8 well


That's one thing I KNOW it does

Title: foo_upnp
Post by: Foster on 2009-03-05 08:46:05
Hi@all,


first of all: great work and great plugin!

I was trying to connect to the foo_upnp-server from a windows mediaroom system and hadn't much luck with it. I read here that wmp is capable to connect to foo_upnp-server. Can someone point to the right direction on to get it managed. Or does I missunderstood something? Is here somebody else which is working with a windows mediaroom system?

Any suggestions would be great!


Greetz,
Rainer
Title: foo_upnp
Post by: ZetaEpyon on 2009-03-05 19:33:03
Regarding Japanese Kanji, are they showing up alright in your client? On my Popcorn Hour, anything that is not us ascii looks garbled.


I believe they do show up ok, but I'll have to check this when I get home; I'm using a PS3, which is certainly capable of rendering UTF-8 characters.

In any case, I could live without correctly rendered Japanese text if I could access the custom tags.
Title: foo_upnp
Post by: ZetaEpyon on 2009-03-06 06:04:28
Yep, Japanese text definitely comes through correctly on PS3:
(http://images.theyarden.net/jptextps3.jpg)

Obviously, I'm not getting any album art, though.
Title: foo_upnp
Post by: odyssey on 2009-03-06 17:42:22
This is a really cool component! But I'm a little curious: Is it possible to expose this server through my router/firewall and access it from the internet (at work etc.)?

If this is possible, it would be really cool if it was able to stream a less bandwidth consuming format, like mp3 (as it's dlna compliant).
Title: foo_upnp
Post by: bubbleguuum on 2009-03-06 19:15:38
This is a really cool component! But I'm a little curious: Is it possible to expose this server through my router/firewall and access it from the internet (at work etc.)?


This is something I thought would be cool and I want to do but it will take some time. This could make this plugin useful to more people.

Quote
If this is possible, it would be really cool if it was able to stream a less bandwidth consuming format, like mp3 (as it's dlna compliant).


I suppose you mean transcoding lossless to mp3. This will be almost mandatory with the feature above (access from internet).
Title: foo_upnp
Post by: TsiRoadkill on 2009-03-07 20:53:14
Does anyone know of a iphone client that will work with this?
Title: foo_upnp
Post by: bubbleguuum on 2009-03-07 22:12:51
Does anyone know of a iphone client that will work with this?



There's PlugPlayer. if you try it, tell us if it work (there's no reason it shouldn't) .
Title: foo_upnp
Post by: TsiRoadkill on 2009-03-08 03:08:58
Does anyone know of a iphone client that will work with this?



There's PlugPlayer. if you try it, tell us if it work (there's no reason it shouldn't) .


I got plug player but it does not seem to auto detect the server. What would be the proper address to make it work?
Title: foo_upnp
Post by: bubbleguuum on 2009-03-08 09:56:59
I got plug player but it does not seem to auto detect the server. What would be the proper address to make it work?


It could be your firewall getting in the way and blocking broadcast traffic (Kerio personal firewall  does that by default).
So to test that it is the firewall, you could disable it (you might want to not be connected to the internet while trying that).
You can also share some files with Windows Media Player and see if PlugPlayer see it.
Finally check that the server is started (in the Status pref page). Sounds silly but you never know...
You can also have a look at the tversity faq (http://tversity.com/support/faq/#troubleshooting-faq) concerning possible network problems as well as this one about firewalls (http://sites.google.com/site/ustreamhome/Home/faq-1).

As for the URL, you can try http://<your pc ip>:56923.
Title: foo_upnp
Post by: supertramp on 2009-03-10 01:26:35
Bubleguuum, FWIW, Roku still doesn't worku with .94 beta. Tried different combinations of options, with and w/o DLNA, for example, and with different format files. Browses fine, but then fails to retrieve the file (no buffering, just the error message). Tried 2 different units and two different computers; all necessary ports are open.

Anybody else using this plug-in with Roku Soundbridge successfully?
Title: foo_upnp
Post by: bubbleguuum on 2009-03-12 00:43:19
New release (first post to download) with the last significant feature of this plugin: remote access of your foobar collection from the Internet (or the WAN), all within foobar.
That means that yes, you can access and stream from work your collection at home.

To configure remote Internet access you have to set some params  in Server/Advanced settings:

- public server IP: this is your static visible internet IP address. If you're using a router and the server runs under a PC using NAT, you'll have to configure your router to redirect incoming traffic
on the configured server port to the private IP of your PC running the server. Example: your public  IP is 1.2.3.4 and your PC IP running the server on the LAN is 192.168.1.100, and the server runs on port 5678. You have to configure
your router to redirect incoming traffic on port 5678 to the PC 192.168.1.100 of your LAN. If there's a firewall as well it must be configured to allow incoming connection on this port.
- login/password: a login and password to protect remote access. This is not super secure but should be sufficient for the purpose. Do not use an important password.

To test that the server is accessible from outside, connect to it with your browser using http://<public ip>:<server port> and you should see a blank page.

Note that it is possible to use port 80 as the server's port. This can be useful if other non-standard ports are not allowed by your admin.

To connect to a remote server, use the contextual menu in the UPnP Browser panel and select "Add remote foobar2000 server". If all goes well after you set the ip/login/port/password,
the remote server should appear in the browser. A remote server can be removed by the context-menu on its node. For security reasons remote items are never persistents and do not survive a server restart.

Along with Internet access, it's now possible to transcode audio to mp3. Look into Server/Streamed Audio for configuration.


v 0.95 (BETA)

- remote internet access
- transcoding to mp3
- various small fixes.

known limitations
---------------------

- no error messages at all in case of failure at connection
- may not work with multiple remote servers (untested).
Title: foo_upnp
Post by: cmdrpaddy on 2009-03-12 01:37:57
Is there anything that has to be done to get album art working on a PS3? Do the files have to be named in a particular way?

Title: foo_upnp
Post by: NullString on 2009-03-12 01:50:09
hey! this component is great.
Bad thing that xbox360 is not standard compliant for the upnp stuff.

If you are interesed, there's a modification to a streaming software for ubuntu, ushare, made by some guy 'NeToU' (http://netou.co.uk/) that added the feature streaming to xbox360. (It's written in C, but I guess the core of the problem in the upnp stuff is how to pass the stream to the xbox, so looking in the source code for references to the "xbox360 streaming enabled" flag, we've got this ocurrences:
(the license first)
Code: [Select]
/*
* Originally developped for the GeeXboX project.
* Copyright (C) 2005-2007 Benjamin Zores <ben@geexbox.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
* GNU Library General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/

First one, cds.c (line 860)
Code: [Select]
 /* Don't confuse the 360 container IDs with uShares content directory container IDs */
  if(ut->xbox360)
  {
      entry = upnp_get_entry (ut, 0);
  }
  else
  {
      entry = upnp_get_entry (ut, id);
      if (!entry && (id < ut->starting_id))
        entry = upnp_get_entry (ut, ut->starting_id);
  }

Second one, metadata.c (line 199)
Code: [Select]
if (ut->xbox360)
  {
    if (ut->root_entry)
      entry->id = ut->starting_id + ut->nr_entries++;
    else
      entry->id = 0; /* Creating the root node so don't use the usual IDs */
  }
  else
    entry->id = ut->starting_id + ut->nr_entries++;


Of course ushare's code is totally different to your implementation of upnp, but maybe there's a solution in the source code.
The source code is available at the developer's blog (http://netou.co.uk/?p=28)
Title: foo_upnp
Post by: Yirkha on 2009-03-12 09:21:37
Code under GPL license can't ever be used in foobar2000 components, fyi.
Title: foo_upnp
Post by: --pv-- on 2009-03-12 12:59:56
Anyway I believe bubbleguuum can use it as a study material if he's interested. No one can disallow that.

This plugin seems to provide planty usefull features. Is there a place where I can seriously suggest making DUI SDK available so it can be really integrated without requiring columns UI?
Or in other words can anybody suggest a correct way of trying to achieve my goal?
Yes maybe you are about to say it can be done when it all matures and proves it-self stable. I see it from a different point of view. Bubbleguuum seems to be motivated right now and he's doing a lot of hard but fantastic work these days. Why FB2k team cant open the gates and make it a little easier for him?
To put some tags I'd say: Foobar 2000, accessibility, default user interface, keyboard access, streaming....
Title: foo_upnp
Post by: bubbleguuum on 2009-03-12 20:59:58
@cmdrpaddy:  I don't think album art streaming to the PS3 ever worked, and I don't have one to test anymore. The only reason I see it could fail is that it doesn't like the URL or the returned image data (more likely).

@nullstring: might be useful to share knowledge with the author. In a future release there will be a debug mode to log many info and troubleshoot various hardware.

@pv: if I'm given access to the Element UI SDK I'll gladly add support for it but I can also wait the official release, it can't be that far, is it ?



Note that in 0.95 there's a bug with remote internet access. If you enter the wrong parameter in the "connect to remote foobar2000 server" dialog and connection (silently) fails, all future connections will fail (even with the good parameters) until you restart foobar and try again.
Title: foo_upnp
Post by: bubbleguuum on 2009-03-14 23:17:41
v 0.96

+ fix: a failure to connect to a remote internet foobar2000 server was making all future connect attempts to fail
+ fix: A remote internet foobar2000 server listed in the UPnP Browser tree was automatically removed after 1800 secs
+ add: display a progress popup when connecting to a remote internet server and a proper failure message if connection fails
+ add: added option to enable debug messages in the console, useful to troubleshoot problematic clients (Server/Advanced Settings)
+ some misc polishing

known issues:
- there might be problems when fetch album art when connected to the server via the Internet.
- when changing changing CUI configuration (adding removing  / panels) all listed servers in the browser are removed
Title: foo_upnp
Post by: bubbleguuum on 2009-03-15 12:01:03
Rewritten first post to explain more clearly what this component can do + some doc about remote Internet access of the server.
Title: foo_upnp
Post by: The Link on 2009-03-15 12:11:23
Would it be possible to improve the usability with Default UI by making the browser available thru a popup window (as it is possible with the album list for example)?
Title: foo_upnp
Post by: jsheridan on 2009-03-16 10:56:44
Any chance you could make it compatible with Windows Media Center too?

While trying to access, i get this at the fb2k console:

foo_upnp: FbMediaServer::ProcessHttpRequest: received request URL=/X_MS_MediaReceiverRegistrar/6F50F066-23DF-4A59-A91D-D7621F85DB10/event.xml from a LAN client
foo_upnp: NPT_HttpClient::SendRequestOnce: NPT_CHECK failed, result=-20008 [NPT_ERROR_INTERNAL]
Title: foo_upnp
Post by: bubbleguuum on 2009-03-16 13:16:10
Any chance you could make it compatible with Windows Media Center too?

While trying to access, i get this at the fb2k console:

foo_upnp: FbMediaServer::ProcessHttpRequest: received request URL=/X_MS_MediaReceiverRegistrar/6F50F066-23DF-4A59-A91D-D7621F85DB10/event.xml from a LAN client
foo_upnp: NPT_HttpClient::SendRequestOnce: NPT_CHECK failed, result=-20008 [NPT_ERROR_INTERNAL]


I'll recheck that there is no regression when using WMP (as I do not have Windows Media Center) in the latest version as it used to work in previous version.
Title: foo_upnp
Post by: NullString on 2009-03-18 03:39:36
I hope this gets you closer to xbox 360 glory:
Quote
"the only way to connect the XBox 360 to a UPnP server, was to have a service that is only found on Microsoft services (used for registering for DRM content) and for the server itself to be claimed to be made by Microsoft. Legal would not allow us to pretend to be Microsoft (although there are other servers out there that do)."    from Media Center from Google (http://googlesystem.blogspot.com/2008/06/media-server-from-google.html)

so looking at the source code of the xbox360 compliant server, a "model name" string you could use with the xbox is:
Code: [Select]
Windows Media Connect Compatible (foo_upnp)


Title: foo_upnp
Post by: saivert on 2009-03-18 06:51:58
This component exposes your entire computer's files to the internet.

I've sent a PM to the author about the issue as to not increase the dangers related to the exploit.


Another note:

I can't seem to stream WAV to Windows media player at all. I need to use transcoding here.
Windows media player is trying to download the entire WAV before it starts playback, but then times out and skips to the next song on the list.
Putting the URL manually in a browser lets me download the track.
Title: foo_upnp
Post by: bubbleguuum on 2009-03-18 10:34:20
This component exposes your entire computer's files to the internet.


Wrong, as the URL scheme is different if a client connects from the Internet instead of the LAN.
Title: foo_upnp
Post by: Jorgo on 2009-03-18 19:21:33
Let me post some stuff from the console, see if that helps troubleshoot my Popcorn Hour:

I'm trying to stream the following files:

(http://i39.tinypic.com/195kdt.png)

Foobar2000 with your plugin does the following with "Stream in native format" set to OFF (doesn't produce a valid sound-file icon):
Without persistent URLs or DLNA:

foo_upnp: FbMediaServer::OnAction: action 'Browse' response: args = { ObjectID=0/1/5/4/0, BrowseFlag=BrowseDirectChildren, Filter=dc:title,dc:creator,upnp:class,res,res@duration,res@protection,upnp:albumArtURI,upnp:artist,u
pnp:album,upnp:originalTrackNumber, StartingIndex=0, RequestedCount=11, SortCriteria=, NumberReturned=8, TotalMatches=8, UpdateID=0 }
foo_upnp: FbMediaServer::ProcessHttpRequest: received request URL=/content/1.wav?convert=wav from a LAN client

Without DLNA but persistent URLs:

foo_upnp: FbMediaServer::OnAction: action 'Browse' response: args = { ObjectID=0/1/5/4/0, BrowseFlag=BrowseDirectChildren, Filter=dc:title,dc:creator,upnp:class,res,res@duration,res@protection,upnp:albumArtURI,upnp:artist,u
pnp:album,upnp:originalTrackNumber, StartingIndex=0, RequestedCount=11, SortCriteria=, NumberReturned=8, TotalMatches=8, UpdateID=0 }
foo_upnp: FbMediaServer::ProcessHttpRequest: received request URL=/content/file://Q:\Musik\#Modern#\0-9\10cc - The Original Soundtrack (MFSL)\08. The Film Of My Love.flac.wav?convert=wav from a LAN client

With DLNA and persistent URLs:

oo_upnp: FbMediaServer::OnAction: action 'Browse' response: args = { ObjectID=0/1/5/4/0, BrowseFlag=BrowseDirectChildren, Filter=dc:title,dc:creator,upnp:class,res,res@duration,res@protection,upnp:albumArtURI,upnp:artist,u
pnp:album,upnp:originalTrackNumber, StartingIndex=0, RequestedCount=11, SortCriteria=, NumberReturned=8, TotalMatches=8, UpdateID=0 }
foo_upnp: FbMediaServer::ProcessHttpRequest: received request URL=/content/file://Q:\Musik\#Modern#\0-9\10cc - The Original Soundtrack (MFSL)\08. The Film Of My Love.flac.wav?convert=wav from a LAN client

So far, so good.

Now, to check the other end. I'm able to browse into the Popcorn Hour's menu at
Code: [Select]
http://192.168.1.4:8883/upnp/upnp-av.cgi?cmd=cd&filter=24&level=5&udn=0/1/5/4/0&name=10cc%20-%20The%20Original%20Soundtrack%20%28UltraDisc%20II%29


It looks like this:

(http://i42.tinypic.com/35j9qjd.png)

The first thing I notice is that the numbering/order does not correspond to the actual file names. This is the URL of the first file listed on the PCH, "The Film of My Love" (with persistent URL and DLNA):
Code: [Select]
http://192.168.1.201:56923/content/file:%252f%252fQ:%255cMusik%255c%2523Modern%2523%255c0-9%255c10cc%2520-%2520The%2520Original%2520Soundtrack%2520%2528MFSL%2529%255c08.%2520The%2520Film%2520Of%2520My%2520Love.flac.wav%3Fconvert=wav


Is this info helpful in any way?
Title: foo_upnp
Post by: bubbleguuum on 2009-03-18 20:14:07
The first thing I notice is that the numbering/order does not correspond to the actual file names. This is the URL of the first file listed on the PCH, "The Film of My Love" (with persistent URL and DLNA):
Code: [Select]
http://192.168.1.201:56923/content/file:%252f%252fQ:%255cMusik%255c%2523Modern%2523%255c0-9%255c10cc%2520-%2520The%2520Original%2520Soundtrack%2520%2528MFSL%2529%255c08.%2520The%2520Film%2520Of%2520My%2520Love.flac.wav%3Fconvert=wav

Is this info helpful in any way?


Yes, it looks like the PCH has URL encoded the query part of the URL producing an invalid URL.
The URL should read (skipping the beginning):          ....flac.wav?convert=wav.

Notice how the ? has been wrongly encoded to %3F by the PCH.
The good news is that I noticed another UPnP client wrongly encoding the '?' while it shouldn't, and I fixed it in my current version (even if it is a bug of the client).
There are some UPnP clients that just expect a HTTP path without a query,  they will mess the URL if there is one.

I suppose it plays fine if you try to play a mp3 without having transcode to mp3 enabled (in that case there is no query in the URL) ?

Note that the effect of the DLNA switch is minor and here mostly to make the PS3 happy.
Title: foo_upnp
Post by: bubbleguuum on 2009-03-18 20:22:28
Another note:

I can't seem to stream WAV to Windows media player at all. I need to use transcoding here.
Windows media player is trying to download the entire WAV before it starts playback, but then times out and skips to the next song on the list.
Putting the URL manually in a browser lets me download the track.


This is due to the fact that I couldn't make http seek working with WMP.
When streaming a HTTP location, WMP first do a range (seek) request. If that request fails (It does in that case),  then WMP fallback to a traditional GET request but
it will start playing only when it has read all the file. This is acceptable and fast for lossy files on a LAN but not lossless.
Until I find a way to make http seek work with WMP I have no solution.
Title: foo_upnp
Post by: NullString on 2009-03-19 00:15:23
hey bubbleguuum, this link explains in depth the xbox 360 upnp profile, from the discovery to the description, searching and browsing phase: http://code.google.com/p/jems/wiki/XBox360Notes (http://code.google.com/p/jems/wiki/XBox360Notes)
seems a lot of work though =\
Title: foo_upnp
Post by: bubbleguuum on 2009-03-19 00:22:26
hey bubbleguuum, this link explains in depth the xbox 360 upnp profile, from the discovery to the description, searching and browsing phase: http://code.google.com/p/jems/wiki/XBox360Notes (http://code.google.com/p/jems/wiki/XBox360Notes)
seems a lot of work though =\


Already implemented all of this already (including the specific hierarchy) but there's still sth that does not work, and without a 360 to test, it's impossible to fix.
At some point I'll have a 360 to make it work.
You can enable debug traces and send  me the result but that may not be sufficient info.

EDIT: if you test, set the server netowrk name to "TEST : Windows Media Player"  in the server's main preference page, else I don't think the server will be listed by the 360.
Title: foo_upnp
Post by: NullString on 2009-03-19 01:47:13
Already implemented all of this already (including the specific hierarchy) but there's still sth that does not work, and without a 360 to test, it's impossible to fix.
At some point I'll have a 360 to make it work.
You can enable debug traces and send  me the result but that may not be sufficient info.

EDIT: if you test, set the server netowrk name to "TEST : Windows Media Player"  in the server's main preference page, else I don't think the server will be listed by the 360.

Yeah, with that server network name it appeared, but after trying to connect it timed out. This is the log: (just for discovery I guess)
Code: [Select]
foo_upnp: FbMediaServer::ProcessHttpRequest: received request URL=/DeviceDescription.xml from a LAN client

Tried changing some advanced options (DLNA, persistent URL's) with no avail. I guess they still don't come into play because there is no actual connection taking place.
Title: foo_upnp
Post by: Jorgo on 2009-03-19 08:22:09
I suppose it plays fine if you try to play a mp3 without having transcode to mp3 enabled (in that case there is no query in the URL) ?


Yes, it plays mp3, AAC and WMA perfectly over UPnP.
Title: foo_upnp
Post by: Grizzltoe on 2009-03-21 01:56:56
Thanks for this plugin, I've been waiting for something that could integrate directly with foobar2000.  I can finally dump WMP and Tversity forever!

I use this thing primarily to stream music to a Denon 3808ci receiver, which pretty much uses a cursor up/down/back/forward interface to browse.  No keyboard or anything like that to search the remote library.  Which leads me to a couple of usability questions/requests:

1) Is there any way to make the component recognize foobar's grouping configuration in playlists?  For example, I have a dynamic playlist that keeps track of all the music I rip and encode myself.  This playlist uses the artist/date/album grouping in the default UI's playlist view.  It would be nice to be able to break down this massive playlist by those groups.

2)  Would it be possible to expose the options in the "media library" view (i.e., genre, album artist, year) for customization?  For example, it would be nice to be able to use the existing views, but have them filtered by other criteria.  For example, it would be cool to be able to bring up the "genre" view filtered by my "ENCODED" tag, or the "album" view that only shows FLAC files.

3) Similarly, it would be nice to be able to change the behavior or add new media library views.  Instead of having "genre" show albums, maybe have it break down into artists, then albums.  Also, a "folders" view would be nice, as Tversity and WMP both had this option.
Title: foo_upnp
Post by: A_Man_Eating_Duck on 2009-03-22 06:40:54
I'm having a rather odd problem with foo_upnp. i have one album that will not show one song in the correct order on our PS3. I have checked all the tags and the song appears in the correct order in foobar
Code: [Select]
The order the songs appear in foobar's album list 
01. Disclaimer
02. The Meaning Of Life
03. Mota
04. Me & My Old Lady
05. Cool To Hate
06. Leave It Behind
07. Gone Away
08. I Choose
09. Intermission
10. All I Want
11. Way Down The Line
12. Don't Pick It Up; Amazed
13. Change The World

but on the PS3 it shows up as
All I Want
Disclaimer
The Meaning Of Life
Mota
Me & My Old Lady
Cool To Hate
Leave It Behind
Gone Away
I Choose
Intermission
Way Down The Line
Don't Pick It Up
Amazed
Change The World
I have tried changing the preset from PS3 to WMP but still shows the funky track order.

Any ideas?
Title: foo_upnp
Post by: bubbleguuum on 2009-03-22 12:29:06
I'm having a rather odd problem with foo_upnp. i have one album that will not show one song in the correct order on our PS3. I have checked all the tags and the song appears in the correct order in foobar


Thanks for the report, will be fixed in next version. This also fixes the track order problem reported by Jorgo on the PCH.
Title: foo_upnp
Post by: bubbleguuum on 2009-03-22 12:37:48
Thanks for this plugin, I've been waiting for something that could integrate directly with foobar2000.  I can finally dump WMP and Tversity forever!

I use this thing primarily to stream music to a Denon 3808ci receiver, which pretty much uses a cursor up/down/back/forward interface to browse.  No keyboard or anything like that to search the remote library.  Which leads me to a couple of usability questions/requests:

1) Is there any way to make the component recognize foobar's grouping configuration in playlists?  For example, I have a dynamic playlist that keeps track of all the music I rip and encode myself.  This playlist uses the artist/date/album grouping in the default UI's playlist view.  It would be nice to be able to break down this massive playlist by those groups.

2)  Would it be possible to expose the options in the "media library" view (i.e., genre, album artist, year) for customization?  For example, it would be nice to be able to use the existing views, but have them filtered by other criteria.  For example, it would be cool to be able to bring up the "genre" view filtered by my "ENCODED" tag, or the "album" view that only shows FLAC files.

3) Similarly, it would be nice to be able to change the behavior or add new media library views.  Instead of having "genre" show albums, maybe have it break down into artists, then albums.  Also, a "folders" view would be nice, as Tversity and WMP both had this option.



1. I suppose you mean that playlist nodes would be broken into browsable subnodes reflecting grouping ? why not, but not in the immediate future.

2 and 3. Configuration of the 'server generated browse tree is planned at some point, along the lines of the Album Browser configuration to give you an idea. I'll probably implement folder view too.

Title: foo_upnp
Post by: bubbleguuum on 2009-03-23 23:36:05
new release. Now the browser is an UI Element  (as well as a CUI panel). First post to download

v 0.97

- new: browser: UI Element
- fix: browser: send items to playlist in the order the server returned them
- fix: server: in ML tree, returned album tracks were not sorted by track number (they'd appear in random order on the client if it was not itself reordering by tracknumber)
- fix: server: decode properly URLs that have the query part URL encoded (should fix non MP3/WMA/AAC formats not working on the PCH and possibly other hardware)
Title: foo_upnp
Post by: --pv-- on 2009-03-24 22:02:02
Hello,
Thanks a bunch for native DUI support.
I have noticed an accessibility problem. Once UPNP browser is inserted as an UI element it is not possible to focus the treeview inside using keyboard only. Can anyone reproduce it or might this be just my setup?
Edit:
Here (http://pvdeejay.googlepages.com/pv.fth) is my theme if it may help to confirm and fix this issue. I don't know how this looks but apart of the focus problem with UPnP Browser it's perfectly usable for me.
Title: foo_upnp
Post by: bubbleguuum on 2009-03-24 23:59:46
Hello,
Thanks a bunch for native DUI support.
I have noticed an accessibility problem. Once UPNP browser is inserted as an UI element it is not possible to focus the treeview inside using keyboard only. Can anyone reproduce it or might this be just my setup?
Edit:
Here (http://pvdeejay.googlepages.com/pv.fth) is my theme if it may help to confirm and fix this issue. I don't know how this looks but apart of the focus problem with UPnP Browser it's perfectly usable for me.



fixed, redownload 0.97 (didn't update the version number). Let me know if you find some other usability problems. For example hitting the ENTER key does nothing, is that a problem ?
Title: foo_upnp
Post by: Stu L Tissimus on 2009-03-25 01:49:11
Neat plugin! Can't wait till you figure out whatever it is about the 360 that makes it not work.
Title: foo_upnp
Post by: A_Man_Eating_Duck on 2009-03-25 06:20:26
I'm having a rather odd problem with foo_upnp. i have one album that will not show one song in the correct order on our PS3. I have checked all the tags and the song appears in the correct order in foobar
Thanks for the report, will be fixed in next version. This also fixes the track order problem reported by Jorgo on the PCH.
I can confirm that the problem is now fixed in v0.97, thanks.
Title: foo_upnp
Post by: Krelkor on 2009-03-25 21:38:52
Thanks for the awesome plugin!

I use a popcorn hour, some thoughts

Mp3 works fine, FLAC will not play directly. Can set server to transcode to v0 on the fly and it will work, though meta data does not carry over to the popcorn hour

Any possibility of creating an HD skin that allows for album art on a popcorn hour? I love the concept of the upnp server for our renderers, but if I have to use the default ui skin of the PCH(aka crap) then I am sad.
Title: foo_upnp
Post by: --pv-- on 2009-03-26 20:56:30
Let me know if you find some other usability problems. For example hitting the ENTER key does nothing, is that a problem ?

Yes this might be a problem but it needs to be considered seriously.
The problem is you are allowing to set left and right click actions.
It is convenient that right click always activates context menu what should also be possible by hitting applications key or shift+F10 keyboard shortcut.
Double click should be the default action and this should be also possible to achieve by pressing the enter key.
I am unable to suggest a proper way on how to handle it properly.
Anyway I believe applications key should open context menu in any case.
Title: foo_upnp
Post by: Jorgo on 2009-03-27 16:13:10
Any possibility of creating an HD skin that allows for album art on a popcorn hour? I love the concept of the upnp server for our renderers, but if I have to use the default ui skin of the PCH(aka crap) then I am sad.


If you want to replace the default skin, you need to install another one directly in the PCH - I don't think there's any way around it.
Title: foo_upnp
Post by: --pv-- on 2009-03-27 18:16:14
@bubbleguuum: After some more fiddling with this fantastic plugin here are my questions and comments:
1) This is slightly off topic but... Does anybody know how to prevent Eset Smart Security 4.0 from blocking UPnP traffic? For now I have just disabled its filtering.
2) Do I need to have windows UPnP service or some other windows service running in order to make use of this component? What should I add into the built-in Windows XP firewall if I want to get this working. Is it Foobar 2000 or UPnP service or something else?
I am asking these because I cant get it running on one of my machines. 2 of three runs fine anyway.
3) It would really be nice if you can make the browser more keyboard accessible. Now I understand left click is the only way on how to expand a remote branch. When tallking about treeviews left arrow key usualy colapses and right arrow expands a node. I am not sure you can override it somehow. The things I was tallking about previously would be nice too because I have to emulate the mouse a lot and it's getting too inconvenient for me.
4) I am not sure but I think I have got a crash (http://pvdeejay.googlepages.com/foo_upnp-crash.zip) related to foo_upnp. I had a Foobar window opened with 1 remote Foobar listed in the UPnP browser and some errors in the console because second client was not displayed. Then I did a restart of Foobar and on startup I have got this crash.

Thanks
Title: foo_upnp
Post by: boombaard on 2009-03-27 22:02:33
1. thanks for making this
2. I seem to be encountering something like a bug streaming this:
(http://img23.imageshack.us/img23/1694/buggyp.th.png) (http://img23.imageshack.us/img23/1694/buggyp.png)
It retrieves the playlist contents just fine, but as soon as I start playback, the playlist entry/tag-supplied information (and the properties page) disappears, and some sort of hash-like name replaces it. (the hash or whatever seems to be the same one for every file i start playing, although it sometimes changes when i switch between playlists)
3. Also, seek mode doesn't work, and the pc i'm streaming it to has no idea has no idea what the track lengths are once a file starts playing. (playlist info also lists the bitrate as 128k, even though i transcode to v0, although the variable display in the status bar reads the bitrate correctly)
4. minor bug: the playback indicator (the arrow thing in the playlist) doesn't stay on whatever file is being played (though this could be related to foobar's own behavior)
5. suggestion: add a 'refresh remote filelists' context menu item?
Title: foo_upnp
Post by: bubbleguuum on 2009-03-27 23:04:04
@pv:

2. No you don't need this service, it might even get in the way. In some tversity or twonky FAQ they even talk about disabling it for whatever reason I forgot.
For server auto-discovery to work you need to be able to receive multicast packets. Some firewalls disable this by default, that's the case of Kerio Personal Firewall for example.

3. Will look into it

4. I'm tracking this one. If you can reproduce it, I'd like to know the exact steps. In your description what do you mean by "and some errors in the console because second client was not displayed" ?


@boombaaard


2. I have an idea why it could do this but cannot reproduce it.  In what format are the original files ? is the server on the LAN ? Does it do this only when transcoding to mp3 ?

3. There's no seek support when transcoding to mp3. Seeking is supported when streaming files in their original format or as PCM

5. It's somewhat in the todo list but not in the immediate future.
Title: foo_upnp
Post by: boombaard on 2009-03-27 23:57:25
@boombaaard
2. I have an idea why it could do this but cannot reproduce it.  In what format are the original files ? is the server on the LAN ? Does it do this only when transcoding to mp3 ?

Happens both while streaming mp3s and .ape files. (transcoding only enabled for lossless files) Server not on a LAN (but fast connection nonetheless).
Also happened before i enabled transcoding (since you can't stream Ape files)
hash thing is the same as the "file name" info shown in the 'tag' info that is loaded when adding something to the playlist, (although the tag info disappears as soon as i hit play)
aHR0cDovLzEyOS4xMjUuMTAyLjEwNzo1MjUyNi9jb250ZW50LzE5ODgwLzU2Lm1wMw==

also, when transcoding & streaming a 5.1 FLAC file the resulting mp3 is pretty much cbr 320, in stead of variable (v0), and the music is very much slowed down/distorted (it seems to be stretching the file, though i don't really know what goes wrong exactly, but the frequencies all seem to be shifted down as well)
furthermore, transcoding from .tak and streaming mpc doesn't work
Title: foo_upnp
Post by: bubbleguuum on 2009-03-28 14:33:29
Happens both while streaming mp3s and .ape files. (transcoding only enabled for lossless files) Server not on a LAN (but fast connection nonetheless).
Also happened before i enabled transcoding (since you can't stream Ape files)

also, when transcoding & streaming a 5.1 FLAC file the resulting mp3 is pretty much cbr 320, in stead of variable (v0), and the music is very much slowed down/distorted (it seems to be stretching the file, though i don't really know what goes wrong exactly, but the frequencies all seem to be shifted down as well)
furthermore, transcoding from .tak and streaming mpc doesn't work


Streaming APE and TAK in their original format ("Stream files in their native format if possible" setting) works as long as you have the decoder plugin for those formats on your client foobar. They also works streamed transcoded to mp3
but you need the decoder plugins on the server in that case.

MPC is a special case and cannot be streamed in its native format. It must be streamed as PCM of transcoded to mp3. When streaming over the Internet with transcode enabled, it should always be transcoded even if the setting is "Lossless only".
Will fix that in the next version

About 5.1 formats you're right, a downmix to stereo was missing before encoding to mp3. Fixed in the next version.
Title: foo_upnp
Post by: --pv-- on 2009-03-28 19:17:42
@pv:

4. I'm tracking this one. If you can reproduce it, I'd like to know the exact steps. In your description what do you mean by "and some errors in the console because second client was not displayed" ?

Well I have 3 computers here. 2 of them can run server and I can see each other in the browser. 3rd one cant I need to figure out what is blocking it. Anyway when server is started on 3rd computer then these 2 computers I have reported as working are getting some connection reset warnings and time outs in the console. I will capture it exactly when I'll get a chance next time all three gets freed for testing.
So back to the crash. I had started server using the default ports on all three computers. Then I went to one of the PCs reported as working fine. I have seen such messages as I've just tried to explain in the console, then I closed foobar and on next Foobar start I got that crash. It happened only once to me.
Title: foo_upnp
Post by: Jorgo on 2009-03-28 19:18:03
I report success on the PCH! I can now stream all formats. The URL is butt-ugly, there's no album art or metadata displayed but I didn't really expect that to work on the Popcorn Hour before a dedicated firmware upgrade takes care of that.

Right now I'm a happy camper  Thank you again for all your work and especially for listening.
Title: foo_upnp
Post by: --pv-- on 2009-03-29 11:46:50
@bubleguuum: back to my crash. These are the messages (http://pastebin.com/pastebin.php?dl=m20f350d0) I've seen in the console before restarting foobar.
Title: foo_upnp
Post by: kompot on 2009-03-31 02:53:35
Thanks for developing such a great piece of software. Really missed the ability to listen to my collection all over the web.

Actually the only thing I miss is not having the exposed tracks in foo_facets.
Are there any plans for developing something like facets with customized columns?
Or something like simple media library search. With something like that the component will be completely perfect :)

The following thought might look fantastic but may be it's possible some way to make uPnP share be added as usual media library folder.
Sure it's not possible, just a thought for developers of the foobar2000 core.
Title: foo_upnp
Post by: Kohlrabi on 2009-04-01 13:02:19
This software is getting more awesome by the day
I got only one (hopefully very easy adressable) feature request. Is it possible to allow input of domain names instead of IPs in the "Add remote foobar2000 server" and "Internet access" dialogues, i.e. mydomain.dyndns.org instead of the real IP w.x.y.z? Since I have a dynamic IP via my ISP I then won't have to ping my home machine to find out my current IP, and I won't have to change the foobar preferences everytime I get a new IP.
Title: foo_upnp
Post by: bubbleguuum on 2009-04-01 13:21:00
This software is getting more awesome by the day
I got only one (hopefully very easy adressable) feature request. Is it possible to allow input of domain names instead of IPs in the "Add remote foobar2000 server" and "Internet access" dialogues, i.e. mydomain.dyndns.org instead of the real IP w.x.y.z? Since I have a dynamic IP via my ISP I then won't have to ping my home machine to find out my current IP, and I won't have to change the foobar preferences everytime I get a new IP.


This will be in the next release of the plugin.
Title: foo_upnp
Post by: bubbleguuum on 2009-04-01 13:46:04
Thanks for developing such a great piece of software. Really missed the ability to listen to my collection all over the web.

Actually the only thing I miss is not having the exposed tracks in foo_facets.
Are there any plans for developing something like facets with customized columns?
Or something like simple media library search. With something like that the component will be completely perfect

The following thought might look fantastic but may be it's possible some way to make uPnP share be added as usual media library folder.
Sure it's not possible, just a thought for developers of the foobar2000 core.


Integrating into the ML is not doable without being a hack involving managing a virtual filesystem which I have zero intention to do.
Also keep in mind that UPnP  servers are meant to be browsed one node at a time (that's what the UPnP AV spec recommends), which is in contradiction with a full blown library were you know all the items from the start. AFAIK, there's only WMP that do the stupid thing to request the content of the whole remote library. If you have 20000 items it will ask all 20000 items at once and build its own representation of that (ML) regardless of the remote server generated tree. No need to say it's very slow the first time even if it can have some benefits afterwards.

Search on the remote server is doable but is not trivial to do. Might give it a go one day if I'm bored.
Title: foo_upnp
Post by: kompot on 2009-04-01 23:15:48
Search on the remote server is doable but is not trivial to do. Might give it a go one day if I'm bored.

thanks for attention
looking forward to you being bored some day :)
Title: foo_upnp
Post by: gulp68 on 2009-04-02 22:57:57
Thanks for this great plugin, bubbleguuum!

Do you think it would be possible to add support for external UPNP Media Renderers to your plugin? Think abaout the following scenario:

I got a PC with fobar in my sanctum. My Hi-Fi, my Pocorn Hour, my old xBox are in the living room. This is the place where I would like to listen to music. With over 120 Gigs of music, selectin music is a hard thing. None of the media players I know are as comfortable as foobar (or some other pc based players). Scrolling a list of a few hundred artists with a remote is horrible. If I could use my notebook to connect to my pc via RDP and then use foobar to use my Popcron Hour as a Media Renderer I could select my music by foobar without the diadvantages of shoucast streaming. Perhaps you can think about adding support for media rendererd. By the way I tried Cidero but it works with none of the renderers I have.
Title: foo_upnp
Post by: bubbleguuum on 2009-04-02 23:17:13
New version. This version will reset your configuration

v 0.98

+ fix: server: 5.1 files not correctly transcoded to mp3 due to missing downmix to stereo
+ fix: server: always transcode Musepack to mp3 for "Lossless only" transcode modes  (as otherwise Musepack would be streamed as PCM)
+ fix: crash if playing an upnp item if the UI element of CUI panel was not initialized
+ new: server/browser: ability to enter a hostname instead of an IP to configure or connect to an Internet server. Useful for servers on dynamic IP that have a fixed hostname.
+ new: server: artist nodes in "By artist" tree contains all items of that artist
+ new: browser: option so that a node's content can be the aggregated content of all its loaded subnodes ("Show all loaded content under a node" option).



@gulp68: already though about making this plugin also act as a control point, like cidero. Not sure if/when I'll implement it though
Title: foo_upnp
Post by: kompot on 2009-04-03 00:40:53
found a bug with file path handling
fails playing files having '+' sign in the path
take a look at the screen

(http://img23.imageshack.us/img23/9040/fooupnpfilepathbugf.gif)

on the left is upnp server, on the right - upnp client

track with title flood1 plays as it should
track with title flood gives playback error that can be seen on the right

the only difference between these files is track title and the path having extra '+ ' in one case
Title: foo_upnp
Post by: Kohlrabi on 2009-04-03 01:05:06
This software is getting more awesome by the day
I got only one (hopefully very easy adressable) feature request. Is it possible to allow input of domain names instead of IPs in the "Add remote foobar2000 server" and "Internet access" dialogues, i.e. mydomain.dyndns.org instead of the real IP w.x.y.z? Since I have a dynamic IP via my ISP I then won't have to ping my home machine to find out my current IP, and I won't have to change the foobar preferences everytime I get a new IP.


This will be in the next release of the plugin.


glad to hear, keep on rockin' 
Title: foo_upnp
Post by: Mr.H.G.Blob on 2009-04-03 23:41:51
Internet Access Password:
I've only tried with a second instance as Browser on the same computer as Server instance, but if i type wrong password in "add remote server" dialog, it also gives access. 
Any ideias?

btw, awesome component.
Title: foo_upnp
Post by: bubbleguuum on 2009-04-03 23:59:54
Internet Access Password:
I've only tried with a second instance as Browser on the same computer as Server instance, but if i type wrong password in "add remote server" dialog, it also gives access. 
Any ideias?

btw, awesome component.



What did you do exactly ? On a LAN there's no password, you're always going to see all UPnP servers. "Add remote server" is only intended to add a remote foobar2000 server not on the LAN.

Title: foo_upnp
Post by: Mr.H.G.Blob on 2009-04-04 00:20:06
Internet Access Password:
I've only tried with a second instance as Browser on the same computer as Server instance, but if i type wrong password in "add remote server" dialog, it also gives access. 
Any ideias?

btw, awesome component.



What did you do exactly ? On a LAN there's no password, you're always going to see all UPnP servers. "Add remote server" is only intended to add a remote foobar2000 server not on the LAN.


Just to test the component I opened another instance of foobar and "added remote foobar server" on the browser panel. On the dialog, in "IP or hostname" field i put my IP, on "Password" field any text, and it shows the server. Even though it's on the same computer i thought the password had to be the specified on "Internet Access" in the Server Instance's Preferences.
Sorry. Thanks.
Title: foo_upnp
Post by: dr_rick on 2009-04-14 14:25:08
I recently downloaded this and was using it to stream music to my PS3, and it works pretty well for the most part. One major issue I've been having has been skipping during playback. Several times during every song the music will skip, almost like the buffer's being underrun or something like that (though it's just for a moment, not like the buffer's refilling or anything). My PS3 is hardwired to my router, and I had my laptop running wirelessly on the network. Any ideas of what could be causing this issue and what I can do to fix it?

The other issue, which is really pretty minor is that at the end of every song, I get a network error on the PS3. It doesn't do anything, it just says that a network error has occurred. From my searches thus far, it appears it may just be an issue with the PS3 and streaming music, but I thought I'd mention it here too. Thanks for a very useful component!
Title: foo_upnp
Post by: bubbleguuum on 2009-04-14 14:46:53
I recently downloaded this and was using it to stream music to my PS3, and it works pretty well for the most part. One major issue I've been having has been skipping during playback. Several times during every song the music will skip, almost like the buffer's being underrun or something like that (though it's just for a moment, not like the buffer's refilling or anything). My PS3 is hardwired to my router, and I had my laptop running wirelessly on the network. Any ideas of what could be causing this issue and what I can do to fix it?

The other issue, which is really pretty minor is that at the end of every song, I get a network error on the PS3. It doesn't do anything, it just says that a network error has occurred. From my searches thus far, it appears it may just be an issue with the PS3 and streaming music, but I thought I'd mention it here too. Thanks for a very useful component!


I'm confident this problem is due to the wireless network. If you choose the PS3 preset in the sever conf, it will stream every audio format as LPCM which use a lot of bandwidth. I did all my test using a PS3 connected via ethernet so there was no issue.
To verify this you can set the server to stream common formats (MP3, AAC, WMA) not transcoded to LPCM. If bet they play without glitch as it uses far less bandwidth.
Alternatively, you can set the server to transcode lossless files to mp3 to save bandwidth.
Title: foo_upnp
Post by: dr_rick on 2009-04-15 03:56:34
The wireless network was my first thought as well. I have a hardwired desktop downstairs that I could use, but I'd rather not if I can avoid it. I'm using the PS3 preset, but when I tried to transcode to MP3 my PS3 gave me errors and wouldn't play anything. It says, "Media Server Error: An HTTP error (416) has occurred."

If I could get the MP3 to work properly, that would confirm the wireless network as the culprit in my mind. MP3 would probably be an acceptable solution too. I'll have to play with it some more and see what I can figure out. Thanks for your help!
Title: foo_upnp
Post by: Jorgo on 2009-04-15 09:35:09
bubbleguuum,

if you have spare time, would you be willing to give UTF8-encoding a shot? That'd be the cherry on the icecream
Title: foo_upnp
Post by: bubbleguuum on 2009-04-15 23:02:12
bubbleguuum,

if you have spare time, would you be willing to give UTF8-encoding a shot? That'd be the cherry on the icecream


The plugin already send utf-8 for all strings. Verified with the PS3 and cidero.
If you have the same issue than  this thread (http://www.networkedmediatank.com/showthread.php?tid=12422), it looks like a PCH firmware bug and there's not much I can do.
Do you have the same bug with other UPnP servers ?
Title: foo_upnp
Post by: bubbleguuum on 2009-04-15 23:08:07
The wireless network was my first thought as well. I have a hardwired desktop downstairs that I could use, but I'd rather not if I can avoid it. I'm using the PS3 preset, but when I tried to transcode to MP3 my PS3 gave me errors and wouldn't play anything. It says, "Media Server Error: An HTTP error (416) has occurred."

If I could get the MP3 to work properly, that would confirm the wireless network as the culprit in my mind. MP3 would probably be an acceptable solution too. I'll have to play with it some more and see what I can figure out. Thanks for your help!


The PS3 is doing a http range request, which is not supported for content transcoded to mp3. The transcode functionnality wasn't implemented when I had a PS3 for testing.
I'll see what I can do. In the meantime you can at least stream MP3/AAC/WMA in their original format on the PS3, just uncheck "Apply to All formats" in "Decode to PCM" settings.
Title: foo_upnp
Post by: dr_rick on 2009-04-16 15:40:25
Thanks for the input--I had no idea what that error meant. If you can get it figured out, that would be awesome. Thanks!
Title: foo_upnp
Post by: tst on 2009-04-16 20:14:06
bubbleguuum, great plugin.

I was looking for a different functionality though (more details here: [a href='index.php?showtopic=64602']remote foobar[/a]), so allow me to ask a general question:

Basicly I want the reverse thing of what your plugin does. Instead of connecting to a remote computer that hosts foobar to play files of that computer, I want to tell clients of my PC to play a certain file. So when I select a certain file of my library, a stream is sent to all clients and they start playback automatically. I guess these clients must be foobar windows pc as well, but it would fit the purpose discussed in the topic mentioned earlier.

So the question is: Might this be possible with this plugin with a reasonable programming effort?

I hope you can give me your thoughts on this. Thanks!
Title: foo_upnp
Post by: bubbleguuum on 2009-04-16 20:32:56
bubbleguuum, great plugin.

I was looking for a different functionality though (more details here: [a href='index.php?showtopic=64602']remote foobar[/a]), so allow me to ask a general question:

Basicly I want the reverse thing of what your plugin does. Instead of connecting to a remote computer that hosts foobar to play files of that computer, I want to tell clients of my PC to play a certain file. So when I select a certain file of my library, a stream is sent to all clients and they start playback automatically. I guess these clients must be foobar windows pc as well, but it would fit the purpose discussed in the topic mentioned earlier.

So the question is: Might this be possible with this plugin with a reasonable programming effort?

I hope you can give me your thoughts on this. Thanks!


This is something that is within UPnP AV attributions, and I already thought about doing it, although it's a lot of work.
It involves making foobar2000 a Media Renderer so it can play pushed content, as well as a Media Controller so content can be pushed.
That way, with any foobar instance you could tell to any other foobar instances (or any other Media Renderer) to play content stored on any UPnP server (running this plugin or not).
The holy grail of remote control .
Title: foo_upnp
Post by: tst on 2009-04-16 20:40:55
Thanks for the quick reply. This really sounds like the definite solution

I'm looking forward to new versions of this plugin.
Title: foo_upnp
Post by: Ironwalker on 2009-04-17 18:16:55
Quote
To let the UPnP clients on the LAN able to see the foobar server you need to configure your firewall to allow multicast udp packets on port 1900 (SSDP).


Can I change the ports used to anything I want in a cfg??

Quote
You have to configure your router to redirect incoming traffic on port 5678 to the PC 192.168.1.100 of your LAN. If there's a firewall as well it must be configured to allow
incoming connection on this port.


I am guessing this is tcp traffic, Correct???
My software firewall wants specific udp or tcp mention in rule edit.


Thanks for this, now my wife can turn her foobar2000 on in the office but not ask me to load music on her thumb drive.


Can she point and listen to her directory on my pc while I am listening to my music directory on my foobar2000 that is hosting the server from your plugin?

Did that make sense?
I can rephrase that if need be.
Title: foo_upnp
Post by: znaju on 2009-04-20 07:50:03
What software do I need to install on Linux to receive audio from foo_upnp?
Title: foo_upnp
Post by: GreenSmurf on 2009-04-20 09:06:46
There might be an issue with getting large libraries to load. The only reason I think this may be an issue is because I tried to view my media library on my PS3 and could only find artists up to J displayed- plus, only about 1/4 of songs played without an error (sorry forget the error code right now but I can get it later for you). I have nearly 10,000 albums and over 92,000 songs; is there anything I need to do on my end to get everything to load and stream properly? Thank you.
Title: foo_upnp
Post by: bubbleguuum on 2009-04-20 13:34:37
Quote
To let the UPnP clients on the LAN able to see the foobar server you need to configure your firewall to allow multicast udp packets on port 1900 (SSDP).

Can I change the ports used to anything I want in a cfg??


You can't change it but there's no need to. It's used only for server autodiscovery on the LAN.

Quote
Quote
You have to configure your router to redirect incoming traffic on port 5678 to the PC 192.168.1.100 of your LAN. If there's a firewall as well it must be configured to allow
incoming connection on this port.


I am guessing this is tcp traffic, Correct???
My software firewall wants specific udp or tcp mention in rule edit.


Correct. This is HTTP traffic,  thus you need to enable TCP. This is used for streaming and has nothing to do with SSDP discussed above.


Quote
Can she point and listen to her directory on my pc while I am listening to my music directory on my foobar2000 that is hosting the server from your plugin?

Yes you can use the foobar2000 instance while it is streaming although if it is transcoding to mp3, it'll take up some CPU usage.


What software do I need to install on Linux to receive audio from foo_upnp?

There's not many upnp client on Linux so your best bet is to run foobar2000 under wine with this plugin.

There might be an issue with getting large libraries to load. The only reason I think this may be an issue is because I tried to view my media library on my PS3 and could only find artists up to J displayed- plus, only about 1/4 of songs played without an error (sorry forget the error code right now but I can get it later for you). I have nearly 10,000 albums and over 92,000 songs; is there anything I need to do on my end to get everything to load and stream properly? Thank you.

I tested with my library of only 5000 tracks so very far from your use case. On files not playing, what are their codec, and what's the exact PS3 error? Do you use the PS3 server preset in the server configuration ?
Title: foo_upnp
Post by: Chipicui on 2009-04-20 15:54:02
bubbleguuum, great plugin.

I was looking for a different functionality though (more details here: [a href='index.php?showtopic=64602']remote foobar[/a]), so allow me to ask a general question:

Basicly I want the reverse thing of what your plugin does. Instead of connecting to a remote computer that hosts foobar to play files of that computer, I want to tell clients of my PC to play a certain file. So when I select a certain file of my library, a stream is sent to all clients and they start playback automatically. I guess these clients must be foobar windows pc as well, but it would fit the purpose discussed in the topic mentioned earlier.

So the question is: Might this be possible with this plugin with a reasonable programming effort?

I hope you can give me your thoughts on this. Thanks!


This is something that is within UPnP AV attributions, and I already thought about doing it, although it's a lot of work.
It involves making foobar2000 a Media Renderer so it can play pushed content, as well as a Media Controller so content can be pushed.
That way, with any foobar instance you could tell to any other foobar instances (or any other Media Renderer) to play content stored on any UPnP server (running this plugin or not).
The holy grail of remote control .



Please! Please! Please! consider doing it!!!!!
That's exactly what I need too!
Title: foo_upnp
Post by: bubbleguuum on 2009-04-23 00:19:25
New version with bug fixes + remote search of foobar2000 servers. Click on any tree node of a foobar2000 server to enable the "Search" Button. Search is only
possible if server is running this version of the plugin (or greater).
It searches the whole remote Media Library (not the playlists). Query syntax is the same than the Album List component.

0.98.1

+ fix: server: filenames with '+' in path not recognized
+ fix: server: rare crash in the PCM decoder
+ fix: server/browser: removed a few deadlocks that could hang foobar2000.
+ fix: browser: crash when receiving browse data after server disappeared
+ new: browser: implemented remote Media Library search (only on foobar UPnP servers running this plugin)
Title: foo_upnp
Post by: hammurabi on 2009-04-23 05:00:10
Just added the new version. Seems to work ok, i'll have to have more of a playaround with it.
However, upon closing foobar I'm getting this
(http://i41.tinypic.com/2l9wd3.jpg)
No other info just dead foobar
Title: foo_upnp
Post by: ExUser on 2009-04-23 07:10:29
Just added the new version. Seems to work ok, i'll have to have more of a playaround with it.
However, upon closing foobar I'm getting this
No other info just dead foobar
Components list please.
Title: foo_upnp
Post by: kompot on 2009-04-23 08:48:56
Quote
new: browser: implemented remote Media Library search (only on foobar UPnP servers running this plugin)

great!
sorry for not being a native speaker to express how i'm happy to have that feature :)

small request concerning search results sorting - is it possible to sort results using that "sort incoming files by" pattern?
think that'll be an expected behaviour

thanks again for implementing such a great feature
Title: foo_upnp
Post by: 2E7AH on 2009-04-23 11:10:33
same error as hammurabi reported

(http://img220.imageshack.us/img220/1533/microsoftvisualcruntime.png)

it seems that it is not connected to other components: in portable foobar it doesn't happens
latest foobar on vista sp1
Title: foo_upnp
Post by: Anas on 2009-04-23 11:12:11
Just added the new version. Seems to work ok, i'll have to have more of a playaround with it.
However, upon closing foobar I'm getting this
No other info just dead foobar
Components list please.
I'm experiencing the same error. Online Troubleshooter reports no problematic components, here's my component list anyways:
Code: [Select]
Core (2009-04-17 13:16:46)
    foobar2000 core 0.9.6.5 beta 2
foo_abx.dll (2009-04-17 13:10:42)
    ABX Comparator 1.3.4
foo_albumlist.dll (2009-04-17 13:11:54)
    Album List 4.3.1
foo_audioscrobbler.dll (2008-03-09 21:08:02)
    Audioscrobbler 1.3.16
foo_biometric.dll (2009-03-14 21:42:35)
    Fingerprint tools 0.3
foo_burninate.dll (2006-08-04 21:56:44)
    Audio CD Writer 2.0.1
foo_cdda.dll (2009-04-17 13:11:46)
    CD Audio Decoder 2.1.4
foo_converter.dll (2009-04-17 13:11:38)
    Converter 1.2.1
foo_convolve.dll (2006-08-04 22:57:26)
    Convolver 0.3
foo_dop.dll (2009-04-11 13:34:45)
    iPod manager 0.6.4.2
foo_dsp_delta.dll (2008-10-24 15:57:16)
    Noise Sharpening DSP 1.0.0
foo_dsp_mm.dll (2008-06-06 07:29:10)
    Matrix Mixer 0.3
foo_dsp_std.dll (2009-04-17 13:12:00)
    Standard DSP Array 1.0
foo_dsp_xover.dll (2006-05-07 12:30:26)
    Crossover 0.38
foo_fileops.dll (2009-04-17 13:10:50)
    File Operations 2.1.2
foo_freedb2.dll (2009-04-17 13:11:02)
    freedb Tagger 0.6.1
foo_input_alac.dll (2006-08-04 21:57:02)
    ALAC Decoder 1.0
foo_input_monkey.dll (2008-05-31 22:39:34)
    Monkey's Audio Decoder 2.1.3
foo_input_std.dll (2009-04-17 13:11:36)
    Standard Input Array 1.0
foo_ir2.dll (2008-11-05 04:06:26)
    ir2 Infrared Remote Control 0.1.2
foo_lastfm_radio.dll (2009-02-25 23:05:24)
    Last.fm Radio 0.5.6b
foo_lyricsdb.dll (2007-02-26 19:42:02)
    foo_lyricsdb 0.0.7 beta 5
foo_masstag.dll (2009-03-29 20:53:12)
    Masstagger 1.8
foo_musicbrainz.dll (2009-04-10 22:27:28)
    MusicBrainz Tagger 0.2
foo_playcount.dll (2009-03-08 23:27:16)
    Playback Statistics 2.1.8
foo_pqview.dll (2008-03-11 20:02:54)
    Playback Queue Viewer 0.2
foo_random.dll (2007-01-25 23:50:16)
    Randomized Playlist Entry 1.2.3
foo_rg_trn.dll (2007-10-27 22:13:20)
    ReplayGain override 0.1.2
foo_rgscan.dll (2009-04-17 13:11:32)
    ReplayGain Scanner 2.0.8
foo_run.dll (2009-03-27 22:49:54)
    Run services 0.3.6
foo_textdisplay.dll (2008-07-08 19:45:26)
    Text Display UI Element 1.0 RC 3
foo_texttools.dll (2008-06-19 21:53:52)
    Text Tools 1.0.1
foo_ui_columns.dll (2009-04-18 18:30:11)
    Columns UI 0.3.6.9
foo_ui_std.dll (2009-04-17 13:12:14)
    Default User Interface 0.9.5
foo_uie_albumlist.dll (2009-03-28 17:14:17)
    Album list panel 0.3.4
foo_uie_typefind.dll (2007-10-22 23:30:44)
    Typefind 0.2 beta 2
foo_upnp.dll (2009-04-23 12:03:29)
    UPnP/DLNA Media Server and Browser 0.98.1
foo_whatsnew.dll (2008-08-30 16:45:00)
    Feature Watcher 1.0.6

By the way, thanks a lot for your continuous excellent work with this component bubbleguuum.
Title: foo_upnp
Post by: bubbleguuum on 2009-04-23 11:27:12
Just added the new version. Seems to work ok, i'll have to have more of a playaround with it.
However, upon closing foobar I'm getting this
No other info just dead foobar
Components list please.
I'm experiencing the same error. Online Troubleshooter reports no problematic components, here's my component list anyways:
Code: [Select]
Core (2009-04-17 13:16:46)
    foobar2000 core 0.9.6.5 beta 2
foo_abx.dll (2009-04-17 13:10:42)
    ABX Comparator 1.3.4
foo_albumlist.dll (2009-04-17 13:11:54)
    Album List 4.3.1
foo_audioscrobbler.dll (2008-03-09 21:08:02)
    Audioscrobbler 1.3.16
foo_biometric.dll (2009-03-14 21:42:35)
    Fingerprint tools 0.3
foo_burninate.dll (2006-08-04 21:56:44)
    Audio CD Writer 2.0.1
foo_cdda.dll (2009-04-17 13:11:46)
    CD Audio Decoder 2.1.4
foo_converter.dll (2009-04-17 13:11:38)
    Converter 1.2.1
foo_convolve.dll (2006-08-04 22:57:26)
    Convolver 0.3
foo_dop.dll (2009-04-11 13:34:45)
    iPod manager 0.6.4.2
foo_dsp_delta.dll (2008-10-24 15:57:16)
    Noise Sharpening DSP 1.0.0
foo_dsp_mm.dll (2008-06-06 07:29:10)
    Matrix Mixer 0.3
foo_dsp_std.dll (2009-04-17 13:12:00)
    Standard DSP Array 1.0
foo_dsp_xover.dll (2006-05-07 12:30:26)
    Crossover 0.38
foo_fileops.dll (2009-04-17 13:10:50)
    File Operations 2.1.2
foo_freedb2.dll (2009-04-17 13:11:02)
    freedb Tagger 0.6.1
foo_input_alac.dll (2006-08-04 21:57:02)
    ALAC Decoder 1.0
foo_input_monkey.dll (2008-05-31 22:39:34)
    Monkey's Audio Decoder 2.1.3
foo_input_std.dll (2009-04-17 13:11:36)
    Standard Input Array 1.0
foo_ir2.dll (2008-11-05 04:06:26)
    ir2 Infrared Remote Control 0.1.2
foo_lastfm_radio.dll (2009-02-25 23:05:24)
    Last.fm Radio 0.5.6b
foo_lyricsdb.dll (2007-02-26 19:42:02)
    foo_lyricsdb 0.0.7 beta 5
foo_masstag.dll (2009-03-29 20:53:12)
    Masstagger 1.8
foo_musicbrainz.dll (2009-04-10 22:27:28)
    MusicBrainz Tagger 0.2
foo_playcount.dll (2009-03-08 23:27:16)
    Playback Statistics 2.1.8
foo_pqview.dll (2008-03-11 20:02:54)
    Playback Queue Viewer 0.2
foo_random.dll (2007-01-25 23:50:16)
    Randomized Playlist Entry 1.2.3
foo_rg_trn.dll (2007-10-27 22:13:20)
    ReplayGain override 0.1.2
foo_rgscan.dll (2009-04-17 13:11:32)
    ReplayGain Scanner 2.0.8
foo_run.dll (2009-03-27 22:49:54)
    Run services 0.3.6
foo_textdisplay.dll (2008-07-08 19:45:26)
    Text Display UI Element 1.0 RC 3
foo_texttools.dll (2008-06-19 21:53:52)
    Text Tools 1.0.1
foo_ui_columns.dll (2009-04-18 18:30:11)
    Columns UI 0.3.6.9
foo_ui_std.dll (2009-04-17 13:12:14)
    Default User Interface 0.9.5
foo_uie_albumlist.dll (2009-03-28 17:14:17)
    Album list panel 0.3.4
foo_uie_typefind.dll (2007-10-22 23:30:44)
    Typefind 0.2 beta 2
foo_upnp.dll (2009-04-23 12:03:29)
    UPnP/DLNA Media Server and Browser 0.98.1
foo_whatsnew.dll (2008-08-30 16:45:00)
    Feature Watcher 1.0.6

By the way, thanks a lot for your continuous excellent work with this component bubbleguuum.

It's probably a regression in this version. The shutdown sequence of this component is quite complicated and there's probably one more deadlock.
To help me find the problem can you answer these question
- Was the UPnP server running this plugin and if that's the case what was the server configuration?
- Did the crash happened when running the foobar instance running the server or the browser ?
- Did you use the UPnP browser as an UI element or CUI panel ?
- Were you streaming an UPnP item when closing foobar ?
- Can you reproduce this bug all the time (if so, describe the steps)?
Title: foo_upnp
Post by: 2E7AH on 2009-04-23 11:42:29
i can try answering those question:

- i use it as a browser over lan with another foobar instance
- it only happens in CUI (and not in potrable mode as i said)
- if i don't use UPnP the error is still there when closing foobar
- and it happens all the time
Title: foo_upnp
Post by: bubbleguuum on 2009-04-23 11:51:05
i can try answering those question:

- i use it as a browser over lan with another foobar instance
- it only happens in CUI (and not in potrable mode as i said)
- if i don't use UPnP the error is still there when closing foobar
- and it happens all the time



ok probably a problem related to the CUI Panel version of the browser. I'll have a look later tonight
Title: foo_upnp
Post by: kompot on 2009-04-23 18:47:41
Some thoughts/feature proposals

1. Disc number is lost (not written to tags) when transcoding from lossless.
2. Is there a chance of getting disc number at the moment playlist gets the tracks from foo_upnp so that the tracks could be sorted as they should appear on actual album?
3. When trying to copy lossless files that should be transcoded on-the-fly foobar says that length is 0 (i understand that it can't be fetched before transcoding), but... just a thought for the far shelf :)

Thanks again for the implemented search :)
Title: foo_upnp
Post by: Anas on 2009-04-23 19:32:53
bubbleguuum,
- No, the server was stopped
- I wasn't (willingly) connected to any server and nothing was playing via foo_upnp
- I was using the browser as CUI panel in a tab stack
- No
- Yes, by closing foobar

I hope that helps.
Title: foo_upnp
Post by: bubbleguuum on 2009-04-23 21:46:11
new version with crash at exit with CUI version of the browser fixed + some new goodies:

0.98.2

- fix: crash on exit with CUI Browser version
- fix: track duration was not set for items transcoded to mp3
- new: new Browser option to use the "sort incoming files by" filter found in foobar's General configuration. Off by default.
- new: %discnumber% is now retrieved at browse time allowing better sorting



the use of the global "sort incoming files by" filter is off by default because the pattern is %path_sort% by default and while it works OK
for items on a filesystem, it gives total random order on upnp items due to their encoded paths.
Title: foo_upnp
Post by: foorious on 2009-04-24 14:16:08
Hi bubbleguuum,

Could you please give us your thought about the two last posts in this topic ? http://www.hydrogenaudio.org/forums/index....showtopic=29308 (http://www.hydrogenaudio.org/forums/index.php?showtopic=29308)

I'd like to know if foo_upnp could evolve to offer such functionality, or if another component would be needed from scratch.

I think the idea of controlling a foobar server from a foobar client would be great (e.g. for laptop owners - controlling your HTPC from your laptop directly within foobar, without any VNC-like solution), and I hope a dev (maybe you ?) can be interested in implementing this.

Thank you.
Title: foo_upnp
Post by: bubbleguuum on 2009-04-24 14:27:11
I think the idea of controlling a foobar server from a foobar client would be great (e.g. for laptop owners - controlling your HTPC from your laptop), and I hope a dev (maybe you ?) can be interested in implementing this.


Why don't you just use VNC or equivalent for this purpose ?
Title: foo_upnp
Post by: foorious on 2009-04-24 14:35:16
Sorry, I was editing my post to say "without any VNC-like solution".

I think you can understand the benefits of not having to use VNC. For example having different interfaces for the Server and the Client, like I said in the other topic's example.

VNC is an external solution when we're talking about what a foobar component could be. Your question is about the same as asking "Why do people ask for lyric search components when there's Evil Lyrics ?". The answer is "Because some people (most people in fact) prefer to launch one single app called foobar and have all needed functionality". Better integration is the key : I think this makes sense.
Title: foo_upnp
Post by: bubbleguuum on 2009-04-24 15:21:33
Sorry, I was editing my post to say "without any VNC-like solution".

I think you can understand the benefits of not having to use VNC. For example having different interfaces for the Server and the Client, like I said in the other topic's example.

VNC is an external solution when we're talking about what a foobar component could be. Your question is about the same as asking "Why do people ask for lyric search components when there's Evil Lyrics ?". The answer is "Because some people (most people in fact) prefer to launch one single app called foobar and have all needed functionality". Better integration is the key : I think this makes sense.


You proposal on the other topic doesn't make much sense on a technical point of view (sending clicks and stuff). Nobody is going to implement a complicated custom protocol when you can just use VNC and use the remote app just like if it was local. As I explained in a previous post in this topic, UPnP can be used to control a remote UPnP Renderer (not limited to foobar) with basic actions like play/pause/enqueue/set volume etc. I will implement probably this (limited) control at some point but it won't let you do everything like changing the DSP chain of the remote server for example.

Another cool way to remote control a foobar instance would be to create a plugin that emulate the MPD protocol. That way you could use any existing MPD client program to remote control foobar2000. There are MPD clients for all OS and even Web based ones. Now, if using a MPD client you could as well use a real MPD server connected to your HTPC...

Title: foo_upnp
Post by: odyssey on 2009-04-24 15:35:39
MPD looks interresting and yes it's pretty much what we're trying to achieve.

Why not use VNC?
- I've tried and It's just unhandy in any way. VNC has an option to only show a specific window, which sounds great. It works pretty well until a window is layered on top of foobar2000. Also it's quite hard to bring back the foobar2000 window if it becomes minimized. That said, I'd also like to run a few other applications on my server and in this case VNC just makes what was supposed to be an easy access, more difficult.

My current workaround/solution is to run each of my applications in full screen, from Remote Desktop set at a specified size, emulating that it's running as a window.
Title: foo_upnp
Post by: hammurabi on 2009-04-24 15:56:53
new version with crash at exit with CUI version of the browser fixed + some new goodies:

0.98.2

Thx bubbleguuum. Problem solved

Ps. Thx for the great component too
Title: foo_upnp
Post by: foorious on 2009-04-24 16:07:37
Another cool way to remote control a foobar instance would be to create a plugin that emulate the MPD protocol.

Interesting.

That way you could use any existing MPD client program to remote control foobar2000.

That's not what I'm trying to achieve because I want to keep using foobar, not a MPD client. Do you think that some future foo_mpd component with a selectable mode (client or server) could technically allow foobar to act as both a MPD client or a MPD server ? If that's technically feasible, then that could be what we're trying to achieve.

Now, if using a MPD client you could as well use a real MPD server connected to your HTPC...

That wouldn't work with my other topic's example :
- HTPC : would display fancy stuff (Album Art Viewer, Spectrum, Lyrics, Chronflow, you name it) => it would need foobar
- Client : would display search stuff (Facets, Playlist Manager, Playlist View...) => it also would need foobar

If the solution is a foo_mpd client/server plugin, then maybe it's time to create a topic for it. Would that be relevant ?
Title: foo_upnp
Post by: bubbleguuum on 2009-04-24 16:33:04
Another cool way to remote control a foobar instance would be to create a plugin that emulate the MPD protocol.

Interesting.

That way you could use any existing MPD client program to remote control foobar2000.

That's not what I'm trying to achieve because I want to keep using foobar, not a MPD client. Do you think that some future foo_mpd component with a selectable mode (client or server) could technically allow foobar to act as both a MPD client or a MPD server ? If that's technically feasible, then that could be what we're trying to achieve.

Now, if using a MPD client you could as well use a real MPD server connected to your HTPC...

That wouldn't work with my other topic's example :
- HTPC : would display fancy stuff (Album Art Viewer, Spectrum, Lyrics, Chronflow, you name it) => it would need foobar
- Client : would display search stuff (Facets, Playlist Manager, Playlist View...) => it also would need foobar

If the solution is a foo_mpd client/server plugin, then maybe it's time to create a topic for it. Would that be relevant ?


The main interest in emulating a MPD server via a plugin is that it is easy to do (no UI work except a few server prefs)  and that you can use *instantly* all existing MPD clients on a variety of platforms. So you don't need to write a foobar mpd client to make it work, although technically you can write one (it would allow to access a real MPD server btw). But writing a mpd client would be  of lot of work as you must implement your own custom browser (like foo_upnp do). There's no way you can hook a remote library (be it mpd or upnp) into the current ML.
Title: foo_upnp
Post by: Kev0 on 2009-04-24 18:02:29
Hi bubbleguuum,

Could you please give us your thought about the two last posts in this topic ? http://www.hydrogenaudio.org/forums/index....showtopic=29308 (http://www.hydrogenaudio.org/forums/index.php?showtopic=29308)

I'd like to know if foo_upnp could evolve to offer such functionality, or if another component would be needed from scratch.

I think the idea of controlling a foobar server from a foobar client would be great (e.g. for laptop owners - controlling your HTPC from your laptop directly within foobar, without any VNC-like solution), and I hope a dev (maybe you ?) can be interested in implementing this.

Thank you.


Maybe

http://www.hydrogenaudio.org/forums/index....2218&st=350 (http://www.hydrogenaudio.org/forums/index.php?showtopic=62218&st=350)


?
Title: foo_upnp
Post by: foorious on 2009-04-24 18:23:40
@bubbleguuum : Thanks for clearing this up.

So, besides writing a MPD server plugin for foobar (easy part), the "easiest" thing to turn foobar into a MPD client would be that Peter himself decides to do so, right ? If Peter would implement MPD protocol within foobar core, then I suppose that it would take advantage of all existing UIs and browsing features (no need for a custom browser). Is this correct ?

(if I'm right then I'll make a feature request, and we'll see what happens  )


@Kev0 : the problem about http browsing is that it only only offers a set of limited features (e.g. no Facets). It's not like having a "real" foobar at your fingertips. I think this was already said on the other topic. But thanks anyway.
Title: foo_upnp
Post by: dr_rick on 2009-04-28 15:32:47
Bubbleguum, have you had a chance to see if you could figure out what was causing the http error when transcoding to mp3 on the PS3? I tried it again with one of the new versions (I don't remember if I tried with the very latest or not yet), and it was still doing it. I wasn't sure if that was supposed to be included in these releases, or if it was still on the to do list. Once again, thanks for your work on a cool plugin!
Title: foo_upnp
Post by: GreenSmurf on 2009-04-29 09:37:27
Let me preface my post with this (skip to the  for the real meat of the post):

I can only hope after having read the first couple pages rather briefly that I can have my question answered- I know I am probably going to get some smartypants flaming reply for 'not searching' or 'reading a post'. With that said I present my predicament.

  I seem to having an issue with my entire library loading on the PS3. A generous estimate is that 1/3 of my (~100k songs) library loads and then the rest is non-viewable. Any suggestions or comments would be appreciated. Thank you.

-Brandon
Title: foo_upnp
Post by: bubbleguuum on 2009-04-29 16:09:38
@dr_rick:  I know what is causing trouble but do not have a PS3 anymore to try a few things to address the pbm

@GreenSmurf: maybe the PS3 has some internal limit on how much album it can present in the tree ? does the PS3 indicate any error ?
Maybe it chokes on some album name and goes no further?
Title: foo_upnp
Post by: GreenSmurf on 2009-04-30 05:30:25
It would appear that the PS3 just won't load more. Its not any name in particular being that it does seem to vary from time to time. I think it might be a buffer issue or maximum data packet issue. Not too sure if the latter actually is feasible but I have heard of similar issues with other music servers.

-B
Title: foo_upnp
Post by: Holgov on 2009-05-04 09:30:50
Hi Folks,

I am new to foobar, but I very much like the idea of using foobar as a upnp renderer on a PC.
I have a machine in my network which runs the Twonky Mediaserver v3.1.
Two Terratec Noxxons already make use of that server, working flawlessly.
Now I want a software renderer to access that server, too.

Sure enough I stumbled over the foo_upnp component after a while, but I cannot get it to *do* something.

I downloaded the latest version 0.98.2., and put the foo_upnp.dll into the ..\components folder.
When restarting foobar, my firewall popped up alerting me that foobar2000.exe is trying to broadcast using remote port 1900 (SSDP protocol) - I figure thats the server part of the upnp functionality, so it must have found and used the foo_upnp.dll.

So far, so good.

Now I expected to "see" my Twonky server somewhere in the library tree, but nope.

I also tried to have one foobar2000 running on a machine, sharing some MP3s acting as server, and another one, on a different PC, but nope again - couldn't see a shared tree or anything.

So here's my obvious question:
What am I doing wrong?

Any help appreciated.

Kind regards
Holgov

PS: Using Windows XP pro and Foobar2000 v0.9.6.5.
Title: foo_upnp
Post by: bubbleguuum on 2009-05-04 11:10:52
I downloaded the latest version 0.98.2., and put the foo_upnp.dll into the ..\components folder.
When restarting foobar, my firewall popped up alerting me that foobar2000.exe is trying to broadcast using remote port 1900 (SSDP protocol) - I figure thats the server part of the upnp functionality, so it must have found and used the foo_upnp.dll.

So far, so good.

Now I expected to "see" my Twonky server somewhere in the library tree, but nope.


You need to add the UI Element (called UPnP Browser) to your configuration. It is a window containing the browse tree.
If you're new to foobar maybe you have not done  UI layout editing before, so here's some quick instruction to add the UI element:
enter layout editing mode (View->Layout->Enable layout editig mode). In this mode when you right click on a component in the UI, you'll
be able to add new ones. For a quick test just select one component, right-click then select Replace UI Element and in the component list choose UPnP Browser  (it is in the Utility section).
Then you should have a window with your UPnP server listed and browsable. If you don't want to replace an existing component you'll need to add a vertical or horizontal splitter first.
You may want to familiarize yourself with the UI editing mode as this allow to custom the UI.
Title: foo_upnp
Post by: Holgov on 2009-05-04 18:36:45
(...)
You need to add the UI Element (called UPnP Browser) to your configuration. It is a window containing the browse tree.
If you're new to foobar maybe you have not done  UI layout editing before, so here's some quick instruction to add the UI element:
enter layout editing mode (View->Layout->Enable layout editig mode). In this mode when you right click on a component in the UI, you'll
be able to add new ones. For a quick test just select one component, right-click then select Replace UI Element and in the component list choose UPnP Browser  (it is in the Utility section).
Then you should have a window with your UPnP server listed and browsable. If you don't want to replace an existing component you'll need to add a vertical or horizontal splitter first.
You may want to familiarize yourself with the UI editing mode as this allow to custom the UI.


Awesome, now it works as expected.
Thanks mate, will keep on playing around and feedback any issues I find.

cu
Holgov
Title: foo_upnp
Post by: bubbleguuum on 2009-05-07 22:09:28
New version with 2 big new features allowing remote control. This is still a beta so please submit any crash. Thanks TheLink for testing .

0.99.0
--------

- new: new UI Element / CUI Panel, "UPnP Controller":  makes foobar2000 an UPnP Control Point able to control any UPnP Media Renderer.
- new: foobar2000 is now an UPnP Media Renderer, allowing remote control with any UPnP Control Point.
- fix: crashes due to dangling pointer
- fix: crashes when multiple foo_upnp Media Servers on the LAN
- fix: browser: now in the UPnP Browser, it is possible to see multiple foo_upnp Media Servers
- fix: browser: set unknown track length if not track length info present in track browse data
- fix: buggy behaviour when replacing the UI Element by a Splitter
- chg: server: if no %discnumber% in track do not send %discnumber% as '?'


Media Renderer
==========

This implement the standard UPnP Media Renderer interface which allow basic control of the player by any UPnP Control Point software.
The Media Renderer can be enabled or disabled in the "UPnP | Server | Basic Settings/Status"  Configuration pages.
Note that the Media Renderer name cannot be configured (yet). It is always of the form "foobar2000 Media Renderer <windows username>".

Media Controller
==========

The UPnP Controller UI Element allow to control any remote Media Renderer, be it another foobar2000 instance on the network running this plugin, or a hardware based one.

Basic operations such as play/pause/stop etc are supported. There are 2 operating modes according if "Use controller playlist" is enabled or not.

- Use controller playlist disabled

Playback operation buttons (play/pause/etc) will send the related command to the remote renderer.

- "Use controller playlist" enabled

If it is enabled, a special playlist called "UPnP Controller Playback queue" is used. This playlist is locked and cannot be removed while the UPnP Controller component is running.
It is the playback queue of the remote renderer, so you can add any items in it, even UPnP items from any UPnP Server.
In this playlist, the highlighted track is the track that will be played when using the "Play" button. It then becomes the playing track for the remote renderer.
Next and Prev will instruct the renderer to play the Next or Prev track in this playlist. Double-clicking a track in this playlist will play it in the renderer.
The "PL" button will show the  "UPnP Controller Playback queue" playlist.

Beware that for the remote renderer to be able to play local items (ie non-UPnP or http) in this playlist,
the UPnP Media Server must be started on the foobar instance holding those items (which is also the instance running the Controller).

When the UPnP Controller is running and there are Media Renderers detected on the LAN, a playlist context menu is added a sub-menu  called "UPnP Controller".
It will let you play (or enqueue) directly the selected items in any renderer. It will effectively put automatically those selected items
in the "UPnP Controller Playback queue" playlist and start play. This is similar to the WMP 11 (Vista) and 12 (Win7) "Play to" feature.
This context menu is also available by right-clicking a node containing items in the UPnP Browser.
Title: foo_upnp
Post by: wtstommy on 2009-05-08 03:07:45
Great plugin! Posted a guide on how to use this to stream music to your iPhone remotely. http://nerdlets.org/2009/05/07/set-up-a-up...ith-foobar2000/ (http://nerdlets.org/2009/05/07/set-up-a-upnp-media-server-with-foobar2000/)
Title: foo_upnp
Post by: bubbleguuum on 2009-05-08 13:04:17
Great plugin! Posted a guide on how to use this to stream music to your iPhone remotely. http://nerdlets.org/2009/05/07/set-up-a-up...ith-foobar2000/ (http://nerdlets.org/2009/05/07/set-up-a-upnp-media-server-with-foobar2000/)


Many thanks for that nice article . It just remember me how a proper www page with docs for this plugin is needed. You're the first to report that it works well with PlugPlayer on the iPhone/iPod touch. There's no reason it shoudn't have worked but until someone tries, you never know. Did you try controlling the foobar Media Renderer from PlugPlayer ?

Also it was cool to learn you could access the Media Server from the WAN with this app. This is possible only because the developper included entering a manual URL which most control points do not allow since autodiscovery is supposed to happen automatically on the LAN. When accessing the server from the WAN, I supposed you hat to put the login/password in the manual URL for it to work (something like http://user:password@my.hostname:port") (http://user:password@my.hostname:port&quot%3b%29) ?
Title: foo_upnp
Post by: bubbleguuum on 2009-05-08 15:00:08
New bugfix version, uploaded just a few hours after 0.99.0 so there are chance you already have it.

0.99.1

- fix: crash sometimes when entering Preference/General/Keyboard Shortcuts page
- fix: crash when triggering the default action (double-click or Enter) on an item in the "UPnP Controller Playback Queue" playlist, if the UPnP Controller is not launched.
Title: foo_upnp
Post by: wtstommy on 2009-05-08 18:19:17
Great plugin! Posted a guide on how to use this to stream music to your iPhone remotely. http://nerdlets.org/2009/05/07/set-up-a-up...ith-foobar2000/ (http://nerdlets.org/2009/05/07/set-up-a-upnp-media-server-with-foobar2000/)


Many thanks for that nice article . It just remember me how a proper www page with docs for this plugin is needed. You're the first to report that it works well with PlugPlayer on the iPhone/iPod touch. There's no reason it shoudn't have worked but until someone tries, you never know. Did you try controlling the foobar Media Renderer from PlugPlayer ?

Also it was cool to learn you could access the Media Server from the WAN with this app. This is possible only because the developper included entering a manual URL which most control points do not allow since autodiscovery is supposed to happen automatically on the LAN. When accessing the server from the WAN, I supposed you hat to put the login/password in the manual URL for it to work (something like http://user:password@my.hostname:port") (http://user:password@my.hostname:port&quot%3b%29) ?


Was my pleasure, and thanks for the great plugin. I have recently tried PlugPlayer over a remote network (my office) to access my home computer and have not been able to get things working yet. I am talking with the developer of PlugPlayer to see if it is a password problem. Is there anyway to set =up foo_upnp so that it does not require a password?

Controlling my home foobar2000 using PlugPlayer on the iPhone works perfectly over local networks.

And yes, what sets PlugPlayer apart from the rest is that you can enter custom URLs. Not sure yet if it handles passwords.... I'll keep the thread updated, though.
Title: foo_upnp
Post by: bubbleguuum on 2009-05-09 11:15:19
Was my pleasure, and thanks for the great plugin. I have recently tried PlugPlayer over a remote network (my office) to access my home computer and have not been able to get things working yet. I am talking with the developer of PlugPlayer to see if it is a password problem. Is there anyway to set =up foo_upnp so that it does not require a password?

Controlling my home foobar2000 using PlugPlayer on the iPhone works perfectly over local networks.

And yes, what sets PlugPlayer apart from the rest is that you can enter custom URLs. Not sure yet if it handles passwords.... I'll keep the thread updated, though.


try connecting using "http://user:password@my.hostname:port". With a bit of luck the user/password will be encoded in a "Authorization" HTTP header and it should work then.
Title: foo_upnp
Post by: 2E7AH on 2009-05-09 11:47:21
I have question about UPnP Controller Playback Queue playlist:
When using foo_utils "add to playlist" it can't sent to this playlist, but adding from anywhere else is ok. Rearranging, removing, everything is like in normal playlist except this sending from playlist to this playlist.
Is this on purpose?
Title: foo_upnp
Post by: bubbleguuum on 2009-05-09 12:43:56
I have question about UPnP Controller Playback Queue playlist:
When using foo_utils "add to playlist" it can't sent to this playlist, but adding from anywhere else is ok. Rearranging, removing, everything is like in normal playlist except this sending from playlist to this playlist.
Is this on purpose?


This playlist is locked because it redefines the default action on items, and foo_utils seems to just disallow sending items to a locked playlist even if the locked playlist would accept those items (this is the case for the Controller Playlist).
Title: foo_upnp
Post by: 2E7AH on 2009-05-09 13:05:16
Ok, thanks for answering my silly question, at least it is foo_utils related
BTW, using foo_utils "remove from playlist" somehow removes items from UPnP queue
Title: foo_upnp
Post by: tomhosking on 2009-05-12 18:12:59
Was my pleasure, and thanks for the great plugin. I have recently tried PlugPlayer over a remote network (my office) to access my home computer and have not been able to get things working yet. I am talking with the developer of PlugPlayer to see if it is a password problem. Is there anyway to set =up foo_upnp so that it does not require a password?

Controlling my home foobar2000 using PlugPlayer on the iPhone works perfectly over local networks.

And yes, what sets PlugPlayer apart from the rest is that you can enter custom URLs. Not sure yet if it handles passwords.... I'll keep the thread updated, though.


try connecting using "http://user:password@my.hostname:port". With a bit of luck the user/password will be encoded in a "Authorization" HTTP header and it should work then.


Firstly, massive thanks for developing this - one of the best plugins I've seen in a while, and if I can get it to work over internet on my iPhone it will be *the* best!

I'm also using PlugPlayer - works a treat over LAN, but not so much over WAN. Get this error:

Code: [Select]
foo_upnp: FbMediaServer::ProcessHttpRequest: received request URL=/DeviceDescription.xml from a WAN client
foo_upnp: FbMediaServer::ProcessHttpRequest: WAN Authorization failed


I'm guessing PlugPlayer doesn't allow encoding auth details in the URL... Can I echo wtstommy's request for another way of authenticating another way for WAN requests? Would a unique hash in the URL or something similar work?
Title: foo_upnp
Post by: tomhosking on 2009-05-12 18:30:25
Having said that, Firefox doesn't like it either:

Going to http://user:pass@xxx.xxx.xxx.xxx:56923/DeviceDescription.xml (http://user:pass@xxx.xxx.xxx.xxx:56923/DeviceDescription.xml) brings up blank XML, and produces the same authentication message in foobar. This works fine when the IP address is 127.0.0.1, not when it's my WAN address. The request is getting through, so it's nothing to do with forwarding. So perhaps the problem is with the plugin after all?
Title: foo_upnp
Post by: bubbleguuum on 2009-05-12 18:41:30
I'm also using PlugPlayer - works a treat over LAN, but not so much over WAN. Get this error:

Code: [Select]
foo_upnp: FbMediaServer::ProcessHttpRequest: received request URL=/DeviceDescription.xml from a WAN client
foo_upnp: FbMediaServer::ProcessHttpRequest: WAN Authorization failed


I'm guessing PlugPlayer doesn't allow encoding auth details in the URL... Can I echo wtstommy's request for another way of authenticating another way for WAN requests? Would a unique hash in the URL or something similar work?


There's 2 solutions:

- make a request to the PlugPlayer author to encode the login:password part of the URL as an Authorization HTTP header. This is pretty much trivial to do
- I change the plugin to handle URLs of the style http://hostname:port/login_password (http://hostname:port/login_password). That will work if PlugPlayer do not assume the URL must end at port (ie discard the path part of the URL). I'll probably implement this as this is also trivial to do.
Title: foo_upnp
Post by: bubbleguuum on 2009-05-12 18:54:15
Having said that, Firefox doesn't like it either:

Going to http://user:pass@xxx.xxx.xxx.xxx:56923/DeviceDescription.xml (http://user:pass@xxx.xxx.xxx.xxx:56923/DeviceDescription.xml) brings up blank XML, and produces the same authentication message in foobar. This works fine when the IP address is 127.0.0.1, not when it's my WAN address. The request is getting through, so it's nothing to do with forwarding. So perhaps the problem is with the plugin after all?



This is possible. Going to look into it
Title: foo_upnp
Post by: bubbleguuum on 2009-05-13 14:40:47
0.99.2 (first post to download)

- fix: crashes sometimes on remote UPnP devices disappearance when an action was pending

- chg: browser: displayed date from browse info is not appended "-01-01" anymore

- chg: controller: removed "Use Controller Playlist" checkbox. Now the Controller playlist is always active (ie the playback buttons always operate on this playlist). The other mode was not very spec compliant and not very useful.

- chg: controller: can now drag&drop items from the Album List or from Windows Explorer to the Controller playlist.

- chg: controller: The Controller playlist can now be removed at any time, it will be recreated if necessary.

- chg: controller/renderer:Various changes to make the controller and renderer more standard compliant. Should play nice with WMP12 (Windows 7) which can now send items to the foobar2000 Media Renderer for playing and control remote playback (via the "Send To" context menu in WMP). It is also possible to control WMP12 Media Renderer from the UPnP Controller. See this link (http://blogs.msdn.com/e7/archive/2009/05/12/media-streaming-with-windows-7.aspx) for a good overview of WMP12 regarding media servers, renderers, controllers (most of it is also a good introduction to the functionality of this plugin). Potentially also works with Vista WMP11 (untested).

- new: Partial support to connect to the Internet Server on the iPhone/iPod touch using PlugPlayer. Still experimental and not very tested.
The manual URL must be entered in PlugPlayer with the following format: http://public_hostname:port/loginpassword (http://public_hostname:port/loginpassword). Login and Password must be concatenated without space. Don't use an important login/password.
Issues: this manual WAN server will be replaced by the LAN one when detected on the LAN. Also the WAN server can remain disconnected when relaunching PlugPlayer. This will get sorted when I get an iPoud Touch.
Title: foo_upnp
Post by: bubbleguuum on 2009-05-14 22:26:39
0.99.3

- controller: crash if adding any item to any playlist if the Controller Playlist is not created
- renderer: return correct track length instead of 0 in certain cases (needed by PlugPlayer otherwise it won't switch to next track)
- server: option to apply foobar2000  ReplayGain settings to streamed audio. When ReplayGain is applied, all files that are not transcoded to mp3 are streamed as PCM (either WAV or LPCM).
- server/renderer: generate a unique persistent server uuid per PC.  Needed not to confuse some control points like PlugPlayer (multiple dead server entries accumulating).


It is advised you upgrade to this version as the crash fixed is quite severe.
Title: foo_upnp
Post by: Stu L Tissimus on 2009-05-14 22:38:22
Thanks for keeping up with this project, I really appreciate it! Just updated to the latest version

Quick question for you. When I try to load a particularly large playlist (5353 items, to be exact), my network usage goes way up as expected, and then the client crashes (I can give you the failure .txt if you wish).
Is this just a matter of asking too much from the plugin?
Title: foo_upnp
Post by: bubbleguuum on 2009-05-14 22:48:33
Thanks for keeping up with this project, I really appreciate it! Just updated to the latest version

Quick question for you. When I try to load a particularly large playlist (5353 items, to be exact), my network usage goes way up as expected, and then the client crashes (I can give you the failure .txt if you wish).
Is this just a matter of asking too much from the plugin?


If you can reproduce it, submit the crash in foobar when asked, it'll help finding the cause.
You can also PM me the crash log you got.
Title: foo_upnp
Post by: Stu L Tissimus on 2009-05-15 00:48:21
I did you one better, although I'm not positive if the PM went through (it's not showing up in sent items >_>)
Title: foo_upnp
Post by: saivert on 2009-05-16 00:47:06
Thanks for the updated version. Now works perfectly fine on Windows 7.

(http://i29.photobucket.com/albums/c276/saivert/tiny_foo_upnp_and_windows7_wmp12_pl.png) (http://i29.photobucket.com/albums/c276/saivert/foo_upnp_and_windows7_wmp12_playto_.jpg)


(http://i29.photobucket.com/albums/c276/saivert/tiny_foo_upnp_controller_win7_wmp12.png) (http://i29.photobucket.com/albums/c276/saivert/foo_upnp_controller_win7_wmp12.jpg)

Oh yeah baby!
Title: foo_upnp
Post by: TehNomad on 2009-05-16 03:12:37
Can anyone suggest a way to stream music from a home computer with blocked ports and no access to the router?  I have some web hosting with SSH access and a computer at work if that helps.
Title: foo_upnp
Post by: odyssey on 2009-05-16 11:09:20
Can anyone suggest a way to stream music from a home computer with blocked ports and no access to the router?  I have some web hosting with SSH access and a computer at work if that helps.

Try Hamachi (https://secure.logmein.com/products/hamachi/list.asp). It creates a virtual private network (not really VPN, but pretty much the same concept) that you can access from the machines that has it installed and registered in the group you create. It works by bootstrapping two clients so you don't need to have global IP access. Check it out, it's really cool

Edit: Note that it might confuse with other VPN clients, so if you have such thing installed on your work machine it might work unexpectedly. I had huge problems with my VPN client - Worked fine at start, but after a reboot nothing worked.
Title: foo_upnp
Post by: tst on 2009-05-17 20:44:36
bubbleguuum, thank you very much for the media renderer implementation. I can't believe you implemented it that fast - just came here to check for updates. It works flawlessly - great to have - thanks for the work you put into this!
Title: foo_upnp
Post by: digby101 on 2009-05-17 21:11:14
Thank you for the plugin...works without a lot of fuss, and I like that!

Question -- has anybody had any success streaming XM radio's feed through this plugin to a PS3?

I'm using the now-defunct uXM server and trying all sorts of permutations of addresses to get the PS3 to stream XM...

Thank you!
Title: foo_upnp
Post by: bubbleguuum on 2009-05-17 22:45:21
New version out! Still a beta so if there are crashes, please submit them!

0.99.4

- fix: crash on startup when running under Wine
- add: server: option in Server/Advanced Settings to split nodes containing a huge (configurable) number of items (albums or artists for example) by A-Z sub nodes. Should be useful to browse 10K albums on a PS3.
- add: server: PlugPlayer (iPhone/iPod Touch) preset
- chg: server: "By genre" subtree now uses %<genre>% instead of %genre% to dispatch genres (Hi TehLink!).
- chg: server: deny file requests on files that are neither in the Media Library or in a playlist. Previously any file could be accessed (only from the LAN) (Hi saivert!)
- chg: do not parse embedded UPnP devices. Seems to be cause a few crashes.
- chg: merge with the latest UPnP SDK


@digby101: not familiar with XM radio but I suppose you're using foo_xm. It's possible foo_upnp do not relay audio from items managed by this plugin, I'll look into it.


EDIT: fixed a last minute bug in the Renderer so redownload if necessary.
Title: foo_upnp
Post by: icwong on 2009-05-19 06:46:38
Thanks for the great plugin!  I have one problem in that it does not always seem to retrieve the Artist tag.  Album, track number, and song title are all ok, but the Artist only seems to appear once in a while.  (I haven't been able to find a pattern for what makes foo_upnp unable to retrieve Artist information.)

I am streaming the music from a QNAP 209 NAS device running Twonky 4.4.9.  I've tried running XBMC on my computer to play music and it does pick up the artist information where foo_upnp is not able to.
Title: foo_upnp
Post by: tst on 2009-05-19 10:23:22
I was using the plugin for the past couple day. Works really well, I love it already.

One suggestion though:

I find it a little odd to have two buttons of each control element (play, pause, skip).

My Idea is to reduce the "controller" panel so it only contains a few elements like PL and the combobox.
In the combobox there is a new entry "local foobar" (or whatever).
Using the combobox you can select, what the actual foobar control buttons do (controller or local).

What do you think? I think it would slim down the foobar gui a little.

Title: foo_upnp
Post by: Morphit on 2009-05-19 12:54:42
Thanks for this plugin, exactly what I was looking for and brand new 

My Idea is to reduce the "controller" panel so it only contains a few elements like PL and the combobox.
In the combobox there is a new entry "local foobar" (or whatever).
Using the combobox you can select, what the actual foobar control buttons do (controller or local).

What do you think? I think it would slim down the foobar gui a little.


I agree, the playback buttons in foobar control the local player, would it be possible to make a new buttonbar/seekbar/volume control that would control the remote media renderer?
Also, the controller generates its own playlist called "UPnP Controller Playback Queue", can I view that playlist on the instance that is acting as the media renderer? And would I be able to edit it locally aswell?

Again, great plugin. I'm hoping to make a proper media server, pull down files into foobar onto my desktop, and have my laptop able to control playback.
Title: foo_upnp
Post by: wtstommy on 2009-05-19 20:12:41
Glad to see Preliminary PlugPlayer support. Gonna test this out tonight. Will post on my blog if it works well. Looking forward to it, so thanks for your excellent work!
Title: foo_upnp
Post by: Wadsbrau on 2009-05-20 07:50:51
Thank you for the Plug-in!  working very well so far    .  The renderer I started 6 months ago has hit a snag that I can't seem to get help with.  I started the project to build a high-end renderer for PC and to try to get back into programming.  My project is 95% finished.  But I might not finish it due to getting no help (which is what I thought a forum was for...but?) and the fact that your plugin is AWESOME! so far.

Thank you again.  I've been in to UPnP for over a year using various hardware devices.  None of which seem to work  very well.  Except for the one I helped set up at the Audio store.  the Linn Akurate.  I prefer the PC methods. I am a Computer tech by trade so... 

Also, is it possible to set up Foobar as a server to list (through UPnP controller) the library by folder?  All of my music is sorted Artist/album/songs

Thank you

Darren
Title: foo_upnp
Post by: bubbleguuum on 2009-05-20 22:57:13
I agree, the playback buttons in foobar control the local player, would it be possible to make a new buttonbar/seekbar/volume control that would control the remote media renderer?


It is not possible, and even if it was, it would be confusing. Not even the WMP12 Controller does that: it has its own window with duplicated playback buttons / seek bar / etc.

Quote
Also, the controller generates its own playlist called "UPnP Controller Playback Queue", can I view that playlist on the instance that is acting as the media renderer? And would I be able to edit it locally aswell?


It is not possible as UPnP AV does not specify anything about playlist management. There's no way to have a remote (on the renderer) an local (ie Controller) playlist stay in sync for example. The most you can
do is tell the renderer "play this URL" or "play this group of URLs (stored in a .m3u)". AFAIK Linn has done some extensions to support playlist management but it is not standard.
Title: foo_upnp
Post by: bubbleguuum on 2009-05-20 23:08:20
Also, is it possible to set up Foobar as a server to list (through UPnP controller) the library by folder?  All of my music is sorted Artist/album/songs
Darren


Maybe. This is somewhat in the todo list but not a high priority
Title: foo_upnp
Post by: bubbleguuum on 2009-05-20 23:10:05
I am streaming the music from a QNAP 209 NAS device running Twonky 4.4.9.  I've tried running XBMC on my computer to play music and it does pick up the artist information where foo_upnp is not able to.


The only explanation I have is that your device would return an empty Album Artist which could interfere with the regular Artist tag.  We'll know for sure in the next version.

EDIT: you can try to set a column to $meta(artist,0) and see if it always display the artist.
Title: foo_upnp
Post by: wtstommy on 2009-05-21 01:32:51
Alrighty. I can confirm that all this works remotely with an iPhone via PlugPlayer. There is currently a bug in PlugPlayer that prevents it from remembering your customized settings once it shuts down, but the developer has promised that this is fixed in an upcoming release.

I updated my guide on my blog to account for the new features. Check it out. http://nerdlets.org/2009/05/07/set-up-a-up...ith-foobar2000/ (http://nerdlets.org/2009/05/07/set-up-a-upnp-media-server-with-foobar2000/)
Title: foo_upnp
Post by: icwong on 2009-05-21 05:24:59
EDIT: you can try to set a column to $meta(artist,0) and see if it always display the artist.


Thanks for the suggestion.  I tried it and it is returning "Unknown".  I still can't find a pattern as to when it gets the artist tag successfully and when it does not.  Is there any other test I can do to help?
Title: foo_upnp
Post by: Kohlrabi on 2009-05-22 12:54:49
I'm using foobar2000 0.9.6.7 and foo_upnp 0.99.4 and I get an error message when trying to connect to any remote server: "Could not connect to remote foobar2000 server.". Still the plugin connects to the server and I can browse and playback the content.
Title: foo_upnp
Post by: bubbleguuum on 2009-05-24 21:26:07
Small bugfix release

0.99.5

- fix (regression): controller: crash under CUI if removing UPnP Controller panel and adding it back later if a Renderer had been previously listed
- fix (regression): browser: wrongly displayed error message on successful connection to remote foobar2000 server
- fix: browser: attempt to fix a mysterious rare crash when browsing
Title: foo_upnp
Post by: Kohlrabi on 2009-05-27 09:23:28
thanks for the fix
Title: foo_upnp
Post by: MilkyJoe on 2009-05-28 10:02:56
Hi - firstly would like to say thanks for this plugin, it works excellently.

Is it possible to be able to sidestep the issue of sorting artists beginning with the word "the" under the letter "t"?
So instead of being displayed as "The Clash" and being filed under T, the artist would appear "Clash, The" and appear under C. The option to sort in this way could be added as a simple tick box.

I and many others would LOVE it if this were implemented, as it is a major shortcoming of many a media server. Many thanks for your continued deveopment of this excellent program.

Title: foo_upnp
Post by: MilkyJoe on 2009-05-28 21:33:27
...Also, getting some stuttering (dropping out of audio for a split-second). This happens despite the fact that neither my network or CPU are anywhere near max capacity. Streaming to PS3 with all reccomended presets.
Title: foo_upnp
Post by: thaihugo on 2009-06-01 10:07:08
Hi,

First thanks for thisgreat plugin. I've been trying many setups for my purpose, but this one is the most promising.

I have the following setup:

NAS as media server (linkstation live)
Foobar on PC as controller
Ipod touch with Upnp AV MediaRenderer by adoubleu.de as renderer, plugged to my stereo.

This setup work perfectly, but only for one song. It stops after each music. This is the case with all other media controller I tried: cidero and kinsky. 4u2stream,Cidero starts the next track but stop it after 10 seconds.
However, playback is fine if I select the new track to play in the Upnp Playback controller queue, or if I click next or previous track then play.

I suppose the normal behaviour is to play each track in this queue. The problem is probably comming form the renderer, but the developer seems inactive since last november.
Is it possible to solve this issue using foobar capabilities or macro? Or is it possible for you to make an option for sending next track not the actual way, but by selecting the next track, then force the action of clicking on play?

Thanks
Title: foo_upnp
Post by: bubbleguuum on 2009-06-08 21:00:55
0.99.6

- fix: controller: context menu action "Play on <renderer name>" would only play the first selected track.
- fix: controller: was not automatically starting the Media Server if not started, when playing a local track to a Renderer
- fix: CUI panels: window was not destroyed when panel removed, giving graphical bugs if panel was in a container such as Playlist Tabs or Tab Stack
- fix: CUI panels: crash when destroying panel in some cases
- fix: (regression) server: was not closing http connection on end of transcoded tracks. Controller did not detect end of such tracks because of this, and was not advancing in playlist
- add: server: new option Server/Advanced Settings/Swap "The" and "A" prefix, in artist names. ie if enabled, "The Beatles" => "Beatles, The"



@thaihugo: I couldn't make this renderer play anything, have to investigate.
Title: foo_upnp
Post by: dr_rick on 2009-06-08 21:21:47
bubbleguum,

I haven't tried this plugin recently due to the issues that I'd been having with the PS3, but for whatever reason I decided to give it a shot today. I'm using the newest (9.6.8) release of Foobar and the most recent release (.99.6) of the plugin. I am using the Playstation 3 preset on the plugin. My PS3 seems to connect to the server just fine, but when I go to playlists and select one of my playlists (all of which appear as they should), the PS3 spends a long time working, then says that there are no titles. The same thing happens when I go to albums on the PS3. Before, I could at least view the music and attempt to play it, but with some skipping when streaming PCM. Transcoding to MP3 yielded an unsupported format error on the PS3. I know that last I'd seen, you didn't have a PS3 to troubleshoot on, but just wondered if you had an idea of what was going on.

Thanks!
Rick
Title: foo_upnp
Post by: bubbleguuum on 2009-06-08 21:35:50
bubbleguum,

I haven't tried this plugin recently due to the issues that I'd been having with the PS3, but for whatever reason I decided to give it a shot today. I'm using the newest (9.6.8) release of Foobar and the most recent release (.99.6) of the plugin. I am using the Playstation 3 preset on the plugin. My PS3 seems to connect to the server just fine, but when I go to playlists and select one of my playlists (all of which appear as they should), the PS3 spends a long time working, then says that there are no titles. The same thing happens when I go to albums on the PS3. Before, I could at least view the music and attempt to play it, but with some skipping when streaming PCM. Transcoding to MP3 yielded an unsupported format error on the PS3. I know that last I'd seen, you didn't have a PS3 to troubleshoot on, but just wondered if you had an idea of what was going on.

Thanks!
Rick



It is likely I introduced some regressions at 0.99.4 (or maybe earlier) concerning the PS3. The fact that I don't have a PS3 to test doesn't help...

Try 0.99.3 here and tell me if it works better: http://bubbleguuum.free.fr/foo_upnp/0.99.3/foo_upnp.dll (http://bubbleguuum.free.fr/foo_upnp/0.99.3/foo_upnp.dll)
Title: foo_upnp
Post by: dr_rick on 2009-06-08 21:57:23
That brought back my music, although my other problems obviously haven't been resolved. I still have some skipping over PCM (which could be due to using wireless on the server...though I'm not completely sure), and when I try to transcode to MP3, I get an HTTP error (416). Thanks for your continued work on this component though!
Title: foo_upnp
Post by: bubbleguuum on 2009-06-08 22:06:36
That brought back my music, although my other problems obviously haven't been resolved. I still have some skipping over PCM (which could be due to using wireless on the server...though I'm not completely sure), and when I try to transcode to MP3, I get an HTTP error (416). Thanks for your continued work on this component though!


Alright things broke at 0.99.4 as I suspected. MP3 transcoding is missing something to work on the PS3 with this plugin.
Never tried streaming over wifi so I'm not surprised there could be issues, as the PS3 is a very capricious device.
Title: foo_upnp
Post by: FIST on 2009-06-12 12:15:13
Hi,

thanks for this great plugin!
It works great and it is exactly what I was looking for.

There's only one thing I'm stuck with at the moment: I'm testing the transcode settings, but i'm not sure if I get it right.

Is it possible to transcode every file to, let's say 128 kbps, no matter if the source file is 32 kbps, 320 kbps, mp3 or wav?
I'm testing with a 320kbps file and set the server to Always Transcode and 32kbps (because with 32 I definitely will hear if it works). Also I'm checking the bandwith the stream needs, and it's always about 100 kb/s. With a source file of 128 kbps i need about 10 - 20 kb/s of bandwith. So I guess I'm doing or I'm understanding sth wrong.

Pls help
Thx in advance

FIST

/e: Do I have to install any LAME packages? I installed the upnp-foobar-server on a quite clean machine without any codecs and stuff - just the default foobar installation.
Title: foo_upnp
Post by: thaihugo on 2009-06-12 14:53:35
@thaihugo: I couldn't make this renderer play anything, have to investigate.


I tried different renderer, including a Philips upnp hadware renderer. They all work with different level of functionality, but they all ahve this in common: when something goes wrong, the track information is not updated anymore. The renderer will finish the song, but the player will not forward the next track to it.

Could you imagine timing the song by yourself and, as an option, forcefully send the next song to the renderer when the time is up (if we suppose we don't pause the renderer by any other mean than foobar). This behaviour would stop when we exit foobar, or when we click on stop (even if the stop order never make it to the renderer by itself)

As for making the renderer on ipod to work, it was working fine for me for one song, mostly when I disabled firewall.
Title: foo_upnp
Post by: bubbleguuum on 2009-06-13 00:56:10
@thaihugo: I couldn't make this renderer play anything, have to investigate.


I tried different renderer, including a Philips upnp hadware renderer. They all work with different level of functionality, but they all ahve this in common: when something goes wrong, the track information is not updated anymore. The renderer will finish the song, but the player will not forward the next track to it.

Could you imagine timing the song by yourself and, as an option, forcefully send the next song to the renderer when the time is up (if we suppose we don't pause the renderer by any other mean than foobar). This behaviour would stop when we exit foobar, or when we click on stop (even if the stop order never make it to the renderer by itself)

As for making the renderer on ipod to work, it was working fine for me for one song, mostly when I disabled firewall.



I made a new build to address those issues. I hope there won't be any silly regression on other stuff :/
Note that the iPod renderer doesn't support seek and sometimes return invalid data for track position / track length.
Let me now if your Philips unit now advance in playlist with this version


0.99.7

- fix (regression): controller: crash when hitting some playback buttons if no renderer selected
- fix: server: some http requests where not returning the correct byte-range which made the iPhone/iPod http streamer confused
- chg: controller: now more resistant to buggy track info/metadata sent by renderers. Shouldn't stop updating if data is bad
- chg: controller: changed the way end of track is detected to advance in playlist so it works with the iPhone Media Renderer, Philips renderers and possibly more units. A consequence of that change
is that hitting stop directly on the remote renderer (if available) will make the controller play next track.
Title: foo_upnp
Post by: bubbleguuum on 2009-06-13 01:01:33
Hi,

thanks for this great plugin!
It works great and it is exactly what I was looking for.

There's only one thing I'm stuck with at the moment: I'm testing the transcode settings, but i'm not sure if I get it right.

Is it possible to transcode every file to, let's say 128 kbps, no matter if the source file is 32 kbps, 320 kbps, mp3 or wav?
I'm testing with a 320kbps file and set the server to Always Transcode and 32kbps (because with 32 I definitely will hear if it works). Also I'm checking the bandwith the stream needs, and it's always about 100 kb/s. With a source file of 128 kbps i need about 10 - 20 kb/s of bandwith. So I guess I'm doing or I'm understanding sth wrong.


transcoding any file at 32Kbps works, you can verify the bitrate (which is between 32-40Kbps) using foobar2000 to stream from the server.
Title: foo_upnp
Post by: thaihugo on 2009-06-13 09:42:16
I made a new build to address those issues. I hope there won't be any silly regression on other stuff :/
Note that the iPod renderer doesn't support seek and sometimes return invalid data for track position / track length.
Let me now if your Philips unit now advance in playlist with this version


0.99.7

- fix (regression): controller: crash when hitting some playback buttons if no renderer selected
- fix: server: some http requests where not returning the correct byte-range which made the iPhone/iPod http streamer confused
- chg: controller: now more resistant to buggy track info/metadata sent by renderers. Shouldn't stop updating if data is bad
- chg: controller: changed the way end of track is detected to advance in playlist so it works with the iPhone Media Renderer, Philips renderers and possibly more units. A consequence of that change
is that hitting stop directly on the remote renderer (if available) will make the controller play next track.


On the first tests, this version is excellent. It seems to loose most of the time the tracking info, but can hang on sometimes on a timing, and finaly switch to next song even if no track info comes back.
I don't advice philips hardware because they lose upnp completly until reset if something goes wrong, but it works at least much longer than before. Iphone support seems excellent on my first tests.

Thanks a lot for this update!
Title: foo_upnp
Post by: bubbleguuum on 2009-06-13 11:21:52
Thanks for testing. Note that transcoded files do not play on the iPhone renderer yet (you'll get an error). This renderer could see some improvements though, to fix the track info issues and a few other ones.

Moderation: Removed useless full quote of the preceding post.
Title: foo_upnp
Post by: MilkyJoe on 2009-06-16 18:48:17
That brought back my music, although my other problems obviously haven't been resolved. I still have some skipping over PCM (which could be due to using wireless on the server...though I'm not completely sure), and when I try to transcode to MP3, I get an HTTP error (416). Thanks for your continued work on this component though!


Thanks for the new version - however I'm still getting split second pauses every minute or so with this on the PS3. There are no such pauses with 'PS3 Media Server', and I notice a few posts up someone else reported this issue (above quote). Would you like me to test via ethernet and see if this still occurs?

Tested with 2 routers over Wifi, happens on both.

Core 2 Quad / 4gig RAM / Vista x64 / Wifi 100% signal to PS3
Title: foo_upnp
Post by: FIST on 2009-06-16 22:49:17
Hi,

via LAN and partly via Internet it's working fine, but from work I can not connect. Ports at work and at home are open (I can get the prompt via http://myserver.dyndns.com:port (http://myserver.dyndns.com:port) in a browser) but not with foobar itself.
With troubleshooting and capturing traffic I think I narrowed it down to having problems with a proxy server. Anybody using a proxy and have the chance to check it out if you have also problems?

Thanks.

/e: I try to be more specific:

The server part at home is available via LAN and via internet (tested with friends). Only from work I can not connect, where I am behind a proxy. The proxy itself does not seem to block the connection as a browser (firefox) can reach the server using dyndns and the specified port. I captured some traffic and noticed, that while beeing behind a proxy foobar does not send any packets out of the NIC (is this possible?). Could sbd. please test/verify that?
Title: foo_upnp
Post by: bubbleguuum on 2009-06-16 23:31:00
Only from work I can not connect, where I am behind a proxy.


Maybe at your work http traffic is authorized only on port 80. Try configuring the server using that port instead of the default one.
EDIT: the port is probably not the problem. The plugin indeed does not support http connections behind a proxy.


@MilkyJoe: would be great if you could try using the LAN to understand if the problem comes from the Wifi connection or not.
Title: foo_upnp
Post by: FIST on 2009-06-17 08:44:15
Only from work I can not connect, where I am behind a proxy.


Maybe at your work http traffic is authorized only on port 80. Try configuring the server using that port instead of the default one.
EDIT: the port is probably not the problem. The plugin indeed does not support http connections behind a proxy.


@MilkyJoe: would be great if you could try using the LAN to understand if the problem comes from the Wifi connection or not.

Hi, thanks for your quick answer. I also tried port 80 and port 3389, ports that are definitely not blocked, but no success.

So this is a problem with the plugin? Is this fixable, or is there a way to workaround this?

Thanks for your help.
Would be great to get this to work, I tried Winamp remote as an alternative - it works, but it really sucks...
Title: foo_upnp
Post by: bubbleguuum on 2009-06-17 21:25:16
So this is a problem with the plugin? Is this fixable, or is there a way to workaround this?


This is fixable if I implement support for it.  I add it to the todo list, but not sure if/when I'll implement it.
Otherwise there's no workaround except trying to convince you network admin you don't need a proxy, or to allow http traffic on a preset port unproxyfied (good luck  ).
Or connect through another network.

EDIT: if you can make a VPN to your home PC it would (probably) work also.
Title: foo_upnp
Post by: FIST on 2009-06-17 21:52:15
Ok, both of your workarounds are unfortunately not really doable in my company, its too big and too security driven... ;-)
I'll test the VPN thing, but my bandwith is just good enough for the stream, I'm not sure if it still works while tunneled.

Thanks for adding proxy support to the to do list, I would really appreciate if it gets implemented some day.

Moderation: Removed useless full quote of the preceding post.
Title: foo_upnp
Post by: tere on 2009-06-18 18:59:13
I cant get this work in net, working realy well in lan, dont know how to forward port in kerio winroute firewwall 
Title: foo_upnp
Post by: MilkyJoe on 2009-06-20 10:27:48
@MilkyJoe: would be great if you could try using the LAN to understand if the problem comes from the Wifi connection or not.


OK - I have tested with ethernet cable to the PS3 and it is fine, so must be a bandwidth issue (too many mbps...)

However, neither TVersity or PS3MS get these slight pauses every minute or two when streaming PCM using Wifi (same songs tested to be sure).

Wifi signal is also 100%, and I have also recently installed Windows 7 RC which hasn't made any difference. I have even tested with a different wireless router.

Is there some extra data overhead from something foo_upnp is doing? Or is the PCM stream at a higher bitrate?

Other than this it's perfect so would be great to get it sorted.
Title: foo_upnp
Post by: bubbleguuum on 2009-06-20 16:17:50
@MilkyJoe: would be great if you could try using the LAN to understand if the problem comes from the Wifi connection or not.


OK - I have tested with ethernet cable to the PS3 and it is fine, so must be a bandwidth issue (too many mbps...)

However, neither TVersity or PS3MS get these slight pauses every minute or two when streaming PCM using Wifi (same songs tested to be sure).

Wifi signal is also 100%, and I have also recently installed Windows 7 RC which hasn't made any difference. I have even tested with a different wireless router.

Is there some extra data overhead from something foo_upnp is doing? Or is the PCM stream at a higher bitrate?

Other than this it's perfect so would be great to get it sorted.



The PS3 preset of foo_upnp set the server to stream everything as LPCM, which requires more bandwidth but is more compatible. In the "Streamed audio" server
configuration, you can configure it to stream MP3, WMA, AAC as is (ie not decoded to PCM). For that just uncheck "Apply to all formats". I suppose this is what TVersity and others do, transcoding
to LPCM only when necessary, when the PS3 cannot decode the file directly.
Title: foo_upnp
Post by: bubbleguuum on 2009-06-20 16:20:15
I cant get this work in net, working realy well in lan, dont know how to forward port in kerio winroute firewwall 


If your PC is directly wired to the Internet, you just need to configure Kerio to authorize incoming traffic on the server's configured port.
Title: foo_upnp
Post by: MilkyJoe on 2009-06-20 18:35:54
The PS3 preset of foo_upnp set the server to stream everything as LPCM, which requires more bandwidth but is more compatible. In the "Streamed audio" server
configuration, you can configure it to stream MP3, WMA, AAC as is (ie not decoded to PCM). For that just uncheck "Apply to all formats". I suppose this is what TVersity and others do, transcoding
to LPCM only when necessary, when the PS3 cannot decode the file directly.


Agreed - but when I stream PCM with other media servers it doesn't keep stopping, and this is the issue.

I have songs in FLAC, which is what I've been testing it with. PS3 doesn't play FLAC. "PS3 Media Server" manages to convert this to PCM and stream it. It doesn't convert it to a lossy format. PCM is able to be streamed without problems, apart form with this plugin, which is what I was pointing out.

I hope this is of help.
Title: foo_upnp
Post by: xapz on 2009-07-03 14:28:40
LPCM streaming to the PS3 via WLAN seems to work very well. Album Art streaming would be the icing on the cake. 

Thank you very much for this amazing component!
Title: foo_upnp
Post by: ewo on 2009-07-10 21:13:09
Thanks for this update, my PS3 plays wireless without interrupts now.
I am so happy to get rid of WMP and TVersity now.
Fantastic job!

Title: foo_upnp
Post by: AlfredSka on 2009-07-13 17:56:02
Component version 0.99.7

I can connect to and browse my internet server running foo_upnp just fine, but cannot play tracks. On the server side, no messages are processed in the console when the remote client tries to open a track for playback.  I am using port forwarding on a router.  Are additional ports, besides the one specified in properties, required to be forwarded?

Successful browsing:
(http://web.missouri.edu/~mdmnq5/comp/upnp_browse.png)

Error message:
Code: [Select]
Unable to open item for playback (Could not connect to host):
"upnp://aHR0cDovLzE5Mi4xNjguMS4xMDE6ODAvY29udGVudC83MTE4LzEud2F2P2NvbnZlcnQ9d2F2"


Server configuration:
Port: 56923 (forwarded through a router)

(http://web.missouri.edu/~mdmnq5/comp/server_config1.png)
Username and password blanked.

(http://web.missouri.edu/~mdmnq5/comp/server_config2.png)
Note that the problem persists regardless of the state of the replaygain checkbox.

Suggestions?
Title: foo_upnp
Post by: bubbleguuum on 2009-07-14 02:57:07
Error message:
Code: [Select]
Unable to open item for playback (Could not connect to host):
"upnp://aHR0cDovLzE5Mi4xNjguMS4xMDE6ODAvY29udGVudC83MTE4LzEud2F2P2NvbnZlcnQ9d2F2"


decoded this gives:
Code: [Select]
http://192.168.1.101:80/content/7118/1.wav?convert=wav


Which is a LAN ip you set as the Internet public address, hence the "could not connect to host" from foobar when trying to decode the track.
Put the public IP of your router instead or a host name if you have one.
If you have a dynamic public IP somes services offers to associate a hostname (dyndns and such).
Also it looks like you set 80 as the server's port.
You may not want to stream as PCM over the internet unless you have a connection with huge upload rate.
Title: foo_upnp
Post by: beto on 2009-07-16 00:16:45
I found something strange. I am able to browse and send items to playlist with foobar2000 in a remote machine, however information does not come complete unless I play the tracks remotely. See image below. First 8 tracks were played remotely and information is fine. The rest was not played and information is missing in the playlist.

(http://img27.imageshack.us/img27/8770/95979013.th.png) (http://img27.imageshack.us/i/95979013.png/)

using foobar2000 0.9.6.8 and foo_upnp 0.99.7

Any ideas on how to fix this? Thanks!!
Title: foo_upnp
Post by: bubbleguuum on 2009-07-16 09:41:28
Any ideas on how to fix this? Thanks!!


This is normal: some track info (such as bitrate) is not available at browse time, only when the track is played it is then retrieved by foobar's http decoder.
Title: foo_upnp
Post by: vassie on 2009-07-16 12:44:19
I am still trying to add this to my current setup, can anyone post any examples of their setup?
Thanks
Title: foo_upnp
Post by: beto on 2009-07-16 15:18:53
Ok. Thanks for the clarification bubbleguuum. Sorry for the false alarm. 
Title: foo_upnp
Post by: bubbleguuum on 2009-07-16 20:33:18
I am still trying to add this to my current setup, can anyone post any examples of their setup?
Thanks


What do you want to know specifically ?
Title: foo_upnp
Post by: vassie on 2009-07-17 08:50:13
I am still trying to add this to my current setup, can anyone post any examples of their setup?
Thanks


What do you want to know specifically ?


Just how people intergrate it into their default or columns UI

Ben
Title: foo_upnp
Post by: AlfredSka on 2009-07-17 17:17:43
decoded this gives:
Code: [Select]
http://192.168.1.101:80/content/7118/1.wav?convert=wav


Which is a LAN ip you set as the Internet public address, hence the "could not connect to host" from foobar when trying to decode the track.
Put the public IP of your router instead or a host name if you have one.
If you have a dynamic public IP somes services offers to associate a hostname (dyndns and such).
Also it looks like you set 80 as the server's port.
You may not want to stream as PCM over the internet unless you have a connection with huge upload rate.


Setting the IP to my WAN address resolved the issue.  Thank you.

A note about the streaming of PCM:
The option "Apply ReplayGain, using foobar2000 settings (force PCM if not transcoded to MP3)" was causing the decompressed streaming.  So am I to interpret this option as the server decodes the MP3 with ReplayGain settings, and it is only re-encoded to MP3 if transcoding is forced by the server?

What does the option "Client decode HTTP streams directly" do?

Thanks for the great plug-in.  It works well and is very simple to use.
Title: foo_upnp
Post by: AlfredSka on 2009-07-17 17:26:38

What do you want to know specifically ?

Just how people intergrate it into their default or columns UI


Here's a quick how-to for the default UI:
- Preferences: Display: Default User Interface ==> Enable layout editing mode
- Right click on the box in foobar2000 where you would like the UPNP Browser to appear (the album list is a great location), and select "Replace UI element" (don't worry, this will still keep what is there!)
- Select the container type: Tabs  (when you hit OK, you'll notice that the original content is still there, it just resides in a tab now)
- Right click on the tab and select "Add new Tab" (note that you can rename the tab by right clicking on it and selecting "Rename tab")
- Left click in the blank area under the new tab and you can select what content to put in there, choose: UPNP Browser
- Preferences: Display: Default User Interface ==> Uncheck Enable layout editing mode
Title: foo_upnp
Post by: bubbleguuum on 2009-07-17 18:44:48
A note about the streaming of PCM:
The option "Apply ReplayGain, using foobar2000 settings (force PCM if not transcoded to MP3)" was causing the decompressed streaming.  So am I to interpret this option as the server decodes the MP3 with ReplayGain settings, and it is only re-encoded to MP3 if transcoding is forced by the server?

It is more tricky than that and I realized this is badly formulated: ReplayGain is not applied on transcoded files even if "Apply ReplayGain" is checked. Files not transcoded are ReplayGained and streamed as PCM, using the settings defined. It would be much more useful the other way round as you describe.


Quote
What does the option "Client decode HTTP streams directly" do?


If this option is enabled and you upnp browse a playlist containing http items (for example a netradio stream), the http URL is passed "as is" to the client and the client directly decodes it. If it is not enabled, the UPnP server act as a proxy (do the decoding) and the client stream from the UPnP server like it does for normal (file) items. The second option can be the only way for the client to play the http stream if it can't decode it directly (for example it it can't handle the codec) or doesn't have network connectivity.
Title: foo_upnp
Post by: odyssey on 2009-07-18 01:20:54
I installed latest upnp on my "music server player" and my client in order to control my foobar from another PC. I didn't work

Actually the connection is fine, and I can see seekbar and music info of current playing song. I can pause and play, but I can't skip (it just stops music) or start playing again. Also I have some problems managing the playlists from the browser. Could it be bugs annoying because I also have a PCH present that seem to support these things?
Title: foo_upnp
Post by: bubbleguuum on 2009-07-18 10:38:04
I installed latest upnp on my "music server player" and my client in order to control my foobar from another PC. I didn't work

Actually the connection is fine, and I can see seekbar and music info of current playing song. I can pause and play, but I can't skip (it just stops music) or start playing again. Also I have some problems managing the playlists from the browser. Could it be bugs annoying because I also have a PCH present that seem to support these things?


I think you misundertood how the Controller works. The tracks to be played by the remote renderer is managed by a playlist called "UPnP Controller playback queue". Click on the PL button to show this playlist, it is initially empty. You add items to it using the context menu on some audio items (either local items or upnp items from a remote server)  and using "UpnP Conroller -> Enqueue on <renderer name>", you can also drag items to it. Double clicking an item in it will make the remote renderer play that track. the ">>" and "<<" controller buttons will just advance in that playlist. If it is empty it will probably just stop. "Play" just tell the remote renderer to play the selected track in this playlist.
Title: foo_upnp
Post by: gmB on 2009-07-18 13:26:40
Hi,
I've got a Nokia N78 with UPnP support. It works with other UPnP-Servers like "Simplecenter" and "Orb", but unfortunately the foobar upnp server doesnt show up in the phone.
Is foo_upnp only compatible with the things listed in the media server presets?
What must I do to get it working?

Any help is greatly appreciated!
Title: foo_upnp
Post by: bubbleguuum on 2009-07-18 13:39:41
Hi,
I've got a Nokia N78 with UPnP support. It works with other UPnP-Servers like "Simplecenter" and "Orb", but unfortunately the foobar upnp server doesnt show up in the phone.
Is foo_upnp only compatible with the things listed in the media server presets?


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

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

In the browser, when I rightclick "Playlists", I get the "Send to playlist", "Run service" etc. which is not logical on more than one playlist. I suspect that this menu should only appear when I rightclick a specific playlist, right? When I do that, nothing happens. I also tried changing default left-click action to "Send to UPnP Browser Selection Playlist", but nothing happens when I click no matter what setting I use.
Title: foo_upnp
Post by: bubbleguuum on 2009-07-18 13:51:27
I think you misundertood how the Controller works.

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

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


Reread carefully what I wrote in the previous message. The  "UPnP Controller playback queue" and "UPnP Browser Selection Playlist" are not the same. The latter will just display what you select in the browser while the former is the actual playback queue of the selected renderer.
Title: foo_upnp
Post by: odyssey on 2009-07-18 13:56:39
I think I got it now. Sometimes the context menu is reeeaaally slow and on some playlists (e.g. empty ones) it doesn't show at all. I should clean up my many playlists

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

When I get it to work, every track is lagging for about 15 secs - Almost as if it was streaming (I suspect my DSP to cause this, but wonders as I thought it was merely controlling the server?). I can't see the Playback Queue on the server and if I close the client the music stops after playing the track. Isn't it supposed to continue playing the playlist?
Title: foo_upnp
Post by: gmB on 2009-07-18 14:02:58
Hi,
I've got a Nokia N78 with UPnP support. It works with other UPnP-Servers like "Simplecenter" and "Orb", but unfortunately the foobar upnp server doesnt show up in the phone.
Is foo_upnp only compatible with the things listed in the media server presets?


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


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


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

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

Thanks for your answer!
Title: foo_upnp
Post by: vassie on 2009-07-19 09:39:28
I have changed my columns UI to show the album artist, instead of artist ie..

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


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

(http://img23.imageshack.us/img23/4998/newbitmapimagedud.png)

Is there anyway I can fix this?
Title: foo_upnp
Post by: bubbleguuum on 2009-07-19 10:16:06
I think I got it now. Sometimes the context menu is reeeaaally slow and on some playlists (e.g. empty ones) it doesn't show at all. I should clean up my many playlists

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

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


An UPnp Renderer is always streaming from somewhere, that's part of how it works. There was a great article  about the upcoming WMP12 in Win7 that explain all this but I can't find the link ATM.
The renderer's playback queue is entirely managed client side, so yes when the client exit the renderer will stop playing at the end of the current track.
Title: foo_upnp
Post by: bubbleguuum on 2009-07-20 00:36:40
New version with (beta) Xbox360 support! Please test and report if there are problems. There's a preset for the 360. As the 360 doesn't handle PCM streaming (what where they thinking @ Microsoft), everything the 360 can't play (codecs other than wma, mp3, mp4) is *always* transcoded to mp3.

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

0.99.8
- new: support for the Xbox360
- new: attempt at album art streaming support for PS3 (untested).
- fix: use uuid with chars in lower case else the XBOX360 and possibly other hardware won't connect
- fix: obscure crash when receiving SUBSCRIBE requests
Title: foo_upnp
Post by: A_Man_Eating_Duck on 2009-07-20 06:36:03
I have just given v0.99.8 a go with our PS3 and i keep getting an 80710091 error when it tries to play the next track.

Code: [Select]
foo_upnp: FbMediaServer::ProcessHttpRequest: received request URL=/ContentDirectory/428ff545-776c-4399-a03e-001d7d050edc/control.xml from a LAN client
foo_upnp: FbMediaServer::OnAction: received action 'GetSystemUpdateID', args = {  }
foo_upnp: FbMediaServer::OnAction: action 'GetSystemUpdateID' response: args = { Id=0 }
foo_upnp: FbMediaServer::ProcessHttpRequest: received request URL=/content/file://D:\Lossless Music\Muse\2003 - Absolution\01. Intro.flac.lpcm from a LAN client
foo_upnp: FbMediaWavInputStream::queue_fill: >>>>>>>>>>>>>>>>>>>>>>>>>>file://D:\Lossless Music\Muse\2003 - Absolution\01. Intro.flac: realloc #0 (old=2097152, new=2113536)<<<<<<<<<<<<<<<<<<<<<<<<
foo_upnp: FbMediaServer::ProcessHttpRequest: received request URL=/ContentDirectory/428ff545-776c-4399-a03e-001d7d050edc/control.xml from a LAN client
foo_upnp: FbMediaServer::OnAction: received action 'GetSystemUpdateID', args = {  }
foo_upnp: FbMediaServer::OnAction: action 'GetSystemUpdateID' response: args = { Id=0 }
foo_upnp: FbMediaServer::ProcessHttpRequest: received request URL=/ContentDirectory/428ff545-776c-4399-a03e-001d7d050edc/control.xml from a LAN client
foo_upnp: FbMediaServer::OnAction: received action 'Browse', args = { ObjectID=0/1/0/0/15, BrowseFlag=BrowseMetadata, Filter=@id,upnp:class,res,res@protocolInfo,res@av:authenticationUri,res@size,dc:title,upnp:albumArtU
RI,res@dlna:ifoFileURI,res@protection,res@bitrate,res@duration,res@sampleFrequency,res@bitsPerSample
,
res@nrAudioChannels,res@resolution,res@colorDepth,dc:date,av:dateTime,upnp:artist,upnp:album,upnp:ge
n
re,dc:contributer,upnp:storageFree,upnp:storageUsed,upnp:originalTrackNumber,dc:publisher,dc:languag
e
,dc:region,dc:description,upnp:toc,@childCount,upnp:albumArtURI@dlna:profileID, StartingIndex=0, RequestedCount=1, SortCriteria= }
foo_upnp: FbMediaServer::OnAction: action 'Browse' response: args = { ObjectID=0/1/0/0/15, BrowseFlag=BrowseMetadata, Filter=@id,upnp:class,res,res@protocolInfo,res@av:authenticationUri,res@size,dc:title,upnp:albumArtU
RI,res@dlna:ifoFileURI,res@protection,res@bitrate,res@duration,res@sampleFrequency,res@bitsPerSample
,
res@nrAudioChannels,res@resolution,res@colorDepth,dc:date,av:dateTime,upnp:artist,upnp:album,upnp:ge
n
re,dc:contributer,upnp:storageFree,upnp:storageUsed,upnp:originalTrackNumber,dc:publisher,dc:languag
e
,dc:region,dc:description,upnp:toc,@childCount,upnp:albumArtURI@dlna:profileID, StartingIndex=0, RequestedCount=1, SortCriteria=, NumberReturned=1, TotalMatches=1, UpdateID=0 }
foo_upnp: FbMediaServer::ProcessHttpRequest: received request URL=/ContentDirectory/428ff545-776c-4399-a03e-001d7d050edc/control.xml from a LAN client
foo_upnp: FbMediaServer::OnAction: received action 'GetSystemUpdateID', args = {  }
foo_upnp: FbMediaServer::OnAction: action 'GetSystemUpdateID' response: args = { Id=0 }
foo_upnp: FbMediaServer::ProcessHttpRequest: received request URL=/ContentDirectory/428ff545-776c-4399-a03e-001d7d050edc/control.xml from a LAN client
foo_upnp: FbMediaServer::OnAction: received action 'Browse', args = { ObjectID=0/1/0/0/15, BrowseFlag=BrowseMetadata, Filter=@id,upnp:class,res,res@protocolInfo,res@av:authenticationUri,res@size,dc:title,upnp:albumArtU
RI,res@dlna:ifoFileURI,res@protection,res@bitrate,res@duration,res@sampleFrequency,res@bitsPerSample
,
res@nrAudioChannels,res@resolution,res@colorDepth,dc:date,av:dateTime,upnp:artist,upnp:album,upnp:ge
n
re,dc:contributer,upnp:storageFree,upnp:storageUsed,upnp:originalTrackNumber,dc:publisher,dc:languag
e
,dc:region,dc:description,upnp:toc,@childCount,upnp:albumArtURI@dlna:profileID, StartingIndex=0, RequestedCount=1, SortCriteria= }
foo_upnp: FbMediaServer::OnAction: action 'Browse' response: args = { ObjectID=0/1/0/0/15, BrowseFlag=BrowseMetadata, Filter=@id,upnp:class,res,res@protocolInfo,res@av:authenticationUri,res@size,dc:title,upnp:albumArtU
RI,res@dlna:ifoFileURI,res@protection,res@bitrate,res@duration,res@sampleFrequency,res@bitsPerSample
,
res@nrAudioChannels,res@resolution,res@colorDepth,dc:date,av:dateTime,upnp:artist,upnp:album,upnp:ge
n
re,dc:contributer,upnp:storageFree,upnp:storageUsed,upnp:originalTrackNumber,dc:publisher,dc:languag
e
,dc:region,dc:description,upnp:toc,@childCount,upnp:albumArtURI@dlna:profileID, StartingIndex=0, RequestedCount=1, SortCriteria=, NumberReturned=1, TotalMatches=1, UpdateID=0 }
foo_upnp: FbMediaServer::ProcessHttpRequest: received request URL=/content/file://D:\Lossless Music\Muse\2003 - Absolution\01. Intro.flac.lpcm from a LAN client
foo_upnp: FbMediaWavInputStream::queue_fill: >>>>>>>>>>>>>>>>>>>>>>>>>>file://D:\Lossless Music\Muse\2003 - Absolution\01. Intro.flac: realloc #0 (old=2097152, new=2113536)<<<<<<<<<<<<<<<<<<<<<<<<
here is the bizarre thing after waiting 20+ seconds it sometimes does start playing the next track otherwise i get a 80710723 error on the PS3 over and over again. Another thing i noticed is that the total track length displayed on the PS3 is blank (not sure if it's related though).
Title: foo_upnp
Post by: eradumvelhinho on 2009-07-20 09:35:11
Many Many thanks for the Xbox360 support, bubbleguuum. I already tried it (with .mp3, .flac, .ape and .wv) and everything worked flawless. I'm impressed with the speed of decoding. Good job
Title: foo_upnp
Post by: gmB on 2009-07-20 17:31:12
The Problem with Nokias still exists in the new version.
Not that it's mentioned in the changelog, just to let you know.
Great job, anyway!
Title: foo_upnp
Post by: MilkyJoe on 2009-07-20 18:47:18
New version breaks PS3 compatibility.

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

Track will not start playing. Happens with album art swicthed on or off. Old version was fine (apart from the stopping every now and then which I have mentioned).
Title: foo_upnp
Post by: bubbleguuum on 2009-07-20 19:16:02
New version breaks PS3 compatibility.

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

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


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

for the funny side, http code 418 = "I'm a teapot" and the plugin never answer that code so...
Title: foo_upnp
Post by: bubbleguuum on 2009-07-20 19:19:13
The Problem with Nokias still exists in the new version.
Not that it's mentioned in the changelog, just to let you know.
Great job, anyway!


difficult to track down without the hardware to test. Probably the phone do not receive the SSDP (auto-discovery) packets but why ?
Title: foo_upnp
Post by: laowai on 2009-07-20 22:46:04
Sorry if someone already reported this!

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

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


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


 Thanks a lot for your work.
Title: foo_upnp
Post by: bubbleguuum on 2009-07-20 22:57:31
It looks like the request does have its filename cut, therefore it is not streamed. The file extension is acually ".mp3", not ".m". Maybe the filename field is not long enough?


Maybe the URL generated by the server are too long for the Archos. Try disabling "Generate Persistent URLs" in the server configuration, it generates URLs shorter and simplier.
Title: foo_upnp
Post by: laowai on 2009-07-21 00:29:46
It looks like the request does have its filename cut, therefore it is not streamed. The file extension is acually ".mp3", not ".m". Maybe the filename field is not long enough?


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


Thanks a lot, bubbleguuum! It all works ok now.
It probably was a limitation on the Archos filename/url length.
Title: foo_upnp
Post by: deoch on 2009-07-21 05:54:40
I also have the 80710091 error on the ps3 (I have had this with all versions of foo_upnp I have tried)..  It will occasionally happen while a song is playing, then resume the song after a period of time.  It also often happens when it is switching to another song.  A long (30 second?) delay will typically occur before the next song plays.  The results are the same whether I am transcoding to PCM, or streaming straight MP3s.

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

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

Still, thank you very much bubbleguuum for the plugin.  It seems it will be fantastic once I get it working
Title: foo_upnp
Post by: gmB on 2009-07-21 19:17:53
The Problem with Nokias still exists in the new version.
Not that it's mentioned in the changelog, just to let you know.
Great job, anyway!


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


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

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

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

Title: foo_upnp
Post by: partisan on 2009-07-25 20:35:21
hi,

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

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

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

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


Title: foo_upnp
Post by: NullString on 2009-07-25 22:17:01
xbox360 streaming works great man! GJ
Title: foo_upnp
Post by: Cadish on 2009-07-26 13:59:07
Hi guys,

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

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

(http://img197.imageshack.us/img197/7254/upnpproblem.th.png) (http://img197.imageshack.us/i/upnpproblem.png/)

Can anyone help me to get this fully functional?

Thanks a lot!
Cadish
Title: foo_upnp
Post by: bubbleguuum on 2009-07-27 00:41:30
xbox360 streaming works great man! GJ


Finally, something that works  !

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


What is displayed as the track and artist if you use another control point ? (WMP, cidero,...). I see that it displays "Unknown Track Title" as the title and I ever set it as "Unknown Track" in the plugin when I do not have the info, which let me think this string is returned by the PCH. Maybe it has a problem parsing metadata ?
Otherwise the playing track is the selected track in the "UPnP Controller Playback Queue" playlist that you can display hitting the "PL" button.
Title: foo_upnp
Post by: npc_ on 2009-07-27 01:54:12
Hi, don't know if this has been mentioned yet but viewing artists on the xbox 360 list artists in caps before lower case ones e.g. AAA, AAC, aab, aac
Title: foo_upnp
Post by: jrnxg2 on 2009-08-02 18:16:54
Streaming to 360; no songs will play with this error:

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

All of my files are MP3s and no matter which options I change I can't seem to get it to stop trying to resample. All of the interface stuff works snappy and great, though, so I really hope I can get this running.
Title: foo_upnp
Post by: bubbleguuum on 2009-08-02 18:32:10
Streaming to 360; no songs will play with this error:

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

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



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

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


EDIT: maybe this bug is due to an alternate resampler plugin you're using (the SoX resampler?) that would not support x=>x.  If that's the case try disabling it.
Title: foo_upnp
Post by: bubbleguuum on 2009-08-05 00:21:07
version 0.99.9  <= scary number ! Quite a lot of changes in this one, so it is highly beta. 0.99.8 is still available (see first post).
Please report regressions and problems if you find any.

The media tree is now configurable with an XML file located in c:\Documents And Settings\<user dir>\Application Data\foobar2000\foo_upnp_ml_tree.xml. There's a button called  "Customize Media Tree" hat will launch notepad on this file  in the Server Advanced Settings conf page. If you save the modified file before quitting this page it will detect the changes and restart the server. If you edit the file externally the server must be manually restarted. The file will be automatically created when you first hit the "Customize Media Tree" button, with the default tree. The format of the XML should be mostly self explanatory but I'll document it later. If the format of the file is not valid the default tree will be loaded, and the reason it failed loading will be displayed in the console. Note that the file is loaded on first browse by a client, not on a server restart.


- 0.99.9

- chg: integrated newer version of the UPnP framework (Platinum 0.5.1.0)
- new: now the fb2k icon appear in other upnp software when they list the server and the renderer
- fix: controller (regression): was displaying time with milliseconds
- chg: controller: small changes to better support the Renderer of upcoming PlugPlayer 2.3.1 on the iPod touch/iPhone.
- new: server: now possible to customize the media library tree through an xml description file.
- chg: server/renderer: compute uuid differently
- fix: server: stupid crash introduced in 0.99.8 if DLNA enabled in some cases, when computing album art mime type
- fix: server: WAV streaming: ChunkSize in WAV header was off (didn't see any issue because of that but still a bug)
- fix: server: LPCM/WAV streaming: first audio chunk of files without technical info "samplerate" was not streamed
- chg: server: removed "Generate persistent URLs" option. Now stream URLs are always persistent (and shorter) and composed of a hash, instead of including the filename in the item path.
- fix: server: on XBOX360, do not always transcode to mp3
- fix: server: XBOX360 artist names now honors the "Swap The and A prefix" setting.
- fix: server: fix buffering issue on the PS3 causing network errors or skips (thanks Spoon)
- fix: server: fix rare resampler instanciation failure when resample rate = source rate
- fix: server (regression): WMP12 and possibly 11 could not browse anymore
Title: foo_upnp
Post by: beto on 2009-08-05 02:52:08
My foobar crashes if I upgrade to 0.99.9. I had to revert to 0.99.8. See error report below:

Code: [Select]
Illegal operation:
Code: C0000005h, flags: 00000000h, address: 03A393FCh
Access violation, operation: read, address: 00000000h

Call path not available.

Code bytes (03A393FCh):
03A393BCh:  6A 00 8D 4C 24 2C E8 89 BA 00 00 8B 44 24 58 8B
03A393CCh:  4C 24 54 8B 11 8B 52 08 50 8D 44 24 30 50 FF D2
03A393DCh:  8B 44 24 30 8B 50 20 8D 4C 24 30 FF D2 8B D8 8B
03A393ECh:  44 24 30 8B 50 18 8D 4C 24 30 FF D2 8B 74 24 50
03A393FCh:  8B 16 53 50 8B 42 08 8B CE FF D0 8B D8 85 DB 0F
03A3940Ch:  84 C3 00 00 00 8B 0D 1C 50 AC 03 51 E8 33 68 00
03A3941Ch:  00 83 C4 04 85 C0 A3 18 50 AC 03 74 41 81 78 08
03A3942Ch:  F4 01 00 00 7F 38 68 40 00 A9 03 53 E8 C3 7F 00

Stack (0C3AFAA8h):
0C3AFA88h:  00000000 00000000 00000000 00000000
0C3AFA98h:  00000000 00000000 00000000 00000000
0C3AFAA8h:  00000000 00000000 00000000 076B27F0
0C3AFAB8h:  08CF5E08 03AE1800 08CF5F10 00000000
0C3AFAC8h:  00000000 00000000 03A8FD04 03A8FCD8
0C3AFAD8h:  03A90FA8 076AA301 0389E1F8 0000008A
0C3AFAE8h:  00000053 00000000 00000053 03A3B469
0C3AFAF8h:  00000000 076B27F0 076B2700 0C3AFBA0
0C3AFB08h:  07AB2404 0C3AFC10 076B27F0 00000000
0C3AFB18h:  00000000 00000000 00000000 00000000
0C3AFB28h:  75DA0000 03A3B5AD 076B2700 0C3AFBA0
0C3AFB38h:  0C3AFC10 07AB2430 07AB23E0 07AB243C
0C3AFB48h:  00000014 07AB2404 0000044C 00000000
0C3AFB58h:  03A3CEE6 00000000 07AB2430 07AB23E0
0C3AFB68h:  03A35FFB 03AE1800 03A9FE78 00000000
0C3AFB78h:  03A6474D 076B27F0 0C3AFBA0 CFD04464
0C3AFB88h:  07AB23F8 07AB23E0 00000000 00000000
0C3AFB98h:  00000000 076B27F0 00000000 00000000
0C3AFBA8h:  00000102 08CD06E0 4A78E51F 255F42C0
0C3AFBB8h:  0C3AFC80 75DAFD89 07AB2430 FFFFFFFE

Registers:
EAX: 0389E1F8, EBX: 00000053, ECX: 0C3AFAD8, EDX: 039FE37F
ESI: 00000000, EDI: 00000000, EBP: 00000000, ESP: 0C3AFAA8

Crash location:
Module: foo_upnp
Offset: 493FCh
Symbol: "foobar2000_get_interface" (+265ECh)

Loaded modules:
foobar2000                      loaded at 00DC0000h - 00F59000h
ntdll                            loaded at 77390000h - 774B7000h
kernel32                        loaded at 75D70000h - 75E4C000h
COMCTL32                        loaded at 74B60000h - 74CFE000h
msvcrt                          loaded at 772E0000h - 7738A000h
ADVAPI32                        loaded at 76B10000h - 76BD6000h
RPCRT4                          loaded at 75EE0000h - 75FA3000h
GDI32                            loaded at 75FB0000h - 75FFB000h
USER32                          loaded at 76D50000h - 76DED000h
SHLWAPI                          loaded at 76C60000h - 76CB9000h
DSOUND                          loaded at 6B450000h - 6B4C0000h
ole32                            loaded at 75C20000h - 75D65000h
WINMM                            loaded at 74A20000h - 74A52000h
OLEAUT32                        loaded at 75E50000h - 75EDD000h
OLEACC                          loaded at 749E0000h - 74A19000h
POWRPROF                        loaded at 74D60000h - 74D7A000h
SHELL32                          loaded at 76000000h - 76B10000h
shared                          loaded at 10000000h - 1002B000h
imagehlp                        loaded at 774F0000h - 77519000h
UxTheme                          loaded at 73A10000h - 73A4F000h
dbghelp                          loaded at 748D0000h - 749AC000h
COMDLG32                        loaded at 76EE0000h - 76F53000h
IMM32                            loaded at 75A40000h - 75A5E000h
MSCTF                            loaded at 77520000h - 775E8000h
LPK                              loaded at 774E0000h - 774E9000h
USP10                            loaded at 76BE0000h - 76C5D000h
guard32                          loaded at 00180000h - 001AC000h
VERSION                          loaded at 758C0000h - 758C8000h
fltlib                          loaded at 758B0000h - 758B7000h
DpoFeedb                        loaded at 02050000h - 020C1000h
USERENV                          loaded at 758F0000h - 7590E000h
Secur32                          loaded at 758D0000h - 758E4000h
CLBCatQ                          loaded at 76CC0000h - 76D44000h
MMDevApi                        loaded at 74440000h - 74468000h
SETUPAPI                        loaded at 75A60000h - 75BEA000h
WINTRUST                        loaded at 749B0000h - 749DD000h
CRYPT32                          loaded at 75370000h - 75462000h
MSASN1                          loaded at 754D0000h - 754E2000h
foo_audioscrobbler              loaded at 00D50000h - 00D81000h
foo_quicktag                    loaded at 01EA0000h - 01ED4000h
foo_dop                          loaded at 032C0000h - 0339E000h
gdiplus                          loaded at 730E0000h - 7328B000h
WS2_32                          loaded at 75BF0000h - 75C1D000h
NSI                              loaded at 774D0000h - 774D6000h
QUARTZ                          loaded at 65F00000h - 66073000h
DXVA2                            loaded at 6B090000h - 6B0A3000h
foo_abx                          loaded at 03200000h - 03232000h
foo_albumlist                    loaded at 03240000h - 0329B000h
foo_sendtodevice                loaded at 033C0000h - 033FE000h
foo_masstag                      loaded at 03490000h - 034E4000h
foo_ac3                          loaded at 03400000h - 0342F000h
foo_unpack                      loaded at 034F0000h - 0351E000h
foo_cdda                        loaded at 03790000h - 037D1000h
foo_dsp_std                      loaded at 03830000h - 03879000h
foo_upnp                        loaded at 039F0000h - 03B3F000h
iphlpapi                        loaded at 752C0000h - 752D9000h
dhcpcsvc                        loaded at 75280000h - 752B5000h
DNSAPI                          loaded at 75510000h - 7553C000h
WINNSI                          loaded at 75270000h - 75277000h
dhcpcsvc6                        loaded at 75240000h - 75262000h
foo_playcount                    loaded at 03520000h - 03550000h
foo_fileops                      loaded at 03B40000h - 03B86000h
foo_dbsearch                    loaded at 03BB0000h - 03C29000h
foo_facets                      loaded at 03CA0000h - 03D21000h
MSIMG32                          loaded at 722E0000h - 722E5000h
foo_ui_std                      loaded at 04270000h - 0437E000h
foo_utils                        loaded at 03C30000h - 03C6D000h
foo_dsp_crossfeed                loaded at 03E70000h - 03E98000h
foo_converter                    loaded at 03EA0000h - 03F0D000h
foo_sic                          loaded at 040A0000h - 04103000h
foo_rgscan                      loaded at 04580000h - 045CE000h
foo_verifier                    loaded at 04110000h - 04144000h
foo_freedb2                      loaded at 045E0000h - 04621000h
foo_bitcompare                  loaded at 04630000h - 04658000h
foo_burninate                    loaded at 04770000h - 047B0000h
foo_dsp_bs2b                    loaded at 047B0000h - 047D7000h
foo_out_ks                      loaded at 04810000h - 0483E000h
foo_benchmark                    loaded at 04850000h - 0487C000h
foo_input_monkey                loaded at 04880000h - 048CF000h
foo_input_std                    loaded at 04C40000h - 04D80000h
foo_out_wasapi                  loaded at 049F0000h - 04A16000h
foo_discogs                      loaded at 04AA0000h - 04B37000h
btmmhook                        loaded at 04B50000h - 04B85000h
mswsock                          loaded at 750B0000h - 750EB000h
wshtcpip                        loaded at 74D50000h - 74D55000h
wship6                          loaded at 750A0000h - 750A5000h
NLAapi                          loaded at 743D0000h - 743DF000h
napinsp                          loaded at 71F70000h - 71F7F000h
pnrpnsp                          loaded at 71F50000h - 71F62000h
mdnsNSP                          loaded at 16080000h - 160A5000h
wshbth                          loaded at 71BD0000h - 71BDC000h
winrnr                          loaded at 71B40000h - 71B48000h
WLDAP32                          loaded at 77150000h - 77199000h
PSAPI                            loaded at 75A30000h - 75A37000h
rasadhlp                        loaded at 71B30000h - 71B36000h

Stack dump analysis:
Address: 03AE1800h (foo_upnp+F1800h), symbol: "foobar2000_get_interface" (+CE9F0h)
Address: 03A8FD04h (foo_upnp+9FD04h), symbol: "foobar2000_get_interface" (+7CEF4h)
Address: 03A8FCD8h (foo_upnp+9FCD8h), symbol: "foobar2000_get_interface" (+7CEC8h)
Address: 03A90FA8h (foo_upnp+A0FA8h), symbol: "foobar2000_get_interface" (+7E198h)
Address: 03A3B469h (foo_upnp+4B469h), symbol: "foobar2000_get_interface" (+28659h)
Address: 75DA0000h (kernel32+30000h), symbol: "UpdateProcThreadAttribute" (+1DCAh)
Address: 03A3B5ADh (foo_upnp+4B5ADh), symbol: "foobar2000_get_interface" (+2879Dh)
Address: 03A3CEE6h (foo_upnp+4CEE6h), symbol: "foobar2000_get_interface" (+2A0D6h)
Address: 03A35FFBh (foo_upnp+45FFBh), symbol: "foobar2000_get_interface" (+231EBh)
Address: 03AE1800h (foo_upnp+F1800h), symbol: "foobar2000_get_interface" (+CE9F0h)
Address: 03A9FE78h (foo_upnp+AFE78h), symbol: "foobar2000_get_interface" (+8D068h)
Address: 03A6474Dh (foo_upnp+7474Dh), symbol: "foobar2000_get_interface" (+5193Dh)
Address: 75DAFD89h (kernel32+3FD89h), symbol: "SetFilePointer" (+16Ch)
Address: 75DB98B4h (kernel32+498B4h), symbol: "WaitForSingleObjectEx" (+B4h)
Address: 75DB97F2h (kernel32+497F2h), symbol: "WaitForSingleObject" (+12h)
Address: 03A3CEE6h (foo_upnp+4CEE6h), symbol: "foobar2000_get_interface" (+2A0D6h)
Address: 03A89C3Bh (foo_upnp+99C3Bh), symbol: "foobar2000_get_interface" (+76E2Bh)
Address: 03A48D79h (foo_upnp+58D79h), symbol: "foobar2000_get_interface" (+35F69h)
Address: 03A719C8h (foo_upnp+819C8h), symbol: "foobar2000_get_interface" (+5EBB8h)
Address: 03A3CFF2h (foo_upnp+4CFF2h), symbol: "foobar2000_get_interface" (+2A1E2h)
Address: 03A6C866h (foo_upnp+7C866h), symbol: "foobar2000_get_interface" (+59A56h)
Address: 03A6FFF0h (foo_upnp+7FFF0h), symbol: "foobar2000_get_interface" (+5D1E0h)
Address: 03A6C90Bh (foo_upnp+7C90Bh), symbol: "foobar2000_get_interface" (+59AFBh)
Address: 75DBD0E9h (kernel32+4D0E9h), symbol: "BaseThreadInitThunk" (+12h)
Address: 773D19BBh (ntdll+419BBh), symbol: "RtlInitializeExceptionChain" (+63h)
Address: 773999FAh (ntdll+99FAh), symbol: "WinSqmStartSession" (+27Bh)
Address: 773D198Eh (ntdll+4198Eh), symbol: "RtlInitializeExceptionChain" (+36h)
Address: 03A6C88Ch (foo_upnp+7C88Ch), symbol: "foobar2000_get_interface" (+59A7Ch)
Address: 03A6C88Ch (foo_upnp+7C88Ch), symbol: "foobar2000_get_interface" (+59A7Ch)

Environment:
App: foobar2000 v0.9.6.8
OS: Windows 6.0.6002 Service Pack 2 x86
CPU: Intel® Core™2 Duo CPU    T5450  @ 1.66GHz, features: MMX SSE SSE2 SSE3
Audio: Speakers (Realtek High Definition Audio); Realtek Digital Output (Realtek High Definition Audio)
UI: Default User Interface 0.9.5

Components:
Core (2009-06-07 09:28:34)
    foobar2000 core 0.9.6.8
foo_abx.dll (2009-06-07 09:25:26)
    ABX Comparator 1.3.4
foo_ac3.dll (2007-02-06 14:44:48)
    AC3 decoder 0.9
foo_albumlist.dll (2009-06-07 09:26:58)
    Album List 4.3.1
foo_audioscrobbler.dll (2009-05-07 21:05:30)
    Audioscrobbler 1.4.1
foo_benchmark.dll (2006-08-04 16:56:00)
    Decoding Speed Test 1.0
foo_bitcompare.dll (2008-12-05 22:13:47)
    Binary Comparator 1.2
foo_burninate.dll (2009-06-24 20:14:28)
    Audio CD Writer 3.0.1
foo_cdda.dll (2009-06-07 09:26:40)
    CD Audio Decoder 2.1.4
foo_converter.dll (2009-06-07 09:26:38)
    Converter 1.2.1
foo_dbsearch.dll (2007-01-25 16:58:00)
    Database Search 1.4
foo_discogs.dll (2008-12-05 22:08:13)
    Discogs Tagger 1.15
foo_dop.dll (2009-04-11 08:34:45)
    iPod manager 0.6.4.2
foo_dsp_bs2b.dll (2009-06-08 12:30:06)
    bs2b 3.1.0
foo_dsp_crossfeed.dll (2008-12-05 23:23:46)
    Crossfeed 1.01
foo_dsp_std.dll (2009-06-07 09:26:54)
    Standard DSP Array 1.0
foo_facets.dll (2008-02-28 06:03:34)
    Facets 2008-02-25
foo_fileops.dll (2009-06-07 09:25:30)
    File Operations 2.1.2
foo_freedb2.dll (2009-06-07 09:25:50)
    freedb Tagger 0.6.1
foo_input_monkey.dll (2007-04-13 13:39:00)
    Monkey's Audio decoder 2.1.2
foo_input_std.dll (2009-06-07 09:26:30)
    Standard Input Array 1.0
foo_masstag.dll (2009-06-30 10:37:28)
    Masstagger 1.8.3
foo_out_ks.dll (2006-08-04 16:54:00)
    Kernel Streaming Output 1.2.2
foo_out_wasapi.dll (2009-05-19 22:45:18)
    WASAPI output support 2.1
foo_playcount.dll (2009-04-29 20:09:32)
    Playback Statistics 2.1.9
foo_quicktag.dll (2008-05-01 19:39:02)
    Quick Tagger 1.0.1
foo_rgscan.dll (2009-06-07 09:26:22)
    ReplayGain Scanner 2.0.8
foo_sendtodevice.dll (2006-12-20 11:40:00)
    Send to Device 1.1.0 (beta) [Dec 20 2006 - 16:40:06]
foo_sic.dll (2007-01-08 05:52:00)
    foosic music database 1.0 beta 12
foo_ui_std.dll (2009-06-07 09:27:04)
    Default User Interface 0.9.5
foo_unpack.dll (2009-06-07 09:25:18)
    RAR reader 1.2
    ZIP/GZIP reader 1.0
foo_upnp.dll (2009-08-04 22:49:11)
    An UPnP/DLNA Media Renderer, Media Server and Control Point 0.99.9
foo_utils.dll (2007-01-22 08:05:00)
    Playlist Tools 0.5.9
foo_verifier.dll (2006-08-29 17:09:00)
    File Integrity Verifier 1.0.1

Recent events:
Watching: C:\Users\beto\Music\Lossy
Facet initialized in : 0:00.037
Facet initialized in : 0:00.145
Facet initialized in : 0:00.038
Facet initialized in : 0:00.056
Startup time : 0:01.938439
Audioscrobbler: Handshake failed: Bad user/password. Please correct the user/password information you have provided.
Audioscrobbler: Handshake failed.
Title: foo_upnp
Post by: bubbleguuum on 2009-08-05 19:03:24
My foobar crashes if I upgrade to 0.99.9. I had to revert to 0.99.8. See error report below:


If you can reproduce the crash it would help that you enable console debug trace in the server's configuration and resubmit the crash :/
Title: foo_upnp
Post by: beto on 2009-08-05 19:50:26
That will be kind of hard since foobar crashes on startup and I cannot access the foobar GUI if version 0.99.9 is in the components directory. Is there any other way?


edit: removed useless quote.
Title: foo_upnp
Post by: bubbleguuum on 2009-08-05 19:58:28
That will be kind of hard since foobar crashes on startup and I cannot access the foobar GUI if version 0.99.9 is in the components directory. Is there any other way?


You can try to enable the debug traces in 0.99.8, then launch 0.99.9

edit: with submit the crash I meant answering yes when foobar propose to submit it.

edit2: do you happen to have funky upnp devices on your network ? (a wifi router, a wifi printer ? some other devices ?)
Title: foo_upnp
Post by: beto on 2009-08-05 20:13:18
You can try to enable the debug traces in 0.99.8, then launch 0.99.9

edit: with submit the crash I meant answering yes when foobar propose to submit it.

ok. I will try that this evening (GMT-3) and report back. Do you want me to also post the crash report here or just submitting via foobar would suffice?

edit2: do you happen to have funky upnp devices on your network ? (a wifi router, a wifi printer ? some other devices ?)


I have some:
Linksys WRT54G router running dd-wrt (uPnP is disabled in this device)
Linksys NAS200 (uPnP is enabled)
Windows Vista Home Premium
Windows XP Media Center Edition
Playstation 3
Title: foo_upnp
Post by: bubbleguuum on 2009-08-05 20:20:49
edit: with submit the crash I meant answering yes when foobar propose to submit it.
ok. I will try that this evening (GMT-3) and report back. Do you want me to also post the crash report here or just submitting via foobar would suffice?

just submit it via the program
Quote
Linksys NAS200 (uPnP is enabled)

This one could cause trouble. Linksys router contains embedded UPnP devices and these can cause problems (I disabled emebedded devices in 0.99.8, but not 0.99.9).
It would be interesting to disable UPnP on it to see it it solves the crash. Still submit the crash so I can have a chance to fix stuff .
Also, Linksys routers are annoying because when you disable UPnP on them, they still advertise themselves on the network, but will deny all http requests. That's a bit silly.
Title: foo_upnp
Post by: beto on 2009-08-05 21:05:07
This one could cause trouble. Linksys router contains embedded UPnP devices and these can cause problems (I disabled emebedded devices in 0.99.8, but not 0.99.9).
It would be interesting to disable UPnP on it to see it it solves the crash. Still submit the crash so I can have a chance to fix stuff .
Also, Linksys routers are annoying because when you disable UPnP on them, they still advertise themselves on the network, but will deny all http requests. That's a bit silly.


I'll try it. This is not a router though. It is a NAS that has a twonky server for sharing media through uPnP.
Title: foo_upnp
Post by: beto on 2009-08-06 02:09:29
Just sent the crash report via foobar. I hope that helps tracing the problem. Regards.
Title: foo_upnp
Post by: A_Man_Eating_Duck on 2009-08-06 09:20:13
I have just given v0.99.8 a go with our PS3 and i keep getting an 80710091 error when it tries to play the next track.

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

Thanks
Title: foo_upnp
Post by: jrnxg2 on 2009-08-07 01:03:49
That's curious, I never saw that problem, even if it is not super useful, creating a resampler from 44100=>44100 shouldn't fail.
I'll avoid resampling from x=>x in the next version :).
Which version of fb2k are you using and do you have this error all the time ?

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


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


0.99.9 fixing the unconditional transcoding totally fixed the problem; this is the fastest, best streaming solution I've ever found and I could kiss you. <3
Title: foo_upnp
Post by: joaotavela on 2009-08-08 13:42:57
Some issues with the PS3:
1. When using LPCM, i get skips every 20-30 seconds.
2. When using "Stream files in their native format-Unchecked",the music plays well in Mp3 Format, but take long time to start or changing track (almost 30 seconds).
3. When using always transcode, the music won't start and a get "416" error.

Anybody can help?
Title: foo_upnp
Post by: bubbleguuum on 2009-08-08 15:33:01
Some issues with the PS3:
1. When using LPCM, i get skips every 20-30 seconds.
2. When using "Stream files in their native format-Unchecked",the music plays well in Mp3 Format, but take long time to start or changing track (almost 30 seconds).
3. When using always transcode, the music won't start and a get "416" error.

Anybody can help?


1. Unsure why you get skips. Are you streaming via wifi ?
3. transcoding to mp3 is not supported by the server on the PS3 (for the simple matter I didn't implement seek and the PS3 does such requests).

Anyway, I'll have a PS3 soon and will be able to make sure future versions works well. And add working album art support.
Title: foo_upnp
Post by: joaotavela on 2009-08-08 16:16:10
Yes, I'm Streaming via wireless
I use tversity, and works fine with audio and video, so isn't a wireless problem.
Title: foo_upnp
Post by: tst on 2009-08-09 11:38:50
Has anyone found a good working UPNP Controller application for Windows Mobile 6?

I just got myself a windows mobile smart phone and thought it would be an awesome remote for the Foobar UPNP Server/Renderer.

Pocket Player can actually do this, but there are some limitations. It works though!
Title: foo_upnp
Post by: bubbleguuum on 2009-08-09 12:27:34
Pocket Player can actually do this, but there are some limitations. It works though!



just curious, what are the limitations ?
Title: foo_upnp
Post by: tst on 2009-08-09 13:05:57
Well you can browse the library but you can only select one song for playback. This is not how ANYONE in this world listens to digital music.

I want to enqueue an album or several songs, then sit back and chill out.

Also you cannot control the volume like you can in Foobar and the icons in the library view are all wrong (e.g. songs have folder icons).

It is also hard to select a specific album if you have a very large library (scrolling for ages). An alphabet on the right (like in the contacts view of WMobile6) would be a nice addition.

If the enqueuing would work somehow (maybe it does work and I am too stupid to get it done, there is no readme file for the upnp section), it would be an awesome player.
Title: foo_upnp
Post by: bubbleguuum on 2009-08-09 14:22:41
Well you can browse the library but you can only select one song for playback. This is not how ANYONE in this world listens to digital music.

I want to enqueue an album or several songs, then sit back and chill out.

Also you cannot control the volume like you can in Foobar and the icons in the library view are all wrong (e.g. songs have folder icons).

It is also hard to select a specific album if you have a very large library (scrolling for ages). An alphabet on the right (like in the contacts view of WMobile6) would be a nice addition.

If the enqueuing would work somehow (maybe it does work and I am too stupid to get it done, there is no readme file for the upnp section), it would be an awesome player.


Here's a few questions to have an idea if the issues are due to this software or due to the plugin:

Are you trying to enqueue for playing files streamed to your phone, on equeuing to foobar's renderer for remote control ?
If it is the latter does the software allow you to enqueue but it won't switch to next song, or you just can't enqueue at all ?
Are you able to enqueue several files for playing locally on your phone ?

About having a large number of entries, you can configure the server to create subtrees by first letter, ie A, B,C, ... The option is called "Split tree nodes by first letter if...", in the server's Advanced settings.
Title: foo_upnp
Post by: GeSomeone on 2009-08-09 16:16:07
Some issues with the PS3:

It would be good to add which version of foo_uPnP you use, is it 0.99.9?  (and maybe which foobar2000 (0.9.6.5 ot higher?)). As 2 posts before yours (http://www.hydrogenaudio.org/forums/index.php?showtopic=69664&view=findpost&p=650096) someone else has the problem fixed in 0.99.9.
Title: foo_upnp
Post by: tst on 2009-08-10 15:30:24
Quote
Are you trying to enqueue for playing files streamed to your phone, on equeuing to foobar's renderer for remote control ?
If it is the latter does the software allow you to enqueue but it won't switch to next song, or you just can't enqueue at all ?
Are you able to enqueue several files for playing locally on your phone ?

The phone should only be the controller. I don't want to listen to music on my phone. The software does not allow enqueuing in UPNP mode. I just got the confirmation from the company responsible for Pocket Player. It is possible to create playlists locally on the phone (when I play music that is actually on my phone). So this is not an issue of the foobar plugin.

Quote
About having a large number of entries, you can configure the server to create subtrees by first letter, ie A, B,C, ... The option is called "Split tree nodes by first letter if...", in the server's Advanced settings.


That is great to hear. I will check this out later when I am at home. Thanks
Title: foo_upnp
Post by: wtstommy on 2009-08-10 20:11:54
Out of curiosity: does this plugin support metadata editing?
Title: foo_upnp
Post by: bubbleguuum on 2009-08-10 21:07:40
Out of curiosity: does this plugin support metadata editing?



If you mean editing metadata on remote items and have them modified remotely then no, it is not possible.
Title: foo_upnp
Post by: Enigma776 on 2009-08-10 21:38:36
How does this plugin work. I would like to stream music to my 360 but for some unknown reason it will not show up on the 360 so I dunno what I am doing wrong. Everything is setup to how I think it needs to be setup to but it just will not show up.
Title: foo_upnp
Post by: bubbleguuum on 2009-08-11 12:22:47
How does this plugin work. I would like to stream music to my 360 but for some unknown reason it will not show up on the 360 so I dunno what I am doing wrong. Everything is setup to how I think it needs to be setup to but it just will not show up.


No idea except maybe a firewall getting in the way ? In the server status page also check that it is started.
Title: foo_upnp
Post by: eightfold on 2009-08-12 03:43:40
Some issues with the PS3:
1. When using LPCM, i get skips every 20-30 seconds.
2. When using "Stream files in their native format-Unchecked",the music plays well in Mp3 Format, but take long time to start or changing track (almost 30 seconds).

I'm also having the same issues, only I'm getting skips every 5-10 seconds. I've got both my laptop and PS3 connected via ethernet to my 100mbps router so it can't be a bandwidth issue... Currently using v0.99.9 of the plugin and 0.9.6.9 beta 1 of fb2k.

Another additional issue is that if I have the Apply Replaygain option checked, it skips even when "Apply to all formats" is unchecked. I suppose it has to do with the fact that it forces it to PCM format regardless. Is there any workaround to this?

I've tried messing around with my router settings and still haven't been able to get the desired results. I have the UPnP framework option enabled in the Windows Firewall as well as UPnP enabled on my router and my PS3 is currently acting as the DMZ server. Also using a Netgear WRG614v9 if any of that helps...

Other than the above issues, it's a great plugin. Keep up the awesome work!
Title: foo_upnp
Post by: joaotavela on 2009-08-12 05:03:05
Currently using v0.99.9 of the plugin and 0.9.5.2, using wireless connection (DLink-524) and Windows XP and a PS3.
And i used all versions of foo_upnp. Same problem on all. Don't believe it's a wireless thing because i transcode movies with Tversity with no lag or skips.
Title: foo_upnp
Post by: Enigma776 on 2009-08-12 19:15:35
I still aint got a clue how this thing works, I have tried to stream to another machine on the local network to windows media player but nothing shows up what am I doing wrong. All the firewall and router stuff is done even set the thing up to play on WMP but i get nothing. A tutorial on how this is suppose to work would be nice.
Title: foo_upnp
Post by: The Link on 2009-08-12 19:18:19
..., I have tried to stream to another machine on the local network to windows media player but nothing shows up what am I doing wrong. ...
Was it WMP11 or higher?
Title: foo_upnp
Post by: Enigma776 on 2009-08-12 20:03:36
..., I have tried to stream to another machine on the local network to windows media player but nothing shows up what am I doing wrong. ...
Was it WMP11 or higher?


Yeah it was WMP11 also tried with another instance of foobar on the same machine.
Title: foo_upnp
Post by: bubbleguuum on 2009-08-12 21:09:14
..., I have tried to stream to another machine on the local network to windows media player but nothing shows up what am I doing wrong. ...
Was it WMP11 or higher?


Yeah it was WMP11 also tried with another instance of foobar on the same machine.


Can you be more specific ?
You launched the server and the client instance of foobar2000 on the same PC ? this can't work as on the *same* PC client and server don't see each other (it's actually not a bug).

Now assuming you were running 2 foobar instances on separate PC: on the client machine did you add the Browser UI element to your setup ? did the foobar server appeared in the tree then ?

Now for WMP as a client, You should see a "foobar2000 Media Server [your user name]" appear somewhere in the library (not sure were as I tested with WMP12 but TehLink can confirm if works with WMP11).

Subsidiary question: what software do you use as a firewall ?

I'll write a much needed documentation for this plugin at some point.
Title: foo_upnp
Post by: Enigma776 on 2009-08-12 21:18:57
My main goal was to get it to work on my 360 as that is in another room the other apps were just problem solving.

As for firewall just the bog standard XP firewall and a router using DD-WRT which has ports forwarded.
Title: foo_upnp
Post by: bubbleguuum on 2009-08-12 21:25:17
My main goal was to get it to work on my 360 as that is in another room the other apps were just problem solving.

As for firewall just the bog standard XP firewall and a router using DD-WRT which has ports forwarded.


You could try sharing some music with WMP and look if you can access that from your 360. The Upnp servers appear in the Music section of the 360 (don't remember the exact naming).
Title: foo_upnp
Post by: Enigma776 on 2009-08-12 21:31:10
My main goal was to get it to work on my 360 as that is in another room the other apps were just problem solving.

As for firewall just the bog standard XP firewall and a router using DD-WRT which has ports forwarded.


You could try sharing some music with WMP and look if you can access that from your 360. The Upnp servers appear in the Music section of the 360 (don't remember the exact naming).


Yeah that was the problem it was not showing up yet for some reason Vuse was so I doubt it's a firewall issue probably a component I am missing, speaking of which what is Browse UI and where do I get it?
Title: foo_upnp
Post by: bubbleguuum on 2009-08-12 21:34:09
Some issues with the PS3:
1. When using LPCM, i get skips every 20-30 seconds.
2. When using "Stream files in their native format-Unchecked",the music plays well in Mp3 Format, but take long time to start or changing track (almost 30 seconds).

I'm also having the same issues, only I'm getting skips every 5-10 seconds. I've got both my laptop and PS3 connected via ethernet to my 100mbps router so it can't be a bandwidth issue... Currently using v0.99.9 of the plugin and 0.9.6.9 beta 1 of fb2k.

Another additional issue is that if I have the Apply Replaygain option checked, it skips even when "Apply to all formats" is unchecked. I suppose it has to do with the fact that it forces it to PCM format regardless. Is there any workaround to this?


I just got a PS3 today, and no problem after some initial testing involving mp3 streamed as is, and flac as lpcm. 100mbps wired connection to a Linksys switch.
I'll try later via wlan to see if there are any problems.
ReplayGain force PCM as you guessed. No workaround until I can make transcode to mp3 work on the PS3.


Title: foo_upnp
Post by: bubbleguuum on 2009-08-12 21:40:16
speaking of which what is Browse UI and where do I get it?


The UPnP Browser UI element is part of the plugin, see post #170 (the post assume you're using Default UI):

http://www.hydrogenaudio.org/forums/index....st&p=631934 (http://www.hydrogenaudio.org/forums/index.php?showtopic=69664&view=findpost&p=631934)
Title: foo_upnp
Post by: eightfold on 2009-08-13 02:47:14
I just got a PS3 today, and no problem after some initial testing involving mp3 streamed as is, and flac as lpcm. 100mbps wired connection to a Linksys switch.
I'll try later via wlan to see if there are any problems.
ReplayGain force PCM as you guessed. No workaround until I can make transcode to mp3 work on the PS3.

Thanks for the quick reply. I'm not sure what my issue is then... Everything appears to be set up as it should and it's still skipping.

I've been messing around with another media server app made just for the PS3 and it's working flawlessly. The app can be found here (http://code.google.com/p/ps3mediaserver/) for those who are curious. I think it's able to convert FLAC files to LPCM if I'm understanding the options correctly. It even displays the embedded album art in my flac images, though it's not detecting the embedded cue sheets unfortunately. Anyway, it's an open source program, perhaps you could contact the developer and ask how he's able to implement some of the things? Just a suggestion. 
Title: foo_upnp
Post by: schokobon on 2009-08-14 09:42:03
As already asked in this post #58 (http://www.hydrogenaudio.org/forums/index.php?showtopic=69664&view=findpost&p=618799) (Question wasn't answered yet)
Would it be possible to generate the tree as the directory structe is?
Maybe in a future version?
Title: foo_upnp
Post by: vassie on 2009-08-14 12:09:08
As already asked in this post #58 (http://www.hydrogenaudio.org/forums/index.php?showtopic=69664&view=findpost&p=618799) (Question wasn't answered yet)
Would it be possible to generate the tree as the directory structe is?
Maybe in a future version?


I'd like to see this feature too
Title: foo_upnp
Post by: extesy on 2009-08-16 05:53:57
I can't get foobar to work as a media server. I use WMP12 and Win7 x64, foobar 0.9.6.7, foo_upnp 0.99.8. I have applied "Windows Media Server" preset and didn't change the port number: 56923.

WMP12 actually recognizes foobar as a media server, but it doesn't see any files on it, reporting that "no files have been found on this remote library":

Code: [Select]
foo_upnp: FbMediaServer::ProcessHttpRequest: received request URL=/ContentDirectory/428ff545-776c-4399-a03e-001617726579/control.xml from a LAN client
foo_upnp: FbMediaServer::OnAction: received action 'GetSortCapabilities', args = {  }
foo_upnp: FbMediaServer::OnAction: action 'GetSortCapabilities' response: args = { SortCaps= }
foo_upnp: FbMediaServer::ProcessHttpRequest: received request URL=/ContentDirectory/428ff545-776c-4399-a03e-001617726579/control.xml from a LAN client
foo_upnp: FbMediaServer::OnAction: received action 'Search', args = { ContainerID=0, SearchCriteria=upnp:class derivedfrom "object.container.playlistContainer" and @refID exists false, Filter=dc:title,microsoft:folderPath, StartingIndex=0, RequestedCount=200, SortCriteria= }
foo_upnp: FbMediaServer::OnAction: action 'Search' response: args = { ContainerID=0, SearchCriteria=upnp:class derivedfrom "object.container.playlistContainer" and @refID exists false, Filter=dc:title,microsoft:folderPath, StartingIndex=0, RequestedCount=200, SortCriteria=, NumberReturned=0, TotalMatches=0, UpdateID=0 }
foo_upnp: FbMediaServer::ProcessHttpRequest: received request URL=/ContentDirectory/428ff545-776c-4399-a03e-001617726579/control.xml from a LAN client
foo_upnp: FbMediaServer::OnAction: received action 'GetSortCapabilities', args = {  }
foo_upnp: FbMediaServer::OnAction: action 'GetSortCapabilities' response: args = { SortCaps= }
foo_upnp: FbMediaServer::ProcessHttpRequest: received request URL=/ContentDirectory/428ff545-776c-4399-a03e-001617726579/control.xml from a LAN client
foo_upnp: FbMediaServer::OnAction: received action 'Search', args = { ContainerID=0, SearchCriteria=upnp:class derivedfrom "object.item.audioItem" and @refID exists false, Filter=*, StartingIndex=0, RequestedCount=200, SortCriteria= }
foo_upnp: FbMediaServer::OnAction: action 'Search' response: args = { ContainerID=0, SearchCriteria=upnp:class derivedfrom "object.item.audioItem" and @refID exists false, Filter=*, StartingIndex=0, RequestedCount=200, SortCriteria=, NumberReturned=0, TotalMatches=0, UpdateID=0 }


Foobar's media library is obviously not empty.
Title: foo_upnp
Post by: bubbleguuum on 2009-08-16 07:49:35
I can't get foobar to work as a media server. I use WMP12 and Win7 x64, foobar 0.9.6.7, foo_upnp 0.99.8. I have applied "Windows Media Server" preset and didn't change the port number: 56923.
WMP12 actually recognizes foobar as a media server, but it doesn't see any files on it, reporting that "no files have been found on this remote library":


0.99.8 was broken with WMP. Get 0.99.9 it should fix the problem.
Title: foo_upnp
Post by: bubbleguuum on 2009-08-16 07:51:18
As already asked in this post #58 (http://www.hydrogenaudio.org/forums/index.php?showtopic=69664&view=findpost&p=618799) (Question wasn't answered yet)
Would it be possible to generate the tree as the directory structe is?
Maybe in a future version?



No immediate plans to implement it but it is in the todo list
Title: foo_upnp
Post by: extesy on 2009-08-16 08:45:55
I can't get foobar to work as a media server. I use WMP12 and Win7 x64, foobar 0.9.6.7, foo_upnp 0.99.8. I have applied "Windows Media Server" preset and didn't change the port number: 56923.
WMP12 actually recognizes foobar as a media server, but it doesn't see any files on it, reporting that "no files have been found on this remote library":

0.99.8 was broken with WMP. Get 0.99.9 it should fix the problem.

That worked, thanks! I've downloaded 0.99.8 from the foobar's official website, so maybe you should update it there as well.
Title: foo_upnp
Post by: GeSomeone on 2009-08-16 10:22:45
I've downloaded 0.99.8 from the foobar's official website, so maybe you should update it there as well.

bubbleguuum mentioned that it was "highly beta" for now...
Title: foo_upnp
Post by: bubbleguuum on 2009-08-16 11:21:19
I've downloaded 0.99.8 from the foobar's official website, so maybe you should update it there as well.

bubbleguuum mentioned that it was "highly beta" for now...


I updated the component site to point to 0.99.9 as it seems to be working OK so far.


This morning I tested PS3 streaming with a wifi connection.  I had intermittent  "dlna protocol error 2104" (that were innexistent with a wired connection) and after googling around
I noticed a lot of people have all kinds of problem with wifi on the PS3 with a lot of speculation (sometimes funny) on what the problems are and often no solution, as those
nasty error codes are not documented.

Anyway I managed to get rid of that error by changing the wifi channel number of my connection. I'm in a busy area with lots of wifis and many of them used the same
channel id than me. That seems to work ok for know but you never know, wifi is black magic ! To find an unused channel id I used NetStumbler (http://www.netstumbler.com/downloads/) to list all the wifis

Another thing worth trying out in case of wifi problems it to set your wifi router mode to "G only" instead of "mixed B/G" or on newer routers, "N".  The PS3 is a "G" device.

Also, it looks like P2P programs can be nasty for wifi routers, opening many connections and potentially slowing it down.
Title: foo_upnp
Post by: bubbleguuum on 2009-08-16 20:19:44
New version (first post to download) with quite some changes in how streaming configurations are handled, so still BETA.

0.99.10
---------

- chg: all configuration settings are now stored in an XML file in the user's foobar app data directory (c:\Documents And Settings\<user name>\Application Data\foobar2000\foo_upnp.xml).
It is created on first launch with default settings. If foo_upnp.xml has been edited externally and there's a parse error on load, the file is renamed as foo_upnp.xml.bak and a default
file is created. The foobar console should display a detailed message why it failed loading.

- new: it is now possible to stream to several clients (WMP, foobar, PS3, iPhone, etc) using separate streaming configuration for each, called profiles. User can edit/rename/add/remove
profiles in a totally revamped config page. When a client connects, the server will pick up a matching profile if any, or use the Default profile (this one can't be removed).
A client is matched to a profile by one or more substrings of its User-Agent http header.
By default there's a few profiles for standard clients that replace the "Presets" of the previous versions. Now it is like if all old presets were all active at the same time.

- chg: server: removed "Presets" as they are not needed anymore with streaming profiles
- new: server: in a profile, ability to set if 5.1 audio should be converted to stereo or not
- chg: server: removed "Allow Seek" and "DLNA" options. They are always enabled.
- fix: server: album art finally working on PS3 for art that is either jpeg or png
- new: server: it is now possible to populate a generated subtree with a subset of the media library using <SubTree query="<search query>">>. For example you could create
a node with only music from 1995 to 2000.
- new: server: added "Compilations" node in the tree (uses the feature above)
- chg: server: stream unsupported XBOX360 formats to lpcm instead of mp3 transcoding in previous version
- new: server: option to use %album artist% instead of %artists% in returned artist names
- fix: server: do not transcode MusePack to mp3 when transcoding configured to lossless only
- fix: server: potentially fixed a crash
- new: renderer: possible to change the renderer network name
- new: ability to set how verbose debug traces in the console are, by editing foo_upnp.xml.
Look for the "level" attribute of the "console_log" tag in conf. "level" values range from 0 (total SPAM) to 7 (only important messages). The default is 4.

------------

If you make working profiles for some exotic hardware that I have not access to, you can post them here in a codebox or drop me a PM so I can include it in future versions. Just open foo_upnp.xml and copy the relevant <profile> section.
Title: foo_upnp
Post by: Anomalous on 2009-08-17 07:31:36
Awesome, I was wondering if was possible to have different settings for different devices , and being able to choose the nodes is cool. The icon foobar for the server seems a bit ugly though, there's white pixels around the edges.
Playback on the PS3 seems alot better since the last time I tried it, there's still some skipping though, and the length and album art don't appear when playing a track (but they do in the tree ).

Also, is it possible to restrict access to the server using IPs/MACs? I guess I could use my firewall for this but it would be good not to have to.

It would be nice if the nodes were a profile settings too, so different devices could have different nodes, and editable in f2k. The way it's done atm doesn't allow a different number for nodes for example:
Code: [Select]
artist
    album1
        ...
    album2
        disc1
            ...
        disc2
            ...

so the compilations example would be something like:
Code: [Select]
LABEL Compilations
QUERY compilation PRESENT
TREE  [%album artist% - ]%album%|%title%

although that might mess with the object.container stuff (what is that?).



Title: foo_upnp
Post by: pIv on 2009-08-17 09:53:14
bubbleguuum

I use foobar without user profile folder and app data directory (c:\Documents And Settings\<user name>\Application Data\foobar2000\) not exist.

When I try version 0.99.10 of foo_upnp.dll and foobar crash on exit. Tnen I manualy create app data directory and now foobar not crash on exit, but create foo_upnp.xml and foo_upnp_ml_tree.xm in this app data directory. But in my case app data directory must be c:\program files\foobar2000.

Please correct this error.
Title: foo_upnp
Post by: bubbleguuum on 2009-08-17 11:38:07
bubbleguuum

I use foobar without user profile folder and app data directory (c:\Documents And Settings\<user name>\Application Data\foobar2000\) not exist.

When I try version 0.99.10 of foo_upnp.dll and foobar crash on exit. Tnen I manualy create app data directory and now foobar not crash on exit, but create foo_upnp.xml and foo_upnp_ml_tree.xm in this app data directory. But in my case app data directory must be c:\program files\foobar2000.

Please correct this error.



I overlooked that. Fixed in 0.99.11 (first post). Also I modified the PS3 profile to always stream as LPCM, as other formats especially mp3 have a significant delay before playing
due to all kind of nasty request the PS3 does before playing the file.
Title: foo_upnp
Post by: bubbleguuum on 2009-08-17 12:15:51
The icon foobar for the server seems a bit ugly though, there's white pixels around the edges.
The white frame is added by the PS3 so complain to Sony

Quote
Playback on the PS3 seems alot better since the last time I tried it, there's still some skipping though, and the length and album art don't appear when playing a track (but they do in the tree ).

I don't think the PS3 display a track length for PCM items (when playing the track). I could be wrong though (any counter example with another media server ?).

Quote
It would be nice if the nodes were a profile settings too, so different devices could have different nodes, and editable in f2k. The way it's done atm doesn't allow a different number for nodes

A tree per profile could be useful, maybe for a future version.
You can put any number of sub-node in a <SubTree>. These are the <spec> tag. for example what is specified as %artist%|%album%|%title% in the Album List component is specified like this
in the plugin's tree:

Code: [Select]
<SubTree label="Artists">
<spec type="object.container.person.musicArtist">%artist%</spec>
<spec type="object.container.album.musicAlbum">%album%</spec>
</SubTree>

You don't specify how tracks are formatted as this doesn't apply to upnp browsing.

Quote
although that might mess with the object.container stuff (what is that?).

It's just an indication of the type of containers for the remote upnp client. Most of the time it can probably be omitted. valid values are:

object.container  <= the default if omitted
object.container.album.musicAlbum
object.container.person.musicArtist
object.container.genre.musicGenre
Title: foo_upnp
Post by: Anomalous on 2009-08-17 13:08:50
About the icon, I didn't mean the border around the image; the image itself has white pixels around the four corners http://tinypic.com/r/25arsd0/3 (http://tinypic.com/r/25arsd0/3).

ps3mediaserver (http://ps3mediaserver.blogspot.com/) correctly displays the length for PCM audio, but there's no thumbnail during playback so that might be a PS3 thing.

My main concern with the xml method is the fixed number of nodes, for example there's no way of having tracks in albums with multiple discs in their own 'Disc X' folder as shown above.

Any idea why
Code: [Select]
<SubTree label="Default">
    <spec type="object.container.person.musicArtist">$if($or($stricmp(%genre%,Game),$stricmp(%genre%,Movie),$stricmp(%genre%,Television)),Original Soundtrack,%album artist%)</spec>
    <spec type="object.container.album.musicAlbum">['['%date%']' ]%album%</spec>
</SubTree>

displays items as
Code: [Select]
artist
    album1
        track1
    album2
        track2
    track1
    track2

while
Code: [Select]
<SubTree label="Default">
    <spec>$if($or($stricmp(%genre%,Game),$stricmp(%genre%,Movie),$stricmp(%genre%,Television)),Original Soundtrack,%album artist%)</spec>
    <spec type="object.container.album.musicAlbum">['['%date%']' ]%album%</spec>
</SubTree>

doesn't have the additional tracks in the artist folder?
Title: foo_upnp
Post by: bubbleguuum on 2009-08-17 16:53:17
About the icon, I didn't mean the border around the image; the image itself has white pixels around the four corners http://tinypic.com/r/25arsd0/3 (http://tinypic.com/r/25arsd0/3).


nice spotting, I didn't even  ee it !

Quote
ps3mediaserver (http://ps3mediaserver.blogspot.com/) correctly displays the length for PCM audio, but there's no thumbnail during playback so that might be a PS3 thing.


I had a look at ps3mediaserver (incredibly messy code btw) and they stream PCM as WAV. In that case track length automagically appear ! So change the PS3 profile from LPCM to WAV and you have track lengths.

Quote
My main concern with the xml method is the fixed number of nodes, for example there's no way of having tracks in albums with multiple discs in their own 'Disc X' folder as shown above.


true, I'll make it work.
Title: foo_upnp
Post by: joaotavela on 2009-08-19 04:12:51
Well, since i installed versions 0.99.10 and 0.99.11, i can't see my Media Library in PS3 anymore. Only the Playlists. the option [] Show Media library to clients is checked. Tried to copy XML files to c:\Documents And Settings... and my foobar root too; i'm tried to customize Media Library but nothing happens. I only get the playlists in PS3.
Any Help?

Lol..Solved
The Filter "Compilations" are blocking the file to load; this message appear in console
" WARNING: could not load file C:\XFoobar\Last Version\foo_upnp_ml_tree.xml
foo_upnp: SEVERE: invalid search query 'compilation PRESENT' populating SubTree 'Compilations': Service extension not found
foo_upnp: SEVERE: could not load default Media Library filters!"
Then i remove this filter
Title: foo_upnp
Post by: bubbleguuum on 2009-08-19 18:38:48
Well, since i installed versions 0.99.10 and 0.99.11, i can't see my Media Library in PS3 anymore. Only the Playlists. the option [] Show Media library to clients is checked. Tried to copy XML files to c:\Documents And Settings... and my foobar root too; i'm tried to customize Media Library but nothing happens. I only get the playlists in PS3.
Any Help?

Lol..Solved
The Filter "Compilations" are blocking the file to load; this message appear in console
" WARNING: could not load file C:\XFoobar\Last Version\foo_upnp_ml_tree.xml
foo_upnp: SEVERE: invalid search query 'compilation PRESENT' populating SubTree 'Compilations': Service extension not found
foo_upnp: SEVERE: could not load default Media Library filters!"
Then i remove this filter


Are you running a foobar version below 0.9.5.3 ? If that's the case, upgrading should  fix the problem.
Title: foo_upnp
Post by: av_degt on 2009-08-19 22:31:39
Dear all,

Please sorry for this really stupid question, but I didn't find, how to DISPLAY this Upnp BROWSER panel in foobar 2000?

I'm using the last version 0.9.6.8, but I do not need to share my files, all that I need is just browsing my upnp media (which is already shared by the NAS)!!!

I spent 2 hours but didn't find any browser panel, please give me a change not to spend all my life to this!
Title: foo_upnp
Post by: bubbleguuum on 2009-08-19 23:19:13
Dear all,

Please sorry for this really stupid question, but I didn't find, how to DISPLAY this Upnp BROWSER panel in foobar 2000?

I'm using the last version 0.9.6.8, but I do not need to share my files, all that I need is just browsing my upnp media (which is already shared by the NAS)!!!

I spent 2 hours but didn't find any browser panel, please give me a change not to spend all my life to this!


If you haven't done Default UI layout editing this might be confusing to add the panel. See post #170:

http://www.hydrogenaudio.org/forums/index....st&p=631934 (http://www.hydrogenaudio.org/forums/index.php?showtopic=69664&view=findpost&p=631934)

If you're using Columns UI, you must use CUI layout editing mode.
Title: foo_upnp
Post by: av_degt on 2009-08-19 23:26:34
THANKS A LOT!

it would be not so difficult, if foobar had a very clear user manual, but it doesn't...

Title: foo_upnp
Post by: DooMCat on 2009-08-20 15:41:16
I've just downloaded + tested the UPnP plugin. Works well on my Windows7 desktop + laptop. I had one song perfectly in sync on both, it sounded awesome, being surrounded by music

So I thought of a cool feature which probably wouldn't take too much time to implement: a 'play on multiple devices' feature, where you select two or more UPnP devices (and maybe the one running the server), tell them to play a song from the server, wait for them to all buffer, then start playback in sync with the UPnP server.

That way you don't have to start a remote client first and then hope you can get them in sync by pausing it occasionally ;P

Whatcha' think? I searched the thread to see if someone had mentioned it before, but the word 'sync' didn't come up with anything about my idea.

If the server is constantly aware of the playback state (position in the currently playing track, whether it's 'transitioning' etc.), it shouldn't be too hard to implement... right?
Title: foo_upnp
Post by: Xezzy on 2009-08-21 14:31:18
Thanks bubblegum for this plugin!
It would be nice to start upnp browser via view menu (pretty much like playlist manager or album list) to launch it in its own window. Cheers!
Title: foo_upnp
Post by: Wiz+z on 2009-08-21 17:01:17
Hello, guys!
I have just installed the plugin and it is awesome! I do have some trouble customizing media library views, though. No matter what i change in foo_upnp_ml_tree.xml, the views are the same. Am i missing something?
Title: foo_upnp
Post by: bubbleguuum on 2009-08-21 18:45:13
it shouldn't be too hard to implement... right?


Not only it wouldn't be easy to implement properly but its not possible with the UPnP AV spec.


Thanks bubblegum for this plugin!
It would be nice to start upnp browser via view menu (pretty much like playlist manager or album list) to launch it in its own window. Cheers!


Not planned at this time

Hello, guys!
I have just installed the plugin and it is awesome! I do have some trouble customizing media library views, though. No matter what i change in foo_upnp_ml_tree.xml, the views are the same. Am i missing something?


2 possibles things:

- after editing this file, you need to relaunch the server. This is done automatically if you edit/save this file when on the Advanced Settings page, when you close the preference dialog.
If you edit the file externally you must restart the server on the "Basic Settings / Status" pref page.
- The server was relaunched but there is an error in the file. The file is only loaded when the first client browse the root of the tree. If all goes well, in the foobar console you'll see:
"foo_upnp: INFO: loaded Media Library filters from C:\Program Files\foobar2000\foo_upnp_ml_tree.xml".
Otherwise you'll see an error that should let you fix the problem, and a message saying default filters were loaded.

Title: foo_upnp
Post by: Wiz+z on 2009-08-21 19:15:07
2 possibles things:

- after editing this file, you need to relaunch the server. This is done automatically if you edit/save this file when on the Advanced Settings page, when you close the preference dialog.
If you edit the file externally you must restart the server on the "Basic Settings / Status" pref page.
- The server was relaunched but there is an error in the file. The file is only loaded when the first client browse the root of the tree. If all goes well, in the foobar console you'll see:
"foo_upnp: INFO: loaded Media Library filters from C:\Program Files\foobar2000\foo_upnp_ml_tree.xml".
Otherwise you'll see an error that should let you fix the problem, and a message saying default filters were loaded.

Thanks for the tip! I should've checked the console in the first place.
It looks like XML Notepad i used broke the file structure. Server stopped loading it after the save (even without any changes).
Title: foo_upnp
Post by: joaotavela on 2009-08-22 01:42:46
2 possibles things:

- after editing this file, you need to relaunch the server. This is done automatically if you edit/save this file when on the Advanced Settings page, when you close the preference dialog.
If you edit the file externally you must restart the server on the "Basic Settings / Status" pref page.
- The server was relaunched but there is an error in the file. The file is only loaded when the first client browse the root of the tree. If all goes well, in the foobar console you'll see:
"foo_upnp: INFO: loaded Media Library filters from C:\Program Files\foobar2000\foo_upnp_ml_tree.xml".
Otherwise you'll see an error that should let you fix the problem, and a message saying default filters were loaded.

Thanks for the tip! I should've checked the console in the first place.
It looks like XML Notepad i used broke the file structure. Server stopped loading it after the save (even without any changes).


I Use Notepad++ to edit the foo_upnp_ml_tree.xml and works.
Title: foo_upnp
Post by: Wiz+z on 2009-08-22 12:47:03
I Use Notepad++ to edit the foo_upnp_ml_tree.xml and works.


Nice piece of software. Thanks!
Title: foo_upnp
Post by: Devocalypse on 2009-08-23 15:14:11
Great component, very useful.
I am experiencing a weird bug with 0.99.11b on Windows7 x64 7600 which i think wasn't present in the previous version.
The component itself is working great in media server mode but after foobar is running for a while, if you try to close it it freezes. Becomes unkillable by process explorer / task manager by any means and the only thing left to do is restart windows.

Process Explorer shows two threads on foobar as still waiting after attempting to close it:
Code: [Select]
foobar2000.exe+0x103537
foo_upnp.dll!foobar2000_get_interface+0x597fc
If by interface it means binding to a network interface then i have 4 adapters, 1 has 3 IPs, 1 has 2 IPs, the other two have 1 each and are on an intranet. Not sure if that might be of any help. I don't have a crash log as it doesn't crash. All foo_upnp Settings are Default and xml-s are untouched.

Component list as follows excluding built in ones:
Code: [Select]
Core (2009-08-22 13:25:22)     foobar2000 core 0.9.6.9
foo_benchmark.dll (2008-12-31 20:23:04)    Decoding Speed Test 1.1
foo_burninate.dll (2009-06-24 20:14:28)    Audio CD Writer 3.0.1
foo_DeleteCurrent.dll (2008-06-30 17:00:02)    FooBar2000 Delete Current Track 1.0.0.0
foo_input_dts.dll (2008-10-26 15:15:26)    DTS decoder 0.2.2
foo_input_monkey.dll (2009-05-01 14:40:52)    Monkey's Audio Decoder 2.1.4
foo_input_tak.dll (2009-06-15 22:44:54)    TAK Decoder 0.4.3
foo_input_tta.dll (2009-01-30 01:02:02)    TTA Audio Decoder (unofficial) 2.4.2
foo_masstag.dll (2009-06-30 10:37:28)    Masstagger 1.8.3
foo_ui_columns.dll (2009-06-15 01:18:06)    Columns UI 0.3.7.8
foo_uie_biography.dll (2009-07-18 19:42:50)    Biography View 0.3.2.1
foo_uie_panel_splitter.dll (2009-06-07 22:36:54)    Panel Stack Splitter 0.3.8(alpha)
foo_uie_quicksearch.dll (2007-05-18 13:31:10)    Quick Search Toolbar 2.8l
foo_unpack_7z.dll (2009-02-18 13:35:50)    7-Zip unpacker 1.0
foo_unpack_lha.dll (2009-08-12 22:17:20)    LHA reader 1.4
foo_verifier.dll (2009-06-21 23:03:56)    File Integrity Verifier 1.0.5
foo_w7shell.dll (2009-04-01 03:52:06)    Windows 7 integration 0.2.7.1
foo_whatsnew.dll (2008-08-30 15:45:00)    Feature Watcher 1.0.6
Title: foo_upnp
Post by: bubbleguuum on 2009-08-23 18:10:27
Great component, very useful.
I am experiencing a weird bug with 0.99.11b on Windows7 x64 7600 which i think wasn't present in the previous version.
The component itself is working great in media server mode but after foobar is running for a while, if you try to close it it freezes. Becomes unkillable by process explorer / task manager by any means and the only thing left to do is restart windows.


Probably a hard to reproduce deadlock so no easy fix. Can you reproduce it all the time ? how long fb had been running when it happened and was the plugin doing anything (streaming) when it happened? Could be interesting you mention all the upnp devices of your network.
Title: foo_upnp
Post by: Devocalypse on 2009-08-23 20:13:37
Only other upnp device is a foobar instance with foo_upnp running as a service with firedaemon on another computer running x86 Windows7 but it is not powered on most of the time. The only network it is allowed by the firewall is the home network on which i have 2PCs a laptop running XP and a very old (non UPNP-aware) 802.11b wireless access point which is used only by the laptop (has WPA). I'll enable it again on the main PC and enable verbose logging so I can see the last commands. Concerning usage I think it isn't used by any program while it freezes unless windows itself does a refresh of the network at some intervals so that might trigger a response. I'll monitor the console and let you know if I find a lead to the culprit.
Title: foo_upnp
Post by: bubbleguuum on 2009-08-23 20:37:01
Only other upnp device is a foobar instance with foo_upnp running as a service with firedaemon on another computer running x86 Windows7 but it is not powered on most of the time. The only network it is allowed by the firewall is the home network on which i have 2PCs a laptop running XP and a very old (non UPNP-aware) 802.11b wireless access point which is used only by the laptop (has WPA). I'll enable it again on the main PC and enable verbose logging so I can see the last commands. Concerning usage I think it isn't used by any program while it freezes unless windows itself does a refresh of the network at some intervals so that might trigger a response. I'll monitor the console and let you know if I find a lead to the culprit.


You may want to enable writing the console output to a file (Console -> Write Log) as well as editing foo_upnp.xml (in foobar's profile directory), setting <console_log enabled="yes" level="0"> to have maximum of debug output.
Title: foo_upnp
Post by: Devocalypse on 2009-08-24 00:26:56
You may want to enable writing the console output to a file (Console -> Write Log) as well as editing foo_upnp.xml (in foobar's profile directory), setting <console_log enabled="yes" level="0"> to have maximum of debug output.
Did it as you suggested, console output with level 0 logging below:
[code]foo_upnp: FINEST: header MX: 5
foo_upnp: FINEST: header ST: ssdp:all
foo_upnp: FINEST: header MAN: "ssdp:discover"
foo_upnp: FINEST: header User-Agent: Platinum/0.5.1, DLNADOC/1.50 / foobar2000
foo_upnp: FINEST: header Host: 239.255.255.250:1900
foo_upnp: FINEST: header MX: 5
foo_upnp: FINEST: header ST: ssdp:all
foo_upnp: FINEST: header MAN: "ssdp:discover"
foo_upnp: FINEST: header User-Agent: Platinum/0.5.1, DLNADOC/1.50 / foobar2000
foo_upnp: FINEST: header Host: 239.255.255.250:1900
foo_upnp: FINEST: header MX: 5
foo_upnp: FINEST: header MX: 5
foo_upnp: FINEST: header MX: 5
foo_upnp: FINEST: header MX: 5
foo_upnp: FINEST: header ST: upnp:rootdevice
foo_upnp: FINEST: header ST: upnp:rootdevice
foo_upnp: FINEST: header ST: upnp:rootdevice
foo_upnp: FINEST: header ST: upnp:rootdevice
foo_upnp: FINEST: header MAN: "ssdp:discover"
foo_upnp: FINEST: header MAN: "ssdp:discover"
foo_upnp: FINEST: header MAN: "ssdp:discover"
foo_upnp: FINEST: header MAN: "ssdp:discover"
foo_upnp: FINEST: header User-Agent: Platinum/0.5.1, DLNADOC/1.50 / foobar2000
foo_upnp: FINEST: header User-Agent: Platinum/0.5.1, DLNADOC/1.50 / foobar2000
foo_upnp: FINEST: header User-Agent: Platinum/0.5.1, DLNADOC/1.50 / foobar2000
foo_upnp: FINEST: header User-Agent: Platinum/0.5.1, DLNADOC/1.50 / foobar2000
foo_upnp: FINEST: header Host: 239.255.255.250:1900
foo_upnp: FINEST: header Host: 239.255.255.250:1900
foo_upnp: FINEST: header Host: 239.255.255.250:1900
foo_upnp: FINEST: header Host: 239.255.255.250:1900
foo_upnp: FINEST: header MX: 5
foo_upnp: FINEST: header MX: 5
foo_upnp: FINEST: header MX: 5
foo_upnp: FINEST: header MX: 5
foo_upnp: FINEST: header ST: upnp:rootdevice
foo_upnp: FINEST: header ST: upnp:rootdevice
foo_upnp: FINEST: header ST: upnp:rootdevice
foo_upnp: FINEST: header ST: upnp:rootdevice
foo_upnp: FINEST: header MAN: "ssdp:discover"
foo_upnp: FINEST: header MAN: "ssdp:discover"
foo_upnp: FINEST: header MAN: "ssdp:discover"
foo_upnp: FINEST: header MAN: "ssdp:discover"
foo_upnp: FINEST: header User-Agent: Platinum/0.5.1, DLNADOC/1.50 / foobar2000
foo_upnp: FINEST: header User-Agent: Platinum/0.5.1, DLNADOC/1.50 / foobar2000
foo_upnp: FINEST: header User-Agent: Platinum/0.5.1, DLNADOC/1.50 / foobar2000
foo_upnp: FINEST: header User-Agent: Platinum/0.5.1, DLNADOC/1.50 / foobar2000
foo_upnp: FINEST: header Host: 239.255.255.250:1900
foo_upnp: FINEST: header Host: 239.255.255.250:1900
foo_upnp: FINEST: header Host: 239.255.255.250:1900
foo_upnp: FINEST: header Host: 239.255.255.250:1900
foo_upnp: FINEST: header MX: 5
foo_upnp: FINEST: header MX: 5
foo_upnp: FINEST: header MX: 5
foo_upnp: FINEST: header ST: upnp:rootdevice
foo_upnp: FINEST: header ST: upnp:rootdevice
foo_upnp: FINEST: header ST: upnp:rootdevice
foo_upnp: FINEST: header MAN: "ssdp:discover"
foo_upnp: FINEST: header MAN: "ssdp:discover"
foo_upnp: FINEST: header MAN: "ssdp:discover"
foo_upnp: FINEST: header User-Agent: Platinum/0.5.1, DLNADOC/1.50 / foobar2000
foo_upnp: FINEST: header User-Agent: Platinum/0.5.1, DLNADOC/1.50 / foobar2000
foo_upnp: FINEST: header User-Agent: Platinum/0.5.1, DLNADOC/1.50 / foobar2000
foo_upnp: FINEST: header Host: 239.255.255.250:1900
foo_upnp: FINEST: header Host: 239.255.255.250:1900
foo_upnp: FINEST: header Host: 239.255.255.250:1900
foo_upnp: FINEST: header MX: 5
foo_upnp: FINEST: header MX: 5
foo_upnp: FINEST: header ST: upnp:rootdevice
foo_upnp: FINEST: header MX: 5
foo_upnp: FINEST: header ST: upnp:rootdevice
foo_upnp: FINEST: header MAN: "ssdp:discover"
foo_upnp: FINEST: header ST: upnp:rootdevice
foo_upnp: FINEST: header MAN: "ssdp:discover"
foo_upnp: FINEST: header User-Agent: Platinum/0.5.1, DLNADOC/1.50 / foobar2000
foo_upnp: FINEST: header MAN: "ssdp:discover"
foo_upnp: FINEST: header User-Agent: Platinum/0.5.1, DLNADOC/1.50 / foobar2000
foo_upnp: FINEST: header Host: 239.255.255.250:1900
foo_upnp: FINEST: header User-Agent: Platinum/0.5.1, DLNADOC/1.50 / foobar2000
foo_upnp: FINEST: header Host: 239.255.255.250:1900
foo_upnp: FINEST: header Host: 239.255.255.250:1900
foo_upnp: FINEST: header MX: 1
foo_upnp: FINEST: header ST: upnp:rootdevice
foo_upnp: FINEST: header MAN: "ssdp:discover"
foo_upnp: FINEST: header User-Agent: Platinum/0.5.1, DLNADOC/1.50 / foobar2000
foo_upnp: FINEST: header Host: 239.255.255.250:1900
foo_upnp: FINEST: header MX: 1
foo_upnp: FINEST: header ST: upnp:rootdevice
foo_upnp: FINEST: header MAN: "ssdp:discover"
foo_upnp: FINEST: http request: M-SEARCH * HTTP/1.1
foo_upnp: FINEST: header - MX: 1
foo_upnp: FINEST: header User-Agent: Platinum/0.5.1, DLNADOC/1.50 / foobar2000
foo_upnp: FINEST: header - ST: upnp:rootdevice
foo_upnp: FINEST: header Host: 239.255.255.250:1900
foo_upnp: FINEST: header - MAN: "ssdp:discover"
foo_upnp: FINEST: header - User-Agent: Platinum/0.5.1, DLNADOC/1.50 / foobar2000
foo_upnp: FINEST: header Host: 239.255.255.250:1900
foo_upnp: FINE: creating thread
foo_upnp: FINEST: http request: M-SEARCH * HTTP/1.1
foo_upnp: FINEST: header - MX: 1
foo_upnp: FINEST: header - ST: upnp:rootdevice
foo_upnp: FINEST: header - MAN: "ssdp:discover"
foo_upnp: FINEST: header - User-Agent: Platinum/0.5.1, DLNADOC/1.50 / foobar2000
foo_upnp: FINEST: header Host: 239.255.255.250:1900
foo_upnp: FINE: creating thread
foo_upnp: FINE: thread in =======================
foo_upnp: FINEST: header LOCATION: http://192.168.137.1:56923/DeviceDescription.xml (http://192.168.137.1:56923/DeviceDescription.xml)
foo_upnp: FINE: thread in =======================
foo_upnp: FINEST: header CACHE-CONTROL: max-age=1800
foo_upnp: FINEST: header Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.1
foo_upnp: FINEST: header EXT:
foo_upnp: FINEST: header USN: uuid:aa893036-41c6-ccfe-e652-b00c6203f506::upnp:rootdevice
foo_upnp: FINEST: header ST: upnp:rootdevice
foo_upnp: FINEST: header LOCATION: http://192.168.137.1:56923/DeviceDescription.xml (http://192.168.137.1:56923/DeviceDescription.xml)
foo_upnp: FINEST: header CACHE-CONTROL: max-age=1800
foo_upnp: FINEST: header Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.1
foo_upnp: FINEST: header EXT:
foo_upnp: FINEST: header USN: uuid:aa893036-41c6-ccfe-e652-b00c6203f506::upnp:rootdevice
foo_upnp: FINEST: header ST: upnp:rootdevice
foo_upnp: FINEST: header - LOCATION: http://192.168.137.1:56923/DeviceDescription.xml (http://192.168.137.1:56923/DeviceDescription.xml)
foo_upnp: FINEST: header LOCATION: http://192.168.137.1:56923/DeviceDescription.xml (http://192.168.137.1:56923/DeviceDescription.xml)
foo_upnp: FINEST: header - CACHE-CONTROL: max-age=1800
foo_upnp: FINEST: header CACHE-CONTROL: max-age=1800
foo_upnp: FINEST: header - Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.1
foo_upnp: FINEST: header Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.1
foo_upnp: FINEST: header - EXT:
foo_upnp: FINEST: header EXT:
foo_upnp: FINEST: header - USN: uuid:aa893036-41c6-ccfe-e652-b00c6203f506::upnp:rootdevice
foo_upnp: FINEST: header USN: uuid:aa893036-41c6-ccfe-e652-b00c6203f506::upnp:rootdevice
foo_upnp: FINEST: header ST: upnp:rootdevice
foo_upnp: FINEST: header ST: upnp:rootdevice
foo_upnp: FINE: got response, code=200, msg=OK
foo_upnp: FINEST: header LOCATION: http://192.168.137.1:56923/DeviceDescription.xml (http://192.168.137.1:56923/DeviceDescription.xml)
foo_upnp: FINEST: header - LOCATION: http://192.168.137.1:56923/DeviceDescription.xml (http://192.168.137.1:56923/DeviceDescription.xml)
foo_upnp: FINEST: header CACHE-CONTROL: max-age=1800
foo_upnp: FINEST: header - CACHE-CONTROL: max-age=1800
foo_upnp: FINEST: header Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.1
foo_upnp: FINEST: header - Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.1
foo_upnp: FINEST: header EXT:
foo_upnp: FINEST: header - EXT:
foo_upnp: FINEST: header USN: uuid:aa893036-41c6-ccfe-e652-b00c6203f506::upnp:rootdevice
foo_upnp: FINEST: header - USN: uuid:aa893036-41c6-ccfe-e652-b00c6203f506::upnp:rootdevice
foo_upnp: FINEST: header ST: upnp:rootdevice
foo_upnp: FINEST: header ST: upnp:rootdevice
foo_upnp: FINE: got response, code=200, msg=OK
foo_upnp: FINEST: header - LOCATION: http://192.168.137.1:56923/DeviceDescription.xml (http://192.168.137.1:56923/DeviceDescription.xml)
foo_upnp: FINEST: header - CACHE-CONTROL: max-age=1800
foo_upnp: FINEST: header - Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.1
foo_upnp: FINEST: header - EXT:
foo_upnp: FINEST: header - USN: uuid:aa893036-41c6-ccfe-e652-b00c6203f506::upnp:rootdevice
foo_upnp: FINEST: header ST: upnp:rootdevice
foo_upnp: FINE: got response, code=200, msg=OK
foo_upnp: FINEST: header - LOCATION: http://192.168.137.1:56923/DeviceDescription.xml (http://192.168.137.1:56923/DeviceDescription.xml)
foo_upnp: FINEST: header - CACHE-CONTROL: max-age=1800
foo_upnp: FINEST: header - Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.1
foo_upnp: FINEST: header - EXT:
foo_upnp: FINEST: header - USN: uuid:aa893036-41c6-ccfe-e652-b00c6203f506::upnp:rootdevice
foo_upnp: FINEST: header ST: upnp:rootdevice
foo_upnp: FINE: got response, code=200, msg=OK
foo_upnp: FINEST: header - ST: upnp:rootdevice
foo_upnp: FINEST: header - USN: uuid:a704a53b-32cc-4269-9baf-29f4807253af::upnp:rootdevice
foo_upnp: FINEST: header - Location: http://192.168.137.1:2869/upnphost/udhisap...af-29f4807253af (http://192.168.137.1:2869/upnphost/udhisapi.dll?content=uuid:a704a53b-32cc-4269-9baf-29f4807253af)
foo_upnp: FINEST: header - OPT: "http://schemas.upnp.org/upnp/1/0/"; ns=01
foo_upnp: FINEST: header - 01-NLS: 8a246981d23235e0292a0140c79b3130
foo_upnp: FINEST: header - Cache-Control: max-age=900
foo_upnp: FINEST: header - Server: Microsoft-Windows-NT/5.1 UPnP/1.0 UPnP-Device-Host/1.0
foo_upnp: FINEST: header Ext:
foo_upnp: FINE: got response, code=200, msg=OK
foo_upnp: FINEST: header - ST: upnp:rootdevice
foo_upnp: FINEST: header - USN: uuid:9ce22159-b94d-49ea-b000-0bc073f5ea3c::upnp:rootdevice
foo_upnp: FINEST: header - Location: http://192.168.137.1:2869/upnphost/udhisap...00-0bc073f5ea3c (http://192.168.137.1:2869/upnphost/udhisapi.dll?content=uuid:9ce22159-b94d-49ea-b000-0bc073f5ea3c)
foo_upnp: FINEST: header - OPT: "http://schemas.upnp.org/upnp/1/0/"; ns=01
foo_upnp: FINEST: header - 01-NLS: 8a246981d23235e0292a0140c79b3130
foo_upnp: FINEST: header - Cache-Control: max-age=1800
foo_upnp: FINEST: header - Server: Microsoft-Windows-NT/5.1 UPnP/1.0 UPnP-Device-Host/1.0
foo_upnp: FINEST: header Ext:
foo_upnp: FINE: got response, code=200, msg=OK
foo_upnp: FINE: creating thread
foo_upnp: FINE: thread in =======================
foo_upnp: FINEST: header - ST: upnp:rootdevice
foo_upnp: FINEST: header - USN: uuid:9ce22159-b94d-49ea-b000-0bc073f5ea3c::upnp:rootdevice
foo_upnp: FINEST: header - Location: http://192.168.137.1:2869/upnphost/udhisap...00-0bc073f5ea3c (http://192.168.137.1:2869/upnphost/udhisapi.dll?content=uuid:9ce22159-b94d-49ea-b000-0bc073f5ea3c)
foo_upnp: FINEST: header - OPT: "http://schemas.upnp.org/upnp/1/0/"; ns=01
foo_upnp: FINEST: header - 01-NLS: 8a246981d23235e0292a0140c79b3130
foo_upnp: FINEST: header - Cache-Control: max-age=1800
foo_upnp: FINEST: header - Server: Microsoft-Windows-NT/5.1 UPnP/1.0 UPnP-Device-Host/1.0
foo_upnp: FINEST: header Ext:
foo_upnp: FINE: got response, code=200, msg=OK
foo_upnp: FINE: requesting URL http://192.168.137.1:2869/upnphost/udhisap...00-0bc073f5ea3c (http://192.168.137.1:2869/upnphost/udhisapi.dll?content=uuid:9ce22159-b94d-49ea-b000-0bc073f5ea3c)
foo_upnp: FINE: connecting to 192.168.137.1:2869
foo_upnp: FINEST: header User-Agent: Platinum/0.5.1, DLNADOC/1.50 / foobar2000
foo_upnp: FINEST: header Host: 192.168.137.1:2869
foo_upnp: FINEST: header - Content-Length: 3612
foo_upnp: FINEST: header - Content-Type: text/xml; charset="utf-8"
foo_upnp: FINEST: header - Server: Microsoft-Windows-NT/5.1 UPnP/1.0 UPnP-Device-Host/1.0 Microsoft-HTTPAPI/2.0
foo_upnp: FINEST: header Date: Sun, 23 Aug 2009 23:02:23 GMT
foo_upnp: FINE: got response, code=200, msg=OK
foo_upnp: FINE: creating thread
foo_upnp: FINE: thread in =======================
foo_upnp: FINEST: header - ST: upnp:rootdevice
foo_upnp: FINEST: header - USN: uuid:a704a53b-32cc-4269-9baf-29f4807253af::upnp:rootdevice
foo_upnp: FINEST: header - Location: http://192.168.137.1:2869/upnphost/udhisap...af-29f4807253af (http://192.168.137.1:2869/upnphost/udhisapi.dll?content=uuid:a704a53b-32cc-4269-9baf-29f4807253af)
foo_upnp: FINEST: header - OPT: "http://schemas.upnp.org/upnp/1/0/"; ns=01
foo_upnp: FINEST: header - 01-NLS: 8a246981d23235e0292a0140c79b3130
foo_upnp: FINEST: header - Cache-Control: max-age=900
foo_upnp: FINEST: header - Server: Microsoft-Windows-NT/5.1 UPnP/1.0 UPnP-Device-Host/1.0
foo_upnp: FINEST: header Ext:
foo_upnp: FINE: got response, code=200, msg=OK
foo_upnp: FINE: requesting URL http://192.168.137.1:2869/upnphost/udhisap...cc-f2674f66548d (http://192.168.137.1:2869/upnphost/udhisapi.dll?content=uuid:d7df7fea-5bbb-48a4-8bcc-f2674f66548d)
foo_upnp: FINE: connecting to 192.168.137.1:2869
foo_upnp: FINEST: header User-Agent: Platinum/0.5.1, DLNADOC/1.50 / foobar2000
foo_upnp: FINEST: header Host: 192.168.137.1:2869
foo_upnp: FINEST: header - Content-Length: 13451
foo_upnp: FINEST: header - Content-Type: text/xml; charset="utf-8"
foo_upnp: FINEST: header - Server: Microsoft-Windows-NT/5.1 UPnP/1.0 UPnP-Device-Host/1.0 Microsoft-HTTPAPI/2.0
foo_upnp: FINEST: header Date: Sun, 23 Aug 2009 23:02:24 GMT
foo_upnp: FINE: got response, code=200, msg=OK
foo_upnp: FINE: requesting URL http://192.168.137.1:2869/upnphost/udhisap...e6-efe78d60fe66 (http://192.168.137.1:2869/upnphost/udhisapi.dll?content=uuid:6b44aba2-cb91-4b33-88e6-efe78d60fe66)
foo_upnp: FINE: connecting to 192.168.137.1:2869
foo_upnp: FINEST: header User-Agent: Platinum/0.5.1, DLNADOC/1.50 / foobar2000
foo_upnp: FINEST: header Host: 192.168.137.1:2869
foo_upnp: FINEST: header - Content-Length: 5868
foo_upnp: FINEST: header - Content-Type: text/xml; charset="utf-8"
foo_upnp: FINEST: header - Server: Microsoft-Windows-NT/5.1 UPnP/1.0 UPnP-Device-Host/1.0 Microsoft-HTTPAPI/2.0
foo_upnp: FINEST: header Date: Sun, 23 Aug 2009 23:02:24 GMT
foo_upnp: FINE: got response, code=200, msg=OK
foo_upnp: FINE: requesting URL http://192.168.137.1:2869/upnphost/udhisap...92-a0e9d1f4c5ce (http://192.168.137.1:2869/upnphost/udhisapi.dll?content=uuid:72c49287-d2be-404f-9e92-a0e9d1f4c5ce)
foo_upnp: FINE: connecting to 192.168.137.1:2869
foo_upnp: FINEST: header User-Agent: Platinum/0.5.1, DLNADOC/1.50 / foobar2000
foo_upnp: FINEST: header Host: 192.168.137.1:2869
foo_upnp: FINEST: header - Content-Length: 780
foo_upnp: FINEST: header - Content-Type: text/xml; charset="utf-8"
foo_upnp: FINEST: header - Server: Microsoft-Windows-NT/5.1 UPnP/1.0 UPnP-Device-Host/1.0 Microsoft-HTTPAPI/2.0
foo_upnp: FINEST: header Date: Sun, 23 Aug 2009 23:02:24 GMT
foo_upnp: FINE: got response, code=200, msg=OK
foo_upnp: FINEST: http request: NOTIFY * HTTP/1.1
foo_upnp: FINEST: header - Host: 239.255.255.250:1900
foo_upnp: FINEST: header - NT: upnp:rootdevice
foo_upnp: FINEST: header - NTS: ssdp:alive
foo_upnp: FINEST: header - Location: http://127.0.0.1:2869/upnphost/udhisapi.dl...5e-db8ca742f70f (http://127.0.0.1:2869/upnphost/udhisapi.dll?content=uuid:bcfae34c-8c35-4297-b95e-db8ca742f70f)
foo_upnp: FINEST: header - USN: uuid:bcfae34c-8c35-4297-b95e-db8ca742f70f::upnp:rootdevice
foo_upnp: FINEST: header - Cache-Control: max-age=1800
foo_upnp: FINEST: header - Server: Microsoft-Windows-NT/5.1 UPnP/1.0 UPnP-Device-Host/1.0
foo_upnp: FINEST: header - OPT: "http://schemas.upnp.org/upnp/1/0/"; ns=01
foo_upnp: FINEST: header 01-NLS: 8a246981d23235e0292a0140c79b3130
foo_upnp: FINE: creating thread
foo_upnp: FINEST: http request: NOTIFY * HTTP/1.1
foo_upnp: FINEST: header - Host: 239.255.255.250:1900
foo_upnp: FINEST: header - NT: uuid:bcfae34c-8c35-4297-b95e-db8ca742f70f
foo_upnp: FINEST: header - NTS: ssdp:alive
foo_upnp: FINEST: header - Location: http://127.0.0.1:2869/upnphost/udhisapi.dl...5e-db8ca742f70f (http://127.0.0.1:2869/upnphost/udhisapi.dll?content=uuid:bcfae34c-8c35-4297-b95e-db8ca742f70f)
foo_upnp: FINEST: header - USN: uuid:bcfae34c-8c35-4297-b95e-db8ca742f70f
foo_upnp: FINEST: header - Cache-Control: max-age=1800
foo_upnp: FINEST: header - Server: Microsoft-Windows-NT/5.1 UPnP/1.0 UPnP-Device-Host/1.0
foo_upnp: FINEST: header - OPT: "http://schemas.upnp.org/upnp/1/0/"; ns=01
foo_upnp: FINEST: header 01-NLS: 8a246981d23235e0292a0140c79b3130
foo_upnp: FINEST: http request: NOTIFY * HTTP/1.1
foo_upnp: FINEST: header - Host: 239.255.255.250:1900
foo_upnp: FINEST: header - NT: urn:schemas-upnp-org:device:MediaRenderer:1
foo_upnp: FINEST: header - NTS: ssdp:alive
foo_upnp: FINEST: header - Location: http://127.0.0.1:2869/upnphost/udhisapi.dl...5e-db8ca742f70f (http://127.0.0.1:2869/upnphost/udhisapi.dll?content=uuid:bcfae34c-8c35-4297-b95e-db8ca742f70f)
foo_upnp: FINEST: header - USN: uuid:bcfae34c-8c35-4297-b95e-db8ca742f70f::urn:schemas-upnp-org:device:MediaRenderer:1
foo_upnp: FINEST: header - Cache-Control: max-age=1800
foo_upnp: FINEST: header - Server: Microsoft-Windows-NT/5.1 UPnP/1.0 UPnP-Device-Host/1.0
foo_upnp: FINEST: header - OPT: "http://schemas.upnp.org/upnp/1/0/"; ns=01
foo_upnp: FINEST: header 01-NLS: 8a246981d23235e0292a0140c79b3130
foo_upnp: FINEST: http request: NOTIFY * HTTP/1.1
foo_upnp: FINEST: header - Host: 239.255.255.250:1900
foo_upnp: FINEST: header - NT: urn:schemas-upnp-org:service:RenderingControl:1
foo_upnp: FINEST: header - NTS: ssdp:alive
foo_upnp: FINEST: header - Location: http://127.0.0.1:2869/upnphost/udhisapi.dl...5e-db8ca742f70f (http://127.0.0.1:2869/upnphost/udhisapi.dll?content=uuid:bcfae34c-8c35-4297-b95e-db8ca742f70f)
foo_upnp: FINEST: header - USN: uuid:bcfae34c-8c35-4297-b95e-db8ca742f70f::urn:schemas-upnp-org:service:RenderingControl:1
foo_upnp: FINEST: header - Cache-Control: max-age=1800
foo_upnp: FINEST: header - Server: Microsoft-Windows-NT/5.1 UPnP/1.0 UPnP-Device-Host/1.0
foo_upnp: FINEST: header - OPT: "http://schemas.upnp.org/upnp/1/0/"; ns=01
foo_upnp: FINEST: header 01-NLS: 8a246981d23235e0292a0140c79b3130
foo_upnp: FINE: thread in =======================
foo_upnp: FINEST: http request: M-SEARCH * HTTP/1.1
foo_upnp: FINEST: header - Host: 239.255.255.250:1900
foo_upnp: FINEST: header - ST: urn:schemas-upnp-org:service:ContentDirectory:1
foo_upnp: FINEST: header - Man: "ssdp:discover"
foo_upnp: FINEST: header MX: 3
foo_upnp: FINE: creating thread
foo_upnp: FINE: thread in =======================
foo_upnp: FINE: requesting URL http://127.0.0.1:2869/upnphost/udhisapi.dl...5e-db8ca742f70f (http://127.0.0.1:2869/upnphost/udhisapi.dll?content=uuid:bcfae34c-8c35-4297-b95e-db8ca742f70f)
foo_upnp: FINE: connecting to 127.0.0.1:2869
foo_upnp: FINEST: header User-Agent: Platinum/0.5.1, DLNADOC/1.50 / foobar2000
foo_upnp: FINEST: header Host: 127.0.0.1:2869
foo_upnp: FINEST: header - Content-Length: 2389
foo_upnp: FINEST: header - Content-Type: text/xml; charset="utf-8"
foo_upnp: FINEST: header - Server: Microsoft-Windows-NT/5.1 UPnP/1.0 UPnP-Device-Host/1.0 Microsoft-HTTPAPI/2.0
foo_upnp: FINEST: header Date: Sun, 23 Aug 2009 23:02:33 GMT
foo_upnp: FINE: got response, code=200, msg=OK
foo_upnp: FINE: creating thread
foo_upnp: FINE: thread in =======================
foo_upnp: FINE: requesting URL http://127.0.0.1:2869/upnphost/udhisapi.dl...b7-021a2e92a755 (http://127.0.0.1:2869/upnphost/udhisapi.dll?content=uuid:97a299f8-8b4f-40a7-a0b7-021a2e92a755)
foo_upnp: FINE: connecting to 127.0.0.1:2869
foo_upnp: FINEST: header User-Agent: Platinum/0.5.1, DLNADOC/1.50 / foobar2000
foo_upnp: FINEST: header Host: 127.0.0.1:2869
foo_upnp: FINEST: header - Content-Length: 6363
foo_upnp: FINEST: header - Content-Type: text/xml; charset="utf-8"
foo_upnp: FINEST: header - Server: Microsoft-Windows-NT/5.1 UPnP/1.0 UPnP-Device-Host/1.0 Microsoft-HTTPAPI/2.0
foo_upnp: FINEST: header Date: Sun, 23 Aug 2009 23:02:33 GMT
foo_upnp: FINE: got response, code=200, msg=OK
foo_upnp: FINEST: http request: NOTIFY * HTTP/1.1
foo_upnp: FINEST: header - Host: 239.255.255.250:1900
foo_upnp: FINEST: header - NT: upnp:rootdevice
foo_upnp: FINEST: header - NTS: ssdp:alive
foo_upnp: FINEST: header - Location: http://127.0.0.1:2869/upnphost/udhisapi.dl...5e-db8ca742f70f (http://127.0.0.1:2869/upnphost/udhisapi.dll?content=uuid:bcfae34c-8c35-4297-b95e-db8ca742f70f)
foo_upnp: FINEST: header - USN: uuid:bcfae34c-8c35-4297-b95e-db8ca742f70f::upnp:rootdevice
foo_upnp: FINEST: header - Cache-Control: max-age=1800
foo_upnp: FINEST: header - Server: Microsoft-Windows-NT/5.1 UPnP/1.0 UPnP-Device-Host/1.0
foo_upnp: FINEST: header - OPT: "http://schemas.upnp.org/upnp/1/0/"; ns=01
foo_upnp: FINEST: header 01-NLS: 8a246981d23235e0292a0140c79b3130
foo_upnp: FINEST: http request: NOTIFY * HTTP/1.1
foo_upnp: FINEST: header - Host: 239.255.255.250:1900
foo_upnp: FINEST: header - NT: urn:schemas-upnp-org:service:RenderingControl:1
foo_upnp: FINEST: header - NTS: ssdp:alive
foo_upnp: FINEST: header - Location: http://127.0.0.1:2869/upnphost/udhisapi.dl...5e-db8ca742f70f (http://127.0.0.1:2869/upnphost/udhisapi.dll?content=uuid:bcfae34c-8c35-4297-b95e-db8ca742f70f)
foo_upnp: FINEST: header - USN: uuid:bcfae34c-8c35-4297-b95e-db8ca742f70f::urn:schemas-upnp-org:service:RenderingControl:1
foo_upnp: FINEST: header - Cache-Control: max-age=1800
foo_upnp: FINEST: header - Server: Microsoft-Windows-NT/5.1 UPnP/1.0 UPnP-Device-Host/1.0
foo_upnp: FINEST: header - OPT: "http://schemas.upnp.org/upnp/1/0/"; ns=01
foo_upnp: FINEST: header 01-NLS: 8a246981d23235e0292a0140c79b3130
foo_upnp: FINEST: http request: NOTIFY * HTTP/1.1
foo_upnp: FINEST: header - Host: 239.255.255.250:1900
foo_upnp: FINEST: header - NT: urn:schemas-upnp-org:device:MediaRenderer:1
foo_upnp: FINEST: header - NTS: ssdp:alive
foo_upnp: FINEST: header - Location: http://127.0.0.1:2869/upnphost/udhisapi.dl...5e-db8ca742f70f (http://127.0.0.1:2869/upnphost/udhisapi.dll?content=uuid:bcfae34c-8c35-4297-b95e-db8ca742f70f)
foo_upnp: FINEST: header - USN: uuid:bcfae34c-8c35-4297-b95e-db8ca742f70f::urn:schemas-upnp-org:device:MediaRenderer:1
foo_upnp: FINEST: header - Cache-Control: max-age=1800
foo_upnp: FINEST: header - Server: Microsoft-Windows-NT/5.1 UPnP/1.0 UPnP-Device-Host/1.0
foo_upnp: FINEST: header - OPT: "http://schemas.upnp.org/upnp/1/0/"; ns=01
foo_upnp: FINEST: header 01-NLS: 8a246981d23235e0292a0140c79b3130
foo_upnp: FINEST: http request: NOTIFY * HTTP/1.1
foo_upnp: FINEST: header - Host: 239.255.255.250:1900
foo_upnp: FINEST: header - NT: uuid:bcfae34c-8c35-4297-b95e-db8ca742f70f
foo_upnp: FINEST: header - NTS: ssdp:alive
foo_upnp: FINEST: header - Location: http://127.0.0.1:2869/upnphost/udhisapi.dl...5e-db8ca742f70f (http://127.0.0.1:2869/upnphost/udhisapi.dll?content=uuid:bcfae34c-8c35-4297-b95e-db8ca742f70f)
foo_upnp: FINEST: header - USN: uuid:bcfae34c-8c35-4297-b95e-db8ca742f70f
foo_upnp: FINEST: header - Cache-Control: max-age=1800
foo_upnp: FINEST: header - Server: Microsoft-Windows-NT/5.1 UPnP/1.0 UPnP-Device-Host/1.0
foo_upnp: FINEST: header - OPT: "http://schemas.upnp.org/upnp/1/0/"; ns=01
foo_upnp: FINEST: header 01-NLS: 8a246981d23235e0292a0140c79b3130
foo_upnp: FINEST: http request: M-SEARCH * HTTP/1.1
foo_upnp: FINEST: header - Host: 239.255.255.250:1900
foo_upnp: FINEST: header - ST: urn:schemas-upnp-org:service:ContentDirectory:1
foo_upnp: FINEST: header - Man: "ssdp:discover"
foo_upnp: FINEST: header MX: 3
foo_upnp: FINE: creating thread
foo_upnp: FINE: thread in =======================
foo_upnp: FINEST: http request: NOTIFY * HTTP/1.1
foo_upnp: FINEST: header - Host: 239.255.255.250:1900
foo_upnp: FINEST: header - NT: urn:schemas-upnp-org:service:RenderingControl:1
foo_upnp: FINEST: header - NTS: ssdp:alive
foo_upnp: FINEST: header - Location: http://127.0.0.1:2869/upnphost/udhisapi.dl...5e-db8ca742f70f (http://127.0.0.1:2869/upnphost/udhisapi.dll?content=uuid:bcfae34c-8c35-4297-b95e-db8ca742f70f)
foo_upnp: FINEST: header - USN: uuid:bcfae34c-8c35-4297-b95e-db8ca742f70f::urn:schemas-upnp-org:service:RenderingControl:1
foo_upnp: FINEST: header - Cache-Control: max-age=1800
foo_upnp: FINEST: header - Server: Microsoft-Windows-NT/5.1 UPnP/1.0 UPnP-Device-Host/1.0
foo_upnp: FINEST: header - OPT: "http://schemas.upnp.org/upnp/1/0/"; ns=01
foo_upnp: FINEST: header 01-NLS: 8a246981d23235e0292a0140c79b3130
foo_upnp: FINEST: http request: NOTIFY * HTTP/1.1
foo_upnp: FINEST: header - Host: 239.255.255.250:1900
foo_upnp: FINEST: header - NT: uuid:bcfae34c-8c35-4297-b95e-db8ca742f70f
foo_upnp: FINEST: header - NTS: ssdp:alive
foo_upnp: FINEST: header - Location: http://127.0.0.1:2869/upnphost/udhisapi.dl...5e-db8ca742f70f (http://127.0.0.1:2869/upnphost/udhisapi.dll?content=uuid:bcfae34c-8c35-4297-b95e-db8ca742f70f)
foo_upnp: FINEST: header - USN: uuid:bcfae34c-8c35-4297-b95e-db8ca742f70f
foo_upnp: FINEST: header - Cache-Control: max-age=1800
foo_upnp: FINEST: header - Server: Microsoft-Windows-NT/5.1 UPnP/1.0 UPnP-Device-Host/1.0
foo_upnp: FINEST: header - OPT: "http://schemas.upnp.org/upnp/1/0/"; ns=01
foo_upnp: FINEST: header 01-NLS: 8a246981d23235e0292a0140c79b3130
foo_upnp: FINEST: http request: NOTIFY * HTTP/1.1
foo_upnp: FINEST: header - Host: 239.255.255.250:1900
foo_upnp: FINEST: header - NT: upnp:rootdevice
foo_upnp: FINEST: header - NTS: ssdp:alive
foo_upnp: FINEST: header - Location: http://127.0.0.1:2869/upnphost/udhisapi.dl...5e-db8ca742f70f (http://127.0.0.1:2869/upnphost/udhisapi.dll?content=uuid:bcfae34c-8c35-4297-b95e-db8ca742f70f)
foo_upnp: FINEST: header - USN: uuid:bcfae34c-8c35-4297-b95e-db8ca742f70f::upnp:rootdevice
foo_upnp: FINEST: header - Cache-Control: max-age=1800
foo_upnp: FINEST: header - Server: Microsoft-Windows-NT/5.1 UPnP/1.0 UPnP-Device-Host/1.0
foo_upnp: FINEST: header - OPT: "http://schemas.upnp.org/upnp/1/0/"; ns=01
foo_upnp: FINEST: header 01-NLS: 8a246981d23235e0292a0140c79b3130
foo_upnp: FINEST: http request: NOTIFY * HTTP/1.1
foo_upnp: FINEST: header - Host: 239.255.255.250:1900
foo_upnp: FINEST: header - NT: urn:schemas-upnp-org:device:MediaRenderer:1
foo_upnp: FINEST: header - NTS: ssdp:alive
foo_upnp: FINEST: header - Location: http://127.0.0.1:2869/upnphost/udhisapi.dl...5e-db8ca742f70f (http://127.0.0.1:2869/upnphost/udhisapi.dll?content=uuid:bcfae34c-8c35-4297-b95e-db8ca742f70f)
foo_upnp: FINEST: header - USN: uuid:bcfae34c-8c35-4297-b95e-db8ca742f70f::urn:schemas-upnp-org:device:MediaRenderer:1
foo_upnp: FINEST: header - Cache-Control: max-age=1800
foo_upnp: FINEST: header - Server: Microsoft-Windows-NT/5.1 UPnP/1.0 UPnP-Device-Host/1.0
foo_upnp: FINEST: header - OPT: "http://schemas.upnp.org/upnp/1/0/"; ns=01
foo_upnp: FINEST: header 01-NLS: 8a246981d23235e0292a0140c79b3130
foo_upnp: FINEST: http request: M-SEARCH * HTTP/1.1
foo_upnp: FINEST: header - Host: 239.255.255.250:1900
foo_upnp: FINEST: header - ST: urn:schemas-upnp-org:service:ContentDirectory:1
foo_upnp: FINEST: header - Man: "ssdp:discover"
foo_upnp: FINEST: header MX: 3
foo_upnp: FINE: creating thread
foo_upnp: FINE: thread in =======================
foo_upnp: FINEST: http request: NOTIFY * HTTP/1.1
foo_upnp: FINEST: header - Host: 239.255.255.250:1900
foo_upnp: FINEST: header - NT: upnp:rootdevice
foo_upnp: FINEST: header - NTS: ssdp:byebye
foo_upnp: FINEST: header - Location: http://127.0.0.1:2869/upnphost/udhisapi.dl...5e-db8ca742f70f (http://127.0.0.1:2869/upnphost/udhisapi.dll?content=uuid:bcfae34c-8c35-4297-b95e-db8ca742f70f)
foo_upnp: FINEST: header - USN: uuid:bcfae34c-8c35-4297-b95e-db8ca742f70f::upnp:rootdevice
foo_upnp: FINEST: header - Cache-Control: max-age=1800
foo_upnp: FINEST: header - Server: Microsoft-Windows-NT/5.1 UPnP/1.0 UPnP-Device-Host/1.0
foo_upnp: FINEST: header - OPT: "http://schemas.upnp.org/upnp/1/0/"; ns=01
foo_upnp: FINEST: header 01-NLS: 8a246981d23235e0292a0140c79b3130
foo_upnp: FINEST: http request: NOTIFY * HTTP/1.1
foo_upnp: FINEST: header - Host: 239.255.255.250:1900
foo_upnp: FINEST: header - NT: uuid:bcfae34c-8c35-4297-b95e-db8ca742f70f
foo_upnp: FINEST: header - NTS: ssdp:byebye
foo_upnp: FINEST: header - Location: http://127.0.0.1:2869/upnphost/udhisapi.dl...5e-db8ca742f70f (http://127.0.0.1:2869/upnphost/udhisapi.dll?content=uuid:bcfae34c-8c35-4297-b95e-db8ca742f70f)
foo_upnp: FINEST: header - USN: uuid:bcfae34c-8c35-4297-b95e-db8ca742f70f
foo_upnp: FINEST: header - Cache-Control: max-age=1800
foo_upnp: FINEST: header - Server: Microsoft-Windows-NT/5.1 UPnP/1.0 UPnP-Device-Host/1.0
foo_upnp: FINEST: header - OPT: "http://schemas.upnp.org/upnp/1/0/"; ns=01
foo_upnp: FINEST: header 01-NLS: 8a246981d23235e0292a0140c79b3130
foo_upnp: FINEST: http request: NOTIFY * HTTP/1.1
foo_upnp: FINEST: header - Host: 239.255.255.250:1900
foo_upnp: FINEST: header - NT: urn:schemas-upnp-org:device:MediaRenderer:1
foo_upnp: FINEST: header - NTS: ssdp:byebye
foo_upnp: FINEST: header - Location: http://127.0.0.1:2869/upnphost/udhisapi.dl...5e-db8ca742f70f (http://127.0.0.1:2869/upnphost/udhisapi.dll?content=uuid:bcfae34c-8c35-4297-b95e-db8ca742f70f)
foo_upnp: FINEST: header - USN: uuid:bcfae34c-8c35-4297-b95e-db8ca742f70f::urn:schemas-upnp-org:device:MediaRenderer:1
foo_upnp: FINEST: header - Cache-Control: max-age=1800
foo_upnp: FINEST: header - Server: Microsoft-Windows-NT/5.1 UPnP/1.0 UPnP-Device-Host/1.0
foo_upnp: FINEST: header - OPT: "http://schemas.upnp.org/upnp/1/0/"; ns=01
foo_upnp: FINEST: header 01-NLS: 8a246981d23235e0292a0140c79b3130
foo_upnp: FINEST: http request: NOTIFY * HTTP/1.1
foo_upnp: FINEST: header - Host: 239.255.255.250:1900
foo_upnp: FINEST: header - NT: urn:schemas-upnp-org:service:RenderingControl:1
foo_upnp: FINEST: header - NTS: ssdp:byebye
foo_upnp: FINEST: header - Location: http://127.0.0.1:2869/upnphost/udhisapi.dl...5e-db8ca742f70f (http://127.0.0.1:2869/upnphost/udhisapi.dll?content=uuid:bcfae34c-8c35-4297-b95e-db8ca742f70f)
foo_upnp: FINEST: header - USN: uuid:bcfae34c-8c35-4297-b95e-db8ca742f70f::urn:schemas-upnp-org:service:RenderingControl:1
foo_upnp: FINEST: header - Cache-Control: max-age=1800
foo_upnp: FINEST: header - Server: Microsoft-Windows-NT/5.1 UPnP/1.0 UPnP-Device-Host/1.0
foo_upnp: FINEST: header - OPT: "http://schemas.upnp.org/upnp/1/0/"; ns=01
foo_upnp: FINEST: header 01-NLS: 8a246981d23235e0292a0140c79b3130
foo_upnp: FINEST: http request: NOTIFY * HTTP/1.1
foo_upnp: FINEST: header - Host: 239.255.255.250:1900
foo_upnp: FINEST: header - NT: upnp:rootdevice
foo_upnp: FINEST: header - NTS: ssdp:alive
foo_upnp: FINEST: header - Location: http://127.0.0.1:2869/upnphost/udhisapi.dl...5e-db8ca742f70f (http://127.0.0.1:2869/upnphost/udhisapi.dll?content=uuid:bcfae34c-8c35-4297-b95e-db8ca742f70f)
foo_upnp: FINEST: header - USN: uuid:bcfae34c-8c35-4297-b95e-db8ca742f70f::upnp:rootdevice
foo_upnp: FINEST: header - Cache-Control: max-age=1800
foo_upnp: FINEST: header - Server: Microsoft-Windows-NT/5.1 UPnP/1.0 UPnP-Device-Host/1.0
foo_upnp: FINEST: header - OPT: "http://schemas.upnp.org/upnp/1/0/"; ns=01
foo_upnp: FINEST: header 01-NLS: 8a246981d23235e0292a0140c79b3130
foo_upnp: FINE: creating thread
foo_upnp: FINEST: http request: NOTIFY * HTTP/1.1
foo_upnp: FINEST: header - Host: 239.255.255.250:1900
foo_upnp: FINEST: header - NT: uuid:bcfae34c-8c35-4297-b95e-db8ca742f70f
foo_upnp: FINEST: header - NTS: ssdp:alive
foo_upnp: FINEST: header - Location: http://127.0.0.1:2869/upnphost/udhisapi.dl...5e-db8ca742f70f (http://127.0.0.1:2869/upnphost/udhisapi.dll?content=uuid:bcfae34c-8c35-4297-b95e-db8ca742f70f)
foo_upnp: FINEST: header - USN: uuid:bcfae34c-8c35-4297-b95e-db8ca742f70f
foo_upnp: FINEST: header - Cache-Control: max-age=1800
foo_upnp: FINEST: header - Server: Microsoft-Windows-NT/5.1 UPnP/1.0 UPnP-Device-Host/1.0
foo_upnp: FINEST: header - OPT: "http://schemas.upnp.org/upnp/1/0/"; ns=01
foo_upnp: FINEST: header 01-NLS: 8a246981d23235e0292a0140c79b3130
foo_upnp: FINEST: http request: NOTIFY * HTTP/1.1
foo_upnp: FINEST: header - Host: 239.255.255.250:1900
foo_upnp: FINEST: header - NT: urn:schemas-upnp-org:device:MediaRenderer:1
foo_upnp: FINEST: header - NTS: ssdp:alive
foo_upnp: FINEST: header - Location: http://127.0.0.1:2869/upnphost/udhisapi.dl...5e-db8ca742f70f (http://127.0.0.1:2869/upnphost/udhisapi.dll?content=uuid:bcfae34c-8c35-4297-b95e-db8ca742f70f)
foo_upnp: FINEST: header - USN: uuid:bcfae34c-8c35-4297-b95e-db8ca742f70f::urn:schemas-upnp-org:device:MediaRenderer:1
foo_upnp: FINEST: header - Cache-Control: max-age=1800
foo_upnp: FINEST: header - Server: Microsoft-Windows-NT/5.1 UPnP/1.0 UPnP-Device-Host/1.0
foo_upnp: FINEST: header - OPT: "http://schemas.upnp.org/upnp/1/0/"; ns=01
foo_upnp: FINEST: header 01-NLS: 8a246981d23235e0292a0140c79b3130
foo_upnp: FINEST: http request: NOTIFY * HTTP/1.1
foo_upnp: FINEST: header - Host: 239.255.255.250:1900
foo_upnp: FINEST: header - NT: urn:schemas-upnp-org:service:RenderingControl:1
foo_upnp: FINEST: header - NTS: ssdp:alive
foo_upnp: FINEST: header - Location: http://127.0.0.1:2869/upnphost/udhisapi.dl...5e-db8ca742f70f (http://127.0.0.1:2869/upnphost/udhisapi.dll?content=uuid:bcfae34c-8c35-4297-b95e-db8ca742f70f)
foo_upnp: FINEST: header - USN: uuid:bcfae34c-8c35-4297-b95e-db8ca742f70f::urn:schemas-upnp-org:service:RenderingControl:1
foo_upnp: FINEST: header - Cache-Control: max-age=1800
foo_upnp: FINEST: header - Server: Microsoft-Windows-NT/5.1 UPnP/1.0 UPnP-Device-Host/1.0
foo_upnp: FINEST: header - OPT: "http://schemas.upnp.org/upnp/1/0/"; ns=01
foo_upnp: FINEST: header 01-NLS: 8a246981d23235e0292a0140c79b3130
foo_upnp: FINE: thread in =======================
foo_upnp: FINEST: http request: M-SEARCH * HTTP/1.1
foo_upnp: FINEST: header - Host: 239.255.255.250:1900
foo_upnp: FINEST: header - ST: urn:schemas-upnp-org:service:ContentDirectory:1
foo_upnp: FINEST: header - Man: "ssdp:discover"
foo_upnp: FINEST: header MX: 3
foo_upnp: FINE: creating thread
foo_upnp: FINE: thread in =======================
foo_upnp: FINE: requesting URL http://127.0.0.1:2869/upnphost/udhisapi.dl...5e-db8ca742f70f (http://127.0.0.1:2869/upnphost/udhisapi.dll?content=uuid:bcfae34c-8c35-4297-b95e-db8ca742f70f)
foo_upnp: FINE: connecting to 127.0.0.1:2869
foo_upnp: FINEST: header User-Agent: Platinum/0.5.1, DLNADOC/1.50 / foobar2000
foo_upnp: FINEST: header Host: 127.0.0.1:2869
foo_upnp: FINEST: header - Content-Length: 2389
foo_upnp: FINEST: header - Content-Type: text/xml; charset="utf-8"
foo_upnp: FINEST: header - Server: Microsoft-Windows-NT/5.1 UPnP/1.0 UPnP-Device-Host/1.0 Microsoft-HTTPAPI/2.0
foo_upnp: FINEST: header Date: Sun, 23 Aug 2009 23:02:50 GMT
foo_upnp: FINE: got response, code=200, msg=OK
foo_upnp: FINE: creating thread
foo_upnp: FINE: thread in =======================
foo_upnp: FINE: requesting URL http://127.0.0.1:2869/upnphost/udhisapi.dl...88-9e7cade4633c (http://127.0.0.1:2869/upnphost/udhisapi.dll?content=uuid:9d57174b-cc5d-4ee3-8188-9e7cade4633c)
foo_upnp: FINE: connecting to 127.0.0.1:2869
foo_upnp: FINEST: header User-Agent: Platinum/0.5.1, DLNADOC/1.50 / foobar2000
foo_upnp: FINEST: header Host: 127.0.0.1:2869
foo_upnp: FINEST: header - Content-Length: 6363
foo_upnp: FINEST: header - Content-Type: text/xml; charset="utf-8"
foo_upnp: FINEST: header - Server: Microsoft-Windows-NT/5.1 UPnP/1.0 UPnP-Device-Host/1.0 Microsoft-HTTPAPI/2.0
foo_upnp: FINEST: header Date: Sun, 23 Aug 2009 23:02:50 GMT
foo_upnp: FINE: got response, code=200, msg=OK
foo_upnp: FINEST: http request: NOTIFY * HTTP/1.1
foo_upnp: FINEST: header - Host: 239.255.255.250:1900
foo_upnp: FINEST: header - NT: upnp:rootdevice
foo_upnp: FINEST: header - NTS: ssdp:alive
foo_upnp: FINEST: header - Location: http://127.0.0.1:2869/upnphost/udhisapi.dl...5e-db8ca742f70f (http://127.0.0.1:2869/upnphost/udhisapi.dll?content=uuid:bcfae34c-8c35-4297-b95e-db8ca742f70f)
foo_upnp: FINEST: header - USN: uuid:bcfae34c-8c35-4297-b95e-db8ca742f70f::upnp:rootdevice
foo_upnp: FINEST: header - Cache-Control: max-age=1800
foo_upnp: FINEST: header - Server: Microsoft-Windows-NT/5.1 UPnP/1.0 UPnP-Device-Host/1.0
foo_upnp: FINEST: header - OPT: "http://schemas.upnp.org/upnp/1/0/"; ns=01
foo_upnp: FINEST: header 01-NLS: 8a246981d23235e0292a0140c79b3130
foo_upnp: FINEST: http request: NOTIFY * HTTP/1.1
foo_upnp: FINEST: header - Host: 239.255.255.250:1900
foo_upnp: FINEST: header - NT: urn:schemas-upnp-org:service:RenderingControl:1
foo_upnp: FINEST: header - NTS: ssdp:alive
foo_upnp: FINEST: header - Location: http://127.0.0.1:2869/upnphost/udhisapi.dl...5e-db8ca742f70f (http://127.0.0.1:2869/upnphost/udhisapi.dll?content=uuid:bcfae34c-8c35-4297-b95e-db8ca742f70f)
foo_upnp: FINEST: header - USN: uuid:bcfae34c-8c35-4297-b95e-db8ca742f70f::urn:schemas-upnp-org:service:RenderingControl:1
foo_upnp: FINEST: header - Cache-Control: max-age=1800
foo_upnp: FINEST: header - Server: Microsoft-Windows-NT/5.1 UPnP/1.0 UPnP-Device-Host/1.0
foo_upnp: FINEST: header - OPT: "http://schemas.upnp.org/upnp/1/0/"; ns=01
foo_upnp: FINEST: header 01-NLS: 8a246981d23235e0292a0140c79b3130
foo_upnp: FINEST: http request: NOTIFY * HTTP/1.1
foo_upnp: FINEST: header - Host: 239.255.255.250:1900
foo_upnp: FINEST: header - NT: urn:schemas-upnp-org:device:MediaRenderer:1
foo_upnp: FINEST: header - NTS: ssdp:alive
foo_upnp: FINEST: header - Location: http://127.0.0.1:2869/upnphost/udhisapi.dl...5e-db8ca742f70f (http://127.0.0.1:2869/upnphost/udhisapi.dll?content=uuid:bcfae34c-8c35-4297-b95e-db8ca742f70f)
foo_upnp: FINEST: header - USN: uuid:bcfae34c-8c35-4297-b95e-db8ca742f70f::urn:schemas-upnp-org:device:MediaRenderer:1
foo_upnp: FINEST: header - Cache-Control: max-age=1800
foo_upnp: FINEST: header - Server: Microsoft-Windows-NT/5.1 UPnP/1.0 UPnP-Device-Host/1.0
foo_upnp: FINEST: header - OPT: "http://schemas.upnp.org/upnp/1/0/"; ns=01
foo_upnp: FINEST: header 01-NLS: 8a246981d23235e0292a0140c79b3130
foo_upnp: FINEST: http request: NOTIFY * HTTP/1.1
foo_upnp: FINEST: header - Host: 239.255.255.250:1900
foo_upnp: FINEST: header - NT: uuid:bcfae34c-8c35-4297-b95e-db8ca742f70f
foo_upnp: FINEST: header - NTS: ssdp:alive
foo_upnp: FINEST: header - Location: http://127.0.0.1:2869/upnphost/udhisapi.dl...5e-db8ca742f70f (http://127.0.0.1:2869/upnphost/udhisapi.dll?content=uuid:bcfae34c-8c35-4297-b95e-db8ca742f70f)
foo_upnp: FINEST: header - USN: uuid:bcfae34c-8c35-4297-b95e-db8ca742f70f
foo_upnp: FINEST: header - Cache-Control: max-age=1800
foo_upnp: FINEST: header - Server: Microsoft-Windows-NT/5.1 UPnP/1.0 UPnP-Device-Host/1.0
foo_upnp: FINEST: header - OPT: "http://schemas.upnp.org/upnp/1/0/"; ns=01
foo_upnp: FINEST: header 01-NLS: 8a246981d23235e0292a0140c79b3130
foo_upnp: FINEST: http request: M-SEARCH * HTTP/1.1
foo_upnp: FINEST: header - Host: 239.255.255.250:1900
foo_upnp: FINEST: header - ST: urn:schemas-upnp-org:service:ContentDirectory:1
foo_upnp: FINEST: header - Man: "ssdp:discover"
foo_upnp: FINEST: header MX: 3
foo_upnp: FINE: creating thread
foo_upnp: FINE: thread in =======================
foo_upnp: FINEST: http request: NOTIFY * HTTP/1.1
foo_upnp: FINEST: header - Host: 239.255.255.250:1900
foo_upnp: FINEST: header - NT: upnp:rootdevice
foo_upnp: FINEST: header - NTS: ssdp:alive
foo_upnp: FINEST: header - Location: http://127.0.0.1:2869/upnphost/udhisapi.dl...5e-db8ca742f70f (http://127.0.0.1:2869/upnphost/udhisapi.dll?content=uuid:bcfae34c-8c35-4297-b95e-db8ca742f70f)
foo_upnp: FINEST: header - USN: uuid:bcfae34c-8c35-4297-b95e-db8ca742f70f::upnp:rootdevice
foo_upnp: FINEST: header - Cache-Control: max-age=1800
foo_upnp: FINEST: header - Server: Microsoft-Windows-NT/5.1 UPnP/1.0 UPnP-Device-Host/1.0
foo_upnp: FINEST: header - OPT: "http://schemas.upnp.org/upnp/1/0/"; ns=01
foo_upnp: FINEST: header 01-NLS: 8a246981d23235e0292a0140c79b3130
foo_upnp: FINEST: http request: NOTIFY * HTTP/1.1
foo_upnp: FINEST: header - Host: 239.255.255.250:1900
foo_upnp: FINEST: header - NT: urn:schemas-upnp-org:device:MediaRenderer:1
foo_upnp: FINEST: header - NTS: ssdp:alive
foo_upnp: FINEST: header - Location: http://127.0.0.1:2869/upnphost/udhisapi.dl...5e-db8ca742f70f (http://127.0.0.1:2869/upnphost/udhisapi.dll?content=uuid:bcfae34c-8c35-4297-b95e-db8ca742f70f)
foo_upnp: FINEST: header - USN: uuid:bcfae34c-8c35-4297-b95e-db8ca742f70f::urn:schemas-upnp-org:device:MediaRenderer:1
foo_upnp: FINEST: header - Cache-Control: max-age=1800
foo_upnp: FINEST: header - Server: Microsoft-Windows-NT/5.1 UPnP/1.0 UPnP-Device-Host/1.0
foo_upnp: FINEST: header - OPT: "http://schemas.upnp.org/upnp/1/0/"; ns=01
foo_upnp: FINEST: header 01-NLS: 8a246981d23235e0292a0140c79b3130
foo_upnp: FINEST: http request: NOTIFY * HTTP/1.1
foo_upnp: FINEST: header - Host: 239.255.255.250:1900
foo_upnp: FINEST: header - NT: urn:schemas-upnp-org:service:RenderingControl:1
foo_upnp: FINEST: header - NTS: ssdp:alive
foo_upnp: FINEST: header - Location: http://127.0.0.1:2869/upnphost/udhisapi.dl...5e-db8ca742f70f (http://127.0.0.1:2869/upnphost/udhisapi.dll?content=uuid:bcfae34c-8c35-4297-b95e-db8ca742f70f)
foo_upnp: FINEST: header - USN: uuid:bcfae34c-8c35-4297-b95e-db8ca742f70f::urn:schemas-upnp-org:service:RenderingControl:1
foo_upnp: FINEST: header - Cache-Control: max-age=1800
foo_upnp: FINEST: header - Server: Microsoft-Windows-NT/5.1 UPnP/1.0 UPnP-Device-Host/1.0
foo_upnp: FINEST: header - OPT: "http://schemas.upnp.org/upnp/1/0/"; ns=01
foo_upnp: FINEST: header 01-NLS: 8a246981d23235e0292a0140c79b3130
foo_upnp: FINEST: http request: NOTIFY * HTTP/1.1
foo_upnp: FINEST: header - Host: 239.255.255.250:1900
foo_upnp: FINEST: header - NT: uuid:bcfae34c-8c35-4297-b95e-db8ca742f70f
foo_upnp: FINEST: header - NTS: ssdp:alive
foo_upnp: FINEST: header - Location: http://127.0.0.1:2869/upnphost/udhisapi.dl...5e-db8ca742f70f (http://127.0.0.1:2869/upnphost/udhisapi.dll?content=uuid:bcfae34c-8c35-4297-b95e-db8ca742f70f)
foo_upnp: FINEST: header - USN: uuid:bcfae34c-8c35-4297-b95e-db8ca742f70f
foo_upnp: FINEST: header - Cache-Control: max-age=1800
foo_upnp: FINEST: header - Server: Microsoft-Windows-NT/5.1 UPnP/1.0 UPnP-Device-Host/1.0
foo_upnp: FINEST: header - OPT: "http://schemas.upnp.org/upnp/1/0/"; ns=01
foo_upnp: FINEST: header 01-NLS: 8a246981d23235e0292a0140c79b3130
foo_upnp: FINEST: http request: M-SEARCH * HTTP/1.1
foo_upnp: FINEST: header - Host: 239.255.255.250:1900
foo_upnp: FINEST: header - ST: urn:schemas-upnp-org:service:ContentDirectory:1
foo_upnp: FINEST: header - Man: "ssdp:discover"
foo_upnp: FINEST: header MX: 3
foo_upnp: FINE: creating thread
foo_upnp: FINE: thread in =======================
foo_upnp: FINEST: header MX: 5
foo_upnp: FINEST: header ST: ssdp:all
foo_upnp: FINEST: header MAN: "ssdp:discover"
foo_upnp: FINEST: header User-Agent: Platinum/0.5.1, DLNADOC/1.50 / foobar2000
foo_upnp: FINEST: header Host: 239.255.255.250:1900
foo_upnp: FINEST: header MX: 5
foo_upnp: FINEST: header ST: ssdp:all
foo_upnp: FINEST: header MAN: "ssdp:discover"
foo_upnp: FINEST: http request: M-SEARCH * HTTP/1.1
foo_upnp: FINEST: header - MX: 5
foo_upnp: FINEST: header - ST: ssdp:all
foo_upnp: FINEST: header - MAN: "ssdp:discover"
foo_upnp: FINEST: header - User-Agent: Platinum/0.5.1, DLNADOC/1.50 / foobar2000
foo_upnp: FINEST: header Host: 239.255.255.250:1900
foo_upnp: FINE: creating thread
foo_upnp: FINEST: header User-Agent: Platinum/0.5.1, DLNADOC/1.50 / foobar2000
foo_upnp: FINEST: header Host: 239.255.255.250:1900
foo_upnp: FINEST: http request: M-SEARCH * HTTP/1.1
foo_upnp: FINEST: header - MX: 5
foo_upnp: FINEST: header - ST: ssdp:all
foo_upnp: FINEST: header - MAN: "ssdp:discover"
foo_upnp: FINEST: header - User-Agent: Platinum/0.5.1, DLNADOC/1.50 / foobar2000
foo_upnp: FINEST: header Host: 239.255.255.250:1900
foo_upnp: FINE: creating thread
foo_upnp: FINE: thread in =======================
foo_upnp: FINE: thread in =======================
foo_upnp: FINEST: header MX: 5
foo_upnp: FINEST: header MX: 5
foo_upnp: FINEST: header ST: upnp:rootdevice
foo_upnp: FINEST: header MX: 5
foo_upnp: FINEST: header MX: 5
foo_upnp: FINEST: header ST: upnp:rootdevice
foo_upnp: FINEST: header MAN: "ssdp:discover"
foo_upnp: FINEST: header ST: upnp:rootdevice
foo_upnp: FINEST: header ST: upnp:rootdevice
foo_upnp: FINEST: header MAN: "ssdp:discover"
foo_upnp: FINEST: header User-Agent: Platinum/0.5.1, DLNADOC/1.50 / foobar2000
foo_upnp: FINEST: header MAN: "ssdp:discover"
foo_upnp: FINEST: header MAN: "ssdp:discover"
foo_upnp: FINEST: header User-Agent: Platinum/0.5.1, DLNADOC/1.50 / foobar2000
foo_upnp: FINEST: header Host: 239.255.255.250:1900
foo_upnp: FINEST: header User-Agent: Platinum/0.5.1, DLNADOC/1.50 / foobar2000
foo_upnp: FINEST: header User-Agent: Platinum/0.5.1, DLNADOC/1.50 / foobar2000
foo_upnp: FINEST: header Host: 239.255.255.250:1900
foo_upnp: FINEST: header MX: 5
foo_upnp: FINEST: header Host: 239.255.255.250:1900
foo_upnp: FINEST: header Host: 239.255.255.250:1900
foo_upnp: FINEST: header MX: 5
foo_upnp: FINEST: header ST: upnp:rootdevice
foo_upnp: FINEST: header MX: 5
foo_upnp: FINEST: header MX: 5
foo_upnp: FINEST: header ST: upnp:rootdevice
foo_upnp: FINEST: header MAN: "ssdp:discover"
foo_upnp: FINEST: header ST: upnp:rootdevice
foo_upnp: FINEST: header ST: upnp:rootdevice
foo_upnp: FINEST: header MAN: "ssdp:discover"
foo_upnp: FINEST: header User-Agent: Platinum/0.5.1, DLNADOC/1.50 / foobar2000
foo_upnp: FINEST: header MAN: "ssdp:discover"
foo_upnp: FINEST: header MAN: "ssdp:discover"
foo_upnp: FINEST: header User-Agent: Platinum/0.5.1, DLNADOC/1.50 / foobar2000
foo_upnp: FINEST: header Host: 239.255.255.250:1900
foo_upnp: FINEST: header User-Agent: Platinum/0.5.1, DLNADOC/1.50 / foobar2000
foo_upnp: FINEST: header User-Agent: Platinum/0.5.1, DLNADOC/1.50 / foobar2000
foo_upnp: FINEST: header Host: 239.255.255.250:1900
foo_upnp: FINEST: header Host: 239.255.255.250:1900
foo_upnp: FINEST: header Host: 239.255.255.250:1900
foo_upnp: FINEST: header MX: 5
foo_upnp: FINEST: header MX: 5
foo_upnp: FINEST: header MX: 5
foo_upnp: FINEST: header ST: upnp:rootdevice
foo_upnp: FINEST: header ST: upnp:rootdevice
foo_upnp: FINEST: header ST: upnp:rootdevice
foo_upnp: FINEST: header MAN: "ssdp:discover"
foo_upnp: FINEST: header MAN: "ssdp:discover"
foo_upnp: FINEST: header MAN: "ssdp:discover"
foo_upnp: FINEST: header User-Agent: Platinum/0.5.1, DLNADOC/1.50 / foobar2000
foo_upnp: FINEST: header User-Agent: Platinum/0.5.1, DLNADOC/1.50 / foobar2000
foo_upnp: FINEST: header User-Agent: Platinum/0.5.1, DLNADOC/1.50 / foobar2000
foo_upnp: FINEST: header Host: 239.255.255.250:1900
foo_upnp: FINEST: header Host: 239.255.255.250:1900
foo_upnp: FINEST: header Host: 239.255.255.250:1900
foo_upnp: FINEST: header MX: 5
foo_upnp: FINEST: header MX: 5
foo_upnp: FINEST: header MX: 5
foo_upnp: FINEST: header ST: upnp:rootdevice
foo_upnp: FINEST: header ST: upnp:rootdevice
foo_upnp: FINEST: header ST: upnp:rootdevice
foo_upnp: FINEST: header MAN: "ssdp:discover"
foo_upnp: FINEST: header MAN: "ssdp:discover"
foo_upnp: FINEST: header MAN: "ssdp:discover"
foo_upnp: FINEST: header User-Agent: Platinum/0.5.1, DLNADOC/1.50 / foobar2000
foo_upnp: FINEST: header User-Agent: Platinum/0.5.1, DLNADOC/1.50 / foobar2000
foo_upnp: FINEST: header User-Agent: Platinum/0.5.1, DLNADOC/1.50 / foobar2000
foo_upnp: FINEST: header Host: 239.255.255.250:1900
foo_upnp: FINEST: header Host: 239.255.255.250:1900
foo_upnp: FINEST: header Host: 239.255.255.250:1900
foo_upnp: FINEST: header MX: 1
foo_upnp: FINEST: header ST: upnp:rootdevice
foo_upnp: FINEST: header MAN: "ssdp:discover"
foo_upnp: FINEST: header User-Agent: Platinum/0.5.1, DLNADOC/1.50 / foobar2000
foo_upnp: FINEST: header Host: 239.255.255.250:1900
foo_upnp: FINEST: header MX: 1
foo_upnp: FINEST: header ST: upnp:rootdevice
foo_upnp: FINEST: header MAN: "ssdp:discover"
foo_upnp: FINEST: http request: M-SEARCH * HTTP/1.1
foo_upnp: FINEST: header - MX: 1
foo_upnp: FINEST: header - ST: upnp:rootdevice
foo_upnp: FINEST: header - MAN: "ssdp:discover"
foo_upnp: FINEST: header - User-Agent: Platinum/0.5.1, DLNADOC/1.50 / foobar2000
foo_upnp: FINEST: header Host: 239.255.255.250:1900
foo_upnp: FINE: creating thread
foo_upnp: FINEST: header User-Agent: Platinum/0.5.1, DLNADOC/1.50 / foobar2000
foo_upnp: FINEST: header Host: 239.255.255.250:1900
foo_upnp: FINEST: http request: M-SEARCH * HTTP/1.1
foo_upnp: FINEST: header - MX: 1
foo_upnp: FINEST: header - ST: upnp:rootdevice
foo_upnp: FINEST: header - MAN: "ssdp:discover"
foo_upnp: FINEST: header - User-Agent: Platinum/0.5.1, DLNADOC/1.50 / foobar2000
foo_upnp: FINEST: header Host: 239.255.255.250:1900
foo_upnp: FINE: creating thread
foo_upnp: FINE: thread in =======================
foo_upnp: FINEST: header LOCATION: http://192.168.137.1:56923/DeviceDescription.xml (http://192.168.137.1:56923/DeviceDescription.xml)
foo_upnp: FINE: thread in =======================
foo_upnp: FINEST: header CACHE-CONTROL: max-age=1800
foo_upnp: FINEST: header Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.1
foo_upnp: FINEST: header EXT:
foo_upnp: FINEST: header USN: uuid:aa893036-41c6-ccfe-e652-b00c6203f506::upnp:rootdevice
foo_upnp: FINEST: header LOCATION: http://192.168.137.1:56923/DeviceDescription.xml (http://192.168.137.1:56923/DeviceDescription.xml)
foo_upnp: FINEST: header ST: upnp:rootdevice
foo_upnp: FINEST: header CACHE-CONTROL: max-age=1800
foo_upnp: FINEST: header Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.1
foo_upnp: FINEST: header EXT:
foo_upnp: FINEST: header USN: uuid:aa893036-41c6-ccfe-e652-b00c6203f506::upnp:rootdevice
foo_upnp: FINEST: header ST: upnp:rootdevice
foo_upnp: FINEST: header LOCATION: http://192.168.137.1:56923/DeviceDescription.xml (http://192.168.137.1:56923/DeviceDescription.xml)
foo_upnp: FINEST: header LOCATION: http://192.168.137.1:56923/DeviceDescription.xml (http://192.168.137.1:56923/DeviceDescription.xml)
foo_upnp: FINEST: header - LOCATION: http://192.168.137.1:56923/DeviceDescription.xml (http://192.168.137.1:56923/DeviceDescription.xml)
foo_upnp: FINEST: header CACHE-CONTROL: max-age=1800
foo_upnp: FINEST: header CACHE-CONTROL: max-age=1800
foo_upnp: FINEST: header - CACHE-CONTROL: max-age=1800
foo_upnp: FINEST: header Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.1
foo_upnp: FINEST: header Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.1
foo_upnp: FINEST: header - Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.1
foo_upnp: FINEST: header EXT:
foo_upnp: FINEST: header EXT:
foo_upnp: FINEST: header USN: uuid:aa893036-41c6-ccfe-e652-b00c6203f506::upnp:rootdevice
foo_upnp: FINEST: header - EXT:
foo_upnp: FINEST: header ST: upnp:rootdevice
foo_upnp: FINEST: header USN: uuid:aa893036-41c6-ccfe-e652-b00c6203f506::upnp:rootdevice
foo_upnp: FINEST: header - USN: uuid:aa893036-41c6-ccfe-e652-b00c6203f506::upnp:rootdevice
foo_upnp: FINEST: header ST: upnp:rootdevice
foo_upnp: FINEST: header ST: upnp:rootdevice
foo_upnp: FINE: got response, code=200, msg=OK
foo_upnp: FINEST: header - LOCATION: http://192.168.137.1:56923/DeviceDescription.xml (http://192.168.137.1:56923/DeviceDescription.xml)
foo_upnp: FINEST: header - CACHE-CONTROL: max-age=1800
foo_upnp: FINEST: header - Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.1
foo_upnp: FINEST: header - EXT:
foo_upnp: FINEST: header - USN: uuid:aa893036-41c6-ccfe-e652-b00c6203f506::upnp:rootdevice
foo_upnp: FINEST: header ST: upnp:rootdevice
foo_upnp: FINE: got response, code=200, msg=OK
foo_upnp: FINEST: header - LOCATION: http://192.168.137.1:56923/DeviceDescription.xml (http://192.168.137.1:56923/DeviceDescription.xml)
foo_upnp: FINEST: header - CACHE-CONTROL: max-age=1800
foo_upnp: FINEST: header - Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.1
foo_upnp: FINEST: header - EXT:
foo_upnp: FINEST: header - USN: uuid:aa893036-41c6-ccfe-e652-b00c6203f506::upnp:rootdevice
foo_upnp: FINEST: header ST: upnp:rootdevice
foo_upnp: FINE: got response, code=200, msg=OK
foo_upnp: FINEST: header - LOCATION: http://192.168.137.1:56923/DeviceDescription.xml (http://192.168.137.1:56923/DeviceDescription.xml)
foo_upnp: FINEST: header - CACHE-CONTROL: max-age=1800
foo_upnp: FINEST: header - Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.1
foo_upnp: FINEST: header - EXT:
foo_upnp: FINEST: header - USN: uuid:aa893036-41c6-ccfe-e652-b00c6203f506::upnp:rootdevice
foo_upnp: FINEST: header ST: upnp:rootdevice
foo_upnp: FINE: got response, code=200, msg=OK
foo_upnp: FINEST: http request: M-SEARCH * HTTP/1.1
foo_upnp: FINEST: header - Host: 239.255.255.250:1900
foo_upnp: FINEST: header - ST: urn:schemas-upnp-org:device:InternetGatewayDevice:1
foo_upnp: FINEST: header - Man: "ssdp:discover"
foo_upnp: FINEST: header MX: 3
foo_upnp: FINE: creating thread
foo_upnp: FINE: thread in =======================
foo_upnp: FINEST: http request: M-SEARCH * HTTP/1.1
foo_upnp: FINEST: header - Host: 239.255.255.250:1900
foo_upnp: FINEST: header - ST: urn:schemas-upnp-org:device:InternetGatewayDevice:1
foo_upnp: FINEST: header - Man: "ssdp:discover"
foo_upnp: FINEST: header MX: 3
foo_upnp: FINE: creating thread
foo_upnp: FINE: thread in =======================
foo_upnp: FINEST: http request: M-SEARCH * HTTP/1.1
foo_upnp: FINEST: header - Host: 239.255.255.250:1900
foo_upnp: FINEST: header - ST: urn:schemas-upnp-org:service:ContentDirectory:1
foo_upnp: FINEST: header - Man: "ssdp:discover"
foo_upnp: FINEST: header MX: 3
foo_upnp: FINE: creating thread
foo_upnp: FINE: thread in =======================
foo_upnp: FINEST: http request: M-SEARCH * HTTP/1.1
foo_upnp: FINEST: header - Host: 239.255.255.250:1900
foo_upnp: FINEST: header - ST: urn:schemas-upnp-org:device:InternetGatewayDevice:1
foo_upnp: FINEST: header - Man: "ssdp:discover"
foo_upnp: FINEST: header MX: 3
foo_upnp: FINE: creating thread
foo_upnp: FINE: thread in =======================
foo_upnp: FINEST: http request: M-SEARCH * HTTP/1.1
foo_upnp: FINEST: header - Host: 239.255.255.250:1900
foo_upnp: FINEST: header - ST: urn:schemas-upnp-org:service:ContentDirectory:1
foo_upnp: FINEST: header - Man: "ssdp:discover"
foo_upnp: FINEST: header MX: 3
foo_upnp: FINE: creating thread
foo_upnp: FINE: thread in =======================
foo_upnp: FINEST: http request: NOTIFY * HTTP/1.1
foo_upnp: FINEST: header - Host: 239.255.255.250:1900
foo_upnp: FINEST: header - NT: upnp:rootdevice
foo_upnp: FINEST: header - NTS: ssdp:byebye
foo_upnp: FINEST: header - Location: http://127.0.0.1:2869/upnphost/udhisapi.dl...5e-db8ca742f70f (http://127.0.0.1:2869/upnphost/udhisapi.dll?content=uuid:bcfae34c-8c35-4297-b95e-db8ca742f70f)
foo_upnp: FINEST: header - USN: uuid:bcfae34c-8c35-4297-b95e-db8ca742f70f::upnp:rootdevice
foo_upnp: FINEST: header - Cache-Control: max-age=1800
foo_upnp: FINEST: header - Server: Microsoft-Windows-NT/5.1 UPnP/1.0 UPnP-Device-Host/1.0
foo_upnp: FINEST: header - OPT: "http://schemas.upnp.org/upnp/1/0/"; ns=01
foo_upnp: FINEST: header 01-NLS: 8a246981d23235e0292a0140c79b3130
foo_upnp: FINEST: http request: NOTIFY * HTTP/1.1
foo_upnp: FINEST: header - Host: 239.255.255.250:1900
foo_upnp: FINEST: header - NT: uuid:bcfae34c-8c35-4297-b95e-db8ca742f70f
foo_upnp: FINEST: header - NTS: ssdp:byebye
foo_upnp: FINEST: header - Location: http://127.0.0.1:2869/upnphost/udhisapi.dl...5e-db8ca742f70f (http://127.0.0.1:2869/upnphost/udhisapi.dll?content=uuid:bcfae34c-8c35-4297-b95e-db8ca742f70f)
foo_upnp: FINEST: header - USN: uuid:bcfae34c-8c35-4297-b95e-db8ca742f70f
foo_upnp: FINEST: header - Cache-Control: max-age=1800
foo_upnp: FINEST: header - Server: Microsoft-Windows-NT/5.1 UPnP/1.0 UPnP-Device-Host/1.0
foo_upnp: FINEST: header - OPT: "http://schemas.upnp.org/upnp/1/0/"; ns=01
foo_upnp: FINEST: header 01-NLS: 8a246981d23235e0292a0140c79b3130
foo_upnp: FINEST: http request: NOTIFY * HTTP/1.1
foo_upnp: FINEST: header - Host: 239.255.255.250:1900
foo_upnp: FINEST: header - NT: urn:schemas-upnp-org:device:MediaRenderer:1
foo_upnp: FINEST: header - NTS: ssdp:byebye
foo_upnp: FINEST: header - Location: http://127.0.0.1:2869/upnphost/udhisapi.dl...5e-db8ca742f70f (http://127.0.0.1:2869/upnphost/udhisapi.dll?content=uuid:bcfae34c-8c35-4297-b95e-db8ca742f70f)
foo_upnp: FINEST: header - USN: uuid:bcfae34c-8c35-4297-b95e-db8ca742f70f::urn:schemas-upnp-org:device:MediaRenderer:1
foo_upnp: FINEST: header - Cache-Control: max-age=1800
foo_upnp: FINEST: header - Server: Microsoft-Windows-NT/5.1 UPnP/1.0 UPnP-Device-Host/1.0
foo_upnp: FINEST: header - OPT: "http://schemas.upnp.org/upnp/1/0/"; ns=01
foo_upnp: FINEST: header 01-NLS: 8a246981d23235e0292a0140c79b3130
foo_upnp: FINEST: http request: NOTIFY * HTTP/1.1
foo_upnp: FINEST: header - Host: 239.255.255.250:1900
foo_upnp: FINEST: header - NT: urn:schemas-upnp-org:service:RenderingControl:1
foo_upnp: FINEST: header - NTS: ssdp:byebye
foo_upnp: FINEST: header - Location: http://127.0.0.1:2869/upnphost/udhisapi.dl...5e-db8ca742f70f (http://127.0.0.1:2869/upnphost/udhisapi.dll?content=uuid:bcfae34c-8c35-4297-b95e-db8ca742f70f)
foo_upnp: FINEST: header - USN: uuid:bcfae34c-8c35-4297-b95e-db8ca742f70f::urn:schemas-upnp-org:service:RenderingControl:1
foo_upnp: FINEST: header - Cache-Control: max-age=1800
foo_upnp: FINEST: header - Server: Microsoft-Windows-NT/5.1 UPnP/1.0 UPnP-Device-Host/1.0
foo_upnp: FINEST: header - OPT: "http://schemas.upnp.org/upnp/1/0/"; ns=01
foo_upnp: FINEST: header 01-NLS: 8a246981d23235e0292a0140c79b3130
foo_upnp: FINEST: http request: M-SEARCH * HTTP/1.1
foo_upnp: FINEST: header - Host: 239.255.255.250:1900
foo_upnp: FINEST: header - ST: urn:schemas-upnp-org:device:InternetGatewayDevice:1
foo_upnp: FINEST: header - Man: "ssdp:discover"
foo_upnp: FINEST: header MX: 3
foo_upnp: FINE: creating thread
foo_upnp: FINE: thread in =======================
foo_upnp: FINEST: http request: M-SEARCH * HTTP/1.1
foo_upnp: FINEST: header - Host: 239.255.255.250:1900
foo_upnp: FINEST: header - ST: upnp:rootdevice
foo_upnp: FINEST: header - Man: "ssdp:discover"
foo_upnp: FINEST: header MX: 3
foo_upnp: FINE: creating thread
foo_upnp: FINE: thread in =======================
foo_upnp: FINE: creating thread
foo_upnp: FINEST: http request: M-SEARCH * HTTP/1.1
foo_upnp: FINEST: header - Host: 239.255.255.250:1900
foo_upnp: FINEST: header - ST: urn:schemas-wifialliance-org:device:WFADevice:1
foo_upnp: FINEST: header - Man: "ssdp:discover"
foo_upnp: FINEST: header MX: 3
foo_upnp: FINE: creating thread
foo_upnp: FINE: thread in =======================
foo_upnp: FINE: thread in =======================
foo_upnp: FINEST: http request: GET /DeviceDescription.xml HTTP/1.1
foo_upnp: FINEST: header - Cache-Control: no-cache
foo_upnp: FINEST: header - Connection: Keep-Alive
foo_upnp: FINEST: header - Pragma: no-cache
foo_upnp: FINEST: header - Accept: text/xml, application/xml
foo_upnp: FINEST: header - User-Agent: FDSSDP
foo_upnp: FINEST: header Host: 192.168.167.1:56923
foo_upnp: INFO: received LAN request: http://192.168.167.1:56923/DeviceDescription.xml (http://192.168.167.1:56923/DeviceDescription.xml) (User-Agent: FDSSDP)
foo_upnp: INFO: ProcessGetDescription: user-agent: FDSSDP
foo_upnp: FINEST: header Server: Platinum/0.5.1
foo_upnp: FINEST: header Content-Length: 2901
foo_upnp: FINEST: header Content-Type: text/xml; charset="utf-8"
foo_upnp: FINEST: header Connection: keep-alive
foo_upnp: FINEST: http request: NOTIFY * HTTP/1.1
foo_upnp: FINEST: header - Host: 239.255.255.250:1900
foo_upnp: FINEST: header - NT: urn:schemas-upnp-org:service:RenderingControl:1
foo_upnp: FINEST: header - NTS: ssdp:byebye
foo_upnp: FINEST: header - Location: [url=http://127.0.0.1:2869/upnphost/udhisapi.dll?c
Title: foo_upnp
Post by: wraithdu on 2009-08-24 06:41:44
I found this plugin today, and I must say it's pretty sweet

I did however have a hell of a time getting it working on my iPhone with PlugPlayer over 3G (iPhone OS 3.0.1, PP 2.3.1, fb2k 0.9.6.8, UPnP 0.99.11).  WiFi setup was a breeze, as PlugPlayer found the server without any problem.  However trying the steps outlined here:

http://nerdlets.org/2009/05/07/set-up-a-up...ith-foobar2000/ (http://nerdlets.org/2009/05/07/set-up-a-upnp-media-server-with-foobar2000/)

was pointless.  I finally figured out I had to add the device manually and entered (basically):

http://myserver.no-ip.org:12345/namepass (http://myserver.no-ip.org:12345/namepass)

and luckily PP found the server.  Hopefully you can outline this more prominantly for anyone else having the same problem.

I still have one problem however, and that is that I can't figure out how to seek through song playback.  I thought seeking was supported, maybe just not for PlugPlayer?  One more thing I'd change, is the default PP profile has transcoding disabled for 'lossless and internet'.  You might want to change that, as the iPhone definitely can't play lossless FLAC, and 3G probably couldn't handle the ALAC bandwidth.

Anyway, keep up the great work.  I can't wait to see what more becomes of this plugin.
Title: foo_upnp
Post by: bubbleguuum on 2009-08-24 11:22:07
My observations are as follows:
1. While any form of debugging is enabled you can see the server but you cannot get the album / artist listings in both media player 12 and foobar upnp browser panel
2. Last three lines appeared when i tried browsing from foobar. After that nothing more was logged. Pressing the close button renders foobar unresponsive and it just stays that way.


The last lines are suspicious. WMP http server replied with an Internal server error. I may be able to simulate that and see what happens.

I did however have a hell of a time getting it working on my iPhone with PlugPlayer over 3G (iPhone OS 3.0.1, PP 2.3.1, fb2k 0.9.6.8, UPnP 0.99.11).  WiFi setup was a breeze, as PlugPlayer found the server without any problem.  However trying the steps outlined here:
http://nerdlets.org/2009/05/07/set-up-a-up...ith-foobar2000/ (http://nerdlets.org/2009/05/07/set-up-a-upnp-media-server-with-foobar2000/)
was pointless.  I finally figured out I had to add the device manually and entered (basically):
http://myserver.no-ip.org:12345/namepass (http://myserver.no-ip.org:12345/namepass)
and luckily PP found the server.  Hopefully you can outline this more prominantly for anyone else having the same problem.


Yes, some more comprehensive documentation wouldn't hurt. I'll be working on that soon.

Quote
I still have one problem however, and that is that I can't figure out how to seek through song playback.  I thought seeking was supported, maybe just not for PlugPlayer?  One more thing I'd change, is the default PP profile has transcoding disabled for 'lossless and internet'.  You might want to change that, as the iPhone definitely can't play lossless FLAC, and 3G probably couldn't handle the ALAC bandwidth.


PlugPlayer doesn't support seek yet. You can ask for it on the PlugPlayer forum, the author listen to feature requests .
I'm surprised you didn't have the correct settings for PP profile. I just checked it and by default it is set to "transcode always to mp3 except "mp3, aac, m4a" or  (lossless and internet).

Thanks for reporting you have it working over 3G as it is something I can't try as I don't have an iPhone.
Alternatively you should be able to do the same using a VPN. In that case PP will autodiscover the server just like it does on the LAN.

Title: foo_upnp
Post by: wraithdu on 2009-08-24 14:36:19
I found out that PP doesn't support seeking after I had posted this (from the PP forum).  He said he'll work on it again after iPhone OS 3.1 is released, but I'll definitely be requesting it.  The dev also said that in the upcoming version 2.4.0 he is changing the behavior of the "base url" setting so it is used for everything over WAN - device description, streaming, album art, etc.  This should fix the problems I was having following the instructions from that other website.

http://www.plugplayer.com/forum/viewtopic....f6b01c5cf7#p272 (http://www.plugplayer.com/forum/viewtopic.php?f=4&t=84&sid=78db3206b48f149e081c89f6b01c5cf7#p272)

I just installed the plugin on another computer, and by default the PP profile has "transcode always to mp3 except extensions "mp3,aac,m4a" OR EXCEPT lossless and internet".  From reading that (and from testing) it means it won't transcode lossless or internet connected devices under any circumstance.  We want the opposite

I have been able to get PP working both over 3G (via manual device add) and over a Windows PPTP VPN.  However it will not auto-discover the server over VPN.  You have to set it up on the local network first so it is discovered, then it will be recognized over VPN as well.

One more thing, is it possible that items added to the PP playlist can not be invalidated when the fb2k upnp server is restarted?  As it stands, if I restart the upnp server (fb2k restart as well) everything I have in my playlist stops working.  I have to re-add the tracks/streams.  It seems the links are being invalidated/changed.  Is that something you can control?
Title: foo_upnp
Post by: wraithdu on 2009-08-24 16:48:47
I've got another interesting situation.  I have the server setup for internet access on my external IP for use from my iPhone over 3G (when I'm not using it over the VPN).  This works because it is detected as a WAN client and the correct external content URL is transmitted.  However if I connect my laptop to my home network via OpenVPN this setup breaks.  The incoming fb2k connection is seen as WAN instead of LAN, and the external IP is passed back, causing the playback connection to fail.  I think it's because OpenVPN sets up my VPN IP on a different subnet (home network is 192.168.xxx.xxx, and the OpenVPN subnet is 10.xxx.xxx.xxx).  I guess there's no way around this with my current setup unfortunately.  For now I've changed it so that the server IP is my internal IP (192.xxx.xxx.xxx).  Now I can connect via my iPhone PPTP VPN and my laptop's OpenVPN connection.  Both devices (laptop as WAN and iPhone as LAN) get back my internal server IP, which is reachable from both clients (OpenVPN is cool like that).

A future workaround might be to have a section in the server configuration to specify other subnet ranges to be considered as LAN clients instead of WAN clients.  That way I could specify my OpenVPN 10.xxx.xxx.xxx subnet as internal LAN, and I could keep my external WAN connectivity as well.

Just thought I'd throw this out there as another fun and unorthodox scenario
Title: foo_upnp
Post by: bubbleguuum on 2009-08-24 19:07:43
The dev also said that in the upcoming version 2.4.0 he is changing the behavior of the "base url" setting so it is used for everything over WAN - device description, streaming, album art, etc.  This should fix the problems I was having following the instructions from that other website.


Yes this is required for other servers (twonky in that case)  that don't set the streaming IP to the public internet address. foo_upnp sets it correctly though

Quote
I just installed the plugin on another computer, and by default the PP profile has "transcode always to mp3 except extensions "mp3,aac,m4a" OR EXCEPT lossless and internet".  From reading that (and from testing) it means it won't transcode lossless or internet connected devices under any circumstance.  We want the opposite


You're right, I inverted the condition. Will fix the profile in the next release

Quote
I have been able to get PP working both over 3G (via manual device add) and over a Windows PPTP VPN.  However it will not auto-discover the server over VPN.  You have to set it up on the local network first so it is discovered, then it will be recognized over VPN as well.


I read somewhere that OpenVPN might discard udp multicast traffic. This is used for SSDP and might explain auto discovery problems.

Quote
One more thing, is it possible that items added to the PP playlist can not be invalidated when the fb2k upnp server is restarted?  As it stands, if I restart the upnp server (fb2k restart as well) everything I have in my playlist stops working.  I have to re-add the tracks/streams.  It seems the links are being invalidated/changed.  Is that something you can control?

This is a PlugPlayer issue. Are you using the PP renderer or an external renderer ? When relaunched PlugPlayer will always reset to the PP renderer.


I've got another interesting situation.  I have the server setup for internet access on my external IP for use from my iPhone over 3G (when I'm not using it over the VPN).  This works because it is detected as a WAN client and the correct external content URL is transmitted.  However if I connect my laptop to my home network via OpenVPN this setup breaks.  The incoming fb2k connection is seen as WAN instead of LAN, and the external IP is passed back, causing the playback connection to fail.  I think it's because OpenVPN sets up my VPN IP on a different subnet (home network is 192.168.xxx.xxx, and the OpenVPN subnet is 10.xxx.xxx.xxx).  I guess there's no way around this with my current setup unfortunately.  For now I've changed it so that the server IP is my internal IP (192.xxx.xxx.xxx).  Now I can connect via my iPhone PPTP VPN and my laptop's OpenVPN connection.  Both devices (laptop as WAN and iPhone as LAN) get back my internal server IP, which is reachable from both clients (OpenVPN is cool like that).
A future workaround migh be to have a section in the server configuration to specify other subnet ranges to be considered as LAN clients instead of WAN clients.  That way I could specify my OpenVPN 10.xxx.xxx.xxx subnet as internal LAN, and I could keep my external WAN connectivity as well.
Just thought I'd throw this out there as another fun and unorthodox scenario


Interesting use case . Correct me if I'm wrong but doesn't your PC running the fb server have a (virtual) 10.x.x.x address when on the VPN ? The fb server consider the incoming connection is from the LAN when the incoming IP is in any of the subnets defined by all your interfaces listed by ipconfig (virtual or not), taking into account the netmask.
Title: foo_upnp
Post by: wraithdu on 2009-08-24 19:49:26
OpenVPN might discard multicast, but the iPhone is using the Windows PPTP VPN.  Unless OpenVPN also interferes with that?  I'll have to test some other router settings at home and also shut down OpenVPN to be sure.

LOL, I'll be damned if the broken media URL problem isn't gone now.  I have no idea why, but I'm not complaining.  Maybe it was happening when using an older version of the plugin.  But I was always only using the PP renderer.

For the last thing, that's the weird part.  Yes my PC does has a virtual 10.x.x.x address.  And it doesn't matter if I connect to the server on the 10.x.x.x interface or the 192.168.x.x interface (both work because of OpenVPN's routing).  It is always detected as WAN.  Not sure if it's useful, but here's the server startup log and both interface connection logs.  It does seem to detect all the interfaces during startup.

fb2k server startup
Code: [Select]
foo_upnp: FINEST: header USN: uuid:93eed0e0-72ba-bde6-0261-93702c1243db::urn:schemas-upnp-org:service:ContentDirectory:1
foo_upnp: FINEST: header NT: urn:schemas-upnp-org:service:ContentDirectory:1
foo_upnp: FINEST: header Host: 239.255.255.250:1900
foo_upnp: FINEST: header LOCATION: [url=http://192.168.5.15:56923/DeviceDescription.xml]http://192.168.5.15:56923/DeviceDescription.xml[/url]
foo_upnp: FINEST: header NTS: ssdp:alive
foo_upnp: FINEST: header CACHE-CONTROL: max-age=1800
foo_upnp: FINEST: header Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.1
foo_upnp: FINEST: header USN: uuid:93eed0e0-72ba-bde6-0261-93702c1243db::urn:schemas-upnp-org:service:ConnectionManager:1
foo_upnp: FINEST: header NT: urn:schemas-upnp-org:service:ConnectionManager:1
foo_upnp: FINEST: header Host: 239.255.255.250:1900
foo_upnp: FINEST: header LOCATION: [url=http://192.168.5.15:56923/DeviceDescription.xml]http://192.168.5.15:56923/DeviceDescription.xml[/url]
foo_upnp: FINEST: header NTS: ssdp:alive
foo_upnp: FINEST: header CACHE-CONTROL: max-age=1800
foo_upnp: FINEST: header Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.1
foo_upnp: FINEST: header USN: uuid:93eed0e0-72ba-bde6-0261-93702c1243db
foo_upnp: FINEST: header NT: uuid:93eed0e0-72ba-bde6-0261-93702c1243db
foo_upnp: FINEST: header Host: 239.255.255.250:1900
foo_upnp: FINEST: header LOCATION: [url=http://192.168.5.15:56923/DeviceDescription.xml]http://192.168.5.15:56923/DeviceDescription.xml[/url]
foo_upnp: FINEST: header NTS: ssdp:alive
foo_upnp: FINEST: header CACHE-CONTROL: max-age=1800
foo_upnp: FINEST: header Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.1
foo_upnp: FINEST: header USN: uuid:93eed0e0-72ba-bde6-0261-93702c1243db::upnp:rootdevice
foo_upnp: FINEST: header NT: upnp:rootdevice
foo_upnp: FINEST: header Host: 239.255.255.250:1900
foo_upnp: FINEST: header LOCATION: [url=http://192.168.5.15:56923/DeviceDescription.xml]http://192.168.5.15:56923/DeviceDescription.xml[/url]
foo_upnp: FINEST: header NTS: ssdp:alive
foo_upnp: FINEST: header CACHE-CONTROL: max-age=1800
foo_upnp: FINEST: header Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.1
foo_upnp: FINEST: header USN: uuid:93eed0e0-72ba-bde6-0261-93702c1243db::urn:schemas-upnp-org:device:MediaServer:1
foo_upnp: FINEST: header NT: urn:schemas-upnp-org:device:MediaServer:1
foo_upnp: FINEST: header Host: 239.255.255.250:1900
foo_upnp: FINEST: header LOCATION: [url=http://192.168.5.15:56923/DeviceDescription.xml]http://192.168.5.15:56923/DeviceDescription.xml[/url]
foo_upnp: FINEST: header NTS: ssdp:alive
foo_upnp: FINEST: header CACHE-CONTROL: max-age=1800
foo_upnp: FINEST: header Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.1
foo_upnp: FINEST: header USN: uuid:93eed0e0-72ba-bde6-0261-93702c1243db::urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1
foo_upnp: FINEST: header NT: urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1
foo_upnp: FINEST: header Host: 239.255.255.250:1900
foo_upnp: FINEST: header LOCATION: [url=http://192.168.5.15:56923/DeviceDescription.xml]http://192.168.5.15:56923/DeviceDescription.xml[/url]
foo_upnp: FINEST: header NTS: ssdp:alive
foo_upnp: FINEST: header CACHE-CONTROL: max-age=1800
foo_upnp: FINEST: header Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.1
foo_upnp: FINEST: header USN: uuid:93eed0e0-72ba-bde6-0261-93702c1243db::urn:schemas-upnp-org:service:ContentDirectory:1
foo_upnp: FINEST: header NT: urn:schemas-upnp-org:service:ContentDirectory:1
foo_upnp: FINEST: header Host: 239.255.255.250:1900
foo_upnp: FINEST: header LOCATION: [url=http://192.168.5.15:56923/DeviceDescription.xml]http://192.168.5.15:56923/DeviceDescription.xml[/url]
foo_upnp: FINEST: header NTS: ssdp:alive
foo_upnp: FINEST: header CACHE-CONTROL: max-age=1800
foo_upnp: FINEST: header Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.1
foo_upnp: FINEST: header USN: uuid:93eed0e0-72ba-bde6-0261-93702c1243db::urn:schemas-upnp-org:service:ConnectionManager:1
foo_upnp: FINEST: header NT: urn:schemas-upnp-org:service:ConnectionManager:1
foo_upnp: FINEST: header Host: 239.255.255.250:1900
foo_upnp: FINEST: header LOCATION: [url=http://192.168.5.15:56923/DeviceDescription.xml]http://192.168.5.15:56923/DeviceDescription.xml[/url]
foo_upnp: FINEST: header NTS: ssdp:alive
foo_upnp: FINEST: header CACHE-CONTROL: max-age=1800
foo_upnp: FINEST: header Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.1
foo_upnp: FINEST: header USN: uuid:93eed0e0-72ba-bde6-0261-93702c1243db
foo_upnp: FINEST: header NT: uuid:93eed0e0-72ba-bde6-0261-93702c1243db
foo_upnp: FINEST: header Host: 239.255.255.250:1900
foo_upnp: FINEST: header LOCATION: [url=http://192.168.5.185:56923/DeviceDescription.xml]http://192.168.5.185:56923/DeviceDescription.xml[/url]
foo_upnp: FINEST: header NTS: ssdp:alive
foo_upnp: FINEST: header CACHE-CONTROL: max-age=1800
foo_upnp: FINEST: header Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.1
foo_upnp: FINEST: header USN: uuid:93eed0e0-72ba-bde6-0261-93702c1243db::upnp:rootdevice
foo_upnp: FINEST: header NT: upnp:rootdevice
foo_upnp: FINEST: header Host: 239.255.255.250:1900
foo_upnp: FINEST: header LOCATION: [url=http://192.168.5.185:56923/DeviceDescription.xml]http://192.168.5.185:56923/DeviceDescription.xml[/url]
foo_upnp: FINEST: header NTS: ssdp:alive
foo_upnp: FINEST: header CACHE-CONTROL: max-age=1800
foo_upnp: FINEST: header Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.1
foo_upnp: FINEST: header USN: uuid:93eed0e0-72ba-bde6-0261-93702c1243db::urn:schemas-upnp-org:device:MediaServer:1
foo_upnp: FINEST: header NT: urn:schemas-upnp-org:device:MediaServer:1
foo_upnp: FINEST: header Host: 239.255.255.250:1900
foo_upnp: FINEST: header LOCATION: [url=http://192.168.5.185:56923/DeviceDescription.xml]http://192.168.5.185:56923/DeviceDescription.xml[/url]
foo_upnp: FINEST: header NTS: ssdp:alive
foo_upnp: FINEST: header CACHE-CONTROL: max-age=1800
foo_upnp: FINEST: header Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.1
foo_upnp: FINEST: header USN: uuid:93eed0e0-72ba-bde6-0261-93702c1243db::urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1
foo_upnp: FINEST: header NT: urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1
foo_upnp: FINEST: header Host: 239.255.255.250:1900
foo_upnp: FINEST: header LOCATION: [url=http://192.168.5.185:56923/DeviceDescription.xml]http://192.168.5.185:56923/DeviceDescription.xml[/url]
foo_upnp: FINEST: header NTS: ssdp:alive
foo_upnp: FINEST: header CACHE-CONTROL: max-age=1800
foo_upnp: FINEST: header Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.1
foo_upnp: FINEST: header USN: uuid:93eed0e0-72ba-bde6-0261-93702c1243db::urn:schemas-upnp-org:service:ContentDirectory:1
foo_upnp: FINEST: header NT: urn:schemas-upnp-org:service:ContentDirectory:1
foo_upnp: FINEST: header Host: 239.255.255.250:1900
foo_upnp: FINEST: header LOCATION: [url=http://192.168.5.185:56923/DeviceDescription.xml]http://192.168.5.185:56923/DeviceDescription.xml[/url]
foo_upnp: FINEST: header NTS: ssdp:alive
foo_upnp: FINEST: header CACHE-CONTROL: max-age=1800
foo_upnp: FINEST: header Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.1
foo_upnp: FINEST: header USN: uuid:93eed0e0-72ba-bde6-0261-93702c1243db::urn:schemas-upnp-org:service:ConnectionManager:1
foo_upnp: FINEST: header NT: urn:schemas-upnp-org:service:ConnectionManager:1
foo_upnp: FINEST: header Host: 239.255.255.250:1900
foo_upnp: FINEST: header LOCATION: [url=http://192.168.5.185:56923/DeviceDescription.xml]http://192.168.5.185:56923/DeviceDescription.xml[/url]
foo_upnp: FINEST: header NTS: ssdp:alive
foo_upnp: FINEST: header CACHE-CONTROL: max-age=1800
foo_upnp: FINEST: header Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.1
foo_upnp: FINEST: header USN: uuid:93eed0e0-72ba-bde6-0261-93702c1243db
foo_upnp: FINEST: header NT: uuid:93eed0e0-72ba-bde6-0261-93702c1243db
foo_upnp: FINEST: header Host: 239.255.255.250:1900
foo_upnp: FINEST: header LOCATION: [url=http://192.168.5.185:56923/DeviceDescription.xml]http://192.168.5.185:56923/DeviceDescription.xml[/url]
foo_upnp: FINEST: header NTS: ssdp:alive
foo_upnp: FINEST: header CACHE-CONTROL: max-age=1800
foo_upnp: FINEST: header Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.1
foo_upnp: FINEST: header USN: uuid:93eed0e0-72ba-bde6-0261-93702c1243db::upnp:rootdevice
foo_upnp: FINEST: header NT: upnp:rootdevice
foo_upnp: FINEST: header Host: 239.255.255.250:1900
foo_upnp: FINEST: header LOCATION: [url=http://192.168.5.185:56923/DeviceDescription.xml]http://192.168.5.185:56923/DeviceDescription.xml[/url]
foo_upnp: FINEST: header NTS: ssdp:alive
foo_upnp: FINEST: header CACHE-CONTROL: max-age=1800
foo_upnp: FINEST: header Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.1
foo_upnp: FINEST: header USN: uuid:93eed0e0-72ba-bde6-0261-93702c1243db::urn:schemas-upnp-org:device:MediaServer:1
foo_upnp: FINEST: header NT: urn:schemas-upnp-org:device:MediaServer:1
foo_upnp: FINEST: header Host: 239.255.255.250:1900
foo_upnp: FINEST: header LOCATION: [url=http://192.168.5.185:56923/DeviceDescription.xml]http://192.168.5.185:56923/DeviceDescription.xml[/url]
foo_upnp: FINEST: header NTS: ssdp:alive
foo_upnp: FINEST: header CACHE-CONTROL: max-age=1800
foo_upnp: FINEST: header Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.1
foo_upnp: FINEST: header USN: uuid:93eed0e0-72ba-bde6-0261-93702c1243db::urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1
foo_upnp: FINEST: header NT: urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1
foo_upnp: FINEST: header Host: 239.255.255.250:1900
foo_upnp: FINEST: header LOCATION: [url=http://192.168.5.185:56923/DeviceDescription.xml]http://192.168.5.185:56923/DeviceDescription.xml[/url]
foo_upnp: FINEST: header NTS: ssdp:alive
foo_upnp: FINEST: header CACHE-CONTROL: max-age=1800
foo_upnp: FINEST: header Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.1
foo_upnp: FINEST: header USN: uuid:93eed0e0-72ba-bde6-0261-93702c1243db::urn:schemas-upnp-org:service:ContentDirectory:1
foo_upnp: FINEST: header NT: urn:schemas-upnp-org:service:ContentDirectory:1
foo_upnp: FINEST: header Host: 239.255.255.250:1900
foo_upnp: FINEST: header LOCATION: [url=http://192.168.5.185:56923/DeviceDescription.xml]http://192.168.5.185:56923/DeviceDescription.xml[/url]
foo_upnp: FINEST: header NTS: ssdp:alive
foo_upnp: FINEST: header CACHE-CONTROL: max-age=1800
foo_upnp: FINEST: header Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.1
foo_upnp: FINEST: header USN: uuid:93eed0e0-72ba-bde6-0261-93702c1243db::urn:schemas-upnp-org:service:ConnectionManager:1
foo_upnp: FINEST: header NT: urn:schemas-upnp-org:service:ConnectionManager:1
foo_upnp: FINEST: header Host: 239.255.255.250:1900
foo_upnp: FINEST: header LOCATION: [url=http://192.168.5.185:56923/DeviceDescription.xml]http://192.168.5.185:56923/DeviceDescription.xml[/url]
foo_upnp: FINEST: header NTS: ssdp:alive
foo_upnp: FINEST: header CACHE-CONTROL: max-age=1800
foo_upnp: FINEST: header Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.1
foo_upnp: FINEST: header USN: uuid:93eed0e0-72ba-bde6-0261-93702c1243db
foo_upnp: FINEST: header NT: uuid:93eed0e0-72ba-bde6-0261-93702c1243db
foo_upnp: FINEST: header Host: 239.255.255.250:1900
foo_upnp: FINEST: header LOCATION: [url=http://10.64.75.1:56923/DeviceDescription.xml]http://10.64.75.1:56923/DeviceDescription.xml[/url]
foo_upnp: FINEST: header NTS: ssdp:alive
foo_upnp: FINEST: header CACHE-CONTROL: max-age=1800
foo_upnp: FINEST: header Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.1
foo_upnp: FINEST: header USN: uuid:93eed0e0-72ba-bde6-0261-93702c1243db::upnp:rootdevice
foo_upnp: FINEST: header NT: upnp:rootdevice
foo_upnp: FINEST: http request: NOTIFY * HTTP/1.1
foo_upnp: FINEST: header - Host: 239.255.255.250:1900
foo_upnp: FINEST: header - LOCATION: [url=http://10.64.75.1:56923/DeviceDescription.xml]http://10.64.75.1:56923/DeviceDescription.xml[/url]
foo_upnp: FINEST: header - NTS: ssdp:alive
foo_upnp: FINEST: header - CACHE-CONTROL: max-age=1800
foo_upnp: FINEST: header - Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.1
foo_upnp: FINEST: header - USN: uuid:93eed0e0-72ba-bde6-0261-93702c1243db::upnp:rootdevice
foo_upnp: FINEST: header NT: upnp:rootdevice
foo_upnp: FINEST: header Host: 239.255.255.250:1900
foo_upnp: FINEST: header LOCATION: [url=http://10.64.75.1:56923/DeviceDescription.xml]http://10.64.75.1:56923/DeviceDescription.xml[/url]
foo_upnp: FINEST: header NTS: ssdp:alive
foo_upnp: FINEST: header CACHE-CONTROL: max-age=1800
foo_upnp: FINEST: header Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.1
foo_upnp: FINEST: header USN: uuid:93eed0e0-72ba-bde6-0261-93702c1243db::urn:schemas-upnp-org:device:MediaServer:1
foo_upnp: FINEST: header NT: urn:schemas-upnp-org:device:MediaServer:1
foo_upnp: FINEST: http request: NOTIFY * HTTP/1.1
foo_upnp: FINEST: header - Host: 239.255.255.250:1900
foo_upnp: FINEST: header - LOCATION: [url=http://10.64.75.1:56923/DeviceDescription.xml]http://10.64.75.1:56923/DeviceDescription.xml[/url]
foo_upnp: FINEST: header - NTS: ssdp:alive
foo_upnp: FINEST: header - CACHE-CONTROL: max-age=1800
foo_upnp: FINEST: header - Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.1
foo_upnp: FINEST: header - USN: uuid:93eed0e0-72ba-bde6-0261-93702c1243db::urn:schemas-upnp-org:device:MediaServer:1
foo_upnp: FINEST: header NT: urn:schemas-upnp-org:device:MediaServer:1
foo_upnp: FINEST: header Host: 239.255.255.250:1900
foo_upnp: FINEST: header LOCATION: [url=http://10.64.75.1:56923/DeviceDescription.xml]http://10.64.75.1:56923/DeviceDescription.xml[/url]
foo_upnp: FINEST: header NTS: ssdp:alive
foo_upnp: FINEST: header CACHE-CONTROL: max-age=1800
foo_upnp: FINEST: header Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.1
foo_upnp: FINEST: header USN: uuid:93eed0e0-72ba-bde6-0261-93702c1243db::urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1
foo_upnp: FINEST: header NT: urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1
foo_upnp: FINEST: http request: NOTIFY * HTTP/1.1
foo_upnp: FINEST: header - Host: 239.255.255.250:1900
foo_upnp: FINEST: header - LOCATION: [url=http://10.64.75.1:56923/DeviceDescription.xml]http://10.64.75.1:56923/DeviceDescription.xml[/url]
foo_upnp: FINEST: header - NTS: ssdp:alive
foo_upnp: FINEST: header - CACHE-CONTROL: max-age=1800
foo_upnp: FINEST: header - Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.1
foo_upnp: FINEST: header - USN: uuid:93eed0e0-72ba-bde6-0261-93702c1243db::urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1
foo_upnp: FINEST: header NT: urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1
foo_upnp: FINEST: header Host: 239.255.255.250:1900
foo_upnp: FINEST: header LOCATION: [url=http://10.64.75.1:56923/DeviceDescription.xml]http://10.64.75.1:56923/DeviceDescription.xml[/url]
foo_upnp: FINEST: header NTS: ssdp:alive
foo_upnp: FINEST: header CACHE-CONTROL: max-age=1800
foo_upnp: FINEST: header Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.1
foo_upnp: FINEST: header USN: uuid:93eed0e0-72ba-bde6-0261-93702c1243db::urn:schemas-upnp-org:service:ContentDirectory:1
foo_upnp: FINEST: header NT: urn:schemas-upnp-org:service:ContentDirectory:1
foo_upnp: FINEST: http request: NOTIFY * HTTP/1.1
foo_upnp: FINEST: header - Host: 239.255.255.250:1900
foo_upnp: FINEST: header - LOCATION: [url=http://10.64.75.1:56923/DeviceDescription.xml]http://10.64.75.1:56923/DeviceDescription.xml[/url]
foo_upnp: FINEST: header - NTS: ssdp:alive
foo_upnp: FINEST: header - CACHE-CONTROL: max-age=1800
foo_upnp: FINEST: header - Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.1
foo_upnp: FINEST: header - USN: uuid:93eed0e0-72ba-bde6-0261-93702c1243db::urn:schemas-upnp-org:service:ContentDirectory:1
foo_upnp: FINEST: header NT: urn:schemas-upnp-org:service:ContentDirectory:1
foo_upnp: FINEST: header Host: 239.255.255.250:1900
foo_upnp: FINEST: header LOCATION: [url=http://10.64.75.1:56923/DeviceDescription.xml]http://10.64.75.1:56923/DeviceDescription.xml[/url]
foo_upnp: FINEST: header NTS: ssdp:alive
foo_upnp: FINEST: header CACHE-CONTROL: max-age=1800
foo_upnp: FINEST: header Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.1
foo_upnp: FINEST: header USN: uuid:93eed0e0-72ba-bde6-0261-93702c1243db::urn:schemas-upnp-org:service:ConnectionManager:1
foo_upnp: FINEST: header NT: urn:schemas-upnp-org:service:ConnectionManager:1
foo_upnp: FINEST: http request: NOTIFY * HTTP/1.1
foo_upnp: FINEST: header - Host: 239.255.255.250:1900
foo_upnp: FINEST: header - LOCATION: [url=http://10.64.75.1:56923/DeviceDescription.xml]http://10.64.75.1:56923/DeviceDescription.xml[/url]
foo_upnp: FINEST: header - NTS: ssdp:alive
foo_upnp: FINEST: header - CACHE-CONTROL: max-age=1800
foo_upnp: FINEST: header - Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.1
foo_upnp: FINEST: header - USN: uuid:93eed0e0-72ba-bde6-0261-93702c1243db::urn:schemas-upnp-org:service:ConnectionManager:1
foo_upnp: FINEST: header NT: urn:schemas-upnp-org:service:ConnectionManager:1
foo_upnp: FINEST: header Host: 239.255.255.250:1900
foo_upnp: FINEST: header LOCATION: [url=http://10.64.75.1:56923/DeviceDescription.xml]http://10.64.75.1:56923/DeviceDescription.xml[/url]
foo_upnp: FINEST: header NTS: ssdp:alive
foo_upnp: FINEST: header CACHE-CONTROL: max-age=1800
foo_upnp: FINEST: header Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.1
foo_upnp: FINEST: header USN: uuid:93eed0e0-72ba-bde6-0261-93702c1243db
foo_upnp: FINEST: header NT: uuid:93eed0e0-72ba-bde6-0261-93702c1243db
foo_upnp: FINEST: http request: NOTIFY * HTTP/1.1
foo_upnp: FINEST: header - Host: 239.255.255.250:1900
foo_upnp: FINEST: header - LOCATION: [url=http://10.64.75.1:56923/DeviceDescription.xml]http://10.64.75.1:56923/DeviceDescription.xml[/url]
foo_upnp: FINEST: header - NTS: ssdp:alive
foo_upnp: FINEST: header - CACHE-CONTROL: max-age=1800
foo_upnp: FINEST: header - Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.1
foo_upnp: FINEST: header - USN: uuid:93eed0e0-72ba-bde6-0261-93702c1243db
foo_upnp: FINEST: header NT: uuid:93eed0e0-72ba-bde6-0261-93702c1243db
foo_upnp: FINEST: header Host: 239.255.255.250:1900
foo_upnp: FINEST: header LOCATION: [url=http://10.64.75.1:56923/DeviceDescription.xml]http://10.64.75.1:56923/DeviceDescription.xml[/url]
foo_upnp: FINEST: header NTS: ssdp:alive
foo_upnp: FINEST: header CACHE-CONTROL: max-age=1800
foo_upnp: FINEST: header Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.1
foo_upnp: FINEST: header USN: uuid:93eed0e0-72ba-bde6-0261-93702c1243db::upnp:rootdevice
foo_upnp: FINEST: header NT: upnp:rootdevice
foo_upnp: FINEST: http request: NOTIFY * HTTP/1.1
foo_upnp: FINEST: header - Host: 239.255.255.250:1900
foo_upnp: FINEST: header - LOCATION: [url=http://10.64.75.1:56923/DeviceDescription.xml]http://10.64.75.1:56923/DeviceDescription.xml[/url]
foo_upnp: FINEST: header - NTS: ssdp:alive
foo_upnp: FINEST: header - CACHE-CONTROL: max-age=1800
foo_upnp: FINEST: header - Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.1
foo_upnp: FINEST: header - USN: uuid:93eed0e0-72ba-bde6-0261-93702c1243db::upnp:rootdevice
foo_upnp: FINEST: header NT: upnp:rootdevice
foo_upnp: FINEST: header Host: 239.255.255.250:1900
foo_upnp: FINEST: header LOCATION: [url=http://10.64.75.1:56923/DeviceDescription.xml]http://10.64.75.1:56923/DeviceDescription.xml[/url]
foo_upnp: FINEST: header NTS: ssdp:alive
foo_upnp: FINEST: header CACHE-CONTROL: max-age=1800
foo_upnp: FINEST: header Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.1
foo_upnp: FINEST: header USN: uuid:93eed0e0-72ba-bde6-0261-93702c1243db::urn:schemas-upnp-org:device:MediaServer:1
foo_upnp: FINEST: header NT: urn:schemas-upnp-org:device:MediaServer:1
foo_upnp: FINEST: http request: NOTIFY * HTTP/1.1
foo_upnp: FINEST: header - Host: 239.255.255.250:1900
foo_upnp: FINEST: header - LOCATION: [url=http://10.64.75.1:56923/DeviceDescription.xml]http://10.64.75.1:56923/DeviceDescription.xml[/url]
foo_upnp: FINEST: header - NTS: ssdp:alive
foo_upnp: FINEST: header - CACHE-CONTROL: max-age=1800
foo_upnp: FINEST: header - Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.1
foo_upnp: FINEST: header - USN: uuid:93eed0e0-72ba-bde6-0261-93702c1243db::urn:schemas-upnp-org:device:MediaServer:1
foo_upnp: FINEST: header NT: urn:schemas-upnp-org:device:MediaServer:1
foo_upnp: FINEST: header Host: 239.255.255.250:1900
foo_upnp: FINEST: header LOCATION: [url=http://10.64.75.1:56923/DeviceDescription.xml]http://10.64.75.1:56923/DeviceDescription.xml[/url]
foo_upnp: FINEST: header NTS: ssdp:alive
foo_upnp: FINEST: header CACHE-CONTROL: max-age=1800
foo_upnp: FINEST: header Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.1
foo_upnp: FINEST: header USN: uuid:93eed0e0-72ba-bde6-0261-93702c1243db::urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1
foo_upnp: FINEST: header NT: urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1
foo_upnp: FINEST: http request: NOTIFY * HTTP/1.1
foo_upnp: FINEST: header - Host: 239.255.255.250:1900
foo_upnp: FINEST: header - LOCATION: [url=http://10.64.75.1:56923/DeviceDescription.xml]http://10.64.75.1:56923/DeviceDescription.xml[/url]
foo_upnp: FINEST: header - NTS: ssdp:alive
foo_upnp: FINEST: header - CACHE-CONTROL: max-age=1800
foo_upnp: FINEST: header - Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.1
foo_upnp: FINEST: header - USN: uuid:93eed0e0-72ba-bde6-0261-93702c1243db::urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1
foo_upnp: FINEST: header NT: urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1
foo_upnp: FINEST: header Host: 239.255.255.250:1900
foo_upnp: FINEST: header LOCATION: [url=http://10.64.75.1:56923/DeviceDescription.xml]http://10.64.75.1:56923/DeviceDescription.xml[/url]
foo_upnp: FINEST: header NTS: ssdp:alive
foo_upnp: FINEST: header CACHE-CONTROL: max-age=1800
foo_upnp: FINEST: header Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.1
foo_upnp: FINEST: header USN: uuid:93eed0e0-72ba-bde6-0261-93702c1243db::urn:schemas-upnp-org:service:ContentDirectory:1
foo_upnp: FINEST: header NT: urn:schemas-upnp-org:service:ContentDirectory:1
foo_upnp: FINEST: http request: NOTIFY * HTTP/1.1
foo_upnp: FINEST: header - Host: 239.255.255.250:1900
foo_upnp: FINEST: header - LOCATION: [url=http://10.64.75.1:56923/DeviceDescription.xml]http://10.64.75.1:56923/DeviceDescription.xml[/url]
foo_upnp: FINEST: header - NTS: ssdp:alive
foo_upnp: FINEST: header - CACHE-CONTROL: max-age=1800
foo_upnp: FINEST: header - Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.1
foo_upnp: FINEST: header - USN: uuid:93eed0e0-72ba-bde6-0261-93702c1243db::urn:schemas-upnp-org:service:ContentDirectory:1
foo_upnp: FINEST: header NT: urn:schemas-upnp-org:service:ContentDirectory:1
foo_upnp: FINEST: header Host: 239.255.255.250:1900
foo_upnp: FINEST: header LOCATION: [url=http://10.64.75.1:56923/DeviceDescription.xml]http://10.64.75.1:56923/DeviceDescription.xml[/url]
foo_upnp: FINEST: header NTS: ssdp:alive
foo_upnp: FINEST: header CACHE-CONTROL: max-age=1800
foo_upnp: FINEST: header Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.1
foo_upnp: FINEST: header USN: uuid:93eed0e0-72ba-bde6-0261-93702c1243db::urn:schemas-upnp-org:service:ConnectionManager:1
foo_upnp: FINEST: header NT: urn:schemas-upnp-org:service:ConnectionManager:1
foo_upnp: FINEST: http request: NOTIFY * HTTP/1.1
foo_upnp: FINEST: header - Host: 239.255.255.250:1900
foo_upnp: FINEST: header - LOCATION: [url=http://10.64.75.1:56923/DeviceDescription.xml]http://10.64.75.1:56923/DeviceDescription.xml[/url]
foo_upnp: FINEST: header - NTS: ssdp:alive
foo_upnp: FINEST: header - CACHE-CONTROL: max-age=1800
foo_upnp: FINEST: header - Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.1
foo_upnp: FINEST: header - USN: uuid:93eed0e0-72ba-bde6-0261-93702c1243db::urn:schemas-upnp-org:service:ConnectionManager:1
foo_upnp: FINEST: header NT: urn:schemas-upnp-org:service:ConnectionManager:1
foo_upnp: FINEST: header Host: 239.255.255.250:1900
foo_upnp: FINEST: header LOCATION: [url=http://10.64.75.1:56923/DeviceDescription.xml]http://10.64.75.1:56923/DeviceDescription.xml[/url]
foo_upnp: FINEST: header NTS: ssdp:alive
foo_upnp: FINEST: header CACHE-CONTROL: max-age=1800
foo_upnp: FINEST: header Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.1
foo_upnp: FINEST: header USN: uuid:93eed0e0-72ba-bde6-0261-93702c1243db
foo_upnp: FINEST: header NT: uuid:93eed0e0-72ba-bde6-0261-93702c1243db
foo_upnp: FINEST: http request: NOTIFY * HTTP/1.1
foo_upnp: FINEST: header - Host: 239.255.255.250:1900
foo_upnp: FINEST: header - LOCATION: [url=http://10.64.75.1:56923/DeviceDescription.xml]http://10.64.75.1:56923/DeviceDescription.xml[/url]
foo_upnp: FINEST: header - NTS: ssdp:alive
foo_upnp: FINEST: header - CACHE-CONTROL: max-age=1800
foo_upnp: FINEST: header - Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.1
foo_upnp: FINEST: header - USN: uuid:93eed0e0-72ba-bde6-0261-93702c1243db
foo_upnp: FINEST: header NT: uuid:93eed0e0-72ba-bde6-0261-93702c1243db

10.x.x.x
Code: [Select]
foo_upnp: FINE: creating thread
foo_upnp: FINE: thread in =======================
foo_upnp: FINEST: http request: GET /DeviceDescription.xml HTTP/1.1
foo_upnp: FINEST: header - Authorization: Basic XXXXXXXX
foo_upnp: FINEST: header - User-Agent: Platinum/0.5.1, DLNADOC/1.50 / foobar2000
foo_upnp: FINEST: header Host: 10.64.75.1:56923
foo_upnp: INFO: received WAN request: [url=http://10.64.75.1:56923/DeviceDescription.xml]http://10.64.75.1:56923/DeviceDescription.xml[/url] (User-Agent: Platinum/0.5.1, DLNADOC/1.50 / foobar2000)
foo_upnp: INFO: ProcessGetDescription: user-agent: Platinum/0.5.1, DLNADOC/1.50 / foobar2000
foo_upnp: FINEST: header Server: Platinum/0.5.1
foo_upnp: FINEST: header Content-Length: 2875
foo_upnp: FINEST: header Content-Type: text/xml; charset="utf-8"
foo_upnp: FINEST: header Connection: keep-alive
foo_upnp: FINE: NPT_CHECK failed, result=-20014 (NPT_ERROR_TIMEOUT) [(stream.ReadLine(line, NPT_HTTP_PROTOCOL_MAX_LINE_LENGTH))]
foo_upnp: FINE: creating thread
foo_upnp: FINE: thread in =======================
foo_upnp: FINEST: http request: GET /X_MS_MediaReceiverRegistrar/93eed0e0-72ba-bde6-0261-93702c1243db/scpd.xml HTTP/1.1
foo_upnp: FINEST: header - Authorization: Basic XXXXXXXX
foo_upnp: FINEST: header - User-Agent: Platinum/0.5.1, DLNADOC/1.50 / foobar2000
foo_upnp: FINEST: header Host: 10.64.75.1:56923
foo_upnp: FINEST: header Server: Platinum/0.5.1
foo_upnp: FINEST: header Connection: keep-alive
foo_upnp: FINEST: header Content-Length: 2768
foo_upnp: FINEST: header Content-Type: text/xml; charset="utf-8"
foo_upnp: FINE: creating thread
foo_upnp: FINE: thread in =======================
foo_upnp: FINEST: http request: GET /ContentDirectory/93eed0e0-72ba-bde6-0261-93702c1243db/scpd.xml HTTP/1.1
foo_upnp: FINEST: header - Authorization: Basic XXXXXXXX
foo_upnp: FINEST: header - User-Agent: Platinum/0.5.1, DLNADOC/1.50 / foobar2000
foo_upnp: FINEST: header Host: 10.64.75.1:56923
foo_upnp: FINEST: header Server: Platinum/0.5.1
foo_upnp: FINEST: header Connection: keep-alive
foo_upnp: FINEST: header Content-Length: 6818
foo_upnp: FINEST: header Content-Type: text/xml; charset="utf-8"
foo_upnp: FINE: creating thread
foo_upnp: FINE: thread in =======================
foo_upnp: FINEST: http request: GET /ConnectionManager/93eed0e0-72ba-bde6-0261-93702c1243db/scpd.xml HTTP/1.1
foo_upnp: FINEST: header - Authorization: Basic XXXXXXXX
foo_upnp: FINEST: header - User-Agent: Platinum/0.5.1, DLNADOC/1.50 / foobar2000
foo_upnp: FINEST: header Host: 10.64.75.1:56923
foo_upnp: FINEST: header Server: Platinum/0.5.1
foo_upnp: FINEST: header Connection: keep-alive
foo_upnp: FINEST: header Content-Length: 4410
foo_upnp: FINEST: header Content-Type: text/xml; charset="utf-8"

192.168.x.x
Code: [Select]
foo_upnp: FINE: creating thread
foo_upnp: FINE: thread in =======================
foo_upnp: FINEST: http request: GET /DeviceDescription.xml HTTP/1.1
foo_upnp: FINEST: header - Authorization: Basic XXXXXXXX
foo_upnp: FINEST: header - User-Agent: Platinum/0.5.1, DLNADOC/1.50 / foobar2000
foo_upnp: FINEST: header Host: 192.168.5.185:56923
foo_upnp: INFO: received WAN request: [url=http://192.168.5.185:56923/DeviceDescription.xml]http://192.168.5.185:56923/DeviceDescription.xml[/url] (User-Agent: Platinum/0.5.1, DLNADOC/1.50 / foobar2000)
foo_upnp: INFO: ProcessGetDescription: user-agent: Platinum/0.5.1, DLNADOC/1.50 / foobar2000
foo_upnp: FINEST: header Server: Platinum/0.5.1
foo_upnp: FINEST: header Content-Length: 2875
foo_upnp: FINEST: header Content-Type: text/xml; charset="utf-8"
foo_upnp: FINEST: header Connection: keep-alive
foo_upnp: FINE: creating thread
foo_upnp: FINE: thread in =======================
foo_upnp: FINEST: http request: GET /X_MS_MediaReceiverRegistrar/93eed0e0-72ba-bde6-0261-93702c1243db/scpd.xml HTTP/1.1
foo_upnp: FINEST: header - Authorization: Basic XXXXXXXX
foo_upnp: FINEST: header - User-Agent: Platinum/0.5.1, DLNADOC/1.50 / foobar2000
foo_upnp: FINEST: header Host: 192.168.5.185:56923
foo_upnp: FINEST: header Server: Platinum/0.5.1
foo_upnp: FINEST: header Connection: keep-alive
foo_upnp: FINEST: header Content-Length: 2768
foo_upnp: FINEST: header Content-Type: text/xml; charset="utf-8"
foo_upnp: FINE: creating thread
foo_upnp: FINE: thread in =======================
foo_upnp: FINEST: http request: GET /ContentDirectory/93eed0e0-72ba-bde6-0261-93702c1243db/scpd.xml HTTP/1.1
foo_upnp: FINEST: header - Authorization: Basic XXXXXXXX
foo_upnp: FINEST: header - User-Agent: Platinum/0.5.1, DLNADOC/1.50 / foobar2000
foo_upnp: FINEST: header Host: 192.168.5.185:56923
foo_upnp: FINEST: header Server: Platinum/0.5.1
foo_upnp: FINEST: header Connection: keep-alive
foo_upnp: FINEST: header Content-Length: 6818
foo_upnp: FINEST: header Content-Type: text/xml; charset="utf-8"
foo_upnp: FINE: creating thread
foo_upnp: FINE: thread in =======================
foo_upnp: FINEST: http request: GET /ConnectionManager/93eed0e0-72ba-bde6-0261-93702c1243db/scpd.xml HTTP/1.1
foo_upnp: FINEST: header - Authorization: Basic XXXXXXXX
foo_upnp: FINEST: header - User-Agent: Platinum/0.5.1, DLNADOC/1.50 / foobar2000
foo_upnp: FINEST: header Host: 192.168.5.185:56923
foo_upnp: FINEST: header Server: Platinum/0.5.1
foo_upnp: FINEST: header Connection: keep-alive
foo_upnp: FINEST: header Content-Length: 4410
foo_upnp: FINEST: header Content-Type: text/xml; charset="utf-8"
Title: foo_upnp
Post by: peld on 2009-08-25 18:11:56
I have a little question:

Is there way to stream an audio cd from my computer directly to a upnp client via the upnp mediaserver?

Ive tried to open the Audio CD-Playlist on the upnp-client but it doesnt show any track in it.
Title: foo_upnp
Post by: bubbleguuum on 2009-08-25 19:06:14
Ive tried to open the Audio CD-Playlist on the upnp-client but it doesnt show any track in it.


The plugin only exposes http and file items but it could probably work with audio-cd tracks as well.
Adding in the feature request list.

Title: foo_upnp
Post by: peld on 2009-08-26 01:11:13
The plugin only exposes http and file items but it could probably work with audio-cd tracks as well.
Adding in the feature request list.

Ok, thank you! 
Title: foo_upnp
Post by: wraithdu on 2009-08-27 06:40:02
I'm curious how the upnp server manages announcing itself on the network to new upnp clients?  I've noticed when running fb2k from my laptop with the upnp browser panel that my Orb server shows up almost immediately, while I have to wait sometimes several minutes before my fb2k upnp server shows up (both servers are running on the same computer).  Is this just a hard coded delay between 'announcements'?

I'll admit I'm pretty ignorant when it comes to how upnp really works, so if 'announce' is the wrong term you'll have to forgive me
Title: foo_upnp
Post by: wraithdu on 2009-08-27 14:08:41
After more playing around, I'm not sure where the hangup is. The fb2k upnp browser finds my Orb server immediately, and WMP finds the fb2k server
right away as well. So the fb2k counterparts don't like eachother? I'm so confused...
Title: foo_upnp
Post by: bubbleguuum on 2009-08-27 16:56:03
After more playing around, I'm not sure where the hangup is. The fb2k upnp browser finds my Orb server immediately, and WMP finds the fb2k server
right away as well. So the fb2k counterparts don't like eachother? I'm so confused...


There's a problem I need to figure out where either fb or WMP won't see another fb instance.
Title: foo_upnp
Post by: wraithdu on 2009-08-27 18:48:04
Ok, good to know I'm not losing it  I was trying to troubleshoot this, playing around with OpenVPN and Windows Firewall, for a few hours the other night to no avail.
Title: foo_upnp
Post by: bubbleguuum on 2009-08-28 01:39:02
Ok, good to know I'm not losing it  I was trying to troubleshoot this, playing around with OpenVPN and Windows Firewall, for a few hours the other night to no avail.



A silly bug introduced in 0.99.11 now fixed (first post to download):

0.99.12
---------

- silly mistake made the Media Server not appear in fb2k browser and WMP
- PlugPlayer profile will transcode lossless if Internet connection (needs to remove of foo_upnp.xml to be applied, otherwise unckeck manually "lossless" and "internet" for this profile).
- use more recent SDK
Title: foo_upnp
Post by: wraithdu on 2009-08-28 04:48:59
The download link is wrong in the first post (but I found it one level up in the foo_upnp directory).  I've verified 0.99.12 in Properties -> Components.

However the server is still not being found in the fb2k upnp browser, and now not in WMP either.  I removed foo_upnp.xml from both server and browser just to be sure.  Orb is still showing up OK, and PlugPlayer is also working well.

My system specs in case it matters:

Win7 RTM
fb2k 0.9.6.8
upnp 0.99.12

If you need other info, just let me know.
Title: foo_upnp
Post by: bubbleguuum on 2009-08-28 19:06:53
However the server is still not being found in the fb2k upnp browser, and now not in WMP either.


Strange. Works for me? here. Using fb on XP as the server and fb/wmp on Win7 Beta in VirtualBox.
0.99.11 was definitely broken in this regard though.
Title: foo_upnp
Post by: wraithdu on 2009-08-28 23:49:42
Ok, so I've done a crapload of testing here, and come up with something (I guess).  I think there was some kind of conflict with Orb, so I uninstalled it.  After this I was still having problems.  I would restart my server computer (fb2k is set to startup with Win7) and I couldn't find the server.  If I were to restart the fb2k upnp server or restart fb2k, THEN it would show up.  WTH?  So I disabled the automatic startup of fb2k, and manually started it after the computer was fully running.  NOW my fb2k browser and WMP were able to find the server without any issue.

Any ideas on that one?  How often does the upnp server broadcast itself to Windows/network?  Just once on startup?  Every few minutes?  Does upnp even work that way?
Title: foo_upnp
Post by: wraithdu on 2009-08-29 04:07:11
Here's another piece to the puzzle, at least this time it's reproduceable.

1.  Restart server computer.
2.  Wait a minute, start fb2k server, wait a minute, start fb2k browser (on laptop) -> upnp server is visible in browser.
3.  Start OpenVPN on server, wait a minute, restart fb2k browser -> upnp server is STILL visible in browser.
4.  Restart fb2k on the server computer (not the whole computer), wait a minute, restart browser -> upnp is NO LONGER visible in browser.
5.  Close OpenVPN on server, wait a minute, restart browser -> upnp is STILL NOT visible in browser.
6.  Restart fb2k on the server computer, wait a minute, restart browser -> upnp is STILL NOT visible in browser.

At this point, nothing brings back the server in the browser but a restart of the server computer.  So there is some conflict here as well with OpenVPN.  I've googled, but I can't find any info on OpenVPN causing problems with upnp devices.  As I said before, Orb was always visible in the fb2k browser regardless of OpenVPN.
Title: foo_upnp
Post by: bubbleguuum on 2009-08-29 11:27:49
Autodiscovery uses the SSDP protocol which in turn uses UDP Multicast to announce devices. Whenever the server does not appear in the browser it is most likely UDP multicast packets that are not received by the client.
Each time the server is launched it announces itself on the network. When the browser is instanciated (either by launching fb2k or adding it to the layout), it sends an UDP multicast  Search  packet to which exisitng UPnP devices respond.
Hope this clears up how it works a bit.
It seems OpenVPN may have a problem with multicast but there's not a lot of info for it. This guy seems to have a similar problem where multicast packets won't be received:
http://openvpn.net/archive/openvpn-users/2...2/msg00156.html (http://openvpn.net/archive/openvpn-users/2006-12/msg00156.html)
What's strange is that upnp is not working anymore when you shutdown OpenVPN. But I'm not that surprised as I had UPnP not working anymore in some cases after using wireshark, and had to reboot.

I'll probably play myself with OpenVPN and i'll see how it goes. It is not totally impossible the plugin could do sth better when there is a VPN.
Title: foo_upnp
Post by: wraithdu on 2009-08-29 17:50:21
Each time the server is launched it announces itself on the network.

What/who keeps track of this announcement?  The server's OS?  If so, that might explain why it wasn't working if I started fb2k immediately with Windows.  Currently I set up a scheduled logon task that launches fb2k after a 30 second delay.  That works well

The OpenVPN thing is puzzling.  That person's post deals with upnp traversing an OpenVPN tunnel.  Here, just the fact that an OpenVPN tunnel ever existed seems to be causing problems on the local network.
Title: foo_upnp
Post by: wraithdu on 2009-08-29 18:11:14
I've had some modest success!  I was looking through my router settings and found an option in the firewall that blocks multicast traffic.  This has always been enabled by default, and I didn't think to change it because it shouldn't mean anything to the local internal network, only inbound internet traffic.  I turned it off anyway, and rebooted the whole network (modem, router, all computers).  Again I tested the list as above.  This time however, 90% of the time the fb2k server is found by the browser, regardless of the state of OpenVPN.  This is good news!  Why it doesn't work 100% of the time I don't know, but 90 is better than 0. Sometimes I still have to restart fb2k on the server computer several times until the browser can find it, but after it finds it once it seems to always find it after that for that run of the fb2k server.

This got me thinking.  Suppose my router was somehow interfereing with multicast.  Is it possible that your upnp framework uses unicast if it only detects one subnet on the host computer?  This would explain why it works just fine before OpenVPN is introduced.  Then after it is restarted and sees the OpenVPN network it switches to multicast?  I'm guessing wildly here, but there has to be some reason for this behavior.

A few suggestions to make things run a little more smoothly maybe:

1)  Have the server re-announce itself every few minutes, or once a minute, or whatever.  Hopefully that is standards compliant...
2)  Place a manual refresh button in the browser so you can manually search for new (or old) upnp devices without having to restart fb2k.

I have a feeling there's a timing issue somewhere in here that is elusive, so these two changes might help alleviate that.
Title: foo_upnp
Post by: MordredKLB on 2009-09-02 00:52:27
So I'm having a weird problem. When I try and right click on the browser panel to bring up the context menu so that I can add my remote server, I get this context menu:

(http://i26.tinypic.com/v6ri4k.png)

I don't seem to get a UPnP context menu, no matter what I do. Any ideas what could be causing this? I don't seem to have this problem with any other ui_columns elements.
Title: foo_upnp
Post by: icwong on 2009-09-02 05:37:06
EDIT: you can try to set a column to $meta(artist,0) and see if it always display the artist.

Thanks for the suggestion.  I tried it and it is returning "Unknown".  I still can't find a pattern as to when it gets the artist tag successfully and when it does not.  Is there any other test I can do to help?


I had some more time to look into this and here's what I found.

In the properties of a file that does not show the artist properly, I see:

<UPNPDIDL>:
Code: [Select]
<DIDL-Lite xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/"><item id="1$12$1684301006$1684301013$3026479887" refID="1$268435466$2013266774" parentID="1$12$1684301006$1684301013" restricted="1">
  <dc:title>Party Up</dc:title>
  <dc:creator>Unknown</dc:creator>
  <upnp:artist>DMX</upnp:artist>
  <upnp:album>Unknown</upnp:album>
  <upnp:genre>Unknown</upnp:genre>
  <res size="6446891" duration="0:04:29.000" protocolInfo="http-get:*:audio/mpeg:DLNA.ORG_PN=MP3;DLNA.ORG_OP=01;DLNA.ORG_FLAGS=01700000000000000000000000000000">http://removedip/disk/music/DLNA-PNMP3-OP01-FLAGS01700000/O1$12$1684301006$1684301013$3026479887.mp3</res>
  <upnp:class>object.item.audioItem.musicTrack</upnp:class>
</item></DIDL-Lite>

<UPNPSIZE>:
6446891




This second file does show the artist, but only when foobar actually plays the song.  I don't know why it only shows the artist when it plays the song, because when I look at the file properties through foobar, the UPNP tags appear to be complete:

<UPNPDIDL>:
Code: [Select]
<DIDL-Lite xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/"><item id="1$12$1684301006$1684301013$3026479965" refID="1$268435466$2013266813" parentID="1$12$1684301006$1684301013" restricted="1">
  <dc:title>On My Block</dc:title>
  <dc:creator>Unknown</dc:creator>
  <upnp:artist>Scarface</upnp:artist>
  <upnp:album>Unknown</upnp:album>
  <upnp:genre>Blues</upnp:genre>
  <dc:date>2002-01-01</dc:date>
  <res size="5079839" duration="0:03:32.000" protocolInfo="http-get:*:audio/mpeg:DLNA.ORG_PN=MP3;DLNA.ORG_OP=01;DLNA.ORG_FLAGS=01700000000000000000000000000000">http://removedip/disk/music/DLNA-PNMP3-OP01-FLAGS01700000/O1$12$1684301006$1684301013$3026479965.mp3</res>
  <upnp:class>object.item.audioItem.musicTrack</upnp:class>
</item></DIDL-Lite>

<UPNPSIZE>:
5079839


I am using foobar 9.6.9 and foo_upnp 0.99.12.  Files are being streamed from a TwonkyMedia Server 4.4.17.  Clearly the artist information does exist for both files, but for the first one, it never shows it in foobar, and in the second one, it only shows when I play the song.  (As an aside, the track title always appears.)

Nobody else have this issue?
Title: foo_upnp
Post by: bubbleguuum on 2009-09-02 20:26:35
I am using foobar 9.6.9 and foo_upnp 0.99.12.  Files are being streamed from a TwonkyMedia Server 4.4.17.  Clearly the artist information does exist for both files, but for the first one, it never shows it in foobar, and in the second one, it only shows when I play the song.  (As an aside, the track title always appears.)


Fixed in 0.99.13 (first post to download):

- browser: fix: %artist% not appearing with Twonky and possibly other Media Servers (was using dc:creator instead of upnp:artist)
- server: new: can stream cdda:// items. Play works only if cd not playing on the server. Seek is slow
- server: fix: can stream (as PCM or MP3) xa:// items managed by foo_adpcm, and other foo_adpcm items without crashing.
Title: foo_upnp
Post by: bubbleguuum on 2009-09-02 20:42:51
I don't seem to get a UPnP context menu, no matter what I do. Any ideas what could be causing this? I don't seem to have this problem with any other ui_columns elements.


What CUI container did you use to put the upnp panel in ?
Title: foo_upnp
Post by: MordredKLB on 2009-09-02 23:07:33
What CUI container did you use to put the upnp panel in ?

Panel Stack Splitter
Title: foo_upnp
Post by: bubbleguuum on 2009-09-02 23:22:46
What CUI container did you use to put the upnp panel in ?

Panel Stack Splitter


Did you try right-clicking in an empty area of the browser ? displays the browser's menu for me.
Title: foo_upnp
Post by: MordredKLB on 2009-09-02 23:37:54
Did you try right-clicking in an empty area of the browser ? displays the browser's menu for me.

Yup. No matter where I click I get the exact same menu, unless I right click on the text box, and then I get the Cut/Copy/Paste contextual menu. Is there any way another panel could somehow be interfering? I assume that menu I'm getting is for the PSS because I have the option to add panels/splitters/etc. into the container. I move the PSS containing the UPnP Browser to the top of the stack, and still have the same problem, so I don't really know what to do.
Title: foo_upnp
Post by: Dauntless on 2009-09-03 03:15:59
I can't find any titles on my PS3. I find all the folders, including Artists, Albums and Playlists and more. But there are no titles :\ Have I done anything wrong? I tried searching the thread, but found nothing.
Title: foo_upnp
Post by: marc2003 on 2009-09-03 03:42:35
Panel Stack Splitter


how are you positioning your panel? i find some panels won't show the context menu if using $movepanel_c  - instead use the panel list to set this stuff.
Title: foo_upnp
Post by: Googer on 2009-09-03 06:08:30
Great plugin - with fb2k's great codec support this should mean, for example, that I should be able to listen to all the various game formats from foo_gep, etc., on my 360.  I say should, as opposed to can, because I'm finding that a lot of formats (mainly ones with subsongs) aren't working properly.  On another instance of fb2k, I get 404 errors (Unable to open item for playback (File Not Found (404)):
"upnp://aHR0cDovLzE5Mi4xNjguMC4xOTc6NTY5MjMvY29udGVudC8wYTE1MGYyMmQwYTc4NmMyODdmYzY3YzAwYzY3NDdjYS5taW5pMnNm") trying to actually play a lot of them from the server and they similarly don't work from my 360, presumably for the same reason.

My sources are mostly the archives from vgm.hcs64.com.  NSF's are somewhat hit-or-miss, SPC's and VGM's don't work at all, etc., etc.  Is this a known limitation / problem that I missed or have I stumbled across a new bug?  FWIW, I left the songs in their archives as-downloaded, but they do in fact show up in and play fine when browsing the local song library and they obviously are selectable for playing via UPnP; just the actual playing doesn't work...
Title: foo_upnp
Post by: bubbleguuum on 2009-09-03 12:53:23
Great plugin - with fb2k's great codec support this should mean, for example, that I should be able to listen to all the various game formats from foo_gep, etc., on my 360.  I say should, as opposed to can, because I'm finding that a lot of formats (mainly ones with subsongs) aren't working properly.


Probably a bug, never tried items managed by foo_gep. I'll try and see how it goes.
Title: foo_upnp
Post by: MordredKLB on 2009-09-03 16:48:48
Panel Stack Splitter


how are you positioning your panel? i find some panels won't show the context menu if using $movepanel_c  - instead use the panel list to set this stuff.


Well, I was using $movepanel_c, but on your suggestion I took that out and still no dice. I've tried it with different themes, in different containers, and still no luck. Is there possibly some kind of dependency or version incompatibility that I'm overlooking?
Title: foo_upnp
Post by: bubbleguuum on 2009-09-03 18:35:20
Well, I was using $movepanel_c, but on your suggestion I took that out and still no dice. I've tried it with different themes, in different containers, and still no luck. Is there possibly some kind of dependency or version incompatibility that I'm overlooking?


It works for me with CUI 0.3.7.8, Panel Stack Splitter 0.3.8(alpha) with this simple disposition in CUI

Code: [Select]
Panel Stack Splitter
          UPnP Browser


Maybe you have a Panel Stack Splitter option enabled that conflicts with panels menus ?

Anyway in a future version, the "connect to remote server" functionality will also be exposed in the main menu.
Title: foo_upnp
Post by: bubbleguuum on 2009-09-03 19:39:43
Great plugin - with fb2k's great codec support this should mean, for example, that I should be able to listen to all the various game formats from foo_gep, etc., on my 360.  I say should, as opposed to can, because I'm finding that a lot of formats (mainly ones with subsongs) aren't working properly.  On another instance of fb2k, I get 404 errors (Unable to open item for playback (File Not Found (404)):
"upnp://aHR0cDovLzE5Mi4xNjguMC4xOTc6NTY5MjMvY29udGVudC8wYTE1MGYyMmQwYTc4NmMyODdmYzY3YzAwYzY3NDdjYS5taW5pMnNm") trying to actually play a lot of them from the server and they similarly don't work from my 360, presumably for the same reason.

My sources are mostly the archives from vgm.hcs64.com.  NSF's are somewhat hit-or-miss, SPC's and VGM's don't work at all, etc., etc.  Is this a known limitation / problem that I missed or have I stumbled across a new bug?  FWIW, I left the songs in their archives as-downloaded, but they do in fact show up in and play fine when browsing the local song library and they obviously are selectable for playing via UPnP; just the actual playing doesn't work...


Ok I tried and it mostly works using 0.99.13 (older versions may have problems if files have bitspersample < 16).

unpack:// items (ie 7z archives managed by foo_unpack_7z) must be streamed as PCM (or transcoded to mp3). It cannot be streamed as is but this is what the foobar2000
streaming profile will try to do by default (this is why you get a 404 error) unless you modify it. In the foobar2000 profile, you can add file extensions in the Decode to PCM section (real extensions, not the 7z extension), so these files are streamed as PCM (WAV). In the next version of the plugin, unpack:// items will be always streamed as PCM so it will be unecessary to add exception extensions.
Note that there shouldn't be any problem playing files as is, if you extract them first of the 7z and put them in a playlist.

On the X360, unpack:// items should work out of the box as stream is forced to LPCM anyway for this profile for anything that is not mp3,aac,wma. I'm surprised it didn't. You may want to remove the plugin's configuration file (foo_upnp.xml) to regenerate the default profiles. It is located either in your foobar directory or in c:\Documents And Settings\<you login>\Application Data\foobar2000.
Can you point me to an archive that didn't work on your 360? It tried successfully with Addams Family Values (1995)(Ocean).7z (contains SPC).

I could also play a NSF successfully, namely Family Mahjong (1987)(-)(Namco).nsf. Also automatically forced to PCM, as all formats that have a subsong.
Title: foo_upnp
Post by: peld on 2009-09-03 21:28:50
Just wanted to thank bubbleguum for the implementation of CDDA support. Works quite well.
Thank you!
Title: foo_upnp
Post by: MordredKLB on 2009-09-03 21:35:01
It works for me with CUI 0.3.7.8, Panel Stack Splitter 0.3.8(alpha) with this simple disposition in CUI

Code: [Select]
Panel Stack Splitter
           UPnP Browser


Maybe you have a Panel Stack Splitter option enabled that conflicts with panels menus ?

Anyway in a future version, the "connect to remote server" functionality will also be exposed in the main menu.

Well, I updated my CUI and Panel Stack Splitter to the same or newer versions that you have and still have the same issue. For testing I used the exact same PSS->UPnP setup with nothing else. I tried changing the base container type from PSS to Tab Stack which was a problem because after doing that I couldn't get any context menu to come up. I have the titlebar disabled by default and there was no way to load the properties page (because CTRL+P doesn't work on the UPnP panels either). Anyway I'll just await the next version which allows you to add remote servers in the Tools menu

Thanks for trying to help.
Title: foo_upnp
Post by: Googer on 2009-09-05 01:53:54
Ok I tried and it mostly works using 0.99.13 (older versions may have problems if files have bitspersample < 16).

unpack:// items (ie 7z archives managed by foo_unpack_7z) must be streamed as PCM (or transcoded to mp3). It cannot be streamed as is but this is what the foobar2000
streaming profile will try to do by default (this is why you get a 404 error) unless you modify it. In the foobar2000 profile, you can add file extensions in the Decode to PCM section (real extensions, not the 7z extension), so these files are streamed as PCM (WAV). In the next version of the plugin, unpack:// items will be always streamed as PCM so it will be unecessary to add exception extensions.
Note that there shouldn't be any problem playing files as is, if you extract them first of the 7z and put them in a playlist.

On the X360, unpack:// items should work out of the box as stream is forced to LPCM anyway for this profile for anything that is not mp3,aac,wma. I'm surprised it didn't. You may want to remove the plugin's configuration file (foo_upnp.xml) to regenerate the default profiles. It is located either in your foobar directory or in c:\Documents And Settings\<you login>\Application Data\foobar2000.
Can you point me to an archive that didn't work on your 360? It tried successfully with Addams Family Values (1995)(Ocean).7z (contains SPC).

I could also play a NSF successfully, namely Family Mahjong (1987)(-)(Namco).nsf. Also automatically forced to PCM, as all formats that have a subsong.
I took your advice with deleting the foo_upnp.xml from my foobar2000 profile directory and sure enough, it seems to be mostly well-behaved now, possibly perfectly on the 360 (I haven't done truly exhaustive testing yet but thus far everything has played fine).  I had only started using foo_upnp with 0.99.12 and based on your changelog I didn't think 12->13 should have made a difference as far as possibly having a stale configuration getting in the way but whatever.

There's still problems with the foobar2000 profile but you already explained what and why, that it should be fixed in the next version, and a couple possible work-arounds I could do for the time-being if I'm impatient (either unpack the archives or add .spc, etc., as filetypes that must be transcoded).  Thanks!

-

Now, I do have a question about browsing on the 360.  Since a lot of games have multiple artists, with the default browsing they get broken up into multiple albums.  I can't figure out for the life of me how to fix this - I first tried removing %album artist% from the Albums subtree in foo_upnp_ml_tree.xml but that only fixed this when browsing on my PC, so I thought perhaps you were basing the browsing on the media library's 'by album' formatting instead, but pulling album artist out of its first level of browsing didn't help either.  What am I missing, or is this hard-coded right now?
Title: foo_upnp
Post by: icwong on 2009-09-06 23:35:59
- browser: fix: %artist% not appearing with Twonky and possibly other Media Servers (was using dc:creator instead of upnp:artist)


Works for me!  Thank you for the fix!
Title: foo_upnp
Post by: valand on 2009-09-10 03:52:22
Can anyone tell me how to enable UPnP Controller UI Element?
Thank you very much! 

--
I've got it!
It's perfect!
Title: foo_upnp
Post by: Zayfod on 2009-09-15 00:51:24
Hi,
  I'm trying to alter the tree file so as to display things sorted by a custom tag, but the syntax is eluding me.
So far I've got this

   <SubTree label="Scene">
      <spec>%SCENE%</spec>
      <spec type="object.container.album.musicAlbum">%SCENE%</spec>
   </SubTree>

which produces a list that goes
scene tag --- scene tag [album artist] --- tracks

and will only display all tracks under a scene tag once all the album artists have been explored.
What I'm aiming for the list to sort as
scene tag --- tracks

to display all tracks from the scene tag, but I can't work the syntax out, or find anything about it on the web.

Thanks

EDIT:-  Make that, it's a little unpredictable as to how it works. Right now it is displaying things
scene tag --- scene tag --- tracks  most odd...
Title: foo_upnp
Post by: Anomalous on 2009-09-15 03:00:34
Each <spec></spec> is a new folder level. Perhaps you just want some thing simple like

Code: [Select]
    <SubTree label="Scene">
        <spec>%SCENE%</spec>
    </SubTree>


I think it showing the tracks twice might be a bug, sounds like that same thing as this (http://www.hydrogenaudio.org/forums/index.php?showtopic=69664&st=300&p=651977&#entry651977).
Title: foo_upnp
Post by: bubbleguuum on 2009-09-15 23:27:01
to display all tracks from the scene tag, but I can't work the syntax out, or find anything about it on the web.


I you want to have a node holding a flat list of all tracks that have the SCENE tag, use:

Code: [Select]
<SubTree label="Scene" query="scene PRESENT"/>
Title: foo_upnp
Post by: bavan on 2009-09-21 10:25:42
Hi Bubblegum,

thanks for the excellent plug in. Since we recently discovered foobar with this UPNP functionality we finally were able to master our music collection in a much easier and flexible way.

I have a couple of remarks / issues I wanted to share when testing it within our environment.
I have the following media renderers: Philips NP2900, Teac WAP-4500, Samsung ue46b7020.

1) When playing songs from the UPNP queue, playback stops after one song has been played. I've found out when selecting the WAP-4500 as second device in the list, the philips NP2900 pops up as first device in the list, after playing one song your software switches to the philips np2900 (maybe because it's the first in the list and it steals away attention on your device manager) and afterwards it doesn't continue playing the second song on the WAP-4500. If I power off all devices except the WAP-4500 (it's then the one and only device in the list of media renderers) everything goes well and all songs are played perfectly one after the other.

2) When selecting the current UPNP playlist on your UPNP server to be played on a media renderer all plays well but when I clear your playlist and load a new couple of songs it doesn't refresh. So once the media renderer loads in the playlist the first loaded current playlist stays there, no matter whether your make a new list of songs or not, untill everything is powered of. It seems only the first time you connect to your plugin server the current playlist is loaded correctly. Changes afterwards are not loaded when doing a refresh.

3) When playing songs the artist name is not displayed correctly in the Foobar window of UPNP (it always says artist unknown). Only the track title shows up correctly. However on the media renderer devices everything shows up correctly.

Hopefully you can have a look at my remarks and find a solution for it.

I've installed al latest versions of software and plugin so that should be OK. Don't hesitate to contact me if you have questions or want me to test a number of things to solve this minor problems.

BR
Title: foo_upnp
Post by: bubbleguuum on 2009-09-21 19:46:55
1) When playing songs from the UPNP queue, playback stops after one song has been played. I've found out when selecting the WAP-4500 as second device in the list, the philips NP2900 pops up as first device in the list, after playing one song your software switches to the philips np2900 (maybe because it's the first in the list and it steals away attention on your device manager) and afterwards it doesn't continue playing the second song on the WAP-4500. If I power off all devices except the WAP-4500 (it's then the one and only device in the list of media renderers) everything goes well and all songs are played perfectly one after the other.


If I understand you correctly, in the UPnP Controller renderer combo box initially you had:

1. the np29000
2. the WAP-4500

You then select the WAP-4500, play a track on it via the UPnP Controller Queue and when it reached the end of track the np29000 was selected (in the combo box), instead of playing next track on the WAP-4500

The only thing I can think of happen is that the WAP-4500 disappeared from the list at end of track (which would indeed make the UPnP controller switch to the previous renderer in list.
There' no reason for a device to disappear suddenly except if it is powered off or if it crashes.

2) When selecting the current UPNP playlist on your UPNP server to be played on a media renderer all plays well but when I clear your playlist and load a new couple of songs it doesn't refresh. So once the media renderer loads in the playlist the first loaded current playlist stays there, no matter whether your make a new list of songs or not, untill everything is powered of. It seems only the first time you connect to your plugin server the current playlist is loaded correctly. Changes afterwards are not loaded when doing a refresh.


I'm not sure I understand what you mean. Can you describe step by step exactly what you did ? I assume the playlist you're talking about is the "UPnP Controller Playing Queue" playlist ?

3) When playing songs the artist name is not displayed correctly in the Foobar window of UPNP (it always says artist unknown). Only the track title shows up correctly. However on the media renderer devices everything shows up correctly.

That means for some reason the renderer sent back the artist name incorrectly to the UPnP Controller.

All of these problems are very difficult to troubleshoot without having the actual hardware.
Title: foo_upnp
Post by: bavan on 2009-09-21 21:55:08
[blockquote]
1) When playing songs from the UPNP queue, playback stops after one song has been played. I've found out when selecting the WAP-4500 as second device in the list, the philips NP2900 pops up as first device in the list, after playing one song your software switches to the philips np2900 (maybe because it's the first in the list and it steals away attention on your device manager) and afterwards it doesn't continue playing the second song on the WAP-4500. If I power off all devices except the WAP-4500 (it's then the one and only device in the list of media renderers) everything goes well and all songs are played perfectly one after the other.


If I understand you correctly, in the UPnP Controller renderer combo box initially you had:

1. the np29000
2. the WAP-4500

You then select the WAP-4500, play a track on it via the UPnP Controller Queue and when it reached the end of track the np29000 was selected (in the combo box), instead of playing next track on the WAP-4500

The only thing I can think of happen is that the WAP-4500 disappeared from the list at end of track (which would indeed make the UPnP controller switch to the previous renderer in list.
There' no reason for a device to disappear suddenly except if it is powered off or if it crashes.

[indent][/blockquote]Bubblegum I found out this behaviour might be caused specifically by the NP2900. In standby mode the NP2900 seems to keep the stream active in the background and polls the server about each minute to fast resume when you power it on again so the NP2900 immediately continues playing the song it was playing before when you put it in standby mode. This doesn't happen if you completely power off the NP2900. Philips calls this the fast resume feature and the funny thing is I haven't found any option to disable it for standby mode. It's the same when streaming music from the internet (internet radio). For one reason or the other Philips believes that when you power on the device from standby it should immediately continues to play music from where it was put in standby before. Probably when you use the device as a clock radio it needs to be that way to make sure it plays music when it awakes you in the morning. Maybe because of this feature the NP2900 steals away attention from your device manager? Probably it's the same for the NP2500 (same firmware) and maybe also the NP1200 (not sure as it has a different firmware compared to the NP2900). This behavious dissappears when you realy power off the NP2900 as the WAP-4500 then  plays normally song after song. I'm not sure if you could block such hijacks and if it makes sense what I'm trying to explain? I do not know whether you could power off a media renderer remotely by sending some command codes to it but having the option to click a software button to do this would certainly be a nice option to have on your plug in. Probably it could also be an option in the settings panel or an option in the UPnP control panel which can be clicked to first disable all media renderers except the one which was selected to play music. Just an idea?

[blockquote]
2) When selecting the current UPNP playlist on your UPNP server to be played on a media renderer all plays well but when I clear your playlist and load a new couple of songs it doesn't refresh. So once the media renderer loads in the playlist the first loaded current playlist stays there, no matter whether your make a new list of songs or not, untill everything is powered of. It seems only the first time you connect to your plugin server the current playlist is loaded correctly. Changes afterwards are not loaded when doing a refresh.


I'm not sure I understand what you mean. Can you describe step by step exactly what you did ? I assume the playlist you're talking about is the "UPnP Controller Playing Queue" playlist ?

[indent][/blockquote]Bubblegum I'm talking indeed about the "UPnp Controller Playing Queue" playlist. The first time you power on Foobar and select the UPnp controller playlist from the media renderer everything shows up normally. If you clear the UPnP controller playlist on the computer and load new songs into it, in fact build a new UPnp controller playlist with new selected songs, the media renderer keeps the first UPnP controller playlist still in his memory and doesn't load in the second new build UPnP controller playlist until you quit Foobar and start Foobar again. So in fact to make the media renderer load new build or changed UPnp controller playlists you need to quit Foobar and start it again in between new playlists. I hope this makes it a bit clear for you to understand what I mean. This behaviour is not media renderer specific as it happens on all the different devices I have.

[blockquote]
3) When playing songs the artist name is not displayed correctly in the Foobar window of UPNP (it always says artist unknown). Only the track title shows up correctly. However on the media renderer devices everything shows up correctly.

That means for some reason the renderer sent back the artist name incorrectly to the UPnP Controller.

[indent][/blockquote]Bubblegum, you are 100% right. It is the media renderer which is causing the unknow artist display within the Foobar UPnP window. The WAP-4500 doesn't seem to return the artist correctly although on its own display it shows up normally. Unfortunately not in the Foobar UPnP control displayed window. With the NP2900 all displays correctly so I'll send a note to Teac for their next WAP-4500 firmware release (current firmware = v1.2.3.4).

[blockquote]All of these problems are very difficult to troubleshoot without having the actual hardware.

[indent][/blockquote]Bubblegum I fully understand your remark and do also appreciate very much the effort you put in developping this plug in. I believe you have delivered a fine peace of software far much better than most of the big boys deliver out of the box. So if can help in debugging a number of things I would be more than happy to test future evolutions.  Let me know and keep up the good work.

Title: foo_upnp
Post by: bavan on 2009-09-21 23:33:33
[blockquote]
1) When playing songs from the UPNP queue, playback stops after one song has been played. I've found out when selecting the WAP-4500 as second device in the list, the philips NP2900 pops up as first device in the list, after playing one song your software switches to the philips np2900 (maybe because it's the first in the list and it steals away attention on your device manager) and afterwards it doesn't continue playing the second song on the WAP-4500. If I power off all devices except the WAP-4500 (it's then the one and only device in the list of media renderers) everything goes well and all songs are played perfectly one after the other.


If I understand you correctly, in the UPnP Controller renderer combo box initially you had:

1. the np29000
2. the WAP-4500

You then select the WAP-4500, play a track on it via the UPnP Controller Queue and when it reached the end of track the np29000 was selected (in the combo box), instead of playing next track on the WAP-4500

The only thing I can think of happen is that the WAP-4500 disappeared from the list at end of track (which would indeed make the UPnP controller switch to the previous renderer in list.
There' no reason for a device to disappear suddenly except if it is powered off or if it crashes.

[indent][/blockquote]Bubblegum I found out this behaviour might be caused specifically by the NP2900. In standby mode the NP2900 seems to keep the stream active in the background and polls the server about each minute to fast resume when you power it on again so the NP2900 immediately continues playing the song it was playing before when you put it in standby mode. This doesn't happen if you completely power off the NP2900. Philips calls this the fast resume feature and the funny thing is I haven't found any option to disable it for standby mode. It's the same when streaming music from the internet (internet radio). For one reason or the other Philips believes that when you power on the device from standby it should immediately continues to play music from where it was put in standby before. Probably when you use the device as a clock radio it needs to be that way to make sure it plays music when it awakes you in the morning. Maybe because of this feature the NP2900 steals away attention from your device manager? Probably it's the same for the NP2500 (same firmware) and maybe also the NP1200 (not sure as it has a different firmware compared to the NP2900). This behavious dissappears when you realy power off the NP2900 as the WAP-4500 then  plays normally song after song. I'm not sure if you could block such hijacks and if it makes sense what I'm trying to explain? I do not know whether you could power off a media renderer remotely by sending some command codes to it but having the option to click a software button to do this would certainly be a nice option to have on your plug in. Probably it could also be an option in the settings panel or an option in the UPnP control panel which can be clicked to first disable all media renderers except the one which was selected to play music. Just an idea?

[blockquote]
2) When selecting the current UPNP playlist on your UPNP server to be played on a media renderer all plays well but when I clear your playlist and load a new couple of songs it doesn't refresh. So once the media renderer loads in the playlist the first loaded current playlist stays there, no matter whether your make a new list of songs or not, untill everything is powered of. It seems only the first time you connect to your plugin server the current playlist is loaded correctly. Changes afterwards are not loaded when doing a refresh.


I'm not sure I understand what you mean. Can you describe step by step exactly what you did ? I assume the playlist you're talking about is the "UPnP Controller Playing Queue" playlist ?

[indent][/blockquote]Bubblegum I'm talking indeed about the "UPnp Controller Playing Queue" playlist. The first time you power on Foobar and select the UPnp controller playlist from the media renderer everything shows up normally. If you clear the UPnP controller playlist on the computer and load new songs into it, in fact build a new UPnp controller playlist with new selected songs, the media renderer keeps the first UPnP controller playlist still in his memory and doesn't load in the second new build UPnP controller playlist until you quit Foobar and start Foobar again. So in fact to make the media renderer load new build or changed UPnp controller playlists you need to quit Foobar and start it again in between new playlists. I hope this makes it a bit clear for you to understand what I mean. This behaviour is not media renderer specific as it happens on all the different devices I have.

[blockquote]
3) When playing songs the artist name is not displayed correctly in the Foobar window of UPNP (it always says artist unknown). Only the track title shows up correctly. However on the media renderer devices everything shows up correctly.

That means for some reason the renderer sent back the artist name incorrectly to the UPnP Controller.

[indent][/blockquote]Bubblegum, you are 100% right. It is the media renderer which is causing the unknow artist display within the Foobar UPnP window. The WAP-4500 doesn't seem to return the artist correctly although on its own display it shows up normally. Unfortunately not in the Foobar UPnP control displayed window. With the NP2900 all displays correctly so I'll send a note to Teac for their next WAP-4500 firmware release (current firmware = v1.2.3.4).

[blockquote]All of these problems are very difficult to troubleshoot without having the actual hardware.

[indent][/blockquote]Bubblegum I fully understand your remark and do also appreciate very much the effort you put in developping this plug in. I believe you have delivered a fine peace of software far much better than most of the big boys deliver out of the box. So if I can help in debugging a number of things I would be more than happy to test future evolutions.  Let me know and keep up the good work.


Title: foo_upnp
Post by: bavan on 2009-09-22 00:06:02
Bubblegum,

I was thinking on how to reproduce the problem I've found out with the NP-2900 & the WAP-4500.
Maybe the following thing is happening (I can not test it for the moment as the house is asleep now).

My wife starts foobar and the UPnp control panel is pointing to the NP2900 but she didn't notice (the order in which devices are displayed and selected in your panel as first, second or third seems to change from time to time). She makes a playlist in your UPnP control queue playlist and hits the button to play music.
Probably the NP2900 starts to play but she doesn't hear anything as it is placed in another room. Then without stopping the NP2900, probably she then discovered she first didn't select the WAP-4500 which was probably listed as second or third device and therefore initially not visible on your control panel, she selects the WAP-4500 and hits the play button again.
The WAP-4500 starts to play but stops after playing 1 song (probably the NP2900 takes over again when it changes songs ?).

Then afterwards the NP2900, even if it has finished the playlist, keeps steeling away control of the playlist because of its "Fast resume option" until a stop or multiple stops are send to it or till you power it off completely (Standby on the NP2900 keeps the stream alive in the background - See following URL on the Philips forum http://www.streamiumcafe.com/vBulletin/sho...ad.php?t=20612) (http://www.streamiumcafe.com/vBulletin/showthread.php?t=20612)).

Does this makes sense?

If yes would it be an option when you select another device than the one which is already playing for the UPnp control queued playlist to ask a question to stop the first selected device or by means of setting an option in the config that your plug in should send some commands to stop other device(s ?) making use of the current playlist when at the same time selecting another media renderer to start playing music from your control point?

I'll try to test this out somewhere this week if the wife allows me to spend time on it. Not always easy to keep the WAF positive with all these electronic gadgets in the house.

If you could make your plug in WAF proove for this that would be fantastic together with fixing the second point on the changed or new playlist loading from the media renderer itself (see previous post).

PS: I tried to attach the foobar config (zipped) file but don't know how this works on this forum.
Title: foo_upnp
Post by: itazurajackson on 2009-09-23 18:41:50
Observations: fantastic component, thank you!  I installed the latest foobar2k, loaded your component, adjusted my firewall settings, and was streaming successfully to a hardware renderer (Philips NP1100/37) on my LAN within minutes. I had been using foobar 0.8 for years and had never seen any compelling reason to upgrade to ver 0.9+, but this component offered sufficient impetus!

General feature request:
    Permit navigation of media library via directory structure.

Quirky self-serving feature request (driven by limitations of my hardware renderer):
    The Philips NP1100 has awful metadata display options during playback.  By default, only the track title is displayed.  With the push of a button on the remote, it is possible (but only on a track by track basis) to trigger a scrolling display that shows TITLE / ALBUM / ARTIST (in that order).  This is inconvenient -- not only because one needs to find and manually press a button on the remote for each track, but also because the scrolling speed on the unit's display is so dreadfully slow that waiting to see the album and artist data (which is what I really want in most cases) is a maddening exercise.  So here's my question: without actually altering the content of my files' tags, can I customize the nature/format of the "TITLE" data sent out by the server during playback to trick my Philips NP1100 into showing default "now playing" info that suits my preferences: (e.g. "%ARTIST% - %title% (%album%)".  A request framed by very local concerns, I know.... but may be relevant for users of other renderers?

Cheers




Title: foo_upnp
Post by: bavan on 2009-09-26 14:37:42
L&G's,

I've been trying to reproduce and isolate my problem on the WAP-4500 sometimes playing 1 or max 2 songs and then stopping playback using the uPnp control plug in from bubbleguum. I assumed it was due to the Philips NP2900 fast resume feature, as explained in above topics, but I'm afraid that's only part of the story. I discovered even with the NP2900 completely switched off I also have this issue on the WAP-4500. My WAP-4500 is connected after 2 switches (Netgear GS108T managed switch with multimedia QOS + Netgear G108 unmanaged swith - 8 port each) and I do not know whether this could cause a problem but when the WAP-4500 stops playing the uPnP control panel displays the message 'Play error: Actions failed (501)'.
Has anyone else encountered this type of uPnP control plug-in error and if Yes what does it mean?

To be sure I've enlarged all Foobar buffers for network and playback to the maximum value to see whether this could help but so far the issue is still there. Are there any other parameters / buffers in Foobar I could try to change to improve network connection / playback or control on a media renderer?

Thanks in advance for some good advice.
Title: foo_upnp
Post by: TREX6662k6 on 2009-09-26 18:03:10
Hey there,

Having a wee bit of a problem using this with Simplify Media.

I get error when attempting to play files over UPnP

Opening track for playback: "upnp://aHR0cDovLzE5Mi4xNjguMTkuMzg6NTc3MTkvUGxheS80MTI2MzYzNzI5LzY5MTcubXAz"
Could not read info (Reported file length changed) from: "upnp://aHR0cDovLzE5Mi4xNjguMTkuMzg6NTc3MTkvUGxheS80MTI2MzYzNzI5LzY5MTcubXAz"

Any ideas, if you need more info; fire away.
Title: foo_upnp
Post by: bubbleguuum on 2009-09-27 03:15:16
General feature request:
    Permit navigation of media library via directory structure.


This has been requested many times and is somewhat in the todo list but not sure when I'll implement it

Quote
So here's my question: without actually altering the content of my files' tags, can I customize the nature/format of the "TITLE" data sent out by the server during playback to trick my Philips NP1100 into showing default "now playing" info that suits my preferences: (e.g. "%ARTIST% - %title% (%album%)".

I understand what you mean and this is something I though about being configurable early on, but forgot about it. I'll see what I can do

when the WAP-4500 stops playing the uPnP control panel displays the message 'Play error: Actions failed (501)'.
Has anyone else encountered this type of uPnP control plug-in error and if Yes what does it mean?

For some unknown reason, after a few tracks, the http server of the WAP-4500 returns error code 501 (meaning it could not complete the action) when instructed to play the next song.
Without the hardware to try a few different things, it is almost impossible to guess what went wrong. Can you check you're not trying to play a file in a format it cannot handle ?
Note that for a Control Point, advancing in playlist is a pain in the ass to do reliably over a wide range of devices, because how it should be done is not really specified, and lots of device haves their own quirks (and sometimes bugs). You could try to see if advancing in playlist works better with Cidero (or another control point). If that's the case then I might do something wrong.

Opening track for playback: "upnp://aHR0cDovLzE5Mi4xNjguMTkuMzg6NTc3MTkvUGxheS80MTI2MzYzNzI5LzY5MTcubXAz"
Could not read info (Reported file length changed) from: "upnp://aHR0cDovLzE5Mi4xNjguMTkuMzg6NTc3MTkvUGxheS80MTI2MzYzNzI5LzY5MTcubXAz"


This is the foobar HTTP decoder complaining about the stream (whose decoded URL is http://192.168.19.38:57719/Play/4126363729/6917.mp3 (http://192.168.19.38:57719/Play/4126363729/6917.mp3), I assume it is a URL from the Simplify Media Server ?).
A search for this error on this forum recommends to disable "allow seeking over http" in the advanced options.
Title: foo_upnp
Post by: bavan on 2009-09-27 15:26:45
[blockquote][/indent]
when the WAP-4500 stops playing the uPnP control panel displays the message 'Play error: Actions failed (501)'.
Has anyone else encountered this type of uPnP control plug-in error and if Yes what does it mean?

For some unknown reason, after a few tracks, the http server of the WAP-4500 returns error code 501 (meaning it could not complete the action) when instructed to play the next song.
Without the hardware to try a few different things, it is almost impossible to guess what went wrong. Can you check you're not trying to play a file in a format it cannot handle ?
Note that for a Control Point, advancing in playlist is a pain in the ass to do reliably over a wide range of devices, because how it should be done is not really specified, and lots of device haves their own quirks (and sometimes bugs). You could try to see if advancing in playlist works better with Cidero (or another control point). If that's the case then I might do something wrong.

[indent][/blockquote]Bubblegum thanks for the Cidero suggestion. I've tried it and Yes the same problem is happening. The WAP-4500 also stops playing after 2 to 3 songs when using Cidero. So maybe something with the firmware implementation of uPnP direct control by Teac. Strange enough I also have this problem sometimes on my NP2900 but without the error 501 message. So maybe 2 different issues here and it's driving me crazy as the Foobar soft together with your uPnP plug-in is such a wonderfull thing to use. It's an intermitting problem and hard to reproduce so I will do a fresh install on another computer to see whether it's not computer related. There is a workaround by uploading songs into a media renderer from the Foobar server uPnP playlist. When I do that everything keeps playing but I would of course prefer direct control from the uPnP panel. Anyway I will log a ticket towards Teac to see if they can come up with something.

PS: When after receiving the error 501 on the WAP-4500 I start the next song in the playlist and everything plays again normally for 1 to 2 songs before the same error occurs on the WAP-4500. Would it be possible for your plugin to send again the song play command, maybe preceeded by a stop /reset command, when you detect error 501. The error always occurs when the next song is loaded in the playlist and wants to start playing. Maybe it's a way of getting around the problem and keep things going?

Secondly I always need to quit Foobar and restart it again to make my media renderers to load new playlists created in the uPnP queued playlist after I have loaded a first one. Maybe if you can have a look into that it would already increase useability. Note that not loading a uPnP server queued playlist the second time, after playing the first one, is happening on both my WAP-4500 as the NP2900.

Thanks already for the good support.
Title: foo_upnp
Post by: Googer on 2009-09-28 02:08:12
BTW bubbleguuum, I don't believe you answered my question / observation about browsing from my 360 (you probably missed seeing it since it was in my reply about deleting an apparently-stale config fixing my playing issues), so here it is again  :

I do have a question about browsing on the 360. Since a lot of games have multiple artists, with the default browsing they get broken up into multiple albums. I can't figure out for the life of me how to fix this - I first tried removing %album artist% from the Albums subtree in foo_upnp_ml_tree.xml but that only fixed this when browsing on my PC, so I thought perhaps you were basing the browsing on the media library's 'by album' formatting instead, but pulling album artist out of its first level of browsing didn't help either. What am I missing, or is this hard-coded right now?
Title: foo_upnp
Post by: bubbleguuum on 2009-09-29 20:03:48
PS: When after receiving the error 501 on the WAP-4500 I start the next song in the playlist and everything plays again normally for 1 to 2 songs before the same error occurs on the WAP-4500. Would it be possible for your plugin to send again the song play command, maybe preceeded by a stop /reset command, when you detect error 501. The error always occurs when the next song is loaded in the playlist and wants to start playing. Maybe it's a way of getting around the problem and keep things going?

Reissuing a Play to the device after the first one failed might work if we're lucky. I'll add it to the next version.

Secondly I always need to quit Foobar and restart it again to make my media renderers to load new playlists created in the uPnP queued playlist after I have loaded a first one. Maybe if you can have a look into that it would already increase useability. Note that not loading a uPnP server queued playlist the second time, after playing the first one, is happening on both my WAP-4500 as the NP2900.

I don't understand what you mean. What are you trying to achieve ?


I do have a question about browsing on the 360. Since a lot of games have multiple artists, with the default browsing they get broken up into multiple albums. I can't figure out for the life of me how to fix this - I first tried removing %album artist% from the Albums subtree in foo_upnp_ml_tree.xml but that only fixed this when browsing on my PC, so I thought perhaps you were basing the browsing on the media library's 'by album' formatting instead, but pulling album artist out of its first level of browsing didn't help either. What am I missing, or is this hard-coded right now?


Indeed, the X360 tree is hardcoded and not editable. The Album subtree is populated with %album%[ '['%album artist%']'].  I can see it being a problem if you don't have tag "ALBUM ARTIST" set on your VA albums files, as %album artist% would then evaluate to %artist%, and that could split a same album under several nodes.
As it is not editable, in the next version I'll just remove %album artist% from the definition above. You can also set ALBUM ARTIST on your files, that should work.
Title: foo_upnp
Post by: bubbleguuum on 2009-09-30 21:07:11
new version available with minor enhancements / fixes (first post to download):

0.99.14
---------
- server: play unpack:// items as PCM
- server: XBOX360 Album subtree don't use %album artist% anymore in album names to split albums
- server: returned track titles are now configurable with a titleformat script in the server's advanced preferences. Useful for hardware renderers that are not very configurable in the way they present track info
- controller: if Play() fails on a renderer, retry 1sec later (attempt to make buggy renderers work)
- browser: "Add Remote foobar2000 UPnP Server" command now available in the View menu, if the UPnP Browser component is instanciated
Title: foo_upnp
Post by: GeSomeone on 2009-09-30 21:15:35
Indeed, the X360 tree is hardcoded and not editable. The Album subtree is populated with %album%[ '['%album artist%']']. ...
As it is not editable, in the next version I'll just remove %album artist% from the definition above.

If it works like in the rest of foobar2000, how about %album%[ '['$meta(album artist)']']? In that case it would only evaluate if ALBUM ARTIST was filled, if not, I admit, it would hardly do anything good.

Quote
You can also set ALBUM ARTIST on your files, that should work.

That would be the proper way for VA albums
Title: foo_upnp
Post by: ironflag on 2009-09-30 23:56:42
I'm having the same problem as boombaard in post #109: although the track names are initially loaded correctly, each track that is played is replaced with a gibberish hash file name. If I right click on the track, choose Properties, click on Tools and choose Reload Info, the file metadata is restored, but that's time-consuming and tedious. I'm using Simplify Media as the remote UPNP server, if that makes a difference.
Title: foo_upnp
Post by: bavan on 2009-10-01 19:10:23
Hi Bubbleguum,

great Job. I've seen in your new release 0.99.14 you've addressed, hopely solved, some of my problems using the WAP-4500 with the "send play again command". I'll be testing the new version the coming days and will post my finding in whether this change has solved my issues where the WAP-4500 could suddenly stop after playing 1 to 2 songs in the queue list.

As for my other request:


[/indent]QUOTE (bavan @ Sep 27 2009, 16:26)
Secondly I always need to quit Foobar and restart it again to make my media renderers to load new playlists created in the uPnP queued playlist after I have loaded a first one. Maybe if you can have a look into that it would already increase useability. Note that not loading a uPnP server queued playlist the second time, after playing the first one, is happening on both my WAP-4500 as the NP2900.

I don't understand what you mean. What are you trying to achieve ?
[indent]


What I'm trying to achieve is the functionality where you can load a Foobar uPNP controller playback queued playlist by using the media renderer and once you've finished playing all the songs you can create a new list of songs in the uPNP queued playlist and reload the new list into the media renderer. What is happening is that after playing a uPNP queued list a first time you can clear it and load new songs into the queue, which by the way is working fine in Foobar, but the media renderer remembers still the previous queue and doesn't load the new queued songs. Note that all control for loading and selecting the uPnP queued playlist is done via the media renderer remote by selecting Foobar server / playlists / uPNP queued playlist. The PC is only used to select songs into the uPnP playlist queue and stream content on request of the media renderer.

I'll try to summary actions step by step:
1. PC: Start Foobar & Load songs into uPnP queue
2. WAP: Select Foobar server name / Playlists / uPnP Controller Playback Queue / Start playing songs in this queue till all songs in the queue are played
3. PC: Clear uPnP Controller Playback queue / Load new songs into uPnP queue
4. Repeat step 2 so you have a new list of songs loaded to the media renderer
Step 4 is the point where a media renderer doesn't refresh the list. The first one loaded remains actif until you quit and restart Foobar between step 2 &3 to make step 4 work.

The big advantage of loading a queue directly from a media renderer instead of using the PC is that you have control to select which song can start playing or is next or can be skipped instead of returning to the PC to do this from within Foobar. Also if you start playing songs in the list by using the PC Foobar uPnp control panel the songs will be streamed one by one and you can't see the queue playlist on the media renderer and don't know what's coming next or what's in the queue without returning to the PC.

I hope this explanation makes it more understandable, if not let me know.
Title: foo_upnp
Post by: Caleb on 2009-10-02 21:10:12
Hi,

How do I access the UPnP server from a browser from work? I can't even access it from a browser locally (yes, I've configured the Internet settings for the plugin).
I do get the HTTP Auth inputbox, but in the foobar console the component tells me that Auth has failed even though that my login credentials are correct.

It does seem to work from foobar itself though. Any ideas?

Also, are there any docs on "Streaming Profiles" page in the settings, it's a little confusing.

Thanks!
Title: foo_upnp
Post by: itazurajackson on 2009-10-02 22:04:45
Many thanks for implementing the configurable TITLE option -- works a charm!

On an unrelated note, I sometimes use the foo_lastfm_radio component to listen to last.fm radio streams in foobar.  Do you happen to know if these streams should be compatible with foo_upnp?  They don't seem to work in my Philips hardware renderer at present (NP1100/37), but I don't know if the problem is fundamental or whether it can be addressed with a simple runtime variable setting somewhere...

Thanks again - Itazura


Title: foo_upnp
Post by: bubbleguuum on 2009-10-02 22:17:05
Hi,

How do I access the UPnP server from a browser from work? I can't even access it from a browser locally (yes, I've configured the Internet settings for the plugin).
I do get the HTTP Auth inputbox, but in the foobar console the component tells me that Auth has failed even though that my login credentials are correct.

It does seem to work from foobar itself though. Any ideas?

Also, are there any docs on "Streaming Profiles" page in the settings, it's a little confusing.

Thanks!


For Internet access you need to set your *public*  ip or hostname which may or may not be the same as you PC running the server.
If it is not the same, you're probably using a router and you need to configure it to forward incoming connections on port 56923  (HTTP) (or the port you specified if you changed it)
to your PC running the server. If all settings are correct you should be able to test that it works locally, connecting with "View->Add remote foobar2000 server", and have
the server appear in the browser postfixed with [Internet].

There no real doc on Streaming Profile but to summarize it goes like this:
- the mp3 transcode rules determines if the file will be streamed transcoded to mp3
- if that's not the case the PCM rules determines if the file will be streamed as PCM.
- if the file is not streamed as PCM the file is streamed as is in whatever its native format is: mp3, ogg, etc.

There's some cases where PCM is forced (if mp3 transcode rules didn't apply):

Among others:

- files with subsong, mpc, some protocols (unpack://).
- if replaygain is enabled
- to honour the samplerate or bitdepth limitation set in the profile (for example a PS3 can only play 44.1 or 48Khz content, 16 bits)
...

////////

Now for your title problem with WMP (long URL appearing in place of the title), it is a bug introduced in 0.99.14 and that manifest only if you didn't have a previous version installed or if you delete
foo_upnp.xml containing the configuration. Until I release a fixed version, a quick fix is to set "Format title track using:" to %title%  in the Server's Advanced Settings page.
Title: foo_upnp
Post by: bubbleguuum on 2009-10-02 22:23:17
Many thanks for implementing the configurable TITLE option -- works a charm!

On an unrelated note, I sometimes use the foo_lastfm_radio component to listen to last.fm radio streams in foobar.  Do you happen to know if these streams should be compatible with foo_upnp?  They don't seem to work in my Philips hardware renderer at present (NP1100/37), but I don't know if the problem is fundamental or whether it can be addressed with a simple runtime variable setting somewhere...

Thanks again - Itazura


Some time ago I disabled lastfm:// items because I coudn't make them work for streaming.
I'll give a look again as I don't remember the exact specifics.
Title: foo_upnp
Post by: Caleb on 2009-10-02 22:24:23
Thanks for the reply bubbleguum, note that I've edited my post before your reply because I figured out the custom title workaround on my own

I do see the remote connection in foobar properly! Although trying to access it from the web browser gives an Auth fail, but I suppose that it does not matter since you cannot do anything from a browser anyway, right?

Does this mean that the only way to access my media library remotely would be through foobar + this plugin?
Title: foo_upnp
Post by: bubbleguuum on 2009-10-02 22:35:49
Thanks for the reply bubbleguum, note that I've edited my post before your reply because I figured out the custom title workaround on my own

I do see the remote connection in foobar properly! Although trying to access it from the web browser gives an Auth fail, but I suppose that it does not matter since you cannot do anything from a browser anyway, right?

Yup

Quote
Does this mean that the only way to access my media library remotely would be through foobar + this plugin?


Yes. But it is also possible to access it from a iPhone/iTouch using PlugPlayer with 3G or wifi.
Title: foo_upnp
Post by: Googer on 2009-10-05 19:04:19
I haven't tested real exhaustively as of yet but after updating foo_upnp to 0.99.14, browsing on the 360 looks to be exactly what I was looking for now.  Thank you!
Title: foo_upnp
Post by: Wadsbrau on 2009-10-07 21:10:53
Any news on implementing "folder" view in to the server?  Or is there any way to configure the current version to view the music by the folders that they are stored in?  I would love to use the server portion of the plug-in.  But i can't as my large collection relies on the music being sorted by folder instead of tags.

Thank you
Darren
Title: foo_upnp
Post by: Wadsbrau on 2009-10-07 21:43:00
Yes, I'm Streaming via wireless
I use tversity, and works fine with audio and video, so isn't a wireless problem.

http://oss.linn.co.uk/trac/wiki/KinskyPda (http://oss.linn.co.uk/trac/wiki/KinskyPda)
Title: foo_upnp
Post by: bubbleguuum on 2009-10-07 23:42:25
Any news on implementing "folder" view in to the server?  Or is there any way to configure the current version to view the music by the folders that they are stored in?  I would love to use the server portion of the plug-in.  But i can't as my large collection relies on the music being sorted by folder instead of tags.

Thank you
Darren


I will definitely implement a folder view rather sooner than later as it has been requested a lot.
However the browsing will probably be restricted to the directories declared in the Media Library.
Title: foo_upnp
Post by: Wadsbrau on 2009-10-08 00:31:19
That sounds great thank you!  I can't wait till its ready to try!

Darren
Title: foo_upnp
Post by: beto on 2009-10-08 02:33:13
I still have constant crashes with the latest version. I submitted again now some bug reports using foobar's bug report utility. Am I the only one having trouble with this plugin?
Title: foo_upnp
Post by: bubbleguuum on 2009-10-08 19:12:35
I still have constant crashes with the latest version. I submitted again now some bug reports using foobar's bug report utility. Am I the only one having trouble with this plugin?


I saw your submitted crashes. They are all identical and happen in the UPnP library I'm using, when sending a http request to an UPnP client.
I really have no clue yet why it crashes at this place but I'll investigate but it's not going easy to find why.
Another guy submitted the same crash with 0.99.12. 

Title: foo_upnp
Post by: beto on 2009-10-10 15:33:54
I see. I thank you for taking the time to look into it. 

I do not know if this is relevant but I am using tversity media server and the regular windows ssdp service in the same machine. I tried disabling both but foobar still crashes.

Another thing: version 0.99.8 does not crash.


Anyway, thank you again.
Title: foo_upnp
Post by: garbandi on 2009-10-11 13:27:39
Thanks for the great plugin!

I'm using it to play music served with mediatomb running on my NAS.

It works just fine with playing plain files from my server, but fails for server entries that use mediatomb's transcoding feature. When trying to play such an entry I receive:

[blockquote]Opening track for playback: "upnp://aHR0cDovLzE5Mi4xNjguMTI4LjI2OjQ5MTUyL2NvbnRlbnQvbWVkaWEvb2JqZWN0X2lkLzUzNC9yZXNfaWQvbm9uZS9wcl9uYW1l
L2ZsYWN3YXYvdHIvMQ=="
Could not read info (Unsupported format or corrupted file) from: "upnp://aHR0cDovLzE5Mi4xNjguMTI4LjI2OjQ5MTUyL2NvbnRlbnQvbWVkaWEvb2JqZWN0X2lkLzUzNC9yZXNfaWQvbm9uZS9wcl9uYW1l
L2ZsYWN3YXYvdHIvMQ=="
Unable to open item for playback (Unsupported format or corrupted file):
"upnp://aHR0cDovLzE5Mi4xNjguMTI4LjI2OjQ5MTUyL2NvbnRlbnQvbWVkaWEvb2JqZWN0X2lkLzUzNC9yZXNfaWQvbm9uZS9wcl9uYW1l
L2ZsYWN3YXYvdHIvMQ=="
[/blockquote]

I think the error message is missleading; When I use wget to fetch the transcoded file, I can play the wav-file. So neither the format (audio/x-wav) is unknown nor the file corrupted.

Comparing the HTTP-header for a standard-file request, I suspect the missing CONTENT_LENGTH header in combination with the chunked encoding used by mediatomb for serving the transcoded entry is causing the troubble:

This is the header for a transcoded entry request that fails
[blockquote]  HTTP/1.1 200 OK
  TRANSFER-ENCODING: chunked
  CONTENT-TYPE: audio/x-wav
  DATE: Sun, 11 Oct 2009 09:00:46 GMT
  LAST-MODIFIED: Tue, 03 Mar 2009 20:09:24 GMT
  SERVER: Linux/2.6.12.6-arm1, UPnP/1.0, MediaTomb/0.12.0
  CONNECTION: close[/blockquote]


This is the header for the same file as standard-file  (by adding the transcoded file back to my servier)
[blockquote]  HTTP/1.1 200 OK
  CONTENT-LENGTH: 45083180
  CONTENT-TYPE: audio/x-wav
  DATE: Sun, 11 Oct 2009 09:01:51 GMT
  LAST-MODIFIED: Tue, 03 Mar 2009 20:09:24 GMT
  SERVER: Linux/2.6.12.6-arm1, UPnP/1.0, MediaTomb/0.12.0
  CONNECTION: close
  Content-Disposition: attachment; filename="lala.wav"
  Accept-Ranges: bytes[/blockquote]


I think it's obvious, that a on-the-fly trancoding server doesn't know in advance how big the result will be. So is this a bug of the plugin or something where mediatomb would have to provide additional information? Any known workaround?

BTW: I can play the transcoded files successfully with XMBC, so the behaviour of mediatomb doesn't seem to be completely wrong
Title: foo_upnp
Post by: bubbleguuum on 2009-10-11 20:15:32
BTW: I can play the transcoded files successfully with XMBC, so the behaviour of mediatomb doesn't seem to be completely wrong



The error messages you see is from the foobar2000 http decoder. For some reason it doesn't like the stream from mediatomb.
If you tried to play the base64 decoded upnp:// location (which decodes to a standard http url), you'd get the same error.
I'll try to get more info. You may want to disable "Allow seeking over http" if foobar's advanced settings, in the the Networking section, to see if it fixes the problem.
Title: foo_upnp
Post by: garbandi on 2009-10-11 22:58:49
Thanks for your quick reply.

You may want to disable "Allow seeking over http" if foobar's advanced settings, in the the Networking section, to see if it fixes the problem.


This didn't help. The only effect I realized so far, is that now foobar can't even play the static wav-files on mediatomb anymore and complains: "Unable to open item for playback (Object is not seekable):"

The transcoded dynamic entries are still: "Unable to open item for playback (Unsupported format or corrupted file)"
Title: foo_upnp
Post by: bubbleguuum on 2009-10-11 23:21:23
Thanks for your quick reply.

You may want to disable "Allow seeking over http" if foobar's advanced settings, in the the Networking section, to see if it fixes the problem.


This didn't help. The only effect I realized so far, is that now foobar can't even play the static wav-files on mediatomb anymore and complains: "Unable to open item for playback (Object is not seekable):"

The transcoded dynamic entries are still: "Unable to open item for playback (Unsupported format or corrupted file)"


What happen if you try to play  http://192.168.128.26:49152/content/media/...me/flacwav/tr/1 (http://192.168.128.26:49152/content/media/object_id/534/res_id/none/pr_name/flacwav/tr/1)  direclty in foobar2000 ? Do you have the same error ?
this is the decoded upnp:// location you provided in your post. Not sure it is still valid, but you can try with another one that you'd have previously decoded with http://www.motobit.com/util/base64-decoder-encoder.asp (http://www.motobit.com/util/base64-decoder-encoder.asp)
Title: foo_upnp
Post by: garbandi on 2009-10-12 06:39:39
What happen if you try to play  http://192.168.128.26:49152/content/media/...me/flacwav/tr/1 (http://192.168.128.26:49152/content/media/object_id/534/res_id/none/pr_name/flacwav/tr/1)  direclty in foobar2000 ? Do you have the same error ?


Same error! I realized that the error message popped up, even before the harddisk of my NAS had a chance to spin up (was in sleep mode). So it really seems to be something in the http-header processing, because before spinning up, mediatomb has no chance to send something.
Title: foo_upnp
Post by: garbandi on 2009-10-12 08:30:25
some more details:

I managed to configure mediatomb not to use chunked encoding. No change; still "Unsupported format or corrupted file"

So I see two possible explanations: either it's just the missing CONTENT_LENGTH or the fact that mediatomb sends the http headers long before the first byte of the stream is available.

BTW: by just playing around with other players: also real-player is not able to play the transcoded stream. So foobar is not the only one having problems with mediatomb 
Title: foo_upnp
Post by: Peti on 2009-10-12 08:48:02
Hello
Great component!
Would it be possible to add a feature to replaygain processing? To process volume normalization only when transcoding regarding the rules.
Thanks
Title: foo_upnp
Post by: bubbleguuum on 2009-10-12 13:00:03
So I see two possible explanations: either it's just the missing CONTENT_LENGTH or the fact that mediatomb sends the http headers long before the first byte of the stream is available.


It may well be the missing Content-Length. Another possibility is that the 44 bytes WAV header is somewhat invalid or incomplete.
Title: foo_upnp
Post by: raphaelrenaud on 2009-10-12 16:33:24
first: hello everybody from switzerland
to the topic: wow, what a great plugin!!! there is just one thing to fix that it would be perfect (in my opinion):
when transcoding files to mp3, the %discnumber% and the %compilation% tag is not transmitted. then it is not really sorted in my songlist, like it should. also when I don't transcode or decode a file, the %discnumber%-tag is not transmitted until I play the song. It would be great, when it is possible to transmit every tag from the beginning, when I select an album. But anyway, a really great job, thanks!!
Title: foo_upnp
Post by: garbandi on 2009-10-12 20:57:39
It may well be the missing Content-Length. Another possibility is that the 44 bytes WAV header is somewhat invalid or incomplete.

How should it be the WAV header if I can successfully play the wav-stream in foobar after saving the stream with wget to a file? I can even re-import the downloaded file to mediatomb and play it then from there.
Title: foo_upnp
Post by: bubbleguuum on 2009-10-12 21:01:09
first: hello everybody from switzerland
to the topic: wow, what a great plugin!!! there is just one thing to fix that it would be perfect (in my opinion):
when transcoding files to mp3, the %discnumber% and the %compilation% tag is not transmitted. then it is not really sorted in my songlist, like it should. also when I don't transcode or decode a file, the %discnumber%-tag is not transmitted until I play the song. It would be great, when it is possible to transmit every tag from the beginning, when I select an album. But anyway, a really great job, thanks!!


thanks for pointing that %discnumber% was not transmitted anymore (it worked at some point). It'll be back in the next version.
%compilation% was never transmitted but I'll add it with a some others (%totaltracks%, %totaldiscs%
%publisher%, %rating%) to have richer metadata at browse time.
Title: foo_upnp
Post by: raphaelrenaud on 2009-10-12 22:02:28
first: hello everybody from switzerland
to the topic: wow, what a great plugin!!! there is just one thing to fix that it would be perfect (in my opinion):
when transcoding files to mp3, the %discnumber% and the %compilation% tag is not transmitted. then it is not really sorted in my songlist, like it should. also when I don't transcode or decode a file, the %discnumber%-tag is not transmitted until I play the song. It would be great, when it is possible to transmit every tag from the beginning, when I select an album. But anyway, a really great job, thanks!!


thanks for pointing that %discnumber% was not transmitted anymore (it worked at some point). It'll be back in the next version.
%compilation% was never transmitted but I'll add it with a some others (%totaltracks%, %totaldiscs%
%publisher%, %rating%) to have richer metadata at browse time.

wow, that would be great! thanks!
Title: foo_upnp
Post by: bubbleguuum on 2009-10-13 00:11:29
Hello
Great component!
Would it be possible to add a feature to replaygain processing? To process volume normalization only when transcoding regarding the rules.
Thanks


I suppose you mean applying RG only on files transcoded to MP3 or decoded as PCM, and not on files streamed "as is". Why would you want to do that ?
Title: foo_upnp
Post by: Peti on 2009-10-13 07:24:33
Hello
Great component!
Would it be possible to add a feature to replaygain processing? To process volume normalization only when transcoding regarding the rules.
Thanks


I suppose you mean applying RG only on files transcoded to MP3 or decoded as PCM, and not on files streamed "as is". Why would you want to do that ?


Because I want to use replaygain and transcode only lossless files. For lossy source, RG is processed by the client (foobar, too), and for the rest to apply RG when transcoding. Other workaround would be to copy RG values to transcoded files.
Title: foo_upnp
Post by: prefab on 2009-10-14 17:35:37
Quote
What does the option "Client decode HTTP streams directly" do?
If this option is enabled and you upnp browse a playlist containing http items (for example a netradio stream), the http URL is passed "as is" to the client and the client directly decodes it. If it is not enabled, the UPnP server act as a proxy (do the decoding) and the client stream from the UPnP server like it does for normal (file) items. The second option can be the only way for the client to play the http stream if it can't decode it directly (for example it it can't handle the codec) or doesn't have network connectivity.
I am having some problems with this option: with both checked / unchecked the radio stream seems to be decoded at the client.

I have verified this with foobar 9.6.9 and foo_upnp 0.99.14 installed on 2 windows XP SP2. In the client machine I can verify that foobar is playing the original format (ogg for example: http://radio.hiof.no/nrk-alltid-klassisk-172.ogg) (http://radio.hiof.no/nrk-alltid-klassisk-172.ogg)) instead of following the transcoding rules, or raises an error when trying to play a mms stream without foo_imput_mslive (for example mms://straumr.nrk.no/nrk_radio_alltid_klassisk_l). Am I missing something ?

cheers
Title: foo_upnp
Post by: bubbleguuum on 2009-10-14 19:49:30
Quote
What does the option "Client decode HTTP streams directly" do?
If this option is enabled and you upnp browse a playlist containing http items (for example a netradio stream), the http URL is passed "as is" to the client and the client directly decodes it. If it is not enabled, the UPnP server act as a proxy (do the decoding) and the client stream from the UPnP server like it does for normal (file) items. The second option can be the only way for the client to play the http stream if it can't decode it directly (for example it it can't handle the codec) or doesn't have network connectivity.
I am having some problems with this option: with both checked / unchecked the radio stream seems to be decoded at the client.

I have verified this with foobar 9.6.9 and foo_upnp 0.99.14 installed on 2 windows XP SP2. In the client machine I can verify that foobar is playing the original format (ogg for example: http://radio.hiof.no/nrk-alltid-klassisk-172.ogg) (http://radio.hiof.no/nrk-alltid-klassisk-172.ogg)) instead of following the transcoding rules, or raises an error when trying to play a mms stream without foo_imput_mslive (for example mms://straumr.nrk.no/nrk_radio_alltid_klassisk_l). Am I missing something ?

cheers


I tried here and the  "Client decode HTTP streams directly" setting is taken into account. Are you sure you edited the foobar2000 profile (and not by mistake the Default one) ?
Note that when profile settings changes the server automatically restarts and the client must browse again as the server reappeared.

Note that for that particular stream, even if you're successful disabling "Client decode HTTP streams directly", the stream still won't play in the client and you'll get a "file not found error".
I fixed it in my local build and it will play in the next version, the server being better at getting technical info such as channel count, sample rate etc in the case of streams.

As for mms:// I haven't tested it so I'm not sure how well (if at all) it works. I'll test it and have it working with the "Client decode HTTP streams directly" setting.
Title: foo_upnp
Post by: bubbleguuum on 2009-10-14 19:58:37
Because I want to use replaygain and transcode only lossless files. For lossy source, RG is processed by the client (foobar, too), and for the rest to apply RG when transcoding. Other workaround would be to copy RG values to transcoded files.


Makes sense. A settings for this will be in the upcoming version.

EDIT: in the client, you'll have to use no preamp for files without RG info for this to work as expected.
Title: foo_upnp
Post by: garbandi on 2009-10-14 22:37:01
The error messages you see is from the foobar2000 http decoder. For some reason it doesn't like the stream from mediatomb.

After playing around with various options I'm quite sure that you're right and this is a foobar2000 bug and nothing specific to your plugin.

I've opened a thread in the [a href='index.php?showtopic=75446']foobar support forum[/a]

But if you have any idea how to bypass the problem, let me know.

So again: thanks for your help ( and your plugin! )
Title: foo_upnp
Post by: prefab on 2009-10-14 22:39:45
I tried here and the  "Client decode HTTP streams directly" setting is taken into account.

Yes, after your reply I tested it on the client side and the setting is indeed taken into account. But If you play the stream on the same client from a remote UPnP Controller the stream is played without respecting the setting (this is how I did my tests, I am planning on streaming to a "dumb" renderer, I was not aware there is a difference between the two modes).

Note that for that particular stream, even if you're successful disabling "Client decode HTTP streams directly", the stream still won't play in the client and you'll get a "file not found error".
I fixed it in my local build and it will play in the next version, the server being better at getting technical info such as channel count, sample rate etc in the case of streams.

As for mms:// I haven't tested it so I'm not sure how well (if at all) it works. I'll test it and have it working with the "Client decode HTTP streams directly" setting.

Excellent, thanks.
Title: foo_upnp
Post by: bubbleguuum on 2009-10-14 23:03:42
Yes, after your reply I tested it on the client side and the setting is indeed taken into account. But If you play the stream on the same client from a remote UPnP Controller the stream is played without respecting the setting (this is how I did my tests, I am planning on streaming to a "dumb" renderer, I was not aware there is a difference between the two modes).


Exact. For some reason I can't remember the Controller use the *Default* profile when sending an item to any "dumb" renderer [In the case it is an item managed by the fb server, ie in your playlist or collection]. I did this probably because I don't assume anything about the
capabilities of the renderer (codec support, samplerate limitations, ...) and the Default profile provides sane defaults which should work with most renderers.
So you have to edit this profile depending of your renderer and it should work.

EDIT: changing "Client decode HTTP streams directly" in the default profile won't work. It needs a fix on my side.
Title: foo_upnp
Post by: prefab on 2009-10-15 13:25:04
Yes, after your reply I tested it on the client side and the setting is indeed taken into account. But If you play the stream on the same client from a remote UPnP Controller the stream is played without respecting the setting (this is how I did my tests, I am planning on streaming to a "dumb" renderer, I was not aware there is a difference between the two modes).


Exact. For some reason I can't remember the Controller use the *Default* profile when sending an item to any "dumb" renderer [In the case it is an item managed by the fb server, ie in your playlist or collection]. I did this probably because I don't assume anything about the
capabilities of the renderer (codec support, samplerate limitations, ...) and the Default profile provides sane defaults which should work with most renderers.
So you have to edit this profile depending of your renderer and it should work.

EDIT: changing "Client decode HTTP streams directly" in the default profile won't work. It needs a fix on my side.
OK, I configured the Default profile to my renderer specs and I can play the files in the library from the Controller 
I will just sit here holding my breath waiting for the streams to work... 
cheers

EDIT: Is it too complex to provide a *Controller* profile, so that the modifications for playing through the Controller do not affect the Default (sane defaults) ? Thanks
Title: foo_upnp
Post by: prefab on 2009-10-16 11:17:57
EDIT: Is it too complex to provide a *Controller* profile, so that the modifications for playing through the Controller do not affect the Default (sane defaults) ? Thanks

My previous suggestion does not make sense. The profiles to be used by the Media Server depend only on the renderer connected, whether this connection was instructed by the renderer itself or by a remote controller.

Currently the profiles dont seem to work when using a controller instead of directly using the media renderer (I tried with fb and Linn's Kinsky). Some streams also crash fb. I have sent the reports.

cheers.
Title: foo_upnp
Post by: e2z on 2009-10-16 19:02:32
This is an awesome plugin, great work!

After some fiddling I got it working, sort of. I'm sorry if this has been covered before but all my files, except the ones I've played once are displayed with their hash-numbers or something.

http://img238.imageshack.us/img238/7427/foobar.jpg (http://img238.imageshack.us/img238/7427/foobar.jpg)

What am I doing wrong? 
Title: foo_upnp
Post by: Groundskeeper Willie on 2009-10-16 19:26:19
Hi,

is it possible to exclude certain results in a query, i.e. performe the negation of the PRESENT keyword?
Something like  query="compilation NOT PRESENT"?

Thanks, G.W.
Title: foo_upnp
Post by: bubbleguuum on 2009-10-16 19:58:36
EDIT: Is it too complex to provide a *Controller* profile, so that the modifications for playing through the Controller do not affect the Default (sane defaults) ? Thanks

My previous suggestion does not make sense. The profiles to be used by the Media Server depend only on the renderer connected, whether this connection was instructed by the renderer itself or by a remote controller.


True, except that when using the controller the User-Agent string cannot be used to identify the renderer. It may be done using another method but there's no support for it yet. i'll see if I can do something about it.

Quote
Currently the profiles dont seem to work when using a controller instead of directly using the media renderer (I tried with fb and Linn's Kinsky). Some streams also crash fb. I have sent the reports.

When using the controller, the default profile is used. Do you remember what you did to trigger the crash ?  This is a crash i've seen before but have no clue about yet for a fix.


After some fiddling I got it working, sort of. I'm sorry if this has been covered before but all my files, except the ones I've played once are displayed with their hash-numbers or something.

http://img238.imageshack.us/img238/7427/foobar.jpg (http://img238.imageshack.us/img238/7427/foobar.jpg)

What am I doing wrong? 


There's a bug in 0.99.14 when you had no pervious version installed. Go in Files -> Configuration -> Tools -> UPnp -> Server -> Avanced Settings and set "Format track titles using" to %title%



Hi,

is it possible to exclude certain results in a query, i.e. performe the negation of the PRESENT keyword?
Something like  query="compilation NOT PRESENT"?

Thanks, G.W.


try compilation MISSING.  See here (http://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Query_syntax) for the query syntax reference.
Title: foo_upnp
Post by: Groundskeeper Willie on 2009-10-16 20:07:47
Hi,

is it possible to exclude certain results in a query, i.e. performe the negation of the PRESENT keyword?
Something like  query="compilation NOT PRESENT"?

Thanks, G.W.


try compilation MISSING.  See here (http://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Query_syntax) for the query syntax reference.

Great, thx! Haven't seen that...

G.W.
Title: foo_upnp
Post by: e2z on 2009-10-16 21:10:21
Thanks bubbleguuum, this is great!
Title: foo_upnp
Post by: raphaelrenaud on 2009-10-17 14:02:00
I found something that would also be very nice for the next release: at the moment, I have to restart foobar2000 on my server, that the new songs I added are shown in the UPnP browser (foobar is monitoring my folders for new songs in the background). The local albumlist is updated automatically, but not the UPnP albumlist. Maybe an idea could also be, that this list is updated in a certain intervall?!
Title: foo_upnp
Post by: bubbleguuum on 2009-10-17 14:32:48
I found something that would also be very nice for the next release: at the moment, I have to restart foobar2000 on my server, that the new songs I added are shown in the UPnP browser (foobar is monitoring my folders for new songs in the background). The local albumlist is updated automatically, but not the UPnP albumlist. Maybe an idea could also be, that this list is updated in a certain intervall?!


This is definitely in the todo list, as the UPnP AV spec provides way to that, but it is not trivial to implement.
That, and search for all UPnP servers that support it, using the fb2k request language.
Title: foo_upnp
Post by: Groundskeeper Willie on 2009-10-17 16:06:44
Two suggestions:



Thx!
Best, G.W.
Title: foo_upnp
Post by: raphaelrenaud on 2009-10-18 12:27:15
Two suggestions:

  • Would it be possible to include non-english artist prefices such as "Die", "Les", "Los" etc. in the "swap prefix in artist names" function? Or, better: Allow for a custom list of such prefices?
  • Is it possible to switch the title formatting based upon the subtree in which the audio items are presented? Or can this even be already done?


Thx!
Best, G.W.

I only have a solution for the first question: you can do it by editing the foo_upnp_ml_tree.xml manually. If you wish that for example "The Beatles" are listened as "Beatles, The", you can use this code:

$ifequal($strstr(%artist%,The ),1,$substr(%artist%,5,$len(%artist%))', The',%artist%)

This code, you can edit and expend as you want, to swap prefixes like "Die", "Les", "Los" etc.
Title: foo_upnp
Post by: Purple Monkey on 2009-10-18 14:01:34
$ifequal($strstr(%artist%,The ),1,$substr(%artist%,5,$len(%artist%))', The',%artist%)

$swapprefix(%artist%,The,A,Die,Les,Los,etc) (http://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Titleformat_Reference#.24swapprefix.28x.29)
Title: foo_upnp
Post by: Groundskeeper Willie on 2009-10-18 14:40:31
$ifequal($strstr(%artist%,The ),1,$substr(%artist%,5,$len(%artist%))', The',%artist%)

$swapprefix(%artist%,The,A,Die,Les,Los,etc) (http://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Titleformat_Reference#.24swapprefix.28x.29)


Thank you!!
Title: foo_upnp
Post by: raphaelrenaud on 2009-10-18 22:21:33
$ifequal($strstr(%artist%,The ),1,$substr(%artist%,5,$len(%artist%))', The',%artist%)

$swapprefix(%artist%,The,A,Die,Les,Los,etc) (http://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Titleformat_Reference#.24swapprefix.28x.29)

wow.. that's cool  haven't noticed this function before, thanks!
Title: foo_upnp
Post by: vassie on 2009-10-20 09:28:54
Quick question, how can I change foo_upnp to work with WMP12 & albums with various artists?

WMP12 to WMP12 shows the one album, however, foo_upnp to WMP12 shows one album per artists

Thanks
Title: foo_upnp
Post by: bavan on 2009-10-28 11:15:09
Hi Bubbleguum,

it's been a time since I've been on the forum which means everything with your plugin is working fine so far (GREAT !).

Now I have a new problem when buying a new device Freecom MusicPal.
I can play songs from your Upnp plugin but after playing 1 song the music stops no matter where I start in a playlist. When I select one of my other renderers without changing anything in the set up or playlist (Philips / Teac) I don't have this problem so probably it's related to the MusicPal itself. To use the MusicPal properly I had to change the transcode to MP3 settings to "Always" as the MusicPal own capabilities for direct transcoding of a song seems to be limited and as such I won't otherwise plays all possible available songs in my LIB correctly (I've adapted the default profile for that). I hope it has nothing to do with this option.

I'm running Foobar v0.9.6.9 & Upnp v0.99.13/0.99.14 (tried both versions to make sure it's not the plugin without result) ) and used 2 different firmware's on the MusciPal v1.59d & v1.65Beta. Both firmware's gave the same problem, playing 1 song in the playlist and than stopping so not starting the next song in the playlist.

I was wondering if you could give me some advice if there are any tricks I could try to get a full playlist playing? If not I'm stuck and have to rely on freecom for the next firmware.

Many thanks in advance for the support.
Title: foo_upnp
Post by: bubbleguuum on 2009-10-28 19:14:37
I was wondering if you could give me some advice if there are any tricks I could try to get a full playlist playing? If not I'm stuck and have to rely on freecom for the next firmware.


One question: do you select music by browsing the UPnP server directly from your device, or do you use the UPnP Controller to push content to it ?

If you do the former,  the UPnP Controller playback Queue playlist must remain empty (or another renderer should be selected), else it could conflict with what you tell it to play directly from the device.

If the later, then of course you use the UPnP Controller playback Queue playlist to control your renderer. Assuming this is what you do, the Controller may not detect track changes (and start playback of next track) if for whatever reason the renderer do not signal end of track with the "Stopped" UPnP state. Some renderers are known to be problematic in this regard. I may implement a workaround for such cases. If you have the same problem with Cidero as a Control Point then it is likely this problem.
Title: foo_upnp
Post by: bubandno on 2009-10-29 13:41:42
Hi!
in first thank for your work about unpnp.
in second, make be careful, i a frenchy user and my english is not so rich..

i'm using unpnp component to stream on my denon 3N (ipod dock with unpnp capabilities). It work fine.
sometime I use upnp as an UPnP Control Point to play music to the denon 3N. it work fine too with single file mp3, acc, wma  in the UPnP Controller playback Queue
it does'nt work with the couple FLAC+CUE (one file FLAC=one CD). Foobar say "enable to convert  xxxxxxxx.cue". it's the same with APE+CUE.
so so thank for your indication about this problem 'cause all my music is in this format (flac+Cue).

I use a another DMR : a iblik radio. it connect fine on the foobar server and i can listen the music But only the single file mp3, acc, wma etc...
if I want to listen a (FLAC+CUE) music, it work fine for the first song but when the second should start, iblik says connecting.........and never play the song. perhaps iblik is not so compliant ? how can i know ? iblik support does'nt anwser..grrr)

more info : if i push the button "next song" during the first is playing. it work fine...
thank a second time for your help.
Title: foo_upnp
Post by: bavan on 2009-10-29 19:07:48
I was wondering if you could give me some advice if there are any tricks I could try to get a full playlist playing? If not I'm stuck and have to rely on freecom for the next firmware.


One question: do you select music by browsing the UPnP server directly from your device, or do you use the UPnP Controller to push content to it ?
[blockquote]
I'm using the UPnP controller to push content to the MusicPal. I'm wondering why your plugin dosplays the message "transitioning instead of the artist & title in your cUPnp control panel?
[/blockquote]

If you do the former,  the UPnP Controller playback Queue playlist must remain empty (or another renderer should be selected), else it could conflict with what you tell it to play directly from the device.

If the later, then of course you use the UPnP Controller playback Queue playlist to control your renderer. Assuming this is what you do, the Controller may not detect track changes (and start playback of next track) if for whatever reason the renderer do not signal end of track with the "Stopped" UPnP state. Some renderers are known to be problematic in this regard. I may implement a workaround for such cases. If you have the same problem with Cidero as a Control Point then it is likely this problem.
[blockquote]
Some interresting results when testing with Cidero to push content: Playlist is played normally song after song so probably Cidero does things differently when pusing content and changing to next song to play. I've also noticed Cidero indicates & updates song play time progress corretly as your component only indicates total song time and no progress in song play time counting.
[/blockquote]


Why I don't stick to Cidero is very simple, Foobar is much more powerfull and song folder & database management is top also thanks to your plugin for remote controlling media renderers. It simple needs some more finetuning and a bit of development to make it multimedia & WAF proof.

If you know a workaround or another method to advance next song play please try to implement it (maybe as an option to enable this via the config als alternative method). I would be more than happy to test this on the multiple renderes I have and share the results (Teac WAP-4500 / Philips NP2900 / Roku Soundbrige M1001 / Freecom MusicPal / Samsung UE46B7020 LED TV).

Thanks so far for the great support and advice.
Title: foo_upnp
Post by: bubbleguuum on 2009-10-29 19:57:00
i'm using unpnp component to stream on my denon 3N (ipod dock with unpnp capabilities). It work fine.
sometime I use upnp as an UPnP Control Point to play music to the denon 3N. it work fine too with single file mp3, acc, wma  in the UPnP Controller playback Queue
it does'nt work with the couple FLAC+CUE (one file FLAC=one CD). Foobar say "enable to convert  xxxxxxxx.cue". it's the same with APE+CUE.
so so thank for your indication about this problem 'cause all my music is in this format (flac+Cue).


I assume individual tracks appear in the playlist when using flac+cue  and that you can play those tracks in foobar ? Can you be more precise about the error message you mention, where does it appear and what action you are doing ?  You can try modifying the Default streaming profile in the server's conf. In the case of flac+cue,  it should stream as WAV to your device which might not support it. You may want to try LPCM streaming (any DLNA device is supposed to support LPCM), or transcoding to mp3.

Quote
I use a another DMR : a iblik radio. it connect fine on the foobar server and i can listen the music But only the single file mp3, acc, wma etc...
if I want to listen a (FLAC+CUE) music, it work fine for the first song but when the second should start, iblik says connecting.........and never play the song. perhaps iblik is not so compliant ? how can i know ? iblik support does'nt anwser..grrr)

more info : if i push the button "next song" during the first is playing. it work fine...
thank a second time for your help.


That's exactly the same problem reported by bavan, see my answer below.



If you know a workaround or another method to advance next song play please try to implement it (maybe as an option to enable this via the config als alternative method). I would be more than happy to test this on the multiple renderes I have and share the results (Teac WAP-4500 / Philips NP2900 / Roku Soundbrige M1001 / Freecom MusicPal / Samsung UE46B7020 LED TV).

Thanks so far for the great support and advice.


It's good to know it is working with Cidero. I can easily see exactly how it operates on track change and emulate that. I have already an idea what could make cause problem with some renderers with the way I handle track advancing.
Title: foo_upnp
Post by: bavan on 2009-10-30 00:30:40
i'm using unpnp component to stream on my denon 3N (ipod dock with unpnp capabilities). It work fine.
sometime I use upnp as an UPnP Control Point to play music to the denon 3N. it work fine too with single file mp3, acc, wma  in the UPnP Controller playback Queue
it does'nt work with the couple FLAC+CUE (one file FLAC=one CD). Foobar say "enable to convert  xxxxxxxx.cue". it's the same with APE+CUE.
so so thank for your indication about this problem 'cause all my music is in this format (flac+Cue).


I assume individual tracks appear in the playlist when using flac+cue  and that you can play those tracks in foobar ? Can you be more precise about the error message you mention, where does it appear and what action you are doing ?  You can try modifying the Default streaming profile in the server's conf. In the case of flac+cue,  it should stream as WAV to your device which might not support it. You may want to try LPCM streaming (any DLNA device is supposed to support LPCM), or transcoding to mp3.

Quote
I use a another DMR : a iblik radio. it connect fine on the foobar server and i can listen the music But only the single file mp3, acc, wma etc...
if I want to listen a (FLAC+CUE) music, it work fine for the first song but when the second should start, iblik says connecting.........and never play the song. perhaps iblik is not so compliant ? how can i know ? iblik support does'nt anwser..grrr)

more info : if i push the button "next song" during the first is playing. it work fine...
thank a second time for your help.


That's exactly the same problem reported by bavan, see my answer below.



If you know a workaround or another method to advance next song play please try to implement it (maybe as an option to enable this via the config als alternative method). I would be more than happy to test this on the multiple renderes I have and share the results (Teac WAP-4500 / Philips NP2900 / Roku Soundbrige M1001 / Freecom MusicPal / Samsung UE46B7020 LED TV).

Thanks so far for the great support and advice.


It's good to know it is working with Cidero. I can easily see exactly how it operates on track change and emulate that. I have already an idea what could make cause problem with some renderers with the way I handle track advancing.


Hi Bubbleguum,
copying change next song the way Cidero does seems to be a good idea but beside that don't copy everthing Cidero is doing as I've encountered some other problems with Cidero for playing and selecting songs and in that respect your plugin is working fine. Just find the best between both worlds. I'm trilled to await your workaround as alternative or not.
TX
Title: foo_upnp
Post by: Groundskeeper Willie on 2009-10-31 16:05:04
Hi,

in the UPnP browser's preferences, it can be adjusted to which playlist titles are added upon left/right click. Would it be possible to define the target playlist for the search function as well? Currently, the current playlist is simply overwritten.

Thx!

Best, G.W.
Title: foo_upnp
Post by: bubbleguuum on 2009-11-02 10:50:04
Hi,

in the UPnP browser's preferences, it can be adjusted to which playlist titles are added upon left/right click. Would it be possible to define the target playlist for the search function as well? Currently, the current playlist is simply overwritten.

Thx!

Best, G.W.


Good catch. Ideally, Search should probably present results in the browse tree itself, much like the Album List component.
Title: foo_upnp
Post by: Adagio on 2009-11-02 15:11:34
It's good to know it is working with Cidero. I can easily see exactly how it operates on track change and emulate that. I have already an idea what could make cause problem with some renderers with the way I handle track advancing.

The Kiss 1600 (UPnP/AV Device Capability Database (http://www.upnp-database.info/device.jsp?deviceId=71)) seems to have the same problem of stopping after the first track.
Title: foo_upnp
Post by: mck on 2009-11-05 15:07:41
Hi,

I`m new in this forum. I spent a lot of time in reading this topic. But I can`t find any answers to my problem. I already asked in another foobar2000 forum but  nobody could give me a proper answer.

I use WinXP with the Twonky Media Server to send my music files by UPNP to the receiver by network.

[PC (Twonky Media Server) --> Router --> Yamaha (Network Receiver,RX-V3900]


This works fine, but there is only access to my sound files by using the GUI of the Yamaha Receiver (TV).

The idea was to use Foobar2000 to select my soundfiles (mp`3s) and send them to the Yamaha by network.

I already included the foo_upnp (0.99.14) and the foo_ui_columns (0.3.7.3) in the components folder.
The plugins were identified by Foobar correctly and I can do some settings but there is no communication/connection between the receiver and the software.

If somebody could give me a short introduction (or screenshots) in doing the right settings or give me other informations to solve this problem I would be very grateful.

Thanks in advance!
Title: foo_upnp
Post by: bubbleguuum on 2009-11-05 19:02:46
I already included the foo_upnp (0.99.14) and the foo_ui_columns (0.3.7.3) in the components folder.
The plugins were identified by Foobar correctly and I can do some settings but there is no communication/connection between the receiver and the software.

Can you be a bit more specific ?

I assume you're seeing the Twonky server in the UPnP Browser but your Yamaha receiver do not appear in the UPnP Controller ?

Title: foo_upnp
Post by: mck on 2009-11-05 20:39:07
Hi,

Yes you're right!

I can see my receiver in the network environment of winXP and the twonky server in the GUI of the receiver.

In foobar only the Twonky Server is listed! I don't know how to include my Yamaha.....

(http://i38.tinypic.com/2mzk4td.jpg)
Title: foo_upnp
Post by: bubbleguuum on 2009-11-05 23:38:29
Hi,

Yes you're right!

I can see my receiver in the network environment of winXP and the twonky server in the GUI of the receiver.


You need to add the UPnP Controller CUI panel to your layout! It looks like this:

http://bubbleguuum.free.fr/foo_upnp_cui.PNG (http://bubbleguuum.free.fr/foo_upnp_cui.PNG)


The UPnP Controler is what looks like a player, on the lower-left. Your receiver should appear in the combo box. Then you add tracks for playing to your receiver to the UPnP Controller Playback queue playlist, that you can display at any time using the PL button.
Title: foo_upnp
Post by: Dr Arctic Fox on 2009-11-06 05:59:47
I appear to be having a weird problem, since plenty of people in this thread have said that the X360 works fine...

I have got foo upnp working, it transcodes .FLAC files stored on my Windows Home Server to lpcm and plays them through my XBox360 just fine. The problem is that when I browse through Artist> then choose an artist with multiple albums, all of their songs are displayed on the next screen completely ungrouped. So for example, if I chose The Beatles, instead of seeing the albums on the next page...

> Please Please Me
> Beatles For Sale
> Help
> Rubber Soul
etc

Instead I see all of the songs from all their albums, ungrouped:
> 01 I Saw Her Standing There
> 01 No Reply
> 01 Help!
> 01 Drive My Car
etc.

Of course I could sort them by putting %album% in front of the track title, but this means I can't see the song titles on the XBox's giant UI.

Am I doing something wrong, or is this a limitation of the way XBox handles UPNP? I've tried messing with foo_upnp_ml_tree.xml, to no avail. Thanks.

Fox
Title: foo_upnp
Post by: mck on 2009-11-06 08:43:20
@ bubbleguuum:

As you can see on the screenshot there is no media renderer listed in the UPnP Controller...

(http://i36.tinypic.com/5yb52t.jpg)

Perhaps some settings in the images below are wrong?

(http://i36.tinypic.com/15dnjox.jpg)

(http://i37.tinypic.com/n1ow1c.jpg)

(http://i38.tinypic.com/muwmx0.jpg)

(http://i33.tinypic.com/ae84u8.jpg)

Thanks!
Title: foo_upnp
Post by: bubbleguuum on 2009-11-06 18:47:07
Am I doing something wrong, or is this a limitation of the way XBox handles UPNP? I've tried messing with foo_upnp_ml_tree.xml, to no avail. Thanks.


The upcoming version of the plugin will fix that. For now it just sorts content by tracknumber which obvisouly is messy if there's more than 1 album.


@ bubbleguuum:
As you can see on the screenshot there is no media renderer listed in the UPnP Controller...


Install Cidero (http://cidero.com/downloads.html) and tell me if it sees your receiver. If it does not see it, it is likely to be a network issue.
If it sees it, then edit foo_upnp.xml (in your foobar2000 install directory) to enable logging with max info:
set    console_log enabled="yes" level="0".
Now start foobar2000, display the console (View->Console), check the "Write Log" button to save the log to file,  remove the Controller UI Panel and re-add it to your layout, wait a few seconds and send me the generated log file to bubbleguuum@free.fr.
Title: foo_upnp
Post by: Dr Arctic Fox on 2009-11-06 19:36:56
The upcoming version of the plugin will fix that. For now it just sorts content by tracknumber which obvisouly is messy if there's more than 1 album.


Awesome, good to know it's just not me being stupid. I'll keep an eye on this thread then. The plugin is otherwise working great, thanks for developing such a quality product (and you've been a model of patience with all the requests in this thread, too).

Fox
Title: foo_upnp
Post by: creosote on 2009-11-07 20:03:02
Nice work - I am streaming to a ROKU. I have a couple issues which I wonder if could be handled with the xml file.

1. Browse to Artist>Album and it lists the albums, BUT then every song by the artist after the albums - this is not needed.

2. Possible to order the albums in the aforementioned tree by year instead of alphabetical?

This is my current file, which I edited down for simplicty:

- <MediaLibraryTree>
- <SubTree label="Artists">
  <spec type="object.container.person.musicArtist">%artist%</spec>
  <spec type="object.container.album.musicAlbum">%album%</spec>
  </SubTree>
- <SubTree label="Albums">
  <spec type="object.container.album.musicAlbum">%album%[ '['%artist%']']</spec>
  </SubTree>
- <SubTree label="Years">
  <spec>%date%</spec>
  <spec type="object.container.album.musicAlbum">[%artist% - ]%album%</spec>
  </SubTree>
  </MediaLibraryTree>
Title: foo_upnp
Post by: bubbleguuum on 2009-11-07 21:44:45
Nice work - I am streaming to a ROKU. I have a couple issues which I wonder if could be handled with the xml file.

1. Browse to Artist>Album and it lists the albums, BUT then every song by the artist after the albums - this is not needed.

This is actually a feature: an artist node, contains all the tracks of that artist. I don't know how it appears on your roku but this is intended.

Quote
2. Possible to order the albums in the aforementioned tree by year instead of alphabetical?

Try this:

Code: [Select]
<SubTree label="Artists_Year">
<spec type="object.container.person.musicArtist">%artist%</spec>
<spec>%date%</spec>
<spec type="object.container.album.musicAlbum">%album%</spec>
</SubTree>
Title: foo_upnp
Post by: guix314 on 2009-11-08 17:11:00
Hello,

I'm having problems with foo_upnp on my Philips DLNA-compliant LCD TV :
Whatever foo_upnp transcoding & decoding settings, I can't get my TV to list any of my FLAC or MP3 files.
Browsing within the database is OK, but all the subdirectories are displayed as empty. So I can't play any file.

On the other hand, everything is fine within Cidero test client, with the same foo_upnp settings.
And I don't have such a problem on the TV with some other upnp servers.

For information, here is a sample foo_upnp console output when trying to browse the content of an album from the TV :
foo_upnp: INFO: received LAN request: http://192.168.0.78:56923/ContentDirectory...e56/control.xml (http://192.168.0.78:56923/ContentDirectory/cf009764-05e4-9bea-53f5-78ce62c30e56/control.xml) (User-Agent: Allegro-Software-WebClient/4.61 DLNADOC/1.00)
foo_upnp: INFO: received action 'Browse', args = { ObjectID=0/1/0/113, BrowseFlag=BrowseDirectChildren, Filter=@id,dc:title,res,res@protocolInfo, StartingIndex=0, RequestedCount=100, SortCriteria= }
foo_upnp: INFO: using default profile (User-Agent:Allegro-Software-WebClient/4.61 DLNADOC/1.00)
foo_upnp: INFO: action 'Browse' response: args = { ObjectID=0/1/0/113, BrowseFlag=BrowseDirectChildren, Filter=@id,dc:title,res,res@protocolInfo, StartingIndex=0, RequestedCount=100, SortCriteria=, NumberReturned=7, TotalMatches=7, UpdateID=0 }

-> Any hints ?
I can post more low-level traces if needed (full wireshark flows, ...)

thanks
Title: foo_upnp
Post by: bubbleguuum on 2009-11-08 18:16:42
Hello,

I'm having problems with foo_upnp on my Philips DLNA-compliant LCD TV :
Whatever foo_upnp transcoding & decoding settings, I can't get my TV to list any of my FLAC or MP3 files.
Browsing within the database is OK, but all the subdirectories are displayed as empty. So I can't play any file.

thanks


Nothing wrong with that traces: items are retuned to the TV. The plugin ignore the Filter which the TV might not like and it might discard items based on that (unlikely). Either that, or it doesn't like th URL / protocol info returned (not displayed in the traces above). Also make sure you edited the "Default" streaming profile to suit your TV capabilities.
What you can do is capture with wireshark what is sent by another Media Server that works. Look for something that look like the XML below in wireshark (HTTP traffic) , and post it here so I can have a look:

Code: [Select]
 <DIDL-Lite>
    <item id="0/1/0/2/168/0I" parentID="0/1/0/2/168" restricted="1">
      <dc:title>Flights Of Fantasy</dc:title>
      <dc:creator>Elegy</dc:creator>
      <dc:date>1996-01-01</dc:date>
      <upnp:artist>Elegy</upnp:artist>
      <upnp:artist role="AlbumArtist">Elegy / As One / Nuron</upnp:artist>
      <upnp:album>Likemind 04</upnp:album>
      <upnp:genre>Abstract</upnp:genre>
      <upnp:genre>Techno</upnp:genre>
      <upnp:genre>Experimental</upnp:genre>
      <dc:publisher>Likemind</dc:publisher>
      <upnp:albumArtURI>http://192.168.56.1:58390/albumart/836d49bc5760f9067f9b4c219b1de35d</upnp:albumArtURI>
      <upnp:originalTrackNumber>1</upnp:originalTrackNumber>
      <res duration="0:08:03.000" size="11599972" bitrate="24000" bitsPerSample="16" sampleFrequency="44100" nrAudioChannels="2" protocolInfo="http-get:*:audio/mpeg:DLNA.ORG_PN=MP3;DLNA.ORG_OP=01;DLNA.ORG_CI=0">http://192.168.56.1:58390/content/836d49bc5760f9067f9b4c219b1de35d.mp3</res>
      <upnp:class>object.item.audioItem.musicTrack</upnp:class>
    </item>
</DIDL-Lite>
Title: foo_upnp
Post by: guix314 on 2009-11-08 19:27:10
Thanks for your quick support.
OK, here are the wireshark traces (large content, sorry...).

As far as I can see, the 2 main differences are :
- foo_upnp sets restricted to 1, while assetupnp sets restricted to 0
- probably more important, foo_upnp seems to fail at setting the tracks titles, each title field is empty!! 
FWIW, my computer in WinXP SP3 French, and the main path to the library is "G:\__MEDIA__\__RIP_flac__\Classique\Beethoven misc"



** working, all 3 items are displayed (assetupnp)

POST /ContentDirectory/007ffdc8-d2c9-45a8-abcd-123456789abc/control.xml HTTP/1.1
Host: 192.168.0.78:26125
Connection: close
User-Agent: Allegro-Software-WebClient/4.61 DLNADOC/1.00
Accept: */*
SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
Content-Type: text/xml; charset=utf-8
Content-Length: 479

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body><u:Browse xmlns:u="urn:schemas-upnp-org:service:ContentDirectory:1">
<ObjectID>au73</ObjectID> <BrowseFlag>BrowseDirectChildren</BrowseFlag>
<Filter>@id,dc:title,res,res@protocolInfo</Filter> <StartingIndex>0</StartingIndex>
<RequestedCount>100</RequestedCount>
<SortCriteria></SortCriteria>
</u:Browse>
</s:Body>
</s:Envelope>


HTTP/1.1 200 OK
SERVER: Platinum/0.4.9
CONTENT-TYPE: text/xml; charset="utf-8"
EXT:
CONNECTION: close
CONTENT-LENGTH: 1789

<?xml version="1.0" encoding="UTF-8"?>
<s:Envelope s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
  <s:Body>
    <u:BrowseResponse xmlns:u="urn:schemas-upnp-org:service:ContentDirectory:1">
      <Result>&lt;DIDL-Lite xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/"&gt;&lt;item id="978-au73.flac" parentID="au73" restricted="0"&gt;&lt;dc:title&gt;  1  I. Allegro con brio&lt;/dc:title&gt;&lt;res duration="00:17:16.000" protocolInfo="http-get:*:audio/wav:DLNA.ORG_PN=WAV;DLNA.ORG_OP=01"&gt;http://192.168.0.78:26125/content/c2/b16/f44100/978.wav&lt;/res&gt;&lt;upnp:class&gt;object.item.audioItem.musicTrack&lt;/upnp:class&gt;&lt;/item&gt;&lt;item id="979-au73.flac" parentID="au73" restricted="0"&gt;&lt;dc:title&gt;  2  II. Largo&lt;/dc:title&gt;&lt;res duration="00:11:13.000" protocolInfo="http-get:*:audio/wav:DLNA.ORG_PN=WAV;DLNA.ORG_OP=01"&gt;http://192.168.0.78:26125/content/c2/b16/f44100/979.wav&lt;/res&gt;&lt;upnp:class&gt;object.item.audioItem.musicTrack&lt;/upnp:class&gt;&lt;/item&gt;&lt;item id="980-au73.flac" parentID="au73" restricted="0"&gt;&lt;dc:title&gt;  3  III. Rondeau. Allegro [scherzando]&lt;/dc:title&gt;&lt;res duration="00:09:05.000" protocolInfo="http-get:*:audio/wav:DLNA.ORG_PN=WAV;DLNA.ORG_OP=01"&gt;http://192.168.0.78:26125/content/c2/b16/f44100/980.wav&lt;/res&gt;&lt;upnp:class&gt;object.item.audioItem.musicTrack&lt;/upnp:class&gt;&lt;/item&gt;&lt;/DIDL-Lite&gt;</Result>
      <NumberReturned>3</NumberReturned>
      <TotalMatches>3</TotalMatches>
      <UpdateID>144</UpdateID>
    </u:BrowseResponse>
  </s:Body>
</s:Envelope>


--

** not working, no item displayed (foo_upnp 0.9.14)

POST /ContentDirectory/cf009764-05e4-9bea-53f5-78ce62c30e56/control.xml HTTP/1.1
Host: 192.168.0.78:56923
Connection: close
User-Agent: Allegro-Software-WebClient/4.61 DLNADOC/1.00
Accept: */*
SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
Content-Type: text/xml; charset=utf-8
Content-Length: 483

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body><u:Browse xmlns:u="urn:schemas-upnp-org:service:ContentDirectory:1">
<ObjectID>0/1/0/21</ObjectID>
<BrowseFlag>BrowseDirectChildren</BrowseFlag>
<Filter>@id,dc:title,res,res@protocolInfo</Filter>
<StartingIndex>0</StartingIndex>
<RequestedCount>100</RequestedCount>
<SortCriteria></SortCriteria>
</u:Browse>
</s:Body>
</s:Envelope>

HTTP/1.1 200 OK
Server: Platinum/0.5.1
Content-Type: text/xml; charset="utf-8"
Ext:
Connection: close
Content-Length: 1833

<?xml version="1.0" encoding="UTF-8"?>
<s:Envelope s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
  <s:Body>
    <u:BrowseResponse xmlns:u="urn:schemas-upnp-org:service:ContentDirectory:1">
      <Result>&lt;DIDL-Lite xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/"&gt;&lt;item id="0/1/0/21/0I" parentID="0/1/0/21" restricted="1"&gt;&lt;dc:title&gt;&lt;/dc:title&gt;&lt;res duration="0:17:16.000" protocolInfo="http-get:*:audio/wav:DLNA.ORG_PN=WAV;DLNA.ORG_OP=01;DLNA.ORG_CI=1"&gt;http://192.168.0.78:56923/content/833b97e2b2644b566f7aca824513b174.wav?convert=wav&lt;/res&gt;&lt;upnp:class&gt;object.item.audioItem.musicTrack&lt;/upnp:class&gt;&lt;/item&gt;&lt;item id="0/1/0/21/1I" parentID="0/1/0/21" restricted="1"&gt;&lt;dc:title&gt;&lt;/dc:title&gt;&lt;res duration="0:11:13.000" protocolInfo="http-get:*:audio/wav:DLNA.ORG_PN=WAV;DLNA.ORG_OP=01;DLNA.ORG_CI=1"&gt;http://192.168.0.78:56923/content/f2f845cf23a004155666aa25a80692f2.wav?convert=wav&lt;/res&gt;&lt;upnp:class&gt;object.item.audioItem.musicTrack&lt;/upnp:class&gt;&lt;/item&gt;&lt;item id="0/1/0/21/2I" parentID="0/1/0/21" restricted="1"&gt;&lt;dc:title&gt;&lt;/dc:title&gt;&lt;res duration="0:09:05.000" protocolInfo="http-get:*:audio/wav:DLNA.ORG_PN=WAV;DLNA.ORG_OP=01;DLNA.ORG_CI=1"&gt;http://192.168.0.78:56923/content/5c4f7209744fce0f6b518cbea074f9c3.wav?convert=wav&lt;/res&gt;&lt;upnp:class&gt;object.item.audioItem.musicTrack&lt;/upnp:class&gt;&lt;/item&gt;&lt;/DIDL-Lite&gt;</Result>
      <NumberReturned>3</NumberReturned>
      <TotalMatches>3</TotalMatches>
      <UpdateID>0</UpdateID>
    </u:BrowseResponse>
  </s:Body>
</s:Envelope>


Title: foo_upnp
Post by: bubbleguuum on 2009-11-08 19:40:38
@guix314:  I guess you installed 0.99.14 without having a previous version installed. There's a bug that will set no title until you go in
the conf: UpnP -> Server -> Advanced Settings and set "Format track titles using"  to %title%   

Let me know if it works then but it's likely to fix it.



Title: foo_upnp
Post by: guix314 on 2009-11-08 20:26:15
All right, problem solved.
This "known bug" was preventing foo_upnp from working properly here.
Thank you.

While we are at it, maybe you can help me for my second (and less blocking) problem :
It there a way to perform browsing by filesystem folders tree, instead of browsing by various metadata ?
I guess this can be configured via the "Customize media library tree" XML file, but I'm not an XML expert, and I can't find the relevant docs/specs for foo_upnp.

thanks again
Title: foo_upnp
Post by: bubbleguuum on 2009-11-08 20:38:09
It there a way to perform browsing by filesystem folders tree, instead of browsing by various metadata ?

Not possible yet
Title: foo_upnp
Post by: guix314 on 2009-11-08 20:48:20
OK,

So browsing by filesystem folders tree is my #1 feature request,
as my audio library is perfectly organized on the filesystem, but a lot less clean in terms of metadata tags...

Once this is done, foobar2000 + foo_upnp combo will be just perfect.

cheers
Title: foo_upnp
Post by: bavan on 2009-11-09 00:07:48
Hi Bubleguuum,

I've made a Foobar Theme which I would like to share as it  could be handfull for novell users. It's a full GUI with on the left file folders (can be switched by Filter) & on the right UPnP and ofcourse the other stuff like metadata, find song & album art display.

How can I upload files on this forum to share this with the UPnp community? I didn't find a file upload button but maybe I missed it.

How is the "Play next song" development going (Cidero alike control)?
I'm desperatley waiting for this new functionality.

BR.
Title: foo_upnp
Post by: bubbleguuum on 2009-11-13 19:37:46
v0.99.16  released. 0.99.14 is still available in case of possible regressions with some hardware. Thanks TheLink for testing .

Code: [Select]
0.99.16 

- chg: merge with Platinum UPnP SDK 0.5.4, should fix a few crashes and improve stability
- fix: obscure repeated crash in http request code (thanks Yirkha)
- new: in Server's advanced preferences, ability to enable log to file and to set log level. Log file is called foo_upnp.log and overwritten on each foobar2000 launch.
- fix (regression): if there was no previous config file, returned item titles defaulted to the http URL or where just empty
- add: browser: added "Directories" node, shows albums by last directory path component. Need to manually delete foo_upnp_ml_tree.xml for this new node to show up.
- new: browser: can configure action on search: send to active playlist, add to active playlist, send to UPnP Browser Search Playlist
- new: browser: display number of items in a browsed tree node
- new: browser: drag'n drop support of a node containing tracks to a playlist or whatever where tracks are accepted
- fix: browser: in some fail cases, browse and search threads could be left running indefinitely
- add: server: now returns a date if %date% is in the yyyy-mm and yyyy-mm-dd formats (before only yyyy was handled). needed for correct album grouping in WMP
- chg: server: WMP should now know about Album Artist in returned items, needed for correct album grouping.
- chg: server: if connecting client is not foobar2000 and track has %discnumber%, append %discnumber% to album name. Needed for correct album grouping on WMP
- fix: server: items with a real subsong of 0 where improperly detected (the original whole file was streamed instead of the subsong)
- fix: controller: fix bug on event subscription renewal in Platinum. On the second renewal (happening 1h after first subscription), controller would not get any event from the renderer
- fix: controller: UPnP Controller context menu on selected items could sometimes never be shown
- chg: controller now try to identify the renderer to which content is pushed to, and use the appropriate streaming profile. The Default profile is used if no matching could be made.
- fix: controller: "Client decode HTTP streams directly" setting not taken into account when sending a local item to a renderer using the controller. Now the setting  in the Default profile is used in that case.
- chg: controller: don't issue 2 consecutive Seek() or SetVolume() when using the respective sliders
- chg: server: now return items sorted using the default "sort incoming by" order: "%album artist%|$if($not($meta(album artist)),%date%)|%album%|%discnumber%|%tracknumber%|%title%". this should correcltly group track by album on the XBOX360 among others.
- fix: server: return %publisher% (dc:publisher) for all UPnP clients. For foobar2000 clients (ie foo_upnp) return specific additional info in DIDL: %discnumber%, %style%, %composer%, %conductor%,  %totaltracks%, %totaldiscs%, %compilation%, %vinyltrack%, %rating%.
- new: server: now returns mms:// items (previously they were skipped). Those items uses the "Client decode HTTP streams directly" setting.
- fix: server: when streaming a non-seekable location as PCM (for example relaying a netradio), seeking on the client will return a seek error to prevent bad things.
- fix: server: on foobar exit, a previous long seek operation could hang the app for a loooooooooooong while
- chg: server: the PCM decoder (also used for mp3 transcoding) was failing at some http streams and giving "file not found" errors. Now better with getting technical infos should imply less fail.
- chg: server: reduced buffer size of the PCM decoder for faster play (in the client) of http streams decoded by the server
- new: server: option in streaming profile to apply RG only to files that would be transcoded to mp3 or decoded to PCM according to the rules.
- fix: server: set rate and channels parameters in audio/L16 mime-type when streaming LPCM
Title: foo_upnp
Post by: bubbleguuum on 2009-11-14 12:30:15
0.99.16.1 released, to fix 2 crashes introduced in 0.99.16:

Code: [Select]
- fix: crash at plugin init in some rare cases
- fix: controller: crash when adding a renderer with no AVT service (the fake Xbox 360 renderer for example)


Title: foo_upnp
Post by: phibercrack on 2009-11-14 15:47:02
hi bubbleguuum..
i have problems with version 16 and 16.1 with my ps3.
with version 14 everything was perfect.. I made also a "clean" install of that component (means: i deleted: foo_upnp.xml) ..

i can choose the playlists or the library but i can't see any songs..

thanks for that creat component
ruben
Title: foo_upnp
Post by: bubbleguuum on 2009-11-14 16:56:42
hi bubbleguuum..
i have problems with version 16 and 16.1 with my ps3.
with version 14 everything was perfect.. I made also a "clean" install of that component (means: i deleted: foo_upnp.xml) ..

i can choose the playlists or the library but i can't see any songs..

thanks for that creat component
ruben



Very strange as it works here on my PS3...

Can you enable "log to file" in the Server advanced prefs and set log level to "ALL". Then restart fb so it takes effect, browse on your PS3 to some location
not showing items and send me the log file (foo_upnp.log) at bubbleguuum@ree.fr.
Title: foo_upnp
Post by: Adagio on 2009-11-14 20:27:35
I have the same problem of not seeing any titles (but Genre or Album structure are there) when browsing from the Kiss 1600.
I'm sending you foo_upnp.log in case you want to look at it, too.
Title: foo_upnp
Post by: raphaelrenaud on 2009-11-15 12:02:54
thank you very much for the nwe version! great, that now %discnumber% and %compilation% works! great!
Title: foo_upnp
Post by: phibercrack on 2009-11-15 12:37:25
its a little bit curious.. now it works.. i rebooted my notebook and everything is fine ..

thanks!
Title: foo_upnp
Post by: Wadsbrau on 2009-11-16 19:38:15
I set up the server to try out the "directories" listing and found a problem.  Although I am not sure if this is a bug or I am forgetting something. 

I have a folder called "Music"  that contains subfolders that are the names of the artists.  the artist subs contain the albums for that artist i.e.:

-Music
-- Beck
--- Mutations
    ...

However, after deleting the foo_upnp_ml_tree.xml file, I am getting a list of the album titles instead of the simple directory structure. i.e.

-Music
-- Mutations
    ...

Am I missing something? Or is this a bug to report?

Also, as a request, most UPnP servers that use folder structure to list the folders call the node "Folders".  if you could change that, I would appreciate it.

Thank you for your time

Darren
Title: foo_upnp
Post by: bubbleguuum on 2009-11-16 19:56:32
@Wadsbrau
It's not the real full filesystem structure. It just group your ML by %directoryname%, the last (directory) path component of your files.

This is temporary until I implement proper filesystem navigation contrained to the ML (not in the immediate future though).
Title: foo_upnp
Post by: Wadsbrau on 2009-11-16 20:37:45
Oh, sorry.  This "directories" node is useless then.  Hopefully in the near future you can add that feature.  Windows media player 12 has a "folder" list.  As well as almost all of the other UPnP server software. I was hopeful to use your server.  Well, there is still Twonky (which has issues) or FUPPES (also many issues).  However, I am grateful for the renderer part of the plugin.  I use it nearly every day utilizing a remote UPnP controller. 

I'll keep my fingers crossed.

Thanks,

Darren
Title: foo_upnp
Post by: adamtoth on 2009-11-22 10:31:24
First of all, this plugin is awesome!

I have an HP MediaSmart Windows Home Server that my music files are stored on. Previously to get my files to play in WMP, I had to add the network location to my libraries, install all the right directshow filters, and then use the WMPTagSupportExtender to get the metadata into the library (for FLAC/APE files). This always sucked on 64bit machines because not every format had a 64bit directshow filter, and the WMPTagSupportExtender never was compiled for 64bit. With this plugin, I can run foobar2000 on the Home Server and I don't have to worry about any of that because the files are streamed and all the metadata and album art comes with it. The only thing I need now is to get this working with Windows Media Center.

Does anyone know if Windows Media Center can be configured to browse a UPNP server? I know that WMC is kind of a glorified front-end to WMP, and uses the same media library, filters and codecs. Since WMP has the UPNP client, it seems like there should be a way for WMC to use it as well, however in the WMC UI the only options are to add specific network/local folders to the library for indexing. This puts me back on the dependency for WMPTagSupportExtender.

One more question, is it possible to include the Composer metadata tag? All my files are showing Unknown when viewing by composer (I have the correct tags set in my files).
Title: foo_upnp
Post by: Wacky on 2009-11-22 21:52:34
I would also like to thank the developer.  I used foobar2000 with a digital out soundcard for a long time but recently have been using FUPPES to stream music to several SMCWAA-G network players that I modifed for digital output.  FUPPES is a bitch to configure, but is very fast and low CPU overhead.  I tried Tversity and it was very slow and high overhead.

With foo_upnp I had to figure out how to list individual songs rather than albums.    My SMCWAA-G boxes can operate in Shuffle mode.  I had lists like All Songs, Songs by Artist or Songs by Genre. 

I looked at the foo_upnp_ml_tree.xml file and it appeared that you had to select albums as the "lowest common denominator" if you will.  But you can use the <item></item> method to get individual tracks.

<MediaLibraryTree>
   <SubTree label="Genres">
      <spec type="object.container.genre.musicGenre">%genre%</spec>
      <item>%title%</item>
   </SubTree>
   
   <SubTree label="All Songs">
      <item>%title%</item>
   </SubTree>
   
   <SubTree label="By Artist">
      <spec type="object.container.person.musicArtist">%artist%</spec>
      <item>%title%</item>
   </SubTree>
   
   <SubTree label="Albums">
      <spec type="object.container.album.musicAlbum">%album%[ '['%album artist%']']</spec>
   </SubTree>
   
</MediaLibraryTree>

If you select Genres, you get a list of Genre folders.  Within each folder there is a list of all matching songs.

If you select All Songs, you get a list of All Songs.  So Shuffle mode is like a jukebox which plays your entire Library.

If you select By Artist, you get a list of Artist folders.  Within each folder there is a list of all matching songs.

Perhaps this will be of interest.
Title: foo_upnp
Post by: bubbleguuum on 2009-11-23 22:32:14
Does anyone know if Windows Media Center can be configured to browse a UPNP server? I know that WMC is kind of a glorified front-end to WMP, and uses the same media library, filters and codecs. Since WMP has the UPNP client, it seems like there should be a way for WMC to use it as well, however in the WMC UI the only options are to add specific network/local folders to the library for indexing. This puts me back on the dependency for WMPTagSupportExtender.


Im not too sure about WMC but the plugin offers good support with WMP, especially the latest version (you'll have to thank TehLink for that).
If WMC works like WMP for upnp, it should work.

Quote
One more question, is it possible to include the Composer metadata tag? All my files are showing Unknown when viewing by composer (I have the correct tags set in my files).


It's possible to add that info so WMP can see it. I'll add it for next version
Title: foo_upnp
Post by: bubbleguuum on 2009-11-23 22:34:24
I looked at the foo_upnp_ml_tree.xml file and it appeared that you had to select albums as the "lowest common denominator" if you will.  But you can use the <item></item> method to get individual tracks.


I'm not sure to understand what you were trying to achieve, but <item> tags are not parsed at all by the plugin.
Title: foo_upnp
Post by: Goombas on 2009-11-24 00:41:02
@adamtoth
WMC does not allow you to index your media server but one can still browse it by clicking on "Music Library" and then "shared", last entry on the right. "foobar2000 Media Server" should appear in the list (this is on win 7 pro,  wmc v6.1).

@bubbleguuum
First bravo for this cool plugin. The last update .99.16.1 works great. 2 issues remain though:
* This is really personnal taste, but I don't like the new handling of albums in wmp. Even if an album is composed of two discs, this is still _one_ album. The choice of appending the disc number to the title leads to duplicates, not to say this is counter intuitive. Indeed when I click 'album listing', I expect to see an album list and not a disc one.
To solve the sorting problem, I'd rather make the track number the concatenation of the disc number + track number ie. 103, third track of the first disc or 201, first track of the second. Maybe you can make this an option? (ok i'm picky here i admit)

* I may have missed something but I can't make foo_upnp work with audio players based on the Coherence (http://coherence.beebits.net/wiki/WikiStart#Whatisit) library. This library is often used by media players on Linux. I can browse the hierarchy exposed by foo_upnp_ml_tree.xml but I never see the leaves (the media files), it stops at the parent folder even if it shows the number of files in the directory when I click on it.
The Coherence library comes with a debugging tool, Upnp Inspector. Below, a screenshot of it that exhibits the problem :

(http://i.imagehost.org/0971/Capture2.png)

On the following link, one can see how it should look like: http://coherence.beebits.net/wiki/Totem (http://coherence.beebits.net/wiki/Totem)

HTTP query from Totem, the default media player on Ubuntu, when I click on the last folder of the hierarchy :

Code: [Select]
POST /ContentDirectory/f853349f-80cf-bc9b-55b6-e4db60ac35d6/control.xml HTTP/1.0
Host: 192.168.1.105
User-Agent: Twisted PageGetter
Content-Length: 450
SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
content-type: text/xml;charset="utf-8"
connection: close
<s:Envelope s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
      <s:Body>
            <ns0:Browse xmlns:ns0="urn:schemas-upnp-org:service:ContentDirectory:1">
                  <ObjectID>0/1/0/1</ObjectID>
                  <BrowseFlag>BrowseDirectChildren</BrowseFlag>
                  <Filter>*</Filter>
                  <RequestedCount>0</RequestedCount>
                  <StartingIndex>0</StartingIndex>
                  <SortCriteria />
            </ns0:Browse>
      </s:Body>
</s:Envelope>

The response from foo_upnp:

Code: [Select]
HTTP/1.1 200 OK
Server: Platinum/0.5.4.0
Content-Type: text/xml; charset="utf-8"
Ext:
Connection: close
Content-Length: 625
<?xml version="1.0" encoding="UTF-8"?>
<s:Envelope s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
      <s:Body>
            <u:BrowseResponse xmlns:u="urn:schemas-upnp-org:service:ContentDirectory:1">
                  <Result>&lt;DIDL-Lite xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/"&gt;&lt;/DIDL-Lite&gt;</Result>
                  <NumberReturned>0</NumberReturned>
                  <TotalMatches>21</TotalMatches>
                  <UpdateID>0</UpdateID>
            </u:BrowseResponse>
      </s:Body>
</s:Envelope>


I guess this is more a bug between the Platinium and Coherence library but maybe someone has an idea.
Title: foo_upnp
Post by: adamtoth on 2009-11-24 14:48:33
@adamtoth
WMC does not allow you to index your media server but one can still browse it by clicking on "Music Library" and then "shared", last entry on the right. "foobar2000 Media Server" should appear in the list (this is on win 7 pro,  wmc v6.1).


Thanks Goombas! I never even noticed that Shared link before, it's so hidden. Media Center seems to take a much longer time pulling in all the album art then just WMP by itself. I have a pretty large library and ehshell.exe gets over 2 GB of memory usage. It also doesn't seem to cache the art well for the next time I open WMC. Oh well, this is much better than before, and now seeking works on FLAC! Can't wait for the composer tag to be included, thanks again.


Title: foo_upnp
Post by: bubbleguuum on 2009-11-24 19:44:34
* This is really personnal taste, but I don't like the new handling of albums in wmp. Even if an album is composed of two discs, this is still _one_ album. The choice of appending the disc number to the title leads to duplicates, not to say this is counter intuitive. Indeed when I click 'album listing', I expect to see an album list and not a disc one.
To solve the sorting problem, I'd rather make the track number the concatenation of the disc number + track number ie. 103, third track of the first disc or 201, first track of the second. Maybe you can make this an option? (ok i'm picky here i admit)


I understand what you mean, I'll add the option

Quote
I guess this is more a bug between the Platinium and Coherence library but maybe someone has an idea.


This was a bug in my code when browsing is called with RequestedCount=0, something not recommended since it asks for all items of a container
. Thanks for reporting, fixed in upcoming version.
Title: foo_upnp
Post by: Wacky on 2009-11-24 22:56:58
I'm not sure to understand what you were trying to achieve, but <item> tags are not parsed at all by the plugin.

Hello:

Here's an example.

Using your default xml file.    If I open a folder for a specific Genre, I get a list of Albums which match that Genre.  I can open one of those Albums and play it from start to finish, correct?

But I wanted to open the Genre folder and see a list of all the Titles which matched that Genre, so my network player could "Shuffle" them automatically.

So I tried the <item></item> syntax that is similar to the FUPPES xml file and it works with foo_upnp.  I know it works because I have been listening to it for the past day.

Not sure why it works, of course.  I just assumed this was a standard part of upnp compatibility.

Once again, thanks for the plugin.
Title: foo_upnp
Post by: bubbleguuum on 2009-11-24 23:38:52
You can remove <item></item>, it will have the same effect.

writing:

<spec type="object.container.genre.musicGenre">%genre%</spec>

just splits your collection by genre, each node containing the items of a genre.

adding more <spec> clauses further split generated nodes into sub-nodes, for example to split all tracks of a genre by albums (this is what
the default Genres node does) you would add: <spec type="object.container.genre.musicAlbum">%album%</spec>

You can also restrict the splitting of a node to a subset of the Media Library. Suppose you want to display by genre, only your tracks in compilations:

<SubTree label="Compilations tracks by genres" query="compilation PRESENT">
<spec type="object.container.genre.musicGenre">%genre%</spec>
</SubTree>

Moderation: Removed useless full quote of the preceding post.
Title: foo_upnp
Post by: Wacky on 2009-11-25 12:41:11
You can remove <item></item>, it will have the same effect.


Thanks for the other tips.  I stumbled into the right answer by removing the second level of <spec></spec>.

Perhaps you can answer another question?

My SMC media renderer has a 3 line display.  When I play mp3 files with ID3V2 tags, the Artist, Album and Title are displayed statically on each line.  Also some streaming radio stations display multiple lines.

I would like this type of multi-line display for any file being played.

When I play a flac file with only flac tags ( I used tag.exe to strip out all the ID3V1 tags ) the SMC only displays one line.  Your foo_upnp allows me to display [%artist%] - [%title%] on one line, which is an improvement.

Do you have any ideas?


Title: foo_upnp
Post by: EarlMobileh on 2009-11-27 00:28:48
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...

Before I had another (rather old) instance of foobar installed and for testing this plugin I installed another one with the latest versions of foobar, columns ui and foo_upnp. I didn't try uninstalling the old foobar yet, because I don't think that could be the reason, but who knows...

Any suggestions?
Title: foo_upnp
Post by: Bastard From A Basket on 2009-11-27 01:43:32
Is there some guide or help file for this somewhere?  Because it just flat out doesn't work for me.  I could have the plugin thing uninstalled and I wouldn't be able to tell for all it matters because nothing is happening here.  I'm wanting to play my music off my ps3.  I've got ps3 media server running for movies (though I don't use it), it detects that fine, I didn't have to mess with any ports or anything.  For this I've tried messing with all kinds of ports and nothing is happening.  None of the PCs can seem to detect it either.  I didn't see where anyone else was having any problem with this so I don't know what to do.  UPnP browser just shows PS3 Media Server, don't know if it is supposed to also show itself as well or what.  I feel like there's a giant ON button somewhere I'm missing or something. 

I want to use this because I have my pc hooked up to my tv and reciever but for some reason with my music, surround sound only comes out as stereo no matter what.  I thought sending it as lcpm to the ps3 instead might fix that.  I got my movies to finally work with surround sound by messing with some spdif shit but that doesn't seem to have worked here.  Not really up on all the terminology and shit as you might be able to tell.
Title: foo_upnp
Post by: Wacky on 2009-11-28 21:04:37
For Sirius Subscribers:

Check out SiriusStreamer at this link:

http://www.digitalradiocentral.com/sir-xmr...eplacement.html (http://www.digitalradiocentral.com/sir-xmro-internet-radio/8155-siriusstreamer-v1-0-beta-release-usirius-replacement.html)

You have to subscribe to download the file, but it is a terrific replacement for uSirius.  I am using this with foobar2000 and foo_upnp to stream my music and Sirius channels over my network.


There are directions on how to copy the Sirius channel streams so you can Add Location in foobar2000.  The author is working on some changes that may make it more foobar2000 friendly with respect to m3u support and feeds.

For now, I will make a new Playlist for each channel that I regularly listen to.


Title: foo_upnp
Post by: OrcaMarinha on 2009-11-29 23:59:16
I have just installed this plugin but having some problems to get it working.

I have a desktop which has all my music with this is it possible to use my laptop add the library from \\desktop\music and reproduce the music on the desktop ?

Now when I click on the files using the laptop it play on the laptop and I want to play on desktop.

Is it possible ?
Title: foo_upnp
Post by: shakey_snake on 2009-11-30 00:10:29
Do you have fb2k + foo_upnp installed on the laptop?

Yes it is very possibly, I do it every day.
Title: foo_upnp
Post by: OrcaMarinha on 2009-11-30 00:12:05
Do you have fb2k + foo_upnp installed on the laptop?

Yes it is very possibly, I do it every day.

Yep how do I do it ?
Title: foo_upnp
Post by: shakey_snake on 2009-11-30 00:30:05
Add the UPnP browser element to your layout on the laptop. See (layout editing mode (http://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Layout_Editing_Mode))


Then the desktop should show up under "UPnP server" usually with "foobar2000 Media Server" in the name. Then you can just browse your desktop's library and listen from there.
Title: foo_upnp
Post by: OrcaMarinha on 2009-11-30 12:38:24
WOW I'm just wow 

It works ! The most amazing is that I dont need to have the mp3 on the desktop I can just order to play there.
I asked on several forums for a solution there wasn't one that really work well. Foobar and this pluging rocks , thanks 
Title: foo_upnp
Post by: OrcaMarinha on 2009-11-30 19:44:02
Any of you u use MonoLite (http://fanco86.deviantart.com/art/MonoLite-122756120) ?
I'm trying to put a tab of browser but not working =(
Title: foo_upnp
Post by: OrcaMarinha on 2009-11-30 23:18:39
I have swaped my Music HD to the laptop and now when I click play on Upnp Controller on the laptop doesn't do anything on the desktop, doesnt work when the songs I want to play on desktop are in the laptop ?
Title: foo_upnp
Post by: EarlMobileh on 2009-11-30 23:33:53
As for the delay between tracks... I tried a bit more to figure out what causes the problem..

- deinstalling every old foobar installation
- setting up a server at work and connecting to it per internet (works perfectly!)
- throwing out any files stored on usb hard drives
- updating my router firmware (Netgear WGR614v7)
- deactivating any unneeded network connections
- quitting any upnp-aware applications

Nothing helped. Now I'm trying to understand the log files foo_upnp writes. If I assume correctly that the numbers are some kind of time measuring the delay must happen between the GET requests at 115.859 and 241.219. I started playing one file and waited until the second one got played. The first song is /content/9583af166357aeeea1cefbf3c1f8528c.mp3 and second one is /content/6bb959bcd694bfef9ee00cf53287c706.mp3. There is a NPT_ERROR_CONNECTION_RESET .. might that be the reason and why could it occur?

The codebox contains everything between those two mentioned points and here is the complete log (http://tinyurl.com/y89axs4).

Any help would be greatly appreciated!

[code]115.844: PLT_HttpHelper::ToLog(399): INFO:
GET /content/9583af166357aeeea1cefbf3c1f8528c.mp3?convert=mp3 HTTP/1.1
Host: 127.0.0.1:56000
User-Agent: foobar2000/0.9.6.9
Accept: */*
Icy-MetaData: 1

115.844: upnp_server_conf::get_profile(523): INFO: using profile 'foobar2000' (User-Agent:foobar2000/0.9.6.9)
115.844: upnp_server_conf::get_profile(523): INFO: using profile 'foobar2000' (User-Agent:foobar2000/0.9.6.9)
115.859: PLT_HttpServerSocketTask::Write(303): WARNING: NPT_CHECK failed, result=-20400 (
              NPT_ERROR_CONNECTION_RESET) [(NPT_StreamToStreamCopy(
              *body_stream.AsPointer(), *output_stream.AsPointer(), 0, entity->GetContentLength()))]
115.859: PLT_HttpServerSocketTask::Write(281): FINER: PLT_HttpServerTask Sending response:
115.859: PLT_HttpHelper::ToLog(485): FINER:
HTTP/1.1 200 OK
Server: Platinum/0.5.4.0
Accept-Ranges:
Connection: keep-alive
Content-Type: audio/mpeg

150.750: PLT_HttpHelper::ToLog(399): FINE:
M-SEARCH * HTTP/1.1
MX: 1
ST: upnp:rootdevice
MAN: "ssdp:discover"
User-Agent: Platinum/0.5.4.0, DLNADOC/1.50 / foobar2000
Host: 239.255.255.250:1900

150.750: NPT_HttpClient::ReadResponse(1154): FINER: got response, code=200, msg=OK
150.750: PLT_CtrlPoint::ProcessSsdpSearchResponse(772): FINE: CtrlPoint received SSDP search response from 192.168.1.1:1900
150.750: PLT_HttpHelper::ToLog(485): FINER:
HTTP/1.1 200 OK
SERVER: Ambit OS/1.0 UPnP/1.0 AMBIT-UPNP/1.0
EXT:
LOCATION: http://192.168.1.1:80/Public_UPNP_gatedesc.xml (http://192.168.1.1:80/Public_UPNP_gatedesc.xml)
CACHE-CONTROL: max-age=3600
ST: upnp:rootdevice
USN: uuid:8c8ee318-22b6-836b-3d55-5a7aadbc34d8::upnp:rootdevice

150.750: PLT_CtrlPoint::ProcessSsdpMessage(1052): FINE: Device "Residential Gateway" expiration time renewed..
150.750: NPT_Win32Thread::Start(482): FINER: creating thread
150.750: NPT_HttpClient::ReadResponse(1154): FINER: got response, code=200, msg=OK
150.750: PLT_CtrlPoint::ProcessSsdpSearchResponse(772): FINE: CtrlPoint received SSDP search response from 192.168.1.1:1900
150.750: PLT_HttpHelper::ToLog(485): FINER:
HTTP/1.1 200 OK
SERVER: Ambit OS/1.0 UPnP/1.0 AMBIT-UPNP/1.0
EXT:
LOCATION: http://192.168.1.1:80/Public_UPNP_gatedesc.xml (http://192.168.1.1:80/Public_UPNP_gatedesc.xml)
CACHE-CONTROL: max-age=3600
ST: upnp:rootdevice
USN: uuid:8c8ee318-22b6-836b-3d55-5a7aadbc34d8::upnp:rootdevice

150.750: NPT_Win32Thread::EntryPoint(449): FINER: thread in =======================
150.750: PLT_HttpHelper::ToLog(399): FINE:
M-SEARCH * HTTP/1.1
MX: 1
ST: upnp:rootdevice
MAN: "ssdp:discover"
User-Agent: Platinum/0.5.4.0, DLNADOC/1.50 / foobar2000
Host: 239.255.255.250:1900

150.750: NPT_Win32Thread::Start(482): FINER: creating thread
150.750: PLT_CtrlPoint::ProcessSsdpMessage(1052): FINE: Device "Residential Gateway" expiration time renewed..
150.750: PLT_SsdpSender::SendSsdp(103): FINE: Sending SSDP:
150.750: PLT_HttpHelper::ToLog(485): FINE:
HTTP/1.1 200 OK
LOCATION: http://192.168.1.2:56000/DeviceDescription.xml (http://192.168.1.2:56000/DeviceDescription.xml)
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a::upnp:rootdevice
ST: upnp:rootdevice

150.750: NPT_HttpClient::ReadResponse(1154): FINER: got response, code=200, msg=OK
150.750: PLT_CtrlPoint::ProcessSsdpSearchResponse(772): FINE: CtrlPoint received SSDP search response from 192.168.1.2:3445
150.750: PLT_HttpHelper::ToLog(485): FINER:
HTTP/1.1 200 OK
LOCATION: http://192.168.1.2:56000/DeviceDescription.xml (http://192.168.1.2:56000/DeviceDescription.xml)
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a::upnp:rootdevice
ST: upnp:rootdevice

150.750: PLT_CtrlPoint::ProcessSsdpSearchResponse(807): FINE: CtrlPoint received a search response from ourselves
              (84b4bdec-94b1-f271-e0ef-9c2c5b99f19a)

150.750: PLT_SsdpSender::SendSsdp(103): FINE: Sending SSDP:
150.750: PLT_HttpHelper::ToLog(485): FINE:
HTTP/1.1 200 OK
LOCATION: http://192.168.1.2:56000/DeviceDescription.xml (http://192.168.1.2:56000/DeviceDescription.xml)
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a::upnp:rootdevice
ST: upnp:rootdevice

150.750: NPT_HttpClient::ReadResponse(1154): FINER: got response, code=200, msg=OK
150.750: PLT_CtrlPoint::ProcessSsdpSearchResponse(772): FINE: CtrlPoint received SSDP search response from 192.168.1.2:3445
150.750: PLT_HttpHelper::ToLog(485): FINER:
HTTP/1.1 200 OK
LOCATION: http://192.168.1.2:56000/DeviceDescription.xml (http://192.168.1.2:56000/DeviceDescription.xml)
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a::upnp:rootdevice
ST: upnp:rootdevice

150.750: PLT_CtrlPoint::ProcessSsdpSearchResponse(807): FINE: CtrlPoint received a search response from ourselves
              (84b4bdec-94b1-f271-e0ef-9c2c5b99f19a)

150.750: NPT_Win32Thread::EntryPoint(449): FINER: thread in =======================
150.750: PLT_SsdpSender::SendSsdp(103): FINE: Sending SSDP:
150.750: PLT_HttpHelper::ToLog(485): FINE:
HTTP/1.1 200 OK
LOCATION: http://192.168.1.2:56000/DeviceDescription.xml (http://192.168.1.2:56000/DeviceDescription.xml)
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a::upnp:rootdevice
ST: upnp:rootdevice

150.750: PLT_SsdpSender::SendSsdp(103): FINE: Sending SSDP:
150.750: PLT_HttpHelper::ToLog(485): FINE:
HTTP/1.1 200 OK
LOCATION: http://192.168.1.2:56000/DeviceDescription.xml (http://192.168.1.2:56000/DeviceDescription.xml)
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a::upnp:rootdevice
ST: upnp:rootdevice

150.750: NPT_HttpClient::ReadResponse(1154): FINER: got response, code=200, msg=OK
150.750: PLT_CtrlPoint::ProcessSsdpSearchResponse(772): FINE: CtrlPoint received SSDP search response from 192.168.1.2:3447
150.750: PLT_HttpHelper::ToLog(485): FINER:
HTTP/1.1 200 OK
LOCATION: http://192.168.1.2:56000/DeviceDescription.xml (http://192.168.1.2:56000/DeviceDescription.xml)
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a::upnp:rootdevice
ST: upnp:rootdevice

150.750: PLT_CtrlPoint::ProcessSsdpSearchResponse(807): FINE: CtrlPoint received a search response from ourselves
              (84b4bdec-94b1-f271-e0ef-9c2c5b99f19a)

150.766: NPT_HttpClient::ReadResponse(1154): FINER: got response, code=200, msg=OK
150.766: PLT_CtrlPoint::ProcessSsdpSearchResponse(772): FINE: CtrlPoint received SSDP search response from 192.168.1.2:3447
150.766: PLT_HttpHelper::ToLog(485): FINER:
HTTP/1.1 200 OK
LOCATION: http://192.168.1.2:56000/DeviceDescription.xml (http://192.168.1.2:56000/DeviceDescription.xml)
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a::upnp:rootdevice
ST: upnp:rootdevice

150.766: PLT_CtrlPoint::ProcessSsdpSearchResponse(807): FINE: CtrlPoint received a search response from ourselves
              (84b4bdec-94b1-f271-e0ef-9c2c5b99f19a)

156.797: PLT_HttpHelper::ToLog(399): FINE:
M-SEARCH * HTTP/1.1
MX: 5
ST: ssdp:all
MAN: "ssdp:discover"
User-Agent: Platinum/0.5.4.0, DLNADOC/1.50 / foobar2000
Host: 239.255.255.250:1900

156.797: NPT_Win32Thread::Start(482): FINER: creating thread
156.797: NPT_HttpClient::ReadResponse(1154): FINER: got response, code=200, msg=OK
156.797: PLT_CtrlPoint::ProcessSsdpSearchResponse(772): FINE: CtrlPoint received SSDP search response from 192.168.1.1:1900
156.797: PLT_HttpHelper::ToLog(485): FINER:
HTTP/1.1 200 OK
SERVER: Ambit OS/1.0 UPnP/1.0 AMBIT-UPNP/1.0
EXT:
LOCATION: http://192.168.1.1:80/Public_UPNP_gatedesc.xml (http://192.168.1.1:80/Public_UPNP_gatedesc.xml)
CACHE-CONTROL: max-age=3600
ST: upnp:rootdevice
USN: uuid:8c8ee318-22b6-836b-3d55-5a7aadbc34d8::upnp:rootdevice

156.797: PLT_CtrlPoint::ProcessSsdpMessage(1052): FINE: Device "Residential Gateway" expiration time renewed..
156.797: PLT_HttpHelper::ToLog(399): FINE:
M-SEARCH * HTTP/1.1
MX: 5
ST: ssdp:all
MAN: "ssdp:discover"
User-Agent: Platinum/0.5.4.0, DLNADOC/1.50 / foobar2000
Host: 239.255.255.250:1900

156.797: NPT_Win32Thread::EntryPoint(449): FINER: thread in =======================
156.797: NPT_Win32Thread::Start(482): FINER: creating thread
156.797: NPT_HttpClient::ReadResponse(1154): FINER: got response, code=200, msg=OK
156.797: PLT_CtrlPoint::ProcessSsdpSearchResponse(772): FINE: CtrlPoint received SSDP search response from 192.168.1.1:1900
156.797: PLT_HttpHelper::ToLog(485): FINER:
HTTP/1.1 200 OK
SERVER: Ambit OS/1.0 UPnP/1.0 AMBIT-UPNP/1.0
EXT:
LOCATION: http://192.168.1.1:80/Public_UPNP_gatedesc.xml (http://192.168.1.1:80/Public_UPNP_gatedesc.xml)
CACHE-CONTROL: max-age=3600
ST: uuid:8c8ee318-22b6-836b-3d55-5a7aadbc34d8
USN: uuid:8c8ee318-22b6-836b-3d55-5a7aadbc34d8

156.797: NPT_Win32Thread::EntryPoint(449): FINER: thread in =======================
156.797: PLT_SsdpSender::SendSsdp(103): FINE: Sending SSDP:
156.797: PLT_HttpHelper::ToLog(485): FINE:
HTTP/1.1 200 OK
LOCATION: http://192.168.1.2:56000/DeviceDescription.xml (http://192.168.1.2:56000/DeviceDescription.xml)
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a::upnp:rootdevice
ST: upnp:rootdevice

156.797: NPT_HttpClient::ReadResponse(1154): FINER: got response, code=200, msg=OK
156.797: PLT_CtrlPoint::ProcessSsdpSearchResponse(772): FINE: CtrlPoint received SSDP search response from 192.168.1.1:1900
156.797: PLT_HttpHelper::ToLog(485): FINER:
HTTP/1.1 200 OK
SERVER: Ambit OS/1.0 UPnP/1.0 AMBIT-UPNP/1.0
EXT:
LOCATION: http://192.168.1.1:80/Public_UPNP_gatedesc.xml (http://192.168.1.1:80/Public_UPNP_gatedesc.xml)
CACHE-CONTROL: max-age=3600
ST: urn:schemas-upnp-org:device:InternetGatewayDevice:1
USN: uuid:8c8ee318-22b6-836b-3d55-5a7aadbc34d8::urn:schemas-upnp-org:device:InternetGatewayDevice:1

156.797: PLT_SsdpSender::SendSsdp(103): FINE: Sending SSDP:
156.797: PLT_CtrlPoint::ProcessSsdpMessage(1052): FINE: Device "Residential Gateway" expiration time renewed..
156.797: PLT_HttpHelper::ToLog(485): FINE:
HTTP/1.1 200 OK
LOCATION: http://192.168.1.2:56000/DeviceDescription.xml (http://192.168.1.2:56000/DeviceDescription.xml)
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a
ST: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a

156.797: NPT_HttpClient::ReadResponse(1154): FINER: got response, code=200, msg=OK
156.797: PLT_SsdpSender::SendSsdp(103): FINE: Sending SSDP:
156.797: PLT_CtrlPoint::ProcessSsdpSearchResponse(772): FINE: CtrlPoint received SSDP search response from 192.168.1.1:1900
156.797: PLT_HttpHelper::ToLog(485): FINE:
HTTP/1.1 200 OK
LOCATION: http://192.168.1.2:56000/DeviceDescription.xml (http://192.168.1.2:56000/DeviceDescription.xml)
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a::urn:schemas-upnp-org:device:MediaServer:1
ST: urn:schemas-upnp-org:device:MediaServer:1

156.797: PLT_HttpHelper::ToLog(485): FINER:
HTTP/1.1 200 OK
SERVER: Ambit OS/1.0 UPnP/1.0 AMBIT-UPNP/1.0
EXT:
LOCATION: http://192.168.1.1:80/Public_UPNP_gatedesc.xml (http://192.168.1.1:80/Public_UPNP_gatedesc.xml)
CACHE-CONTROL: max-age=3600
ST: uuid:273df994-239c-aa6f-3b64-c488d76846b4
USN: uuid:273df994-239c-aa6f-3b64-c488d76846b4

156.797: PLT_SsdpSender::SendSsdp(103): FINE: Sending SSDP:
156.797: NPT_HttpClient::ReadResponse(1154): FINER: got response, code=200, msg=OK
156.797: PLT_HttpHelper::ToLog(485): FINE:
HTTP/1.1 200 OK
LOCATION: http://192.168.1.2:56000/DeviceDescription.xml (http://192.168.1.2:56000/DeviceDescription.xml)
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a::urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1
ST: urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1

156.797: PLT_CtrlPoint::ProcessSsdpSearchResponse(772): FINE: CtrlPoint received SSDP search response from 192.168.1.1:1900
156.797: PLT_HttpHelper::ToLog(485): FINER:
HTTP/1.1 200 OK
SERVER: Ambit OS/1.0 UPnP/1.0 AMBIT-UPNP/1.0
EXT:
LOCATION: http://192.168.1.1:80/Public_UPNP_gatedesc.xml (http://192.168.1.1:80/Public_UPNP_gatedesc.xml)
CACHE-CONTROL: max-age=3600
ST: urn:schemas-upnp-org:device:WANDevice:1
USN: uuid:273df994-239c-aa6f-3b64-c488d76846b4::urn:schemas-upnp-org:device:WANDevice:1

156.797: PLT_CtrlPoint::ProcessSsdpMessage(1052): FINE: Device "WAN Device" expiration time renewed..
156.797: PLT_SsdpSender::SendSsdp(103): FINE: Sending SSDP:
156.797: PLT_HttpHelper::ToLog(485): FINE:
HTTP/1.1 200 OK
LOCATION: http://192.168.1.2:56000/DeviceDescription.xml (http://192.168.1.2:56000/DeviceDescription.xml)
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a::urn:schemas-upnp-org:service:ContentDirectory:1
ST: urn:schemas-upnp-org:service:ContentDirectory:1

156.797: NPT_HttpClient::ReadResponse(1154): FINER: got response, code=200, msg=OK
156.797: PLT_CtrlPoint::ProcessSsdpSearchResponse(772): FINE: CtrlPoint received SSDP search response from 192.168.1.1:1900
156.797: PLT_HttpHelper::ToLog(485): FINER:
HTTP/1.1 200 OK
SERVER: Ambit OS/1.0 UPnP/1.0 AMBIT-UPNP/1.0
EXT:
LOCATION: http://192.168.1.1:80/Public_UPNP_gatedesc.xml (http://192.168.1.1:80/Public_UPNP_gatedesc.xml)
CACHE-CONTROL: max-age=3600
ST: uuid:0a40e193-2282-a022-340b-f5e72c31530c
USN: uuid:0a40e193-2282-a022-340b-f5e72c31530c

156.797: PLT_SsdpSender::SendSsdp(103): FINE: Sending SSDP:
156.797: PLT_HttpHelper::ToLog(485): FINE:
HTTP/1.1 200 OK
LOCATION: http://192.168.1.2:56000/DeviceDescription.xml (http://192.168.1.2:56000/DeviceDescription.xml)
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a::urn:schemas-upnp-org:service:ConnectionManager:1
ST: urn:schemas-upnp-org:service:ConnectionManager:1

156.797: NPT_HttpClient::ReadResponse(1154): FINER: got response, code=200, msg=OK
156.797: PLT_CtrlPoint::ProcessSsdpSearchResponse(772): FINE: CtrlPoint received SSDP search response from 192.168.1.1:1900
156.797: PLT_HttpHelper::ToLog(485): FINER:
HTTP/1.1 200 OK
SERVER: Ambit OS/1.0 UPnP/1.0 AMBIT-UPNP/1.0
EXT:
LOCATION: http://192.168.1.1:80/Public_UPNP_gatedesc.xml (http://192.168.1.1:80/Public_UPNP_gatedesc.xml)
CACHE-CONTROL: max-age=3600
ST: urn:schemas-upnp-org:device:WANConnectionDevice:1
USN: uuid:0a40e193-2282-a022-340b-f5e72c31530c::urn:schemas-upnp-org:device:WANConnectionDevice:1

156.797: PLT_SsdpSender::SendSsdp(103): FINE: Sending SSDP:
156.797: PLT_CtrlPoint::ProcessSsdpMessage(1052): FINE: Device "WAN Connection Device" expiration time renewed..
156.797: PLT_HttpHelper::ToLog(485): FINE:
HTTP/1.1 200 OK
LOCATION: http://192.168.1.2:56000/DeviceDescription.xml (http://192.168.1.2:56000/DeviceDescription.xml)
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a::upnp:rootdevice
ST: upnp:rootdevice

156.797: PLT_SsdpSearchTask::DoRun(476): WARNING: PLT_SsdpSearchTask got an error (-20800) waiting for response
156.797: PLT_SsdpSearchTask::DoRun(476): WARNING: PLT_SsdpSearchTask got an error (-20800) waiting for response
156.813: PLT_SsdpSender::SendSsdp(103): FINE: Sending SSDP:
156.813: PLT_HttpHelper::ToLog(485): FINE:
HTTP/1.1 200 OK
LOCATION: http://192.168.1.2:56000/DeviceDescription.xml (http://192.168.1.2:56000/DeviceDescription.xml)
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a
ST: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a

156.813: NPT_HttpClient::ReadResponse(1154): FINER: got response, code=200, msg=OK
156.813: PLT_CtrlPoint::ProcessSsdpSearchResponse(772): FINE: CtrlPoint received SSDP search response from 192.168.1.2:3456
156.813: PLT_HttpHelper::ToLog(485): FINER:
HTTP/1.1 200 OK
LOCATION: http://192.168.1.2:56000/DeviceDescription.xml (http://192.168.1.2:56000/DeviceDescription.xml)
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a::upnp:rootdevice
ST: upnp:rootdevice

156.813: PLT_CtrlPoint::ProcessSsdpSearchResponse(807): FINE: CtrlPoint received a search response from ourselves
              (84b4bdec-94b1-f271-e0ef-9c2c5b99f19a)

156.813: PLT_SsdpSearchTask::DoRun(476): WARNING: PLT_SsdpSearchTask got an error (-20800) waiting for response
156.813: PLT_SsdpSender::SendSsdp(103): FINE: Sending SSDP:
156.813: PLT_HttpHelper::ToLog(485): FINE:
HTTP/1.1 200 OK
LOCATION: http://192.168.1.2:56000/DeviceDescription.xml (http://192.168.1.2:56000/DeviceDescription.xml)
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a::urn:schemas-upnp-org:device:MediaServer:1
ST: urn:schemas-upnp-org:device:MediaServer:1

156.813: NPT_HttpClient::ReadResponse(1154): FINER: got response, code=200, msg=OK
156.813: PLT_CtrlPoint::ProcessSsdpSearchResponse(772): FINE: CtrlPoint received SSDP search response from 192.168.1.2:3456
156.813: PLT_HttpHelper::ToLog(485): FINER:
HTTP/1.1 200 OK
LOCATION: http://192.168.1.2:56000/DeviceDescription.xml (http://192.168.1.2:56000/DeviceDescription.xml)
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a
ST: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a

156.813: PLT_SsdpSender::SendSsdp(103): FINE: Sending SSDP:
156.813: PLT_HttpHelper::ToLog(485): FINE:
HTTP/1.1 200 OK
LOCATION: http://192.168.1.2:56000/DeviceDescription.xml (http://192.168.1.2:56000/DeviceDescription.xml)
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a::urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1
ST: urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1

156.813: NPT_HttpClient::ReadResponse(1154): FINER: got response, code=200, msg=OK
156.813: PLT_SsdpSender::SendSsdp(103): FINE: Sending SSDP:
156.813: PLT_CtrlPoint::ProcessSsdpSearchResponse(772): FINE: CtrlPoint received SSDP search response from 192.168.1.1:1900
156.813: PLT_HttpHelper::ToLog(485): FINER:
HTTP/1.1 200 OK
SERVER: Ambit OS/1.0 UPnP/1.0 AMBIT-UPNP/1.0
EXT:
LOCATION: http://192.168.1.1:80/Public_UPNP_gatedesc.xml (http://192.168.1.1:80/Public_UPNP_gatedesc.xml)
CACHE-CONTROL: max-age=3600
ST: upnp:rootdevice
USN: uuid:8c8ee318-22b6-836b-3d55-5a7aadbc34d8::upnp:rootdevice

156.813: PLT_HttpHelper::ToLog(485): FINE:
HTTP/1.1 200 OK
LOCATION: http://192.168.1.2:56000/DeviceDescription.xml (http://192.168.1.2:56000/DeviceDescription.xml)
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a::urn:schemas-upnp-org:service:ContentDirectory:1
ST: urn:schemas-upnp-org:service:ContentDirectory:1

156.813: PLT_CtrlPoint::ProcessSsdpMessage(1052): FINE: Device "Residential Gateway" expiration time renewed..
156.813: PLT_SsdpSender::SendSsdp(103): FINE: Sending SSDP:
156.813: PLT_HttpHelper::ToLog(485): FINE:
HTTP/1.1 200 OK
LOCATION: http://192.168.1.2:56000/DeviceDescription.xml (http://192.168.1.2:56000/DeviceDescription.xml)
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a::urn:schemas-upnp-org:service:ConnectionManager:1
ST: urn:schemas-upnp-org:service:ConnectionManager:1

156.813: NPT_HttpClient::ReadResponse(1154): FINER: got response, code=200, msg=OK
156.813: PLT_CtrlPoint::ProcessSsdpSearchResponse(772): FINE: CtrlPoint received SSDP search response from 192.168.1.1:1900
156.813: PLT_HttpHelper::ToLog(485): FINER:
HTTP/1.1 200 OK
SERVER: Ambit OS/1.0 UPnP/1.0 AMBIT-UPNP/1.0
EXT:
LOCATION: http://192.168.1.1:80/Public_UPNP_gatedesc.xml (http://192.168.1.1:80/Public_UPNP_gatedesc.xml)
CACHE-CONTROL: max-age=3600
ST: uuid:8c8ee318-22b6-836b-3d55-5a7aadbc34d8
USN: uuid:8c8ee318-22b6-836b-3d55-5a7aadbc34d8

156.813: NPT_HttpClient::ReadResponse(1154): FINER: got response, code=200, msg=OK
156.813: PLT_CtrlPoint::ProcessSsdpSearchResponse(772): FINE: CtrlPoint received SSDP search response from 192.168.1.2:3456
156.813: PLT_HttpHelper::ToLog(485): FINER:
HTTP/1.1 200 OK
LOCATION: http://192.168.1.2:56000/DeviceDescription.xml (http://192.168.1.2:56000/DeviceDescription.xml)
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a::urn:schemas-upnp-org:device:MediaServer:1
ST: urn:schemas-upnp-org:device:MediaServer:1

156.813: PLT_CtrlPoint::ProcessSsdpSearchResponse(807): FINE: CtrlPoint received a search response from ourselves
              (84b4bdec-94b1-f271-e0ef-9c2c5b99f19a)

156.813: NPT_HttpClient::ReadResponse(1154): FINER: got response, code=200, msg=OK
156.813: PLT_CtrlPoint::ProcessSsdpSearchResponse(772): FINE: CtrlPoint received SSDP search response from 192.168.1.1:1900
156.813: PLT_HttpHelper::ToLog(485): FINER:
HTTP/1.1 200 OK
SERVER: Ambit OS/1.0 UPnP/1.0 AMBIT-UPNP/1.0
EXT:
LOCATION: http://192.168.1.1:80/Public_UPNP_gatedesc.xml (http://192.168.1.1:80/Public_UPNP_gatedesc.xml)
CACHE-CONTROL: max-age=3600
ST: urn:schemas-upnp-org:device:InternetGatewayDevice:1
USN: uuid:8c8ee318-22b6-836b-3d55-5a7aadbc34d8::urn:schemas-upnp-org:device:InternetGatewayDevice:1

156.813: PLT_CtrlPoint::ProcessSsdpMessage(1052): FINE: Device "Residential Gateway" expiration time renewed..
156.813: NPT_HttpClient::ReadResponse(1154): FINER: got response, code=200, msg=OK
156.813: PLT_CtrlPoint::ProcessSsdpSearchResponse(772): FINE: CtrlPoint received SSDP search response from 192.168.1.2:3456
156.813: PLT_HttpHelper::ToLog(485): FINER:
HTTP/1.1 200 OK
LOCATION: http://192.168.1.2:56000/DeviceDescription.xml (http://192.168.1.2:56000/DeviceDescription.xml)
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a::urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1
ST: urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1

156.813: PLT_CtrlPoint::ProcessSsdpSearchResponse(807): FINE: CtrlPoint received a search response from ourselves
              (84b4bdec-94b1-f271-e0ef-9c2c5b99f19a)

156.813: NPT_HttpClient::ReadResponse(1154): FINER: got response, code=200, msg=OK
156.813: PLT_CtrlPoint::ProcessSsdpSearchResponse(772): FINE: CtrlPoint received SSDP search response from 192.168.1.1:1900
156.813: PLT_HttpHelper::ToLog(485): FINER:
HTTP/1.1 200 OK
SERVER: Ambit OS/1.0 UPnP/1.0 AMBIT-UPNP/1.0
EXT:
LOCATION: http://192.168.1.1:80/Public_UPNP_gatedesc.xml (http://192.168.1.1:80/Public_UPNP_gatedesc.xml)
CACHE-CONTROL: max-age=3600
ST: uuid:273df994-239c-aa6f-3b64-c488d76846b4
USN: uuid:273df994-239c-aa6f-3b64-c488d76846b4

156.813: NPT_HttpClient::ReadResponse(1154): FINER: got response, code=200, msg=OK
156.813: PLT_CtrlPoint::ProcessSsdpSearchResponse(772): FINE: CtrlPoint received SSDP search response from 192.168.1.2:3456
156.813: PLT_HttpHelper::ToLog(485): FINER:
HTTP/1.1 200 OK
LOCATION: http://192.168.1.2:56000/DeviceDescription.xml (http://192.168.1.2:56000/DeviceDescription.xml)
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a::urn:schemas-upnp-org:service:ContentDirectory:1
ST: urn:schemas-upnp-org:service:ContentDirectory:1

156.813: PLT_CtrlPoint::ProcessSsdpSearchResponse(807): FINE: CtrlPoint received a search response from ourselves
              (84b4bdec-94b1-f271-e0ef-9c2c5b99f19a)

156.813: NPT_HttpClient::ReadResponse(1154): FINER: got response, code=200, msg=OK
156.813: PLT_CtrlPoint::ProcessSsdpSearchResponse(772): FINE: CtrlPoint received SSDP search response from 192.168.1.1:1900
156.813: PLT_HttpHelper::ToLog(485): FINER:
HTTP/1.1 200 OK
SERVER: Ambit OS/1.0 UPnP/1.0 AMBIT-UPNP/1.0
EXT:
LOCATION: http://192.168.1.1:80/Public_UPNP_gatedesc.xml (http://192.168.1.1:80/Public_UPNP_gatedesc.xml)
CACHE-CONTROL: max-age=3600
ST: urn:schemas-upnp-org:device:WANDevice:1
USN: uuid:273df994-239c-aa6f-3b64-c488d76846b4::urn:schemas-upnp-org:device:WANDevice:1

156.813: PLT_CtrlPoint::ProcessSsdpMessage(1052): FINE: Device "WAN Device" expiration time renewed..
156.813: NPT_HttpClient::ReadResponse(1154): FINER: got response, code=200, msg=OK
156.813: PLT_CtrlPoint::ProcessSsdpSearchResponse(772): FINE: CtrlPoint received SSDP search response from 192.168.1.1:1900
156.813: PLT_HttpHelper::ToLog(485): FINER:
HTTP/1.1 200 OK
SERVER: Ambit OS/1.0 UPnP/1.0 AMBIT-UPNP/1.0
EXT:
LOCATION: http://192.168.1.1:80/Public_UPNP_gatedesc.xml (http://192.168.1.1:80/Public_UPNP_gatedesc.xml)
CACHE-CONTROL: max-age=3600
ST: uuid:0a40e193-2282-a022-340b-f5e72c31530c
USN: uuid:0a40e193-2282-a022-340b-f5e72c31530c

156.813: NPT_HttpClient::ReadResponse(1154): FINER: got response, code=200, msg=OK
156.813: PLT_CtrlPoint::ProcessSsdpSearchResponse(772): FINE: CtrlPoint received SSDP search response from 192.168.1.2:3456
156.813: PLT_HttpHelper::ToLog(485): FINER:
HTTP/1.1 200 OK
LOCATION: http://192.168.1.2:56000/DeviceDescription.xml (http://192.168.1.2:56000/DeviceDescription.xml)
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a::urn:schemas-upnp-org:service:ConnectionManager:1
ST: urn:schemas-upnp-org:service:ConnectionManager:1

156.813: PLT_CtrlPoint::ProcessSsdpSearchResponse(807): FINE: CtrlPoint received a search response from ourselves
              (84b4bdec-94b1-f271-e0ef-9c2c5b99f19a)

156.813: NPT_HttpClient::ReadResponse(1154): FINER: got response, code=200, msg=OK
156.813: PLT_CtrlPoint::ProcessSsdpSearchResponse(772): FINE: CtrlPoint received SSDP search response from 192.168.1.1:1900
156.813: PLT_HttpHelper::ToLog(485): FINER:
HTTP/1.1 200 OK
SERVER: Ambit OS/1.0 UPnP/1.0 AMBIT-UPNP/1.0
EXT:
LOCATION: http://192.168.1.1:80/Public_UPNP_gatedesc.xml (http://192.168.1.1:80/Public_UPNP_gatedesc.xml)
CACHE-CONTROL: max-age=3600
ST: urn:schemas-upnp-org:device:WANConnectionDevice:1
USN: uuid:0a40e193-2282-a022-340b-f5e72c31530c::urn:schemas-upnp-org:device:WANConnectionDevice:1

156.813: PLT_CtrlPoint::ProcessSsdpMessage(1052): FINE: Device "WAN Connection Device" expiration time renewed..
156.813: PLT_SsdpSearchTask::DoRun(476): WARNING: PLT_SsdpSearchTask got an error (-20800) waiting for response
156.813: NPT_HttpClient::ReadResponse(1154): FINER: got response, code=200, msg=OK
156.813: PLT_CtrlPoint::ProcessSsdpSearchResponse(772): FINE: CtrlPoint received SSDP search response from 192.168.1.2:3456
156.813: PLT_HttpHelper::ToLog(485): FINER:
HTTP/1.1 200 OK
LOCATION: http://192.168.1.2:56000/DeviceDescription.xml (http://192.168.1.2:56000/DeviceDescription.xml)
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a::upnp:rootdevice
ST: upnp:rootdevice

156.813: PLT_CtrlPoint::ProcessSsdpSearchResponse(807): FINE: CtrlPoint received a search response from ourselves
              (84b4bdec-94b1-f271-e0ef-9c2c5b99f19a)

156.813: PLT_SsdpSearchTask::DoRun(476): WARNING: PLT_SsdpSearchTask got an error (-20800) waiting for response
156.813: PLT_SsdpSearchTask::DoRun(476): WARNING: PLT_SsdpSearchTask got an error (-20800) waiting for response
156.813: NPT_HttpClient::ReadResponse(1154): FINER: got response, code=200, msg=OK
156.813: PLT_CtrlPoint::ProcessSsdpSearchResponse(772): FINE: CtrlPoint received SSDP search response from 192.168.1.2:3456
156.813: PLT_HttpHelper::ToLog(485): FINER:
HTTP/1.1 200 OK
LOCATION: http://192.168.1.2:56000/DeviceDescription.xml (http://192.168.1.2:56000/DeviceDescription.xml)
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a
ST: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a

156.813: NPT_HttpClient::ReadResponse(1154): FINER: got response, code=200, msg=OK
156.813: PLT_CtrlPoint::ProcessSsdpSearchResponse(772): FINE: CtrlPoint received SSDP search response from 192.168.1.2:3456
156.813: PLT_HttpHelper::ToLog(485): FINER:
HTTP/1.1 200 OK
LOCATION: http://192.168.1.2:56000/DeviceDescription.xml (http://192.168.1.2:56000/DeviceDescription.xml)
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a::urn:schemas-upnp-org:device:MediaServer:1
ST: urn:schemas-upnp-org:device:MediaServer:1

156.813: PLT_CtrlPoint::ProcessSsdpSearchResponse(807): FINE: CtrlPoint received a search response from ourselves
              (84b4bdec-94b1-f271-e0ef-9c2c5b99f19a)

156.813: NPT_HttpClient::ReadResponse(1154): FINER: got response, code=200, msg=OK
156.813: PLT_CtrlPoint::ProcessSsdpSearchResponse(772): FINE: CtrlPoint received SSDP search response from 192.168.1.2:3456
156.813: PLT_HttpHelper::ToLog(485): FINER:
HTTP/1.1 200 OK
LOCATION: http://192.168.1.2:56000/DeviceDescription.xml (http://192.168.1.2:56000/DeviceDescription.xml)
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a::urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1
ST: urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1

156.813: PLT_CtrlPoint::ProcessSsdpSearchResponse(807): FINE: CtrlPoint received a search response from ourselves
              (84b4bdec-94b1-f271-e0ef-9c2c5b99f19a)

156.813: NPT_HttpClient::ReadResponse(1154): FINER: got response, code=200, msg=OK
156.813: PLT_CtrlPoint::ProcessSsdpSearchResponse(772): FINE: CtrlPoint received SSDP search response from 192.168.1.2:3456
156.813: PLT_HttpHelper::ToLog(485): FINER:
HTTP/1.1 200 OK
LOCATION: http://192.168.1.2:56000/DeviceDescription.xml (http://192.168.1.2:56000/DeviceDescription.xml)
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a::urn:schemas-upnp-org:service:ContentDirectory:1
ST: urn:schemas-upnp-org:service:ContentDirectory:1

156.813: PLT_CtrlPoint::ProcessSsdpSearchResponse(807): FINE: CtrlPoint received a search response from ourselves
              (84b4bdec-94b1-f271-e0ef-9c2c5b99f19a)

156.813: NPT_HttpClient::ReadResponse(1154): FINER: got response, code=200, msg=OK
156.813: PLT_CtrlPoint::ProcessSsdpSearchResponse(772): FINE: CtrlPoint received SSDP search response from 192.168.1.2:3456
156.813: PLT_HttpHelper::ToLog(485): FINER:
HTTP/1.1 200 OK
LOCATION: http://192.168.1.2:56000/DeviceDescription.xml (http://192.168.1.2:56000/DeviceDescription.xml)
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a::urn:schemas-upnp-org:service:ConnectionManager:1
ST: urn:schemas-upnp-org:service:ConnectionManager:1

156.813: PLT_CtrlPoint::ProcessSsdpSearchResponse(807): FINE: CtrlPoint received a search response from ourselves
            (84b4bdec-94b1-f271-e0ef-9c2c5b99f19a)

156.953: NPT_HttpRequest::Parse(591): FINE: NPT_CHECK failed, result=-20014 (
              NPT_ERROR_TIMEOUT) [(stream.ReadLine(line,
              NPT_HTTP_PROTOCOL_MAX_LINE_LENGTH))]
157.766: PLT_HttpHelper::ToLog(399): FINE:
M-SEARCH * HTTP/1.1
MX: 5
ST: upnp:rootdevice
MAN: "ssdp:discover"
User-Agent: Platinum/0.5.4.0, DLNADOC/1.50 / foobar2000
Host: 239.255.255.250:1900

157.766: NPT_Win32Thread::Start(482): FINER: creating thread
157.766: PLT_HttpHelper::ToLog(399): FINE:
M-SEARCH * HTTP/1.1
MX: 5
ST: upnp:rootdevice
MAN: "ssdp:discover"
User-Agent: Platinum/0.5.4.0, DLNADOC/1.50 / foobar2000
Host: 239.255.255.250:1900

157.766: NPT_Win32Thread::Start(482): FINER: creating thread
157.766: NPT_Win32Thread::EntryPoint(449): FINER: thread in =======================
157.766: NPT_HttpClient::ReadResponse(1154): FINER: got response, code=200, msg=OK
157.766: PLT_CtrlPoint::ProcessSsdpSearchResponse(772): FINE: CtrlPoint received SSDP search response from 192.168.1.1:1900
157.766: PLT_HttpHelper::ToLog(485): FINER:
HTTP/1.1 200 OK
SERVER: Ambit OS/1.0 UPnP/1.0 AMBIT-UPNP/1.0
EXT:
LOCATION: http://192.168.1.1:80/Public_UPNP_gatedesc.xml (http://192.168.1.1:80/Public_UPNP_gatedesc.xml)
CACHE-CONTROL: max-age=3600
ST: upnp:rootdevice
USN: uuid:8c8ee318-22b6-836b-3d55-5a7aadbc34d8::upnp:rootdevice

157.766: PLT_CtrlPoint::ProcessSsdpMessage(1052): FINE: Device "Residential Gateway" expiration time renewed..
157.766: NPT_HttpClient::ReadResponse(1154): FINER: got response, code=200, msg=OK
157.766: PLT_CtrlPoint::ProcessSsdpSearchResponse(772): FINE: CtrlPoint received SSDP search response from 192.168.1.1:1900
157.766: PLT_HttpHelper::ToLog(485): FINER:
HTTP/1.1 200 OK
SERVER: Ambit OS/1.0 UPnP/1.0 AMBIT-UPNP/1.0
EXT:
LOCATION: http://192.168.1.1:80/Public_UPNP_gatedesc.xml (http://192.168.1.1:80/Public_UPNP_gatedesc.xml)
CACHE-CONTROL: max-age=3600
ST: upnp:rootdevice
USN: uuid:8c8ee318-22b6-836b-3d55-5a7aadbc34d8::upnp:rootdevice

157.766: PLT_CtrlPoint::ProcessSsdpMessage(1052): FINE: Device "Residential Gateway" expiration time renewed..
157.766: NPT_Win32Thread::EntryPoint(449): FINER: thread in =======================
158.766: PLT_SsdpSender::SendSsdp(103): FINE: Sending SSDP:
158.766: PLT_HttpHelper::ToLog(485): FINE:
HTTP/1.1 200 OK
LOCATION: http://192.168.1.2:56000/DeviceDescription.xml (http://192.168.1.2:56000/DeviceDescription.xml)
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a::upnp:rootdevice
ST: upnp:rootdevice

158.766: PLT_SsdpSender::SendSsdp(103): FINE: Sending SSDP:
158.766: NPT_HttpClient::ReadResponse(1154): FINER: got response, code=200, msg=OK
158.766: PLT_CtrlPoint::ProcessSsdpSearchResponse(772): FINE: CtrlPoint received SSDP search response from 192.168.1.2:3458
158.766: PLT_HttpHelper::ToLog(485): FINE:
HTTP/1.1 200 OK
LOCATION: http://192.168.1.2:56000/DeviceDescription.xml (http://192.168.1.2:56000/DeviceDescription.xml)
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a::upnp:rootdevice
ST: upnp:rootdevice

158.766: PLT_HttpHelper::ToLog(485): FINER:
HTTP/1.1 200 OK
LOCATION: http://192.168.1.2:56000/DeviceDescription.xml (http://192.168.1.2:56000/DeviceDescription.xml)
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a::upnp:rootdevice
ST: upnp:rootdevice

158.766: PLT_CtrlPoint::ProcessSsdpSearchResponse(807): FINE: CtrlPoint received a search response from ourselves
              (84b4bdec-94b1-f271-e0ef-9c2c5b99f19a)

158.766: NPT_HttpClient::ReadResponse(1154): FINER: got response, code=200, msg=OK
158.766: PLT_CtrlPoint::ProcessSsdpSearchResponse(772): FINE: CtrlPoint received SSDP search response from 192.168.1.2:3458
158.766: PLT_HttpHelper::ToLog(485): FINER:
HTTP/1.1 200 OK
LOCATION: http://192.168.1.2:56000/DeviceDescription.xml (http://192.168.1.2:56000/DeviceDescription.xml)
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a::upnp:rootdevice
ST: upnp:rootdevice

158.766: PLT_CtrlPoint::ProcessSsdpSearchResponse(807): FINE: CtrlPoint received a search response from ourselves
              (84b4bdec-94b1-f271-e0ef-9c2c5b99f19a)

160.828: PLT_SsdpSender::SendSsdp(103): FINE: Sending SSDP:
160.828: PLT_HttpHelper::ToLog(485): FINE:
HTTP/1.1 200 OK
LOCATION: http://192.168.1.2:56000/DeviceDescription.xml (http://192.168.1.2:56000/DeviceDescription.xml)
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a::upnp:rootdevice
ST: upnp:rootdevice

160.828: PLT_SsdpSender::SendSsdp(103): FINE: Sending SSDP:
160.828: PLT_HttpHelper::ToLog(485): FINE:
HTTP/1.1 200 OK
LOCATION: http://192.168.1.2:56000/DeviceDescription.xml (http://192.168.1.2:56000/DeviceDescription.xml)
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a
ST: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a

160.828: NPT_HttpClient::ReadResponse(1154): FINER: got response, code=200, msg=OK
160.828: PLT_CtrlPoint::ProcessSsdpSearchResponse(772): FINE: CtrlPoint received SSDP search response from 192.168.1.2:3463
160.828: PLT_HttpHelper::ToLog(485): FINER:
HTTP/1.1 200 OK
LOCATION: http://192.168.1.2:56000/DeviceDescription.xml (http://192.168.1.2:56000/DeviceDescription.xml)
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a::upnp:rootdevice
ST: upnp:rootdevice

160.828: PLT_CtrlPoint::ProcessSsdpSearchResponse(807): FINE: CtrlPoint received a search response from ourselves
              (84b4bdec-94b1-f271-e0ef-9c2c5b99f19a)

160.828: PLT_SsdpSender::SendSsdp(103): FINE: Sending SSDP:
160.828: PLT_HttpHelper::ToLog(485): FINE:
HTTP/1.1 200 OK
LOCATION: http://192.168.1.2:56000/DeviceDescription.xml (http://192.168.1.2:56000/DeviceDescription.xml)
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a::urn:schemas-upnp-org:device:MediaServer:1
ST: urn:schemas-upnp-org:device:MediaServer:1

160.828: NPT_HttpClient::ReadResponse(1154): FINER: got response, code=200, msg=OK
160.828: PLT_CtrlPoint::ProcessSsdpSearchResponse(772): FINE: CtrlPoint received SSDP search response from 192.168.1.2:3463
160.828: PLT_HttpHelper::ToLog(485): FINER:
HTTP/1.1 200 OK
LOCATION: http://192.168.1.2:56000/DeviceDescription.xml (http://192.168.1.2:56000/DeviceDescription.xml)
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a
ST: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a

160.828: PLT_SsdpSender::SendSsdp(103): FINE: Sending SSDP:
160.828: PLT_HttpHelper::ToLog(485): FINE:
HTTP/1.1 200 OK
LOCATION: http://192.168.1.2:56000/DeviceDescription.xml (http://192.168.1.2:56000/DeviceDescription.xml)
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a::urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1
ST: urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1

160.828: NPT_HttpClient::ReadResponse(1154): FINER: got response, code=200, msg=OK
160.828: PLT_CtrlPoint::ProcessSsdpSearchResponse(772): FINE: CtrlPoint received SSDP search response from 192.168.1.2:3463
160.828: PLT_HttpHelper::ToLog(485): FINER:
HTTP/1.1 200 OK
LOCATION: http://192.168.1.2:56000/DeviceDescription.xml (http://192.168.1.2:56000/DeviceDescription.xml)
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a::urn:schemas-upnp-org:device:MediaServer:1
ST: urn:schemas-upnp-org:device:MediaServer:1

160.828: PLT_CtrlPoint::ProcessSsdpSearchResponse(807): FINE: CtrlPoint received a search response from ourselves
              (84b4bdec-94b1-f271-e0ef-9c2c5b99f19a)

160.828: PLT_SsdpSender::SendSsdp(103): FINE: Sending SSDP:
160.828: PLT_HttpHelper::ToLog(485): FINE:
HTTP/1.1 200 OK
LOCATION: http://192.168.1.2:56000/DeviceDescription.xml (http://192.168.1.2:56000/DeviceDescription.xml)
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a::urn:schemas-upnp-org:service:ContentDirectory:1
ST: urn:schemas-upnp-org:service:ContentDirectory:1

160.828: NPT_HttpClient::ReadResponse(1154): FINER: got response, code=200, msg=OK
160.828: PLT_CtrlPoint::ProcessSsdpSearchResponse(772): FINE: CtrlPoint received SSDP search response from 192.168.1.2:3463
160.828: PLT_HttpHelper::ToLog(485): FINER:
HTTP/1.1 200 OK
LOCATION: http://192.168.1.2:56000/DeviceDescription.xml (http://192.168.1.2:56000/DeviceDescription.xml)
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a::urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1
ST: urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1

160.828: PLT_SsdpSender::SendSsdp(103): FINE: Sending SSDP:
160.828: PLT_CtrlPoint::ProcessSsdpSearchResponse(807): FINE: CtrlPoint received a search response from ourselves
              (84b4bdec-94b1-f271-e0ef-9c2c5b99f19a)

160.828: PLT_HttpHelper::ToLog(485): FINE:
HTTP/1.1 200 OK
LOCATION: http://192.168.1.2:56000/DeviceDescription.xml (http://192.168.1.2:56000/DeviceDescription.xml)
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a::urn:schemas-upnp-org:service:ConnectionManager:1
ST: urn:schemas-upnp-org:service:ConnectionManager:1

160.828: PLT_SsdpSender::SendSsdp(103): FINE: Sending SSDP:
160.828: PLT_HttpHelper::ToLog(485): FINE:
HTTP/1.1 200 OK
LOCATION: http://192.168.1.2:56000/DeviceDescription.xml (http://192.168.1.2:56000/DeviceDescription.xml)
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a::upnp:rootdevice
ST: upnp:rootdevice

160.828: PLT_SsdpSender::SendSsdp(103): FINE: Sending SSDP:
160.828: PLT_HttpHelper::ToLog(485): FINE:
HTTP/1.1 200 OK
LOCATION: http://192.168.1.2:56000/DeviceDescription.xml (http://192.168.1.2:56000/DeviceDescription.xml)
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a
ST: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a

160.828: NPT_HttpClient::ReadResponse(1154): FINER: got response, code=200, msg=OK
160.828: PLT_CtrlPoint::ProcessSsdpSearchResponse(772): FINE: CtrlPoint received SSDP search response from 192.168.1.2:3463
160.828: PLT_HttpHelper::ToLog(485): FINER:
HTTP/1.1 200 OK
LOCATION: http://192.168.1.2:56000/DeviceDescription.xml (http://192.168.1.2:56000/DeviceDescription.xml)
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a::urn:schemas-upnp-org:service:ContentDirectory:1
ST: urn:schemas-upnp-org:service:ContentDirectory:1

160.828: PLT_CtrlPoint::ProcessSsdpSearchResponse(807): FINE: CtrlPoint received a search response from ourselves
              (84b4bdec-94b1-f271-e0ef-9c2c5b99f19a)

160.828: PLT_SsdpSender::SendSsdp(103): FINE: Sending SSDP:
160.828: PLT_HttpHelper::ToLog(485): FINE:
HTTP/1.1 200 OK
LOCATION: http://192.168.1.2:56000/DeviceDescription.xml (http://192.168.1.2:56000/DeviceDescription.xml)
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a::urn:schemas-upnp-org:device:MediaServer:1
ST: urn:schemas-upnp-org:device:MediaServer:1

160.828: PLT_SsdpSender::SendSsdp(103): FINE: Sending SSDP:
160.828: PLT_HttpHelper::ToLog(485): FINE:
HTTP/1.1 200 OK
LOCATION: http://192.168.1.2:56000/DeviceDescription.xml (http://192.168.1.2:56000/DeviceDescription.xml)
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a::urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1
ST: urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1

160.828: NPT_HttpClient::ReadResponse(1154): FINER: got response, code=200, msg=OK
160.828: PLT_CtrlPoint::ProcessSsdpSearchResponse(772): FINE: CtrlPoint received SSDP search response from 192.168.1.2:3463
160.828: PLT_HttpHelper::ToLog(485): FINER:
HTTP/1.1 200 OK
LOCATION: http://192.168.1.2:56000/DeviceDescription.xml (http://192.168.1.2:56000/DeviceDescription.xml)
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a::urn:schemas-upnp-org:service:ConnectionManager:1
ST: urn:schemas-upnp-org:service:ConnectionManager:1

160.828: PLT_SsdpSender::SendSsdp(103): FINE: Sending SSDP:
160.828: PLT_CtrlPoint::ProcessSsdpSearchResponse(807): FINE: CtrlPoint received a search response from ourselves
              (84b4bdec-94b1-f271-e0ef-9c2c5b99f19a)

160.828: PLT_HttpHelper::ToLog(485): FINE:
HTTP/1.1 200 OK
LOCATION: http://192.168.1.2:56000/DeviceDescription.xml (http://192.168.1.2:56000/DeviceDescription.xml)
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a::urn:schemas-upnp-org:service:ContentDirectory:1
ST: urn:schemas-upnp-org:service:ContentDirectory:1

160.828: NPT_HttpClient::ReadResponse(1154): FINER: got response, code=200, msg=OK
160.828: PLT_SsdpSender::SendSsdp(103): FINE: Sending SSDP:
160.828: PLT_CtrlPoint::ProcessSsdpSearchResponse(772): FINE: CtrlPoint received SSDP search response from 192.168.1.2:3463
160.828: PLT_HttpHelper::ToLog(485): FINE:
HTTP/1.1 200 OK
LOCATION: http://192.168.1.2:56000/DeviceDescription.xml (http://192.168.1.2:56000/DeviceDescription.xml)
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a::urn:schemas-upnp-org:service:ConnectionManager:1
ST: urn:schemas-upnp-org:service:ConnectionManager:1

160.828: PLT_HttpHelper::ToLog(485): FINER:
HTTP/1.1 200 OK
LOCATION: http://192.168.1.2:56000/DeviceDescription.xml (http://192.168.1.2:56000/DeviceDescription.xml)
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a::upnp:rootdevice
ST: upnp:rootdevice

160.828: PLT_CtrlPoint::ProcessSsdpSearchResponse(807): FINE: CtrlPoint received a search response from ourselves
              (84b4bdec-94b1-f271-e0ef-9c2c5b99f19a)

160.828: NPT_HttpClient::ReadResponse(1154): FINER: got response, code=200, msg=OK
160.828: PLT_CtrlPoint::ProcessSsdpSearchResponse(772): FINE: CtrlPoint received SSDP search response from 192.168.1.2:3463
160.828: PLT_HttpHelper::ToLog(485): FINER:
HTTP/1.1 200 OK
LOCATION: http://192.168.1.2:56000/DeviceDescription.xml (http://192.168.1.2:56000/DeviceDescription.xml)
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a
ST: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a

160.828: NPT_HttpClient::ReadResponse(1154): FINER: got response, code=200, msg=OK
160.828: PLT_CtrlPoint::ProcessSsdpSearchResponse(772): FINE: CtrlPoint received SSDP search response from 192.168.1.2:3463
160.828: PLT_HttpHelper::ToLog(485): FINER:
HTTP/1.1 200 OK
LOCATION: http://192.168.1.2:56000/DeviceDescription.xml (http://192.168.1.2:56000/DeviceDescription.xml)
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a::urn:schemas-upnp-org:device:MediaServer:1
ST: urn:schemas-upnp-org:device:MediaServer:1

160.828: PLT_CtrlPoint::ProcessSsdpSearchResponse(807): FINE: CtrlPoint received a search response from ourselves
              (84b4bdec-94b1-f271-e0ef-9c2c5b99f19a)

160.844: NPT_HttpClient::ReadResponse(1154): FINER: got response, code=200, msg=OK
160.844: PLT_CtrlPoint::ProcessSsdpSearchResponse(772): FINE: CtrlPoint received SSDP search response from 192.168.1.2:3463
160.844: PLT_HttpHelper::ToLog(485): FINER:
HTTP/1.1 200 OK
LOCATION: http://192.168.1.2:56000/DeviceDescription.xml (http://192.168.1.2:56000/DeviceDescription.xml)
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a::urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1
ST: urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1

160.844: PLT_CtrlPoint::ProcessSsdpSearchResponse(807): FINE: CtrlPoint received a search response from ourselves
              (84b4bdec-94b1-f271-e0ef-9c2c5b99f19a)

160.844: NPT_HttpClient::ReadResponse(1154): FINER: got response, code=200, msg=OK
160.844: PLT_CtrlPoint::ProcessSsdpSearchResponse(772): FINE: CtrlPoint received SSDP search response from 192.168.1.2:3463
160.844: PLT_HttpHelper::ToLog(485): FINER:
HTTP/1.1 200 OK
LOCATION: http://192.168.1.2:56000/DeviceDescription.xml (http://192.168.1.2:56000/DeviceDescription.xml)
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a::urn:schemas-upnp-org:service:ContentDirectory:1
ST: urn:schemas-upnp-org:service:ContentDirectory:1

160.844: PLT_CtrlPoint::ProcessSsdpSearchResponse(807): FINE: CtrlPoint received a search response from ourselves
              (84b4bdec-94b1-f271-e0ef-9c2c5b99f19a)

160.844: NPT_HttpClient::ReadResponse(1154): FINER: got response, code=200, msg=OK
160.844: PLT_CtrlPoint::ProcessSsdpSearchResponse(772): FINE: CtrlPoint received SSDP search response from 192.168.1.2:3463
160.844: PLT_HttpHelper::ToLog(485): FINER:
HTTP/1.1 200 OK
LOCATION: http://192.168.1.2:56000/DeviceDescription.xml (http://192.168.1.2:56000/DeviceDescription.xml)
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a::urn:schemas-upnp-org:service:ConnectionManager:1
ST: urn:schemas-upnp-org:service:ConnectionManager:1

160.844: PLT_CtrlPoint::ProcessSsdpSearchResponse(807): FINE: CtrlPoint received a search response from ourselves
              (84b4bdec-94b1-f271-e0ef-9c2c5b99f19a)

161.813: PLT_SsdpSender::SendSsdp(103): FINE: Sending SSDP:
161.813: PLT_HttpHelper::ToLog(485): FINE:
HTTP/1.1 200 OK
LOCATION: http://192.168.1.2:56000/DeviceDescription.xml (http://192.168.1.2:56000/DeviceDescription.xml)
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a::upnp:rootdevice
ST: upnp:rootdevice

161.813: PLT_SsdpSender::SendSsdp(103): FINE: Sending SSDP:
161.813: PLT_HttpHelper::ToLog(485): FINE:
HTTP/1.1 200 OK
LOCATION: http://192.168.1.2:56000/DeviceDescription.xml (http://192.168.1.2:56000/DeviceDescription.xml)
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a::upnp:rootdevice
ST: upnp:rootdevice

161.813: NPT_HttpClient::ReadResponse(1154): FINER: got response, code=200, msg=OK
161.813: PLT_CtrlPoint::ProcessSsdpSearchResponse(772): FINE: CtrlPoint received SSDP search response from 192.168.1.2:3467
161.813: PLT_HttpHelper::ToLog(485): FINER:
HTTP/1.1 200 OK
LOCATION: http://192.168.1.2:56000/DeviceDescription.xml (http://192.168.1.2:56000/DeviceDescription.xml)
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a::upnp:rootdevice
ST: upnp:rootdevice

161.813: PLT_CtrlPoint::ProcessSsdpSearchResponse(807): FINE: CtrlPoint received a search response from ourselves
              (84b4bdec-94b1-f271-e0ef-9c2c5b99f19a)

161.813: NPT_HttpClient::ReadResponse(1154): FINER: got response, code=200, msg=OK
161.813: PLT_CtrlPoint::ProcessSsdpSearchResponse(772): FINE: CtrlPoint received SSDP search response from 192.168.1.2:3467
161.813: PLT_HttpHelper::ToLog(485): FINER:
HTTP/1.1 200 OK
LOCATION: http://192.168.1.2:56000/DeviceDescription.xml (http://192.168.1.2:56000/DeviceDescription.xml)
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a::upnp:rootdevice
ST: upnp:rootdevice

161.813: PLT_CtrlPoint::ProcessSsdpSearchResponse(807): FINE: CtrlPoint received a search response from ourselves
              (84b4bdec-94b1-f271-e0ef-9c2c5b99f19a)

176.453: PLT_HttpServerSocketTask::Write(303): WARNING: NPT_CHECK failed,
              result=-20014 (NPT_ERROR_TIMEOUT) [(NPT_StreamToStreamCopy(
              *body_stream.AsPointer(), *output_stream.AsPointer(), 0, entity->GetContentLength()))]
200.766: PLT_HttpHelper::ToLog(399): FINE:
M-SEARCH * HTTP/1.1
MX: 1
ST: upnp:rootdevice
MAN: "ssdp:discover"
User-Agent: Platinum/0.5.4.0, DLNADOC/1.50 / foobar2000
Host: 239.255.255.250:1900

200.766: NPT_Win32Thread::Start(482): FINER: creating thread
200.766: NPT_HttpClient::ReadResponse(1154): FINER: got response, code=200, msg=OK
200.766: PLT_CtrlPoint::ProcessSsdpSearchResponse(772): FINE: CtrlPoint received SSDP search response from 192.168.1.1:1900
200.766: PLT_HttpHelper::ToLog(485): FINER:
HTTP/1.1 200 OK
SERVER: Ambit OS/1.0 UPnP/1.0 AMBIT-UPNP/1.0
EXT:
LOCATION: http://192.168.1.1:80/Public_UPNP_gatedesc.xml (http://192.168.1.1:80/Public_UPNP_gatedesc.xml)
CACHE-CONTROL: max-age=3600
ST: upnp:rootdevice
USN: uuid:8c8ee318-22b6-836b-3d55-5a7aadbc34d8::upnp:rootdevice

200.766: PLT_CtrlPoint::ProcessSsdpMessage(1052): FINE: Device "Residential Gateway" expiration time renewed..
200.766: NPT_Win32Thread::EntryPoint(449): FINER: thread in =======================
200.766: PLT_HttpHelper::ToLog(399): FINE:
M-SEARCH * HTTP/1.1
MX: 1
ST: upnp:rootdevice
MAN: "ssdp:discover"
User-Agent: Platinum/0.5.4.0, DLNADOC/1.50 / foobar2000
Host: 239.255.255.250:1900

200.766: NPT_HttpClient::ReadResponse(1154): FINER: got response, code=200, msg=OK
200.766: NPT_Win32Thread::Start(482): FINER: creating thread
200.766: PLT_CtrlPoint::ProcessSsdpSearchResponse(772): FINE: CtrlPoint received SSDP search response from 192.168.1.1:1900
200.766: PLT_SsdpSender::SendSsdp(103): FINE: Sending SSDP:
200.766: PLT_HttpHelper::ToLog(485): FINER:
HTTP/1.1 200 OK
SERVER: Ambit OS/1.0 UPnP/1.0 AMBIT-UPNP/1.0
EXT:
LOCATION: http://192.168.1.1:80/Public_UPNP_gatedesc.xml (http://192.168.1.1:80/Public_UPNP_gatedesc.xml)
CACHE-CONTROL: max-age=3600
ST: upnp:rootdevice
USN: uuid:8c8ee318-22b6-836b-3d55-5a7aadbc34d8::upnp:rootdevice

200.766: PLT_CtrlPoint::ProcessSsdpMessage(1052): FINE: Device "Residential Gateway" expiration time renewed..
200.766: PLT_HttpHelper::ToLog(485): FINE:
HTTP/1.1 200 OK
LOCATION: http://192.168.1.2:56000/DeviceDescription.xml (http://192.168.1.2:56000/DeviceDescription.xml)
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a::upnp:rootdevice
ST: upnp:rootdevice

200.766: NPT_HttpClient::ReadResponse(1154): FINER: got response, code=200, msg=OK
200.766: PLT_CtrlPoint::ProcessSsdpSearchResponse(772): FINE: CtrlPoint received SSDP search response from 192.168.1.2:3513
200.766: PLT_HttpHelper::ToLog(485): FINER:
HTTP/1.1 200 OK
LOCATION: http://192.168.1.2:56000/DeviceDescription.xml (http://192.168.1.2:56000/DeviceDescription.xml)
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a::upnp:rootdevice
ST: upnp:rootdevice

200.766: PLT_SsdpSender::SendSsdp(103): FINE: Sending SSDP:
200.766: PLT_HttpHelper::ToLog(485): FINE:
HTTP/1.1 200 OK
LOCATION: http://192.168.1.2:56000/DeviceDescription.xml (http://192.168.1.2:56000/DeviceDescription.xml)
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a::upnp:rootdevice
ST: upnp:rootdevice

200.766: PLT_CtrlPoint::ProcessSsdpSearchResponse(807): FINE: CtrlPoint received a search response from ourselves
              (84b4bdec-94b1-f271-e0ef-9c2c5b99f19a)

200.766: NPT_HttpClient::ReadResponse(1154): FINER: got response, code=200, msg=OK
200.766: PLT_CtrlPoint::ProcessSsdpSearchResponse(772): FINE: CtrlPoint received SSDP search response from 192.168.1.2:3513
200.766: PLT_HttpHelper::ToLog(485): FINER:
HTTP/1.1 200 OK
LOCATION: http://192.168.1.2:56000/DeviceDescription.xml (http://192.168.1.2:56000/DeviceDescription.xml)
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:84b4bdec-94b1-f271-e0ef-9c2c5b99f19a::upnp:rootdevice
ST: upnp:rootdevice

200.766: PLT_CtrlPoint::ProcessSsdpSearchResponse(807): FINE: CtrlPoint received a search response from ourselves
              (84b4bdec-94b1-f271-e0ef-9c2c5b99f19a)

200.766: NPT_Win32Thread::EntryPoint(449): FINER: thread in =======================
200.781: PLT_SsdpSender::SendSsdp(103): FINE: Sending SSDP:
200.781: PLT_HttpHelper::ToLog(485): FINE:
HTTP/1.1 200 OK
LOCATION: [url=
Title: foo_upnp
Post by: bubbleguuum on 2009-12-01 00:21:54
@EarlMobileh: I'll look more in detail tomorrow but what is strange is that http requests are coming from 127.0.0.1 or sometimes, localhost:

INFO: received LAN request: http://127.0.0.1:56000/content/6bb959bcd69...mp3?convert=mp3 (http://127.0.0.1:56000/content/6bb959bcd694bfef9ee00cf53287c706.mp3?convert=mp3).

You probably should have a real IP on your LAN here instead. I'll send you a test build that disable considering 127.0.0.1 as an interface to see if it makes things better.

You can try to type the command ipconfig in a command shell, on the PC acting as the client. If you see 127.0.0.1 listed as an interface it might be getting in the way.

EDIT: check for an interface (whith ipconfig) on 127.0.0.1 also on the server, as it may wrongly advertise itself wrongly on this IP.
Title: foo_upnp
Post by: EarlMobileh on 2009-12-01 08:12:10
Hmm, I didn't find an interface 127.0.0.1 with ipconfig. What I'm doing is connecting with a local client to a local server per internet (server and client runs on the same foobar instance). But it doesn't matter if a friend connects or if I connect to myself - the delay occurs every time.
Title: foo_upnp
Post by: OrcaMarinha on 2009-12-01 11:59:18
No one can answer my question ?
Isn't possible to stream withing the lan to other computer ?
Title: foo_upnp
Post by: Walterrrr on 2009-12-01 12:25:28
Hi bubbleguuum, I wanted to let you know this is exactly what I was looking for. Granted, my xbox is currently connected to the same receiver as my computer, but the living PS3 will be happy to have some good tunes!
Title: foo_upnp
Post by: Goombas on 2009-12-01 19:09:33
Hi bubbleguuum,

You were right with the "RequestedCount=0", I temporally modified my player plugin to send 999999 instead of 0 and now I can browse and play the media files. Thanks.

One remark though about your server: if that's easy for you, it would be great to implement the childCount attribute at the container level.
It allows clients that support it to show the number of entries a container has without actually clicking on it. A tiny usability improvement.

And the other way arround for your browser, make use of this attribute when the server send it.

Please find below the didl capture of a server that implements this feature:

Code: [Select]
<DIDL-Lite xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/" xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:dlna="urn:schemas-dlna-org:metadata-1-0" xmlns:pv="http://www.pv.com/pvns/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/">
      <container childCount="3" id="101" parentID="0" restricted="0">
            <dc:title xmlns:dc="http://purl.org/dc/elements/1.1/">All tracks</dc:title>
            <upnp:class xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/">object.container</upnp:class>
            <dc:date xmlns:dc="http://purl.org/dc/elements/1.1/">2003-07-23T01:18:00+02:00</dc:date>
            <res protocolInfo="http-get:*:*:*">
  dlna-playcontainer://uuid%3Abd1081ce-4ee6-496d-91b1-0a4d633785d8?sid=urn%3Aupnp-org%3AserviceId%3AContentDirectory&cid=101&fid=1000001&fii=0&sc=&md=0</res>
      </container>
</DIDL-Lite>

cheers.
Title: foo_upnp
Post by: erauch on 2009-12-03 02:43:20
Is there someone that can give me a simple tutorial on using the Plugin? I was led here as Foobar2000 is listed as a media or audio player that supports upnp. I have a UPNP server, I can access it via Windows Media and so on with no issue but I wanted to try Foobar 2000. Unfortunately although I have copied the dll to the component locations, and I see the UPNP settings... it still looks as though Foobar2000 wants to be a SERVER and not a Renderer or Player. It certainly doesn't see the existing server on my network... is this perhaps not intended... maybe it can only see itself on another machine running as SERVER?? Please advise and sorry for the newbie questions.

EdR
Title: foo_upnp
Post by: shakey_snake on 2009-12-03 02:52:31
erauch: Now that I've moved you post to the proper thread, you should check out my post (http://www.hydrogenaudio.org/forums/index.php?showtopic=69664&view=findpost&p=670622) above.
Title: foo_upnp
Post by: alkasar on 2009-12-05 11:09:35
This plugin is awesome :-) thanks a lot bubbleguuum
two questions for you :

- Gapless playback with upnp seems related to the server. Any chance that foo_upnp server could implement gapless playback using foobar settings ?

- sync mulitple players. is this possible with the controller ?

I use a Philips NP2500 player. the server works perfectly with this player. The controller however sometimes looses control. I need to close/reopen foobar to get control again. Difficult to give you detailed feed back to identify problem. Overall it works pretty well.  Keep on the good work :-)
Title: foo_upnp
Post by: robin5210 on 2009-12-05 12:01:08
Hello, It works. but there are some problems...

When i right click on a file inside foobar and want to sellect the controller no menu shows up.
I'm streaming to plugplayer 2.3.2.
With plugplayer i can control foobar, thats not the problem.

So is it possible to control plugplayer with foobar?
And if yes. How do u do it?

Thanks for the gr8 plugin
Title: foo_upnp
Post by: bubbleguuum on 2009-12-05 14:42:47
One remark though about your server: if that's easy for you, it would be great to implement the childCount attribute at the container level.
It allows clients that support it to show the number of entries a container has without actually clicking on it. A tiny usability improvement.

I'll return the childCount attribute, athough the UPnP browser will not make use of it because I display child count on a node to show that a node has been browsed.


- Gapless playback with upnp seems related to the server. Any chance that foo_upnp server could implement gapless playback using foobar settings ?

UPnP AV do not really make gapless possible unfortunately on individual items, but see next answer for a possible way to have gapless.

- sync mulitple players. is this possible with the controller ?

Not possible with the controller, but in the next foo_upnp release, the server will expose a new item called "Playback Stream Capture" playing whatever foobar is actually playing, as one infinite LPCM stream. If you play that item from each individual renderer, they should all be playing the same stream with a slight desynchronization probably < 1 sec.

I use a Philips NP2500 player. the server works perfectly with this player. The controller however sometimes looses control. I need to close/reopen foobar to get control again. Difficult to give you detailed feed back to identify problem. Overall it works pretty well.  Keep on the good work :-)

There's many problems with the Controller and various hardware players. I'm in the process of trying to fix them but as each hardware behave slightly differenlty and I don't have said hardware, this proves to be difficult (I work only from log files).


When i right click on a file inside foobar and want to sellect the controller no menu shows up.
I'm streaming to plugplayer 2.3.2.
With plugplayer i can control foobar, thats not the problem.

So is it possible to control plugplayer with foobar?
And if yes. How do u do it?


First you need to enable the PlugPlayer Renderer in PP configuration. It is disabled by default so it can't be seen on the network until you enable it.
Once you see this renderer in the UPnP Controller, you should be able to control it. I strongly advise you upgrade to PP 2.5.0 it  fixes
many issues of its previous renderer implementation.
Title: foo_upnp
Post by: robin5210 on 2009-12-06 20:37:15
@bubbleguuum

Thanks for the help. But it dind't work Foobar just doesn't seem to find it and also cidero not. So i gues there must be something wrong with my network settings. I will try to find a solution.
Title: foo_upnp
Post by: sti3 on 2009-12-11 17:58:25
Perhaps I missed it, but would it be possible for Folders view to mimic the directory structure of one's library?  I have my library broken up into groups of genres (the genres in the tags of my music are crap) and then subfolders and subfolders within that (e.g. trance\mixes__livesets\va_mixed_by_armin_van_buuren-a_state_of_trance_2005-2005) and would prefer if the server could mirror that.  Not possible?  Forgive me if this has been mentioned.
Title: foo_upnp
Post by: Goombas on 2009-12-11 20:53:51
Hi sti3,
yes already mentioned [a href=\'index.php?act=findpost&pid=667939\']here[/a].

It's not the real full filesystem structure. It just group your ML by %directoryname%, the last (directory) path component of your files.

This is temporary until I implement proper filesystem navigation contrained to the ML (not in the immediate future though).

In the meantime, I use this suboptimal solution in foo_upnp_ml_tree.xml:
<SubTree label="Directories">
  <spec>$directory(%path%,4)</spec>
  <spec>$directory(%path%,3)</spec>
  <spec>$directory(%path%,2)</spec>
  <spec>$directory(%path%,1)</spec>
</SubTree>


Non optimal because this will only works if your media files are always at the same depth from the top directory.


@bubbleguuum
While I'm at it, WMP ignore the "Directories" tree and just shows all the files in a pseudo folder named "<CurrentFolder>".

To make it work properly, you might send a microsoft specific property:

Code: [Select]
<item>
  (...)
  <desc id="folderPath" nameSpace="urn:schemas-microsoft-com:WMPNSS-1-0/" xmlns:microsoft="urn:schemas-microsoft-com:WMPNSS-1-0/">
    <microsoft:folderPath>Music\iTunes\iTunes Music\Podcasts\Frenchspin.com (fr)</microsoft:folderPath>
 </desc>
 (...)
</item>
Title: foo_upnp
Post by: bubbleguuum on 2009-12-12 23:43:43
v 0.99.17 out (first post to donwload). This version requires foobar2000 1.0.0.
There's also a first attempt at documentation (see first post for the link), in a text file until I present it more nicely in the Wiki.

@Goombas: I've been trying to have WMP recognize those extensions, but no luck. Looks like it parses it only if it thinks the server is WMP, and I couldn't
find what it is (tried setting the Model of the device but didn't work). Also, filesystem browsing support should arrive in the next version, since it is the most requested feature.

0.99.17

- supports foobar2000 1.0.0+ only, prefs pages are 1.0.0 compliant
- controller / browser: popup version of UI elements can be found in the View menu
- controller: Linn DS embedded Playlist support. List all sources of a Product, as renderers. Added Linn DS streaming profile
- controller: added pref page with track info configurable with a titleformat script
- controller: various changes for more compat with harwdare renderers + more debug traces
- server: added experimental "Playback Stream Capture" node. This will stream what's currently playing on the remote instance, in 44100Khz / 16 bits / 2 channels LPCM.
Can be used to do cheap multi-room audio. There's still some small audio glitches when manually changing tracks on the remote instance.
- server: upnp:// items are now regular http:// items. Copy file operation on such items now works and preserve the file extension (only if the URL has a file extension which is the ase with items exposed by foo_upnp). Also, the converter should work on those items.
- controller: avoid jumpy volume and seek sliders, display volume on slider drag
- controller: renderers are listed in alphabetic order
- controller: when sending track to a renderer, try to pick the best uri in all resources, matching the more closely the ip of the renderer, to avoid having
the renderer play a non routable ip.
- controller: in context menu, don't list renderers that do not have play capability
- controller: enable state of buttons possibly incorrect when multiple renderers listed
- controller: streaming profile associated to a renderer was not taking into account subsequent modifications of this profile
- controller: click on PL button select playing track in playlist, if any
- controller: "UPnP Controller playback queue" cannot be deleted while UPnP Controller UI Element is running. It is always (re)created when component is instanciated.
- server: populate all playlists on Playlists node browse, because we don't monitor playlist updates
- server: several foobar2000 instances on the same PC can see each other servers as long as they are installed in different directories.
- server: returned item resources had no correct mime-type for flac, wavpack, musepack, ogg. PlugPlayer 2.5.0 wouldn't play flac because of this.
- server: if client is not foobar2000 and item has %discnumber%, prepend %discnumber% to track number. ex: track 1 / disc 2 => tracknumber = 201. Needed for correct WMP track ordering.
Except if %totaldiscs% is > 2 or is not set, fallback to appending [Disc %discnumber%] to album name (because WMP  consider a tracknumber > 256 as bogus and won't display it. Ouch
- server: WMP now recognize the returned %composer% tag
- server: Browse() action with RequestedCount=0 would not return any item in some cases
- server: removed option to enable/disable Playlists and Media Library nodes
- server: removed option to use %album artist% instead of %artist% in returned items
- server: profile option "convert 5.1 to stereo" is now "convert to stereo" and will convert both mono and 5.1 to stereo
- server: selecting LPCM in streaming profile force max bitdepth to 16 bits
- server: if streaming LPCM to a foobar2000 instance, force conversion to stereo
- server: return chidCount property of containers
- server: returned items contain one resource per network interface
- renderer: played items that were not pushed by a control point now send back correct metadata to control points
- renderer: set browse data on pushed items by a controller. needed for album art display and for PCM pushed items to display track metadata in foobar title bar (would just display the URL otherwise)
- browser: removed option "Remove remote items in all playlists on server disconnection"
- fix: rare crash in Platinum
- fix: rare crashes on exit
Title: foo_upnp
Post by: Goombas on 2009-12-13 22:52:16
Thanks for this new release, the best ever!

Quote from: bubbleguuum link=msg=0 date=
I've been trying to have WMP recognize those extensions, but no luck. Looks like it parses it only if it thinks the server is WMP, and I couldn't
find what it is (tried setting the Model of the device but didn't work).


It works with WMP 12, I don't know the version you're using. As a proof of concept, i've made a patch against the last version 0.99.17: http://bit.ly/8XXGK6 (http://bit.ly/8XXGK6)
For this to work, you need to set the title format to $directory_path(%path%) in the upnp  server advanced settings (I hijacked the year tag).

(http://i.imagehost.org/0907/Untitled-1_5.png)


With this and user rating taken from foo_playcount tags, wmp support should be complete. There is the share of playlists but I'm not sure it's possible to do (and I don't care) .
Title: foo_upnp
Post by: Peti on 2009-12-15 07:28:10
Quote
new: server: option in streaming profile to apply RG only to files that would be transcoded to mp3 or decoded to PCM according to the rules.

Thank you for implementing this feature, but unfortunately I can't find it.
Title: foo_upnp
Post by: bubbleguuum on 2009-12-16 19:21:25
Quote
new: server: option in streaming profile to apply RG only to files that would be transcoded to mp3 or decoded to PCM according to the rules.

Thank you for implementing this feature, but unfortunately I can't find it.


The option is not in the UI, you have to edit foo_upnp.xml and restart the server. look for the "decoded_and_transcoded_only" attribute in the file and set it to "yes" in the relevant profile.
Title: foo_upnp
Post by: Hengest on 2009-12-17 07:25:34
Request: Not sure if this is possible, but an option to scrobble tracks to last.fm (via foo_audioscrobbler - similar to how foo_dop does it) when they are streamed to another device. Eg., if I use foo_upnp to play a track on my Xbox360, the track would also get scrobbled.
Title: foo_upnp
Post by: zerox on 2009-12-18 13:36:44
This is probably the single best plugin (IMHO) for foobar. Keep up the great work!

Were you the same person who had done some of the work years(s) ago on Java integration? If so I'm very interested in helping / forking if you'd be willing to share source.

On to the meat of the post...

Suggestion/Request:

Is it possible to add some working/progress indicitators to both the tree and the search request? There are many times when clicking on the tree that it's not immediately obvious that something is happening. I understand that things ARE happening but the immediate user feedback will make the UI "feel" better, specifically in the case of searching. Something as simple as a rotating icon, "Working...", indeterminate progress bar, etc. I've dealt with very similar issues with my users (at work) and often times feedback goes a long way.

See http://www.extjs.com/deploy/dev/examples/d...direct-tree.php (http://www.extjs.com/deploy/dev/examples/direct/direct-tree.php). In particular look at the animated dots/circle when expanding a node, not the animated node expansion itself.

Hopefully that makes sense, if not I can dig up more example videos / screenshots
Title: foo_upnp
Post by: bubbleguuum on 2009-12-19 11:05:21
Request: Not sure if this is possible, but an option to scrobble tracks to last.fm (via foo_audioscrobbler - similar to how foo_dop does it) when they are streamed to another device. Eg., if I use foo_upnp to play a track on my Xbox360, the track would also get scrobbled.


If foo_audioscrobbler offers an API (likely if foo_dop uses it), I'll look into it


This is probably the single best plugin (IMHO) for foobar. Keep up the great work!

Were you the same person who had done some of the work years(s) ago on Java integration? If so I'm very interested in helping / forking if you'd be willing to share source.


True, I did an experimental Java plugin loader some time ago. Its source is available here (http://bubbleguuum.free.fr/foo_java_plugin_loader/). I never devellopped it
further because mapping the SDK to Java classes is a huge and non trivial task.


Quote
Is it possible to add some working/progress indicitators to both the tree and the search request? There are many times when clicking on the tree that it's not immediately obvious that something is happening. I understand that things ARE happening but the immediate user feedback will make the UI "feel" better, specifically in the case of searching. Something as simple as a rotating icon, "Working...", indeterminate progress bar, etc. I've dealt with very similar issues with my users (at work) and often times feedback goes a long way.


I agree some visual feedback is really needed. I'll do something about it.
Title: foo_upnp
Post by: mccarver on 2009-12-19 11:43:59
Nice to see such a useful plugin is kept up to date. Bubbleguuum, you're work is really appreciated.

But I have a issue I couldn't find in the previous thread pages. Using foobar 1.0 and your last beta 0.99.17.

I work with FLACs with embedded cuesheets. Foo_upnp seems to work really nice when it streams un-transcoded music, which gets to the client in the form of 1411 kbps PCM. But since this format is quite inapplicable over the internet, I prefer to have mp3 streamed to the client. When I switch to 'always' transcoding to MP3 the client can't get a correct tracklists of FLAC albums: the tracklists it receives are made of the same (the last) track over and over. Albums that were already coded in MP3 are no issue.

It does seem something which can be easily handled, I think.

Thank you very much.
Title: foo_upnp
Post by: bubbleguuum on 2009-12-19 13:03:46
@mccarver: streaming url is missing the subsong index. This will be fixed in the next release
Title: foo_upnp
Post by: bubbleguuum on 2009-12-19 16:28:31
0.99.18 (first post to download)

- browser: new: added visual indication of browsing and searching actions
- server: new: send fodlerPath MS specific property for WMP to be able to browse by folder path. Return MS specific rating property if present (%rating% between 0 and 5)
- server: fix: transcoding to mp3 items with subsong would not work
- server: chg: removed childCount property of returned containers, was slowing down browsing too much in some cases (most noticeably, when browsing the Media Library node).
- controller: mute toggle button reflects renderer mute state
Title: foo_upnp
Post by: mccarver on 2009-12-19 16:51:00
Last rel works flawlessy, my bug is definitely fixed.
I just have a question: what kind of album arts are currently supported? My 'folder.jpg' are not streamed. Just a minor inconvenience I guess..

Thank you

EDIT: Going to next track after previous is finished is slooow and in the meantime produces unwanted sound stuttering..
Title: foo_upnp
Post by: Goombas on 2009-12-19 22:05:17
Hi, thanks bubbleguuum for this update.

Bug report starring foo_upnp server with wmp client:

- the MS properties won't always work for me, by default foo_playcount does not store the rating in file tag. Could you check the %rating% titleformatting field instead of the rating tag.

- the path is not right for some albums that would end up in the generic <current folder>. This is because the original path has an ampersand and it has been escaped. From a conversation we had earlier  I quoted a microsoft document:
Quote
In Windows Vista, WMP Sharing double-escapes the XML tags inside the descriptor () element.

..that is the xml tags only should be double escaped, not the path inside the escaped tag! It might  be my fault because I spoke about 'inner text'.
The test build worked fine though because the desc tag content was not double escaped at all and wmp 12 can handle this.

- I'd rather see the paths exposed be constrained to the foobar media library if that's possible.

- not new but still valid, the default wmp profile decode to wav but then for each files, wmp 12 shows a blue exclamation mark along with a warning This file is of an unrecognized type ... Selecting the lpcm format fix this.

By the way, why is there a wav format in the first place? This container is never mentioned as a valid format in the dlna specs I could read (draft only as i don't have 300€ to spend on the final document).

Title: foo_upnp
Post by: bubbleguuum on 2009-12-20 21:37:45
I just have a question: what kind of album arts are currently supported? My 'folder.jpg' are not streamed. Just a minor inconvenience I guess..


The server recognize album art configured as Front Cover in Preferences / Display / Album Art.
"Allow allbum art streaming" must  be enabled in Server / Advanced setting pref page (it is enabled by default)

For the UPnP Browser to load  album art in an Album Art Viewer UI Element (under DUI), "Fetch album art" must be enabled (on by default)
inthe Browser pref page.

Note that under CUI, album art cannot display yet. It needs to use the newer album art loader introduced in fb 1.0.0.


EDIT: Going to next track after previous is finished is slooow and in the meantime produces unwanted sound stuttering..


Can you be more precise about the exact settings this happens ? transcoding enabled ? over internet ? how much bandwidth ? which file type ? etc...
Title: foo_upnp
Post by: mccarver on 2009-12-21 16:16:42
Note that under CUI, album art cannot display yet. It needs to use the newer album art loader introduced in fb 1.0.0.


This is probably why I can't see album arts..

Can you be more precise about the exact settings this happens ? transcoding enabled ? over internet ? how much bandwidth ? which file type ? etc...


It seems to only happen with trascoding enabled. As a matter of fact streaming is almost gapless in PCM.
Transcoding options are set to VBR MP3. It seems I can't set ABR/CBR back.

Experiments are done in local network.

Thanks!
Title: foo_upnp
Post by: Speech on 2009-12-24 20:43:27
This is great software, thanks!
However, let me report 2 problems I encountered:

- The Wi-Fi connection must be established before the moment foobar2000 is started.  Otherwise, if foobar2000 is started before I establish the connection, my device would not see the foobar server.  It would only see the computer, which is a different server.  This is not the case with Windows Media Player 12, to I can connect even if it was running before I established the Wi-Fi connection.  Why is it necessary to establish the Wi-Fi connection prior to starting the foobar UPnP server?

- If I start a audio file in a playlist from the external device, it would play, but it also sets the option Stop after current (available in the Playback main menu).  I would rather prefer it to let the audio continue with the next files in the playlist instead.

I'm running v. 0.99.16.1 on the latest foobar2000 0.9.6.9 and I'm connecting with a Nokia N95.
Title: foo_upnp
Post by: bubbleguuum on 2009-12-25 20:04:07
It seems to only happen with trascoding enabled. As a matter of fact streaming is almost gapless in PCM.
Transcoding options are set to VBR MP3. It seems I can't set ABR/CBR back.

I can't seem to reproduce the problem. Both VBR and CBR works without glitch here. Note that there is a confusing visual bug on the
ABR and VBR/CBR radio button, where both buttons can be selected at the same time, but it does not affect operation.


- The Wi-Fi connection must be established before the moment foobar2000 is started.  Otherwise, if foobar2000 is started before I establish the connection, my device would not see the foobar server.  It would only see the computer, which is a different server.  This is not the case with Windows Media Player 12, to I can connect even if it was running before I established the Wi-Fi connection.  Why is it necessary to establish the Wi-Fi connection prior to starting the foobar UPnP server?


Because I'm not detecting new network interfaces after starting.
I've just implemented it in the upcoming version (not too far off) so it should work as you expected in this case.

- If I start a audio file in a playlist from the external device, it would play, but it also sets the option Stop after current (available in the Playback main menu).  I would rather prefer it to let the audio continue with the next files in the playlist instead.


I suppose you mean you are remote controlling a foobar2000 Media Renderer instance, and on that instance "Stop After Current" remains enabled.
During the time of being remotely controlled, the Renderer enables "Stop After Current" because it needs it for proper operation. It just does a poor job at restoring the initial
"Stop After Current"  state when not being controlled anymore.
Title: foo_upnp
Post by: Speech on 2009-12-27 14:16:18
I suppose you mean you are remote controlling a foobar2000 Media Renderer instance, and on that instance "Stop After Current" remains enabled.
During the time of being remotely controlled, the Renderer enables "Stop After Current" because it needs it for proper operation. It just does a poor job at restoring the initial
"Stop After Current"  state when not being controlled anymore.


I guess we can say it this way, too.
Do you mean it's a bug that could be fixed sometime?
This behaviour is a bit confusing, since you can easily forget about "Stop after current" when you use foobar as a basic audio player again.
Title: foo_upnp
Post by: bubbleguuum on 2009-12-27 15:20:43
New version, with finally the much requested ability to browse the ML by folders. For the new "Folders" node to show up,
you'll have to either remove  foo_upnp_ml_tree.xml or add
Code: [Select]
<SubTree label="Folders" type="filesystem"/>


The server now loads the content of the browse tree when starting, so browsing on the client should be much faster, especially with large libraries.

0.99.19 (first post to download)

- server: support for browsing the Media Library by folders (requires prior removal of foo_upnp_ml_tree.xml or adding the node manually)
- server: on start, preload the whole Media Library browse tree in background, to speed up client browsing
- browser/controller: detect new network interfaces at runtime and UPnP devices on those interfaces
- server: in returned items, when browsed from WMP, returned rating property was off by one star. Also, use %rating% instead of the RATING tag for both WMP and fb2k returned ratings.
- server: in returned items, when browsed from WMP, set folderPath property value to the item's Media Library relative path (allow browsing by folders on WMP).
- server: when streaming profile specify LPCM, take into account LPCM limitations (bitdepth = 16, max samplerate = 48Khz).
- server: WMP profile defaults to LPCM (if no foo_upnp.xml exists).
- server: do not force conversion to stereo anymore when streaming LPCM to a fb2k instance
- renderer: restore correctly user state of "Stop After Current" when a track stops.
- controller: when selecting a Linn Source in the combo box, the Source was not enabled on the Ds, only the first time.

--------------

@Speech: Stop After Current should be fixed in the new version.
Title: foo_upnp
Post by: Googer on 2009-12-28 14:56:49
With .99.19, foobar2000 crashes a few seconds after startup for me if I have 'Split tree nodes by first letter if more than x items' enabled.  I'd guess it's related to the changes you made in the startup code to load the media library in the background.  If you want I could supply you with a crash log but I'd guess replicating this on your end probably shouldn't be overly difficult to do, at least as your media library is bigger than a trivial / token size.
Title: foo_upnp
Post by: bubbleguuum on 2009-12-28 18:15:24
With .99.19, foobar2000 crashes a few seconds after startup for me if I have 'Split tree nodes by first letter if more than x items' enabled.  I'd guess it's related to the changes you made in the startup code to load the media library in the background.  If you want I could supply you with a crash log but I'd guess replicating this on your end probably shouldn't be overly difficult to do, at least as your media library is bigger than a trivial / token size.



Thanks for reporting, fixed in 0.99.19.1 (first post to download)
Title: foo_upnp
Post by: Googer on 2009-12-28 19:48:48
Thanks it works fine now, you're awesome!  Browsing the ML by folders appears to work very well to me in my quick testing as well.
Title: foo_upnp
Post by: gebla on 2009-12-31 17:01:06
One question. Is it possible to stop the automatic recode from FLAC to WAV?

I am using the foobar2000 server with a Linn DS player. The Linn supports 24 bit flac files (i.e. DVD audio). As well the Linn device accepts flac files over upnp.

If I now try to stream 24bit flac files only one song is played and then it stops. As well the decode automatically decodes it to 16bit wav file so i loose audio quality. Then it takes processor time from the server for recoding it to WAV.

More and more devices are supporting direct playback of FLAC. Can we add a switch to disable the recode?


Title: foo_upnp
Post by: gebla on 2009-12-31 18:14:20
OK when using foobar for playback it is working and flac is used. It is only recoding when using kinsky desktop as controller.

But when using the foobar the display on the Linn device does not show artist and track info. Is there any setting for that?

And one more question. Is there alreay columnsUI supporting the upnp artwork display??

Moderation: Removed useless full quote of the preceding post.
Title: foo_upnp
Post by: bubbleguuum on 2010-01-03 21:37:59
Quote
I posted this in the "Support" forum by mistake... my bad. I'll repost here with a description of the problem I am hoping to get help with...quoting from my previous post:

I was delighted to find that the beta version of Foobar2000, when combined with the UPnP component, allowed my to send song files to my Linn DS player. That delight was short lived when I found that every 3-4 minutes playback came to a sudden halt, with a "Buffering..." message displayed in the UPnP controller window. And the music does not restart until I exit Foobar and then start all over again.

BTW I am using a QNAP server with Twonky software, which I really do not like, and bypass whenever possible. I have about 4.5 Terrabytes of music in Flac file format stored on this server and I like the fact that I can play songs directly from the server, allowing Foobar to act as the media server, but the stopping bug is bothersome and potentially renders Foobar ineffective for UPnP playback. And I hope there is a remediable problem here, as I'm gaining a real appreciation for Foobar, the more I use it.

I look forward to your suggestions.

Doug Coleman


For the music stopping problem, in the UPnP Controller combo box, are you using your DS unit as a traditional UPnP AV Media Renderer (MediaRenderer appended to the name) or are you using the Playlist source (Playlist appended to the name) ? Do you have the same problem (getting stuck on Buffering....) if you use Twonky as the Media Server instead of the plugin ? Anyway ,what you can do is enable  the debug logs in Advanced Settings. Enable "Log to file" with INFO log level. Then restart foobar and operates the plugin until the problem occur. Close foobar and send me the file foo_upnp.log (either in your foobar install directory or c:\Document And Settings\<your login>\Application Data\foobar2000) to bubbleguuum@free.fr
Title: foo_upnp
Post by: bubbleguuum on 2010-01-03 21:52:54
OK when using foobar for playback it is working and flac is used. It is only recoding when using kinsky desktop as controller.

Kinsky Desktop is using the "Default" streaming profile which stream as WAV for non-standard codecs (ie other than mp3, aac, wma), as it is the most compatible.
If you copy the "Linn Ds" profile settings to the "Default" profile then it should work as you expect (streaming 24 bits FLAC instead of WAV).


Quote
But when using the foobar the display on the Linn device does not show artist and track info. Is there any setting for that?

I thought it worked but as my DS do not have any display (it is a Sekrit DS-I), I could not check. So from what I understand if you send
an item from foobar your DS do not display metadata while it does if you use KinskyDesktop (with foobar as the media server) ?

Quote
And one more question. Is there alreay columnsUI supporting the upnp artwork display??


Not yet. ColumnsUI needs to be recompiled with the (unreleased) foobar 1.0 SDK.
Title: foo_upnp
Post by: Dokter123 on 2010-01-05 02:33:52
Quote
I posted this in the "Support" forum by mistake... my bad. I'll repost here with a description of the problem I am hoping to get help with...quoting from my previous post:

I was delighted to find that the beta version of Foobar2000, when combined with the UPnP component, allowed my to send song files to my Linn DS player. That delight was short lived when I found that every 3-4 minutes playback came to a sudden halt, with a "Buffering..." message displayed in the UPnP controller window. And the music does not restart until I exit Foobar and then start all over again.

BTW I am using a QNAP server with Twonky software, which I really do not like, and bypass whenever possible. I have about 4.5 Terrabytes of music in Flac file format stored on this server and I like the fact that I can play songs directly from the server, allowing Foobar to act as the media server, but the stopping bug is bothersome and potentially renders Foobar ineffective for UPnP playback. And I hope there is a remediable problem here, as I'm gaining a real appreciation for Foobar, the more I use it.

I look forward to your suggestions.

Doug Coleman


For the music stopping problem, in the UPnP Controller combo box, are you using your DS unit as a traditional UPnP AV Media Renderer (MediaRenderer appended to the name) or are you using the Playlist source (Playlist appended to the name) ? Do you have the same problem (getting stuck on Buffering....) if you use Twonky as the Media Server instead of the plugin ? Anyway ,what you can do is enable  the debug logs in Advanced Settings. Enable "Log to file" with INFO log level. Then restart foobar and operates the plugin until the problem occur. Close foobar and send me the file foo_upnp.log (either in your foobar install directory or c:\Document And Settings\<your login>\Application Data\foobar2000) to bubbleguuum@free.fr


I am sending it to Living Room: Akurate DS (Playlist) and I do not have the same problem when using the Twonky software - which I seem to have an aversion to ++ but I'm not sure why. It just annoys me, and I prefer the Foobar interface. I will enable logging and send you the log file following the next buffering stall. And thank you for your promt reply.

And BTW, it seems to be happening less, the more I use it.

D.C.
Title: foo_upnp
Post by: gebla on 2010-01-07 18:33:52
OK when using foobar for playback it is working and flac is used. It is only recoding when using kinsky desktop as controller.

Kinsky Desktop is using the "Default" streaming profile which stream as WAV for non-standard codecs (ie other than mp3, aac, wma), as it is the most compatible.
If you copy the "Linn Ds" profile settings to the "Default" profile then it should work as you expect (streaming 24 bits FLAC instead of WAV).

This did the trick. Thanks for the feedback!

Quote
But when using the foobar the display on the Linn device does not show artist and track info. Is there any setting for that?

I thought it worked but as my DS do not have any display (it is a Sekrit DS-I), I could not check. So from what I understand if you send
an item from foobar your DS do not display metadata while it does if you use KinskyDesktop (with foobar as the media server) ?



Correct (using foobar as media server). If I use kinksydesktop then the Meta data is displayed on the Linn. When I use foobar to sent to the Linn then the metadata is not displayed.
Title: foo_upnp
Post by: bubbleguuum on 2010-01-07 18:54:49
Correct (using foobar as media server). If I use kinksydesktop then the Meta data is displayed on the Linn. When I use foobar to sent to the Linn then the metadata is not displayed.


Ok, I'll look into it.

The latest version of columnsUI (0.3.8.2) supports upnp album art.

Title: foo_upnp
Post by: Wacky on 2010-01-07 19:49:49
I really appreciate this plugin.  I do have a question about the interaction of foo_upnp with a new Sirius streaming program. 

Background - I am using this in conjunction with foobar 1.0b6 and SiriusXMStreamer 1.5 - the latest versions of all programs.  I have to create a playlist in foobar2000 for each Sirius channel, which I guess is a function of foobar2000.  If I have mulitiple entries in a playlist, I cannot play any channels.  So, I can work with that and create the individual playlists.

The SiriusXMStreamer keeps a log of network traffic.  When I open a playlist, there are service requests for three ports.  Each request has a "Invalid method specified: DESCRIBE" and then an "Invalid request: DESCRIBE rtsp:// . . . .  before the port request is completed, or it redirects to a mms stream. 

I have changed the playlist and tried http, mms, and rtsp stream descriptions, I still get the same invalid method messages.

When I play the Sirius channel, I get a similar set of service requests for three ports, but sometimes it is six or nine ports until the stream starts playing.  Again, each request has a "Invalid method specified: DESCRIBE" and then an "Invalid request: DESCRIBE rtsp:// . . . .   

Is this normal behavior?  I have also asked over on the SiriusXMStreamer site.

Here is a bit of the log file, I cannot figure out how to attach it.

2:42 PM: Servicing request from '127.0.0.1:2521'...
2:42 PM:  Invalid method specified: DESCRIBE
2:42 PM:  Invalid request: DESCRIBE rtsp://127.0.0.1:51710/sirius?channel=17 RTSP/1.0
User-Agent: WMPlayer/11.0.5721.5251 guid/3300AD50-2C39-46C0-AE0A-08A7CF3589E0
Accept: application/sdp
Accept-Charset: UTF-8, *;q=0.1
X-Accept-Authentication: Negotiate, NTLM, Digest, Basic
Accept-Language: en-US, *;q=0.1
CSeq: 1
Supported: com.microsoft.wm.srvppair, com.microsoft.wm.sswitch, com.microsoft.wm.eosmsg, com.microsoft.wm.predstrm, com.microsoft.wm.startupprofile


2:42 PM: Completed request from '127.0.0.1:2521'.
2:42 PM: Servicing request from '127.0.0.1:2522'...
2:42 PM:  Invalid method specified: DESCRIBE
2:42 PM:  Invalid request: DESCRIBE rtsp://127.0.0.1:51710/sirius?channel=17 RTSP/1.0
User-Agent: WMPlayer/11.0.5721.5251 guid/3300AD50-2C39-46C0-AE0A-08A7CF3589E0
Accept: application/sdp
Accept-Charset: UTF-8, *;q=0.1
X-Accept-Authentication: Negotiate, NTLM, Digest, Basic
Accept-Language: en-US, *;q=0.1
CSeq: 1
Supported: com.microsoft.wm.srvppair, com.microsoft.wm.sswitch, com.microsoft.wm.eosmsg, com.microsoft.wm.predstrm, com.microsoft.wm.startupprofile


2:42 PM: Completed request from '127.0.0.1:2522'.
2:42 PM: Servicing request from '127.0.0.1:2523'...
2:42 PM:  Processing GET request: GET /sirius?channel=17 HTTP/1.1
Accept: */*
User-Agent: NSPlayer/11.0.5721.5251
Host: 127.0.0.1
X-Accept-Authentication: Negotiate, NTLM, Digest, Basic
Pragma: version11-enabled=1
Pragma: no-cache,rate=1.000,stream-time=0,stream-offset=0:0,packet-num=4294967295,max-duration=0
Pragma: packet-pair-experiment=1
Pragma: pipeline-experiment=1
Supported: com.microsoft.wm.srvppair, com.microsoft.wm.sswitch, com.microsoft.wm.predstrm, com.microsoft.wm.startupprofile
Pragma: xClientGUID={3300AD50-2C39-46c0-AE0A-08A7CF3589E0}
Accept-Language: en-US, *;q=0.1


2:42 PM:  Retrieving stream URL for channel 'Sirius 17 - Jam_ON'...
2:42 PM:  Redirecting to mms stream...
Title: foo_upnp
Post by: gebla on 2010-01-09 11:10:28
One more thing I noticed using the foobar for playback to Linn Majik DS. The Upnp controller only displays Main Room:Majik DS:MediaRenderer (the drop down box dos not give other options). This is not the playlist version. That means if the PC is disconnected then the Linn stops playing. How can i seect the playlist version for playback?

Inside Linn config the playlist version is available and with kinskydesktop i can use the playlist version as well.
Title: foo_upnp
Post by: bubbleguuum on 2010-01-09 11:40:31
One more thing I noticed using the foobar for playback to Linn Majik DS. The Upnp controller only displays Main Room:Majik DS:MediaRenderer (the drop down box dos not give other options). This is not the playlist version. That means if the PC is disconnected then the Linn stops playing. How can i seect the playlist version for playback?


It should be automatically detected and listed. Are you using Cara 3 or greater on your Majik ? The plugin works only with Cara devices, for Playlist service support.
You can also send me by mail the log file (bubbleguuum@free.fr). See a few post higher up for instruction on how to enable logging.

Title: foo_upnp
Post by: gebla on 2010-01-09 12:08:35
One more thing I noticed using the foobar for playback to Linn Majik DS. The Upnp controller only displays Main Room:Majik DS:MediaRenderer (the drop down box dos not give other options). This is not the playlist version. That means if the PC is disconnected then the Linn stops playing. How can i seect the playlist version for playback?


It should be automatically detected and listed. Are you using Cara 3 or greater on your Majik ? The plugin works only with Cara devices, for Playlist service support.
You can also send me by mail the log file (bubbleguuum@free.fr). See a few post higher up for instruction on how to enable logging.


Thanks for your help. Log file is sent. I am using Cara 4 on the Linn. Maybe it is caused by changing the name of the Playlist service to "Majik" inside Linn Konfig?
Title: foo_upnp
Post by: batagy on 2010-01-10 02:06:48
This is wonderful work indeed bubbleguuum!! Huge thanks for your dedicated work for this plugin!

I just tried it with Foobar 1.0 and foo_upnp 0.99.19.1 version with the Roku Soundbridge M1001 hardware client.
My library is in FLAC but since Soundbridge doesn't play FLAC, so I was need to transcode it to WAV.

I'm happy to report that FLAC to WAV transcoding (decoding)  wonderfully works with the Soundbridge.

First I had spent 1.5 hours with various decoding options of the default profile and logging because with FLAC it didn't work, but finally I figured out that all was caused by I used the default profile. Once I created a new profile called Soundbridge (User-Agent: Roku SoundBridge/3.0), it suddenly works perfectly with the default options (always decode to WAV, allowed samplerates: 44100-44100, max bit-depth: 16, use dithering: yes, convert to stereo: yes, client decode HTTP streams directly: no)


Some log:
Quote
948.193: FbMediaServer::ProcessHttpRequest(250): INFO: received LAN request: http://169.254.229.215:56923/content/883a8...wav?convert=wav (http://169.254.229.215:56923/content/883a8bf6ecc8b390efb2eae97f0c50f6.wav?convert=wav) (User-Agent: Roku SoundBridge/3.0)
948.193: PLT_HttpHelper::ToLog(399): INFO:
GET /content/883a8bf6ecc8b390efb2eae97f0c50f6.wav?convert=wav HTTP/1.0
User-Agent: Roku SoundBridge/3.0
Host: 169.254.229.215:56923
Accept: */*
Pragma: no-cache

948.193: upnp_server_conf::get_profile(548): INFO: using profile 'Soundbridge' (User-Agent:Roku SoundBridge/3.0)
948.193: upnp_server_conf::get_profile(548): INFO: using profile 'Soundbridge' (User-Agent:Roku SoundBridge/3.0)
948.193: PLT_HttpServerSocketTask::Write(283): FINER: PLT_HttpServerTask Sending response:
948.193: PLT_HttpHelper::ToLog(485): FINER:
HTTP/1.1 200 OK
Server: Platinum/0.5.4.0
Accept-Ranges: bytes
Connection: close
Content-Length: 35456444
Content-Type: audio/wav


Interesting to note: When I used Fuppes UPNP server, I had to set the server to stream the WAV as "audio/x-wav"  mime type, to be accepted by Roku Soundbridge, but as can be seen in the logs, foo_upnp streams it with "audio/wav", but it plays perfectly!

So thanks a lot for your work indeed!
Title: foo_upnp
Post by: mccarver on 2010-01-10 22:03:57
I need to point out that my previous problem is still present.
Using foobar2000 1.0 final and foo_upnp 0.99.19.1 in both server and client.

I deleted my foo_upnp configuration, then I just changed foobar2000 streaming profile in the server preferences, switching 'Transcoding to MP3' to always; nothing more, nothing less.
Music plays fine as MP3 in client through local wireless lan, but at the end of every track there is a 10/15-second-long silence before next track starts playing. This does not happen if I choose not to transcode to MP3 (music plays gaplessy).

I'm available for questions or testing configurations.

Thank you very much, this is a great plugin.
Title: foo_upnp
Post by: bubbleguuum on 2010-01-10 22:06:31
@mccarver: I can reproduce this problem. No fix yet but it is pretty high on the todo list
Title: foo_upnp
Post by: Glaucous on 2010-01-10 22:26:11
I have a little issue. The Xbox 360 is case sensitive; is it possible when customizing the browser tree, to display all %album%, %artist% and so on, with lower case?
Otherwise the Xbox sees a difference between the artists Rage Against the Machine and Rage Against The Machine, which is quiet annoying.
Great plugin, sure works better and easier than TVersity and similar when just using it for the music.

Just noticed, perhaps the media browser can't be changed, since Xbox 360 is using its own?
Title: foo_upnp
Post by: ssteenbergen on 2010-01-14 23:04:21
Bubbleguuum,

this plugin seems to carry the promise that I'm looking for, however I'm receiving a strange error.
After a couple of seconds, foobar detects my Samsung LE40B650 TV as 'TV' in the UPnP controller view.
When I move the volume bar, my TV immediately responds, so the connection seems to be established.

But, when I play a random mp3, the UPnP controller windows displays this error:
"SetAVTransportURI Error: Resource not found (716)"

What should I do to solve this?
Any help is appreciated.


Title: foo_upnp
Post by: war59312 on 2010-01-15 18:27:50
Hi,

(http://img687.imageshack.us/img687/1906/foobar.th.png) (http://img687.imageshack.us/i/foobar.png/)

Working great, but how do you see the songs themselves?

As you can see in the screen-shot, foo_upnp is working just fine.

I'm steaming music from my Vista machine at my house to my father's machine running Windows XP.

That is, WMP 11 on Vista to Foobar on XP. That simple.

As you can see, the highlighted line, it sees the 14 songs and will play them just fine in order when I click the play button.

Problem is I can not see the song titles themselves. And it seems you can only load a single folder with songs? Meaning I can not load a folder with sub-folders and have all the music played in all the folders.

Thanks,

Will

Update: n/m i figured it out, some what. At least I can see the song titles now.

But I still cant load just the top directory and have it show all the songs in its sub directories.
Title: foo_upnp
Post by: bubbleguuum on 2010-01-15 18:55:32
@Glaucous: the Xbox360 server tree is not editable as the xbox has a fixed layout. I'm relunctant to make it editable because I don't
want to add extra complexity to an already complex plugin.
The best solution is that you make you tags case consistent

@ssteenbergen: for some reason, I guess that your TV cannot reach the URL on the LAN that
the plugin gives it. This could happen if you have a complex network configuration and somewhat the plugin gives a non routable IP to the TV.
. Another possibility is that you try to stream a file format that generates a URI that the TV will not parse correctly.
To rule out this possibility try to play an mp3 (this generate simple URL that should work everywhere but check that you use the unmodified Default streaming profile).
To debug the first possibility, send me a log file (see a few post above for info on how to do that) and the output of the command ipconfig (a command that you type in the shell started by Accessories/Command Shell)

@war59312: the UPnP Browser send individual tracks in a playlist. You need to add a playlist viewer to your layout.
EDIT: it is not possible to show all tracks from a top node to bottom, ie recursively (mainly for performance reason).
Title: foo_upnp
Post by: JC94348 on 2010-01-15 18:56:27
Hello, I installed foobar v1.0 and the upnp plugin on two notebooks. So from the first (win xp prof) I can play on my wd tv live. But from the second notebook (win xp home) I can not play to my wd tv live. On both pc the WDTVLIVE is shown in the pull down menu from the upnp controller, but after pushing the play button, sometimes first is shown "Buffering..." but nothing happens and the other times I push "play" and nothing happens. I have tried it also without firewall.... I have no idea how can I solve the problem. Maybe somebody here has a solution

Curiously i can play from both notebooks to or better on the other notebook (you can choose the other pc as renderer if the programm is also opened, but even not on the wd tv from one of them.
Title: foo_upnp
Post by: war59312 on 2010-01-15 20:18:30
@war59312: the UPnP Browser send individual tracks in a playlist. You need to add a playlist viewer to your layout.
EDIT: it is not possible to show all tracks from a top node to bottom, ie recursively (mainly for performance reason).
All right, thanks. Oh well..
Title: foo_upnp
Post by: sebassjee on 2010-01-17 21:34:34
Request: Not sure if this is possible, but an option to scrobble tracks to last.fm (via foo_audioscrobbler - similar to how foo_dop does it) when they are streamed to another device. Eg., if I use foo_upnp to play a track on my Xbox360, the track would also get scrobbled.


I Second this one!!! That would be reallyyyy cool!
Hope you can figure this one out.
It's a quite unique function for a dlna media server.
Title: foo_upnp
Post by: Tom_W on 2010-01-19 11:27:36
Hi, Thanks for all the work on a great component.

Should the server start automatically without me launching Foobar? This doesn't happen currently, and i can't see the Foobar UPnP server from my renderer (NaimUniti) until I do so.

Also, should I see an instance of the Foobar server in my UPnP browser panel? Currently I can only see other servers like WMP or Asset.

I am running Windows 7 X64, Foobar V1.0, and UPnP v0.99.19.1
Title: foo_upnp
Post by: bubbleguuum on 2010-01-19 19:09:13
Should the server start automatically without me launching Foobar? This doesn't happen currently, and i can't see the Foobar UPnP server from my renderer (NaimUniti) until I do so.


Of course you must launch foobar2000 to launch the server

Quote
Also, should I see an instance of the Foobar server in my UPnP browser panel? Currently I can only see other servers like WMP or Asset.


It is normal that the local UPnP server do not appear in the UPnP Browser (inside the same instance of foobar). You only see other external servers.
Title: foo_upnp
Post by: bubbleguuum on 2010-01-19 19:10:53
Request: Not sure if this is possible, but an option to scrobble tracks to last.fm (via foo_audioscrobbler - similar to how foo_dop does it) when they are streamed to another device. Eg., if I use foo_upnp to play a track on my Xbox360, the track would also get scrobbled.


I Second this one!!! That would be reallyyyy cool!
Hope you can figure this one out.
It's a quite unique function for a dlna media server.


This is not possible as foo_audioscrobbler do not offer an API for other plugins to use. Not sure how foo_dop do it.
Title: foo_upnp
Post by: Tom_W on 2010-01-19 22:21:17
Should the server start automatically without me launching Foobar? This doesn't happen currently, and i can't see the Foobar UPnP server from my renderer (NaimUniti) until I do so.


Of course you must launch foobar2000 to launch the server


OK, thanks. The reason i asked was because Asset UPnP server starts automatically.
Title: foo_upnp
Post by: bubbleguuum on 2010-01-19 22:40:13
OK, thanks. The reason i asked was because Asset UPnP server starts automatically.


Asset can run in the background as a Windows Service (like most standalone Media Servers). foo_upnp can only run as a standard app, hosted by foobar2000.
Title: foo_upnp
Post by: Yirkha on 2010-01-19 23:45:25
Not sure how foo_dop do it.
I presume foo_audioscrobbler has been modified to implement the portable_device_playbackdata_callback service, as available in the foo_dop SDK. Doesn't really seem like a proper interface to use in your case though.
Title: foo_upnp
Post by: asklucas on 2010-01-20 08:06:43
Dear B.,

thank you very much for your plugin! As far as I can see, it is the only customizable UPnP ControlPoint on this planet!

Unfortunately it doesn't control my DENON AVR-3310 (which I particularly bought for the ability of being remote controllable).
The DENON is not listed in the UPnP Controller drop-down list.

The DENON can play successfully from TwonkyMedia Server, TVersity and Windows Media Connect. It also can successfully be controlled by TwonkyMedia Manager. Unfortunately the latter has a brain-dead GUI.
Admittedly, the DENON firmware seems buggy - I wasn't yet able to update it. It registers on my DNS Server with its NIC MAC ID as hostname, rather than the »friendly name« DENON.

Install Cidero (http://cidero.com/downloads.html) and tell me if it sees your receiver. If it does not see it, it is likely to be a network issue.
If it sees it, then edit foo_upnp.xml (in your foobar2000 install directory) to enable logging with max info:
set    console_log enabled="yes" level="0".
Now start foobar2000, display the console (View->Console), check the "Write Log" button to save the log to file,  remove the Controller UI Panel and re-add it to your layout, wait a few seconds and send me the generated log file to bubbleguuum@free.fr.

May I send my log file to you?

Thank you!!!

L.
Title: foo_upnp
Post by: bubbleguuum on 2010-01-20 19:02:35
I presume foo_audioscrobbler has been modified to implement the portable_device_playbackdata_callback service, as available in the foo_dop SDK. Doesn't really seem like a proper interface to use in your case though.

OK, thanks for the explanation. Itwould make more sense if it was the other way around I think...

May I send my log file to you?

Yes !
Title: foo_upnp
Post by: asklucas on 2010-01-21 09:21:53
Yes !

Thank you!!! But fortunately I was finally able to update the firmware. With the latest release foo_upnp is working! Yahoo!!!
I will still send you the log file in case you want to investigate, why TwonkyMedia Manager was able to remote control the DENON before the update but foo_upnp not.

A question about seeking within a track when I use one instance of foo_upnp as MediaRenderer and another instance on another machine as ControlPoint:
Using TwonkyMedia Server, seeking within a track works. Using TVersity, I have to deactivate »Allow seeking over HTTP« and thus can't seek.
Why? Is TVersity not completely standards compliant or does the standard not require seeking?

On the other side, with the TVersity and the DENON I can't seek (slider inactive in foo_upnp Controller). I haven't tested the DENON yet using TwonkyMedia Server.

What property of the XML-files do I have to check to find out if the DENON supports seeking?
Title: foo_upnp
Post by: asklucas on 2010-01-21 10:10:13
Thank you!!! But fortunately I was finally able to update the firmware. With the latest release foo_upnp is working! Yahoo!!!

This might be a little off-topic, but because this information is hard to find and many people are suffering, I want to share my experience:

The DENON AV Receiver firmwares seem to be often buggy; the problem is that the firmware update procedure seems to be the most buggy.
If you experience errors like »Connection failed« when trying to update the firmware using the OSD, but the network connection itself is okay (e. g. Internet radio streaming works), deactivate the UPnP features of your internet router (doesn't apply to me - I haven't had it activated anyway).


Before you can update the firmware you have to reset the DENON to its factory settings [1], but not using the procedure described in the manual, but a procedure described on another board, which presumably comes from DENON support:

[1] I hope this procedure doesn't delete the calibration information of the Audyssey measurement microphone.
[2] Other people reported that the update works immediately. In my case I had to do the reset procedure two times and found out, that I had to directly navigate to the firmware update menu and not check or use any other menus (like check if the DHCP config is there).

Before and after the update note the firmware versions of the different modules:
Title: foo_upnp
Post by: bubbleguuum on 2010-01-21 20:19:26
Yes !

Thank you!!! But fortunately I was finally able to update the firmware. With the latest release foo_upnp is working! Yahoo!!!
I will still send you the log file in case you want to investigate, why TwonkyMedia Manager was able to remote control the DENON before the update but foo_upnp not.

A question about seeking within a track when I use one instance of foo_upnp as MediaRenderer and another instance on another machine as ControlPoint:
Using TwonkyMedia Server, seeking within a track works. Using TVersity, I have to deactivate »Allow seeking over HTTP« and thus can't seek.
Why? Is TVersity not completely standards compliant or does the standard not require seeking?

On the other side, with the TVersity and the DENON I can't seek (slider inactive in foo_upnp Controller). I haven't tested the DENON yet using TwonkyMedia Server.

What property of the XML-files do I have to check to find out if the DENON supports seeking?


Seeking and upnp is quite complicated, there's many factor for a file to be upnp seekable. Let's start with the simplest case: the Seek bar is grayed with the DENON+Tversity combo
because the DENON just told the UPnP Controller Seek was not available. Actions supported by the Renderer are notified by the Renderer through the CurrentTransportActions state variable. You can have a look at this variable in the logs and most likely the Seek action is not listed (other actions are Play, Stop, Pause among others). Then why your Denon do not report Seek supported ? Likely it's http client subsytem do not support Seek at all, or it could have determined this particular playing URL was not seekable or that the file format was not seekable. The second possibility (URL not seekable) can happen if the http server (Tversity is that case) tells the client (Denon Renderer) that seek is not supported.

To get back to the first issue, IIRC, if you disable "Allow seeking over HTTP", fb2k http client will not make any http range requests (not 100% sure on this). Those requests used for seeking can fail on some http servers not supporting them. What error in fb2k do you get if you let this setting enabled with TVersity ?
Most likely TVersity do not support http range requests made by fb2k and possibly the Denon.
Title: foo_upnp
Post by: Wadsbrau on 2010-01-22 21:33:11
Bubbleguuum.  Thank you for the plugin!  Thanks especially for adding folder view support.  That is working great so far.

One side note and it's probably not the plugin but the PS3.  I read all of the posts and found a few referring to an audio cutting out issue every 10 seconds or so when playing through the PS3.  However, I didn't see any conclusion to this.  I am using the PS3 with wifi playing either flac or mp3 does the same thing.  Maybe it's wifi just sucks.  I don't know whether anyone else has tried it.  If I play flac through upnp from a control point through wifi to my mini-itx PC. it works perfectly.  I am using teh default device profile for the PS3.

Thank you,

You saved me a lot of work as I was in the middle of writing a rendere plugin for Foobar2000 and gave it up as your's came out.

Darren
Title: foo_upnp
Post by: batagy on 2010-01-23 23:28:31
Hi!

I have noticed that [foo_upnp] is not scanning the library "recursively enough". I mean, it should go deeper in the directory path when scanning, even when the 1st subdirectories doesn't contain playable files.

Example: I have my music burnt on DVD discs, in the following directory hierarchy:
D:\41 - Vangelis - Spiral (1977)\Vangelis - Spiral (1977) [FLAC]
D:\42 - Vangelis - Albedo 0.39 (1975)\Vangelis - Albedo 0.39 (1975) [FLAC]
D:\43 - Weather Report - Live In Tokyo (1972)\Weather Report - Live in Tokyo (1972) [FLAC]

"D:\" is the optical drive.
Now if I select the D:\ to the Media Library, it won't be scanning the files, because the files are in the 2nd level in the subdirectory. My 1st level subdirecorties ("41 - Vangelis - Spiral (1977)" don't contain playable files, foobar should go one more level deeper, to go in "Vangelis - Spiral (1977) [FLAC]".

If I want to play the content of "Vangelis - Spiral (1977) [FLAC]" using the UPNP plugin with a network player, I need to select "D:\41 - Vangelis - Spiral (1977)" in the Media Library.
But that's not good, I want to select only "D:\" so I'll see my other albums as well, not only one album!

Is there a setting which controls how many levels the Media Library is going down when scanning the library?

(Using Foobar 1.0 with UPNP 0.99.19.1, Windows XP SP3.)
Thanks!

merged from this thread: http://www.hydrogenaudio.org/forums/index....showtopic=78144 (http://www.hydrogenaudio.org/forums/index.php?showtopic=78144)
Title: foo_upnp
Post by: bubbleguuum on 2010-01-24 13:21:37
@Wadsbrau: check that your PS3 is setup to use 48Khz, this is important. Also you may want to change your wifi channel id.

New version up!  (first post to download)

0.99.20

- server: fix (regression): when transcoding to mp3, there was up to 1min of silence between tracks (not related to the Philips NP2x000 2min issue between tracks, still unsolved)
- server: fix: streaming audio CD would get drop out of audio if ripping security (in Drive Settings) was not set to disabled. Now decode audio without using ripping settings.
- server: fix: seeking audio CD is now instantaneous
- controller: fix: when a track was paused and either using Next/Prev button or double clicking in Controller Playlist, current track was unpaused instead of doing the relevant action (play the new track).
- controller: new: Shuffle button (only implemented for Linn DS Playlist source for now).
- controller: new: controller accept dragged tracks, and dragged  files from Explorer. Standard drag plays items immediately, shift-drag adds items to the Playback Queue playlist.
- controller: fix: Linn DS Playlist Source would not get listed if the Playlist Source had been renamed in Konfig
- controller: fix: Linn DS Playlist Source: sometimes playing track time was not updated anymore
- controller: chg: selecting a renderer with playback capability brings the "UPnP Controller Playback Queue" Playlist to front
- controller: added controller commands in Playback main menu, in UPnP Controller submenu. Controller commands (play, pause, ...) can be assigned to keyboard shortcuts, including seek back/ahead and volume up/down.
- browser: fix: rare crash
Title: foo_upnp
Post by: SpaceAgeHero on 2010-01-24 13:47:50
Thanks for this. =)

Is it somehow possible to let a WMP user connect via internet without vpn?
Title: foo_upnp
Post by: bubbleguuum on 2010-01-24 13:54:40
Thanks for this. =)

Is it somehow possible to let a WMP user connect via internet without vpn?


Not possible . UPnP was designed for LAN use, and Internet access is a quick hack only accessible from fb2k or PlugPlayer...
Title: foo_upnp
Post by: bubbleguuum on 2010-01-24 23:42:10
Hi!

I have noticed that [foo_upnp] is not scanning the library "recursively enough". I mean, it should go deeper in the directory path when scanning, even when the 1st subdirectories doesn't contain playable files.


There's indeed the bug you describe when a directory of the ML is the root of a drive such as d:\. This will be fixed in the next version, thanks for reporting.
Title: foo_upnp
Post by: pdf on 2010-01-25 02:46:43
Hi,
first of all thanks for the great plugin, I like it a lot :)
However, would it be possible to make the IP address or hostname the UPnP server uses for its media content URLs configurable? I intend to run it on my home server which has multiple network interfaces, and not all of them are accessible to my LAN computers.

For example, the media content URL as generated by the UPnP server might be something like http://192.168.2.3:56923/content/... (http://192.168.2.3:56923/content/...), but since I use different network addressing for my LAN (e.g. 10.0.0.0/24), it is not accessible from my regular LAN computers.

Thanks,
pdf.
Title: foo_upnp
Post by: batagy on 2010-01-25 20:20:37
There's indeed the bug you describe when a directory of the ML is the root of a drive such as d:\. This will be fixed in the next version, thanks for reporting.

Thanks a lot for your work indeed! Nice work! :respect:
Title: foo_upnp
Post by: rosted on 2010-01-25 21:50:00
About the problem streaming to PS3:

I got the same problem, with the music cutting (buffering???) every 5-10 seconds. I have tried both 44.1Khz and 48Khz, and none of them seems to do the trick, although 48Khz makes to music play a little longer before cutting.
I'm 100% sure that's it's not a problem with my wificonnection, since i stream HD-movies with 5.1 surround without any problems, using PS3 Media Server. The strange thing is that streaming music alone, through PS3 Media Server, makes the same problem.

Is it possible that foo_upnp does not use the right profile when connected to the PS3, and therefore does not work optimal?

BTW i use the latest beta.
Title: foo_upnp
Post by: bubbleguuum on 2010-01-25 22:01:38
@rosted: When I mean set the PS3 to 48Khz, it is a setting on the PS3 itself not the plugin: see http://manuals.playstation.net/document/en...tfrequency.html (http://manuals.playstation.net/document/en/ps3/current/settings/outputfrequency.html)

When the PS3 is not set to 48Khz, it is known to possible cause drop out of audio every few seconds.


Title: foo_upnp
Post by: rosted on 2010-01-25 22:14:26
@rosted: When I mean set the PS3 to 48Khz, it is a setting on the PS3 itself not the plugin: see http://manuals.playstation.net/document/en...tfrequency.html (http://manuals.playstation.net/document/en/ps3/current/settings/outputfrequency.html)

When the PS3 is not set to 48Khz, it is known to possible cause drop out of audio every few seconds.


sorry i didn't make myself clear. I have set the PS3 to 48Khz, and the problem still occurs (though it's better than when set to 44.1)
Title: foo_upnp
Post by: Workaholic on 2010-01-26 06:12:29
Hi

since this is my first post here, let me start with a praise for the plug-in. It is a great work and I appreciate it a lot.
I use foobar with the Upnp plug-in to control my HTPC connected to a hi-fi. The controller is a Ipod touch with Plug Player
There are some glitches in the renderer (i assume). Plug Player stops playing the list after some songs. The status on Plug-player is "play" and the status on foobar is "stop" when that happens. The event is not random, it happens always after some songs in the play list.  The same does not happen when I use the Windows 7 WMP Renderer. I use in both cases foobar as a server. WMP is not really a good choice, since it has no option for a bit-perfect replay and I have a lot of 96kHz material.

Occasionally the option "stop after next track" gets checked in foobar somehow, it took me a while to figure that out. I can not find a pattern when is that happening.

Let me know if I can help locating the fault, providing some logs.
Title: foo_upnp
Post by: biriem on 2010-01-26 09:35:33
Hi

I am using only the UPNP-Browser (0.99.20) to play my musik from a qnap NAS where a Twonkymedia server ist running.
It is realy a great plugin, thank you very much for this.

For my usage I am missing only two more cosmetic issues or I can't find the place to configure this.

1.) I would like to change the colors of the background and the font of the UPNP-Browser.
Is this possible?

2.) If I close and restart foobar2000 the UPNP-Browser forgot his last treeview status. I mean the last tree item, the last song which was played before foobar2000 was closed.
If I restart foobar the UPNP-Browser is starting again with the root node and I have to go through my complete media tree.
This is a little bit annoying.
Is it possible to change or configure this behaviour?
Title: foo_upnp
Post by: Wadsbrau on 2010-01-26 17:17:57
@Wadsbrau: check that your PS3 is setup to use 48Khz, this is important. Also you may want to change your wifi channel id.


I did this and both of the things you mentioned, together, did work.  Thank you.  I do have one question if you don't mind.  Is it necessary to upsample the audio (my native Flac 44.1khz)?  Generally with my hifi system, I try to keep the data stream bit-perfect without upsampling.  Maybe the PS3 doesnt work that way.

Thanks again

Darren
Title: foo_upnp
Post by: bubbleguuum on 2010-01-26 22:15:20
Hi
I use foobar with the Upnp plug-in to control my HTPC connected to a hi-fi. The controller is a Ipod touch with Plug Player
There are some glitches in the renderer (i assume). Plug Player stops playing the list after some songs.

I'll try to reproduce it with my itouch. I assume you're using PP 2.5.0 ?


1.) I would like to change the colors of the background and the font of the UPNP-Browser.
Is this possible?
2.) If I close and restart foobar2000 the UPNP-Browser forgot his last treeview status. I mean the last tree item, the last song which was played before foobar2000 was closed.
If I restart foobar the UPNP-Browser is starting again with the root node and I have to go through my complete media tree.

1. The DUI version uses DUI color and fonts settings. The CUI Panel version do not use CUI settings (not implemented). Which version do you use ?
2. Your last UPnP browsed items should be saved in the playlist they were sent and should be playable. The state of the tree is not restored and this is not something I want to add. The Album List component doesn't restore it either...

I did this and both of the things you mentioned, together, did work.  Thank you.  I do have one question if you don't mind.  Is it necessary to upsample the audio (my native Flac 44.1khz)?  Generally with my hifi system, I try to keep the data stream bit-perfect without upsampling.  Maybe the PS3 doesnt work that way.

It's a bit...complicated.  The foo_upnp PS3 profile specify that streamed audio should be 44.1 or 48Khz (because of PS3 limitations), so any file not 44.1 or 48Khz will be resampled by the plugin to the nearest samplerate. Now, your PS3 is configured to output 48Khz so I believe it will resample 44.1 content to 48Khz (wild guess). You could modify the foo_upnp PS3 profile to only allow 48Khz: in that case the plugin will always do the resampling. The PS3 is not the best device to play bit-perfect: it is artificially limited to 44.1 and 48Khz for upnp served content while it has much higher audio specs...
Title: foo_upnp
Post by: Wadsbrau on 2010-01-26 22:32:22
I did this and both of the things you mentioned, together, did work.  Thank you.  I do have one question if you don't mind.  Is it necessary to upsample the audio (my native Flac 44.1khz)?  Generally with my hifi system, I try to keep the data stream bit-perfect without upsampling.  Maybe the PS3 doesnt work that way.

It's a bit...complicated.  The foo_upnp PS3 profile specify that streamed audio should be 44.1 or 48Khz (because of PS3 limitations), so any file not 44.1 or 48Khz will be resampled by the plugin to the nearest samplerate. Now, your PS3 is configured to output 48Khz so I believe it will resample 44.1 content to 48Khz (wild guess). You could modify the foo_upnp PS3 profile to only allow 48Khz: in that case the plugin will always do the resampling. The PS3 is not the best device to play bit-perfect: it is artificially limited to 44.1 and 48Khz for upnp served content while it has much higher audio specs...


What settings in the profile would I set if I don't want any upsampling?  So I can set the PS3 to 44.1 and have it work?  LPCM or WAV?

Thanks

Darren
Title: foo_upnp
Post by: Workaholic on 2010-01-27 06:00:34

Hi
I use foobar with the Upnp plug-in to control my HTPC connected to a hi-fi. The controller is a Ipod touch with Plug Player
There are some glitches in the renderer (i assume). Plug Player stops playing the list after some songs.

I'll try to reproduce it with my itouch. I assume you're using PP 2.5.0 ?



Yes, I use the 1.0 version of foobar and also PP 2.50. I have noticed that there is an announcement on the PP forum that "PP 3.0 is coming and Beta testers are needed" however I'm not one of them. I have recently bought the itouch so I have no experience with previous version(s) of the PP. foo_upnp 99.20 and 99.19.1 behave the same in regards to this error.
Title: foo_upnp
Post by: biriem on 2010-01-27 12:50:17
bubbleguuum, thanks for your quick response.

Quote
1. The DUI version uses DUI color and fonts settings. The CUI Panel version do not use CUI settings (not implemented). Which version do you use ?


I use Columns UI (I like the feature "Display artwork in groups"), perhaps it is implemented sometime.

Quote
The state of the tree is not restored and this is not something I want to add. The Album List component doesn't restore it either...


Personally I feel this feature is much more comfortable.
The Album List component doesn't restore it either. That is true, but the Album List does not have so many nodes like the UPNP Browser.
On the average I have to expand 5 nodes, before I can play a song.

Title: foo_upnp
Post by: rosted on 2010-01-27 13:08:35
Now i have tried both 44.1 and 48. And tried changing to a static channel on my router. It still do not work without lagging which is odd since i can stream 720p surroundsound movies without any problems..
Title: foo_upnp
Post by: xapz on 2010-01-27 15:09:29
@rosted

I seem to have a similar problem here. I can stream HD videos with PS3MediaServer to my PS3 via WLAN without any stuttering or drop outs. But with foo_upnp streaming LPCM there are like 10 seconds music, then 3 seconds pause, then it plays again etc. Changing the sample rate in foo_upnp config and/or PS3 output settings doesn't make any difference. Streaming to WMP on my laptop works fine though. So bandwidth clearly can't be the problem here - but then what is it? 
Title: foo_upnp
Post by: war59312 on 2010-01-28 09:24:52
Hi,

It seems .m3u files refuse to play on xbox 360.

In fact it causes foobar2000 to lock up as well.

.pls files play fine thankfully, but real pain to convert by hand.

Anyone got an app to do it for me?

Would be nice if .m3u support could be fixed? That is convert on the fly to .pls style.

Here is what I see in console, when I enable debug, does not really help:

Code: [Select]
foo_upnp: 21.882: NPT_Win32Thread::Start(482): FINER: creating thread
foo_upnp: 21.883: PLT_HttpListenTask<class PLT_HttpServerListener>::DoRun(155): FINE: current http task count = 2
foo_upnp: 21.883: NPT_Win32Thread::EntryPoint(449): FINER: thread in =======================
foo_upnp: 21.892: NPT_HttpRequest::Parse(592): FINEST: http request: POST /ContentDirectory/0b5673b7-2498-d1f1-e465-a13b7eb85fd9/control.xml HTTP/1.1
foo_upnp: 21.892: NPT_HttpHeaders::Parse(185): FINEST: header - User-Agent: Xbox/2.0.8955.0 UPnP/1.0 Xbox/2.0.8955.0
foo_upnp: 21.892: NPT_HttpHeaders::Parse(185): FINEST: header - Connection: Keep-alive
foo_upnp: 21.892: NPT_HttpHeaders::Parse(185): FINEST: header - Host: 192.168.1.105
foo_upnp: 21.892: NPT_HttpHeaders::Parse(185): FINEST: header - SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Search"
foo_upnp: 21.892: NPT_HttpHeaders::Parse(185): FINEST: header - CONTENT-TYPE: text/xml; charset="utf-8"
foo_upnp: 21.892: NPT_HttpHeaders::Parse(215): FINEST: header Content-Length: 675
foo_upnp: 21.892: PLT_HttpServer::ProcessHttpRequest(142): FINE: Received POST Request from 192.168.1.122 for /ContentDirectory/0b5673b7-2498-d1f1-e465-a13b7eb85fd9/control.xml
foo_upnp: 21.893: PLT_HttpHelper::ToLog(402): FINER:
POST /ContentDirectory/0b5673b7-2498-d1f1-e465-a13b7eb85fd9/control.xml HTTP/1.1
User-Agent: Xbox/2.0.8955.0 UPnP/1.0 Xbox/2.0.8955.0
Connection: Keep-alive
Host: 192.168.1.105
SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Search"
CONTENT-TYPE: text/xml; charset="utf-8"
Content-Length: 675
foo_upnp: 21.893: FbMediaServer::ProcessHttpRequest(250): INFO: received LAN request: http://192.168.1.105/ContentDirectory/0b5673b7-2498-d1f1-e465-a13b7eb85fd9/control.xml (User-Agent: Xbox/2.0.8955.0 UPnP/1.0 Xbox/2.0.8955.0)
foo_upnp: 21.893: PLT_DeviceHost::ProcessHttpRequest(376): FINER: PLT_DeviceHost Received Request:
foo_upnp: 21.893: PLT_HttpHelper::ToLog(402): FINER:
POST /ContentDirectory/0b5673b7-2498-d1f1-e465-a13b7eb85fd9/control.xml HTTP/1.1
User-Agent: Xbox/2.0.8955.0 UPnP/1.0 Xbox/2.0.8955.0
Connection: Keep-alive
Host: 192.168.1.105
SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Search"
CONTENT-TYPE: text/xml; charset="utf-8"
Content-Length: 675
foo_upnp: 21.893: PLT_DeviceHost::ProcessHttpPostRequest(555): FINE: Received Search action from 192.168.1.122
foo_upnp: 21.893: FbMediaServer::OnAction(196): INFO: received action 'Search', args = { ContainerID=0/2/12, SearchCriteria=(upnp:class derivedfrom "object.item.audioItem"), Filter=dc:title,res,res@protection,res@duration,res@sampleFrequency,res@bitsPerSample,res@bitrate,res@nrAu
dioChannels,upnp:artist,upnp:artist@role,upnp:genre,upnp:album, StartingIndex=0, RequestedCount=1000, SortCriteria= }
foo_upnp: 21.893: PLT_MediaServer::OnSearch(462): INFO: Received Search from 192.168.1.122 for id = 0/2/12 with search = (upnp:class derivedfrom "object.item.audioItem"), start = 0, count = 1000
foo_upnp: 21.893: upnp_server_conf::get_profile(548): INFO: using profile 'Xbox 360' (User-Agent:Xbox/2.0.8955.0 UPnP/1.0 Xbox/2.0.8955.0)

If you save this as a .pls it will play fine:

Code: [Select]
[playlist]
numberofentries=20
File1=http://scfire-ntc-aa05.stream.aol.com:80/stream/1040
Title1=.977 The 80s Channel
Length1=-1
File2=http://scfire-mtc-aa04.stream.aol.com:80/stream/1074
Title2=.977 The Hitz Channel
Length2=-1
File3=http://novastreamradio.org:9100
Title3=NovaStream
Length3=-1
File4=http://sc11.1.fm:8658
Title4=1.FM - 70s
Length4=-1
File5=http://sc8.1.fm:6950
Title5=1.FM - Back To The 80s
Length5=-1
File6=http://sc12.1.fm:7036
Title6=1.FM - 90s
Length6=-1
File7=http://64.62.252.130:8070
Title7=1.FM - Channel X
Length7=-1
File8=http://sc17.1.fm:7802
Title8=1.FM - Country Hits
Length8=-1
File9=http://sc12.1.fm:7048
Title9=1.FM - Country
Length9=-1
File10=http://sc12.1.fm:7058
Title10=1.FM - High Voltage
Length10=-1
File11=http://sc8.1.fm:7016
Title11=1.FM - Top 40
Length11=-1
File12=http://sc12.1.fm:7024
Title12=1.FM - X
Length12=-1
File13=http://80.86.106.35:9000/
Title13=Magic FM
Length13=-1
File14=http://scfire-ntc-aa03.stream.aol.com:80/stream/1076
Title14=SKY.FM - 70s Hits
Length14=-1
File15=http://scfire-dtc-aa02.stream.aol.com:80/stream/1013
Title15=SKY.FM - Best of the 80s
Length15=-1
File16=http://scfire-mtc-aa03.stream.aol.com:80/stream/1014
Title16=SKY.FM - Top Hits Music
Length16=-1
File17=http://88.191.69.42:8002/
Title17=SKY.FM - Alternative Rock
Length17=-1
File18=http://94.232.114.240:6734
Title18=SKY.FM - Classic Rock
Length18=-1
File19=http://scfire-ntc-aa03.stream.aol.com:80/stream/1019
Title19=SKY.FM - Hit Country
Length19=-1
File20=http://72.26.204.18:6606
Title20=SKY.FM - Smooth Jazz
Length20=-1
Version=2

So if .m3u files could be converted to the .pls style above on the fly that would be sweet.

It's Extended PLS (PLSv2) by the way. See: http://forums.winamp.com/showthread.php?threadid=65772 (http://forums.winamp.com/showthread.php?threadid=65772)

Enjoy the .pls, took me a good 45 minutes to figure it all out.

The first one does not display correctly on xbox 360 dashboard, but good enough and plays fine.

Thanks,

Will
Title: foo_upnp
Post by: war59312 on 2010-01-28 10:37:06
Well, I found http://www.softpedia.com/get/Multimedia/Au...t-Creator.shtml (http://www.softpedia.com/get/Multimedia/Audio/Other-AUDIO-Tools/Winamp-Playlist-Creator.shtml), works great.

Now I can simply convert them, then I manually add the titles. Saves a lot of time.
Title: foo_upnp
Post by: bubbleguuum on 2010-01-28 22:28:27
@rosted, @xapz and everyone having PS3 problems:

today I tried streaming from my PS3 and had problems described: very frequent drop out of audio. After a PS3 reboot
I would only get plenty of "DLNA Protocol Error 2104", giving "No items found" when browsing. After this initial WTF, it turned
out that my Wireless Linksys router was slowing down wifi traffic to a crawl. Since only my PS3 use wifi, I didn't notice.
Everything went fine after a router reboot, no drop out of audio of any sort.
If you still experience problems, you may want to configure your wifi router to use "G Only" (and not B/G Mixed mode). Also lesson learned from this, is that DLNA error 2104
probably occurs when for some reason, bandwidth is ultra low. Ahhhh Sony and their f.... undocumented error codes!
Title: foo_upnp
Post by: bubbleguuum on 2010-01-28 22:41:17
Quote
1. The DUI version uses DUI color and fonts settings. The CUI Panel version do not use CUI settings (not implemented). Which version do you use ?

I use Columns UI (I like the feature "Display artwork in groups"), perhaps it is implemented sometime.


Added to the todo list.
Title: foo_upnp
Post by: bubbleguuum on 2010-01-28 22:48:26
Hi,

It seems .m3u files refuse to play on xbox 360.

In fact it causes foobar2000 to lock up as well.


Can you describe exactly how you use .m3u with the plugin and the sequence that cause lock up ?
Title: foo_upnp
Post by: war59312 on 2010-01-29 02:53:46
All right after spending an hour messing around with it, I came to the conclusion that it in fact does NOT lock up. I'll explain.

Foobar simply becomes unresponsive until the xbox finally displays that it found nothing. But during that time foobar does "lock up", but at least it's only temporary. Though some times it can be as much as five minutes. Seems more like a flaw in the xbox.

Doubt you can do anything about that?

So all I am doing is running this dll in foobar. I then load up any .m3u file in foobar and attempt to view foobar on the xbox under music.

And since it seems that .m3u is not supported on xbox it takes "forever" for the xbox to give up on finding it. But during this time it causes foobar to become completely unresponsive. You see the whole "application is not responding" dialog.

Hope that helps, but again doubt anything can be done about, seems like a flaw in the xbox itself to me.

Thanks anyhow..
Title: foo_upnp
Post by: zicmu2 on 2010-01-31 07:24:18
@rosted, @xapz and everyone having PS3 problems:

today I tried streaming from my PS3 and had problems described: very frequent drop out of audio. After a PS3 reboot
I would only get plenty of "DLNA Protocol Error 2104", giving "No items found" when browsing. After this initial WTF, it turned
out that my Wireless Linksys router was slowing down wifi traffic to a crawl. Since only my PS3 use wifi, I didn't notice.
Everything went fine after a router reboot, no drop out of audio of any sort.
If you still experience problems, you may want to configure your wifi router to use "G Only" (and not B/G Mixed mode). Also lesson learned from this, is that DLNA error 2104
probably occurs when for some reason, bandwidth is ultra low. Ahhhh Sony and their f.... undocumented error codes!



Hello everyone,

Please forgive my awfull english.

First a big thankyou to spend so much of your own time on this fantastic plugin.

But i must say that i have the same problem here.

My PS3 is set to 48khz output. I have downloaded Foobar 1.0 and the 0.99.20 plugin. I use 200 Megabits CPL boxes between my PS3 and my gigabit router and each 10 seconds i have a little interruption in the streamed music.

I have diconnect and reconnect my router but it's lead to same behaviour.

Please note that i can stream 720p video without problem, but also music with my upnp NAS. So it can't be related to some low connection speed.

Please bubbleguuum, could you look deeper in this kind of problem ? Can i give you some more accurate infos ?

Thank you.
Title: foo_upnp
Post by: war59312 on 2010-01-31 11:07:07
Hi,

Any chance of "Dynamic Track Titles" support?

Can you even do that with UPnP? That is, can you modify meta data mid stream?

I don't see anything about it mentioned in the read me.

Would be very sweet..

Thanks,

Will
Title: foo_upnp
Post by: bubbleguuum on 2010-01-31 14:20:05
Please bubbleguuum, could you look deeper in this kind of problem ? Can i give you some more accurate infos ?


The problem is that I can't reproduce it. I'm using a Linksys WRT54GS router and the PS3 is at 2 meters of the router. You should check that you use the unmodified PS3 profile which specify to always stream as LPCM. This is the most trouble-free setting, even if the PS3 can stream mp3 and aac direclty. The PS3 is really super picky with wifi and DLNA, and I've not seen any other upnp server software not having problems with it for some of its user base. Looks like foo_upnp is no exception...There is less potential problems when going wired with the PS3.

What you can do is send me the log file with INFO log level to bubbleguuum@free.fr (Instructions on how to generate it are at the end of the first post). Also when you get audio drop out, do the PS3 display some DLNA error code in the upper-right of the screen ?


Any chance of "Dynamic Track Titles" support?
Can you even do that with UPnP? That is, can you modify meta data mid stream?
I don't see anything about it mentioned in the read me.


It can't be done when foo_upnp is configured to relay a HTTP stream (webradio, etc) to a device as either WAV or LPCM (those formats do not have the concept of dynamic metadata). The only way it could possibly work is if the device plays directly the HTTP stream and interpret dynamic track info (you enable a device to play directly a http stream with  "Client decode HTTP stream direclty", in a streaming profile)
Title: foo_upnp
Post by: war59312 on 2010-02-02 07:27:15
Hi,

All right, understood. Thanks.

Sadly though foobar just crashed:

Code: [Select]
Illegal operation:
Code: C0000005h, flags: 00000000h, address: 77476796h
Access violation, operation: write, address: FFD3DAEDh

Call path:
FbMediaServer::ProcessFileRequest=>FbMediaServer::ServeFile=>FbMediaInputStream::init()=>FbMediaWavInputStream

Code bytes (77476796h):
77476756h:  83 D1 01 81 E3 FF 7F 00 00 66 3B 5E 14 0F 84 B3
77476766h:  04 00 00 8B 45 E0 8B 55 E4 0F AC D0 10 66 89 47
77476776h:  08 2B 7D F4 33 C0 C1 EF 03 0F A4 F8 10 C1 E7 10
77476786h:  C1 EA 10 0B DF 0B C8 8B 06 C7 45 F8 01 00 00 00
77476796h:  89 30 8B 45 E0 8B 55 E4 8D 7E 08 F0 0F C7 0F 3B
774767A6h:  45 E0 0F 85 BD 03 FB FF 3B 55 E4 0F 85 B4 03 FB
774767B6h:  FF 66 83 7D E0 00 0F 84 33 B7 FD FF 83 7D F8 03
774767C6h:  0F 84 84 3F FD FF 5F 5E B0 01 5B C9 C3 90 90 90

Stack (0AEAE8C8h):
0AEAE8A8h:  00000000 00000000 00000000 00000000
0AEAE8B8h:  00000000 00000000 00000000 00000000
0AEAE8C8h:  00000000 021E0000 05C4D680 00000027
0AEAE8D8h:  00000000 FFD3DAED FFD3DAED 0C4D0098
0AEAE8E8h:  0AEAE8FC 774766EA FFD3DAED 00000001
0AEAE8F8h:  05C4D678 0AEAE910 774766EA 05C4D680
0AEAE908h:  077E1F10 03637EE0 0AEAE924 76589A26
0AEAE918h:  021E0000 00000000 05C4D678 0AEAE964
0AEAE928h:  03694DA9 021E0000 00000000 05C4D680
0AEAE938h:  3F72F3AF 077E1F10 00000258 03637EE0
0AEAE948h:  00000000 0AEAE938 0AEAE4F0 0AEAE9A4
0AEAE958h:  0369CDA0 36F78213 FFFFFFFE 0AEAF520
0AEAE968h:  03694A6A 05C4D680 03637F47 036A93F7
0AEAE978h:  0AEAF514 0AEAEC0C 0AEAE990 0AEAF514
0AEAE988h:  03637EE0 0AEAF520 0AEAE9BC 0369B266
0AEAE998h:  03637EE0 0AEAF514 00000100 0AEAEA14
0AEAE9A8h:  0369AF6D 3F72F36F 03700410 0AEAF514
0AEAE9B8h:  00000001 0AEAEA24 036A8AF3 0AEAF514
0AEAE9C8h:  03700410 03637EE0 00000000 00000100
0AEAE9D8h:  3F72F0EF 037003FC 0AEAF514 037003EC

Registers:
EAX: FFD3DAED, EBX: 1F715AEE, ECX: FFD3DAFE, EDX: 0000FFD3
ESI: 07F932C8, EDI: 1F710000, EBP: 0AEAE8FC, ESP: 0AEAE8C8

Crash location:
Module: ntdll
Offset: 66796h
Symbol: "RtlFreeHeap" (+126h)

Loaded modules:
foobar2000                      loaded at 000F0000h - 002A9000h
ntdll                            loaded at 77410000h - 77537000h
kernel32                        loaded at 76540000h - 7661C000h
COMCTL32                        loaded at 746A0000h - 7483E000h
msvcrt                          loaded at 75F80000h - 7602A000h
ADVAPI32                        loaded at 772F0000h - 773B6000h
RPCRT4                          loaded at 76460000h - 76523000h
GDI32                            loaded at 77580000h - 775CB000h
USER32                          loaded at 76250000h - 762ED000h
SHLWAPI                          loaded at 76780000h - 767D9000h
DSOUND                          loaded at 73BA0000h - 73C10000h
ole32                            loaded at 75AC0000h - 75C05000h
WINMM                            loaded at 74C10000h - 74C42000h
OLEAUT32                        loaded at 76030000h - 760BD000h
OLEACC                          loaded at 74BD0000h - 74C0D000h
POWRPROF                        loaded at 74DB0000h - 74DCA000h
UxTheme                          loaded at 749A0000h - 749DF000h
SHELL32                          loaded at 767E0000h - 772F0000h
shared                          loaded at 10000000h - 1002B000h
imagehlp                        loaded at 77540000h - 77569000h
dbghelp                          loaded at 74AC0000h - 74B9C000h
COMDLG32                        loaded at 762F0000h - 76363000h
ShimEng                          loaded at 6C2C0000h - 6C2DE000h
apphelp                          loaded at 75900000h - 7592C000h
AcLayers                        loaded at 6C1A0000h - 6C228000h
USERENV                          loaded at 75970000h - 7598E000h
Secur32                          loaded at 75950000h - 75964000h
WINSPOOL                        loaded at 74A70000h - 74AB2000h
MPR                              loaded at 75200000h - 75214000h
IMM32                            loaded at 77650000h - 7766E000h
MSCTF                            loaded at 766B0000h - 76778000h
LPK                              loaded at 77570000h - 77579000h
USP10                            loaded at 775D0000h - 7764D000h
guard32                          loaded at 00070000h - 0009A000h
VERSION                          loaded at 75940000h - 75948000h
fltlib                          loaded at 75930000h - 75937000h
RocketDock                      loaded at 00530000h - 00542000h
PSAPI                            loaded at 75AB0000h - 75AB7000h
AM31362                          loaded at 00400000h - 0040C000h
ws2_32                          loaded at 75D50000h - 75D7D000h
NSI                              loaded at 76530000h - 76536000h
CLBCatQ                          loaded at 76620000h - 766A4000h
MMDevApi                        loaded at 73D80000h - 73DA8000h
SETUPAPI                        loaded at 760C0000h - 7624A000h
WINTRUST                        loaded at 74BA0000h - 74BCD000h
CRYPT32                          loaded at 75660000h - 75752000h
MSASN1                          loaded at 75640000h - 75652000h
foo_verifier                    loaded at 010F0000h - 01133000h
foo_uie_console                  loaded at 01280000h - 0129A000h
foo_quicktag                    loaded at 01EB0000h - 01EE4000h
foo_cdda                        loaded at 02000000h - 0204D000h
foo_upnp                        loaded at 03600000h - 0377A000h
iphlpapi                        loaded at 75150000h - 75169000h
dhcpcsvc                        loaded at 75110000h - 75145000h
DNSAPI                          loaded at 75280000h - 752AC000h
WINNSI                          loaded at 75100000h - 75107000h
dhcpcsvc6                        loaded at 750D0000h - 750F2000h
foo_dsp_std                      loaded at 02200000h - 02249000h
foo_input_dts                    loaded at 6AFE0000h - 6B041000h
foo_rgscan                      loaded at 02420000h - 0246F000h
foo_playcount                    loaded at 02470000h - 024A0000h
foo_benchmark                    loaded at 024B0000h - 024DD000h
foo_out_wasapi                  loaded at 02540000h - 02566000h
foo_masstag                      loaded at 02580000h - 025D4000h
foo_texttools                    loaded at 6AFA0000h - 6AFD4000h
foo_ui_columns                  loaded at 03C00000h - 03D73000h
gdiplus                          loaded at 74300000h - 744AB000h
foo_out_asio                    loaded at 02620000h - 02656000h
foo_converter                    loaded at 02710000h - 02780000h
foo_albumlist                    loaded at 03780000h - 037DC000h
foo_input_std                    loaded at 04290000h - 043DD000h
foo_discogs                      loaded at 03900000h - 03965000h
WININET                          loaded at 76370000h - 76456000h
Normaliz                        loaded at 75F70000h - 75F73000h
urlmon                          loaded at 75C10000h - 75D42000h
iertutil                        loaded at 75D80000h - 75F68000h
foo_amipwrapper                  loaded at 027C0000h - 027F0000h
foo_dsp_dolbyhp                  loaded at 70D70000h - 70D94000h
foo_uie_albumlist                loaded at 03970000h - 039B3000h
foo_uie_typefind                loaded at 03B00000h - 03B30000h
foo_dop                          loaded at 045E0000h - 0477C000h
QUARTZ                          loaded at 662F0000h - 66463000h
DXVA2                            loaded at 6E930000h - 6E943000h
foo_podcatcher                  loaded at 03EF0000h - 03F5E000h
foo_burninate                    loaded at 03B60000h - 03BA0000h
foo_freedb2                      loaded at 03DA0000h - 03DE0000h
foo_ac3                          loaded at 03F60000h - 03F90000h
foo_input_monkey                loaded at 03FC0000h - 04008000h
foo_uie_library_tree            loaded at 043E0000h - 04422000h
foo_out_ks                      loaded at 04430000h - 0445A000h
foo_input_alac                  loaded at 04020000h - 04040000h
foo_ui_std                      loaded at 04BA0000h - 04CAE000h
MSIMG32                          loaded at 74D90000h - 74D95000h
foo_lock                        loaded at 04460000h - 04479000h
foo_audioscrobbler              loaded at 044B0000h - 044E1000h
AutoSizer                        loaded at 04520000h - 04536000h
WindowsCodecs                    loaded at 737B0000h - 738A4000h
EhStorShell                      loaded at 715A0000h - 715BF000h
PROPSYS                          loaded at 73FF0000h - 740AB000h
cscui                            loaded at 71460000h - 714F5000h
CSCDLL                          loaded at 71590000h - 71599000h
CSCAPI                          loaded at 71580000h - 7158B000h
mswsock                          loaded at 74FD0000h - 7500B000h
wshtcpip                        loaded at 74DA0000h - 74DA5000h
wtsapi32                        loaded at 74840000h - 7484A000h
WINSTA                          loaded at 74E30000h - 74E55000h
amip                            loaded at 0A700000h - 0A86E000h
sud                              loaded at 664C0000h - 665EE000h
ADVPACK                          loaded at 66C80000h - 66CAE000h
DUser                            loaded at 74970000h - 749A0000h
IEFRAME                          loaded at 0B3C0000h - 0BE53000h
wship6                          loaded at 74FC0000h - 74FC5000h
NLAapi                          loaded at 73D30000h - 73D3F000h
napinsp                          loaded at 6FCF0000h - 6FCFF000h
pnrpnsp                          loaded at 6FCD0000h - 6FCE2000h
winrnr                          loaded at 6FCC0000h - 6FCC8000h
WLDAP32                          loaded at 773C0000h - 77409000h
rasadhlp                        loaded at 72EF0000h - 72EF6000h

Stack dump analysis:
Address: 774766EAh (ntdll+666EAh), symbol: "RtlFreeHeap" (+7Ah)
Address: 774766EAh (ntdll+666EAh), symbol: "RtlFreeHeap" (+7Ah)
Address: 03637EE0h (foo_upnp+37EE0h)
Address: 76589A26h (kernel32+49A26h), symbol: "HeapFree" (+14h)
Address: 03694DA9h (foo_upnp+94DA9h), symbol: "foobar2000_get_interface" (+5BFD9h)
Address: 03637EE0h (foo_upnp+37EE0h)
Address: 0369CDA0h (foo_upnp+9CDA0h), symbol: "foobar2000_get_interface" (+63FD0h)
Address: 03694A6Ah (foo_upnp+94A6Ah), symbol: "foobar2000_get_interface" (+5BC9Ah)
Address: 03637F47h (foo_upnp+37F47h)
Address: 036A93F7h (foo_upnp+A93F7h), symbol: "foobar2000_get_interface" (+70627h)
Address: 03637EE0h (foo_upnp+37EE0h)
Address: 0369B266h (foo_upnp+9B266h), symbol: "foobar2000_get_interface" (+62496h)
Address: 03637EE0h (foo_upnp+37EE0h)
Address: 0369AF6Dh (foo_upnp+9AF6Dh), symbol: "foobar2000_get_interface" (+6219Dh)
Address: 03700410h (foo_upnp+100410h), symbol: "foobar2000_get_interface" (+C7640h)
Address: 036A8AF3h (foo_upnp+A8AF3h), symbol: "foobar2000_get_interface" (+6FD23h)
Address: 03700410h (foo_upnp+100410h), symbol: "foobar2000_get_interface" (+C7640h)
Address: 03637EE0h (foo_upnp+37EE0h)
Address: 037003FCh (foo_upnp+1003FCh), symbol: "foobar2000_get_interface" (+C762Ch)
Address: 037003ECh (foo_upnp+1003ECh), symbol: "foobar2000_get_interface" (+C761Ch)
Address: 036A88E7h (foo_upnp+A88E7h), symbol: "foobar2000_get_interface" (+6FB17h)
Address: 03637EE0h (foo_upnp+37EE0h)
Address: 0369CDA0h (foo_upnp+9CDA0h), symbol: "foobar2000_get_interface" (+63FD0h)
Address: 036A8E77h (foo_upnp+A8E77h), symbol: "foobar2000_get_interface" (+700A7h)
Address: 03700410h (foo_upnp+100410h), symbol: "foobar2000_get_interface" (+C7640h)
Address: 03700410h (foo_upnp+100410h), symbol: "foobar2000_get_interface" (+C7640h)
Address: 036A91DBh (foo_upnp+A91DBh), symbol: "foobar2000_get_interface" (+7040Bh)
Address: 03700410h (foo_upnp+100410h), symbol: "foobar2000_get_interface" (+C7640h)
Address: 0024BF44h (foobar2000+15BF44h)
Address: 0024BF44h (foobar2000+15BF44h)
Address: 037003ECh (foo_upnp+1003ECh), symbol: "foobar2000_get_interface" (+C761Ch)
Address: 036A93C0h (foo_upnp+A93C0h), symbol: "foobar2000_get_interface" (+705F0h)
Address: 03700410h (foo_upnp+100410h), symbol: "foobar2000_get_interface" (+C7640h)
Address: 0369AF5Dh (foo_upnp+9AF5Dh), symbol: "foobar2000_get_interface" (+6218Dh)
Address: 03700410h (foo_upnp+100410h), symbol: "foobar2000_get_interface" (+C7640h)
Address: 774199FAh (ntdll+99FAh), symbol: "WinSqmStartSession" (+27Bh)
Address: 03700410h (foo_upnp+100410h), symbol: "foobar2000_get_interface" (+C7640h)
Address: 77475F79h (ntdll+65F79h), symbol: "RtlRaiseStatus" (+B4h)
Address: 77475F8Dh (ntdll+65F8Dh), symbol: "RtlRaiseStatus" (+C8h)
Address: 77475F4Bh (ntdll+65F4Bh), symbol: "RtlRaiseStatus" (+86h)
Address: 036BBD75h (foo_upnp+BBD75h), symbol: "foobar2000_get_interface" (+82FA5h)
Address: 77449812h (ntdll+39812h), symbol: "RtlMultiAppendUnicodeStringBuffer" (+3DBh)
Address: 036BBD75h (foo_upnp+BBD75h), symbol: "foobar2000_get_interface" (+82FA5h)
Address: 0025B654h (foobar2000+16B654h)
Address: 77475DD7h (ntdll+65DD7h), symbol: "KiUserExceptionDispatcher" (+Fh)
Address: 7657FBAEh (kernel32+3FBAEh), symbol: "RaiseException" (+58h)
Address: 0024C470h (foobar2000+15C470h)
Address: 0025B654h (foobar2000+16B654h)
Address: 7657FBAEh (kernel32+3FBAEh), symbol: "RaiseException" (+58h)
Address: 7657FBAEh (kernel32+3FBAEh), symbol: "RaiseException" (+58h)
Address: 0024C470h (foobar2000+15C470h)
Address: 75D5417Ch (ws2_32+417Ch), symbol: "connect" (+A3h)
Address: 0007223Dh (guard32+223Dh)
Address: 77476570h (ntdll+66570h), symbol: "RtlAllocateHeap" (+0h)
Address: 0020C297h (foobar2000+11C297h)
Address: 0024C470h (foobar2000+15C470h)
Address: 001C68B4h (foobar2000+D68B4h)
Address: 0024C470h (foobar2000+15C470h)
Address: 001C4FCDh (foobar2000+D4FCDh)
Address: 0020A0C0h (foobar2000+11A0C0h)
Address: 00206FB7h (foobar2000+116FB7h)
Address: 00237AF0h (foobar2000+147AF0h)
Address: 002236D8h (foobar2000+1336D8h)
Address: 77476570h (ntdll+66570h), symbol: "RtlAllocateHeap" (+0h)
Address: 000F833Fh (foobar2000+833Fh)
Address: 000F7B8Ah (foobar2000+7B8Ah)
Address: 00206FB7h (foobar2000+116FB7h)
Address: 000F7846h (foobar2000+7846h)
Address: 001C9E54h (foobar2000+D9E54h)
Address: 00246668h (foobar2000+156668h)
Address: 00237AF8h (foobar2000+147AF8h)
Address: 0024A240h (foobar2000+15A240h)
Address: 0024A240h (foobar2000+15A240h)
Address: 0024A240h (foobar2000+15A240h)
Address: 0024A240h (foobar2000+15A240h)
Address: 0024A240h (foobar2000+15A240h)
Address: 774199FAh (ntdll+99FAh), symbol: "WinSqmStartSession" (+27Bh)
Address: 7744DE90h (ntdll+3DE90h), symbol: "RtlReAllocateHeap" (+1C4h)
Address: 7744DD4Ah (ntdll+3DD4Ah), symbol: "RtlReAllocateHeap" (+7Eh)
Address: 774199FAh (ntdll+99FAh), symbol: "WinSqmStartSession" (+27Bh)
Address: 7744DE90h (ntdll+3DE90h), symbol: "RtlReAllocateHeap" (+1C4h)
Address: 7744DD4Ah (ntdll+3DD4Ah), symbol: "RtlReAllocateHeap" (+7Eh)
Address: 774768FDh (ntdll+668FDh), symbol: "RtlFreeHeap" (+28Dh)
Address: 7747661Fh (ntdll+6661Fh), symbol: "RtlAllocateHeap" (+AFh)
Address: 774768FDh (ntdll+668FDh), symbol: "RtlFreeHeap" (+28Dh)
Address: 7747661Fh (ntdll+6661Fh), symbol: "RtlAllocateHeap" (+AFh)
Address: 00206F80h (foobar2000+116F80h)
Address: 00206F80h (foobar2000+116F80h)
Address: 774766EAh (ntdll+666EAh), symbol: "RtlFreeHeap" (+7Ah)
Address: 76589A26h (kernel32+49A26h), symbol: "HeapFree" (+14h)
Address: 00206910h (foobar2000+116910h)
Address: 10006ACFh (shared+6ACFh), symbol: "stricmp_utf8_ex" (+1Eh)
Address: 001CAE30h (foobar2000+DAE30h)
Address: 0024692Ch (foobar2000+15692Ch)
Address: 001CAF3Ah (foobar2000+DAF3Ah)
Address: 0022212Ch (foobar2000+13212Ch)
Address: 001CE080h (foobar2000+DE080h)
Address: 00268C4Ch (foobar2000+178C4Ch)
Address: 00237AF8h (foobar2000+147AF8h)
Address: 00206BB5h (foobar2000+116BB5h)
Address: 00237AF8h (foobar2000+147AF8h)
Address: 001C4FCDh (foobar2000+D4FCDh)
Address: 00246D24h (foobar2000+156D24h)
Address: 00223688h (foobar2000+133688h)
Address: 001CD9A4h (foobar2000+DD9A4h)
Address: 001CD6CCh (foobar2000+DD6CCh)
Address: 001CD530h (foobar2000+DD530h)
Address: 001CD59Fh (foobar2000+DD59Fh)
Address: 0021F750h (foobar2000+12F750h)
Address: 001CEA6Ch (foobar2000+DEA6Ch)
Address: 0026ED84h (foobar2000+17ED84h)
Address: 0026AE4Ch (foobar2000+17AE4Ch)
Address: 001CE951h (foobar2000+DE951h)
Address: 00242A90h (foobar2000+152A90h)
Address: 0024A240h (foobar2000+15A240h)
Address: 00220CCBh (foobar2000+130CCBh)
Address: 0363DD22h (foo_upnp+3DD22h), symbol: "foobar2000_get_interface" (+4F52h)
Address: 036951F7h (foo_upnp+951F7h), symbol: "foobar2000_get_interface" (+5C427h)
Address: 0026AE4Ch (foobar2000+17AE4Ch)
Address: 036BA7BBh (foo_upnp+BA7BBh), symbol: "foobar2000_get_interface" (+819EBh)
Address: 0363DC31h (foo_upnp+3DC31h), symbol: "foobar2000_get_interface" (+4E61h)
Address: 036BA7D6h (foo_upnp+BA7D6h), symbol: "foobar2000_get_interface" (+81A06h)
Address: 0363A7C9h (foo_upnp+3A7C9h), symbol: "foobar2000_get_interface" (+19F9h)
Address: 036BA81Eh (foo_upnp+BA81Eh), symbol: "foobar2000_get_interface" (+81A4Eh)
Address: 0363A91Ch (foo_upnp+3A91Ch), symbol: "foobar2000_get_interface" (+1B4Ch)
Address: 036BAD2Ah (foo_upnp+BAD2Ah), symbol: "foobar2000_get_interface" (+81F5Ah)
Address: 03637E60h (foo_upnp+37E60h)
Address: 036D4D88h (foo_upnp+D4D88h), symbol: "foobar2000_get_interface" (+9BFB8h)
Address: 036C9910h (foo_upnp+C9910h), symbol: "foobar2000_get_interface" (+90B40h)
Address: 036E08E8h (foo_upnp+E08E8h), symbol: "foobar2000_get_interface" (+A7B18h)
Address: 036BBD75h (foo_upnp+BBD75h), symbol: "foobar2000_get_interface" (+82FA5h)
Address: 03637FB1h (foo_upnp+37FB1h)
Address: 036DFFE0h (foo_upnp+DFFE0h), symbol: "foobar2000_get_interface" (+A7210h)
Address: 036D4D88h (foo_upnp+D4D88h), symbol: "foobar2000_get_interface" (+9BFB8h)
Address: 774771AAh (ntdll+671AAh), symbol: "RtlEnumerateGenericTableWithoutSplaying" (+3E8h)
Address: 774771E6h (ntdll+671E6h), symbol: "RtlEnumerateGenericTableWithoutSplaying" (+424h)
Address: 774768FDh (ntdll+668FDh), symbol: "RtlFreeHeap" (+28Dh)
Address: 774768FDh (ntdll+668FDh), symbol: "RtlFreeHeap" (+28Dh)
Address: 774199FAh (ntdll+99FAh), symbol: "WinSqmStartSession" (+27Bh)
Address: 774768FDh (ntdll+668FDh), symbol: "RtlFreeHeap" (+28Dh)
Address: 7747661Fh (ntdll+6661Fh), symbol: "RtlAllocateHeap" (+AFh)
Address: 77476570h (ntdll+66570h), symbol: "RtlAllocateHeap" (+0h)
Address: 774199FAh (ntdll+99FAh), symbol: "WinSqmStartSession" (+27Bh)
Address: 774768FDh (ntdll+668FDh), symbol: "RtlFreeHeap" (+28Dh)
Address: 7747661Fh (ntdll+6661Fh), symbol: "RtlAllocateHeap" (+AFh)
Address: 77476570h (ntdll+66570h), symbol: "RtlAllocateHeap" (+0h)
Address: 774199FAh (ntdll+99FAh), symbol: "WinSqmStartSession" (+27Bh)
Address: 774768FDh (ntdll+668FDh), symbol: "RtlFreeHeap" (+28Dh)
Address: 7747661Fh (ntdll+6661Fh), symbol: "RtlAllocateHeap" (+AFh)
Address: 0007223Dh (guard32+223Dh)
Address: 036951F7h (foo_upnp+951F7h), symbol: "foobar2000_get_interface" (+5C427h)
Address: 03694BC5h (foo_upnp+94BC5h), symbol: "foobar2000_get_interface" (+5BDF5h)
Address: 036951F7h (foo_upnp+951F7h), symbol: "foobar2000_get_interface" (+5C427h)
Address: 0365B487h (foo_upnp+5B487h), symbol: "foobar2000_get_interface" (+226B7h)
Address: 03606630h (foo_upnp+6630h)
Address: 00200074h (foobar2000+110074h)
Address: 774766EAh (ntdll+666EAh), symbol: "RtlFreeHeap" (+7Ah)
Address: 774766EAh (ntdll+666EAh), symbol: "RtlFreeHeap" (+7Ah)
Address: 036DFFE0h (foo_upnp+DFFE0h), symbol: "foobar2000_get_interface" (+A7210h)
Address: 036D4D88h (foo_upnp+D4D88h), symbol: "foobar2000_get_interface" (+9BFB8h)
Address: 76589A26h (kernel32+49A26h), symbol: "HeapFree" (+14h)
Address: 03694DA9h (foo_upnp+94DA9h), symbol: "foobar2000_get_interface" (+5BFD9h)
Address: 03694DC8h (foo_upnp+94DC8h), symbol: "foobar2000_get_interface" (+5BFF8h)
Address: 036DFFE0h (foo_upnp+DFFE0h), symbol: "foobar2000_get_interface" (+A7210h)
Address: 10002778h (shared+2778h), symbol: "uPrintCrashInfo_OnEvent" (+B0h)
Address: 036DFFF4h (foo_upnp+DFFF4h), symbol: "foobar2000_get_interface" (+A7224h)
Address: 036DFFE0h (foo_upnp+DFFE0h), symbol: "foobar2000_get_interface" (+A7210h)
Address: 036BD0F0h (foo_upnp+BD0F0h), symbol: "foobar2000_get_interface" (+84320h)
Address: 036147C3h (foo_upnp+147C3h)
Address: 774199FAh (ntdll+99FAh), symbol: "WinSqmStartSession" (+27Bh)
Address: 036E08F4h (foo_upnp+E08F4h), symbol: "foobar2000_get_interface" (+A7B24h)
Address: 0007223Dh (guard32+223Dh)
Address: 036E08F4h (foo_upnp+E08F4h), symbol: "foobar2000_get_interface" (+A7B24h)
Address: 03660A01h (foo_upnp+60A01h), symbol: "foobar2000_get_interface" (+27C31h)
Address: 036BC6BDh (foo_upnp+BC6BDh), symbol: "foobar2000_get_interface" (+838EDh)
Address: 03613C08h (foo_upnp+13C08h)
Address: 0361379Dh (foo_upnp+1379Dh)

Environment:
App: foobar2000 v1.0
OS: Windows 6.0.6002 Service Pack 2 x86
CPU: AMD Athlon™ 64 X2 Dual Core Processor 5200+, features: 3DNow!ex MMX SSE SSE2 SSE3
Audio: Speakers (Creative SB X-Fi); SPDIF Out (Creative SB X-Fi); Speakers (PlayOn Virtual Audio Device)
UI: Columns UI 0.3.8.3

Components:
Core (2010-01-09 06:47:00)
    foobar2000 core 1.0
foo_ac3.dll (2010-01-11 11:18:40)
    AC3 decoder 0.9.4
foo_albumlist.dll (2010-01-09 06:44:46)
    Album List 4.4
foo_amipwrapper.dll (2010-01-29 16:32:26)
    AMIP Wrapper 1.01
foo_audioscrobbler.dll (2009-10-25 20:30:02)
    Audioscrobbler 1.4.3
foo_benchmark.dll (2008-12-31 19:23:04)
    Decoding Speed Test 1.1
foo_burninate.dll (2010-01-18 22:10:44)
    Audio CD Writer 3.0.2
foo_cdda.dll (2010-01-09 06:44:42)
    CD Audio Decoder 3.0
foo_converter.dll (2010-01-09 06:44:32)
    Converter 1.4
foo_discogs.dll (2010-01-30 23:31:25)
    Discogs Tagger 1.22
foo_dop.dll (2009-12-27 10:06:53)
    iPod manager 0.6.6.4
foo_dsp_dolbyhp.dll (2010-01-22 13:40:28)
    Dolby Headphone Wrapper 1.4.1
foo_dsp_std.dll (2010-01-09 06:44:48)
    Standard DSP Array 1.0
foo_freedb2.dll (2007-01-22 12:07:44)
    freedb Tagger 0.5.2a
foo_input_alac.dll (2009-03-22 15:15:46)
    ALAC Decoder 1.0.3
foo_input_dts.dll (2010-01-11 11:28:30)
    DTS decoder 0.2.8
foo_input_monkey.dll (2009-05-01 14:40:52)
    Monkey's Audio Decoder 2.1.4
foo_input_std.dll (2010-01-09 06:44:24)
    Standard Input Array 1.0
foo_lock.dll (2010-01-11 12:18:36)
    Pause on Lock 0.5
foo_masstag.dll (2009-09-18 10:01:36)
    Masstagger 1.8.4
foo_out_asio.dll (2009-03-22 15:15:46)
    ASIO support 1.2.7
foo_out_ks.dll (2006-08-04 21:54:58)
    Kernel Streaming Output 1.2.2
foo_out_wasapi.dll (2009-05-19 22:45:18)
    WASAPI output support 2.1
foo_playcount.dll (2009-04-29 20:09:32)
    Playback Statistics 2.1.9
foo_podcatcher.dll (2010-01-12 12:09:04)
    Podcatcher 0.1.5f (beta)
foo_quicktag.dll (2009-12-23 21:36:24)
    Quick Tagger 1.0.2
foo_rgscan.dll (2010-01-09 06:44:24)
    ReplayGain Scanner 2.0.9
foo_texttools.dll (2009-12-23 21:00:22)
    Text Tools 1.0.4
foo_ui_columns.dll (2010-01-09 09:40:28)
    Columns UI 0.3.8.3
foo_ui_std.dll (2010-01-09 06:44:52)
    Default User Interface 0.9.5
foo_uie_albumlist.dll (2009-06-13 17:49:19)
    Album list panel 0.3.5
foo_uie_console.dll (2009-08-29 11:06:24)
    Console panel 0.4
foo_uie_library_tree.dll (2010-01-31 00:17:14)
    Library Tree 0.3.4.3
foo_uie_typefind.dll (2007-10-22 16:30:44)
    Typefind 0.2 beta 2
foo_upnp.dll (2010-01-28 02:26:08)
    An UPnP/DLNA Media Renderer, Media Server and Control Point 0.99.20
foo_verifier.dll (2009-10-05 11:39:20)
    File Integrity Verifier 1.1

Recent events:
Watching: D:\666\BACKUP\3\Music\SXSW 2008 ShowCasing Artists
Watching: D:\666\BACKUP\3\Music\Top 40 Rock Bill Board (2006)
Watching: D:\666\BACKUP\3\Music\The Rolling Stone Magazines 500 Greatest Songs Of All Time
Album list panel: initialised in 0.159 s
foo_upnp: succesfully loaded file C:\Program Files\foobar2000\foo_upnp.xml
Startup time : 0:01.484379
foo_upnp: 50.625: PLT_HttpServerSocketTask::Write(311): WARNING: NPT_CHECK failed, result=-20401 (NPT_ERROR_CONNECTION_ABORTED) [(NPT_StreamToStreamCopy( *body_stream.AsPointer(), *output_stream.AsPointer(), 0, entity->GetContentLength()))]
foo_upnp: 160.504: PLT_HttpServerSocketTask::Write(311): WARNING: NPT_CHECK failed, result=-20401 (NPT_ERROR_CONNECTION_ABORTED) [(NPT_StreamToStreamCopy( *body_stream.AsPointer(), *output_stream.AsPointer(), 0, entity->GetContentLength()))]
foo_upnp: 183.395: PLT_HttpServerSocketTask::Write(311): WARNING: NPT_CHECK failed, result=-20401 (NPT_ERROR_CONNECTION_ABORTED) [(NPT_StreamToStreamCopy( *body_stream.AsPointer(), *output_stream.AsPointer(), 0, entity->GetContentLength()))]
foo_upnp: 183.433: FbMediaWavInputStream::open(49): SEVERE: could not open location [url=http://hi.1980s.fm:80/]http://hi.1980s.fm:80/[/url] for decoding to PCM: Could not connect to host
Notice how the last opertion in foobar2000 was your plug-in failing to conect to the server.

I can reproduce this crash every time. The problem was that my "firewall" application, "PeerBlock" had blocked the connection.

And since this happened and I tried to play the file on my xbox 360 it causes your plug-in to have an error and crash foobar2000.

So to duplicate it yourself install PeerBlock with default settings and subscribe to P2P, Spyware, and Advertising default lists.

Now create a .pls file with:

Code: [Select]
[playlist]
numberofentries=1
File1=http://hi.1980s.fm:80/
Title1=1980s FM
Length1=-1
Version=2
Now load that playlist in foobar2000. Then load up your xbox 360 and go to music and then saved playlists and pick the play list you just created.

Foobar2000 will crash and the xbox 360 will say it's unable to play the file, as expected.

Of course foobar2000 should not crash just because it can not open the file.

The error should be logged in foobar2000 just like it was and the foobar2000 error console should open showing the error.

Take Care,

Will
Title: foo_upnp
Post by: bubbleguuum on 2010-02-02 19:31:21
@war59312:  I can't reproduce it, using fb2k as the client since I do not have a Xbox 360 anymore (I get a proper 404 error in the client). Can you make it crash and submit the crash when fb2k ask you to do so ?
Title: foo_upnp
Post by: sebassjee on 2010-02-03 17:14:32
Request: Not sure if this is possible, but an option to scrobble tracks to last.fm (via foo_audioscrobbler - similar to how foo_dop does it) when they are streamed to another device. Eg., if I use foo_upnp to play a track on my Xbox360, the track would also get scrobbled.


I Second this one!!! That would be reallyyyy cool!
Hope you can figure this one out.
It's a quite unique function for a dlna media server.


This is not possible as foo_audioscrobbler do not offer an API for other plugins to use. Not sure how foo_dop do it.


What about this API, You can send 'scrobbles' directly to the Last.fm (windows)client with it.. I don't know if you can use it ..
http://www.audioscrobbler.net/development/...html/index.html (http://www.audioscrobbler.net/development/scrobsub/docs/html/index.html)
Title: foo_upnp
Post by: war59312 on 2010-02-04 03:47:23
@war59312:  I can't reproduce it, using fb2k as the client since I do not have a Xbox 360 anymore (I get a proper 404 error in the client).

Can you make it crash and submit the crash when fb2k ask you to do so ?

Indeed, I already sent it.

But here is one such log:

http://www.easy-share.com/1909191374/crash.zip (http://www.easy-share.com/1909191374/crash.zip)

Title: foo_upnp
Post by: thefish on 2010-02-04 10:38:05
Hi

Sorry first post here.. been following the instructions about internet access to my media library.."...To test that the server is accessible from outside, connect to it with your browser using http://<public ip>:<server port> and you should see a blank page."


Now i'm getting the blank page but how do i see my library?  sorry for the newbie question

Thanks..great bit of software btw

Title: foo_upnp
Post by: bubbleguuum on 2010-02-04 18:54:05
Indeed, I already sent it.

But here is one such log:

http://www.easy-share.com/1909191374/crash.zip (http://www.easy-share.com/1909191374/crash.zip)


Unfortunately I can't make sense of the dump included in the zip. Maybe if you resubmit another one (just use the "send report" button in the "foobar2000 has crashed" dailog), it could help to find this bug.


Hi
Sorry first post here.. been following the instructions about internet access to my media library.."...To test that the server is accessible from outside, connect to it with your browser using http://<public ip>:<server port> and you should see a blank page."
Now i'm getting the blank page but how do i see my library?  sorry for the newbie question


On the PC you want to browse your remote collection, add the UPnP browser to your layout, then use View->Add remote UPnP foobar2000 server. If you can connect to the server then it will appear in the UPnP Browser.

Title: foo_upnp
Post by: bubbleguuum on 2010-02-07 11:23:28
0.99.21 released (first post to download)

- server: fix: bug in Folders subtree if a ML root folder was just a drive letter
- server: chg: hack to allow streaming WAV of infinite length for Linn Ds (and possibly other hardware)
- server: chg: tweaked Playback Stream Capture buffer size to avoid drop outs of audio
- renderer: fix (regression): after some time (> 15mins) track change notifications were not sent to the Control Point which would not advance in playlist (PlugPlayer would stop advancing to next track).
- controller: new: added "Play foobar20000 Playback Stream Capture" in Playback->UPnP Controller menu.
- controller: fix: In some cases, the WMP12 Renderer (and possibly others) weren't listed in the UPnP Controller context menu and had the "PL" button disabled
- controller: fix: deadlock (app freeze) when multiple renderers listed and changing renderer fast in the combo box (either with the keyboard or mouse wheel)
- controller: fix: Linn DS is now able to resume play on fb2k Playback Stream Capture on fb2k launch
Title: foo_upnp
Post by: zicmu2 on 2010-02-09 13:17:09
Hi,

I have tested this new version containing one interresting fix concerning drops out of audio, but sadly it has not given better results with it.

I will try to connect my laptop directly to my PS3 via a RJ45 cord and see what it will give.

Zicmu2
Title: foo_upnp
Post by: batagy on 2010-02-13 00:13:22
0.99.21 released (first post to download)

- server: fix: bug in Folders subtree if a ML root folder was just a drive letter

Huge thanks bubbleguuum, I tested this feature, works nicely now!
Many thanks for your dedicated work!
Title: foo_upnp
Post by: gebla on 2010-02-13 14:38:59
Hi Bubbleguuum,

I have a question on the upnp browser. What I wanted to do is to add the ability to see the different tracks of an album. To do so I added <spec>%track% %title%</spec> within the customize media library tree xml file:

<SubTree label="Artists">
  <spec type="object.container.person.musicArtist">%artist%</spec>
  <spec type="object.container.album.musicAlbum">%album%</spec>
  <spec>%track% %title%</spec>
  </SubTree>

THis way you get below:
(http://img21.imageshack.us/img21/6330/upnpbrowser.jpg)


I can now select Artist then album and then I see all songs of that album. However if I want to play the complete album I must drag each separate song of that labum the the upnp playlist (imagine 20 songs). You can not drag the album name to the playlist. My question is if it is possible to show the different songs of an album but still have the possibility to drag the album name to the playlist?

In above example I would like to drag the album title Headlines and deadlines to the playlist. But now I must drag song 1 to 16 to the playlist instead.
Title: foo_upnp
Post by: bubbleguuum on 2010-02-14 10:50:40
@gebla: You cannot fix this problem editing the XML tree.

I need to modify the UPnP Browser to operate like the Album List  UI Element, so it is able to display individual tracks in the tree and allow multiple selection (CTRL+click). Initially when I designed the Browser, the Controller did not exist, and it made sense to always send (or add) tracks of a container to a playlist for local play.
Fixing this issue to improve usability is high priority, although not trivial.

In the meantime, if you use foo_upnp as the Media Server, you can use the Album List Component to play/enqueue items in the Controller Playlist (you can even drag or shift-drag items to it). Or if you use the UPnP Browser, you need to select individual tracks in the UPnP Browser Selection Playlist (if the Browser is configured to send items to this playlist).
Title: foo_upnp
Post by: OpaJo0 on 2010-02-14 14:23:01
updating from v0.99.21 to  v0.99.20.1 results in "Invalid Music File" when using "playback stream capture" with an external media player (realtek rtd1283). Changing back to v99.20.1 everything works fine. Also choosing "playlist" instead of streaming capture, the same file plays ok with v0.99.21. foo_upnp settings: default, fresh foobar v1.0 installation, on windows xp. Any further infos needed?
Title: foo_upnp
Post by: bubbleguuum on 2010-02-14 15:14:32
updating from v0.99.21 to  v0.99.20.1 results in "Invalid Music File" when using "playback stream capture" with an external media player (realtek rtd1283). Changing back to v99.20.1 everything works fine. Also choosing "playlist" instead of streaming capture, the same file plays ok with v0.99.21. foo_upnp settings: default, fresh foobar v1.0 installation, on windows xp. Any further infos needed?


This is due to the hack I made to generate an infinite WAV stream in 0.99.21. Some players may not like it, since a WAV is by definition a file and of finite length. If your player support LPCM (it should if it is a DLNA device), change wav to lpcm in the Default streaming profile (or the specific profile if you made one).
If it does not work, I'll revert back to a generating a WAV of max duration (approx 6h45) for Playback Stream Capture.
Title: foo_upnp
Post by: OpaJo0 on 2010-02-14 19:32:59
Same behaviour with LPCM :-( Perhaps you can implement an selection option between "max" and "infinitive" wav, if other users have no probs with infinitive wav?

BTW the new version is much more stabil! No crashes when changing options during foobar plays anymore :-)
Title: foo_upnp
Post by: thorbeck on 2010-02-19 18:41:27
FYI:
After installing foobar2000 and this wonderful plugin on a computer with Windows XP 32 bit (Media Center) the audio skipping problem is gone.
On Windows 7 64 bit, my work computer, the audio streamed to my Xbox behaved as if my connection could not handle the bitrate.
I don't have a firewall on my windows xp computer.
I'm using WiFi for everything, and the Xbox is equipped with the "old" WiFi card.
Title: foo_upnp
Post by: Tom_W on 2010-02-24 11:48:23
Hi,
I can't seem to make the UPnP Controller send tracks to play on my renderer (NaimUniti). When i press play, i get a 'setAVTransportURI Error: Action failed (501)' error, and nothing happens.
The Uniti shows up in the combo box list, and I can choose it though.

Incidentally, i can't get the Windows 7 media player 'play-to' feature to work either.

Any suggestions?

Thanks
Title: foo_upnp
Post by: bubbleguuum on 2010-02-24 19:04:35
Hi,
I can't seem to make the UPnP Controller send tracks to play on my renderer (NaimUniti). When i press play, i get a 'setAVTransportURI Error: Action failed (501)' error, and nothing happens.
The Uniti shows up in the combo box list, and I can choose it though.

Incidentally, i can't get the Windows 7 media player 'play-to' feature to work either.

Any suggestions?

Thanks



Your unit refuse the URL we tell it to play. Why, it is dificult to know. Maybe it chokes on more complex URLs. Try playing a mp3, this should generate a simple URL if you have not modified the streaming profile to stream as PCM or enabled an option that will convert to  PCM. You can also try to click "Stop" before "Play". WMP12 probably fails on the same error, not a good sign...
You can also try to reboot your renderer.
Title: foo_upnp
Post by: --pv-- on 2010-02-24 20:20:27
Hello,
Sorry that I haven't posted for a while. There is  one quite major issue bothering me but the problem is I haven't pointed it out sooner.
Would it be possible to add ability for the browser DUI element to be able to expand nodes by using keyboard?
If I am browsing remote library I need to use the mouse to expand a node I would like to make it work in the standard treeview like fashion so + and - and left and right arrow expand / collapse the nodes.
Is this doable please?
Title: foo_upnp
Post by: Tom_W on 2010-02-24 21:34:57
Quote
Try playing a mp3, this should generate a simple URL if you have not modified the streaming profile to stream as PCM or enabled an option that will convert to  PCM. You can also try to click "Stop" before "Play".
You can also try to reboot your renderer.


I am using the default streaming profile already, so mp3 is not being decoded to pcm. Pressing stop, or mute also gives the Action failed (501) error. Rebooting has no effect either.
Do you think this is an incompatibility in the Uniti that needs to be sorted out by Naim, or is it related to foo_UPnP?

Also, if i change the streaming profile from default, and click ok to exit preferences, when i go back in, it has returned to the default profile. Is this the expected behaviour?
Thanks
Title: foo_upnp
Post by: bubbleguuum on 2010-02-24 22:07:34
@pv: I'll look into making this keys work for navigation

Also, if i change the streaming profile from default, and click ok to exit preferences, when i go back in, it has returned to the default profile. Is this the expected behaviour?
Thanks


It is expected: the profile is not selected on the profile displayed when you enter the streaming profile page, but on actual detection when the renderer make request or when I match a renderer to its profile when adding items in teh controller playlist. The default profile is used in the case another more specific profile could not be found (which is the case for the Unity since I diodn't make a specific profile).
The problem is mostly something weird on the Naim side, especially if WMP Play To do not work either. After some research error code 501 means that the state of the unit did not allow the action (setting the play URL) to be successful. Only Naim knows why.
You can eventually record a debug log and send it to me (see first post for details).
Title: foo_upnp
Post by: Tom_W on 2010-02-24 23:00:07
Ok, thanks. When i get a chance i'll contact Naim, and also send you a debug log.
Title: foo_upnp
Post by: Black_Over_Bills_Mothers on 2010-02-25 11:26:46
I'm using a Yamaha R-XV3900 receiver as a upnp client. It sees the foobar server fine, I get playlists, media library shown. I can select songs and even get album art. But dispite playing with many server settings I get a crackling sound on high levels that I presume is clipping. I do not get this sound when playing the same tracks via optical output. I have tried Apply Replay\Gain setting on server but no change.

I'm impressed that it almost works! Solving the clipping sound would make it listenable.

Any ideas?
Title: foo_upnp
Post by: vassie on 2010-02-25 12:00:22
Can foo_audioscrobbler & foo_upnp work together to scrobble any music I play via uPnP?

Does foo_upnp know what tracks it is streaming? Could this info either be passed to foo_audioscrobbler or could we have a Last.fm option in foo_upnp?

Thanks
Title: foo_upnp
Post by: bubbleguuum on 2010-02-25 12:44:48
I'm using a Yamaha R-XV3900 receiver as a upnp client. It sees the foobar server fine, I get playlists, media library shown. I can select songs and even get album art. But dispite playing with many server settings I get a crackling sound on high levels that I presume is clipping. I do not get this sound when playing the same tracks via optical output. I have tried Apply Replay\Gain setting on server but no change.

I'm impressed that it almost works! Solving the clipping sound would make it listenable.

Any ideas?


That's very strange. There's no reason you should get crackling sound from the plugin side. What happens if you use another media server ?
I assume you do not have this crakling sound if you play the files direclty in foobar ? Or using a second instance of foobar using the UPnP browser to play file from the fb server instance ?
Title: foo_upnp
Post by: Black_Over_Bills_Mothers on 2010-02-25 13:12:00
Hi bubbleguuum
You are correct, the files play back fine directly from foobar - as I said optical out into same amp.

I'm planning on setting Media Player as a server tonight and trying that with the amp. The user manual states that this works. This will prove if it is the amp. or not. I'll then try foobar client on another PC.

Irrespective of this 'little' problem, I'm still impressed that it almost works with a piece of equipment that you have never tested. Well done on your interpretation of the various standards.
Title: foo_upnp
Post by: Khol on 2010-02-25 13:32:38
Firstly, thanks for the great plugin, really useful to have.

Just one question: I know that the 360 uses an odd interface, but is it possible to get the xbox 360 player to group albums in the same way as the default wmp one does, so you get Artists/Albums/Album Tracks, rather than the current system which just gives all the tracks in a list.

Thanks
Title: foo_upnp
Post by: Black_Over_Bills_Mothers on 2010-02-25 17:23:11
Further investigations on 'crackling' sound.

foobar (server) >> Yamaha amp = crackling
WMP (server) >> Yamaha amp = No crackle
foobar (server) >> WMP (client) (same PC) = No crackle

Any conclusions?
Title: foo_upnp
Post by: bubbleguuum on 2010-02-25 18:34:52
@Khol: unfortunately the XBOX has a hardcoded media tree. There's not much to configure here



@Black_Over_Bills_Mothers:

Conclusion: WTF !

When you mean crackling, you do not mean drop out of audio, but garbled or saturated sound, right ?
Send me a debug log and I'll have a look (see first post for info).
Title: foo_upnp
Post by: vassie on 2010-03-01 08:57:52
Can foo_audioscrobbler & foo_upnp work together to scrobble any music I play via uPnP?

Does foo_upnp know what tracks it is streaming? Could this info either be passed to foo_audioscrobbler or could we have a Last.fm option in foo_upnp?

Thanks


As there hasn't been a reply from Florian, could Last.fm support be added to foo_upnp?

Thanks
Title: foo_upnp
Post by: mediumspiny on 2010-03-01 18:15:03
Hi,

Thanks for the excellent plugin. I am having one problem with the controller though.

I am using foobar to stream music to a Western Digital HD TV live. I want to be able to have a continuous stream of music randomly from my library. To that end, I added the whole folder containing all my music (over 10,000 tracks) to the UPnP controller playback queue. At the end of each track playback just stops. At one point I had it so that tracks played continuously in a random order. I loaded the ColumnsUI first and restarted foobar. Then I set playback -> order -> shuffle (tracks), and started the player. Finally I pressed play in the UPnP controller. I noticed that, unlike with the default view, the name of the track appeared in the UPnP controller poput window.

For some reason (probably stupidity or boredom  ), I started playing with settings half an hour later. I switched back from the columnsUI to the default view (amongst other things) and found that that stopped the continuous play, so I had to press play again after every song.

Does anyone have any idea how I can get back to the continuous play?

I do notice that in the console there is always the same error message when a track ends and the next does not start. The message is:

foo_upnp: 1128.172: PLT_CtrlPoint::ProcessHttpNotify(689): WARNING: NPT_CHECK failed, result=-1 (FAILURE) [((-1))]
foo_upnp: 1128.172: PLT_CtrlPoint::ProcessHttpNotify(749): SEVERE: CtrlPoint received bad request

Any help appreciated. I am very impressed with how well the streaming worked. This was just the functionality I was looking for. I am sure it is possible to get it working again, but I do not know how.
Title: foo_upnp
Post by: Sebert on 2010-03-01 18:57:08
Quick question:
I am using foo_upnp to play my foobar2000 playlists on my XBMC via LAN.
Is there a way to reload a playlist?
Because when I change a playlist in foobar2000 and select this playlist the changes do not show in XBMC.

I guess it is rather a XBMC problem, but I do not know too much about that kind of stuff !
Title: foo_upnp
Post by: Tom_W on 2010-03-02 21:43:34
Quote
I can't seem to make the UPnP Controller send tracks to play on my renderer (NaimUniti). When i press play, i get a 'setAVTransportURI Error: Action failed (501)' error, and nothing happens.


I have now got this to work: I replaced my Thomson TG585v7 router with a D-link 2640B, and everything is fine. I guess something was blocking the instruction.
Title: foo_upnp
Post by: bubbleguuum on 2010-03-05 12:53:22
@mediumspiny:

For the track not advancing problem you can send me a log file. See first post for instructions.

Shuffle tracks is not yet supported when using the UPnP controller playback queue:  you cannot just use playback -> order -> shuffle (tracks) as this
command shuffle a regular foobar2000 playlist and the controller playlist is not really a regular one (I mean it is totally managed by the plugin, regardless
of some foobar2000 playlist settings such as track order). You'll notice the grayed shuffle button in the Controller. At some point shuffle will be implemented. For
now it is implemented only for Linn DS devices.
Fortunately there is and easy way to achieve what you want, both adressing the track advance problem and shuffle. Use the command PlayBack->UPnP Controller->Play foobar2000 playback stream capture. Now whatever you play in foobar2000 (using regular playback control buttons, not the controller ones) in whatever playlist will be streamed to your currently selected renderer in 44.1/16/2 LPCM (you'll probably have to select LPCM in the Default streaming profile, as WAV is the default). Shuffle should work as expected since standard playlists are used.

@Sebert:

The Server do not notify of playlist (or Media Library) changes to the client (XMBC) yet, so it is a known shortcoming. This is something I want
to implement but it will take some time. Only way to have the change reflected for now is to stop/start the server in the Status conf page.
Title: foo_upnp
Post by: isawdrones on 2010-03-05 14:50:24
I'm having an issue with the remote upnp server not showing up even if the reconnect box is checked. My guess is that when I'm at home the upnp plugin is detecting it as a local server and then through some confusion does not show back up remotely.

Can this be fixed so I don't always have to re-add the remote server when away from home?

Thanks, this plugin is awesome.
-adam
Title: foo_upnp
Post by: Sebert on 2010-03-05 15:18:46
@bubbleguuum

Thank you for your answer.
Title: foo_upnp
Post by: war59312 on 2010-03-06 23:41:46
Indeed, I already sent it.

But here is one such log:

http://www.easy-share.com/1909191374/crash.zip (http://www.easy-share.com/1909191374/crash.zip)


Unfortunately I can't make sense of the dump included in the zip. Maybe if you resubmit another one (just use the "send report" button in the "foobar2000 has crashed" dailog), it could help to find this bug.

Just crashed on me again 60 seconds ago, report sent.

Again, here it is just in case:
Code: [Select]
http://www.easy-share.com/1909474646/crash reports.rar


The connection failed because the radio station is dead.  But I still had it listed in my playlist so when I tried to play it, foo_upnp caused foobar to crash, as seen on the last line in the above txt file:

Quote
foo_upnp: 95957.314: FbMediaWavInputStream::open(49): SEVERE: could not open location http://novastreamradio.org:9100/ (http://novastreamradio.org:9100/) for decoding to PCM: Could not connect to host
Title: foo_upnp
Post by: Wadsbrau on 2010-03-10 16:54:14
Is it possible to use Plugplayer through the cell network to connect to my Foobar2000 server at home.  I currently have it setup to work through the internet on a pc?  If so, what is the manual address I would enter?

Thank you

Darren
Title: foo_upnp
Post by: bubbleguuum on 2010-03-10 19:49:26
Is it possible to use Plugplayer through the cell network to connect to my Foobar2000 server at home.  I currently have it setup to work through the internet on a pc?  If so, what is the manual address I would enter?


you must enter an URL of the form:

Code: [Select]
http://<server ip or hostname>:<port>/<login><password>


where "server ip or hostname", "port", "login", "password" aer set to the server configured values.

for example (with login=foo password=bar):

http://1.2.3.4:56923/foobar (http://1.2.3.4:56923/foobar)
Title: foo_upnp
Post by: Wadsbrau on 2010-03-10 19:53:35
Is it possible to use Plugplayer through the cell network to connect to my Foobar2000 server at home.  I currently have it setup to work through the internet on a pc?  If so, what is the manual address I would enter?


you must enter an URL of the form:

Code: [Select]
http://<server ip or hostname>:<port>/<login><password>


where "server ip or hostname", "port", "login", "password" aer set to the server configured values.

for example (with login=foo password=bar):

http://1.2.3.4:56923/foobar (http://1.2.3.4:56923/foobar)


PlugPlayer is asking for a device description xml file.

Darren
Title: foo_upnp
Post by: bubbleguuum on 2010-03-10 19:57:35
PlugPlayer is asking for a device description xml file.


I know that...above URL will return said description file to PlugPlayer.

Also more info in this article:

http://nerdlets.org/2009/05/07/set-up-a-up...ith-foobar2000/ (http://nerdlets.org/2009/05/07/set-up-a-upnp-media-server-with-foobar2000/)
Title: foo_upnp
Post by: war59312 on 2010-03-15 02:33:15
Any chance you can make the name of the UPnP customizable?

Also, any chance or make it so it does not show up under video and pictures on the xbox 360?
Title: foo_upnp
Post by: vassie on 2010-03-15 16:00:52
Any chance you can make the name of the UPnP customizable?

Also, any chance or make it so it does not show up under video and pictures on the xbox 360?


It already is

(http://img715.imageshack.us/img715/4781/74855388.png)

Ben
Title: foo_upnp
Post by: Wadsbrau on 2010-03-15 17:42:00
PlugPlayer is asking for a device description xml file.


I know that...above URL will return said description file to PlugPlayer.

Also more info in this article:

http://nerdlets.org/2009/05/07/set-up-a-up...ith-foobar2000/ (http://nerdlets.org/2009/05/07/set-up-a-upnp-media-server-with-foobar2000/)


Thank you it worked.  The only reason wh I asked that was because it didnt work for me before.  Seems was a user error :-|

Thanks again

Darren
Title: foo_upnp
Post by: war59312 on 2010-03-17 04:18:41
Any chance you can make the name of the UPnP customizable?

Also, any chance or make it so it does not show up under video and pictures on the xbox 360?


It already is

Ben

Whoops yeah not sure how I missed that.

Though I find it annoying that it adds "foobar2000:" to the front.
Title: foo_upnp
Post by: Wadsbrau on 2010-03-17 19:55:07
PlugPlayer is asking for a device description xml file.


I know that...above URL will return said description file to PlugPlayer.

Also more info in this article:

http://nerdlets.org/2009/05/07/set-up-a-up...ith-foobar2000/ (http://nerdlets.org/2009/05/07/set-up-a-upnp-media-server-with-foobar2000/)


Thank you it worked.  The only reason wh I asked that was because it didnt work for me before.  Seems was a user error :-|

Thanks again

Darren


There is one thing i noticed regarding internet streaming.  If I use plugplayer on the internet, manually set it up as above.  Then go home and connect to wifi, the manual settings gets replaced with the Foobar2000 server running on my network.  I have to enter the manual settings again.

Darren
Title: foo_upnp
Post by: gaktoid on 2010-03-19 16:35:30
bubbleguuum - Thanks for all of your contributions to the foobar community.

I haven't done any research on this, so feel free to drop a URL and tell me to RTFM...but here goes anyway.

I tried to forward internet radio streams through foobar to my PS3. I create a m3u with 4 stations in it and attempted to play them.

One of them worked fine.

The other three (all run by the same station) played really really fast, then buffered, then played really really fast, etc...

Any ideas?

-Gak Toid
Title: foo_upnp
Post by: bubbleguuum on 2010-03-20 20:43:05
Though I find it annoying that it adds "foobar2000:" to the front.


IIRC, the xbox want server name in the form XXXX: YYYY. That's why I force the foobar2000 prefix.



There is one thing i noticed regarding internet streaming.  If I use plugplayer on the internet, manually set it up as above.  Then go home and connect to wifi, the manual settings gets replaced with the Foobar2000 server running on my network.  I have to enter the manual settings again.

Yeah that's a problem I'm aware of. I'll see if I can do a quick fix so both servers are seen as separate

The other three (all run by the same station) played really really fast, then buffered, then played really really fast, etc...


Can you post the URL of those streams  so I can try to reproduce the problem ?

Title: foo_upnp
Post by: gaktoid on 2010-03-20 23:29:50
The other three (all run by the same station) played really really fast, then buffered, then played really really fast, etc...


Can you post the URL of those streams  so I can try to reproduce the problem ?


http://streaming.wxxi.org/ (http://streaming.wxxi.org/)

The "hi" version of all three. I haven't tested the "lo" version.

Since I've got your attention, is there a way to shuffle over all songs at once? I tried creating a play list in foobar with all of my music in it and then telling the PS3 to shuffle. It would only play songs from artists with the first letter A-D and would stop playing after a few songs. I assume I hit some type of play list size limitation.

-Gak Toid
Title: foo_upnp
Post by: bubbleguuum on 2010-03-21 00:39:10
The "hi" version of all three. I haven't tested the "lo" version.

Since I've got your attention, is there a way to shuffle over all songs at once? I tried creating a play list in foobar with all of my music in it and then telling the PS3 to shuffle. It would only play songs from artists with the first letter A-D and would stop playing after a few songs. I assume I hit some type of play list size limitation.

-Gak Toid


Streaming problems with those stations will be fixed in 0.99.22.

The PS3 is very slow (and I mean slooow) at loading large playlists or containers. Probably your playlist wasn't fully loaded when you hit shuffle.
Your best bet is to generate a playlist of moderate size and shuffle it in foobar2000, restart the server and play it in the PS3.
Title: foo_upnp
Post by: gaktoid on 2010-03-21 14:23:16
Streaming problems with those stations will be fixed in 0.99.22.

The PS3 is very slow (and I mean slooow) at loading large playlists or containers. Probably your playlist wasn't fully loaded when you hit shuffle.
Your best bet is to generate a playlist of moderate size and shuffle it in foobar2000, restart the server and play it in the PS3.


Thanks!

-Gak Toid
Title: foo_upnp
Post by: bubbleguuum on 2010-03-23 00:17:08
New version (first post to download)

0.99.22

- server: fix: some items (mostly http streams) streamed as PCM could be wrongly downsampled to 11025Hz in rare cases
- server: fix: reverted infinite WAV hack for Linn DS: it was not compatible with other renderers that expects a WAV to be of a non-zero size. Now generate a WAV of max length, as before.
- server: fix: fixed possible buffering problems with Playback Stream Capture
- browser: new: added %codec%, %samplerate%, %__bitspersample%, %__encoding%, %bitrate% at browse time when available
- controller: fix:  Linn DS: item metadata sometimes would be rejected if too big (for example metadata from WMP12).
- controller: new: Linn DS: support for the new Radio service in Cara 6.

It is possible to make the Radio service play a http:// or mms:// stream,  by right-clicking the stream and sending to the Radio service using the UPnP Controller context menu.
If the Radio Source is selected, the UPnP Controller window accept a dropped http:// or mms:// stream URL from a www browser and will play it immediately.
(known issue with the 2 methods above: the UPnP Controller do not display stream metadata correctly, just "Buffering...").
Title: foo_upnp
Post by: Anomalous on 2010-03-23 03:15:47
- server: removed option to enable/disable Playlists and Media Library nodes


Would it be possible to get this feature back? I would prefer to show something useful instead of whatever playlists happen to be open in foobar. Maybe playlists could also be specified in an xml file, something like
Code: [Select]
    <PlayList label="All music" query="ALL"  sort="%album%|%discnumber%|%tracknumber%" />
    <PlayList label="Some music" path="C:\someplaylist.m3u" />


An option to enable/disable Playback Steam Capture would be nice for completeness.

Also, could some image processing options be added (max dimensions/file size)? There seems to be a 100kB limitation for album art on the PS3, and it doesn't make sense to send megabyte sized images anyway.
Title: foo_upnp
Post by: Wadsbrau on 2010-03-24 20:58:02
Where do i put the playlist files so that they are seen when browsing the Playlists in UPnP?  Can I use .m3u playlists?  Or maybe this isnt how you accomplish this?  I have some existing playlists and would ike to use them this way.

Thank you

Darren

Title: foo_upnp
Post by: hxkclan on 2010-03-27 11:00:53
Don't know if this problem is on my end of somewhere in the component itself. But i have a weird problem (it worked before).

I have foo upnp version 0.99.21 running with foobar 1.0.1 (both server and client are foobar 1.0.1). The browsing all works, but when i want to playback a track it quits almost directly with playback (it plays about 1,5sec). I haven't really changed much, only updated my foobar and upnp versions. Any idea what might be causing this?
Title: foo_upnp
Post by: Wadsbrau on 2010-03-27 20:53:58
Every flac file i send from Foobar2000 server to a foobar 2000 player both running UPnP gets transcoded to mp3.  I have set all of the profiles to never transcode but its still does it.  I don't want the flac transcoded.  Please help.

Darren
Title: foo_upnp
Post by: Wadsbrau on 2010-03-27 22:15:20
Above message, this only seems to be happening when i use Plugplayer as a control point.

After playinhg around with it a bit, I discovered that The Plugplayer profile is being used when sending the stream to another player.  In this case Foobar 2000 on my HTPC.  Instead of being used only when playing something back using Plugplayer as the renderer.  If I change the Plugplayer profile to transcode never, flac plays to the HTPC without it being transcoded. 

Darren
Title: foo_upnp
Post by: bubbleguuum on 2010-03-27 22:41:32
Above message, this only seems to be happening when i use Plugplayer as a control point.

Darren



PlugPlayer uses the PlugPlayer profile which by default will convert flac to mp3 which is OK when you play the files on your iPod but might not be what you want if you use PP
as a pure control point, for example to control another foobar2000 instance. If you want to do both (ie play locally in PP and control fb2k) you have to find a common
streaming conf that will work for both. Hopefully, since a few versions, PP is able to play flac so you can just remove "flac" in the list of extension exception of the mp3 transcode configuration of the PP profile.

This problem illustrates that the streaming profile concept in foo_upnp is problematic when you have a client (like PP or even foo_upnp) that is both a pure control point and a renderer, and when you want to use both functionality. The only solution is to configure a streaming profile (in your case the PP profile) that is compatible with the renderer of the Control Point and all the external renderers you plan to control with it. So in fact you have to configure for the lowest common denominator.
Title: foo_upnp
Post by: bubbleguuum on 2010-03-27 22:56:12
- server: removed option to enable/disable Playlists and Media Library nodes


Would it be possible to get this feature back? I would prefer to show something useful instead of whatever playlists happen to be open in foobar. Maybe playlists could also be specified in an xml file, something like
Code: [Select]
    <PlayList label="All music" query="ALL"  sort="%album%|%discnumber%|%tracknumber%" />
    <PlayList label="Some music" path="C:\someplaylist.m3u" />


An option to enable/disable Playback Steam Capture would be nice for completeness.

Also, could some image processing options be added (max dimensions/file size)? There seems to be a 100kB limitation for album art on the PS3, and it doesn't make sense to send megabyte sized images anyway.


In the next version, I'll readd option to enable/disable all root nodes individually.
No promise on the file size limitation for the PS3 but I add it to the potential list of features.
No plan to have more configurable exposed playlists but in case you're not aware, you can add custom ML nodes by editing foo_upnp_ml_tree.xml (in the fb2k profile directory).


Don't know if this problem is on my end of somewhere in the component itself. But i have a weird problem (it worked before).

I have foo upnp version 0.99.21 running with foobar 1.0.1 (both server and client are foobar 1.0.1). The browsing all works, but when i want to playback a track it quits almost directly with playback (it plays about 1,5sec). I haven't really changed much, only updated my foobar and upnp versions. Any idea what might be causing this?


Strange issue. Try upgrading to 0.99.22 on both and remove foo_upnp.xml located in your profile directory (Preference->General->Open Folder to show it).
Title: foo_upnp
Post by: gaktoid on 2010-03-28 00:21:45
New issue.

Setup:
PS3 FW: lastest (couldn't figure out how to get the version number)
Foobar2000: v1.0
UPnP: 0.99.22
Network: wired 100BASE-TX

When I try to stream certain songs the stream stops at the end of that song instead of continuing to the next song in the play list. The PS3 provides the extremely helpful: A network error occurred (80710723)

Here's what shows up in the UPnP log from the time I start playing the song until after the song has stopped.
Quote
221.224: FbMediaServer::ProcessHttpRequest(251)/1108: INFO: received LAN request: http://192.168.1.5:56923/ContentDirectory/...9b9/control.xml (http://192.168.1.5:56923/ContentDirectory/08030a58-742a-2d73-f820-772abd6779b9/control.xml) (User-Agent: UPnP/1.0 DLNADOC/1.50)
221.224: FbMediaServer::OnAction(197)/1108: INFO: received action 'GetSystemUpdateID', args = {  }
221.224: FbMediaServer::OnAction(210)/1108: INFO: action 'GetSystemUpdateID' response: args = { Id=0 }
221.442: FbMediaServer::ProcessHttpRequest(251)/564: INFO: received LAN request: http://192.168.1.5:56923/ContentDirectory/...9b9/control.xml (http://192.168.1.5:56923/ContentDirectory/08030a58-742a-2d73-f820-772abd6779b9/control.xml) (User-Agent: UPnP/1.0 DLNADOC/1.50)
221.442: FbMediaServer::OnAction(197)/564: INFO: received action 'GetSystemUpdateID', args = {  }
221.442: FbMediaServer::OnAction(210)/564: INFO: action 'GetSystemUpdateID' response: args = { Id=0 }
221.676: FbMediaServer::ProcessHttpRequest(251)/3116: INFO: received LAN request: http://192.168.1.5:56923/content/7cb1b4f7e...16?convert=lpcm (http://192.168.1.5:56923/content/7cb1b4f7e7852d564fd1bd211e41cb1e.l16?convert=lpcm) (User-Agent: PLAYSTATION 3)
221.676: PLT_HttpHelper::ToLog(404)/3116: INFO:
GET /content/7cb1b4f7e7852d564fd1bd211e41cb1e.l16?convert=lpcm HTTP/1.1
Host: 192.168.1.5:56923
User-Agent: PLAYSTATION 3
Connection: Keep-Alive
Accept-Encoding: identity
transferMode.dlna.org: Streaming
Range: bytes=0-

221.676: upnp_server_conf::get_profile(552)/3116: INFO: using profile 'PlayStation 3' (User-Agent:PLAYSTATION 3)
221.676: upnp_server_conf::get_profile(552)/3116: INFO: using profile 'PlayStation 3' (User-Agent:PLAYSTATION 3)
221.848: FbMediaServer::ProcessHttpRequest(251)/2280: INFO: received LAN request: http://192.168.1.5:56923/ContentDirectory/...9b9/control.xml (http://192.168.1.5:56923/ContentDirectory/08030a58-742a-2d73-f820-772abd6779b9/control.xml) (User-Agent: UPnP/1.0 DLNADOC/1.50)
221.848: FbMediaServer::OnAction(197)/2280: INFO: received action 'Browse', args = { ObjectID=0/1/1/1/7/1, BrowseFlag=BrowseMetadata, Filter=@id,upnp:class,res,res@protocolInfo,res@av:authenticationUri,res@size,dc:title,upnp:albumArtU
RI,res@dlna:ifoFileURI,res@protection,res@bitrate,res@duration,res@sampleFrequency,res@bitsPerSample,
res@nrAudioChannels,res@resolution,res@colorDepth,dc:date,av:dateTime,upnp:artist,upnp:album,upnp:gen
re,dc:contributer,upnp:storageFree,upnp:storageUsed,upnp:originalTrackNumber,dc:publisher,dc:language
,dc:region,dc:description,upnp:toc,@childCount,upnp:albumArtURI@dlna:profileID, StartingIndex=0, RequestedCount=1, SortCriteria= }
221.848: PLT_MediaServer::OnBrowse(380)/2280: INFO: Received BrowseMetadata from 192.168.1.6 for id = 0/1/1/1/7/1 with filter = @id,upnp:class,res,res@protocolInfo,res@av:authenticationUri,res@size,dc:title,upnp:albumArtURI,res@
dlna:ifoFileURI,res@protection,res@bitrate,res@duration,res@sampleFrequency,res@bitsPerSample,res@nrA
udioChannels,res@resolution,res@colorDepth,dc:date,av:dateTime,upnp:artist,upnp:album,upnp:genre,dc:c
ontributer,upnp:storageFree,upnp:storageUsed,upnp:originalTrackNumber,dc:publisher,dc:language,dc:reg
ion,dc:description,upnp:toc,@childCount,upnp:albumArtURI@dlna:profileID, start = 0, count = 1
221.848: FbMediaServer::OnAction(210)/2280: INFO: action 'Browse' response: args = { ObjectID=0/1/1/1/7/1, BrowseFlag=BrowseMetadata, Filter=@id,upnp:class,res,res@protocolInfo,res@av:authenticationUri,res@size,dc:title,upnp:albumArtU
RI,res@dlna:ifoFileURI,res@protection,res@bitrate,res@duration,res@sampleFrequency,res@bitsPerSample,
res@nrAudioChannels,res@resolution,res@colorDepth,dc:date,av:dateTime,upnp:artist,upnp:album,upnp:gen
re,dc:contributer,upnp:storageFree,upnp:storageUsed,upnp:originalTrackNumber,dc:publisher,dc:language
,dc:region,dc:description,upnp:toc,@childCount,upnp:albumArtURI@dlna:profileID, StartingIndex=0, RequestedCount=1, SortCriteria=, NumberReturned=1, TotalMatches=1, UpdateID=0 }
222.253: FbMediaServer::ProcessHttpRequest(251)/2572: INFO: received LAN request: http://192.168.1.5:56923/ContentDirectory/...9b9/control.xml (http://192.168.1.5:56923/ContentDirectory/08030a58-742a-2d73-f820-772abd6779b9/control.xml) (User-Agent: UPnP/1.0 DLNADOC/1.50)
222.253: FbMediaServer::OnAction(197)/2572: INFO: received action 'GetSystemUpdateID', args = {  }
222.253: FbMediaServer::OnAction(210)/2572: INFO: action 'GetSystemUpdateID' response: args = { Id=0 }
222.659: FbMediaServer::ProcessHttpRequest(251)/3996: INFO: received LAN request: http://192.168.1.5:56923/ContentDirectory/...9b9/control.xml (http://192.168.1.5:56923/ContentDirectory/08030a58-742a-2d73-f820-772abd6779b9/control.xml) (User-Agent: UPnP/1.0 DLNADOC/1.50)
222.659: FbMediaServer::OnAction(197)/3996: INFO: received action 'Browse', args = { ObjectID=0/1/1/1/7/1, BrowseFlag=BrowseMetadata, Filter=@id,upnp:class,res,res@protocolInfo,res@av:authenticationUri,res@size,dc:title,upnp:albumArtU
RI,res@dlna:ifoFileURI,res@protection,res@bitrate,res@duration,res@sampleFrequency,res@bitsPerSample,
res@nrAudioChannels,res@resolution,res@colorDepth,dc:date,av:dateTime,upnp:artist,upnp:album,upnp:gen
re,dc:contributer,upnp:storageFree,upnp:storageUsed,upnp:originalTrackNumber,dc:publisher,dc:language
,dc:region,dc:description,upnp:toc,@childCount,upnp:albumArtURI@dlna:profileID, StartingIndex=0, RequestedCount=1, SortCriteria= }
222.659: PLT_MediaServer::OnBrowse(380)/3996: INFO: Received BrowseMetadata from 192.168.1.6 for id = 0/1/1/1/7/1 with filter = @id,upnp:class,res,res@protocolInfo,res@av:authenticationUri,res@size,dc:title,upnp:albumArtURI,res@
dlna:ifoFileURI,res@protection,res@bitrate,res@duration,res@sampleFrequency,res@bitsPerSample,res@nrA
udioChannels,res@resolution,res@colorDepth,dc:date,av:dateTime,upnp:artist,upnp:album,upnp:genre,dc:c
ontributer,upnp:storageFree,upnp:storageUsed,upnp:originalTrackNumber,dc:publisher,dc:language,dc:reg
ion,dc:description,upnp:toc,@childCount,upnp:albumArtURI@dlna:profileID, start = 0, count = 1
222.659: FbMediaServer::OnAction(210)/3996: INFO: action 'Browse' response: args = { ObjectID=0/1/1/1/7/1, BrowseFlag=BrowseMetadata, Filter=@id,upnp:class,res,res@protocolInfo,res@av:authenticationUri,res@size,dc:title,upnp:albumArtU
RI,res@dlna:ifoFileURI,res@protection,res@bitrate,res@duration,res@sampleFrequency,res@bitsPerSample,
res@nrAudioChannels,res@resolution,res@colorDepth,dc:date,av:dateTime,upnp:artist,upnp:album,upnp:gen
re,dc:contributer,upnp:storageFree,upnp:storageUsed,upnp:originalTrackNumber,dc:publisher,dc:language
,dc:region,dc:description,upnp:toc,@childCount,upnp:albumArtURI@dlna:profileID, StartingIndex=0, RequestedCount=1, SortCriteria=, NumberReturned=1, TotalMatches=1, UpdateID=0 }
417.519: FbMediaServer::ProcessHttpRequest(251)/2656: INFO: received LAN request: http://192.168.1.5:56923/content/7cb1b4f7e...16?convert=lpcm (http://192.168.1.5:56923/content/7cb1b4f7e7852d564fd1bd211e41cb1e.l16?convert=lpcm) (User-Agent: PLAYSTATION 3)
417.519: PLT_HttpHelper::ToLog(404)/2656: INFO:
GET /content/7cb1b4f7e7852d564fd1bd211e41cb1e.l16?convert=lpcm HTTP/1.1
Host: 192.168.1.5:56923
User-Agent: PLAYSTATION 3
Connection: Keep-Alive
Accept-Encoding: identity
transferMode.dlna.org: Streaming
Range: bytes=29360128-29458799

417.519: upnp_server_conf::get_profile(552)/2656: INFO: using profile 'PlayStation 3' (User-Agent:PLAYSTATION 3)
417.519: upnp_server_conf::get_profile(552)/2656: INFO: using profile 'PlayStation 3' (User-Agent:PLAYSTATION 3)
448.672: FbMediaServer::ProcessHttpRequest(251)/1144: INFO: received LAN request: http://192.168.1.5:56923/content/7cb1b4f7e...16?convert=lpcm (http://192.168.1.5:56923/content/7cb1b4f7e7852d564fd1bd211e41cb1e.l16?convert=lpcm) (User-Agent: PLAYSTATION 3)
448.672: PLT_HttpHelper::ToLog(404)/1144: INFO:
GET /content/7cb1b4f7e7852d564fd1bd211e41cb1e.l16?convert=lpcm HTTP/1.1
Host: 192.168.1.5:56923
User-Agent: PLAYSTATION 3
Connection: Keep-Alive
Accept-Encoding: identity
transferMode.dlna.org: Streaming
Range: bytes=29360128-29458799

448.672: upnp_server_conf::get_profile(552)/1144: INFO: using profile 'PlayStation 3' (User-Agent:PLAYSTATION 3)
448.672: upnp_server_conf::get_profile(552)/1144: INFO: using profile 'PlayStation 3' (User-Agent:PLAYSTATION 3)
480.13: FbMediaServer::ProcessHttpRequest(251)/2332: INFO: received LAN request: http://192.168.1.5:56923/content/7cb1b4f7e...16?convert=lpcm (http://192.168.1.5:56923/content/7cb1b4f7e7852d564fd1bd211e41cb1e.l16?convert=lpcm) (User-Agent: PLAYSTATION 3)
480.13: PLT_HttpHelper::ToLog(404)/2332: INFO:
GET /content/7cb1b4f7e7852d564fd1bd211e41cb1e.l16?convert=lpcm HTTP/1.1
Host: 192.168.1.5:56923
User-Agent: PLAYSTATION 3
Connection: Keep-Alive
Accept-Encoding: identity
transferMode.dlna.org: Streaming
Range: bytes=29360128-29458799

480.13: upnp_server_conf::get_profile(552)/2332: INFO: using profile 'PlayStation 3' (User-Agent:PLAYSTATION 3)
480.13: upnp_server_conf::get_profile(552)/2332: INFO: using profile 'PlayStation 3' (User-Agent:PLAYSTATION 3)
511.369: FbMediaServer::ProcessHttpRequest(251)/4076: INFO: received LAN request: http://192.168.1.5:56923/content/7cb1b4f7e...16?convert=lpcm (http://192.168.1.5:56923/content/7cb1b4f7e7852d564fd1bd211e41cb1e.l16?convert=lpcm) (User-Agent: PLAYSTATION 3)
511.369: PLT_HttpHelper::ToLog(404)/4076: INFO:
GET /content/7cb1b4f7e7852d564fd1bd211e41cb1e.l16?convert=lpcm HTTP/1.1
Host: 192.168.1.5:56923
User-Agent: PLAYSTATION 3
Connection: Keep-Alive
Accept-Encoding: identity
transferMode.dlna.org: Streaming
Range: bytes=29360128-29458799

511.369: upnp_server_conf::get_profile(552)/4076: INFO: using profile 'PlayStation 3' (User-Agent:PLAYSTATION 3)
511.369: upnp_server_conf::get_profile(552)/4076: INFO: using profile 'PlayStation 3' (User-Agent:PLAYSTATION 3)


Any ideas?

-Gak Toid
Title: foo_upnp
Post by: Wadsbrau on 2010-04-01 23:22:19
Where do i put the playlist files so that they are seen when browsing the Playlists in UPnP? Can I use .m3u playlists? Or maybe this isnt how you accomplish this? I have some existing playlists and would ike to use them this way.

Thank you

Darren
Title: foo_upnp
Post by: gaktoid on 2010-04-02 01:39:53
Where do i put the playlist files so that they are seen when browsing the Playlists in UPnP? Can I use .m3u playlists? Or maybe this isnt how you accomplish this? I have some existing playlists and would ike to use them this way.

Thank you

Darren

I've been able to see any playlist currently loaded by Foobar.

-Gak Toi
Title: foo_upnp
Post by: pdf on 2010-04-02 23:19:21
Hi there,
would it be possible to have multi-value fields split the way the foo_albumlist component does it (when using it like <%genre%>, i.e. each value of a multi-value field gets its own tree entry)? Currently foo_upnp displays all the values of a multi-value separated by commas as one entry in the tree.
For example, I've got an album tagged with "Techno", "Minimal", "Downtempo" and "Experimental" and another one with "IDM", "Abstract", "Minimal" and "Experimental". Using foo_albumlist's tree it would display each of those values on its own, listing both albums in the "Minimal" tree node, for example. foo_upnp would have one tree item labeled "Techno, Minimal, Downtempo, Experimental" and another one labeled "IDM, Abstract, Minimal, Experimental".

I have a large music library tagged with the music style as a multi-value field (sometimes with 5 or 6 different values), but unfortunately the way multi-value fields are handled makes it practically impossible for me to use it for genre-based browsing.
Title: foo_upnp
Post by: bubbleguuum on 2010-04-03 00:16:57
Hi there,
would it be possible to have multi-value fields split the way the foo_albumlist component does it (when using it like <%genre%>, i.e. each value of a multi-value field gets its own tree entry)? Currently foo_upnp displays all the values of a multi-value separated by commas as one entry in the tree.
For example, I've got an album tagged with "Techno", "Minimal", "Downtempo" and "Experimental" and another one with "IDM", "Abstract", "Minimal" and "Experimental". Using foo_albumlist's tree it would display each of those values on its own, listing both albums in the "Minimal" tree node, for example. foo_upnp would have one tree item labeled "Techno, Minimal, Downtempo, Experimental" and another one labeled "IDM, Abstract, Minimal, Experimental".

I have a large music library tagged with the music style as a multi-value field (sometimes with 5 or 6 different values), but unfortunately the way multi-value fields are handled makes it practically impossible for me to use it for genre-based browsing.


Do you mean a genre node from any UPnP server, or the Media Library/Genres node exposed by foo_upnp Media Server ? Because the later already splits multi-value genre into several genre nodes, like the Album List component do when you use <%genre%>. In fact, splitting genre by multiple values is hardcoded in the plugin, so the <%...%> syntax wouldn't work with any other tag than genre.
Title: foo_upnp
Post by: Wadsbrau on 2010-04-03 02:41:07
I am trying to stream 24/96 flac flies from Foobar2000 upnp server to Foobar2000 player on an htpc.  I am using a Nokia n800 with Mediastreamer as controller.  On htpc the file shows as pcm instead of flac. I want no transcoding.  if i switch to a 16/44.1 flac file it comes across as flac on the htpc (like it should).  I have tried to set every profile to never transcode, but to no avail.  Please help.

Also, what is the fastest way to reset all of the profiles back to default settings?

Thank you

Darren
Title: foo_upnp
Post by: pdf on 2010-04-03 09:25:24
Do you mean a genre node from any UPnP server, or the Media Library/Genres node exposed by foo_upnp Media Server ? Because the later already splits multi-value genre into several genre nodes, like the Album List component do when you use <%genre%>. In fact, splitting genre by multiple values is hardcoded in the plugin, so the <%...%> syntax wouldn't work with any other tag than genre.
Ah, I see. Sorry, the example I posted was a bit misleading then because I have the tag I'm trying to do this with is named %style%. Hm, so is there currently no way to do this with non-%genre% tags?

Thanks, pdf
Title: foo_upnp
Post by: bubbleguuum on 2010-04-03 12:34:19
I am trying to stream 24/96 flac flies from Foobar2000 upnp server to Foobar2000 player on an htpc.  I am using a Nokia n800 with Mediastreamer as controller.  On htpc the file shows as pcm instead of flac. I want no transcoding.  if i switch to a 16/44.1 flac file it comes across as flac on the htpc (like it should).  I have tried to set every profile to never transcode, but to no avail.  Please help.

Also, what is the fastest way to reset all of the profiles back to default settings?


Try setting the Default profile (which is most likely used by your N800 Controller) to the exact same parameters than the foobar2000 profile (max bit depth, max samplerate aer particularly important if you don't want forced transcode). There's no easy reset of conf pages yet (it's in the toto list). The simpliest way to reset the profiles is to exit fb , remove foo_upnp.xml, relaunch fb. But you'll lose all other foo_upnp settings.
Upcoming version of the plugin will make streaming profiles a bit more straightforward, with a new (optional) simple mode that use a single profile for all clients.



Do you mean a genre node from any UPnP server, or the Media Library/Genres node exposed by foo_upnp Media Server ? Because the later already splits multi-value genre into several genre nodes, like the Album List component do when you use <%genre%>. In fact, splitting genre by multiple values is hardcoded in the plugin, so the <%...%> syntax wouldn't work with any other tag than genre.
Ah, I see. Sorry, the example I posted was a bit misleading then because I have the tag I'm trying to do this with is named %style%. Hm, so is there currently no way to do this with non-%genre% tags?

Thanks, pdf


I'll see if I can easily implement <%...%> tags in a generic way. Otherwise I'll hardcode it for style.
Title: foo_upnp
Post by: pdf on 2010-04-03 20:32:05
I'll see if I can easily implement <%...%> tags in a generic way. Otherwise I'll hardcode it for style.
Cool, thanks a lot :)
I'm using foo_discogs to do most of my tagging, so that's why I have the style tag. It occasionally happens with record labels as well to have multiple values, so a generic way to handle this would be good.
It's not a big deal though if it gets just hardcoded for style now.

Thanks,
pdf
Title: foo_upnp
Post by: Wadsbrau on 2010-04-05 18:26:43
Try setting the Default profile (which is most likely used by your N800 Controller) to the exact same parameters than the foobar2000 profile (max bit depth, max samplerate aer particularly important if you don't want forced transcode). There's no easy reset of conf pages yet (it's in the toto list). The simpliest way to reset the profiles is to exit fb , remove foo_upnp.xml, relaunch fb. But you'll lose all other foo_upnp settings.
Upcoming version of the plugin will make streaming profiles a bit more straightforward, with a new (optional) simple mode that use a single profile for all clients.


I had already tried that but it still transcoded to PCM.  However, I deleted the foo_upnp.xml.  Then verified that the "default" profile was set as like the "Foobar2000" profile.  Now it's working. Thanks!

If "Transcoding" or "Decoding" is set to "never" will any of the options (check boxes) apply?  I want to be sure that I have absolute "bit perfect" playback of the files.  What settings sould I set (uncheck?) to accomplish this?  Especially as I have a new Ayre QB-9 USB DAC on order.  When it arrives I want to be certain or perfect streaming.

Thank you

Darren
Title: foo_upnp
Post by: bubbleguuum on 2010-04-05 18:56:32
If "Transcoding" or "Decoding" is set to "never" will any of the options (check boxes) apply?  I want to be sure that I have absolute "bit perfect" playback of the files.  What settings sould I set (uncheck?) to accomplish this?  Especially as I have a new Ayre QB-9 USB DAC on order.  When it arrives I want to be certain or perfect streaming.


Yes the foobar2000 profile has foobar playing most stuff natively over http. The only exceptions that will force PCM  are: MusePack, cdda://, unpack://, files with a subsong index (ie FLAC+embedded cue). That is not a problem because PCM is bit perfect (if it is just a decode of the original audio).
Some of the options when enabled (ReplayGain, convert to stereo, samplerate and bitdepth restrictions) can force PCM no matter what the value of "Decoding" is.
With the foobar2000 profile, unless you enable ReplayGain,you should be fine.
Next version of the plugin, for each file streamed,  will print clearly on the console what exact settings are used.
Title: foo_upnp
Post by: gaktoid on 2010-04-06 00:16:44
The PS3 is very slow (and I mean slooow) at loading large playlists or containers. Probably your playlist wasn't fully loaded when you hit shuffle.
Your best bet is to generate a playlist of moderate size and shuffle it in foobar2000, restart the server and play it in the PS3.

I've been able to accomplish my goal by putting all of my music into the "UPnP Controller Playback Queue", setting it to shuffle, and playing the "Playback Stream Capture" on the PS3. The only issue is the PS3 doesn't reflect the artist/title/album of the song currently playing. I don't know if this is a limitation of the PS3, UPnP, or the plugin.

When I try to stream certain songs the stream stops at the end of that song instead of continuing to the next song in the play list. The PS3 provides the extremely helpful: A network error occurred (80710723)

Here's what shows up in the UPnP log from the time I start playing the song until after the song has stopped.

Any ideas?

Bump.

-Gak Toid
Title: foo_upnp
Post by: GHammer on 2010-04-06 08:02:36
If "Transcoding" or "Decoding" is set to "never" will any of the options (check boxes) apply? I want to be sure that I have absolute "bit perfect" playback of the files. What settings sould I set (uncheck?) to accomplish this? Especially as I have a new Ayre QB-9 USB DAC on order. When it arrives I want to be certain or perfect streaming.


Yes the foobar2000 profile has foobar playing most stuff natively over http. The only exceptions that will force PCM are: MusePack, cdda://, unpack://, files with a subsong index (ie FLAC+embedded cue). That is not a problem because PCM is bit perfect (if it is just a decode of the original audio).
Some of the options when enabled (ReplayGain, convert to stereo, samplerate and bitdepth restrictions) can force PCM no matter what the value of "Decoding" is.
With the foobar2000 profile, unless you enable ReplayGain,you should be fine.
Next version of the plugin, for each file streamed, will print clearly on the console what exact settings are used.


Thanks for that. I have not been able to find settings that will enable my WD HD TV Live to play both MP3 and FLAC in native form. In fact, I get one or the other to play, just skips over whichever is not going to play. The tip that ReplayGain enabled affects the stream might apply here.
Title: foo_upnp
Post by: bubbleguuum on 2010-04-06 19:48:40
I've been able to accomplish my goal by putting all of my music into the "UPnP Controller Playback Queue", setting it to shuffle, and playing the "Playback Stream Capture" on the PS3. The only issue is the PS3 doesn't reflect the artist/title/album of the song currently playing. I don't know if this is a limitation of the PS3, UPnP, or the plugin.


It is the limitation due to the nature of the Playback Stream Capture: the PS3 is playing a continuous PCM stream. from it's point of view it is a single file. That's why metadata cannot be updated.

When I try to stream certain songs the stream stops at the end of that song instead of continuing to the next song in the play list. The PS3 provides the extremely helpful: A network error occurred (80710723)

Here's what shows up in the UPnP log from the time I start playing the song until after the song has stopped.

Any ideas?


No idea and the log do not indicate any error. And I've long stopped trying to make sense of Sony undocumented error codes...


Thanks for that. I have not been able to find settings that will enable my WD HD TV Live to play both MP3 and FLAC in native form. In fact, I get one or the other to play, just skips over whichever is not going to play. The tip that ReplayGain enabled affects the stream might apply here.


In the default profile (provided you do not have created a custom profile for your WD Live), in the PCM decode section, you should set it to "always" and in the list of extension exceptions, have mp3 and flac listed (so they do not get decoded to PCM). By default, flac is not in the list of exceptions for this profile because most renderers are not able to play flac (and thus it must be decoded to PCM).

Title: foo_upnp
Post by: Mr Smiley on 2010-04-07 04:40:38
I am getting a NPT_CHECK failed error that I believe is preventing the uPnP server from starting. Log below:

Code: [Select]
0.0: foo_upnp::on_init(114): INFO: foo_upnp: version 0.99.21
1.984: path_registry::populate(57): INFO: created 32800 path registry entries in 1.953s
1.984: NPT_File::Load(240): INFO: Opening C:\Documents and Settings\===='s\Application Data\foobar2000\foo_upnp_ml_tree.xml
1.984: NPT_File::Load(250): INFO: Opened C:\Documents and Settings\===='s\Application Data\foobar2000\foo_upnp_ml_tree.xml
1.984: standard_media_tree_root_node_t::load_ml_filters(468): INFO: loaded Media Library filters from C:\Documents and Settings\===='s\Application Data\foobar2000\foo_upnp_ml_tree.xml
2.547: NPT_Win32Thread::Start(482): FINER: creating thread
2.547: NPT_Win32Thread::Start(482): FINER: creating thread
2.547: PLT_UPnP::Start(211): INFO: Starting UPnP...
2.547: NPT_Win32Thread::EntryPoint(449): FINER: thread in =======================
2.547: PLT_UPnP::Start(228): SEVERE: NPT_CHECK failed, result=-20409 (NPT_ERROR_BIND_FAILED) [(socket->Bind(NPT_SocketAddress(NPT_IpAddress::Any, m_Port)))]
2.562: NPT_Win32Thread::EntryPoint(449): FINER: thread in =======================
6.984: LoadBrowseTreeTask::DoRun(83): INFO: loaded 3 nodes in 2.422s
7.515: LoadBrowseTreeTask::DoRun(83): INFO: loaded 3 nodes in 2.937s

Title: foo_upnp
Post by: GHammer on 2010-04-08 18:23:28
Thanks for that. I have not been able to find settings that will enable my WD HD TV Live to play both MP3 and FLAC in native form. In fact, I get one or the other to play, just skips over whichever is not going to play. The tip that ReplayGain enabled affects the stream might apply here.


In the default profile (provided you do not have created a custom profile for your WD Live), in the PCM decode section, you should set it to "always" and in the list of extension exceptions, have mp3 and flac listed (so they do not get decoded to PCM). By default, flac is not in the list of exceptions for this profile because most renderers are not able to play flac (and thus it must be decoded to PCM).




With those settings, all is working well.
Title: foo_upnp
Post by: bubbleguuum on 2010-04-08 19:56:53
I am getting a NPT_CHECK failed error that I believe is preventing the uPnP server from starting:


Indeed. It shoudn't fail. Do you have any non standard network configuration (virtual network cards, vpn interfaces, ...) ? What is the output of command ipconfig /all ?
Title: foo_upnp
Post by: Leo.cheng on 2010-04-08 21:20:09
How to use it? I just tried http://ip:port/ (http://ip:port/) It does not work

I have foobar with this plugin on my HTPC. I want to make 2 functions.

#1 Using my laptop(under the same internal network) to stream the music (on my HTPC) to my laptop and control playback.

#2 Using my iphone/pda/laptop to control the music playback on my HTPC (not stream it to play at my laptop)

I went through the document. It should have those functions. Anyone help me? Thanks
Title: foo_upnp
Post by: Mr Smiley on 2010-04-09 00:28:56
I am getting a NPT_CHECK failed error that I believe is preventing the uPnP server from starting:


Indeed. It shoudn't fail. Do you have any non standard network configuration (virtual network cards, vpn interfaces, ...) ? What is the output of command ipconfig /all ?


Yes, I have VirtualBox (3.1.6) installed.

Code: [Select]
>ipconfig /all
Windows IP Configuration
        Host Name . . . . . . . . . . . . :
        Primary Dns Suffix  . . . . . . . :
        Node Type . . . . . . . . . . . . : Broadcast
        IP Routing Enabled. . . . . . . . : Yes
        WINS Proxy Enabled. . . . . . . . : Yes
Ethernet adapter Local Area Connection:
        Connection-specific DNS Suffix  . :
        Description . . . . . . . . . . . : Intel(R) PRO/100 VE Network Connection
        Physical Address. . . . . . . . . : -----------
        Dhcp Enabled. . . . . . . . . . . : No
        IP Address. . . . . . . . . . . . : 192.168.1.100
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . : 192.168.1.1
        DNS Servers . . . . . . . . . . . : 208.67.222.222
                                            208.67.220.220
Ethernet adapter VirtualBox Host-Only Network:
        Connection-specific DNS Suffix  . :
        Description . . . . . . . . . . . : VirtualBox Host-Only Ethernet Adapter
        Physical Address. . . . . . . . . : ----------------
        Dhcp Enabled. . . . . . . . . . . : No
        IP Address. . . . . . . . . . . . : 192.168.56.1
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . :
Title: foo_upnp
Post by: bubbleguuum on 2010-04-09 20:44:03
Yes, I have VirtualBox (3.1.6) installed.


Could you try to disable the VirtualBox interface so it doesn't get listed by ipconfig, and tell me if it fixes the problem ?
If it doesn't, I'll send you a test plugin to have more info on the bind error.
Title: foo_upnp
Post by: SpaceAgeHero on 2010-04-10 17:33:58
Hello bubbleguuum,

I'm sorry if this has been asked already ...
Recently I purchased a PS3 system and now I really love to use foo_upnp to access my lossless music collection.
So far I have discovered only two issues:

1.

My whole collection is tagged with genre and style tags.
These Tags usually have multiple values.

Genre : Electronic; Rock
Style : Alternative Rock; Industrial

Now I have set a custom SubTree = Style:
<spec type="object.container.genre.musicGenre">%style%</spec>

But for my example this won't create 2 seperate branches.
Instead it is shown like this: Alternative Rock, Industrial ...
resulting in a very long list of styles.

For the genre tag with multiple values everything seems to work fine automatically.

2.

When listening to compilations (%album artist% = Various) my PlayStation 3 doesn't show the actual %artist%
for the track currently playing.

Is there anything I can do?
Title: foo_upnp
Post by: Mr Smiley on 2010-04-11 06:23:07
Could you try to disable the VirtualBox interface so it doesn't get listed by ipconfig, and tell me if it fixes the problem ?
If it doesn't, I'll send you a test plugin to have more info on the bind error.

I disabled the interface and I even uninstalled Virtualbox altogether but it is still giving me the same error. This is a Windows XP SP3 32b system by the way.
Title: foo_upnp
Post by: bubbleguuum on 2010-04-11 12:34:51
Hello bubbleguuum,
1.

My whole collection is tagged with genre and style tags.
These Tags usually have multiple values.

Genre : Electronic; Rock
Style : Alternative Rock; Industrial

Now I have set a custom SubTree = Style:
<spec type="object.container.genre.musicGenre">%style%</spec>

But for my example this won't create 2 seperate branches.
Instead it is shown like this: Alternative Rock, Industrial ...
resulting in a very long list of styles.

For the genre tag with multiple values everything seems to work fine automatically.

2.

When listening to compilations (%album artist% = Various) my PlayStation 3 doesn't show the actual %artist%
for the track currently playing.



1. Splitting of genre is handled automatically as you noticed. Next version will handle the %<...>% notation so you'll be able to split by style using %<style>% (see a few post above, this was discussed).

2. The PS3 seems to use Album Artist over Artist when both are present. You can easily add the artist to the track title that get sent to the PS3: In the Server advanced settings conf, set "Format track titles using" to:

Code: [Select]
$if([$meta(album artist)],%artist% - )%title%


This will prepend %artist% to the title only when album artist is defined.
Title: foo_upnp
Post by: blinkworth on 2010-04-11 22:54:25
Hello there

Thanks for developing this plugin.

I'm having difficulty using it with my WDTV live ... one person seems to have it working, but I can't ...  WMP 11 serves up my 44.1k 16 bit .wav file fine, and WDTVLIVE plays it, but using foobar 2000 upnp .21 (I have foobar_record installed otherwise standard foobar ...) the files in a playlist are served up (i.e. seen by WDTVLIVE) with 0.00.00 length, and thus are unplayable ...

Also, using the control point in foobar 2000 has not been a success for me ...It sees the WDTV live OK, but nothing will play ... it is also a bit fritzy ... several goes a testablishing a connection, and then nothing playing off the controller list ... Hmm ... evidently, win7 playto works with the wdtv live according to forums over there ...

I can tell you what settings I have used, if you want, and I am happy to help out in any way possible .... WDTV live does have play to functionality, and it is a great player, supporting flac natively, accoridnig to the specs ... I have a few classical flacs and a bit of jazz, but I haven't tried out the wdtv yet .... I tell you what though, the dacs on this thing are great ...clear, lovely pre-amps .. I don't bother with the digital out ... I digress...

Thanks again Mr Bubbleguum. 

Title: foo_upnp
Post by: gaktoid on 2010-04-12 02:23:15
When I try to stream certain songs the stream stops at the end of that song instead of continuing to the next song in the play list. The PS3 provides the extremely helpful: A network error occurred (80710723)

Here's what shows up in the UPnP log from the time I start playing the song until after the song has stopped.

Any ideas?


No idea and the log do not indicate any error. And I've long stopped trying to make sense of Sony undocumented error codes...


I've uploaded a log with everything turned on to Google Docs (https://docs.google.com/leaf?id=0B75qcgtCno8KMzAxN2YyYjctZTBjMy00Njk3LTgxNTAtNDE3ZTM3MGMzNTNh&hl=en) (requires google account). If you can't access that, let me know and I'll find someplace else to store it.

Approximate order of operations:
* start foobar
* approx 111 start PS3
* approx 251 browse to song
* approx 337 start song
* approx 550 song stops playing

The only hint I have is that the song is 3:40 and it only played for 3:33 before stopping.
Pressing 'next' (R1 button) didn't have any effect, I have to stop playback and restart. I didn't see anything appear in the console window when I pressed 'next'. Perhaps this is a PS3 issue.

The mp3 in question is a valid mp3 according to mp3val. Not sure if that's worth anything.

Thanks for your help.

-Gak Toid
Title: foo_upnp
Post by: biriem on 2010-04-12 10:56:18
Hello,

a great plugin, but currently I have the problem that if my Twonky Server is down foobar hangs while exiting of foobar.
I have to wait a very long time or I have to kill the foobar process with taskmanager.

If I delete the foo_upnp.dll than exit foobar works fast without any problems.

I use Win 7 Pro and the newest versions of foobar and foo_upnp.dll.

Any ideas???
Title: foo_upnp
Post by: bubbleguuum on 2010-04-15 20:42:22
New version with quite a lot of changes. Let me know if you find any regressions.
See first post for download link.

Code: [Select]
0.99.23
---------

This version reset the configuration file to defaults

- if the XML configuration file cannot be loaded on launch, display an error in a popup
- implemented proper abortability in most worker threads. Should address a few potential but rare deadlocks (mostly on stopping the server), and possible long time to stop some threads
- reorganized preferences pages
- server: fix: rare possible crash if exiting foobar2000 while the server was indexing the Media Library
- server: fix: app freeze (deadlock) if restart server while Playback Stream Capture is playing
- server: fix: handle %<...>% notation in foo_upnp_media_tree.xml. Useful for %<genre>% (was hardcoded previously), %<style>%, ...
- server: chg: removed hardcoded limitation to 48Khz max for LPCM. Now higer samplerates are allowed but this is not strictly compliant with the DLNA LPCM profile.
- server: new: when serving a file, always display info in the console (samplerate, bitdepth, codec, etc...). Useful for debugging profiles.
- server: chg: removed dithering option in streaming profiles. Dithering is always off, like foobar2000 default.
- server: new: configurable replaygain settings and DSP chain per streaming profile. A file transcoded as MP3 is applied DSP / RG (if active). Otherwise file is streamed as PCM with DSP / RG applied. DSP / RG changes are applied immediately to the playing stream (if streamed file is already playing as PCM or MP3 transcode). Resampler DSPs and DSPs modifying channel count should not be used, as the plugin already apply them as needed.
- server: new: a streaming profile can now play DTS encapsulated in a container (FLAC, WAV) using foo_input_dts as a DSP, and HDCD using foo_dsp_hdcd (played as 24 bit if max bitdepth allows).
- server: new: configurable Playback Stream Capture codec/samplerate/bitdeph per streaming profile. PSC can now also be streamed as mp3.
- server: fix: Playback Stream Capture was not working with some renderers (at least the Oppo BDP-83)
- server: new: ability to enable or disable "Playlist",  "Media Library", "Playback Stream Capture"  nodes
- server: fix: different streaming profiles were used at browse time and streaming time when using a Control Point (for playing audio to a different device than the CP): at browse time the CP profile was used while when streaming the Renderer profile was used. Now the CP profile is always used.
- server: fix: Linn DS can now play mp3 transcodes generated by the server
- server: new: the Default streaming profile can now easily be used for all the content streamed by the server.
- server: fix: WMP12 "Play To" would give an error when trying  to play an item from foo_upnp Server to any renderer (used to work, regression from an unknown version).
- controller: chg: Linn DS Playlist and Radio sources: Clicking the PL button forces a refresh of the playlist content.
- controller: fix: Linn DS Radio Source: now display radio stream metadata in UPnP Controller status bar for non-preset radio streams
- controller: new: Linn DS: added standby button
- controller: chg: display track technical info in status bar (codec/bitrate/samplerate).
- browser: chg: View->Add remote foobar2000 server do not require a password anymore to allow connecting to a remote internet Jamcast server (requires Jamacast 1.1 or greater)
- renderer: fix: list audio/L16 (aka LPCM) as supported format (needed for WMP12 to accept to push it)
Title: foo_upnp
Post by: pdf on 2010-04-15 22:44:07
Hi,
thanks for adding the %<...>% notation. However, the values seem to be split by spaces as well, so that items tagged with "Modern Classical", for example, end up listed seperately as "Modern" and "Classical".
Title: foo_upnp
Post by: bubbleguuum on 2010-04-15 22:58:07
Hi,
thanks for adding the %<...>% notation. However, the values seem to be split by spaces as well, so that items tagged with "Modern Classical", for example, end up listed seperately as "Modern" and "Classical".


thanks for reporting. There will be a small bugfix release soon as I just noticed that when streaming as PCM with any DSP enabled, some renderers will stop after the first track or take a very longtime to continue to next track.
Title: foo_upnp
Post by: archetwist on 2010-04-16 00:08:50
Thanks for a great plugin!
Title: foo_upnp
Post by: mpuckett on 2010-04-16 23:03:56
Yes, +1 kudos for a great add on!

I have just downloaded and installed it and have been figuring out how to get it to work with my Roku M1000 box and flac library. I am having a problem with the Roku attempting to play a playlist. It can download the content of the playlist properly but it can't play a track or get the song info from a playlist entry. The same tracks play just fine when selecting them through the media library instead of a playlist.

So basically, everything works perfectly for me except playlists. Am I missing a configuration entry somewhere, or has anyone else seen this behavior with a Roku player?
Title: foo_upnp
Post by: eightfold on 2010-04-17 20:47:00
Hey bubbleguuum, I posted a while back saying that when I used this to stream music to my PS3 that it would keep skipping. I thought that my problem was that my laptop was too outdated. Anyway I recently got a new laptop and it's still doing it... With this new laptop, I'm using Win7 x64, fb2k v1.0.2.1 and v0.99.23 of your plugin. I have both my laptop and my PS3 connected to my router via ethernet. Even if I set the playback output to 48 KHz on my PS3 it still stutters a bit.

When I stream music to it using Win7's native media server capabilities, it plays smoothly. I looked at the file information it even displays the files as MP3 (rather than LPCM) and the correct bitrate, but unfortunately it doesn't display the tags since Windows still doesn't support ID3v2.4. I don't know what it is about my setup that's causing it to skip/stutter when I stream stuff to my PS3. Here's a log file that I captured when I tried to play one song:

http://pastebin.com/yDjTURjG (http://pastebin.com/yDjTURjG)

I left it to play the song for about a minute and I set the log level to ALL. I really hope you take the time to look into this. Your plugin is great since I use it to stream my music to another fb2k client over the internet. If in the event that you don't find anything wrong, I guess the only thing I can rule out is my router.
Title: foo_upnp
Post by: bubbleguuum on 2010-04-17 22:23:11
Bugfix version 0.99.23.1 released (first post to download):

0.99.23.1

- server: fixed %<...>% notation splitting tokens containing space
- server: fixed WAV/LPCM streaming never finishing tracks if DSP chain enabled


I have just downloaded and installed it and have been figuring out how to get it to work with my Roku M1000 box and flac library. I am having a problem with the Roku attempting to play a playlist. It can download the content of the playlist properly but it can't play a track or get the song info from a playlist entry. The same tracks play just fine when selecting them through the media library instead of a playlist.


Not sure what is wrong with Roku and playlists as there's not much difference with the ML. See first post to record a log (INFO level) and send it to me. So if I understand correctly, you can list individual songs of a playlist but can't play them, right ?


Hey bubbleguuum, I posted a while back saying that when I used this to stream music to my PS3 that it would keep skipping. I thought that my problem was that my laptop was too outdated. Anyway I recently got a new laptop and it's still doing it... With this new laptop, I'm using Win7 x64, fb2k v1.0.2.1 and v0.99.23 of your plugin. I have both my laptop and my PS3 connected to my router via ethernet. Even if I set the playback output to 48 KHz on my PS3 it still stutters a bit.

When I stream music to it using Win7's native media server capabilities, it plays smoothly. I looked at the file information it even displays the files as MP3 (rather than LPCM) and the correct bitrate, but unfortunately it doesn't display the tags since Windows still doesn't support ID3v2.4. I don't know what it is about my setup that's causing it to skip/stutter when I stream stuff to my PS3. Here's a log file that I captured when I tried to play one song:

http://pastebin.com/yDjTURjG (http://pastebin.com/yDjTURjG)

I left it to play the song for about a minute and I set the log level to ALL. I really hope you take the time to look into this. Your plugin is great since I use it to stream my music to another fb2k client over the internet. If in the event that you don't find anything wrong, I guess the only thing I can rule out is my router.


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.
Title: foo_upnp
Post by: mpuckett on 2010-04-17 23:38:12
Not sure what is wrong with Roku and playlists as there's not much difference with the ML. See first post to record a log (INFO level) and send it to me. So if I understand correctly, you can list individual songs of a playlist but can't play them, right ?


Yes, that is correct. The playlist comes down to the Roku correctly but when I select any entry and try to show song info I get the error "Failed to load song info" or play it I get the error "Unable to play song". I have logged the playlist browse, the get song info and the play actions. How do I send the debug files to you?
Title: foo_upnp
Post by: SpaceAgeHero on 2010-04-18 00:55:32
Bugfix version 0.99.23.1 released (first post to download):


Thank you very much once again!
Title: foo_upnp
Post by: Haggis on 2010-04-18 02:09:28
Yes, that is correct. The playlist comes down to the Roku correctly but when I select any entry and try to show song info I get the error "Failed to load song info" or play it I get the error "Unable to play song". I have logged the playlist browse, the get song info and the play actions. How do I send the debug files to you?

I have a Roku Soundbridge, and I used to have the same problem until version 0.99.23. My library is all mp3.
Title: foo_upnp
Post by: mpuckett on 2010-04-18 02:52:16
I have a Roku Soundbridge, and I used to have the same problem until version 0.99.23. My library is all mp3.


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

Outstanding!
Title: foo_upnp
Post by: mpuckett on 2010-04-18 18:22:02
Ok, now that it is working perfectly I can't help but making a couple of new feature requests. First, is it possible to maintain playlist statistics for tracks played by connected devices? I guess this makes a dependency on the playlist statistics component which may be hard to resolve, but playlist statistics are quite useful, especially in autoplaylists. Next, can the list of connected clients be made available maybe with the timestamp of their connection also?

Once again, thanks for this awesome component.
Title: foo_upnp
Post by: pdf on 2010-04-18 21:55:18
- server: fixed %<...>% notation splitting tokens containing space
Thanks man, works great :)
Title: foo_upnp
Post by: blinkworth on 2010-04-19 22:10:21
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.
Title: foo_upnp
Post by: mpuckett on 2010-04-20 21:09:43
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.
Title: foo_upnp
Post by: mpuckett on 2010-04-21 01:59:00
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.
Title: foo_upnp
Post by: Hodge on 2010-04-22 18:55:07
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)]
Title: foo_upnp
Post by: Wadsbrau on 2010-04-22 19:04:25
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
Title: foo_upnp
Post by: bubbleguuum on 2010-04-22 19:26:29
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).


Title: foo_upnp
Post by: bubbleguuum on 2010-04-22 19:32:35
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.



Title: foo_upnp
Post by: bubbleguuum on 2010-04-22 19:37:56
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.
Title: foo_upnp
Post by: Hodge on 2010-04-22 20:03:38
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
Title: foo_upnp
Post by: Hodge on 2010-04-22 20:51:03
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.
Title: foo_upnp
Post by: bubbleguuum on 2010-04-22 21:49:13
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 ?

Title: foo_upnp
Post by: Hodge on 2010-04-22 21:56:01
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
Title: foo_upnp
Post by: Wadsbrau on 2010-04-22 22:04:12
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
Title: foo_upnp
Post by: bubbleguuum on 2010-04-24 15:53:36
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
Title: foo_upnp
Post by: Hodge on 2010-04-24 23:18:40
- 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
Title: foo_upnp
Post by: bubbleguuum on 2010-04-25 00:13:09
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.
Title: foo_upnp
Post by: eightfold on 2010-04-26 02:36:10
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 (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.
Title: foo_upnp
Post by: wtstommy on 2010-04-27 21:49:26
I don't suppose there is an option to update the playcount when a file is played through the UPnP server?
Title: foo_upnp
Post by: bubbleguuum on 2010-04-27 22:30:36
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.
Title: foo_upnp
Post by: Hodge on 2010-04-29 03:37:59
- 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
Title: foo_upnp
Post by: Hodge on 2010-04-29 11:09:47
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
Title: foo_upnp
Post by: bubbleguuum on 2010-04-29 12:35:47
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.
Title: foo_upnp
Post by: Hodge on 2010-04-30 13:44:39
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
Title: foo_upnp
Post by: Foo_Borat on 2010-04-30 20:51:18
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.
Title: foo_upnp
Post by: _darkangel_ on 2010-05-02 09:08:11
Hi. I use foobar2000 very long time and really enjoy it. Recently I decide to try to stream my music collection to my Sony Bravia KDL W5500 using your plugin and have no luck. You can find logs here (http://pastebin.com/1636vwwy). Thanx.
Title: foo_upnp
Post by: bubbleguuum on 2010-05-02 09:23:27
Hi. I use foobar2000 very long time and really enjoy it. Recently I decide to try to stream my music collection to my Sony Bravia KDL W5500 using your plugin and have no luck. You can find logs here (http://pastebin.com/1636vwwy). Thanx.


Can you be a bit more specific about the what the problem is, and repost a log with INFO level ?
Title: foo_upnp
Post by: _darkangel_ on 2010-05-02 10:14:45
Hi. I use foobar2000 very long time and really enjoy it. Recently I decide to try to stream my music collection to my Sony Bravia KDL W5500 using your plugin and have no luck. You can find logs here (http://pastebin.com/1636vwwy). Thanx.


Can you be a bit more specific about the what the problem is, and repost a log with INFO level ?


The problem is TV cannot see foobar2000 - it doesn't appear in Music sources. Logs
Code: [Select]
foo_upnp: 241.547: NPT_File::Load(240)/2256: INFO: Opening D:\bin\foobar2000\foo_upnp_ml_tree.xml
foo_upnp: 241.547: NPT_File::Load(250)/2256: INFO: Opened D:\bin\foobar2000\foo_upnp_ml_tree.xml
foo_upnp: 241.547: standard_media_tree_root_node_t::load_ml_filters(482)/2256: INFO: loaded Media Library filters from D:\bin\foobar2000\foo_upnp_ml_tree.xml
foo_upnp: 241.547: LoadBrowseTreeTask::DoRun(84)/3028: INFO: loaded 0 nodes in 0.000s
foo_upnp: 241.547: PLT_UPnP::AddDevice(343)/2256: INFO: Starting Device...
foo_upnp: 241.547: PLT_HttpServer::Start(109)/2256: INFO: HttpServer listening on 0.0.0.0:56923
foo_upnp: 242.94: LoadBrowseTreeTask::DoRun(84)/2680: INFO: loaded 1 nodes in 0.547s
foo_upnp: 242.703: FbMediaServer::ProcessHttpRequest(255)/1584: INFO: received LAN request: http://192.168.1.20:56923/DeviceDescription.xml (User-Agent: UPnP/1.0)
foo_upnp: 242.703: FbMediaServer::ProcessGetDescription(320)/1584: INFO: ProcessGetDescription: user-agent: UPnP/1.0
foo_upnp: 243.312: FbMediaServer::ProcessHttpRequest(255)/3496: INFO: received LAN request: http://192.168.1.20:56923/ContentDirectory/efdb4543-2456-abc0-fb49-39072b7dd95a/control.xml (User-Agent: UPnP/1.0 DLNADOC/1.50)
foo_upnp: 243.312: FbMediaServer::OnAction(197)/3496: INFO: received action 'GetSortCapabilities', args = {  }
foo_upnp: 243.312: FbMediaServer::OnAction(214)/3496: INFO: action 'GetSortCapabilities' response: args = { SortCaps= }
foo_upnp: 243.516: FbMediaServer::ProcessHttpRequest(255)/1652: INFO: received LAN request: http://192.168.1.20:56923/ConnectionManager/efdb4543-2456-abc0-fb49-39072b7dd95a/control.xml (User-Agent: UPnP/1.0 DLNADOC/1.50)
foo_upnp: 243.516: FbMediaServer::OnAction(197)/1652: INFO: received action 'GetProtocolInfo', args = {  }
foo_upnp: 243.516: FbMediaServer::OnAction(214)/1652: INFO: action 'GetProtocolInfo' response: args = { Source=http-get:*:*:*, Sink= }
foo_upnp: 243.562: FbMediaServer::ProcessHttpRequest(255)/1824: INFO: received LAN request: http://192.168.1.20:56923/DeviceDescription.xml (User-Agent: UPnP/1.0)
foo_upnp: 243.562: FbMediaServer::ProcessGetDescription(320)/1824: INFO: ProcessGetDescription: user-agent: UPnP/1.0
foo_upnp: 244.109: FbMediaServer::ProcessHttpRequest(255)/1232: INFO: received LAN request: http://192.168.1.20:56923/ContentDirectory/efdb4543-2456-abc0-fb49-39072b7dd95a/control.xml (User-Agent: UPnP/1.0 DLNADOC/1.50)
foo_upnp: 244.109: FbMediaServer::OnAction(197)/1232: INFO: received action 'GetSortCapabilities', args = {  }
foo_upnp: 244.109: FbMediaServer::OnAction(214)/1232: INFO: action 'GetSortCapabilities' response: args = { SortCaps= }
foo_upnp: 244.312: FbMediaServer::ProcessHttpRequest(255)/3292: INFO: received LAN request: http://192.168.1.20:56923/ConnectionManager/efdb4543-2456-abc0-fb49-39072b7dd95a/control.xml (User-Agent: UPnP/1.0 DLNADOC/1.50)
foo_upnp: 244.312: FbMediaServer::OnAction(197)/3292: INFO: received action 'GetProtocolInfo', args = {  }
foo_upnp: 244.312: FbMediaServer::OnAction(214)/3292: INFO: action 'GetProtocolInfo' response: args = { Source=http-get:*:*:*, Sink= }


TV can handle mp3 and LPCM for sure. I have tried HMS and it works, but not provide what I want.
Hope this information will help.
Title: foo_upnp
Post by: Foo_Borat on 2010-05-02 13:20:46
Buggleguuum one question: Do you know whether Roku Soundbridges will behave like a Linn DS device as a renderer?

Thank you in advance and thanks for this awesome plugin.

B.
Title: foo_upnp
Post by: bubbleguuum on 2010-05-02 13:54:17
Buggleguuum one question: Do you know whether Roku Soundbridges will behave like a Linn DS device as a renderer?

Thank you in advance and thanks for this awesome plugin.

B.



No the Roku is a regular UPnpAV device: no on device playlist support nor gapless playback like on the Linn DS.
Speaking of the Roku to answer your first question, it is not the ideal device for control with the UPnP Controller. At least the Roku SoundBridge M1000 has a few known problems in its
implementation, especially it doesn't notify reliably the end of a track and the controller cannot play the next track because of this. Not sure about other Roku models though.
Title: foo_upnp
Post by: Foo_Borat on 2010-05-02 14:19:20
Thank you Bubbleguum for your quick answer. Which device apart from the Linn DS which are a bit too costly would you recommend for your plugin?
Title: foo_upnp
Post by: mpuckett on 2010-05-02 19:05:47
Could Soundbridge owners chime in and tell about their experience please?


Hi,
I am using this plugin with my Roku M1000 very successfully. As has been mentioned already, it does not do a perfect job trying to use the controller function, but as a server streaming to the device and using the device control functions it works great and I would recommend it highly. The downside of course is that The Roku audio players have all been discontinued and are now unsupported so there won't be any firmware fixes any longer. For me, browsing works, playlists work, streaming works, and streaming profiles work. I don't know "technically" about gapless playback but my library is mostly flac images and I can say that track changes are "perfect" to my ears. Dark Side of the Moon does perfect track changes and is "gapless" to my ears.

If you can find one at a good price it works well with this plugin with the above exception and sounds great. And I am still hoping there may yet be some work arounds that might make the controller work too. For me, that is a nice to have but not essential.

If you want to know anything more I'd be happy to give you more info. But I am overall very happy with this setup and love this plugin.
Title: foo_upnp
Post by: bubbleguuum on 2010-05-02 19:59:40
Thank you Bubbleguum for your quick answer. Which device apart from the Linn DS which are a bit too costly would you recommend for your plugin?



Can't really recommend you a particular device as the only hardware I have is a Linn DS. At this point, I expect that most current devices will work well with the server, when browsing and playing from their interface. It can a bit a more tricky with externally controllable renderers. There's so much different implementations by vendors (often incomplete or buggy), that you cannot be sure it'll work until you test it.

EDIT: it is important to note that even if a hardware is not an externally controllable renderer or if it is buggy used with the UpnP Controller, there's an alternate way to remote control it by using the Playback Stream Capture functionnality (in that case the device plays a single infinite stream of what foobar2000 is currenlty playing, as if it was a networked soundcard).
Title: foo_upnp
Post by: mpuckett on 2010-05-02 20:32:35
EDIT: it is important to note that even if a hardware is not an externally controllable renderer or if it is buggy used with the UpnP Controller, there's an alternate way to remote control it by using the Playback Stream Capture functionnality (in that case the device plays a single infinite stream of what foobar2000 is currenlty playing, as if it was a networked soundcard).


So THAT'S how that works! WOOHOO! I had never quite figured out what that was for. This works fine on my Roku too.
Title: foo_upnp
Post by: Foo_Borat on 2010-05-02 21:42:45
EDIT: it is important to note that even if a hardware is not an externally controllable renderer or if it is buggy used with the UpnP Controller, there's an alternate way to remote control it by using the Playback Stream Capture functionnality (in that case the device plays a single infinite stream of what foobar2000 is currenlty playing, as if it was a networked soundcard).


So THAT'S how that works! WOOHOO! I had never quite figured out what that was for. This works fine on my Roku too.



I am looking for a controllable render. How do I enable this Playback Stream Capture functionality?


Twonky claims that they can control a Roku Soundbridge with their server. Is the controller part of the server or part of your plugin?
Title: foo_upnp
Post by: gaktoid on 2010-05-02 22:38:39
Quote
- server: fix: handle %<...>% notation in foo_upnp_media_tree.xml. Useful for %<genre>% (was hardcoded previously), %<style>%, ...

This doesn't work quite like I expect it.
For example, the genre "Folk, World, & Country" (which is generated by the discogs plugin, so I assume bubbleguuum is familiar with it) shows up as 3 separate Genres on my PS3.

Since "Funk / Soul" and "Stage & Screen" show up correctly, I assume it has something to do with the commas.

-Gak Toid
Title: foo_upnp
Post by: mpuckett on 2010-05-03 00:38:33
I am looking for a controllable render. How do I enable this Playback Stream Capture functionality?

Twonky claims that they can control a Roku Soundbridge with their server. Is the controller part of the server or part of your plugin?


On the Roku you must browse to the Playback Stream Capture and then select it. It just plays whatever foobar is already playing as an infinite stream. So you can set up a playlist on foobar and start playing it and the Roku would just capture what is being played.
Title: foo_upnp
Post by: gaktoid on 2010-05-03 00:55:55
When I try to stream certain songs the stream stops at the end of that song instead of continuing to the next song in the play list. The PS3 provides the extremely helpful: A network error occurred (80710723)

Here's what shows up in the UPnP log from the time I start playing the song until after the song has stopped.

Any ideas?


No idea and the log do not indicate any error. And I've long stopped trying to make sense of Sony undocumented error codes...


Log: http://pastebin.com/9FyHWHFs (http://pastebin.com/9FyHWHFs)

I assume the 'opened' message at 601 was when I select the song to play.
I wasn't using the controller at 904 when it attempted to open the song again. It's like it keeps trying to open the same song instead of the next one. Or perhaps it didn't finish playing the song and is trying to open it again to finish?

-Gak Toid
Title: foo_upnp
Post by: Foo_Borat on 2010-05-03 08:54:02
I am looking for a controllable render. How do I enable this Playback Stream Capture functionality?

Twonky claims that they can control a Roku Soundbridge with their server. Is the controller part of the server or part of your plugin?


On the Roku you must browse to the Playback Stream Capture and then select it. It just plays whatever foobar is already playing as an infinite stream. So you can set up a playlist on foobar and start playing it and the Roku would just capture what is being played.



What playlist would I select on Foobar then? The controller or the browser playlist?
Title: foo_upnp
Post by: mpuckett on 2010-05-03 18:14:23
What playlist would I select on Foobar then? The controller or the browser playlist?


You would select any playlist you like and play something in foobar as you would normally on your PC. Then on the Roku you would browse to "Capture Playback Stream" and select it. This stream is just the stream of what you are already playing on foobar being repeated over the network. So you can do anything locally in foobar and it is repeated over the network to the remote client.

So, you are not controlling the device via upnp, you are just using the normal foobar controls and the device is capturing the output stream.
Title: foo_upnp
Post by: Foo_Borat on 2010-05-03 18:23:01
What playlist would I select on Foobar then? The controller or the browser playlist?


You would select any playlist you like and play something in foobar as you would normally on your PC. Then on the Roku you would browse to "Capture Playback Stream" and select it. This stream is just the stream of what you are already playing on foobar being repeated over the network. So you can do anything locally in foobar and it is repeated over the network to the remote client.

So, you are not controlling the device via upnp, you are just using the normal foobar controls and the device is capturing the output stream.



Thank you mpuckett, this is awesome. And which component would be responsible for this streaming capture? The foobar plugin on the client or the server? I am just trying to understand the technical side of it.

Title: foo_upnp
Post by: bubbleguuum on 2010-05-03 18:43:14
Thank you mpuckett, this is awesome. And which component would be responsible for this streaming capture? The foobar plugin on the client or the server? I am just trying to understand the technical side of it.


The server part of the plugin is responsible of the capture. There's an API in the SDK that allow to capture audio before it is sent to the sound card.

Quote
Then on the Roku you would browse to "Capture Playback Stream" and select it


For devices that are externally controllable (ie that appear in the UPnP Controller - this is the case of the Roku), you can trigger this from foobar2000 itself instead to have to do it from the device's UI: provided that you have the UPnP Controller in your layout and a renderer selected, in foobar main menu just select Playback->UPnP Controller->Play foobar2000 Playback Stream Capture
Title: foo_upnp
Post by: mpuckett on 2010-05-03 19:12:05
For devices that are externally controllable (ie that appear in the UPnP Controller - this is the case of the Roku), you can trigger this from foobar2000 itself instead to have to do it from the device's UI: provided that you have the UPnP Controller in your layout and a renderer selected, in foobar main menu just select Playback->UPnP Controller->Play foobar2000 Playback Stream Capture


Yep. Just tried that and it works too. In fact, while playing the stream the volume control, play, pause and stop controller functions all work.
Title: foo_upnp
Post by: bukabo on 2010-05-05 22:49:16
Hi, I've just registered at HA to ask for help with several problems that were raised before but nobody seems to complain about them these days.
1) I am trying to stream music between the fb2k instances on two computers (Vista and XP) networked using Ethernet or WiFi. The network works fine, with real-time speeds (while copying shared files) of >10 MB/s (Eth) and approx. 1 MB/s (WiFi, this is slow, I know, a poor Netgear access point may be the reason).
The problem is that it's impossible to obtain a smooth transfer without clicks and pauses using anything wider than a 192/256 kbps mp3 stream (using WiFi/Eth). I simply cannot transfer an intact lossless FLAC stream or a high-bitrate mp3. What is interesting is that while streaming an untranscoded mp3 of  ~128 kbps I get a broken stream, when I set the server to transcode it to 192 kbps, the stream passes flawlessly. Is the uPnP protocol limited to some percentage of the bandwidth or is it the plugin's fault?

2) When I try to take control over the music host fb2k instance using fb2k on the second computer the only thing I can do is to stop its playing, nothing else works. Shouldn't the interaction between two identical programs be the one with less problems?

I am using the latest version of both foobar and the uPnP plugin.

Thanks in advance for help
Title: foo_upnp
Post by: zapoqx on 2010-05-05 23:43:02
I seem to have a problem that I can't figure out.  I have searched this forum and its just not making sense.
Its mostly the use of this component.
On my 360, it can't ever seem to find the foobar server.  I've tried even disabling Windows Media Player's server but it still has yet to find foobars.
When I tried to see if my laptop on a different connection can find it, it seems it refuses to connect to my computer.
Even trying on an external connection, I can't seem to make it connect.

I did try port forwarding as well to see if that would help, but nothing seems to be connecting and it kind of bothers me since even checking around the forums, people don't seem to have this issue as much or its just something small that was forgotten to be done.

Any assistance on this would be highly appreciative.  Thanks in advance.
Title: foo_upnp
Post by: mpuckett on 2010-05-06 07:39:22
Hi, I've just registered at HA to ask for help with several problems that were raised before but nobody seems to complain about them these days.
1) I am trying to stream music between the fb2k instances on two computers (Vista and XP) networked using Ethernet or WiFi. The network works fine, with real-time speeds (while copying shared files) of >10 MB/s (Eth) and approx. 1 MB/s (WiFi, this is slow, I know, a poor Netgear access point may be the reason).
The problem is that it's impossible to obtain a smooth transfer without clicks and pauses using anything wider than a 192/256 kbps mp3 stream (using WiFi/Eth). I simply cannot transfer an intact lossless FLAC stream or a high-bitrate mp3. What is interesting is that while streaming an untranscoded mp3 of  ~128 kbps I get a broken stream, when I set the server to transcode it to 192 kbps, the stream passes flawlessly. Is the uPnP protocol limited to some percentage of the bandwidth or is it the plugin's fault?

2) When I try to take control over the music host fb2k instance using fb2k on the second computer the only thing I can do is to stop its playing, nothing else works. Shouldn't the interaction between two identical programs be the one with less problems?

I am using the latest version of both foobar and the uPnP plugin.

Thanks in advance for help


Hmmm. I don't seen to have this problem. I am able to stream flacs decoded to wavs to a Roku device at 10 Mb/s without any problem at all from a win7 system running in a virtual box VM under Linux. I'm also able to upnp stream from fb2k to wmp on the same system without any hiccups at all. No clicks, no pauses, no problems.
Title: foo_upnp
Post by: bukabo on 2010-05-06 13:44:00
An update: I've also tried playing FLAC files from the host using standard Windows file sharing. No problem at all. So there is a problem with the uPnP connection between two foobar2000 instances. Can anyone verify it under similar conditions?
Title: foo_upnp
Post by: bubbleguuum on 2010-05-06 14:06:47
An update: I've also tried playing FLAC files from the host using standard Windows file sharing. No problem at all. So there is a problem with the uPnP connection between two foobar2000 instances. Can anyone verify it under similar conditions?


I could reproduce the problem at home, using a wifi connection. Some audio drops with FLAC, frequent drops with PCM streaming, no problem with mp3.
So there's definitely an issue with the plugin, network and bandwidth related, streaming to fb2000 as the client . There's no problem using 2 fb instances on the same PC (my usual test case).
I also have no problem with a wired PS3 and my iTouch, so I'll have to investigate more.
Title: foo_upnp
Post by: thaihugo on 2010-05-06 22:58:29
For devices that are externally controllable (ie that appear in the UPnP Controller - this is the case of the Roku), you can trigger this from foobar2000 itself instead to have to do it from the device's UI: provided that you have the UPnP Controller in your layout and a renderer selected, in foobar main menu just select Playback->UPnP Controller->Play foobar2000 Playback Stream Capture


Hi bubbleguuum,

Is there any prerequisite to activate this option? I have foobar 1.0.2.1 and todays UPNP version, but I don`t see this option with my philips WAC7500. I have the playback stop after each song bug on it, and I would be happy to try this option.
Title: foo_upnp
Post by: bubbleguuum on 2010-05-06 23:06:54
For devices that are externally controllable (ie that appear in the UPnP Controller - this is the case of the Roku), you can trigger this from foobar2000 itself instead to have to do it from the device's UI: provided that you have the UPnP Controller in your layout and a renderer selected, in foobar main menu just select Playback->UPnP Controller->Play foobar2000 Playback Stream Capture


Hi bubbleguuum,

Is there any prerequisite to activate this option? I have foobar 1.0.2.1 and todays UPNP version, but I don`t see this option with my philips WAC7500. I have the playback stop after each song bug on it, and I would be happy to try this option.


If your WAC7500 is listed and selected  in the UPnP controller (which must be running of course), you'll find the command in foobar's Playback menu as described above.
It could be interesting if you generated a log (INFO level) showing the song advance bug (did you trigger playback from the WAC7500 itself or the UPnp Controller?).
Title: foo_upnp
Post by: thaihugo on 2010-05-07 00:03:06
If your WAC7500 is listed and selected  in the UPnP controller (which must be running of course), you'll find the command in foobar's Playback menu as described above.
It could be interesting if you generated a log (INFO level) showing the song advance bug (did you trigger playback from the WAC7500 itself or the UPnp Controller?).


I cannot see this option. I'll try to reset my settings to see if it helps

In the meantime, you can find my logfile here:

http://pastebin.com/TzHeikeh (http://pastebin.com/TzHeikeh)

The call play aroung second 348 is my action clicking on the next track button after waiting a long time at the end of the first song.
Title: foo_upnp
Post by: Borisz on 2010-05-07 14:47:19
I could reproduce the problem at home, using a wifi connection. Some audio drops with FLAC, frequent drops with PCM streaming, no problem with mp3.

I get the same problem when streaming audio from my home connection to work. Foobar2k and on both ends. FLAC has skipping at the beginning, mp3 works fine. Did not try PCM.

Definitely not a network problem, via ftp I can transfer on a stable 4mbyte/sec between the two computers, and ping is below 5ms (at absolute worst). I also have the network buffer maxed out in foobar, yet the problem persists.
Title: foo_upnp
Post by: bubbleguuum on 2010-05-07 16:15:29
I could reproduce the problem at home, using a wifi connection. Some audio drops with FLAC, frequent drops with PCM streaming, no problem with mp3.

I get the same problem when streaming audio from my home connection to work. Foobar2k and on both ends. FLAC has skipping at the beginning, mp3 works fine. Did not try PCM.

Definitely not a network problem, via ftp I can transfer on a stable 4mbyte/sec between the two computers, and ping is below 5ms (at absolute worst). I also have the network buffer maxed out in foobar, yet the problem persists.


I've fixed it, look for a new version very soon.
This issue only happens when streaming using foobar2000 as the client on Windows XP (Windows 7 and possibly Vista have no such problem).
It was indeed not directly a network or bandwith issue but due to XP not able to keep up, reading lots of small audio chunks via sockets.
Title: foo_upnp
Post by: bubbleguuum on 2010-05-07 22:02:48
New version (first post to download).

On the PS3, this release may fix regular audio drop out that some people have reported (and that I've never been able to reproduce).

Code: [Select]
0.99.24

- server: fix: audio drop out in foobar2000 on Windows XP when streaming audio served by foo_upnp server (mostly noticed for large files such as lossless or PCM). May fix drop out with other clients.

- server: fix: the server is now visible to Sony Bravia TVs, and potentially other DLNA devices. Pause/Seek on the Bravia interface is known to not work yet.

- server: new: Playback Stream Capture (PSC) can be played with any client able to play http streams (foobar2000, vlc, firefox, ...), with a special URL of the form:
http://<ip>:<port>/content/psc.<ext>. <ext> is either mp3, wav or lpcm and indicates the streaming codec used. This URL can also be accessed from the Internet by adding the login/password: http://<login>:<password>@<ip>:<port>/content/psc.<ext>. For example: http://foo:bar@12.13.14.15:56923/content/psc.mp3.
When streaming PSC as mp3 with this URL, the mp3 transcode settings for the Default profile are used.
(tip: the MP3 PSC stream URL works on the iPhone/iTouch with Safari and can be streamed in the background (just exit Safari))

- server: fix: crash on stop when playing the Playback Stream Capture playlist item in another playlist than "UPnP Controller Playback Queue"
Title: foo_upnp
Post by: zapoqx on 2010-05-07 23:03:19
I figured out why I couldn't get it to work.  I have 2 firewalls an one of which worked, but the other one of Windows Firewall didn't take into account for some reason on "Port" opening, so I had to tell it to let the entire program open.
Title: foo_upnp
Post by: Galova on 2010-05-07 23:31:18
Quote
New version (first post to download).

You might have forgot to edit the file info there
Title: foo_upnp
Post by: bubbleguuum on 2010-05-07 23:35:34
I figured out why I couldn't get it to work.  I have 2 firewalls an one of which worked, but the other one of Windows Firewall didn't take into account for some reason on "Port" opening, so I had to tell it to let the entire program open.


Glad you could make it work


Quote
New version (first post to download).

You might have forgot to edit the file info there


Thanks, fixed.
Title: foo_upnp
Post by: gaktoid on 2010-05-08 02:15:33
New version (first post to download).

On the PS3, this release may fix regular audio drop out that some people have reported (and that I've never been able to reproduce).

Nope.


What can I do to help?
Different logs?
Can I send you an mp3 to test with?

Also, is there a particular reason the %<genre>% tag is parsed differently in your plugin than Foobar?

-Gak Toid
Title: foo_upnp
Post by: war59312 on 2010-05-08 04:52:35
I am now getting this error on foobar2000 startup.

Quote
foo_upnp: 5.320: PLT_HttpTcpConnector::Connect(86)/3120: FATAL: NPT_CHECK failed, result=-1 (FAILURE) [(m_Socket->Connect(socket_address, connection_timeout))]
foo_upnp: 5.357: PLT_HttpTcpConnector::Connect(86)/2336: FATAL: NPT_CHECK failed, result=-1 (FAILURE) [(m_Socket->Connect(socket_address, connection_timeout))]
foo_upnp: 5.451: PLT_HttpTcpConnector::Connect(86)/2060: FATAL: NPT_CHECK failed, result=-1 (FAILURE) [(m_Socket->Connect(socket_address, connection_timeout))]
Here is all level log:

Code: [Select]
foo_upnp: 4.469: PLT_HttpHelper::ToLog(409)/4052: FINER: 
GET / HTTP/1.1
User-Agent: Windows Media Player Network Sharing Service/1.0
Host: 5.139.8.151:53301
Connection: Keep-Alive
foo_upnp: 4.469: PLT_DeviceHost::ProcessHttpRequest(376)/4052: FINER: PLT_DeviceHost Received Request:
foo_upnp: 4.469: PLT_HttpHelper::ToLog(409)/4052: FINER:
GET / HTTP/1.1
User-Agent: Windows Media Player Network Sharing Service/1.0
Host: 5.139.8.151:53301
Connection: Keep-Alive
foo_upnp: 4.470: PLT_DeviceHost::ProcessGetDescription(422)/4052: FINEST: Returning description to 5.199.216.40: <?xml version="1.0" encoding="UTF-8"?>
<root xmlns="urn:schemas-upnp-org:device-1-0" xmlns:dlna="urn:schemas-dlna-org:device-1-0"><specVersion><major>1</major><minor>0</minor></specVersion><device><deviceType>urn:schemas-upnp-org:device:MediaRenderer:1</deviceType><friendlyName>foobar2000 Renderer (Will)</friendlyName><manufacturer>Michael Pujos</manufacturer><manufacturerURL>http://www.hydrogenaudio.org/forums/index.php?showtopic=69664</manufacturerURL><modelDescription>foobar2000 Media Renderer</modelDescription><modelName>foobar2000 Media Renderer</modelName><modelURL>http://www.hydrogenaudio.org/forums/index.php?showtopic=69664</modelURL><modelNumber>0.99.24</modelNumber><serialNumber></serialNumber><UDN>uuid:8d704038-586e-8143-d86f-ac1b68a877fd</UDN><dlna:X_DLNADOC xmlns:dlna="urn:schemas-dlna-org:device-1-0">DMR-1.50</dlna:X_DLNADOC><iconList><icon><mimetype>image/jpeg</mimetype><width>48</width><height>48</height><depth>24</depth><url>/images/foobar2000-48x48.jpg</url></icon><icon><mimetype>image/png</mimetype><width>48</width><height>48</height><depth>24</depth><url>/images/foobar2000-48x48.png</url></icon></iconList><serviceList><service><serviceType>urn:schemas-upnp-org:service:AVTransport:1</serviceType><serviceId>urn:upnp-org:serviceId:AVTransport</serviceId><SCPDURL>/AVTransport/8d704038-586e-8143-d86f-ac1b68a877fd/scpd.xml</SCPDURL><controlURL>/AVTransport/8d704038-586e-8143-d86f-ac1b68a877fd/control.xml</controlURL><eventSubURL>/AVTransport/8d704038-586e-8143-d86f-ac1b68a877fd/event.xml</eventSubURL></service><service><serviceType>urn:schemas-upnp-org:service:ConnectionManager:1</serviceType><serviceId>urn:upnp-org:serviceId:ConnectionManager</serviceId><SCPDURL>/ConnectionManager/8d704038-586e-8143-d86f-ac1b68a877fd/scpd.xml</SCPDURL><controlURL>/ConnectionManager/8d704038-586e-8143-d86f-ac1b68a877fd/control.xml</controlURL><eventSubURL>/ConnectionManager/8d704038-586e-8143-d86f-ac1b68a877fd/event.xml</eventSubURL></service><service><serviceType>urn:schemas-upnp-org:service:RenderingControl:1</serviceType><serviceId>urn:upnp-org:serviceId:RenderingControl</serviceId><SCPDURL>/RenderingControl/8d704038-586e-8143-d86f-ac1b68a877fd/scpd.xml</SCPDURL><controlURL>/RenderingControl/8d704038-586e-8143-d86f-ac1b68a877fd/control.xml</controlURL><eventSubURL>/RenderingControl/8d704038-586e-8143-d86f-ac1b68a877fd/event.xml</eventSubURL></service></serviceList></device></root>
foo_upnp: 4.470: PLT_HttpServerSocketTask::Write(305)/4052: FINER: PLT_HttpServerTask Sending response:
foo_upnp: 4.470: PLT_HttpHelper::ToLog(495)/4052: FINER:
HTTP/1.1 200 OK
Server: Platinum/0.5.4.0
Content-Length: 2423
Content-Type: text/xml; charset="utf-8"
Connection: keep-alive
foo_upnp: 4.470: NPT_HttpHeader::Emit(118)/4052: FINEST: header Server: Platinum/0.5.4.0
foo_upnp: 4.470: NPT_HttpHeader::Emit(118)/4052: FINEST: header Content-Length: 2423
foo_upnp: 4.470: NPT_HttpHeader::Emit(118)/4052: FINEST: header Content-Type: text/xml; charset="utf-8"
foo_upnp: 4.470: NPT_HttpHeader::Emit(118)/4052: FINEST: header Connection: keep-alive
foo_upnp: 4.470: PLT_HttpServerSocketTask::Write(319)/4052: FINER: keep_alive = true, headers_only = false
foo_upnp: 4.470: PLT_HttpServerSocketTask::Write(324)/4052: FINER: NPT_StreamToStreamCopy begin
foo_upnp: 4.470: PLT_HttpServerSocketTask::Write(332)/4052: FINER: NPT_StreamToStreamCopy end
foo_upnp: 4.474: PLT_HttpServerSocketTask::Write(305)/2480: FINER: PLT_HttpServerTask Sending response:
foo_upnp: 4.474: PLT_HttpHelper::ToLog(495)/2480: FINER:
HTTP/1.1 200 OK
Server: Platinum/0.5.4.0
Connection: close
foo_upnp: 4.474: NPT_HttpHeader::Emit(118)/2480: FINEST: header Server: Platinum/0.5.4.0
foo_upnp: 4.474: NPT_HttpHeader::Emit(118)/2480: FINEST: header Connection: close
foo_upnp: 4.474: PLT_HttpServerSocketTask::Write(319)/2480: FINER: keep_alive = false, headers_only = false
foo_upnp: 4.483: NPT_Win32Thread::Start(483)/2748: FINER: creating thread
foo_upnp: 4.483: PLT_HttpListenTask<class PLT_HttpServerListener>::DoRun(156)/2748: FINE: current http task count = 8
foo_upnp: 4.484: NPT_Win32Thread::EntryPoint(450)/3272: FINER: thread in =======================
foo_upnp: 4.484: NPT_HttpRequest::Parse(592)/3272: FINEST: http request: UNSUBSCRIBE /RenderingControl/8d704038-586e-8143-d86f-ac1b68a877fd/event.xml HTTP/1.1
foo_upnp: 4.484: NPT_HttpHeaders::Parse(185)/3272: FINEST: header - Cache-Control: no-cache
foo_upnp: 4.484: NPT_HttpHeaders::Parse(185)/3272: FINEST: header - Connection: Close
foo_upnp: 4.484: NPT_HttpHeaders::Parse(185)/3272: FINEST: header - Pragma: no-cache
foo_upnp: 4.484: NPT_HttpHeaders::Parse(185)/3272: FINEST: header - User-Agent: Microsoft-Windows/6.1 UPnP/1.0
foo_upnp: 4.484: NPT_HttpHeaders::Parse(185)/3272: FINEST: header - SID: uuid:88d1a270-8518-27ab-bc87-3801544e13c8
foo_upnp: 4.484: NPT_HttpHeaders::Parse(215)/3272: FINEST: header Host: 5.139.8.151:53301
foo_upnp: 4.484: PLT_HttpServer::ProcessHttpRequest(142)/3272: FINE: Received UNSUBSCRIBE Request from 5.243.250.36 for /RenderingControl/8d704038-586e-8143-d86f-ac1b68a877fd/event.xml
foo_upnp: 4.484: PLT_HttpHelper::ToLog(409)/3272: FINER:
UNSUBSCRIBE /RenderingControl/8d704038-586e-8143-d86f-ac1b68a877fd/event.xml HTTP/1.1
Cache-Control: no-cache
Connection: Close
Pragma: no-cache
User-Agent: Microsoft-Windows/6.1 UPnP/1.0
SID: uuid:88d1a270-8518-27ab-bc87-3801544e13c8
Host: 5.139.8.151:53301
foo_upnp: 4.484: PLT_DeviceHost::ProcessHttpRequest(376)/3272: FINER: PLT_DeviceHost Received Request:
foo_upnp: 4.484: PLT_HttpHelper::ToLog(409)/3272: FINER:
UNSUBSCRIBE /RenderingControl/8d704038-586e-8143-d86f-ac1b68a877fd/event.xml HTTP/1.1
Cache-Control: no-cache
Connection: Close
Pragma: no-cache
User-Agent: Microsoft-Windows/6.1 UPnP/1.0
SID: uuid:88d1a270-8518-27ab-bc87-3801544e13c8
Host: 5.139.8.151:53301
foo_upnp: 4.484: PLT_Service::ProcessCancelSubscription(664)/3272: INFO: Cancelling subscription for RenderingControl/8d704038-586e-8143-d86f-ac1b68a877fd/event.xml (sub=uuid:88d1a270-8518-27ab-bc87-3801544e13c8)
foo_upnp: 4.484: PLT_EventSubscriber::~PLT_EventSubscriber(69)/3272: FINE: Deleting subscriber (uuid:88d1a270-8518-27ab-bc87-3801544e13c8)
foo_upnp: 4.491: PLT_HttpServerSocketTask::Write(305)/2356: FINER: PLT_HttpServerTask Sending response:
foo_upnp: 4.491: PLT_HttpHelper::ToLog(495)/2356: FINER:
HTTP/1.1 200 OK
Server: Platinum/0.5.4.0
Connection: close
foo_upnp: 4.491: NPT_HttpHeader::Emit(118)/2356: FINEST: header Server: Platinum/0.5.4.0
foo_upnp: 4.491: NPT_HttpHeader::Emit(118)/2356: FINEST: header Connection: close
foo_upnp: 4.491: PLT_HttpServerSocketTask::Write(319)/2356: FINER: keep_alive = false, headers_only = false
foo_upnp: 4.502: NPT_HttpClient::SendRequestOnce(1007)/736: FINE: requesting URL [url=http://192.168.1.194:2869/upnp/eventing/faupfcujvv]http://192.168.1.194:2869/upnp/eventing/faupfcujvv[/url]
foo_upnp: 4.502: NPT_HttpClient::SendRequestOnce(1038)/736: FINER: connecting to 192.168.1.194:2869
foo_upnp: 4.502: PLT_HttpTcpConnector::Connect(81)/736: FINER: NPT_HttpTcpConnector::Connect - will connect to 192.168.1.194:2869
foo_upnp: 4.531: PLT_HttpServerSocketTask::Write(305)/3272: FINER: PLT_HttpServerTask Sending response:
foo_upnp: 4.531: PLT_HttpHelper::ToLog(495)/3272: FINER:
HTTP/1.1 200 OK
Server: Platinum/0.5.4.0
Connection: close
foo_upnp: 4.531: NPT_HttpHeader::Emit(118)/3272: FINEST: header Server: Platinum/0.5.4.0
foo_upnp: 4.531: NPT_HttpHeader::Emit(118)/3272: FINEST: header Connection: close
foo_upnp: 4.531: PLT_HttpServerSocketTask::Write(319)/3272: FINER: keep_alive = false, headers_only = false
foo_upnp: 4.585: NPT_HttpClient::SendRequestOnce(1007)/2176: FINE: requesting URL [url=http://192.168.1.194:2869/upnp/eventing/gbvxzqjcbf]http://192.168.1.194:2869/upnp/eventing/gbvxzqjcbf[/url]
foo_upnp: 4.585: NPT_HttpClient::SendRequestOnce(1038)/2176: FINER: connecting to 192.168.1.194:2869
foo_upnp: 4.585: PLT_HttpTcpConnector::Connect(81)/2176: FINER: NPT_HttpTcpConnector::Connect - will connect to 192.168.1.194:2869
foo_upnp: 4.798: NPT_Win32Thread::Start(483)/2748: FINER: creating thread
foo_upnp: 4.798: PLT_HttpListenTask<class PLT_HttpServerListener>::DoRun(156)/2748: FINE: current http task count = 7
foo_upnp: 4.799: NPT_Win32Thread::EntryPoint(450)/1860: FINER: thread in =======================
foo_upnp: 4.799: NPT_HttpRequest::Parse(592)/1860: FINEST: http request: UNSUBSCRIBE /AVTransport/8d704038-586e-8143-d86f-ac1b68a877fd/event.xml HTTP/1.1
foo_upnp: 4.799: NPT_HttpHeaders::Parse(185)/1860: FINEST: header - Cache-Control: no-cache
foo_upnp: 4.799: NPT_HttpHeaders::Parse(185)/1860: FINEST: header - Connection: Close
foo_upnp: 4.799: NPT_HttpHeaders::Parse(185)/1860: FINEST: header - Pragma: no-cache
foo_upnp: 4.799: NPT_HttpHeaders::Parse(185)/1860: FINEST: header - User-Agent: Microsoft-Windows/6.1 UPnP/1.0
foo_upnp: 4.799: NPT_HttpHeaders::Parse(185)/1860: FINEST: header - SID: uuid:5232a69c-b9e3-9616-8287-2c0fc6229a75
foo_upnp: 4.799: NPT_HttpHeaders::Parse(215)/1860: FINEST: header Host: 192.168.1.125:53301
foo_upnp: 4.799: PLT_HttpServer::ProcessHttpRequest(142)/1860: FINE: Received UNSUBSCRIBE Request from 192.168.1.194 for /AVTransport/8d704038-586e-8143-d86f-ac1b68a877fd/event.xml
foo_upnp: 4.799: PLT_HttpHelper::ToLog(409)/1860: FINER:
UNSUBSCRIBE /AVTransport/8d704038-586e-8143-d86f-ac1b68a877fd/event.xml HTTP/1.1
Cache-Control: no-cache
Connection: Close
Pragma: no-cache
User-Agent: Microsoft-Windows/6.1 UPnP/1.0
SID: uuid:5232a69c-b9e3-9616-8287-2c0fc6229a75
Host: 192.168.1.125:53301
foo_upnp: 4.799: PLT_DeviceHost::ProcessHttpRequest(376)/1860: FINER: PLT_DeviceHost Received Request:
foo_upnp: 4.799: PLT_HttpHelper::ToLog(409)/1860: FINER:
UNSUBSCRIBE /AVTransport/8d704038-586e-8143-d86f-ac1b68a877fd/event.xml HTTP/1.1
Cache-Control: no-cache
Connection: Close
Pragma: no-cache
User-Agent: Microsoft-Windows/6.1 UPnP/1.0
SID: uuid:5232a69c-b9e3-9616-8287-2c0fc6229a75
Host: 192.168.1.125:53301
foo_upnp: 4.799: PLT_Service::ProcessCancelSubscription(664)/1860: INFO: Cancelling subscription for AVTransport/8d704038-586e-8143-d86f-ac1b68a877fd/event.xml (sub=uuid:5232a69c-b9e3-9616-8287-2c0fc6229a75)
foo_upnp: 4.799: PLT_EventSubscriber::~PLT_EventSubscriber(69)/1860: FINE: Deleting subscriber (uuid:5232a69c-b9e3-9616-8287-2c0fc6229a75)
foo_upnp: 4.800: PLT_HttpTcpConnector::Connect(86)/2308: FATAL: NPT_CHECK failed, result=-1 (FAILURE) [(m_Socket->Connect(socket_address, connection_timeout))]
foo_upnp: 4.800: NPT_HttpClient::SendRequestOnce(1045)/2308: WARNING: NPT_CHECK failed, result=-1 (FAILURE) [(m_Connector->Connect(server_hostname, server_port, m_Config.m_ConnectionTimeout, m_Config.m_IoTimeout, m_Config.m_NameResolverTimeout, input_stream, output_stream))]
foo_upnp: 4.800: PLT_HttpClientSocketTask::DoRun(233)/2308: FINER: PLT_HttpClientSocketTask receiving: res = -1
foo_upnp: 4.800: PLT_HttpHelper::ToLog(483)/2308: FINER: NULL HTTP Response!
foo_upnp: 4.800: PLT_HttpClientSocketTask::ProcessResponse(289)/2308: FINE: PLT_HttpClientSocketTask::ProcessResponse (result=-1)
foo_upnp: 4.800: PLT_HttpClientSocketTask::ProcessResponse(290)/2308: WARNING: NPT_CHECK failed, result=-1 (FAILURE) [(res)]
foo_upnp: 4.800: PLT_HttpClientSocketTask::DoRun(249)/2308: WARNING: NPT_CHECK failed, result=-20401 (NPT_ERROR_CONNECTION_ABORTED) [(SetConnector(0))]
foo_upnp: 4.800: PLT_HttpServerSocketTask::Write(305)/1860: FINER: PLT_HttpServerTask Sending response:
foo_upnp: 4.800: PLT_HttpHelper::ToLog(495)/1860: FINER:
HTTP/1.1 200 OK
Server: Platinum/0.5.4.0
Connection: close
foo_upnp: 4.800: NPT_HttpHeader::Emit(118)/1860: FINEST: header Server: Platinum/0.5.4.0
foo_upnp: 4.800: NPT_HttpHeader::Emit(118)/1860: FINEST: header Connection: close
foo_upnp: 4.800: PLT_HttpServerSocketTask::Write(319)/1860: FINER: keep_alive = false, headers_only = false
foo_upnp: 4.836: NPT_Win32Thread::Start(483)/3844: FINER: creating thread
foo_upnp: 4.836: PLT_HttpListenTask<class PLT_HttpServerListener>::DoRun(156)/3844: FINE: current http task count = 3
foo_upnp: 4.837: NPT_Win32Thread::EntryPoint(450)/1532: FINER: thread in =======================
foo_upnp: 4.837: NPT_HttpRequest::Parse(592)/1532: FINEST: http request: GET /DeviceDescription.xml HTTP/1.1
foo_upnp: 4.837: NPT_HttpHeaders::Parse(185)/1532: FINEST: header - Cache-Control: no-cache
foo_upnp: 4.837: NPT_HttpHeaders::Parse(185)/1532: FINEST: header - Connection: Close
foo_upnp: 4.837: NPT_HttpHeaders::Parse(185)/1532: FINEST: header - Pragma: no-cache
foo_upnp: 4.837: NPT_HttpHeaders::Parse(185)/1532: FINEST: header - Accept: text/xml, application/xml
foo_upnp: 4.837: NPT_HttpHeaders::Parse(185)/1532: FINEST: header - Host: 5.139.8.151:56923
foo_upnp: 4.837: NPT_HttpHeaders::Parse(215)/1532: FINEST: header User-Agent: Microsoft-Windows/6.1 UPnP/1.0 Windows-Media-Player-DMS/12.0.7600.16385 DLNADOC/1.50
foo_upnp: 4.837: PLT_HttpServer::ProcessHttpRequest(142)/1532: FINE: Received GET Request from 5.243.250.36 for /DeviceDescription.xml
foo_upnp: 4.837: PLT_HttpHelper::ToLog(409)/1532: FINER:
GET /DeviceDescription.xml HTTP/1.1
Cache-Control: no-cache
Connection: Close
Pragma: no-cache
Accept: text/xml, application/xml
Host: 5.139.8.151:56923
User-Agent: Microsoft-Windows/6.1 UPnP/1.0 Windows-Media-Player-DMS/12.0.7600.16385 DLNADOC/1.50
foo_upnp: 4.838: FbMediaServer::ProcessHttpRequest(265)/1532: INFO: received LAN request: [url=http://5.139.8.151:56923/DeviceDescription.xml]http://5.139.8.151:56923/DeviceDescription.xml[/url] (User-Agent: Microsoft-Windows/6.1 UPnP/1.0 Windows-Media-Player-DMS/12.0.7600.16385 DLNADOC/1.50)
foo_upnp: 4.838: PLT_DeviceHost::ProcessHttpRequest(376)/1532: FINER: PLT_DeviceHost Received Request:
foo_upnp: 4.838: PLT_HttpHelper::ToLog(409)/1532: FINER:
GET /DeviceDescription.xml HTTP/1.1
Cache-Control: no-cache
Connection: Close
Pragma: no-cache
Accept: text/xml, application/xml
Host: 5.139.8.151:56923
User-Agent: Microsoft-Windows/6.1 UPnP/1.0 Windows-Media-Player-DMS/12.0.7600.16385 DLNADOC/1.50
foo_upnp: 4.838: FbMediaServer::ProcessGetDescription(333)/1532: INFO: ProcessGetDescription: user-agent: Microsoft-Windows/6.1 UPnP/1.0 Windows-Media-Player-DMS/12.0.7600.16385 DLNADOC/1.50
foo_upnp: 4.838: PLT_DeviceHost::ProcessGetDescription(422)/1532: FINEST: Returning description to 5.243.250.36: <?xml version="1.0" encoding="UTF-8"?>
<root xmlns="urn:schemas-upnp-org:device-1-0" xmlns:dlna="urn:schemas-dlna-org:device-1-0"><specVersion><major>1</major><minor>0</minor></specVersion><device><deviceType>urn:schemas-upnp-org:device:MediaServer:1</deviceType><friendlyName>Will</friendlyName><manufacturer>Michael Pujos</manufacturer><manufacturerURL>http://www.hydrogenaudio.org/forums/index.php?showtopic=69664</manufacturerURL><modelDescription>foobar2000 Media Server</modelDescription><modelName>foobar2000 Media Server</modelName><modelURL>http://www.hydrogenaudio.org/forums/index.php?showtopic=69664</modelURL><modelNumber>0.99.24</modelNumber><serialNumber></serialNumber><UDN>uuid:92b8f19e-35f9-2ee8-7c6b-9c28f6401a09</UDN><dlna:X_DLNADOC xmlns:dlna="urn:schemas-dlna-org:device-1-0">DMS-1.50</dlna:X_DLNADOC><iconList><icon><mimetype>image/jpeg</mimetype><width>48</width><height>48</height><depth>24</depth><url>/images/foobar2000-48x48.jpg</url></icon><icon><mimetype>image/png</mimetype><width>48</width><height>48</height><depth>32</depth><url>/images/foobar2000-48x48.png</url></icon></iconList><serviceList><service><serviceType>urn:schemas-upnp-org:service:ContentDirectory:1</serviceType><serviceId>urn:upnp-org:serviceId:ContentDirectory</serviceId><SCPDURL>/ContentDirectory/92b8f19e-35f9-2ee8-7c6b-9c28f6401a09/scpd.xml</SCPDURL><controlURL>/ContentDirectory/92b8f19e-35f9-2ee8-7c6b-9c28f6401a09/control.xml</controlURL><eventSubURL>/ContentDirectory/92b8f19e-35f9-2ee8-7c6b-9c28f6401a09/event.xml</eventSubURL></service><service><serviceType>urn:schemas-upnp-org:service:ConnectionManager:1</serviceType><serviceId>urn:upnp-org:serviceId:ConnectionManager</serviceId><SCPDURL>/ConnectionManager/92b8f19e-35f9-2ee8-7c6b-9c28f6401a09/scpd.xml</SCPDURL><controlURL>/ConnectionManager/92b8f19e-35f9-2ee8-7c6b-9c28f6401a09/control.xml</controlURL><eventSubURL>/ConnectionManager/92b8f19e-35f9-2ee8-7c6b-9c28f6401a09/event.xml</eventSubURL></service><service><serviceType>urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1</serviceType><serviceId>urn:microsoft.com:serviceId:X_MS_MediaReceiverRegistrar</serviceId><SCPDURL>/X_MS_MediaReceiverRegistrar/92b8f19e-35f9-2ee8-7c6b-9c28f6401a09/scpd.xml</SCPDURL><controlURL>/X_MS_MediaReceiverRegistrar/92b8f19e-35f9-2ee8-7c6b-9c28f6401a09/control.xml</controlURL><eventSubURL>/X_MS_MediaReceiverRegistrar/92b8f19e-35f9-2ee8-7c6b-9c28f6401a09/event.xml</eventSubURL></service></serviceList></device></root>
foo_upnp: 4.838: PLT_HttpServerSocketTask::Write(305)/1532: FINER: PLT_HttpServerTask Sending response:
foo_upnp: 4.838: PLT_HttpHelper::ToLog(495)/1532: FINER:
HTTP/1.1 200 OK
Server: Platinum/0.5.4.0
Content-Length: 2477
Content-Type: text/xml; charset="utf-8"
Connection: close
foo_upnp: 4.838: NPT_HttpHeader::Emit(118)/1532: FINEST: header Server: Platinum/0.5.4.0
foo_upnp: 4.838: NPT_HttpHeader::Emit(118)/1532: FINEST: header Content-Length: 2477
foo_upnp: 4.838: NPT_HttpHeader::Emit(118)/1532: FINEST: header Content-Type: text/xml; charset="utf-8"
foo_upnp: 4.838: NPT_HttpHeader::Emit(118)/1532: FINEST: header Connection: close
foo_upnp: 4.838: PLT_HttpServerSocketTask::Write(319)/1532: FINER: keep_alive = false, headers_only = false
foo_upnp: 4.839: PLT_HttpServerSocketTask::Write(324)/1532: FINER: NPT_StreamToStreamCopy begin
foo_upnp: 4.839: PLT_HttpServerSocketTask::Write(332)/1532: FINER: NPT_StreamToStreamCopy end
foo_upnp: 4.872: NPT_Win32Thread::Start(483)/3844: FINER: creating thread
foo_upnp: 4.873: PLT_HttpListenTask<class PLT_HttpServerListener>::DoRun(156)/3844: FINE: current http task count = 3
foo_upnp: 4.873: NPT_Win32Thread::EntryPoint(450)/3008: FINER: thread in =======================
foo_upnp: 4.874: NPT_HttpRequest::Parse(592)/3008: FINEST: http request: GET /images/foobar2000-48x48.png HTTP/1.1
foo_upnp: 4.874: NPT_HttpHeaders::Parse(185)/3008: FINEST: header - Connection: Keep-Alive
foo_upnp: 4.874: NPT_HttpHeaders::Parse(185)/3008: FINEST: header - User-Agent: Windows-Media-Player-DMS/12.0.7600.16385
foo_upnp: 4.874: NPT_HttpHeaders::Parse(215)/3008: FINEST: header Host: 5.139.8.151:56923
foo_upnp: 4.874: PLT_HttpServer::ProcessHttpRequest(142)/3008: FINE: Received GET Request from 5.243.250.36 for /images/foobar2000-48x48.png
foo_upnp: 4.874: PLT_HttpHelper::ToLog(409)/3008: FINER:
GET /images/foobar2000-48x48.png HTTP/1.1
Connection: Keep-Alive
User-Agent: Windows-Media-Player-DMS/12.0.7600.16385
Host: 5.139.8.151:56923
foo_upnp: 4.874: PLT_HttpServerSocketTask::Write(305)/3008: FINER: PLT_HttpServerTask Sending response:
foo_upnp: 4.874: PLT_HttpHelper::ToLog(495)/3008: FINER:
HTTP/1.1 200 OK
Server: Platinum/0.5.4.0
Connection: keep-alive
Content-Length: 1741
Content-Type: image/png
foo_upnp: 4.874: NPT_HttpHeader::Emit(118)/3008: FINEST: header Server: Platinum/0.5.4.0
foo_upnp: 4.874: NPT_HttpHeader::Emit(118)/3008: FINEST: header Connection: keep-alive
foo_upnp: 4.874: NPT_HttpHeader::Emit(118)/3008: FINEST: header Content-Length: 1741
foo_upnp: 4.874: NPT_HttpHeader::Emit(118)/3008: FINEST: header Content-Type: image/png
foo_upnp: 4.874: PLT_HttpServerSocketTask::Write(319)/3008: FINER: keep_alive = true, headers_only = false
foo_upnp: 4.874: PLT_HttpServerSocketTask::Write(324)/3008: FINER: NPT_StreamToStreamCopy begin
foo_upnp: 4.874: PLT_HttpServerSocketTask::Write(332)/3008: FINER: NPT_StreamToStreamCopy end
foo_upnp: 4.877: NPT_Win32Thread::Start(483)/2748: FINER: creating thread
foo_upnp: 4.877: PLT_HttpListenTask<class PLT_HttpServerListener>::DoRun(156)/2748: FINE: current http task count = 7
foo_upnp: 4.877: NPT_Win32Thread::EntryPoint(450)/332: FINER: thread in =======================
foo_upnp: 4.878: NPT_HttpRequest::Parse(592)/332: FINEST: http request: UNSUBSCRIBE /ConnectionManager/8d704038-586e-8143-d86f-ac1b68a877fd/event.xml HTTP/1.1
foo_upnp: 4.878: NPT_HttpHeaders::Parse(185)/332: FINEST: header - Cache-Control: no-cache
foo_upnp: 4.878: NPT_HttpHeaders::Parse(185)/332: FINEST: header - Connection: Close
foo_upnp: 4.878: NPT_HttpHeaders::Parse(185)/332: FINEST: header - Pragma: no-cache
foo_upnp: 4.878: NPT_HttpHeaders::Parse(185)/332: FINEST: header - User-Agent: Microsoft-Windows/6.1 UPnP/1.0
foo_upnp: 4.878: NPT_HttpHeaders::Parse(185)/332: FINEST: header - SID: uuid:a6773bda-8af2-70d0-5714-727c6ce7ccff
foo_upnp: 4.878: NPT_HttpHeaders::Parse(215)/332: FINEST: header Host: 192.168.1.125:53301
foo_upnp: 4.878: PLT_HttpServer::ProcessHttpRequest(142)/332: FINE: Received UNSUBSCRIBE Request from 192.168.1.194 for /ConnectionManager/8d704038-586e-8143-d86f-ac1b68a877fd/event.xml
foo_upnp: 4.878: PLT_HttpHelper::ToLog(409)/332: FINER:
UNSUBSCRIBE /ConnectionManager/8d704038-586e-8143-d86f-ac1b68a877fd/event.xml HTTP/1.1
Cache-Control: no-cache
Connection: Close
Pragma: no-cache
User-Agent: Microsoft-Windows/6.1 UPnP/1.0
SID: uuid:a6773bda-8af2-70d0-5714-727c6ce7ccff
Host: 192.168.1.125:53301
foo_upnp: 4.878: PLT_DeviceHost::ProcessHttpRequest(376)/332: FINER: PLT_DeviceHost Received Request:
foo_upnp: 4.878: PLT_HttpHelper::ToLog(409)/332: FINER:
UNSUBSCRIBE /ConnectionManager/8d704038-586e-8143-d86f-ac1b68a877fd/event.xml HTTP/1.1
Cache-Control: no-cache
Connection: Close
Pragma: no-cache
User-Agent: Microsoft-Windows/6.1 UPnP/1.0
SID: uuid:a6773bda-8af2-70d0-5714-727c6ce7ccff
Host: 192.168.1.125:53301
foo_upnp: 4.878: PLT_Service::ProcessCancelSubscription(664)/332: INFO: Cancelling subscription for ConnectionManager/8d704038-586e-8143-d86f-ac1b68a877fd/event.xml (sub=uuid:a6773bda-8af2-70d0-5714-727c6ce7ccff)
foo_upnp: 4.878: PLT_EventSubscriber::~PLT_EventSubscriber(69)/332: FINE: Deleting subscriber (uuid:a6773bda-8af2-70d0-5714-727c6ce7ccff)
foo_upnp: 4.878: PLT_HttpTcpConnector::Connect(86)/736: FATAL: NPT_CHECK failed, result=-1 (FAILURE) [(m_Socket->Connect(socket_address, connection_timeout))]
foo_upnp: 4.878: NPT_HttpClient::SendRequestOnce(1045)/736: WARNING: NPT_CHECK failed, result=-1 (FAILURE) [(m_Connector->Connect(server_hostname, server_port, m_Config.m_ConnectionTimeout, m_Config.m_IoTimeout, m_Config.m_NameResolverTimeout, input_stream, output_stream))]
foo_upnp: 4.878: PLT_HttpClientSocketTask::DoRun(233)/736: FINER: PLT_HttpClientSocketTask receiving: res = -1
foo_upnp: 4.878: PLT_HttpHelper::ToLog(483)/736: FINER: NULL HTTP Response!
foo_upnp: 4.879: PLT_HttpClientSocketTask::ProcessResponse(289)/736: FINE: PLT_HttpClientSocketTask::ProcessResponse (result=-1)
foo_upnp: 4.879: PLT_HttpClientSocketTask::ProcessResponse(290)/736: WARNING: NPT_CHECK failed, result=-1 (FAILURE) [(res)]
foo_upnp: 4.879: PLT_HttpClientSocketTask::DoRun(249)/736: WARNING: NPT_CHECK failed, result=-20401 (NPT_ERROR_CONNECTION_ABORTED) [(SetConnector(0))]
foo_upnp: 4.879: PLT_HttpServerSocketTask::Write(305)/332: FINER: PLT_HttpServerTask Sending response:
foo_upnp: 4.879: PLT_HttpHelper::ToLog(495)/332: FINER:
HTTP/1.1 200 OK
Server: Platinum/0.5.4.0
Connection: close
foo_upnp: 4.879: NPT_HttpHeader::Emit(118)/332: FINEST: header Server: Platinum/0.5.4.0
foo_upnp: 4.879: NPT_HttpHeader::Emit(118)/332: FINEST: header Connection: close
foo_upnp: 4.879: PLT_HttpServerSocketTask::Write(319)/332: FINER: keep_alive = false, headers_only = false
foo_upnp: 4.959: NPT_Win32Thread::Start(483)/2748: FINER: creating thread
foo_upnp: 4.959: PLT_HttpListenTask<class PLT_HttpServerListener>::DoRun(156)/2748: FINE: current http task count = 7
foo_upnp: 4.960: NPT_Win32Thread::EntryPoint(450)/1472: FINER: thread in =======================
foo_upnp: 4.960: NPT_HttpRequest::Parse(592)/1472: FINEST: http request: UNSUBSCRIBE /RenderingControl/8d704038-586e-8143-d86f-ac1b68a877fd/event.xml HTTP/1.1
foo_upnp: 4.960: NPT_HttpHeaders::Parse(185)/1472: FINEST: header - Cache-Control: no-cache
foo_upnp: 4.960: NPT_HttpHeaders::Parse(185)/1472: FINEST: header - Connection: Close
foo_upnp: 4.960: NPT_HttpHeaders::Parse(185)/1472: FINEST: header - Pragma: no-cache
foo_upnp: 4.960: NPT_HttpHeaders::Parse(185)/1472: FINEST: header - User-Agent: Microsoft-Windows/6.1 UPnP/1.0
foo_upnp: 4.960: NPT_HttpHeaders::Parse(185)/1472: FINEST: header - SID: uuid:de3be460-f9ad-0040-26ed-c69ef948c2e0
foo_upnp: 4.960: NPT_HttpHeaders::Parse(215)/1472: FINEST: header Host: 192.168.1.125:53301
foo_upnp: 4.960: PLT_HttpServer::ProcessHttpRequest(142)/1472: FINE: Received UNSUBSCRIBE Request from 192.168.1.194 for /RenderingControl/8d704038-586e-8143-d86f-ac1b68a877fd/event.xml
foo_upnp: 4.960: PLT_HttpHelper::ToLog(409)/1472: FINER:
UNSUBSCRIBE /RenderingControl/8d704038-586e-8143-d86f-ac1b68a877fd/event.xml HTTP/1.1
Cache-Control: no-cache
Connection: Close
Pragma: no-cache
User-Agent: Microsoft-Windows/6.1 UPnP/1.0
SID: uuid:de3be460-f9ad-0040-26ed-c69ef948c2e0
Host: 192.168.1.125:53301
foo_upnp: 4.960: PLT_DeviceHost::ProcessHttpRequest(376)/1472: FINER: PLT_DeviceHost Received Request:
foo_upnp: 4.960: PLT_HttpHelper::ToLog(409)/1472: FINER:
UNSUBSCRIBE /RenderingControl/8d704038-586e-8143-d86f-ac1b68a877fd/event.xml HTTP/1.1
Cache-Control: no-cache
Connection: Close
Pragma: no-cache
User-Agent: Microsoft-Windows/6.1 UPnP/1.0
SID: uuid:de3be460-f9ad-0040-26ed-c69ef948c2e0
Host: 192.168.1.125:53301
foo_upnp: 4.960: PLT_Service::ProcessCancelSubscription(664)/1472: INFO: Cancelling subscription for RenderingControl/8d704038-586e-8143-d86f-ac1b68a877fd/event.xml (sub=uuid:de3be460-f9ad-0040-26ed-c69ef948c2e0)
foo_upnp: 4.961: PLT_EventSubscriber::~PLT_EventSubscriber(69)/1472: FINE: Deleting subscriber (uuid:de3be460-f9ad-0040-26ed-c69ef948c2e0)
foo_upnp: 4.961: PLT_HttpTcpConnector::Connect(86)/2176: FATAL: NPT_CHECK failed, result=-1 (FAILURE) [(m_Socket->Connect(socket_address, connection_timeout))]
foo_upnp: 4.961: NPT_HttpClient::SendRequestOnce(1045)/2176: WARNING: NPT_CHECK failed, result=-1 (FAILURE) [(m_Connector->Connect(server_hostname, server_port, m_Config.m_ConnectionTimeout, m_Config.m_IoTimeout, m_Config.m_NameResolverTimeout, input_stream, output_stream))]
foo_upnp: 4.961: PLT_HttpClientSocketTask::DoRun(233)/2176: FINER: PLT_HttpClientSocketTask receiving: res = -1
foo_upnp: 4.961: PLT_HttpHelper::ToLog(483)/2176: FINER: NULL HTTP Response!
foo_upnp: 4.961: PLT_HttpClientSocketTask::ProcessResponse(289)/2176: FINE: PLT_HttpClientSocketTask::ProcessResponse (result=-1)
foo_upnp: 4.961: PLT_HttpClientSocketTask::ProcessResponse(290)/2176: WARNING: NPT_CHECK failed, result=-1 (FAILURE) [(res)]
foo_upnp: 4.961: PLT_HttpClientSocketTask::DoRun(249)/2176: WARNING: NPT_CHECK failed, result=-20401 (NPT_ERROR_CONNECTION_ABORTED) [(SetConnector(0))]
foo_upnp: 4.961: PLT_HttpServerSocketTask::Write(305)/1472: FINER: PLT_HttpServerTask Sending response:
foo_upnp: 4.962: PLT_HttpHelper::ToLog(495)/1472: FINER:
HTTP/1.1 200 OK
Server: Platinum/0.5.4.0
Connection: close
foo_upnp: 4.962: NPT_HttpHeader::Emit(118)/1472: FINEST: header Server: Platinum/0.5.4.0
foo_upnp: 4.962: NPT_HttpHeader::Emit(118)/1472: FINEST: header Connection: close
foo_upnp: 4.962: PLT_HttpServerSocketTask::Write(319)/1472: FINER: keep_alive = false, headers_only = false
Title: foo_upnp
Post by: eightfold on 2010-05-08 05:15:01
On the PS3, this release may fix regular audio drop out that some people have reported (and that I've never been able to reproduce).
Wow! Whatever you did to fix it this, it certainly worked! Thanks a lot, bubbleguum!

Edit:
The new version seems to have broken the playback stream capture feature. I get an error saying "Media Server Error: An HTTP error (416) has occured." No biggie for me, but I thought I'd report it. If you like, I can capture the log file and post it.
Title: foo_upnp
Post by: bubbleguuum on 2010-05-08 08:42:28
Can I send you an mp3 to test with?


Yes you can send this particular mp3 (bubbleguum@free.fr). For some reason, some audio at the end is not sent to the PS3 and the PS3 will reclaim it over and over
for some time, until it fallbacks to next song.

Also, is there a particular reason the %<genre>% tag is parsed differently in your plugin than Foobar?

Forgot that one, I'll fix it in the next verstion.



I am now getting this error on foobar2000 startup.


What is the problem exactly and can you repost a log with INFO level only ?


The new version seems to have broken the playback stream capture feature. I get an error saying "Media Server Error: An HTTP error (416) has occured." No biggie for me, but I thought I'd report it. If you like, I can capture the log file and post it.


This could happen if you were trying to play PSC as a MP3 stream (not supported on the PS3). Check your "Playstation 3" profile and verify that PSC is configured to stream as LPCM.
Title: foo_upnp
Post by: eightfold on 2010-05-08 16:41:12
This could happen if you were trying to play PSC as a MP3 stream (not supported on the PS3). Check your "Playstation 3" profile and verify that PSC is configured to stream as LPCM.
I checked the setting and it was configured to stream as LPCM. I deleted the settings file when I updated to the new version and that's what it had as the default.
Title: foo_upnp
Post by: wdekler on 2010-05-09 10:24:03
When I navigate with my Soundbridge M1001 I used to be able (with WMP) to jump the list alphabetically. Also, the Soundbridge  displayed the current letter selected in the top right corner.

When using foo_upnp this feature doesn't work, there's no letter in the top right corner and jumping seems to jump a fixed amount of entries instead of navigating to the next letter.

I hope that a newer version of foo_upnp can implement this feature as well...! 


Here's a the log complete with some jump commands:


Code: [Select]
0.2: foo_upnp::on_init(119)/9024: INFO: foo_upnp: version 0.99.23.2
0.148: path_registry::populate(57)/9024: INFO: created 7932 path registry entries in 0.144s
0.151: NPT_File::Load(240)/9024: INFO: Opening C:\Users\admin\AppData\Roaming\foobar2000\foo_upnp_ml_tree.xml
0.151: NPT_File::Load(250)/9024: INFO: Opened C:\Users\admin\AppData\Roaming\foobar2000\foo_upnp_ml_tree.xml
0.151: standard_media_tree_root_node_t::load_ml_filters(482)/9024: INFO: loaded Media Library filters from C:\Users\admin\AppData\Roaming\foobar2000\foo_upnp_ml_tree.xml
0.152: PLT_UPnP::Start(211)/9024: INFO: Starting UPnP...
0.154: PLT_HttpServer::Start(109)/9024: INFO: HttpServer listening on 0.0.0.0:56923
2.183: LoadBrowseTreeTask::DoRun(84)/8280: INFO: loaded 1 nodes in 0.031s
2.963: LoadBrowseTreeTask::DoRun(84)/4920: INFO: loaded 1 nodes in 0.811s
17.464: FbMediaServer::ProcessHttpRequest(255)/9692: INFO: received LAN request: http://192.168.1.5:56923/X_MS_MediaReceiverRegistrar/8932f1a3-5a27-6d95-ebb8-aa9c9b102890/control.xml (User-Agent: Allegro-Software-WebClient/4.32)
17.465: FbMediaServer::OnAction(197)/9692: INFO: received action 'IsAuthorized', args = { DeviceID= }
17.465: FbMediaServer::OnAction(214)/9692: INFO: action 'IsAuthorized' response: args = { DeviceID=,  }
17.734: FbMediaServer::ProcessHttpRequest(255)/2368: INFO: received LAN request: http://192.168.1.5:56923/ContentDirectory/8932f1a3-5a27-6d95-ebb8-aa9c9b102890/control.xml (User-Agent: Allegro-Software-WebClient/4.32)
17.735: FbMediaServer::OnAction(197)/2368: INFO: received action 'GetSearchCapabilities', args = {  }
17.735: FbMediaServer::OnAction(214)/2368: INFO: action 'GetSearchCapabilities' response: args = { SearchCaps= }
17.746: FbMediaServer::ProcessHttpRequest(255)/8684: INFO: received LAN request: http://192.168.1.5:56923/X_MS_MediaReceiverRegistrar/8932f1a3-5a27-6d95-ebb8-aa9c9b102890/event.xml (User-Agent: Allegro-Software-WebClient/4.32)
17.746: PLT_Service::ProcessNewSubscription(534)/8684: INFO: New subscription for X_MS_MediaReceiverRegistrar/8932f1a3-5a27-6d95-ebb8-aa9c9b102890/event.xml, sid=uuid:83e5c16f-a2e0-9191-ba69-fd1b83f1d4a8
17.754: FbMediaServer::ProcessHttpRequest(255)/6452: INFO: received LAN request: http://192.168.1.5:56923/X_MS_MediaReceiverRegistrar/8932f1a3-5a27-6d95-ebb8-aa9c9b102890/control.xml (User-Agent: Allegro-Software-WebClient/4.32)
17.754: FbMediaServer::OnAction(197)/6452: INFO: received action 'IsValidated', args = { DeviceID= }
17.754: FbMediaServer::OnAction(214)/6452: INFO: action 'IsValidated' response: args = { DeviceID=,  }
18.424: FbMediaServer::ProcessHttpRequest(255)/5196: INFO: received LAN request: http://192.168.1.5:56923/X_MS_MediaReceiverRegistrar/8932f1a3-5a27-6d95-ebb8-aa9c9b102890/control.xml (User-Agent: Allegro-Software-WebClient/4.32)
18.425: FbMediaServer::OnAction(197)/5196: INFO: received action 'IsValidated', args = { DeviceID= }
18.425: FbMediaServer::OnAction(214)/5196: INFO: action 'IsValidated' response: args = { DeviceID=,  }
20.664: FbMediaServer::ProcessHttpRequest(255)/5392: INFO: received LAN request: http://192.168.1.5:56923/ContentDirectory/8932f1a3-5a27-6d95-ebb8-aa9c9b102890/control.xml (User-Agent: Allegro-Software-WebClient/4.32)
20.665: FbMediaServer::OnAction(197)/5392: INFO: received action 'Browse', args = { ObjectID=0, BrowseFlag=BrowseDirectChildren, Filter=dc:title,upnp:class,res,res@protocolInfo,res@protection,@refID, StartingIndex=0, RequestedCount=400, SortCriteria= }
20.665: PLT_MediaServer::OnBrowse(380)/5392: INFO: Received BrowseDirectChildren from 192.168.1.10 for id = 0 with filter = dc:title,upnp:class,res,res@protocolInfo,res@protection,@refID, start = 0, count = 400
20.665: FbMediaServer::OnAction(214)/5392: INFO: action 'Browse' response: args = { ObjectID=0, BrowseFlag=BrowseDirectChildren, Filter=dc:title,upnp:class,res,res@protocolInfo,res@protection,@refID, StartingIndex=0, RequestedCount=400, SortCriteria=, NumberReturned=2, TotalMatches=2, UpdateID=0 }
22.774: FbMediaServer::ProcessHttpRequest(255)/11248: INFO: received LAN request: http://192.168.1.5:56923/ContentDirectory/8932f1a3-5a27-6d95-ebb8-aa9c9b102890/control.xml (User-Agent: Allegro-Software-WebClient/4.32)
22.775: FbMediaServer::OnAction(197)/11248: INFO: received action 'Browse', args = { ObjectID=0/1, BrowseFlag=BrowseDirectChildren, Filter=dc:title,upnp:class,res,res@protocolInfo,res@protection,@refID, StartingIndex=0, RequestedCount=400, SortCriteria= }
22.775: PLT_MediaServer::OnBrowse(380)/11248: INFO: Received BrowseDirectChildren from 192.168.1.10 for id = 0/1 with filter = dc:title,upnp:class,res,res@protocolInfo,res@protection,@refID, start = 0, count = 400
22.775: FbMediaServer::OnAction(214)/11248: INFO: action 'Browse' response: args = { ObjectID=0/1, BrowseFlag=BrowseDirectChildren, Filter=dc:title,upnp:class,res,res@protocolInfo,res@protection,@refID, StartingIndex=0, RequestedCount=400, SortCriteria=, NumberReturned=8, TotalMatches=8, UpdateID=0 }
24.535: FbMediaServer::ProcessHttpRequest(255)/10972: INFO: received LAN request: http://192.168.1.5:56923/ContentDirectory/8932f1a3-5a27-6d95-ebb8-aa9c9b102890/control.xml (User-Agent: Allegro-Software-WebClient/4.32)
24.536: FbMediaServer::OnAction(197)/10972: INFO: received action 'Browse', args = { ObjectID=0/1/1, BrowseFlag=BrowseDirectChildren, Filter=dc:title,upnp:class,res,res@protocolInfo,res@protection,@refID, StartingIndex=0, RequestedCount=400, SortCriteria= }
24.536: PLT_MediaServer::OnBrowse(380)/10972: INFO: Received BrowseDirectChildren from 192.168.1.10 for id = 0/1/1 with filter = dc:title,upnp:class,res,res@protocolInfo,res@protection,@refID, start = 0, count = 400
24.541: FbMediaServer::OnAction(214)/10972: INFO: action 'Browse' response: args = { ObjectID=0/1/1, BrowseFlag=BrowseDirectChildren, Filter=dc:title,upnp:class,res,res@protocolInfo,res@protection,@refID, StartingIndex=0, RequestedCount=400, SortCriteria=, NumberReturned=400, TotalMatches=1220, UpdateID=0 }
25.724: FbMediaServer::ProcessHttpRequest(255)/6220: INFO: received LAN request: http://192.168.1.5:56923/ContentDirectory/8932f1a3-5a27-6d95-ebb8-aa9c9b102890/control.xml (User-Agent: Allegro-Software-WebClient/4.32)
25.725: FbMediaServer::OnAction(197)/6220: INFO: received action 'Browse', args = { ObjectID=0/1/1, BrowseFlag=BrowseDirectChildren, Filter=dc:title,upnp:class,res,res@protocolInfo,res@protection,@refID, StartingIndex=400, RequestedCount=820, SortCriteria= }
25.725: PLT_MediaServer::OnBrowse(380)/6220: INFO: Received BrowseDirectChildren from 192.168.1.10 for id = 0/1/1 with filter = dc:title,upnp:class,res,res@protocolInfo,res@protection,@refID, start = 400, count = 820
25.735: FbMediaServer::OnAction(214)/6220: INFO: action 'Browse' response: args = { ObjectID=0/1/1, BrowseFlag=BrowseDirectChildren, Filter=dc:title,upnp:class,res,res@protocolInfo,res@protection,@refID, StartingIndex=400, RequestedCount=820, SortCriteria=, NumberReturned=820, TotalMatches=1220, UpdateID=0 }
47.92: PLT_UPnP::Stop(312)/9024: INFO: Stopping UPnP...
47.862: PLT_HttpServerSocketTask::Read(200)/3332: WARNING: NPT_CHECK failed, result=-1 (FAILURE) [(res)]


Title: foo_upnp
Post by: bubbleguuum on 2010-05-09 14:18:57
new version, should address most recent issues (first post to download):

0.99.25

- server: fix: tracks reporting inaccurate length streamed as PCM could block the PS3 for track advance.
- server: fix: Playback Stream Capture streamed as LPCM not working anymore on PS3.
- server: fix: incorrect splitting of %<...>% nodes if a value contained a comma
- server: fix: crash if 2 or more stream served concurrently and both converting non-stereo audio to stereo.
- server: fix: crash on I/O exception during decoding (corrupted file for example)

Title: foo_upnp
Post by: gaktoid on 2010-05-09 15:11:48
new version, should address most recent issues (first post to download):

0.99.25

- server: fix: tracks reporting inaccurate length streamed as PCM could block the PS3 for track advance.
- server: fix: Playback Stream Capture streamed as LPCM not working anymore on PS3.
- server: fix: incorrect splitting of %<...>% nodes if a value contained a comma
- server: fix: crash if 2 or more stream served concurrently and both converting non-stereo audio to stereo.
- server: fix: crash on I/O exception during decoding (corrupted file for example)

Fixed and Fixed.

You rock.

Thank you.

-Gak Toid
Title: foo_upnp
Post by: eightfold on 2010-05-09 20:58:59
Yup, PSC works on my PS3 now! Great work, keep it up!
Title: foo_upnp
Post by: Haggis on 2010-05-09 22:28:19
Is there a way to have a node containing all tracks? I see it discussed in this thread that the following should work:
Code: [Select]
<SubTree label="All tracks">
</SubTree>

But the node is empty. I'm using foobar2000 and a Roku Soundbridge as the renderers. Thanks.
Title: foo_upnp
Post by: bubbleguuum on 2010-05-11 00:17:21
Is there a way to have a node containing all tracks? I see it discussed in this thread that the following should work:
Code: [Select]
<SubTree label="All tracks">
</SubTree>

But the node is empty. I'm using foobar2000 and a Roku Soundbridge as the renderers. Thanks.


Will be possible in the next version with optional custom sort
Title: foo_upnp
Post by: LIVE_EVIL on 2010-05-11 16:35:59
Thanks for the great plugin.
Unfortunately for me previous versions suffered from the PS3 very infrequent stuttering and the newest version seems to be broken in my setup.
I use plugin chain in the profile for ps3 with Adapt-x DX host and a DX equalizer. With this setup Foobar always transcodes and with the latest version of the plugin PS3 starts playback (no sound) and then just skips to the next song. this keeps happening until the end of the playlist is reached.
Title: foo_upnp
Post by: bubbleguuum on 2010-05-11 20:59:47
Thanks for the great plugin.
Unfortunately for me previous versions suffered from the PS3 very infrequent stuttering and the newest version seems to be broken in my setup.

Can you be more specific?

I use plugin chain in the profile for ps3 with Adapt-x DX host and a DX equalizer. With this setup Foobar always transcodes and with the latest version of the plugin PS3 starts playback (no sound) and then just skips to the next song. this keeps happening until the end of the playlist is reached.


I need to know how you altered the PS3 profile, which dsp plugins you use in which order etc...to eventually be able to reproduce the problem.
You can also record a debug log (see first post for instructions).
Title: foo_upnp
Post by: LIVE_EVIL on 2010-05-12 01:48:09
it seems that i ve run in some sort of major issue and now foobar cant stream to ps3 at all even with dsp chain and transcoding disabled. very weird. i ll try to make cleanest install possible and see if it is my mistake.
here is a piece of log file with dsp chain enabled just in case:
http://pastebin.com/hNhpw5WQ (http://pastebin.com/hNhpw5WQ)
Title: foo_upnp
Post by: bubbleguuum on 2010-05-12 02:53:14
it seems that i ve run in some sort of major issue and now foobar cant stream to ps3 at all even with dsp chain and transcoding disabled. very weird. i ll try to make cleanest install possible and see if it is my mistake.
here is a piece of log file with dsp chain enabled just in case:
http://pastebin.com/hNhpw5WQ (http://pastebin.com/hNhpw5WQ)


Please next time record a log with INFO level, it is more readable.
It looks like for some reason your PS3 do not get audio from the server and then proceed to next track

I had no problem make this dsp plugin work with foo_dsp_winamp, with a DX flange effect

You may want to check that your PS3 is set to 48Khz, this is important:
http://manuals.playstation.net/document/en...tfrequency.html (http://manuals.playstation.net/document/en/ps3/current/settings/outputfrequency.html)
Title: foo_upnp
Post by: LIVE_EVIL on 2010-05-12 09:54:33
Quote
Please next time record a log with INFO level, it is more readable.
It looks like for some reason your PS3 do not get audio from the server and then proceed to next track

Thanks for feedback. The weird thing is that PS3 was working pretty well with previous versions. I ll try to do clean install and see if it is because of my misconfig.

Update. I apologize as the whole issue was my misconfig as my PS3 wasnt configured for 48kHz output. I deleted the pastebin as it is useless now. Two questions though.
1. PS3 now does not display the length the track played. Is it supposed to be like this. In previous versions the length was displayed properly.
2. Is it possible to enable 44.1 kHz output so there would be no any sort of resampling?
Title: foo_upnp
Post by: bubbleguuum on 2010-05-12 16:29:15
1. PS3 now does not display the length the track played. Is it supposed to be like this. In previous versions the length was displayed properly.
2. Is it possible to enable 44.1 kHz output so there would be no any sort of resampling?



1. The PS3 never displays the track length when LPCM streaming is used. If you want track lengths you need to change streaming to WAV (a), or to stream your
MP3, AAC, WMA natively without conversion (b).
(a) has the inconvenient over LPCM that for tracks whose reported length in foobar2000 is not exact (or cannot be due to DSPs), and lower than the real length, the end of the track might be slightly chopped off
(b) has the inconvenient that the PS3 might be picky and not play all files, and that the PS3 does a lot of silly HTTP requests before playing a track introducing a 1-4sec gap between tracks.
That's why LPCM is the preferred method to stream everything on the PS3: no delay and tracks properly streamed to the end.

2. Not sure about this. The PS3 doc is not very clear on the 48Khz and 44.1/88.2/176.4Khz modes.
If you want foobar2000 to resample to 48Khz instead of the PS3, you can restrict the samplerate to 48Khz in the PS3 profile. I wouldn't worry too much
about this though as the PS3 has excellent audio quality.
Title: foo_upnp
Post by: LIVE_EVIL on 2010-05-12 16:45:54
Thanks for your reply and thanks for the plugin again.
I ll try to experiment with various modes in PS3 and foobar.
Title: foo_upnp
Post by: bubbleguuum on 2010-05-12 16:51:22
EDIT: for track lengths not being displayed when using LPCM, this is true for the PS3 info OSD displayed when playing a track. Length is displayed when browsing tracks.
There's indeed a regression in the last version with the length not being displayed anymore on the browse screens when streaming as LPCM.
Title: foo_upnp
Post by: LIVE_EVIL on 2010-05-12 19:04:13
bubbleguuum
I tested PS3 multi-output with a different monitor and analog output at the same time. Used 44.1 kHz output and everything works well including DSP chain. So it seems like I just had a weird bug before.
Time of the track during playback is not displayed but it is not something i care about  .
Title: foo_upnp
Post by: sollniss on 2010-05-12 23:36:19
Is it possible to run an html based mediaserver with internet connection with this plugin?
I want to expose my media library to the internet, so that people can browse and play the files they want in their webbrowser.

If that is possible, is there a tutorial or something how to set that up?
Title: foo_upnp
Post by: gebla on 2010-05-13 09:06:13
I have a Linn Majik (cara 6) and with latest version installed on the server and on the client I do not get displayed anymore which song is playing.

The UPNp controller shows stopped but music is actually playing. As well on the playlist overview no indication is shown which song is being played:

Is this a setting I must change?

(http://img33.imageshack.us/img33/4527/foobarh.jpg)

Title: foo_upnp
Post by: bubbleguuum on 2010-05-13 10:32:42
Is it possible to run an html based mediaserver with internet connection with this plugin?
I want to expose my media library to the internet, so that people can browse and play the files they want in their webbrowser.

If that is possible, is there a tutorial or something how to set that up?


The only way to browse and play from the server from the Internet is to use foobar2000 with this plugin as a client, or an iPhone/iTouch with PlugPlayer.
There's no web interface. Only the foobar2000 playback stream is playable from a browser with a special URL.


I have a Linn Majik (cara 6) and with latest version installed on the server and on the client I do not get displayed anymore which song is playing.

The UPNp controller shows stopped but music is actually playing. As well on the playlist overview no indication is shown which song is being played:

Is this a setting I must change?


Suprising...I have no such issue with my Sekrit DS-I. You can record a log with INFO level (see first post for instructions).

May I suggest that you add a Playlist Switcher panel to your layout (shown in the upper left corner below) ? This will make identification of the displayed playlist easier since the UPnP Browser send items to 2 supporting playlists (unless you changed it) : The UPnP Browser Selection playlist and the UPnP Browser Search  playlist:

(http://bubbleguuum.free.fr/upnp_cui.png)

Title: foo_upnp
Post by: V4lve on 2010-05-16 06:54:52
Hi.  Just discovered this fantastic plugin.  My playlists are managed externally.  Will this serve the changes?
Title: foo_upnp
Post by: Sakimori_X on 2010-05-16 19:30:16
Firstly: I would've lost my mind at work long ago were it not for this incredible plugin. Thanks so much!

Feature Request:
The UPNP plugin properly handles cover art when the art is embedded in the file being played, but does not seem to relay cover art stored in a separate file (per fb2k's Preferences -> "Display" -> "Album art" -> "Front cover" -> "Search patterns:"). For example, if I have a track with embedded cover art, this art shows up correctly in fb2k, PlugPlayer, and in remote fb2k sessions; if I have a track without embedded art, but have a "cover.jpg" file in the same directory, the art shows up in the local fb2k instance (foobar itself handles this correctly), but is not relayed to PlugPlayer or remote fb2k sessions by UPNP.

Is there any way we could get the UPNP plugin to show *all* cover art, per the fb2k settings above?

Again, thanks so much for the plugin.
Title: foo_upnp
Post by: bubbleguuum on 2010-05-17 01:12:45
Hi.  Just discovered this fantastic plugin.  My playlists are managed externally.  Will this serve the changes?


Not yet. This is something that I want to implement though. For now, once a node is browsed, its remains static until you restart the server.

Is there any way we could get the UPNP plugin to show *all* cover art, per the fb2k settings above?


Thanks for making me notice: I now use the fb 1.0 album art API and it takes into account file patterns.
Title: foo_upnp
Post by: V4lve on 2010-05-17 16:07:45
Hi.  Just discovered this fantastic plugin.  My playlists are managed externally.  Will this serve the changes?


Not yet. This is something that I want to implement though. For now, once a node is browsed, its remains static until you restart the server.



Ta.  So if I restart the server then my external playlists get updated?
Title: foo_upnp
Post by: V4lve on 2010-05-17 16:14:33
Hi

Bit puzzled as after a while (half an hour-ish) my Roku Soundbridge fails to find the server whereas my Sony Ericsson ELM manages no problem.  A restart of the server (or occasionally the PC) usually cures it.  Any suggestions as to what I should be looking for as a cause.  Or is there some special config I have missed.

Ta
Title: foo_upnp
Post by: bubbleguuum on 2010-05-17 18:21:21
Ta.  So if I restart the server then my external playlists get updated?


Yes, but you'll also have to browse again on the client

Bit puzzled as after a while (half an hour-ish) my Roku Soundbridge fails to find the server whereas my Sony Ericsson ELM manages no problem.  A restart of the server (or occasionally the PC) usually cures it.  Any suggestions as to what I should be looking for as a cause.  Or is there some special config I have missed.


It's probably failing when the Roku try to resubscribe to the Media Server events. This happens every 30mins. Record a log with INFO level for more than 30min and send it to me (bubbleguuum@free.fr). See first post for instructions on how to record a log.
Title: foo_upnp
Post by: Sakimori_X on 2010-05-17 21:14:26
Is there any way we could get the UPNP plugin to show *all* cover art, per the fb2k settings above?


Thanks for making me notice: I now use the fb 1.0 album art API and it takes into account file patterns.

FAN-tacular! Looking forward to the next release.
Title: foo_upnp
Post by: V4lve on 2010-05-18 08:00:13
Ta.  So if I restart the server then my external playlists get updated?


Yes, but you'll also have to browse again on the client

Bit puzzled as after a while (half an hour-ish) my Roku Soundbridge fails to find the server whereas my Sony Ericsson ELM manages no problem.  A restart of the server (or occasionally the PC) usually cures it.  Any suggestions as to what I should be looking for as a cause.  Or is there some special config I have missed.


It's probably failing when the Roku try to resubscribe to the Media Server events. This happens every 30mins. Record a log with INFO level for more than 30min and send it to me (bubbleguuum@free.fr). See first post for instructions on how to record a log.


I'm afraid It doesn't seem to want to create a log file.  I ticked "log to file" and applied and foo_upnp.log appears nowhere on my PC (according to everywhere).
Title: foo_upnp
Post by: SuperRi on 2010-05-19 18:57:25
Сделайте, чтобы при первом запуске плеера серверы: foobar2000 Media Server и foobar2000 Renderer - были остановлены.
И еще: при закрытии окна плеера задержка. Нужно, чтобы не было задержки.
Title: foo_upnp
Post by: V4lve on 2010-05-20 08:52:08
Ta.  So if I restart the server then my external playlists get updated?


Yes, but you'll also have to browse again on the client

Bit puzzled as after a while (half an hour-ish) my Roku Soundbridge fails to find the server whereas my Sony Ericsson ELM manages no problem.  A restart of the server (or occasionally the PC) usually cures it.  Any suggestions as to what I should be looking for as a cause.  Or is there some special config I have missed.


It's probably failing when the Roku try to resubscribe to the Media Server events. This happens every 30mins. Record a log with INFO level for more than 30min and send it to me (bubbleguuum@free.fr). See first post for instructions on how to record a log.


I'm afraid It doesn't seem to want to create a log file.  I ticked "log to file" and applied and foo_upnp.log appears nowhere on my PC (according to everywhere).


Hi.  I decided to remove foobar and re-install.  It seems to be working fine now.  Have to say I am really impressed.  This is by far the fastest and most usefull upnp server I have used so far.  Even managed to get it running with Foobar as a service so I can set and forget.  Well done and thanks.  Just now need it to monitor my external playlists automatically :-) 
Title: foo_upnp
Post by: Foo_Borat on 2010-05-22 12:48:09
Hello,

the Roku Soundbridges I tried to buy off fleabay end up costing something like ~100€. I thought I might as well look into a new Philips Streamium Device. Does anyone have experience with a NP2500 or 1100? Can I use the Playback Stream Capture Feature with the Philips?

Any feedback is greatly appreciated.

Thanks,
B.
Title: foo_upnp
Post by: thaihugo on 2010-05-22 14:29:00
Hello,

the Roku Soundbridges I tried to buy off fleabay end up costing something like ~100€. I thought I might as well look into a new Philips Streamium Device. Does anyone have experience with a NP2500 or 1100? Can I use the Playback Stream Capture Feature with the Philips?

Any feedback is greatly appreciated.

Thanks,
B.



I can confirme the plugin works with the 1100 since a long time, and the 2500 should be supported, at least using next version which include support specific to streamium hardware.

About the devices by themselves, they are very counter intuitive, and You might be disapointed if you plan on doing anything else than searching your library using foobar. Their on board interface is less than user friendly, and believe me, I've started working with interfaces before they where even user oriented, so I'm not a touch-friendly-non-nonsense-interface junky ;-). Just entering your WEP key is a pain (imagine entering it with a mobile phone keyboard, with no delete key, and you have to reenter it all if you miss a key. That's just the beggining...
Title: foo_upnp
Post by: hxkclan on 2010-05-22 15:17:11
I have a question. I convert all my music to vbr v4 mp3 (including already 320kbps mp3s), but i can't seem to use the seekbar, it's grayed out, is there a reason this behaviour is there?
Title: foo_upnp
Post by: bubbleguuum on 2010-05-22 20:31:52
I have a question. I convert all my music to vbr v4 mp3 (including already 320kbps mp3s), but i can't seem to use the seekbar, it's grayed out, is there a reason this behaviour is there?


When you transcode to MP3 you cannot seek, this is to be expected. Transcode to MP3 is really to be meant to be used for streaming over the internet or for the rare device that would not suppport PCM.
Title: foo_upnp
Post by: gebla on 2010-05-22 20:49:48
HI Bubbleguuum,

Did you make progress on the issue we discussed? The version you send me is working correctly.
Title: foo_upnp
Post by: bubbleguuum on 2010-05-22 21:40:46
HI Bubbleguuum,

Did you make progress on the issue we discussed? The version you send me is working correctly.


That should answer your question  :

0.99.26 released  (first post to download):


Code: [Select]
0.99.26

The default sort string mentionned below is: "%album artist%|$if($not($meta(album artist)),%date%)|%album%|%discnumber%|%tracknumber%|%title%"

- server: fully threaded startup (could block fb2k for some seconds on launch, if huge collection on slow PC)
- server: fix: rare crashes in abnormal conditions
- server: fix: rare Plaback Stream Capture crash
- server: fix: Internet pref page: populate ip/hostname field only with a non LAN ip, if found
- server: new: use fb 1.0 album art API to be able to serve album art using configured file patterns
- server: new: playback statistics (playcount, etc...) are now submitted by default when a track has been streamed 100% (requires foo_playcount).
This can be enabled/disabled globally in the Server / Content pref page (default: enabled).
Submitting playback statistics can be disabled per profile with the <allow_submit_stats> tag.
Submitting statistics is disabled for the WMP profile as WMP do some kind of full file buffering.
- server: chg: dithering is now alway enabled when decoding to PCM or MP3, for all profiles. Dithering can be disabled manually in the XML conf (<dithering> tag)
- server: chg: search results are now returned sorted, using the default sort string
- server: new: search in PlugPlayer browse screens is now available (will return albums matching a string).
- server: new: single nodes containing tracks can now be specified with custom sort order:
ex: <SubTree label="Aciiiid Tracks" query="genre IS Acid" sort="%tracknumber%|%title%"/>
if sort is omitted, the default sort string is used.
- server: fix (regression): track lengths not displayed on PS3 browse screens

- browser: in configuration, ability to specify the sort titleformat string for all upnp items sent to playlist, including results from search.
This allow to override the server's sort order. This replaces the old "use sort incoming files by" setting which was not working since a few versions.
- browser: new: search on non-foobar2000 UPnP Media Servers that are search capable:
    * simple string search will return tracks containing the searched string in any of the tags the server supports (like fb2k simple search)
    * very limited support for foobar style queries:   <tag> IS|HAS <value> (ex: genre IS acid)
    * the tags that the selected Media Server supports can be displayed with the "?" button

    search results are sorted using the default sort string, as server sort order is too inconsistent with most servers.

- controller: fix: rare crash when a renderer disappears from the network
- controller: new: icon buttons, new play PSC button. Removed Shuffle / Standby / Mute buttons, still accessible via menu Playback>UPnP Controller or context menu in Controller (right click on status bar)
- controller: chg: when changing the selected renderer, do not automatically show  the Controller Playback Queue playlist if the renderer is not playback capable.
- controller: chg: do not select automatically the first available renderer on UPnP Controller launch or on current renderer disappearance (this could stop the currently playing source on Linn DS).
- controller: chg: UPnP AV renderers:  use polling instead of eventing to get player state. More reliable with some dodgy renderers.
- controller: add: added option <return_buggy_track_length> in streaming profile. Set to "yes" for renderers returning wrong track length such as the Philips WAC7500, and use cached track length instead.
- controller: fix: when sending items to WMP renderer, the Default profile was always used instead of the WMP profile
- controller: fix: removing a playlist before the UPnP Controller playlist would make all renderers other than the renderer selected pickup items in the wrong playlist
- controller: fix: the renderer state could in rare cases not be notified due and eventing subscription bug (the controller wouldn't display track metadata / time)
- controller:  Linn DS:
    * on controller start, do no stop the playing Source
    * external Playlist/RadioTime Sources modifications are immediately reflected in the Controller playlist
    * the Radio source now display elapsed time.
    * Non preset radio stream metadata is correctly displayed in status bar
    * Playback Stream Capture or UPnP items can be played by the Radio service to preserve the content of the Playlist source
Title: foo_upnp
Post by: gebla on 2010-05-22 22:05:24
Impressed again with your support! Thanks Bubbleguuum,
Title: foo_upnp
Post by: thaihugo on 2010-05-23 00:12:14
Thanks a lot for your support Bubblegum. This update is a major one! Track lenght display is perfect with the new option on WACS7500.
Title: foo_upnp
Post by: hxkclan on 2010-05-23 14:52:11
Wow amazing playback statistics now sync after playback, that was one thing i was waiting for .  Would it be possible to show/change the rating of a file on the upnp client? Kinda miss the inability to see my ratings.
Title: foo_upnp
Post by: SuperRi on 2010-05-23 18:14:19
Ваш 0.99.26 released конкретно вешает foobar2000!!!

(http://andrey.pegas-studio.net/user/foobar2000/vesiak.JPG)
Title: foo_upnp
Post by: SuperRi on 2010-05-24 13:59:58
Долго добавляется почему-то  плей-лист (playlist)
Title: foo_upnp
Post by: Wadsbrau on 2010-05-25 22:02:21


    I'm having this issue where after pausing and then unpausing the song continues for a few seconds and then skips to the next song. 
This is with Foobar2000 as a server and renderer, but using a seperate controller.  mediastreamer on a Nokia n800. Plugplayer on an iPhone both of those sending straight flac files.    And internet streaming transcoding from flac to 320k streaming to my work computer.

Thanks,
Darren
Title: foo_upnp
Post by: jano on 2010-05-25 22:44:32
Hi,
First Thank You for this plugin.

I think, at this point, the plugin is really stable, but I am still getting this errors on seeking Flac files since early versions.
Quote
Unable to seek to 2:27.545 (Unsupported format or corrupted file):

Some files seeks fast, while others slowly. And if I seek twice quickly, I get this error too.

Could You fix this please?, Or at least a good explanation would be nice too.

Another issue:
when I pause the song for a while, 5 minutes or more I think, when unpausing, the song continues for a few seconds,  I think is the buffer length, and then skips to the next song with an error.

Useful Data:
- Server: Foobar2000 1.03
- Client: Foobar2000 1.03
- Default Configuration used [0.9.26]

Greetings.
Title: foo_upnp
Post by: bubbleguuum on 2010-05-26 11:59:46
Hi,
First Thank You for this plugin.

I think, at this point, the plugin is really stable, but I am still getting this errors on seeking Flac files since early versions.
Quote
Unable to seek to 2:27.545 (Unsupported format or corrupted file):

Some files seeks fast, while others slowly. And if I seek twice quickly, I get this error too.

Could You fix this please?, Or at least a good explanation would be nice too.


I can't. This message comes from foobar http flac stream decoder. I don't know why it issues this error sometimes.
For example, try streaming a FLAC hosted by your ISP and you'll likely get the same errors.

Seek can be slow when you stream as PCM, as all the audio up to the seek point has to be decoded.


Another issue:
when I pause the song for a while, 5 minutes or more I think, when unpausing, the song continues for a few seconds,  I think is the buffer length, and then skips to the next song with an error.


Same here, this is a known problem with http servers closing the connection on client (foobar2000 here) inactivity. In that case, foobar2000 just stop playing the stream and plays next track in playlist (instead of reconnecting). Maybe I can do something on my side but no promise.
Title: foo_upnp
Post by: Andreasvb on 2010-05-30 17:48:28
bubbleguuum, how does the foo_playcount implentation work?

I have the component working on my foobar2000 as server.
But when using a client on another computer, also foobar2000, the play statistic doesn't updates on the server.

Worth to note is that I'm also using foo_misc_addons for writing play statistics to tags after 50% playback (on the server).
I'm not counting Playback Stream Capture, as it should work when foobar2000 playback is stopped on the server-side.

I've tried with a bare minimum install incl. foo_playcount.dll to test, couldn't get anything to update.
Any advice how to make it work is appreciated.

Thanks.
Title: foo_upnp
Post by: bubbleguuum on 2010-05-31 23:20:56
bubbleguuum, how does the foo_playcount implentation work?

I have the component working on my foobar2000 as server.
But when using a client on another computer, also foobar2000, the play statistic doesn't updates on the server.

Worth to note is that I'm also using foo_misc_addons for writing play statistics to tags after 50% playback (on the server).
I'm not counting Playback Stream Capture, as it should work when foobar2000 playback is stopped on the server-side.

I've tried with a bare minimum install incl. foo_playcount.dll to test, couldn't get anything to update.
Any advice how to make it work is appreciated.

Thanks.


Statistics are submitted when the whole track has been streamed. When they are submitted you see a message on the console (even if loging is disabled):
"foo_upnp: Submitted statistics for track xxxx"
Once you see that message, if you check the playcount in the Properties panel, playcount will have increased.
Before you ask, with streaming, it is not practical to have more complicated rules than above to trigger  statistics submission
Title: foo_upnp
Post by: Andreasvb on 2010-06-01 06:38:19
Console is the first I always check.

With DSP on I get flush.
Quote
foo_upnp: opened 'file://*.mp3' for streaming, profile: foobar2000, MP3 / VBR -V3, replaygain: on, DSP chain: on
on_endofplayback
on_endofplayback
flush
foo_upnp: opened 'file://*.mp3' for streaming, profile: foobar2000, MP3 / VBR -V3, replaygain: on, DSP chain: on
on_endofplayback
on_endofplayback
flush


But removing everything in DSP I get:
Quote
foo_upnp: opened 'file://*.mp3' for streaming, profile: foobar2000, MP3 / VBR -V3, replaygain: on, DSP chain: off
foo_upnp: opened 'file://*.mp3' for streaming, profile: foobar2000, MP3 / VBR -V3, replaygain: on, DSP chain: off


Submit playback statistics is on.
Something I've missed?

Want all my settings for foobar2000 profile?
Title: foo_upnp
Post by: oblikoamorale on 2010-06-01 18:22:31
I'm using foo_upnp with WD TV Live box (latest firmware) and stumbled upon the strange problem. Every file format I've tried plays okay without problems as long as it's supported by WD player. Recoding/transcoding also seems to work properly. Here's the flac file successful playback log (http://pastebin.com/DLSXJDz5).
The thing is I cannot get the component to play cue'd files. No matter which streaming preferences I try, playback always stops immediately after start. It happens no matter what I do, whether I play the file from WD player, or use "Play on..." feature of the component.
Sample log (http://pastebin.com/G03ZYHtr) of such failed attempt.
What have I missed? Is there anything I can do to fix this?
Title: foo_upnp
Post by: bubbleguuum on 2010-06-01 19:19:20
I'm using foo_upnp with WD TV Live box (latest firmware) and stumbled upon the strange problem. Every file format I've tried plays okay without problems as long as it's supported by WD player. Recoding/transcoding also seems to work properly. Here's the flac file successful playback log (http://pastebin.com/DLSXJDz5).
The thing is I cannot get the component to play cue'd files. No matter which streaming preferences I try, playback always stops immediately after start. It happens no matter what I do, whether I play the file from WD player, or use "Play on..." feature of the component.
Sample log (http://pastebin.com/G03ZYHtr) of such failed attempt.
What have I missed? Is there anything I can do to fix this?


I confirm that external cue files do not work at all (embedded does though).
I need to add support for it to work. As it is, the plugin try to open the .cue file for playing which obvisouly do not work.


EDIT: after checking, external cue streaming works here so this must be something else. Maybe you can try to stream it as PCM instead of transcode to MP3 and see if it is better.

Title: foo_upnp
Post by: bubbleguuum on 2010-06-01 21:07:33
bubbleguuum, how does the foo_playcount implentation work?
I have the component working on my foobar2000 as server.
But when using a client on another computer, also foobar2000, the play statistic doesn't updates on the server.

Worth to note is that I'm also using foo_misc_addons for writing play statistics to tags after 50% playback (on the server).
I'm not counting Playback Stream Capture, as it should work when foobar2000 playback is stopped on the server-side.

I've tried with a bare minimum install incl. foo_playcount.dll to test, couldn't get anything to update.
Any advice how to make it work is appreciated.
Thanks.


I've fixed it for next release, submitting track stats was not working when streaming as MP3 transcode.
Title: foo_upnp
Post by: Andreasvb on 2010-06-01 21:53:54
Thanks for the clarification.
I managed to get it stream without transcoding.

Seems to work now.

Would be nice if it could send to last.fm too. ^^
Title: foo_upnp
Post by: bubbleguuum on 2010-06-02 00:01:19
Wow amazing playback statistics now sync after playback, that was one thing i was waiting for .  Would it be possible to show/change the rating of a file on the upnp client? Kinda miss the inability to see my ratings.


You can add a %rating% column  in your playlist to view ratings of browsed upnp items. Of course you won't be able to change ratings.

EDIT: if on your foobar2000 client you have foo_playcount installed, you must use $meta(rating) instead (otherwise you will get the rating managed by foo_playcount which is empty for http items)
Title: foo_upnp
Post by: mpuckett on 2010-06-02 21:10:50
My son just set up his xbox 360 and it found my audio library, browses it and plays tracks with no problems thus far. For anyone that has the xbox 360, I would like to know, is it able to display album art and track metadata? So far, his music player seems only able to display the track title of the currently playing track. Is that all it is capable of, or are there some settings that he is missing to enable album art and full metadata display?

And a BIG thanks for adding the playback stats updating too. It just gets better and better!
Title: foo_upnp
Post by: gaktoid on 2010-06-03 14:11:29
bubbleguuum,

Thanks for all of your work on this plugin. I do have a couple question.

Is there any reason you don't automatically forward the appropriate port in the router when internet access is enabled? That's what UPnP is for, isn't it?

Second, I'm trying to stream my collection from home to work. I can connect if I put the address and port into a web browser, but I can not connect when I use foobar.

I assume it's something to do with our corporate firewall filter non-http traffic. I do have the proxy set correctly in foobar. Does that sound likely to you? My backup plan is to use SSH, unless you've got another suggestion or enhancement for the internet portion of the plugin.

Thanks.

-Gak Toid
Title: foo_upnp
Post by: bubbleguuum on 2010-06-03 18:49:49
bubbleguuum,

Thanks for all of your work on this plugin. I do have a couple question.

Is there any reason you don't automatically forward the appropriate port in the router when internet access is enabled? That's what UPnP is for, isn't it?


The reason is that new features do not implement themselves magically. This feature is in consideration.


Quote
Second, I'm trying to stream my collection from home to work. I can connect if I put the address and port into a web browser, but I can not connect when I use foobar.

I assume it's something to do with our corporate firewall filter non-http traffic. I do have the proxy set correctly in foobar. Does that sound likely to you? My backup plan is to use SSH, unless you've got another suggestion or enhancement for the internet portion of the plugin.


Traffic is http only. If this do not work in foobar2000, this is probably due to a http proxy being used on your corporate network.
The plugin do not support proxies because the http subsystem of the UPnP framework I use do not support them because UPnP is designed for LAN use and there's no need for it.
I have no plan to add proxy support as it's not trivial at all.
Title: foo_upnp
Post by: gaktoid on 2010-06-04 00:58:01
bubbleguuum,

Thanks for all of your work on this plugin. I do have a couple question.

Is there any reason you don't automatically forward the appropriate port in the router when internet access is enabled? That's what UPnP is for, isn't it?


The reason is that new features do not implement themselves magically. This feature is in consideration.

It was not my intention to suggest features do. I make my living writing software, so I understand your point.
I was more curious if there were technical reasons in foobar or security reasons that you felt it was more appropriate to use manual port forwarding.

Quote
Quote
Second, I'm trying to stream my collection from home to work. I can connect if I put the address and port into a web browser, but I can not connect when I use foobar.

I assume it's something to do with our corporate firewall filter non-http traffic. I do have the proxy set correctly in foobar. Does that sound likely to you? My backup plan is to use SSH, unless you've got another suggestion or enhancement for the internet portion of the plugin.


Traffic is http only. If this do not work in foobar2000, this is probably due to a http proxy being used on your corporate network.
The plugin do not support proxies because the http subsystem of the UPnP framework I use do not support them because UPnP is designed for LAN use and there's no need for it.
I have no plan to add proxy support as it's not trivial at all.


There is a proxy, I set it appropriately in foobar.  Sounds like it doesn't matter how it what was configured, it wasn't going to work.

Thanks for the information.

-Gak Toid

Title: foo_upnp
Post by: doncaballero on 2010-06-04 14:25:12
Amazing plugin, so thanks so much for all of your work on this!

Two questions: First, I am using a PS3 and when playing the song there are certain times when the artwork shows up and certain times when it does not.  I have all of my artwork embedded in the file, so not certain why that might be happening.  Any ideas?

Secondly, when I play the file it only shows the current playing time and not the total track time.  Any ideas on that one?  Is it because it is streaming in PCM?  Is that the ideal setting or should I have it set to something else.

Thanks in advance.
Title: foo_upnp
Post by: bubbleguuum on 2010-06-05 21:23:44
I was more curious if there were technical reasons in foobar or security reasons that you felt it was more appropriate to use manual port forwarding.


I didn't know about UPnP port forwarding at the time I implemented Internet access. Even if UPnP port forwarding would be really nice to have, manual configuration is still required for non-UPnP capable routers or users disabling UPnP on their router for whatever reason.


Two questions: First, I am using a PS3 and when playing the song there are certain times when the artwork shows up and certain times when it does not.  I have all of my artwork embedded in the file, so not certain why that might be happening.  Any ideas?
Secondly, when I play the file it only shows the current playing time and not the total track time.  Any ideas on that one?  Is it because it is streaming in PCM?  Is that the ideal setting or should I have it set to something else.


1. Maybe a limitation of the PS3 on album art size ? I know there's a restriction on album art in the DLNA profile but the plugin do not enforce them (ie resize if necessary).
I've also noticed sometimes the art will display in the PS3 browser but not in the player interface.

2. This is normal for LPCM streaming. The PS3 never displays track lengths for that format (on the PS3 player screen that is, not when browsing). You can stream to WAV to have track lengths but this has the disadvantage of possibly longer time between tracks, and you might get the end of some tracks slightly chopped off for formats not having sample accurate length in foobar2000 (mostly MP3 and WMA). LPCM do not have any of those shortcomings.
Title: foo_upnp
Post by: doncaballero on 2010-06-06 21:08:48
Thanks bubbleguuum
Title: foo_upnp
Post by: vLo0i on 2010-06-16 21:30:31
I've got the following problem

I'am using the latest Foobar version 1.03 and the latest upnp component 0.99.26
I have the renderer running on my server.
Added some songs to the controller playlist and started playing.

On my desktop pc, I start the controlller.
I can see witch song is currently playing.
But here is the issue, when I click next or previous the player stops.
I also can't start the player again by pressing play.

The only thing I can do is to move the time played slider.
Also just the current song shows up in the list, no others.

Whats the problem?
Title: foo_upnp
Post by: Foo_Borat on 2010-06-21 12:30:53
Hello,

I gave up on bidding on a Soundbridge in Ebay as a M2000 costs way about 200€ and the M1001 costs 100€ but does upsample to 48khz.

Can a WDTV live owner please tell me what works and what not? I do want to use the device as a media renderer to avoid using my Audiophile 2496 soundcard because those Windows IRQ conflicts drive me crazy. So I want everything to be as if I had a soundcard in the PC but instead the external device would play the music.

Can the WDTV do that? Will Flac files be played natively, is that right? I am confused as to what is possible and what not.

Does anyone use a Popcorn A or C 200 here?

Thanks,
Foo_Borat
Title: foo_upnp
Post by: oblikoamorale on 2010-06-21 16:35:43
I can confirm that WD TV Live works just fine with foo_upnp in all modes after adding firmware bug workaround fixing cue playback failure. bubbleguuum - thanks for quick response!
The player accepts flacs as well with a bunch of other formats natively, but I'd prefer compulsory decoding the stream to PCM - just in case - and it does play streamed PCM without any problems.
Title: foo_upnp
Post by: Wadsbrau on 2010-06-21 16:59:06
Hello,

I gave up on bidding on a Soundbridge in Ebay as a M2000 costs way about 200€ and the M1001 costs 100€ but does upsample to 48khz.

Can a WDTV live owner please tell me what works and what not? I do want to use the device as a media renderer to avoid using my Audiophile 2496 soundcard because those Windows IRQ conflicts drive me crazy. So I want everything to be as if I had a soundcard in the PC but instead the external device would play the music.

Can the WDTV do that? Will Flac files be played natively, is that right? I am confused as to what is possible and what not.

Does anyone use a Popcorn A or C 200 here?

Thanks,
Foo_Borat


This is going to depend on how you are going to control the playback of the music.  Describe your setup in more detail.

Darren
Title: foo_upnp
Post by: Foo_Borat on 2010-06-21 20:58:57
Darren,

I have three computers in my home which are connected to pre-amp, amplifier and loudspeakers. The music is stored on a Windows Home Server. Right now I have a Popcorn Hour 110 connected and can push music to it using the foobar server either on the WHS or the foobar server on one of the client computers. I find the latter method better because I can browse the music using my own media libary and do not have to use the foo_upnp browser. The PCH 110 has is downsides though. I cannot push flac files to it nor did I succeed in transcoding to PCM and send them. Also controlling the PCH is very sluggish and I cannot seek nor pause etc.

Before using Foo_upnp I was using the main computer as music listening device as it has an M-Audio 2496 card installed and I was pleased with playing music from the server to this PC and then via SPDIF to the main Stereo setup. But the card started acting up on me and it is prone to cause clicks and noise because of IRQ conflicts which cannot be solved (I searched extensivly the web and the forums etc.) Therefore I was looking for an external device which would reflect every action of Foobar on the client computer (play, pause, seek, stop, enquue).

For a long time I tought, that except a Linn DS device (too expensive), the Rokus Soundbridge would do everything I want because it also works with the "Playback Streaming" feature as Bubbleguum advised.
But I discovered recently that the M1001 version of the Roku Soundbridge which still sells for about 100€ does upsamle to 48khz and that the more "audiophile" M2000 which passes 44,1khz sells for more than 200€.


@oblikoamorale

After having read my requirements would you say the WDTV live meets all of them?

I am looking forward to hearing your suggestions 

Thanks,
Foo_B
Title: foo_upnp
Post by: zappa on 2010-06-22 13:54:48
Foo_B,

Quote
Before using Foo_upnp I was using the main computer as music listening device as it has an M-Audio 2496 card installed and I was pleased with playing music from the server to this PC and then via SPDIF to the main Stereo setup. But the card started acting up on me and it is prone to cause clicks and noise because of IRQ conflicts which cannot be solved (I searched extensivly the web and the forums etc.)


Have you tried the DPC Latency Checker (http://www.thesycon.de/deu/latency_check.shtml) tool? Might help, however I don't get my USB/Firewire external Audio Devices running on my notebook without frequent clicks/pops + critical DPC latencies (red bars) no matter what I try - though they work perfectly (and no critical DPC latencies) on my desktop PC. Sometimes it's just an unresolvable hardware/driver problem...


Quote
Therefore I was looking for an external device which would reflect every action of Foobar on the client computer (play, pause, seek, stop, enquue).


Logitech Squeezebox Touch (http://www.logitech.com/en-us/speakers_audio/wireless_music_systems/devices/5745) is not an Option? No idea if squeezboxes can be UPnP clients and work with foo_upnp.dll instead of SqueezeCenter? This one plays (and passes to s/pdif untouched) resolutions up to 24/96, has gapless playback, costs probably less than 299 USD if purchased as used... For a review see here (http://www.computeraudiophile.com/content/Logitech-Squeezebox-Touch-Review).

Alternative: TEAC WAP-V 6000 (http://dspd.teac.de/index.php?id=4183&L=1) - provenly plays and passes 24/192 (though not mentioned anywhere on the HP - I know 10+ people who use it). From network, USB or internal HD if installed. No gapless though. Sound from analog outs is very good for the price. Heard it works with foo_upnp. Granted, the handling with the little monochrome text display is suboptimal. Better connect a little extra screen, or use foo_upnp als remote application.

Well, you may find both too expensive... at least the latter is worth the money sound-wise. The next least expensive device I know which is 24/192 capable would be Linn's Sneaky DS (http://www.linn.co.uk/files/ccf1286d/Sneaky_Music_DS_Product_Information.pdf) (1450 USD retail). I luckily found a used Linn Majik DS for half the retail price -  a dream component. As I said I know many people with dizzyingly expensive audiophile systems who use it with an external reclocker + DAC via s/pdif outs.


Hope that helps?


Martin
Title: foo_upnp
Post by: Wadsbrau on 2010-06-22 17:44:45
@Foo_Borat

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

Darren
Title: foo_upnp
Post by: Foo_Borat on 2010-06-24 08:30:02
@Foo_Borat

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

Darren



Hello,

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

Zappa,

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

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

Thanks,
Foo_B
Title: foo_upnp
Post by: Wadsbrau on 2010-06-24 16:13:14
Hello,

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

Zappa,


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

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

Darren
Title: foo_upnp
Post by: Foo_Borat on 2010-06-24 21:25:35
Hello,

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

Zappa,


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

Darren



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

Thanks,
FooB
Title: foo_upnp
Post by: Wadsbrau on 2010-06-24 23:45:25
Hello,

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

Zappa,


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

Darren



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

Thanks,
FooB


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

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

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

Darren
Title: foo_upnp
Post by: Firsh on 2010-06-25 09:51:58
Can I somehow stream what I'm playing to my friend's winamp? I tried edcast, oddcast but they just don't show up in the DSP list thus I can't activate them. foo_vorbis streamer wouldn't work either. My only hope is this but I think it does more / different.

Also how can I connet my iPhone to this? I tried my ip:56923 with the port forwarded in my router but it says no xml config can be loaded or something like that. (plugplayer)
Title: foo_upnp
Post by: evilphil on 2010-06-27 15:32:17
Hi,

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

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

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

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

Regards,

Phil
Title: foo_upnp
Post by: evilphil on 2010-06-27 17:55:32
Hi,

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

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

Regards,

Phil
Title: foo_upnp
Post by: bubbleguuum on 2010-06-27 19:03:45
I'd still be interested to know whether there's any way to prevent the disconnection in the first place though.


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


Title: foo_upnp
Post by: nomadian on 2010-06-29 19:34:39
Ok, so I can play my library using the "add remote foobar sever" at home with the "allow internet access" over 2 computers but I can not link up at my work. The strange thing is I can link up using J River at work, the same way with a sever/client that is incorporated in that program. I have the router port open and firewall settings are correct. I am just confused because the one program links up fine but the foobar does not and I have used the same port and ip address with both(not at the same time). Any suggestions on how I can use foobar to link my home library to my work?
Title: foo_upnp
Post by: bubbleguuum on 2010-07-02 21:29:12
small maintenance release (first post to download)

0.99.27

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

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

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

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

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

Thanks very much if anyone can help me,

lurchi
Title: foo_upnp
Post by: bubbleguuum on 2010-07-05 19:03:40
1. in the artist/album folder hierarchy not only the albums of an artist are listed, but also all single titles intermixed with the albums.


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


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

PP only searches for album names containing the specified string in the current container. It will return the list of albums containing that string.
You can only have sucessful results if you trigger search from the top level directory (the one contaning Playlist, Media Library, Playbck Stream Capture), or any container that lists albums (Media Library/albums, Media Library/Genre/<A Genre> etc..)
Title: foo_upnp
Post by: lurchi on 2010-07-05 20:57:27
Quote
I'll ask PlugPlayer's developer if he can add an option in PP not to reorder items. And I may add an option not to list all tracks under an artist node.

Great, Thanks!

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

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


O.K. I always tried to serach for single titles, not albums.
Title: foo_upnp
Post by: Wadsbrau on 2010-07-09 19:07:13
I'm internet streaming to PlugPlayer on my iPhone 4 (full bars and 3G) and the music is pausing every 20 secs or so for about 2-4 secos and then starts up again. I attributed this initially to having the mp3 stream set to 320k. So, I lowered it to 256. Same result. Lowered again to 192. Same thing. I really don't want to go lower than that (I use either my car stereo or good headphones). what can I do to fix this.

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

Thanks

Darren
Title: foo_upnp
Post by: Wadsbrau on 2010-07-09 19:30:27
Is there a way to create a folder structure (I use folders for my music) that would put my library shares at the top level?

So like:

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

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

Thanks,

Darren
Title: foo_upnp
Post by: agibaut on 2010-07-14 14:54:19
Hi, my name is Alejandro and this is my first post. I use VisualMR as controller of my Pinnacle Soundbridge, and lately I've been testing the foo_upnp server. I've got 2 questions about it.

The first one was answered by bubbleguuum a week ago:

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


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

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

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

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

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


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



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

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

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

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


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

This will be configurable


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

Yes you can customize the track title string that is sent by the server. Look in Preferences: Server/Content, then set for example "format title tracks using" to
%title% - %date% - %comment%
Title: foo_upnp
Post by: agibaut on 2010-07-15 14:16:27
Thanks for your kind reply!

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

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


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

(http://img821.imageshack.us/img821/5637/visualmr.jpg)

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

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

Alejandro
Title: foo_upnp
Post by: agibaut on 2010-07-15 14:40:37
BTW, I'm using VisualMR 'cos I can't make UpnP Controller work as a remote control.

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

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

The SB detects my Foobar music library, and I can browse through it with my laptop, but not "play to". Any help?
Title: foo_upnp
Post by: bubbleguuum on 2010-07-15 21:56:36
If you see VisualMR left panel, you can see that it displays Title (with %date% and %comment% attached, as seen on right panel), Artist, Album and Composer (all tagged by myself), but not Year (that is, %date%) and Comment. They are displayed attached to Title but that's not what I was thinking of. Is there a way to make it?


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

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

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

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


The Play command fails for some reason. Record a log with INFO level (see end of first post for instruction) and send it to bubbleguuum@free.fr
Title: foo_upnp
Post by: agibaut on 2010-07-16 03:11:52
If you see VisualMR left panel, you can see that it displays Title (with %date% and %comment% attached, as seen on right panel), Artist, Album and Composer (all tagged by myself), but not Year (that is, %date%) and Comment. They are displayed attached to Title but that's not what I was thinking of. Is there a way to make it?


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

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

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


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

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

Title: foo_upnp
Post by: KorbenDallas on 2010-07-17 19:58:58
bubbleguuum,

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

Is your software doing anything to the file when Decode: Always is selected?  Meaning, is it decoding/reencoding my WAV files?  Or is it just streaming them to my receiver?
Title: foo_upnp
Post by: Buddy Casino on 2010-07-18 10:57:22
Hi!

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

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

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

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


Regards,
Michael
Title: foo_upnp
Post by: bubbleguuum on 2010-07-18 11:20:57
bubbleguuum,

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

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


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



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


You may want to try to play PBS again from your phone (or from the UPnP Controller) but when foobar2000 is actually playing something. The PBS functionality do not stream silence when foobar2000 do not play anything, and the phone might not like it thinking there is nothing to play and aborting connection.
If that does not work, configure PBS in the profile to stream LPCM instead of WAV. Since your phone is a DLNA device it should support it, and LPCM is more suited to PBS (as it allows a true infinite stream).
Title: foo_upnp
Post by: heemsker on 2010-07-18 16:19:47
Play Internet radio stream in WMA without conversion.

I am trying to stream a WMA radio station from Foobar to a Philips SLA5500. The SLA5500 has no option to play the audio stream directly from the Internet.
foo_upnp does a nice job, but it converts the WMA stream to either MP3, WAV, or LPCM, depending on the settings in the streaming profile.
I want it to pass the WMA directly on to the SLA5500.
When I play the stream locally in Foobar it just plays the WMA without conversion.
The stream I am trying to play is http://vista.streamguys.com/galwaybayfm?MSWMExt=.asf (http://vista.streamguys.com/galwaybayfm?MSWMExt=.asf)

Any suggestions?
Title: foo_upnp
Post by: bubbleguuum on 2010-07-18 17:10:58
Play Internet radio stream in WMA without conversion.

I am trying to stream a WMA radio station from Foobar to a Philips SLA5500. The SLA5500 has no option to play the audio stream directly from the Internet.
foo_upnp does a nice job, but it converts the WMA stream to either MP3, WAV, or LPCM, depending on the settings in the streaming profile.
I want it to pass the WMA directly on to the SLA5500.
When I play the stream locally in Foobar it just plays the WMA without conversion.
The stream I am trying to play is http://vista.streamguys.com/galwaybayfm?MSWMExt=.asf (http://vista.streamguys.com/galwaybayfm?MSWMExt=.asf)

Any suggestions?


There's an option for that. In the streaming profile you are using enable "Can decode HTTP and MMS streams directly". This will just pass the radio streaming URL to your device for direct streaming.
Title: foo_upnp
Post by: KorbenDallas on 2010-07-18 17:23:42
bubbleguuum,

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

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


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


Thanks, I found that the LPCM sounded better so perhaps it's taking the decoding load off of my receiver
Title: foo_upnp
Post by: pantau on 2010-07-21 12:54:14
24bit/96khz or higher playback.

Hi

I have an external DAC connected (Firewire). I can play bit perfect and also music with higher sample rates (48,96 etc) and resolution (24 Bit).
As soon as  I play such a HiRes music file the sample rate is switched it self what I can see it on the control window of the firewire dac driver.

When I play the file with the upnp renderer, controlled by PlugPlayer on my Ipad, the sample rate is not switched, it stays at 44khz.

I tried to change the sample rate range on foo_upnp settings. But it didn't solved the problem.

Is ther a solution for this ?

Regards
Beat

My system
Apple Mini running windows7 Pro 32Bit.
foobar2000 v1.0.3 with WASAPI Driver, latest foo_upnp version
Weiss Minerva DAC


Title: foo_upnp
Post by: bubbleguuum on 2010-07-21 18:55:45
I tried to change the sample rate range on foo_upnp settings. But it didn't solved the problem.


You must change the min and max samplerate in the PlugPlayer streaming profile (in the Renderer Capabilities section), to match the
supported samplerate of your DAC.

but then you won't be able to play hires files on your iPad if you ever want to do that, because it won't resample to a compatible samplerate.

This is a known limitation/problem of profiles when the client (PlugPlayer) acts as a  pure Control Point.
Title: foo_upnp
Post by: pantau on 2010-07-22 14:41:37
Thank

It does not work. It always stays at 44.1kHz or switches to 44.1kHz when Iset it manually to 96kHz.

And sometimes I get following error message:

Unable to open item for playback (File Not Found (404)):
"http://192.168.1.57:56923/content/24101c43da30d18be83f4af037eb527d.mp3?profile_id=2&convert=mp3"


Regards
Beat
Title: foo_upnp
Post by: bubbleguuum on 2010-07-22 20:42:07
Thank

It does not work. It always stays at 44.1kHz or switches to 44.1kHz when Iset it manually to 96kHz.

And sometimes I get following error message:

Unable to open item for playback (File Not Found (404)):
"http://192.168.1.57:56923/content/24101c43da30d18be83f4af037eb527d.mp3?profile_id=2&convert=mp3"


Regards
Beat


Your file (I assume a hires FLAC) is getting transcoded to mp3 by the PlugPlayer profile.
Copy every setting of the foobar2000 profile into the PlugPlayer profile'except the "Use profile when" line.
Title: foo_upnp
Post by: Sakimori_X on 2010-07-26 05:14:42
I just wanted to randomly give thanks to anyone and everyone who has had a part in making the UPnP plugin what it is. I *love* having access to my music library on my PS3, on my fb2k install at work, and on the road. Thanks also to the PlugPlayer folks. Yay for convenience!
Title: foo_upnp
Post by: kruji on 2010-07-26 17:45:19
Hi.

first, thanks for this great plugin!

there is a free application by spoon (dBpoweramp), that recognizes (password unprotected) apple airport devices in the network and implements an automated upnp-device: Air Upnp (http://forum.dbpoweramp.com/showthread.php?t=19645). If you run this service, you can easily control your airport express via foo_upnp. I was able to playback single files and playlists, but whenever is tried to playback the "screen capture", it crashes (not foobar, but the connection to the upnp device).

i have 2 logfiles (logfile 1 (http://pastebin.com/9ztimnTD), logfile 2 (http://pastebin.com/g1Qwc3nd)), maybe this may help to find the solution.

a second issue comes with that: how do i enable straming profiles? i want to activate a certain profile whenever the device contains "dBpoweramp Renaissance". but as far as i understood the settings dialog (and the logfiles) this is not covered by "Use profile when User-Agent contain XYZ". "device" instead of "User-Agent" does not solve this, too. what am i doing wrong?

thank you.
Title: foo_upnp
Post by: bubbleguuum on 2010-07-26 18:14:45
Hi.

first, thanks for this great plugin!

there is a free application by spoon (dBpoweramp), that recognizes (password unprotected) apple airport devices in the network and implements an automated upnp-device: Air Upnp (http://forum.dbpoweramp.com/showthread.php?t=19645). If you run this service, you can easily control your airport express via foo_upnp. I was able to playback single files and playlists, but whenever is tried to playback the "screen capture", it crashes (not foobar, but the connection to the upnp device).

i have 2 logfiles (logfile 1 (http://pastebin.com/9ztimnTD), logfile 2 (http://pastebin.com/g1Qwc3nd)), maybe this may help to find the solution.


Can you try playing some track in foobar200 first (using regular fb playback controls), then triggering PSC play in the UPnP Controller ?
If you do it the other way around, it is possible Air UPnP close the connection early because there's no data.
I also suggest you try configuring PSC to stream as LPCM in the Default profile.
If none of the above work, post a log with INFO level (see first post for instructions on how to enable)

Quote
a second issue comes with that: how do i enable straming profiles? i want to activate a certain profile whenever the device contains "dBpoweramp Renaissance". but as far as i understood the settings dialog (and the logfiles) this is not covered by "Use profile when User-Agent contain XYZ". "device" instead of "User-Agent" does not solve this, too. what am i doing wrong?


Enable logging with INFO level. For each HTTP request, it will display the User-Agent of Air UPnP that you can use to create a profile
Title: foo_upnp
Post by: pantau on 2010-07-26 18:23:29
Hires Playback by renderer.

The copy of the settings worked.

Thanks Beat.
Title: foo_upnp
Post by: kruji on 2010-07-26 19:00:43
there is a free application by spoon (dBpoweramp), that recognizes (password unprotected) apple airport devices in the network and implements an automated upnp-device: Air Upnp (http://forum.dbpoweramp.com/showthread.php?t=19645). If you run this service, you can easily control your airport express via foo_upnp. I was able to playback single files and playlists, but whenever is tried to playback the "screen capture", it crashes (not foobar, but the connection to the upnp device).

i have 2 logfiles (logfile 1 (http://pastebin.com/9ztimnTD), logfile 2 (http://pastebin.com/g1Qwc3nd)), maybe this may help to find the solution.


Can you try playing some track in foobar200 first (using regular fb playback controls), then triggering PSC play in the UPnP Controller ?
If you do it the other way around, it is possible Air UPnP close the connection early because there's no data.
I also suggest you try configuring PSC to stream as LPCM in the Default profile.
If none of the above work, post a log with INFO level (see first post for instructions on how to enable)

Quote
a second issue comes with that: how do i enable straming profiles? i want to activate a certain profile whenever the device contains "dBpoweramp Renaissance". but as far as i understood the settings dialog (and the logfiles) this is not covered by "Use profile when User-Agent contain XYZ". "device" instead of "User-Agent" does not solve this, too. what am i doing wrong?


Enable logging with INFO level. For each HTTP request, it will display the User-Agent of Air UPnP that you can use to create a profile


here is the log file: http://pastebin.com/tQGirun4 (http://pastebin.com/tQGirun4) (crash after fb was playing and i triggered the stream playback)

i got the user agent string and created a new profile, but it was not selected properly (this is a small part of the above logfile)
Code: [Select]
107.465: upnp_server_conf::get_profile(699)/6420: INFO: using profile 'dBpoweramp Renaissance' (User-Agent:dBpoweramp)
opened 'Playback Stream Capture' for streaming, profile: Default, WAV / 44100 Hz / 16 bits / 2 channels, replaygain: off, DSP chain: off


if i add lpcm to default profile though my other profile should be used, i get the same error (log: http://pastebin.com/1n2mt0E3) (http://pastebin.com/1n2mt0E3))
Code: [Select]
67.318: upnp_server_conf::get_profile(699)/5396: INFO: using profile 'dBpoweramp Renaissance' (User-Agent:dBpoweramp)
opened 'Playback Stream Capture' for streaming, profile: Default, LPCM / 44100 Hz / 16 bits / 2 channels, replaygain: off, DSP chain: off


thanks in advance...
Title: foo_upnp
Post by: bubbleguuum on 2010-07-27 00:44:45
i got the user agent string and created a new profile, but it was not selected properly (this is a small part of the above logfile)
Code: [Select]
107.465: upnp_server_conf::get_profile(699)/6420: INFO: using profile 'dBpoweramp Renaissance' (User-Agent:dBpoweramp)
opened 'Playback Stream Capture' for streaming, profile: Default, WAV / 44100 Hz / 16 bits / 2 channels, replaygain: off, DSP chain: off


Indeed, the User-Agent is of no use to the Controller to identify a renderer. The renderer's  manufacturer or model name can be used instead.
The manufacturer should be Illustrate so modify the line to read :

Use profile when <leave empty> contains Illustrate


In the log you posted it seems you didn't have a file playing in foobar2000, prior to hitting the Play PBS button of the Controller.
Can you try that ?
Title: foo_upnp
Post by: kruji on 2010-07-27 09:15:33
In the log you posted it seems you didn't have a file playing in foobar2000, prior to hitting the Play PBS button of the Controller.
Can you try that ?

weird.

streaming is also aborted when playing normal files (not the current foobar stream). so its not a problem of screen capturing. sometimes it takes 2 seconds playing until stopping, sometimes 15.
i do the following: start normal playback, select device, add file to upnp controller queue (normal file or screen capture), hit play pbs putton. depending on chance*, playback starts and stops after a few* seconds

the  log is here: http://pastebin.com/A91rMJP4 (http://pastebin.com/A91rMJP4)

(* sorry, for this unclear description. i know this doesn't help that much)
Title: foo_upnp
Post by: Brown Sound on 2010-07-27 15:59:23
First off, I love this plug-in. Thank you, so much, Bubbleguuum!!!

I do have a few questions though.

Here are the versions of the software for both of my PCs:
FB: 1.0.3
UpuP: 0.99.27
XP, SP3

1) I noticed on a screenshot (message #779) of another users controller UI, there were files listed under the control buttons and the currently playing line. Mine is just blank open space under those 2 items. I use DUI, and I have a large corner of my screen setup with multiple tabs (playlist, folders, console, controller, browser, etc.). Should there be a list or playlist under there or is this just that users config?

2) I stumbled upon an odd behavior, while testing for files being passed unmodified between my old laptop and main rig. I had earlier been testing the laptop as a renderer with the main rig being the server and controller. That worked fine and I stopped those tests. Next, I was testing the laptop as a client, pulling songs from the main rig. That also worked fine, but when I would stop the song playing on the laptop from the browser, the controller on the main rig would start pushing songs from the controller playback queue to the laptop. During my testing yesterday, I had always cleared the playback queue after tests, but this morning, I had left some songs in the queue. Is this automatically starting to play the playback queue normal, when a client’s playback is stopped?

Neither of these are showstoppers, just curious. Thank you, again, sir.
Title: foo_upnp
Post by: Wacky on 2010-07-28 00:56:24
I too am very happy with this plugin and have several SMC renderers around the house.  I stream radio, Sirius and files to several units. 
 
However I am having a problem recently with flac file streaming and it is intermittent.  The song will play and then stop completely for several seconds before jumping to the next song.  I am not transcoding lossless, but am decoding to WAV. 
 
Software - Windows 7, foobar2000 1.1b ( but the problem happened in 1.03), foo_upnp 0.99.27 
 
I have solid network performance.  I have also made some changes on this Windows 7 latpop to optimize USB drive performanc and reduce latency.  Average DPC Latency 400 to 500 usec. 
 
I am getting these types of error messages in the console: 
 

foo_upnp: 3603.930: PLT_HttpServerSocketTask::Write(331)/4288: WARNING: NPT_CHECK failed, result=-20400 (NPT_ERROR_CONNECTION_RESET) [(NPT_StreamToStreamCopy( *body_stream.AsPointer(), *output_stream.AsPointer(), 0, entity->GetContentLength(), 0, abort))]

Any help you can offer will be appreciated.  

More Detail

Code: [Select]
foo_upnp: 2986.716: PLT_Service::ProcessRenewSubscription(636)/4928: INFO: Renewed subscrption for X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml (sub=uuid:f1c933ab-9087-3087-bb48-195587292d6f)

foo_upnp: 2989.134: FbMediaServer::ProcessHttpRequest(285)/5320: INFO: received LAN request: [url=http://192.168.1.166:56923/X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml]http://192.168.1.166:56923/X_MS_MediaRecei...b6860/event.xml[/url] (User-Agent: Unknown)

foo_upnp: 2989.135: PLT_Service::ProcessRenewSubscription(636)/5320: INFO: Renewed subscrption for X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml (sub=uuid:3bd47653-7e2c-0e5a-c50a-8b9a88d1a270)

foo_upnp: 2999.655: FbMediaServer::ProcessHttpRequest(285)/636: INFO: received LAN request: [url=http://192.168.1.166:56923/DeviceDescription.xml]http://192.168.1.166:56923/DeviceDescription.xml[/url] (User-Agent: Opera/9.80 (Windows NT 6.1; U; en) Presto/2.6.30 Version/10.60)

foo_upnp: 2999.655: FbMediaServer::ProcessGetDescription(354)/636: INFO: ProcessGetDescription: user-agent: Opera/9.80 (Windows NT 6.1; U; en) Presto/2.6.30 Version/10.60

foo_upnp: 3007.739: FbMediaServer::ProcessHttpRequest(285)/3556: INFO: received LAN request: [url=http://192.168.1.166:56923/X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml]http://192.168.1.166:56923/X_MS_MediaRecei...b6860/event.xml[/url] (User-Agent: Unknown)

foo_upnp: 3007.740: PLT_Service::ProcessRenewSubscription(636)/3556: INFO: Renewed subscrption for X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml (sub=uuid:f1c933ab-9087-3087-bb48-195587292d6f)

foo_upnp: 3010.157: FbMediaServer::ProcessHttpRequest(285)/5516: INFO: received LAN request: [url=http://192.168.1.166:56923/X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml]http://192.168.1.166:56923/X_MS_MediaRecei...b6860/event.xml[/url] (User-Agent: Unknown)

foo_upnp: 3010.158: PLT_Service::ProcessRenewSubscription(636)/5516: INFO: Renewed subscrption for X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml (sub=uuid:3bd47653-7e2c-0e5a-c50a-8b9a88d1a270)

foo_upnp: 3028.774: FbMediaServer::ProcessHttpRequest(285)/4380: INFO: received LAN request: [url=http://192.168.1.166:56923/X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml]http://192.168.1.166:56923/X_MS_MediaRecei...b6860/event.xml[/url] (User-Agent: Unknown)

foo_upnp: 3028.775: PLT_Service::ProcessRenewSubscription(636)/4380: INFO: Renewed subscrption for X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml (sub=uuid:f1c933ab-9087-3087-bb48-195587292d6f)

foo_upnp: 3031.185: FbMediaServer::ProcessHttpRequest(285)/4972: INFO: received LAN request: [url=http://192.168.1.166:56923/X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml]http://192.168.1.166:56923/X_MS_MediaRecei...b6860/event.xml[/url] (User-Agent: Unknown)

foo_upnp: 3031.186: PLT_Service::ProcessRenewSubscription(636)/4972: INFO: Renewed subscrption for X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml (sub=uuid:3bd47653-7e2c-0e5a-c50a-8b9a88d1a270)

foo_upnp: 3049.796: FbMediaServer::ProcessHttpRequest(285)/4212: INFO: received LAN request: [url=http://192.168.1.166:56923/X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml]http://192.168.1.166:56923/X_MS_MediaRecei...b6860/event.xml[/url] (User-Agent: Unknown)

foo_upnp: 3049.797: PLT_Service::ProcessRenewSubscription(636)/4212: INFO: Renewed subscrption for X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml (sub=uuid:f1c933ab-9087-3087-bb48-195587292d6f)

foo_upnp: 3052.249: FbMediaServer::ProcessHttpRequest(285)/4000: INFO: received LAN request: [url=http://192.168.1.166:56923/X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml]http://192.168.1.166:56923/X_MS_MediaRecei...b6860/event.xml[/url] (User-Agent: Unknown)

foo_upnp: 3052.250: PLT_Service::ProcessRenewSubscription(636)/4000: INFO: Renewed subscrption for X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml (sub=uuid:3bd47653-7e2c-0e5a-c50a-8b9a88d1a270)

foo_upnp: 3070.832: FbMediaServer::ProcessHttpRequest(285)/5452: INFO: received LAN request: [url=http://192.168.1.166:56923/X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml]http://192.168.1.166:56923/X_MS_MediaRecei...b6860/event.xml[/url] (User-Agent: Unknown)

foo_upnp: 3070.833: PLT_Service::ProcessRenewSubscription(636)/5452: INFO: Renewed subscrption for X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml (sub=uuid:f1c933ab-9087-3087-bb48-195587292d6f)

foo_upnp: 3073.272: FbMediaServer::ProcessHttpRequest(285)/4964: INFO: received LAN request: [url=http://192.168.1.166:56923/X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml]http://192.168.1.166:56923/X_MS_MediaRecei...b6860/event.xml[/url] (User-Agent: Unknown)

foo_upnp: 3073.273: PLT_Service::ProcessRenewSubscription(636)/4964: INFO: Renewed subscrption for X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml (sub=uuid:3bd47653-7e2c-0e5a-c50a-8b9a88d1a270)

foo_upnp: 3091.863: FbMediaServer::ProcessHttpRequest(285)/1624: INFO: received LAN request: [url=http://192.168.1.166:56923/X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml]http://192.168.1.166:56923/X_MS_MediaRecei...b6860/event.xml[/url] (User-Agent: Unknown)

foo_upnp: 3091.864: PLT_Service::ProcessRenewSubscription(636)/1624: INFO: Renewed subscrption for X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml (sub=uuid:f1c933ab-9087-3087-bb48-195587292d6f)

foo_upnp: 3094.298: FbMediaServer::ProcessHttpRequest(285)/4880: INFO: received LAN request: [url=http://192.168.1.166:56923/X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml]http://192.168.1.166:56923/X_MS_MediaRecei...b6860/event.xml[/url] (User-Agent: Unknown)

foo_upnp: 3094.300: PLT_Service::ProcessRenewSubscription(636)/4880: INFO: Renewed subscrption for X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml (sub=uuid:3bd47653-7e2c-0e5a-c50a-8b9a88d1a270)

foo_upnp: 3112.892: FbMediaServer::ProcessHttpRequest(285)/1872: INFO: received LAN request: [url=http://192.168.1.166:56923/X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml]http://192.168.1.166:56923/X_MS_MediaRecei...b6860/event.xml[/url] (User-Agent: Unknown)

foo_upnp: 3112.892: PLT_Service::ProcessRenewSubscription(636)/1872: INFO: Renewed subscrption for X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml (sub=uuid:f1c933ab-9087-3087-bb48-195587292d6f)

foo_upnp: 3115.329: FbMediaServer::ProcessHttpRequest(285)/5268: INFO: received LAN request: [url=http://192.168.1.166:56923/X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml]http://192.168.1.166:56923/X_MS_MediaRecei...b6860/event.xml[/url] (User-Agent: Unknown)

foo_upnp: 3115.330: PLT_Service::ProcessRenewSubscription(636)/5268: INFO: Renewed subscrption for X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml (sub=uuid:3bd47653-7e2c-0e5a-c50a-8b9a88d1a270)

foo_upnp: 3133.924: FbMediaServer::ProcessHttpRequest(285)/2140: INFO: received LAN request: [url=http://192.168.1.166:56923/X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml]http://192.168.1.166:56923/X_MS_MediaRecei...b6860/event.xml[/url] (User-Agent: Unknown)

foo_upnp: 3133.925: PLT_Service::ProcessRenewSubscription(636)/2140: INFO: Renewed subscrption for X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml (sub=uuid:f1c933ab-9087-3087-bb48-195587292d6f)

foo_upnp: 3136.349: FbMediaServer::ProcessHttpRequest(285)/5860: INFO: received LAN request: [url=http://192.168.1.166:56923/X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml]http://192.168.1.166:56923/X_MS_MediaRecei...b6860/event.xml[/url] (User-Agent: Unknown)

foo_upnp: 3136.349: PLT_Service::ProcessRenewSubscription(636)/5860: INFO: Renewed subscrption for X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml (sub=uuid:3bd47653-7e2c-0e5a-c50a-8b9a88d1a270)

foo_upnp: 3153.304: FbMediaServer::ProcessHttpRequest(285)/4840: INFO: received LAN request: [url=http://192.168.1.166:56923/ContentDirectory/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml]http://192.168.1.166:56923/ContentDirector...b6860/event.xml[/url] (User-Agent: Unknown)

foo_upnp: 3153.305: PLT_Service::ProcessRenewSubscription(636)/4840: INFO: Renewed subscrption for ContentDirectory/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml (sub=uuid:e10dd763-dbf9-4dcf-0d80-04f740312fd5)

foo_upnp: 3154.955: FbMediaServer::ProcessHttpRequest(285)/5496: INFO: received LAN request: [url=http://192.168.1.166:56923/X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml]http://192.168.1.166:56923/X_MS_MediaRecei...b6860/event.xml[/url] (User-Agent: Unknown)

foo_upnp: 3154.956: PLT_Service::ProcessRenewSubscription(636)/5496: INFO: Renewed subscrption for X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml (sub=uuid:f1c933ab-9087-3087-bb48-195587292d6f)

foo_upnp: 3156.142: FbMediaServer::ProcessHttpRequest(285)/4948: INFO: received LAN request: [url=http://192.168.1.166:56923/ContentDirectory/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml]http://192.168.1.166:56923/ContentDirector...b6860/event.xml[/url] (User-Agent: Unknown)

foo_upnp: 3156.143: PLT_Service::ProcessRenewSubscription(636)/4948: INFO: Renewed subscrption for ContentDirectory/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml (sub=uuid:7314ad64-efbb-405e-8765-9967c4541bf9)

foo_upnp: 3157.368: FbMediaServer::ProcessHttpRequest(285)/3556: INFO: received LAN request: [url=http://192.168.1.166:56923/X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml]http://192.168.1.166:56923/X_MS_MediaRecei...b6860/event.xml[/url] (User-Agent: Unknown)

foo_upnp: 3157.368: PLT_Service::ProcessRenewSubscription(636)/3556: INFO: Renewed subscrption for X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml (sub=uuid:3bd47653-7e2c-0e5a-c50a-8b9a88d1a270)

foo_upnp: submitted statistics for 'file://E:\FLAC\Alan Parsons Project\The Turn Of A Friendly Card\05 - The Gold Bug.flac'

foo_upnp: 3168.489: FbMediaServer::ProcessHttpRequest(285)/4288: INFO: received LAN request: [url=http://192.168.1.166:56923/content/2571c5f148ec5511b80ca7a15a24e72a.wav?profile_id=0&convert=wav]http://192.168.1.166:56923/content/2571c5f...amp;convert=wav[/url] (User-Agent: WinampMPEG/2.8)

foo_upnp: 3168.490: PLT_HttpHelper::ToLog(409)/4288: INFO:

GET /content/2571c5f148ec5511b80ca7a15a24e72a.wav?profile_id=0&convert=wav HTTP/1.1

Host: 192.168.1.166:56923

Icy-MetaData: 1

Connection: close

User-Agent: WinampMPEG/2.8

Accept: */*

foo_upnp: 3168.495: upnp_server_conf::get_profile(705)/4288: INFO: using default profile (User-Agent:WinampMPEG/2.8)

foo_upnp: opened 'file://E:\FLAC\Alan Parsons Project\The Turn Of A Friendly Card\06 - The Turn Of A Friendly Card.flac' for streaming, profile: Default, WAV / 44100 Hz / 16 bits / 2 channels, replaygain: off, DSP chain: off

foo_upnp: 3175.980: FbMediaServer::ProcessHttpRequest(285)/1172: INFO: received LAN request: [url=http://192.168.1.166:56923/X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml]http://192.168.1.166:56923/X_MS_MediaRecei...b6860/event.xml[/url] (User-Agent: Unknown)

foo_upnp: 3175.981: PLT_Service::ProcessRenewSubscription(636)/1172: INFO: Renewed subscrption for X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml (sub=uuid:f1c933ab-9087-3087-bb48-195587292d6f)

foo_upnp: 3178.392: FbMediaServer::ProcessHttpRequest(285)/4380: INFO: received LAN request: [url=http://192.168.1.166:56923/X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml]http://192.168.1.166:56923/X_MS_MediaRecei...b6860/event.xml[/url] (User-Agent: Unknown)

foo_upnp: 3178.393: PLT_Service::ProcessRenewSubscription(636)/4380: INFO: Renewed subscrption for X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml (sub=uuid:3bd47653-7e2c-0e5a-c50a-8b9a88d1a270)

foo_upnp: 3197.008: FbMediaServer::ProcessHttpRequest(285)/4312: INFO: received LAN request: [url=http://192.168.1.166:56923/X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml]http://192.168.1.166:56923/X_MS_MediaRecei...b6860/event.xml[/url] (User-Agent: Unknown)

foo_upnp: 3197.009: PLT_Service::ProcessRenewSubscription(636)/4312: INFO: Renewed subscrption for X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml (sub=uuid:f1c933ab-9087-3087-bb48-195587292d6f)

foo_upnp: 3199.415: FbMediaServer::ProcessHttpRequest(285)/4100: INFO: received LAN request: [url=http://192.168.1.166:56923/X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml]http://192.168.1.166:56923/X_MS_MediaRecei...b6860/event.xml[/url] (User-Agent: Unknown)

foo_upnp: 3199.415: PLT_Service::ProcessRenewSubscription(636)/4100: INFO: Renewed subscrption for X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml (sub=uuid:3bd47653-7e2c-0e5a-c50a-8b9a88d1a270)

foo_upnp: 3218.036: FbMediaServer::ProcessHttpRequest(285)/4164: INFO: received LAN request: [url=http://192.168.1.166:56923/X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml]http://192.168.1.166:56923/X_MS_MediaRecei...b6860/event.xml[/url] (User-Agent: Unknown)

foo_upnp: 3218.036: PLT_Service::ProcessRenewSubscription(636)/4164: INFO: Renewed subscrption for X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml (sub=uuid:f1c933ab-9087-3087-bb48-195587292d6f)

foo_upnp: 3220.440: FbMediaServer::ProcessHttpRequest(285)/5048: INFO: received LAN request: [url=http://192.168.1.166:56923/X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml]http://192.168.1.166:56923/X_MS_MediaRecei...b6860/event.xml[/url] (User-Agent: Unknown)

foo_upnp: 3220.441: PLT_Service::ProcessRenewSubscription(636)/5048: INFO: Renewed subscrption for X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml (sub=uuid:3bd47653-7e2c-0e5a-c50a-8b9a88d1a270)

foo_upnp: 3239.066: FbMediaServer::ProcessHttpRequest(285)/6040: INFO: received LAN request: [url=http://192.168.1.166:56923/X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml]http://192.168.1.166:56923/X_MS_MediaRecei...b6860/event.xml[/url] (User-Agent: Unknown)

foo_upnp: 3239.067: PLT_Service::ProcessRenewSubscription(636)/6040: INFO: Renewed subscrption for X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml (sub=uuid:f1c933ab-9087-3087-bb48-195587292d6f)

foo_upnp: 3241.462: FbMediaServer::ProcessHttpRequest(285)/1872: INFO: received LAN request: [url=http://192.168.1.166:56923/X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml]http://192.168.1.166:56923/X_MS_MediaRecei...b6860/event.xml[/url] (User-Agent: Unknown)

foo_upnp: 3241.463: PLT_Service::ProcessRenewSubscription(636)/1872: INFO: Renewed subscrption for X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml (sub=uuid:3bd47653-7e2c-0e5a-c50a-8b9a88d1a270)

foo_upnp: 3260.112: FbMediaServer::ProcessHttpRequest(285)/3552: INFO: received LAN request: [url=http://192.168.1.166:56923/X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml]http://192.168.1.166:56923/X_MS_MediaRecei...b6860/event.xml[/url] (User-Agent: Unknown)

foo_upnp: 3260.113: PLT_Service::ProcessRenewSubscription(636)/3552: INFO: Renewed subscrption for X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml (sub=uuid:f1c933ab-9087-3087-bb48-195587292d6f)

foo_upnp: 3262.485: FbMediaServer::ProcessHttpRequest(285)/5892: INFO: received LAN request: [url=http://192.168.1.166:56923/X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml]http://192.168.1.166:56923/X_MS_MediaRecei...b6860/event.xml[/url] (User-Agent: Unknown)

foo_upnp: 3262.485: PLT_Service::ProcessRenewSubscription(636)/5892: INFO: Renewed subscrption for X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml (sub=uuid:3bd47653-7e2c-0e5a-c50a-8b9a88d1a270)

foo_upnp: 3281.212: FbMediaServer::ProcessHttpRequest(285)/4948: INFO: received LAN request: [url=http://192.168.1.166:56923/X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml]http://192.168.1.166:56923/X_MS_MediaRecei...b6860/event.xml[/url] (User-Agent: Unknown)

foo_upnp: 3281.213: PLT_Service::ProcessRenewSubscription(636)/4948: INFO: Renewed subscrption for X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml (sub=uuid:f1c933ab-9087-3087-bb48-195587292d6f)

foo_upnp: 3283.505: FbMediaServer::ProcessHttpRequest(285)/3556: INFO: received LAN request: [url=http://192.168.1.166:56923/X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml]http://192.168.1.166:56923/X_MS_MediaRecei...b6860/event.xml[/url] (User-Agent: Unknown)

foo_upnp: 3283.506: PLT_Service::ProcessRenewSubscription(636)/3556: INFO: Renewed subscrption for X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml (sub=uuid:3bd47653-7e2c-0e5a-c50a-8b9a88d1a270)

foo_upnp: 3302.248: FbMediaServer::ProcessHttpRequest(285)/5668: INFO: received LAN request: [url=http://192.168.1.166:56923/X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml]http://192.168.1.166:56923/X_MS_MediaRecei...b6860/event.xml[/url] (User-Agent: Unknown)

foo_upnp: 3302.249: PLT_Service::ProcessRenewSubscription(636)/5668: INFO: Renewed subscrption for X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml (sub=uuid:f1c933ab-9087-3087-bb48-195587292d6f)

foo_upnp: 3304.527: FbMediaServer::ProcessHttpRequest(285)/5232: INFO: received LAN request: [url=http://192.168.1.166:56923/X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml]http://192.168.1.166:56923/X_MS_MediaRecei...b6860/event.xml[/url] (User-Agent: Unknown)

foo_upnp: 3304.527: PLT_Service::ProcessRenewSubscription(636)/5232: INFO: Renewed subscrption for X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml (sub=uuid:3bd47653-7e2c-0e5a-c50a-8b9a88d1a270)

foo_upnp: 3323.274: FbMediaServer::ProcessHttpRequest(285)/4212: INFO: received LAN request: [url=http://192.168.1.166:56923/X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml]http://192.168.1.166:56923/X_MS_MediaRecei...b6860/event.xml[/url] (User-Agent: Unknown)

foo_upnp: 3323.275: PLT_Service::ProcessRenewSubscription(636)/4212: INFO: Renewed subscrption for X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml (sub=uuid:f1c933ab-9087-3087-bb48-195587292d6f)

foo_upnp: 3325.550: FbMediaServer::ProcessHttpRequest(285)/5988: INFO: received LAN request: [url=http://192.168.1.166:56923/X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml]http://192.168.1.166:56923/X_MS_MediaRecei...b6860/event.xml[/url] (User-Agent: Unknown)

foo_upnp: 3325.551: PLT_Service::ProcessRenewSubscription(636)/5988: INFO: Renewed subscrption for X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml (sub=uuid:3bd47653-7e2c-0e5a-c50a-8b9a88d1a270)

foo_upnp: 3344.311: FbMediaServer::ProcessHttpRequest(285)/4232: INFO: received LAN request: [url=http://192.168.1.166:56923/X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml]http://192.168.1.166:56923/X_MS_MediaRecei...b6860/event.xml[/url] (User-Agent: Unknown)

foo_upnp: 3344.312: PLT_Service::ProcessRenewSubscription(636)/4232: INFO: Renewed subscrption for X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml (sub=uuid:f1c933ab-9087-3087-bb48-195587292d6f)

foo_upnp: 3346.570: FbMediaServer::ProcessHttpRequest(285)/5780: INFO: received LAN request: [url=http://192.168.1.166:56923/X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml]http://192.168.1.166:56923/X_MS_MediaRecei...b6860/event.xml[/url] (User-Agent: Unknown)

foo_upnp: 3346.571: PLT_Service::ProcessRenewSubscription(636)/5780: INFO: Renewed subscrption for X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml (sub=uuid:3bd47653-7e2c-0e5a-c50a-8b9a88d1a270)

foo_upnp: 3365.349: FbMediaServer::ProcessHttpRequest(285)/5140: INFO: received LAN request: [url=http://192.168.1.166:56923/X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml]http://192.168.1.166:56923/X_MS_MediaRecei...b6860/event.xml[/url] (User-Agent: Unknown)

foo_upnp: 3365.350: PLT_Service::ProcessRenewSubscription(636)/5140: INFO: Renewed subscrption for X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml (sub=uuid:f1c933ab-9087-3087-bb48-195587292d6f)

foo_upnp: 3367.592: FbMediaServer::ProcessHttpRequest(285)/6024: INFO: received LAN request: [url=http://192.168.1.166:56923/X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml]http://192.168.1.166:56923/X_MS_MediaRecei...b6860/event.xml[/url] (User-Agent: Unknown)

foo_upnp: 3367.593: PLT_Service::ProcessRenewSubscription(636)/6024: INFO: Renewed subscrption for X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml (sub=uuid:3bd47653-7e2c-0e5a-c50a-8b9a88d1a270)

foo_upnp: 3378.328: FbMediaServer::ProcessHttpRequest(285)/5072: INFO: received LAN request: [url=http://192.168.1.166:56923/ContentDirectory/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml]http://192.168.1.166:56923/ContentDirector...b6860/event.xml[/url] (User-Agent: Unknown)

foo_upnp: 3378.329: PLT_Service::ProcessRenewSubscription(636)/5072: INFO: Renewed subscrption for ContentDirectory/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml (sub=uuid:e10dd763-dbf9-4dcf-0d80-04f740312fd5)

foo_upnp: 3381.180: FbMediaServer::ProcessHttpRequest(285)/1820: INFO: received LAN request: [url=http://192.168.1.166:56923/ContentDirectory/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml]http://192.168.1.166:56923/ContentDirector...b6860/event.xml[/url] (User-Agent: Unknown)

foo_upnp: 3381.181: PLT_Service::ProcessRenewSubscription(636)/1820: INFO: Renewed subscrption for ContentDirectory/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml (sub=uuid:7314ad64-efbb-405e-8765-9967c4541bf9)

foo_upnp: 3386.379: FbMediaServer::ProcessHttpRequest(285)/4956: INFO: received LAN request: [url=http://192.168.1.166:56923/X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml]http://192.168.1.166:56923/X_MS_MediaRecei...b6860/event.xml[/url] (User-Agent: Unknown)

foo_upnp: 3386.380: PLT_Service::ProcessRenewSubscription(636)/4956: INFO: Renewed subscrption for X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml (sub=uuid:f1c933ab-9087-3087-bb48-195587292d6f)

foo_upnp: 3388.613: FbMediaServer::ProcessHttpRequest(285)/5144: INFO: received LAN request: [url=http://192.168.1.166:56923/X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml]http://192.168.1.166:56923/X_MS_MediaRecei...b6860/event.xml[/url] (User-Agent: Unknown)

foo_upnp: 3388.614: PLT_Service::ProcessRenewSubscription(636)/5144: INFO: Renewed subscrption for X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml (sub=uuid:3bd47653-7e2c-0e5a-c50a-8b9a88d1a270)

foo_upnp: 3407.414: FbMediaServer::ProcessHttpRequest(285)/5256: INFO: received LAN request: [url=http://192.168.1.166:56923/X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml]http://192.168.1.166:56923/X_MS_MediaRecei...b6860/event.xml[/url] (User-Agent: Unknown)

foo_upnp: 3407.415: PLT_Service::ProcessRenewSubscription(636)/5256: INFO: Renewed subscrption for X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml (sub=uuid:f1c933ab-9087-3087-bb48-195587292d6f)

foo_upnp: 3409.636: FbMediaServer::ProcessHttpRequest(285)/5988: INFO: received LAN request: [url=http://192.168.1.166:56923/X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml]http://192.168.1.166:56923/X_MS_MediaRecei...b6860/event.xml[/url] (User-Agent: Unknown)

foo_upnp: 3409.638: PLT_Service::ProcessRenewSubscription(636)/5988: INFO: Renewed subscrption for X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml (sub=uuid:3bd47653-7e2c-0e5a-c50a-8b9a88d1a270)

foo_upnp: 3428.463: FbMediaServer::ProcessHttpRequest(285)/2432: INFO: received LAN request: [url=http://192.168.1.166:56923/X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml]http://192.168.1.166:56923/X_MS_MediaRecei...b6860/event.xml[/url] (User-Agent: Unknown)

foo_upnp: 3428.464: PLT_Service::ProcessRenewSubscription(636)/2432: INFO: Renewed subscrption for X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml (sub=uuid:f1c933ab-9087-3087-bb48-195587292d6f)

foo_upnp: 3430.657: FbMediaServer::ProcessHttpRequest(285)/5048: INFO: received LAN request: [url=http://192.168.1.166:56923/X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml]http://192.168.1.166:56923/X_MS_MediaRecei...b6860/event.xml[/url] (User-Agent: Unknown)

foo_upnp: 3430.658: PLT_Service::ProcessRenewSubscription(636)/5048: INFO: Renewed subscrption for X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml (sub=uuid:3bd47653-7e2c-0e5a-c50a-8b9a88d1a270)

foo_upnp: 3449.493: FbMediaServer::ProcessHttpRequest(285)/5644: INFO: received LAN request: [url=http://192.168.1.166:56923/X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml]http://192.168.1.166:56923/X_MS_MediaRecei...b6860/event.xml[/url] (User-Agent: Unknown)

foo_upnp: 3449.493: PLT_Service::ProcessRenewSubscription(636)/5644: INFO: Renewed subscrption for X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml (sub=uuid:f1c933ab-9087-3087-bb48-195587292d6f)

foo_upnp: 3451.677: FbMediaServer::ProcessHttpRequest(285)/3292: INFO: received LAN request: [url=http://192.168.1.166:56923/X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml]http://192.168.1.166:56923/X_MS_MediaRecei...b6860/event.xml[/url] (User-Agent: Unknown)

foo_upnp: 3451.678: PLT_Service::ProcessRenewSubscription(636)/3292: INFO: Renewed subscrption for X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml (sub=uuid:3bd47653-7e2c-0e5a-c50a-8b9a88d1a270)

foo_upnp: 3470.516: FbMediaServer::ProcessHttpRequest(285)/4448: INFO: received LAN request: [url=http://192.168.1.166:56923/X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml]http://192.168.1.166:56923/X_MS_MediaRecei...b6860/event.xml[/url] (User-Agent: Unknown)

foo_upnp: 3470.517: PLT_Service::ProcessRenewSubscription(636)/4448: INFO: Renewed subscrption for X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml (sub=uuid:f1c933ab-9087-3087-bb48-195587292d6f)

foo_upnp: 3472.699: FbMediaServer::ProcessHttpRequest(285)/5988: INFO: received LAN request: [url=http://192.168.1.166:56923/X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml]http://192.168.1.166:56923/X_MS_MediaRecei...b6860/event.xml[/url] (User-Agent: Unknown)

foo_upnp: 3472.700: PLT_Service::ProcessRenewSubscription(636)/5988: INFO: Renewed subscrption for X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml (sub=uuid:3bd47653-7e2c-0e5a-c50a-8b9a88d1a270)

foo_upnp: 3491.548: FbMediaServer::ProcessHttpRequest(285)/5748: INFO: received LAN request: [url=http://192.168.1.166:56923/X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml]http://192.168.1.166:56923/X_MS_MediaRecei...b6860/event.xml[/url] (User-Agent: Unknown)

foo_upnp: 3491.549: PLT_Service::ProcessRenewSubscription(636)/5748: INFO: Renewed subscrption for X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml (sub=uuid:f1c933ab-9087-3087-bb48-195587292d6f)

foo_upnp: 3493.724: FbMediaServer::ProcessHttpRequest(285)/5348: INFO: received LAN request: [url=http://192.168.1.166:56923/X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml]http://192.168.1.166:56923/X_MS_MediaRecei...b6860/event.xml[/url] (User-Agent: Unknown)

foo_upnp: 3493.725: PLT_Service::ProcessRenewSubscription(636)/5348: INFO: Renewed subscrption for X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml (sub=uuid:3bd47653-7e2c-0e5a-c50a-8b9a88d1a270)

foo_upnp: 3499.202: FbMediaServer::ProcessHttpRequest(285)/4676: INFO: received LAN request: [url=http://192.168.1.166:56923/DeviceDescription.xml]http://192.168.1.166:56923/DeviceDescription.xml[/url] (User-Agent: Opera/9.80 (Windows NT 6.1; U; en) Presto/2.6.30 Version/10.60)

foo_upnp: 3499.202: FbMediaServer::ProcessGetDescription(354)/4676: INFO: ProcessGetDescription: user-agent: Opera/9.80 (Windows NT 6.1; U; en) Presto/2.6.30 Version/10.60

foo_upnp: 3512.578: FbMediaServer::ProcessHttpRequest(285)/5824: INFO: received LAN request: [url=http://192.168.1.166:56923/X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml]http://192.168.1.166:56923/X_MS_MediaRecei...b6860/event.xml[/url] (User-Agent: Unknown)

foo_upnp: 3512.579: PLT_Service::ProcessRenewSubscription(636)/5824: INFO: Renewed subscrption for X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml (sub=uuid:f1c933ab-9087-3087-bb48-195587292d6f)

foo_upnp: 3514.746: FbMediaServer::ProcessHttpRequest(285)/5816: INFO: received LAN request: [url=http://192.168.1.166:56923/X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml]http://192.168.1.166:56923/X_MS_MediaRecei...b6860/event.xml[/url] (User-Agent: Unknown)

foo_upnp: 3514.746: PLT_Service::ProcessRenewSubscription(636)/5816: INFO: Renewed subscrption for X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml (sub=uuid:3bd47653-7e2c-0e5a-c50a-8b9a88d1a270)

foo_upnp: 3533.607: FbMediaServer::ProcessHttpRequest(285)/4440: INFO: received LAN request: [url=http://192.168.1.166:56923/X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml]http://192.168.1.166:56923/X_MS_MediaRecei...b6860/event.xml[/url] (User-Agent: Unknown)

foo_upnp: 3533.608: PLT_Service::ProcessRenewSubscription(636)/4440: INFO: Renewed subscrption for X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml (sub=uuid:f1c933ab-9087-3087-bb48-195587292d6f)

foo_upnp: 3535.767: FbMediaServer::ProcessHttpRequest(285)/5192: INFO: received LAN request: [url=http://192.168.1.166:56923/X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml]http://192.168.1.166:56923/X_MS_MediaRecei...b6860/event.xml[/url] (User-Agent: Unknown)

foo_upnp: 3535.768: PLT_Service::ProcessRenewSubscription(636)/5192: INFO: Renewed subscrption for X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml (sub=uuid:3bd47653-7e2c-0e5a-c50a-8b9a88d1a270)

foo_upnp: 3554.634: FbMediaServer::ProcessHttpRequest(285)/5860: INFO: received LAN request: [url=http://192.168.1.166:56923/X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml]http://192.168.1.166:56923/X_MS_MediaRecei...b6860/event.xml[/url] (User-Agent: Unknown)

foo_upnp: 3554.635: PLT_Service::ProcessRenewSubscription(636)/5860: INFO: Renewed subscrption for X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml (sub=uuid:f1c933ab-9087-3087-bb48-195587292d6f)

foo_upnp: 3556.789: FbMediaServer::ProcessHttpRequest(285)/1324: INFO: received LAN request: [url=http://192.168.1.166:56923/X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml]http://192.168.1.166:56923/X_MS_MediaRecei...b6860/event.xml[/url] (User-Agent: Unknown)

foo_upnp: 3556.789: PLT_Service::ProcessRenewSubscription(636)/1324: INFO: Renewed subscrption for X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml (sub=uuid:3bd47653-7e2c-0e5a-c50a-8b9a88d1a270)

foo_upnp: 3575.656: FbMediaServer::ProcessHttpRequest(285)/4160: INFO: received LAN request: [url=http://192.168.1.166:56923/X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml]http://192.168.1.166:56923/X_MS_MediaRecei...b6860/event.xml[/url] (User-Agent: Unknown)

foo_upnp: 3575.657: PLT_Service::ProcessRenewSubscription(636)/4160: INFO: Renewed subscrption for X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml (sub=uuid:f1c933ab-9087-3087-bb48-195587292d6f)

foo_upnp: 3577.808: FbMediaServer::ProcessHttpRequest(285)/676: INFO: received LAN request: [url=http://192.168.1.166:56923/X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml]http://192.168.1.166:56923/X_MS_MediaRecei...b6860/event.xml[/url] (User-Agent: Unknown)

foo_upnp: 3577.809: PLT_Service::ProcessRenewSubscription(636)/676: INFO: Renewed subscrption for X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml (sub=uuid:3bd47653-7e2c-0e5a-c50a-8b9a88d1a270)

foo_upnp: 3596.684: FbMediaServer::ProcessHttpRequest(285)/6168: INFO: received LAN request: [url=http://192.168.1.166:56923/X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml]http://192.168.1.166:56923/X_MS_MediaRecei...b6860/event.xml[/url] (User-Agent: Unknown)

foo_upnp: 3596.685: PLT_Service::ProcessRenewSubscription(636)/6168: INFO: Renewed subscrption for X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml (sub=uuid:f1c933ab-9087-3087-bb48-195587292d6f)

foo_upnp: 3598.827: FbMediaServer::ProcessHttpRequest(285)/6172: INFO: received LAN request: [url=http://192.168.1.166:56923/X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml]http://192.168.1.166:56923/X_MS_MediaRecei...b6860/event.xml[/url] (User-Agent: Unknown)

foo_upnp: 3598.828: PLT_Service::ProcessRenewSubscription(636)/6172: INFO: Renewed subscrption for X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml (sub=uuid:3bd47653-7e2c-0e5a-c50a-8b9a88d1a270)

foo_upnp: 3603.352: FbMediaServer::ProcessHttpRequest(285)/6200: INFO: received LAN request: [url=http://192.168.1.166:56923/ContentDirectory/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml]http://192.168.1.166:56923/ContentDirector...b6860/event.xml[/url] (User-Agent: Unknown)

foo_upnp: 3603.353: PLT_Service::ProcessRenewSubscription(636)/6200: INFO: Renewed subscrption for ContentDirectory/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml (sub=uuid:e10dd763-dbf9-4dcf-0d80-04f740312fd5)

foo_upnp: 3603.930: PLT_HttpServerSocketTask::Write(331)/4288: WARNING: NPT_CHECK failed, result=-20400 (NPT_ERROR_CONNECTION_RESET) [(NPT_StreamToStreamCopy( *body_stream.AsPointer(), *output_stream.AsPointer(), 0, entity->GetContentLength(), 0, abort))]

foo_upnp: 3606.233: FbMediaServer::ProcessHttpRequest(285)/6212: INFO: received LAN request: [url=http://192.168.1.166:56923/ContentDirectory/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml]http://192.168.1.166:56923/ContentDirector...b6860/event.xml[/url] (User-Agent: Unknown)

foo_upnp: 3606.234: PLT_Service::ProcessRenewSubscription(636)/6212: INFO: Renewed subscrption for ContentDirectory/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml (sub=uuid:7314ad64-efbb-405e-8765-9967c4541bf9)

foo_upnp: 3617.705: FbMediaServer::ProcessHttpRequest(285)/6244: INFO: received LAN request: [url=http://192.168.1.166:56923/X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml]http://192.168.1.166:56923/X_MS_MediaRecei...b6860/event.xml[/url] (User-Agent: Unknown)

foo_upnp: 3617.706: PLT_Service::ProcessRenewSubscription(636)/6244: INFO: Renewed subscrption for X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml (sub=uuid:f1c933ab-9087-3087-bb48-195587292d6f)

foo_upnp: 3619.855: FbMediaServer::ProcessHttpRequest(285)/6248: INFO: received LAN request: [url=http://192.168.1.166:56923/X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml]http://192.168.1.166:56923/X_MS_MediaRecei...b6860/event.xml[/url] (User-Agent: Unknown)

foo_upnp: 3619.856: PLT_Service::ProcessRenewSubscription(636)/6248: INFO: Renewed subscrption for X_MS_MediaReceiverRegistrar/b77a1e11-438d-2e25-f173-0dd887cb6860/event.xml (sub=uuid:3bd47653-7e2c-0e5a-c50a-8b9a88d1a270)


Title: foo_upnp
Post by: Wacky on 2010-07-28 14:13:05
I cannot figure out how to edit my previous post.

I reinstalled foobar2000 1.0.3 and now the flac streaming problem is solved.  I have heard a couple gaps in about 90 minutes of listening, but the song always picks up where it left off.  And I am browsing constantly.

Just FYI - I had drop out problems with streaming internet radio stations to the renderers using foo_upnp.  I solved this by transcoding everything to mp3 ( except lossless, which I decode to WAV).  I guess the transcoding takes care of any buffering problems so the internet radio stations play continuously.

Thanks again for a splendid piece of software!
Title: foo_upnp
Post by: bubbleguuum on 2010-07-29 12:27:38
Just FYI - I had drop out problems with streaming internet radio stations to the renderers using foo_upnp.  I solved this by transcoding everything to mp3 ( except lossless, which I decode to WAV).  I guess the transcoding takes care of any buffering problems so the internet radio stations play continuously.


Are you streaming using wifi ? wifi is very hit and miss for streaming especially the higher  the required bandwidth is.
When it works reliably you're lucky but generally going wired is way more reliable.
Title: foo_upnp
Post by: bubbleguuum on 2010-07-29 12:31:41
1) I noticed on a screenshot (message #779) of another users controller UI, there were files listed under the control buttons and the currently playing line. Mine is just blank open space under those 2 items. I use DUI, and I have a large corner of my screen setup with multiple tabs (playlist, folders, console, controller, browser, etc.). Should there be a list or playlist under there or is this just that users config?


It's just a custom user layout with the playlist manager below the Controller.

Quote
2) I stumbled upon an odd behavior, while testing for files being passed unmodified between my old laptop and main rig. I had earlier been testing the laptop as a renderer with the main rig being the server and controller. That worked fine and I stopped those tests. Next, I was testing the laptop as a client, pulling songs from the main rig. That also worked fine, but when I would stop the song playing on the laptop from the browser, the controller on the main rig would start pushing songs from the controller playback queue to the laptop. During my testing yesterday, I had always cleared the playback queue after tests, but this morning, I had left some songs in the queue. Is this automatically starting to play the playback queue normal, when a client’s playback is stopped?


The Controller will instruct the renderer to play next song from the UPnP Playback Queue when it gets a stop event. Usually this happen automatically when the renderer finishes playing a track but you can also trigger it manually if you stop playback on the renderer.
Title: foo_upnp
Post by: bubbleguuum on 2010-07-29 12:35:44
i do the following: start normal playback, select device, add file to upnp controller queue (normal file or screen capture), hit play pbs putton. depending on chance*, playback starts and stops after a few* seconds


When using playback stream capture there's no need to add anything the the upnp controller queue as PBS stream what foobar2000 is currently playing as a continuous stream.
Title: foo_upnp
Post by: kruji on 2010-07-29 16:30:24
i do the following: start normal playback, select device, add file to upnp controller queue (normal file or screen capture), hit play pbs putton. depending on chance*, playback starts and stops after a few* seconds


When using playback stream capture there's no need to add anything the the upnp controller queue as PBS stream what foobar2000 is currently playing as a continuous stream.


both, screen capture and normal playback fails. maybe it's also a wifi problem...
Title: foo_upnp
Post by: war59312 on 2010-07-30 02:47:42
Still happening...

I am now getting this error on foobar2000 startup.

Quote
foo_upnp: 5.320: PLT_HttpTcpConnector::Connect(86)/3120: FATAL: NPT_CHECK failed, result=-1 (FAILURE) [(m_Socket->Connect(socket_address, connection_timeout))]
foo_upnp: 5.357: PLT_HttpTcpConnector::Connect(86)/2336: FATAL: NPT_CHECK failed, result=-1 (FAILURE) [(m_Socket->Connect(socket_address, connection_timeout))]
foo_upnp: 5.451: PLT_HttpTcpConnector::Connect(86)/2060: FATAL: NPT_CHECK failed, result=-1 (FAILURE) [(m_Socket->Connect(socket_address, connection_timeout))]
Here is all level log:

Code: [Select]
foo_upnp: 4.469: PLT_HttpHelper::ToLog(409)/4052: FINER: 
GET / HTTP/1.1
User-Agent: Windows Media Player Network Sharing Service/1.0
Host: 5.139.8.151:53301
Connection: Keep-Alive
foo_upnp: 4.469: PLT_DeviceHost::ProcessHttpRequest(376)/4052: FINER: PLT_DeviceHost Received Request:
foo_upnp: 4.469: PLT_HttpHelper::ToLog(409)/4052: FINER:
GET / HTTP/1.1
User-Agent: Windows Media Player Network Sharing Service/1.0
Host: 5.139.8.151:53301
Connection: Keep-Alive
foo_upnp: 4.470: PLT_DeviceHost::ProcessGetDescription(422)/4052: FINEST: Returning description to 5.199.216.40: <?xml version="1.0" encoding="UTF-8"?>
<root xmlns="urn:schemas-upnp-org:device-1-0" xmlns:dlna="urn:schemas-dlna-org:device-1-0"><specVersion><major>1</major><minor>0</minor></specVersion><device><deviceType>urn:schemas-upnp-org:device:MediaRenderer:1</deviceType><friendlyName>foobar2000 Renderer (Will)</friendlyName><manufacturer>Michael Pujos</manufacturer><manufacturerURL>http://www.hydrogenaudio.org/forums/index.php?showtopic=69664</manufacturerURL><modelDescription>foobar2000 Media Renderer</modelDescription><modelName>foobar2000 Media Renderer</modelName><modelURL>http://www.hydrogenaudio.org/forums/index.php?showtopic=69664</modelURL><modelNumber>0.99.24</modelNumber><serialNumber></serialNumber><UDN>uuid:8d704038-586e-8143-d86f-ac1b68a877fd</UDN><dlna:X_DLNADOC xmlns:dlna="urn:schemas-dlna-org:device-1-0">DMR-1.50</dlna:X_DLNADOC><iconList><icon><mimetype>image/jpeg</mimetype><width>48</width><height>48</height><depth>24</depth><url>/images/foobar2000-48x48.jpg</url></icon><icon><mimetype>image/png</mimetype><width>48</width><height>48</height><depth>24</depth><url>/images/foobar2000-48x48.png</url></icon></iconList><serviceList><service><serviceType>urn:schemas-upnp-org:service:AVTransport:1</serviceType><serviceId>urn:upnp-org:serviceId:AVTransport</serviceId><SCPDURL>/AVTransport/8d704038-586e-8143-d86f-ac1b68a877fd/scpd.xml</SCPDURL><controlURL>/AVTransport/8d704038-586e-8143-d86f-ac1b68a877fd/control.xml</controlURL><eventSubURL>/AVTransport/8d704038-586e-8143-d86f-ac1b68a877fd/event.xml</eventSubURL></service><service><serviceType>urn:schemas-upnp-org:service:ConnectionManager:1</serviceType><serviceId>urn:upnp-org:serviceId:ConnectionManager</serviceId><SCPDURL>/ConnectionManager/8d704038-586e-8143-d86f-ac1b68a877fd/scpd.xml</SCPDURL><controlURL>/ConnectionManager/8d704038-586e-8143-d86f-ac1b68a877fd/control.xml</controlURL><eventSubURL>/ConnectionManager/8d704038-586e-8143-d86f-ac1b68a877fd/event.xml</eventSubURL></service><service><serviceType>urn:schemas-upnp-org:service:RenderingControl:1</serviceType><serviceId>urn:upnp-org:serviceId:RenderingControl</serviceId><SCPDURL>/RenderingControl/8d704038-586e-8143-d86f-ac1b68a877fd/scpd.xml</SCPDURL><controlURL>/RenderingControl/8d704038-586e-8143-d86f-ac1b68a877fd/control.xml</controlURL><eventSubURL>/RenderingControl/8d704038-586e-8143-d86f-ac1b68a877fd/event.xml</eventSubURL></service></serviceList></device></root>
foo_upnp: 4.470: PLT_HttpServerSocketTask::Write(305)/4052: FINER: PLT_HttpServerTask Sending response:
foo_upnp: 4.470: PLT_HttpHelper::ToLog(495)/4052: FINER:
HTTP/1.1 200 OK
Server: Platinum/0.5.4.0
Content-Length: 2423
Content-Type: text/xml; charset="utf-8"
Connection: keep-alive
foo_upnp: 4.470: NPT_HttpHeader::Emit(118)/4052: FINEST: header Server: Platinum/0.5.4.0
foo_upnp: 4.470: NPT_HttpHeader::Emit(118)/4052: FINEST: header Content-Length: 2423
foo_upnp: 4.470: NPT_HttpHeader::Emit(118)/4052: FINEST: header Content-Type: text/xml; charset="utf-8"
foo_upnp: 4.470: NPT_HttpHeader::Emit(118)/4052: FINEST: header Connection: keep-alive
foo_upnp: 4.470: PLT_HttpServerSocketTask::Write(319)/4052: FINER: keep_alive = true, headers_only = false
foo_upnp: 4.470: PLT_HttpServerSocketTask::Write(324)/4052: FINER: NPT_StreamToStreamCopy begin
foo_upnp: 4.470: PLT_HttpServerSocketTask::Write(332)/4052: FINER: NPT_StreamToStreamCopy end
foo_upnp: 4.474: PLT_HttpServerSocketTask::Write(305)/2480: FINER: PLT_HttpServerTask Sending response:
foo_upnp: 4.474: PLT_HttpHelper::ToLog(495)/2480: FINER:
HTTP/1.1 200 OK
Server: Platinum/0.5.4.0
Connection: close
foo_upnp: 4.474: NPT_HttpHeader::Emit(118)/2480: FINEST: header Server: Platinum/0.5.4.0
foo_upnp: 4.474: NPT_HttpHeader::Emit(118)/2480: FINEST: header Connection: close
foo_upnp: 4.474: PLT_HttpServerSocketTask::Write(319)/2480: FINER: keep_alive = false, headers_only = false
foo_upnp: 4.483: NPT_Win32Thread::Start(483)/2748: FINER: creating thread
foo_upnp: 4.483: PLT_HttpListenTask<class PLT_HttpServerListener>::DoRun(156)/2748: FINE: current http task count = 8
foo_upnp: 4.484: NPT_Win32Thread::EntryPoint(450)/3272: FINER: thread in =======================
foo_upnp: 4.484: NPT_HttpRequest::Parse(592)/3272: FINEST: http request: UNSUBSCRIBE /RenderingControl/8d704038-586e-8143-d86f-ac1b68a877fd/event.xml HTTP/1.1
foo_upnp: 4.484: NPT_HttpHeaders::Parse(185)/3272: FINEST: header - Cache-Control: no-cache
foo_upnp: 4.484: NPT_HttpHeaders::Parse(185)/3272: FINEST: header - Connection: Close
foo_upnp: 4.484: NPT_HttpHeaders::Parse(185)/3272: FINEST: header - Pragma: no-cache
foo_upnp: 4.484: NPT_HttpHeaders::Parse(185)/3272: FINEST: header - User-Agent: Microsoft-Windows/6.1 UPnP/1.0
foo_upnp: 4.484: NPT_HttpHeaders::Parse(185)/3272: FINEST: header - SID: uuid:88d1a270-8518-27ab-bc87-3801544e13c8
foo_upnp: 4.484: NPT_HttpHeaders::Parse(215)/3272: FINEST: header Host: 5.139.8.151:53301
foo_upnp: 4.484: PLT_HttpServer::ProcessHttpRequest(142)/3272: FINE: Received UNSUBSCRIBE Request from 5.243.250.36 for /RenderingControl/8d704038-586e-8143-d86f-ac1b68a877fd/event.xml
foo_upnp: 4.484: PLT_HttpHelper::ToLog(409)/3272: FINER:
UNSUBSCRIBE /RenderingControl/8d704038-586e-8143-d86f-ac1b68a877fd/event.xml HTTP/1.1
Cache-Control: no-cache
Connection: Close
Pragma: no-cache
User-Agent: Microsoft-Windows/6.1 UPnP/1.0
SID: uuid:88d1a270-8518-27ab-bc87-3801544e13c8
Host: 5.139.8.151:53301
foo_upnp: 4.484: PLT_DeviceHost::ProcessHttpRequest(376)/3272: FINER: PLT_DeviceHost Received Request:
foo_upnp: 4.484: PLT_HttpHelper::ToLog(409)/3272: FINER:
UNSUBSCRIBE /RenderingControl/8d704038-586e-8143-d86f-ac1b68a877fd/event.xml HTTP/1.1
Cache-Control: no-cache
Connection: Close
Pragma: no-cache
User-Agent: Microsoft-Windows/6.1 UPnP/1.0
SID: uuid:88d1a270-8518-27ab-bc87-3801544e13c8
Host: 5.139.8.151:53301
foo_upnp: 4.484: PLT_Service::ProcessCancelSubscription(664)/3272: INFO: Cancelling subscription for RenderingControl/8d704038-586e-8143-d86f-ac1b68a877fd/event.xml (sub=uuid:88d1a270-8518-27ab-bc87-3801544e13c8)
foo_upnp: 4.484: PLT_EventSubscriber::~PLT_EventSubscriber(69)/3272: FINE: Deleting subscriber (uuid:88d1a270-8518-27ab-bc87-3801544e13c8)
foo_upnp: 4.491: PLT_HttpServerSocketTask::Write(305)/2356: FINER: PLT_HttpServerTask Sending response:
foo_upnp: 4.491: PLT_HttpHelper::ToLog(495)/2356: FINER:
HTTP/1.1 200 OK
Server: Platinum/0.5.4.0
Connection: close
foo_upnp: 4.491: NPT_HttpHeader::Emit(118)/2356: FINEST: header Server: Platinum/0.5.4.0
foo_upnp: 4.491: NPT_HttpHeader::Emit(118)/2356: FINEST: header Connection: close
foo_upnp: 4.491: PLT_HttpServerSocketTask::Write(319)/2356: FINER: keep_alive = false, headers_only = false
foo_upnp: 4.502: NPT_HttpClient::SendRequestOnce(1007)/736: FINE: requesting URL [url=http://192.168.1.194:2869/upnp/eventing/faupfcujvv]http://192.168.1.194:2869/upnp/eventing/faupfcujvv[/url]
foo_upnp: 4.502: NPT_HttpClient::SendRequestOnce(1038)/736: FINER: connecting to 192.168.1.194:2869
foo_upnp: 4.502: PLT_HttpTcpConnector::Connect(81)/736: FINER: NPT_HttpTcpConnector::Connect - will connect to 192.168.1.194:2869
foo_upnp: 4.531: PLT_HttpServerSocketTask::Write(305)/3272: FINER: PLT_HttpServerTask Sending response:
foo_upnp: 4.531: PLT_HttpHelper::ToLog(495)/3272: FINER:
HTTP/1.1 200 OK
Server: Platinum/0.5.4.0
Connection: close
foo_upnp: 4.531: NPT_HttpHeader::Emit(118)/3272: FINEST: header Server: Platinum/0.5.4.0
foo_upnp: 4.531: NPT_HttpHeader::Emit(118)/3272: FINEST: header Connection: close
foo_upnp: 4.531: PLT_HttpServerSocketTask::Write(319)/3272: FINER: keep_alive = false, headers_only = false
foo_upnp: 4.585: NPT_HttpClient::SendRequestOnce(1007)/2176: FINE: requesting URL [url=http://192.168.1.194:2869/upnp/eventing/gbvxzqjcbf]http://192.168.1.194:2869/upnp/eventing/gbvxzqjcbf[/url]
foo_upnp: 4.585: NPT_HttpClient::SendRequestOnce(1038)/2176: FINER: connecting to 192.168.1.194:2869
foo_upnp: 4.585: PLT_HttpTcpConnector::Connect(81)/2176: FINER: NPT_HttpTcpConnector::Connect - will connect to 192.168.1.194:2869
foo_upnp: 4.798: NPT_Win32Thread::Start(483)/2748: FINER: creating thread
foo_upnp: 4.798: PLT_HttpListenTask<class PLT_HttpServerListener>::DoRun(156)/2748: FINE: current http task count = 7
foo_upnp: 4.799: NPT_Win32Thread::EntryPoint(450)/1860: FINER: thread in =======================
foo_upnp: 4.799: NPT_HttpRequest::Parse(592)/1860: FINEST: http request: UNSUBSCRIBE /AVTransport/8d704038-586e-8143-d86f-ac1b68a877fd/event.xml HTTP/1.1
foo_upnp: 4.799: NPT_HttpHeaders::Parse(185)/1860: FINEST: header - Cache-Control: no-cache
foo_upnp: 4.799: NPT_HttpHeaders::Parse(185)/1860: FINEST: header - Connection: Close
foo_upnp: 4.799: NPT_HttpHeaders::Parse(185)/1860: FINEST: header - Pragma: no-cache
foo_upnp: 4.799: NPT_HttpHeaders::Parse(185)/1860: FINEST: header - User-Agent: Microsoft-Windows/6.1 UPnP/1.0
foo_upnp: 4.799: NPT_HttpHeaders::Parse(185)/1860: FINEST: header - SID: uuid:5232a69c-b9e3-9616-8287-2c0fc6229a75
foo_upnp: 4.799: NPT_HttpHeaders::Parse(215)/1860: FINEST: header Host: 192.168.1.125:53301
foo_upnp: 4.799: PLT_HttpServer::ProcessHttpRequest(142)/1860: FINE: Received UNSUBSCRIBE Request from 192.168.1.194 for /AVTransport/8d704038-586e-8143-d86f-ac1b68a877fd/event.xml
foo_upnp: 4.799: PLT_HttpHelper::ToLog(409)/1860: FINER:
UNSUBSCRIBE /AVTransport/8d704038-586e-8143-d86f-ac1b68a877fd/event.xml HTTP/1.1
Cache-Control: no-cache
Connection: Close
Pragma: no-cache
User-Agent: Microsoft-Windows/6.1 UPnP/1.0
SID: uuid:5232a69c-b9e3-9616-8287-2c0fc6229a75
Host: 192.168.1.125:53301
foo_upnp: 4.799: PLT_DeviceHost::ProcessHttpRequest(376)/1860: FINER: PLT_DeviceHost Received Request:
foo_upnp: 4.799: PLT_HttpHelper::ToLog(409)/1860: FINER:
UNSUBSCRIBE /AVTransport/8d704038-586e-8143-d86f-ac1b68a877fd/event.xml HTTP/1.1
Cache-Control: no-cache
Connection: Close
Pragma: no-cache
User-Agent: Microsoft-Windows/6.1 UPnP/1.0
SID: uuid:5232a69c-b9e3-9616-8287-2c0fc6229a75
Host: 192.168.1.125:53301
foo_upnp: 4.799: PLT_Service::ProcessCancelSubscription(664)/1860: INFO: Cancelling subscription for AVTransport/8d704038-586e-8143-d86f-ac1b68a877fd/event.xml (sub=uuid:5232a69c-b9e3-9616-8287-2c0fc6229a75)
foo_upnp: 4.799: PLT_EventSubscriber::~PLT_EventSubscriber(69)/1860: FINE: Deleting subscriber (uuid:5232a69c-b9e3-9616-8287-2c0fc6229a75)
foo_upnp: 4.800: PLT_HttpTcpConnector::Connect(86)/2308: FATAL: NPT_CHECK failed, result=-1 (FAILURE) [(m_Socket->Connect(socket_address, connection_timeout))]
foo_upnp: 4.800: NPT_HttpClient::SendRequestOnce(1045)/2308: WARNING: NPT_CHECK failed, result=-1 (FAILURE) [(m_Connector->Connect(server_hostname, server_port, m_Config.m_ConnectionTimeout, m_Config.m_IoTimeout, m_Config.m_NameResolverTimeout, input_stream, output_stream))]
foo_upnp: 4.800: PLT_HttpClientSocketTask::DoRun(233)/2308: FINER: PLT_HttpClientSocketTask receiving: res = -1
foo_upnp: 4.800: PLT_HttpHelper::ToLog(483)/2308: FINER: NULL HTTP Response!
foo_upnp: 4.800: PLT_HttpClientSocketTask::ProcessResponse(289)/2308: FINE: PLT_HttpClientSocketTask::ProcessResponse (result=-1)
foo_upnp: 4.800: PLT_HttpClientSocketTask::ProcessResponse(290)/2308: WARNING: NPT_CHECK failed, result=-1 (FAILURE) [(res)]
foo_upnp: 4.800: PLT_HttpClientSocketTask::DoRun(249)/2308: WARNING: NPT_CHECK failed, result=-20401 (NPT_ERROR_CONNECTION_ABORTED) [(SetConnector(0))]
foo_upnp: 4.800: PLT_HttpServerSocketTask::Write(305)/1860: FINER: PLT_HttpServerTask Sending response:
foo_upnp: 4.800: PLT_HttpHelper::ToLog(495)/1860: FINER:
HTTP/1.1 200 OK
Server: Platinum/0.5.4.0
Connection: close
foo_upnp: 4.800: NPT_HttpHeader::Emit(118)/1860: FINEST: header Server: Platinum/0.5.4.0
foo_upnp: 4.800: NPT_HttpHeader::Emit(118)/1860: FINEST: header Connection: close
foo_upnp: 4.800: PLT_HttpServerSocketTask::Write(319)/1860: FINER: keep_alive = false, headers_only = false
foo_upnp: 4.836: NPT_Win32Thread::Start(483)/3844: FINER: creating thread
foo_upnp: 4.836: PLT_HttpListenTask<class PLT_HttpServerListener>::DoRun(156)/3844: FINE: current http task count = 3
foo_upnp: 4.837: NPT_Win32Thread::EntryPoint(450)/1532: FINER: thread in =======================
foo_upnp: 4.837: NPT_HttpRequest::Parse(592)/1532: FINEST: http request: GET /DeviceDescription.xml HTTP/1.1
foo_upnp: 4.837: NPT_HttpHeaders::Parse(185)/1532: FINEST: header - Cache-Control: no-cache
foo_upnp: 4.837: NPT_HttpHeaders::Parse(185)/1532: FINEST: header - Connection: Close
foo_upnp: 4.837: NPT_HttpHeaders::Parse(185)/1532: FINEST: header - Pragma: no-cache
foo_upnp: 4.837: NPT_HttpHeaders::Parse(185)/1532: FINEST: header - Accept: text/xml, application/xml
foo_upnp: 4.837: NPT_HttpHeaders::Parse(185)/1532: FINEST: header - Host: 5.139.8.151:56923
foo_upnp: 4.837: NPT_HttpHeaders::Parse(215)/1532: FINEST: header User-Agent: Microsoft-Windows/6.1 UPnP/1.0 Windows-Media-Player-DMS/12.0.7600.16385 DLNADOC/1.50
foo_upnp: 4.837: PLT_HttpServer::ProcessHttpRequest(142)/1532: FINE: Received GET Request from 5.243.250.36 for /DeviceDescription.xml
foo_upnp: 4.837: PLT_HttpHelper::ToLog(409)/1532: FINER:
GET /DeviceDescription.xml HTTP/1.1
Cache-Control: no-cache
Connection: Close
Pragma: no-cache
Accept: text/xml, application/xml
Host: 5.139.8.151:56923
User-Agent: Microsoft-Windows/6.1 UPnP/1.0 Windows-Media-Player-DMS/12.0.7600.16385 DLNADOC/1.50
foo_upnp: 4.838: FbMediaServer::ProcessHttpRequest(265)/1532: INFO: received LAN request: [url=http://5.139.8.151:56923/DeviceDescription.xml]http://5.139.8.151:56923/DeviceDescription.xml[/url] (User-Agent: Microsoft-Windows/6.1 UPnP/1.0 Windows-Media-Player-DMS/12.0.7600.16385 DLNADOC/1.50)
foo_upnp: 4.838: PLT_DeviceHost::ProcessHttpRequest(376)/1532: FINER: PLT_DeviceHost Received Request:
foo_upnp: 4.838: PLT_HttpHelper::ToLog(409)/1532: FINER:
GET /DeviceDescription.xml HTTP/1.1
Cache-Control: no-cache
Connection: Close
Pragma: no-cache
Accept: text/xml, application/xml
Host: 5.139.8.151:56923
User-Agent: Microsoft-Windows/6.1 UPnP/1.0 Windows-Media-Player-DMS/12.0.7600.16385 DLNADOC/1.50
foo_upnp: 4.838: FbMediaServer::ProcessGetDescription(333)/1532: INFO: ProcessGetDescription: user-agent: Microsoft-Windows/6.1 UPnP/1.0 Windows-Media-Player-DMS/12.0.7600.16385 DLNADOC/1.50
foo_upnp: 4.838: PLT_DeviceHost::ProcessGetDescription(422)/1532: FINEST: Returning description to 5.243.250.36: <?xml version="1.0" encoding="UTF-8"?>
<root xmlns="urn:schemas-upnp-org:device-1-0" xmlns:dlna="urn:schemas-dlna-org:device-1-0"><specVersion><major>1</major><minor>0</minor></specVersion><device><deviceType>urn:schemas-upnp-org:device:MediaServer:1</deviceType><friendlyName>Will</friendlyName><manufacturer>Michael Pujos</manufacturer><manufacturerURL>http://www.hydrogenaudio.org/forums/index.php?showtopic=69664</manufacturerURL><modelDescription>foobar2000 Media Server</modelDescription><modelName>foobar2000 Media Server</modelName><modelURL>http://www.hydrogenaudio.org/forums/index.php?showtopic=69664</modelURL><modelNumber>0.99.24</modelNumber><serialNumber></serialNumber><UDN>uuid:92b8f19e-35f9-2ee8-7c6b-9c28f6401a09</UDN><dlna:X_DLNADOC xmlns:dlna="urn:schemas-dlna-org:device-1-0">DMS-1.50</dlna:X_DLNADOC><iconList><icon><mimetype>image/jpeg</mimetype><width>48</width><height>48</height><depth>24</depth><url>/images/foobar2000-48x48.jpg</url></icon><icon><mimetype>image/png</mimetype><width>48</width><height>48</height><depth>32</depth><url>/images/foobar2000-48x48.png</url></icon></iconList><serviceList><service><serviceType>urn:schemas-upnp-org:service:ContentDirectory:1</serviceType><serviceId>urn:upnp-org:serviceId:ContentDirectory</serviceId><SCPDURL>/ContentDirectory/92b8f19e-35f9-2ee8-7c6b-9c28f6401a09/scpd.xml</SCPDURL><controlURL>/ContentDirectory/92b8f19e-35f9-2ee8-7c6b-9c28f6401a09/control.xml</controlURL><eventSubURL>/ContentDirectory/92b8f19e-35f9-2ee8-7c6b-9c28f6401a09/event.xml</eventSubURL></service><service><serviceType>urn:schemas-upnp-org:service:ConnectionManager:1</serviceType><serviceId>urn:upnp-org:serviceId:ConnectionManager</serviceId><SCPDURL>/ConnectionManager/92b8f19e-35f9-2ee8-7c6b-9c28f6401a09/scpd.xml</SCPDURL><controlURL>/ConnectionManager/92b8f19e-35f9-2ee8-7c6b-9c28f6401a09/control.xml</controlURL><eventSubURL>/ConnectionManager/92b8f19e-35f9-2ee8-7c6b-9c28f6401a09/event.xml</eventSubURL></service><service><serviceType>urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1</serviceType><serviceId>urn:microsoft.com:serviceId:X_MS_MediaReceiverRegistrar</serviceId><SCPDURL>/X_MS_MediaReceiverRegistrar/92b8f19e-35f9-2ee8-7c6b-9c28f6401a09/scpd.xml</SCPDURL><controlURL>/X_MS_MediaReceiverRegistrar/92b8f19e-35f9-2ee8-7c6b-9c28f6401a09/control.xml</controlURL><eventSubURL>/X_MS_MediaReceiverRegistrar/92b8f19e-35f9-2ee8-7c6b-9c28f6401a09/event.xml</eventSubURL></service></serviceList></device></root>
foo_upnp: 4.838: PLT_HttpServerSocketTask::Write(305)/1532: FINER: PLT_HttpServerTask Sending response:
foo_upnp: 4.838: PLT_HttpHelper::ToLog(495)/1532: FINER:
HTTP/1.1 200 OK
Server: Platinum/0.5.4.0
Content-Length: 2477
Content-Type: text/xml; charset="utf-8"
Connection: close
foo_upnp: 4.838: NPT_HttpHeader::Emit(118)/1532: FINEST: header Server: Platinum/0.5.4.0
foo_upnp: 4.838: NPT_HttpHeader::Emit(118)/1532: FINEST: header Content-Length: 2477
foo_upnp: 4.838: NPT_HttpHeader::Emit(118)/1532: FINEST: header Content-Type: text/xml; charset="utf-8"
foo_upnp: 4.838: NPT_HttpHeader::Emit(118)/1532: FINEST: header Connection: close
foo_upnp: 4.838: PLT_HttpServerSocketTask::Write(319)/1532: FINER: keep_alive = false, headers_only = false
foo_upnp: 4.839: PLT_HttpServerSocketTask::Write(324)/1532: FINER: NPT_StreamToStreamCopy begin
foo_upnp: 4.839: PLT_HttpServerSocketTask::Write(332)/1532: FINER: NPT_StreamToStreamCopy end
foo_upnp: 4.872: NPT_Win32Thread::Start(483)/3844: FINER: creating thread
foo_upnp: 4.873: PLT_HttpListenTask<class PLT_HttpServerListener>::DoRun(156)/3844: FINE: current http task count = 3
foo_upnp: 4.873: NPT_Win32Thread::EntryPoint(450)/3008: FINER: thread in =======================
foo_upnp: 4.874: NPT_HttpRequest::Parse(592)/3008: FINEST: http request: GET /images/foobar2000-48x48.png HTTP/1.1
foo_upnp: 4.874: NPT_HttpHeaders::Parse(185)/3008: FINEST: header - Connection: Keep-Alive
foo_upnp: 4.874: NPT_HttpHeaders::Parse(185)/3008: FINEST: header - User-Agent: Windows-Media-Player-DMS/12.0.7600.16385
foo_upnp: 4.874: NPT_HttpHeaders::Parse(215)/3008: FINEST: header Host: 5.139.8.151:56923
foo_upnp: 4.874: PLT_HttpServer::ProcessHttpRequest(142)/3008: FINE: Received GET Request from 5.243.250.36 for /images/foobar2000-48x48.png
foo_upnp: 4.874: PLT_HttpHelper::ToLog(409)/3008: FINER:
GET /images/foobar2000-48x48.png HTTP/1.1
Connection: Keep-Alive
User-Agent: Windows-Media-Player-DMS/12.0.7600.16385
Host: 5.139.8.151:56923
foo_upnp: 4.874: PLT_HttpServerSocketTask::Write(305)/3008: FINER: PLT_HttpServerTask Sending response:
foo_upnp: 4.874: PLT_HttpHelper::ToLog(495)/3008: FINER:
HTTP/1.1 200 OK
Server: Platinum/0.5.4.0
Connection: keep-alive
Content-Length: 1741
Content-Type: image/png
foo_upnp: 4.874: NPT_HttpHeader::Emit(118)/3008: FINEST: header Server: Platinum/0.5.4.0
foo_upnp: 4.874: NPT_HttpHeader::Emit(118)/3008: FINEST: header Connection: keep-alive
foo_upnp: 4.874: NPT_HttpHeader::Emit(118)/3008: FINEST: header Content-Length: 1741
foo_upnp: 4.874: NPT_HttpHeader::Emit(118)/3008: FINEST: header Content-Type: image/png
foo_upnp: 4.874: PLT_HttpServerSocketTask::Write(319)/3008: FINER: keep_alive = true, headers_only = false
foo_upnp: 4.874: PLT_HttpServerSocketTask::Write(324)/3008: FINER: NPT_StreamToStreamCopy begin
foo_upnp: 4.874: PLT_HttpServerSocketTask::Write(332)/3008: FINER: NPT_StreamToStreamCopy end
foo_upnp: 4.877: NPT_Win32Thread::Start(483)/2748: FINER: creating thread
foo_upnp: 4.877: PLT_HttpListenTask<class PLT_HttpServerListener>::DoRun(156)/2748: FINE: current http task count = 7
foo_upnp: 4.877: NPT_Win32Thread::EntryPoint(450)/332: FINER: thread in =======================
foo_upnp: 4.878: NPT_HttpRequest::Parse(592)/332: FINEST: http request: UNSUBSCRIBE /ConnectionManager/8d704038-586e-8143-d86f-ac1b68a877fd/event.xml HTTP/1.1
foo_upnp: 4.878: NPT_HttpHeaders::Parse(185)/332: FINEST: header - Cache-Control: no-cache
foo_upnp: 4.878: NPT_HttpHeaders::Parse(185)/332: FINEST: header - Connection: Close
foo_upnp: 4.878: NPT_HttpHeaders::Parse(185)/332: FINEST: header - Pragma: no-cache
foo_upnp: 4.878: NPT_HttpHeaders::Parse(185)/332: FINEST: header - User-Agent: Microsoft-Windows/6.1 UPnP/1.0
foo_upnp: 4.878: NPT_HttpHeaders::Parse(185)/332: FINEST: header - SID: uuid:a6773bda-8af2-70d0-5714-727c6ce7ccff
foo_upnp: 4.878: NPT_HttpHeaders::Parse(215)/332: FINEST: header Host: 192.168.1.125:53301
foo_upnp: 4.878: PLT_HttpServer::ProcessHttpRequest(142)/332: FINE: Received UNSUBSCRIBE Request from 192.168.1.194 for /ConnectionManager/8d704038-586e-8143-d86f-ac1b68a877fd/event.xml
foo_upnp: 4.878: PLT_HttpHelper::ToLog(409)/332: FINER:
UNSUBSCRIBE /ConnectionManager/8d704038-586e-8143-d86f-ac1b68a877fd/event.xml HTTP/1.1
Cache-Control: no-cache
Connection: Close
Pragma: no-cache
User-Agent: Microsoft-Windows/6.1 UPnP/1.0
SID: uuid:a6773bda-8af2-70d0-5714-727c6ce7ccff
Host: 192.168.1.125:53301
foo_upnp: 4.878: PLT_DeviceHost::ProcessHttpRequest(376)/332: FINER: PLT_DeviceHost Received Request:
foo_upnp: 4.878: PLT_HttpHelper::ToLog(409)/332: FINER:
UNSUBSCRIBE /ConnectionManager/8d704038-586e-8143-d86f-ac1b68a877fd/event.xml HTTP/1.1
Cache-Control: no-cache
Connection: Close
Pragma: no-cache
User-Agent: Microsoft-Windows/6.1 UPnP/1.0
SID: uuid:a6773bda-8af2-70d0-5714-727c6ce7ccff
Host: 192.168.1.125:53301
foo_upnp: 4.878: PLT_Service::ProcessCancelSubscription(664)/332: INFO: Cancelling subscription for ConnectionManager/8d704038-586e-8143-d86f-ac1b68a877fd/event.xml (sub=uuid:a6773bda-8af2-70d0-5714-727c6ce7ccff)
foo_upnp: 4.878: PLT_EventSubscriber::~PLT_EventSubscriber(69)/332: FINE: Deleting subscriber (uuid:a6773bda-8af2-70d0-5714-727c6ce7ccff)
foo_upnp: 4.878: PLT_HttpTcpConnector::Connect(86)/736: FATAL: NPT_CHECK failed, result=-1 (FAILURE) [(m_Socket->Connect(socket_address, connection_timeout))]
foo_upnp: 4.878: NPT_HttpClient::SendRequestOnce(1045)/736: WARNING: NPT_CHECK failed, result=-1 (FAILURE) [(m_Connector->Connect(server_hostname, server_port, m_Config.m_ConnectionTimeout, m_Config.m_IoTimeout, m_Config.m_NameResolverTimeout, input_stream, output_stream))]
foo_upnp: 4.878: PLT_HttpClientSocketTask::DoRun(233)/736: FINER: PLT_HttpClientSocketTask receiving: res = -1
foo_upnp: 4.878: PLT_HttpHelper::ToLog(483)/736: FINER: NULL HTTP Response!
foo_upnp: 4.879: PLT_HttpClientSocketTask::ProcessResponse(289)/736: FINE: PLT_HttpClientSocketTask::ProcessResponse (result=-1)
foo_upnp: 4.879: PLT_HttpClientSocketTask::ProcessResponse(290)/736: WARNING: NPT_CHECK failed, result=-1 (FAILURE) [(res)]
foo_upnp: 4.879: PLT_HttpClientSocketTask::DoRun(249)/736: WARNING: NPT_CHECK failed, result=-20401 (NPT_ERROR_CONNECTION_ABORTED) [(SetConnector(0))]
foo_upnp: 4.879: PLT_HttpServerSocketTask::Write(305)/332: FINER: PLT_HttpServerTask Sending response:
foo_upnp: 4.879: PLT_HttpHelper::ToLog(495)/332: FINER:
HTTP/1.1 200 OK
Server: Platinum/0.5.4.0
Connection: close
foo_upnp: 4.879: NPT_HttpHeader::Emit(118)/332: FINEST: header Server: Platinum/0.5.4.0
foo_upnp: 4.879: NPT_HttpHeader::Emit(118)/332: FINEST: header Connection: close
foo_upnp: 4.879: PLT_HttpServerSocketTask::Write(319)/332: FINER: keep_alive = false, headers_only = false
foo_upnp: 4.959: NPT_Win32Thread::Start(483)/2748: FINER: creating thread
foo_upnp: 4.959: PLT_HttpListenTask<class PLT_HttpServerListener>::DoRun(156)/2748: FINE: current http task count = 7
foo_upnp: 4.960: NPT_Win32Thread::EntryPoint(450)/1472: FINER: thread in =======================
foo_upnp: 4.960: NPT_HttpRequest::Parse(592)/1472: FINEST: http request: UNSUBSCRIBE /RenderingControl/8d704038-586e-8143-d86f-ac1b68a877fd/event.xml HTTP/1.1
foo_upnp: 4.960: NPT_HttpHeaders::Parse(185)/1472: FINEST: header - Cache-Control: no-cache
foo_upnp: 4.960: NPT_HttpHeaders::Parse(185)/1472: FINEST: header - Connection: Close
foo_upnp: 4.960: NPT_HttpHeaders::Parse(185)/1472: FINEST: header - Pragma: no-cache
foo_upnp: 4.960: NPT_HttpHeaders::Parse(185)/1472: FINEST: header - User-Agent: Microsoft-Windows/6.1 UPnP/1.0
foo_upnp: 4.960: NPT_HttpHeaders::Parse(185)/1472: FINEST: header - SID: uuid:de3be460-f9ad-0040-26ed-c69ef948c2e0
foo_upnp: 4.960: NPT_HttpHeaders::Parse(215)/1472: FINEST: header Host: 192.168.1.125:53301
foo_upnp: 4.960: PLT_HttpServer::ProcessHttpRequest(142)/1472: FINE: Received UNSUBSCRIBE Request from 192.168.1.194 for /RenderingControl/8d704038-586e-8143-d86f-ac1b68a877fd/event.xml
foo_upnp: 4.960: PLT_HttpHelper::ToLog(409)/1472: FINER:
UNSUBSCRIBE /RenderingControl/8d704038-586e-8143-d86f-ac1b68a877fd/event.xml HTTP/1.1
Cache-Control: no-cache
Connection: Close
Pragma: no-cache
User-Agent: Microsoft-Windows/6.1 UPnP/1.0
SID: uuid:de3be460-f9ad-0040-26ed-c69ef948c2e0
Host: 192.168.1.125:53301
foo_upnp: 4.960: PLT_DeviceHost::ProcessHttpRequest(376)/1472: FINER: PLT_DeviceHost Received Request:
foo_upnp: 4.960: PLT_HttpHelper::ToLog(409)/1472: FINER:
UNSUBSCRIBE /RenderingControl/8d704038-586e-8143-d86f-ac1b68a877fd/event.xml HTTP/1.1
Cache-Control: no-cache
Connection: Close
Pragma: no-cache
User-Agent: Microsoft-Windows/6.1 UPnP/1.0
SID: uuid:de3be460-f9ad-0040-26ed-c69ef948c2e0
Host: 192.168.1.125:53301
foo_upnp: 4.960: PLT_Service::ProcessCancelSubscription(664)/1472: INFO: Cancelling subscription for RenderingControl/8d704038-586e-8143-d86f-ac1b68a877fd/event.xml (sub=uuid:de3be460-f9ad-0040-26ed-c69ef948c2e0)
foo_upnp: 4.961: PLT_EventSubscriber::~PLT_EventSubscriber(69)/1472: FINE: Deleting subscriber (uuid:de3be460-f9ad-0040-26ed-c69ef948c2e0)
foo_upnp: 4.961: PLT_HttpTcpConnector::Connect(86)/2176: FATAL: NPT_CHECK failed, result=-1 (FAILURE) [(m_Socket->Connect(socket_address, connection_timeout))]
foo_upnp: 4.961: NPT_HttpClient::SendRequestOnce(1045)/2176: WARNING: NPT_CHECK failed, result=-1 (FAILURE) [(m_Connector->Connect(server_hostname, server_port, m_Config.m_ConnectionTimeout, m_Config.m_IoTimeout, m_Config.m_NameResolverTimeout, input_stream, output_stream))]
foo_upnp: 4.961: PLT_HttpClientSocketTask::DoRun(233)/2176: FINER: PLT_HttpClientSocketTask receiving: res = -1
foo_upnp: 4.961: PLT_HttpHelper::ToLog(483)/2176: FINER: NULL HTTP Response!
foo_upnp: 4.961: PLT_HttpClientSocketTask::ProcessResponse(289)/2176: FINE: PLT_HttpClientSocketTask::ProcessResponse (result=-1)
foo_upnp: 4.961: PLT_HttpClientSocketTask::ProcessResponse(290)/2176: WARNING: NPT_CHECK failed, result=-1 (FAILURE) [(res)]
foo_upnp: 4.961: PLT_HttpClientSocketTask::DoRun(249)/2176: WARNING: NPT_CHECK failed, result=-20401 (NPT_ERROR_CONNECTION_ABORTED) [(SetConnector(0))]
foo_upnp: 4.961: PLT_HttpServerSocketTask::Write(305)/1472: FINER: PLT_HttpServerTask Sending response:
foo_upnp: 4.962: PLT_HttpHelper::ToLog(495)/1472: FINER:
HTTP/1.1 200 OK
Server: Platinum/0.5.4.0
Connection: close
foo_upnp: 4.962: NPT_HttpHeader::Emit(118)/1472: FINEST: header Server: Platinum/0.5.4.0
foo_upnp: 4.962: NPT_HttpHeader::Emit(118)/1472: FINEST: header Connection: close
foo_upnp: 4.962: PLT_HttpServerSocketTask::Write(319)/1472: FINER: keep_alive = false, headers_only = false
Title: foo_upnp
Post by: Brown Sound on 2010-07-30 06:38:35
1) I noticed on a screenshot (message #779) of another users controller UI, there were files listed under the control buttons and the currently playing line. Mine is just blank open space under those 2 items. I use DUI, and I have a large corner of my screen setup with multiple tabs (playlist, folders, console, controller, browser, etc.). Should there be a list or playlist under there or is this just that users config?


It's just a custom user layout with the playlist manager below the Controller.

Quote
2) I stumbled upon an odd behavior, while testing for files being passed unmodified between my old laptop and main rig. I had earlier been testing the laptop as a renderer with the main rig being the server and controller. That worked fine and I stopped those tests. Next, I was testing the laptop as a client, pulling songs from the main rig. That also worked fine, but when I would stop the song playing on the laptop from the browser, the controller on the main rig would start pushing songs from the controller playback queue to the laptop. During my testing yesterday, I had always cleared the playback queue after tests, but this morning, I had left some songs in the queue. Is this automatically starting to play the playback queue normal, when a client’s playback is stopped?


The Controller will instruct the renderer to play next song from the UPnP Playback Queue when it gets a stop event. Usually this happen automatically when the renderer finishes playing a track but you can also trigger it manually if you stop playback on the renderer.


So I'm good to go. Looking forward to testing the internet remote access and also testing a hand-held device or an iPad as a controller. I saw some demo videos of an iPad running PlugPlayer as the app, was incredible. Awesome plug-in, thank you, again, sir!
Title: foo_upnp
Post by: Joe-L on 2010-08-03 19:26:40
Hi

this is a very nice component and it is doing great work. Thank you for that.

I want to use it with a media player device (MD 86162). It s working so far.  But currently i am forced to use "Playback Stream Capture" to achieve that files are played in an order i want them to play. The problem however is not the component, it s the stupid media player device, which keeps sorting the playlist entries alphabeticly and thus the order is gone.

My last hope was to set "Format track titles using:" to "[%list_index% - ]%artist% - %title%" but unfortunately %list_index% is not resolved to a value (just an "?").

Is there anyway to refer to the column value "Item Index" of a playlist. This would solve my problem with this stupid device.

If this is not yet possibel, it would be nice if this feature would be included in one of the next releases.

Regards
Joe

Title: foo_upnp
Post by: noxx on 2010-08-03 20:23:10
perhaps, anyone can help.....

is it possible to remote foobar2000 with one pc in my network (like in the picuture). i dont want
stream music
i will remote PC2 with PC1.....

(http://img517.imageshack.us/img517/5011/unbenannt2ex.th.jpg) (http://img517.imageshack.us/i/unbenannt2ex.jpg/)
[/quote]
Title: foo_upnp
Post by: Joe-L on 2010-08-03 22:09:34
perhaps, anyone can help.....

is it possible to remote foobar2000 with one pc in my network (like in the picuture). i dont want
stream music
i will remote PC2 with PC1.....

Hi,

yes, this is possible with this component. Set up PC2 with foobar and this component, so an upnp server and renderer is available on the LAN.

Now you can use f.i. eezUPNP (http://www.eezupnp.de) on PC1 to control the playback of foobar on PC2.

Joe
Title: foo_upnp
Post by: noxx on 2010-08-04 20:20:32
i will test this, thx.


is it not possible to control PC2 with a installed Foobar on PC1 ?

regards
Title: foo_upnp
Post by: bubbleguuum on 2010-08-04 22:26:02
My last hope was to set "Format track titles using:" to "[%list_index% - ]%artist% - %title%" but unfortunately %list_index% is not resolved to a value (just an "?").
If this is not yet possibel, it would be nice if this feature would be included in one of the next releases.


%list_index% only works in column title formatting expressions, that's why it does not work.
Instead I'll add an option that if enabled will prefix each track name with its position (the equivalent of %list_index%), to prevent some clients
to mess the server sort order.
Title: foo_upnp
Post by: Joe-L on 2010-08-05 12:06:40
is it not possible to control PC2 with a installed Foobar on PC1 ?

As far as i know, this is not possible. But you can also use a remote desktop client on PC1, in that case you can see and control the desktop of PC2 on PC1 as if you are sitting right before PC2. You can use the windows built in remote desktop or use another software like vnc for that.

If you need further details, write me a message as i think further discussion of that here is off topic for this thread.

%list_index% only works in column title formatting expressions, that's why it does not work.
Instead I'll add an option that if enabled will prefix each track name with its position (the equivalent of %list_index%), to prevent some clients
to mess the server sort order.

Thanks for the info, i must have missed the point, that %list_index% won't work in the doku.

Anyway if you add this prefix option, i would be really happy as it also solves my problem. The position needs to have leading zeros, otherwise the sorting of the device will mess with it again.

I am looking forward to the release with that feature enabled.

Thank you for your fast reply.

Joe
Title: foo_upnp
Post by: bubbleguuum on 2010-08-05 23:45:55
0.99.28 released  (first post to download, or autoupdate with fb 1.1)

- server: in browse tree, under an artist node, put all tracks of that artist in a "[All Tracks]" subnode to avoid some browsing clients to mix single tracks and albums (PlugPlayer and others)
- server: applemobiledevice:// items from foo_dop's "iPod View" playlist can now be streamed (either as PCM or transcoded to mp3)
- server: Playback Stream Capture streams silence when foobar2000 playback is stopped or paused. More compatible with some renderers that expects the stream to always send data (otherwise they close the connection).
- server: %comment% is now returned in items
- server: the "format track titles using" setting now recognize %list_index% and %list_total%. This can be used to prevent the browsing client to reorder tracks (most of the time alphabetically), for example by using %list_index% - %title%
- server: for files streamed as PCM that are detected as HDCD, will force bitdepth to 24 if the renderer supports it (requires foobar2000 >= 1.1 and foo_hdcd >= 1.5)
- controller: Linn DS Playlist source:  next/previous track wouldn't work when shuffle is enabled and current track was the first or last track in the playlist
Title: foo_upnp
Post by: Joe-L on 2010-08-06 13:57:25
is it not possible to control PC2 with a installed Foobar on PC1 ?

As far as i know, this is not possible. [..]

@noxx
Actually i was wrong. foo_upnp comes with everything you need for your setup. It exposes an upnp media server and renderer on PC2. And on PC1 you can use foobar with foo_upnp as upnp browser to access your media library of PC2 and then use the upnp controller to control the playback of foobar on PC2.

So, no need for third party software at all. Have fun, i tested this setup today on my machines. Just working as aspected.

@bubbleguuum
Thanks again for this fast release, solving all my problems.   
Title: foo_upnp
Post by: noxx on 2010-08-06 17:52:02
is it not possible to control PC2 with a installed Foobar on PC1 ?

As far as i know, this is not possible. [..]

@noxx
Actually i was wrong. foo_upnp comes with everything you need for your setup. It exposes an upnp media server and renderer on PC2. And on PC1 you can use foobar with foo_upnp as upnp browser to access your media library of PC2 and then use the upnp controller to control the playback of foobar on PC2.





Hi, thx. can you make a screenshot (pc1 and 2) with you setting?

thx
Title: foo_upnp
Post by: gebla on 2010-08-07 09:40:36
Is it possible to select a default controller?

I am using Majik DS and everytime I need to select the controller before I can play. I would prefer to have default one selected.
Title: foo_upnp
Post by: Erich_2 on 2010-08-07 10:01:25
- server: the "format track titles using" setting now recognize %list_index% and %list_total%. This can be used to prevent the browsing client to reorder tracks (most of the time alphabetically), for example by using %list_index% - %title%

Very good, thank you! 
I've been waiting so hard for this! My eGreat R1 mediaplayer was executing the playlists in alphabetically order before (or all No. 01 first).
Title: foo_upnp
Post by: egginsoup on 2010-08-07 10:01:42
Hi,

Awesome component but I'm having problems when trying to stream FLAC to PlugPlayer on my iPhone. MP3 files work fine but PlugPlayer reports an error 9 whenever I try to stream FLAC. The foo_upnp.log reports an NPT_HTTP_PROTOCOL_MAX_LINE_LENGTH error.

Here's a link (http://pastebin.com/P4WjdKcp) to the full log excerpt.
Here's a link (http://yfrog.com/f/08prefsj/) to a screenshot of my preferences.

Any ideas what I'm missing?

Thanks in advance.
Title: foo_upnp
Post by: bubbleguuum on 2010-08-07 11:16:36
Is it possible to select a default controller?

I am using Majik DS and everytime I need to select the controller before I can play. I would prefer to have default one selected.


You mean having a selected renderer on startup ? Not possible yet, this is a feature I've been considering.


Awesome component but I'm having problems when trying to stream FLAC to PlugPlayer on my iPhone. MP3 files work fine but PlugPlayer reports an error 9 whenever I try to stream FLAC. The foo_upnp.log reports an NPT_HTTP_PROTOCOL_MAX_LINE_LENGTH error.

Here's a link (http://pastebin.com/P4WjdKcp) to the full log excerpt.
Here's a link (http://yfrog.com/f/08prefsj/) to a screenshot of my preferences.


Your configuration is not correct: you're transcoding all files to mp3 (except mp3).
In the mp3 section you must change it to read: transode always except mp3,flac
After changing the profile clear the PP playlist and add the file you want to play again: streaming URL are not identical when a streaming profile changes.
From the log I see that you stream from the Internet using 3G or wifi: are you sure you have the necessary bandwidth to stream flac ?

Finally, there's something strange in your log that I try to understand: can you confirm that file://M:\Electronic\IDM\.tape. - Paintings (2005)\05 - Franky Rendered.flac is the file you wanted to play ?

If the above do not work repost a log (but with INFO level only), including browsing files on the iPhone

Title: foo_upnp
Post by: egginsoup on 2010-08-07 11:41:03
Thanks bubbleguuum, I'm afraid I missed one vital piece of information in my last post. I'm actually trying to transcode FLAC to MP3 so that I can stream over 3G to my iPhone. I can stream MP3s without any issue but FLAC files don't work and PP returns an error 9 so I assume it's a problem transcoding?

I'm sorry about that, I'm not sure how I missed it.

And yes, that's the correct file name.

I just tried changing the transcode option to never except for FLAC but got the same result.

Here's (http://pastebin.com/yNRp4cBP) the log file at INFO level when browsing and trying to play from PP.
Title: foo_upnp
Post by: bubbleguuum on 2010-08-07 12:29:23
Thanks bubbleguuum, I'm afraid I missed one vital piece of information in my last post. I'm actually trying to transcode FLAC to MP3 so that I can stream over 3G to my iPhone. I can stream MP3s without any issue but FLAC files don't work and PP returns an error 9 so I assume it's a problem transcoding?

I'm sorry about that, I'm not sure how I missed it.

And yes, that's the correct file name.

I just tried changing the transcode option to never except for FLAC but got the same result.

Here's (http://pastebin.com/yNRp4cBP) the log file at INFO level when browsing and trying to play from PP.



I seems that the default profile is used when browsing:
upnp_server_conf::get_profile(707)/2868: INFO: using default profile (User-Agent:PlugPlayer iPhone/10.3.1, UPnP/1.0, Portable SDK for UPnP devices/1.6.6)

Can you look into Server/Basic settings if you do not have "Always use the default streaming profile..." setting checked, and uncheck it. That would explain this.
But there's another problem:  in the log with your current settings, the streaming path part of the URL (/content/39776051f22088cd7864186835716fce.mp3) should be /content/39776051f22088cd7864186835716fce.mp3?profile_id=0&convert=mp3 , so transcoding the FLAC referenced by the hash code filename can take place (prodile id = 0 is the default profile).

It's like if PP (or some firewall or filter) removed the query part of the URL (?profile_id=0&convert=mp3). I tried to reproduce it here but it works as expected.

Let me know if it works once you are certain to use the PP profile (in Browsing). If you don't see a streaming URL of the form /content/39776051f22088cd7864186835716fce.mp3?profile_id=2&convert=mp3 it won't transcode the flac to mp3 (profile_id = 2 is PlugPlayer profile)

If that still do not work (ie you do not get the query part of the URL), I'll make a test version to make sure I send the correct URL.
Title: foo_upnp
Post by: egginsoup on 2010-08-07 13:21:36
I did have the "Always use the default streaming profile..." option enabled. I have now disabled this and can see in the log file that the plugplayer profile is being used. However, the stream URL is still missing ?profile_id=0&convert=mp3.

Looking at the log file I noticed a strange thing that I'm not sure is relevant,  the user-agent starts off as "PlugPlayer" but then changes to "RecivaRadio". 

Code: [Select]
107.857: upnp_server_conf::get_profile(701)/4080: INFO: using profile 'PlugPlayer', matching header (User-Agent:PlugPlayer iPhone/10.3.1, UPnP/1.0, Portable SDK for UPnP devices/1.6.6)


Code: [Select]
109.903: upnp_server_conf::get_profile(701)/2860: INFO: using profile 'New Profile', matching header (User-Agent:RecivaRadio/1.0.0)


I duplicated the PlugPlayer profile and set User-Agent contains RecivaRadio to see what would happen. It uses both profiles but both still use a URL that is missing  ?profile_id=0&convert=mp3 .

New log file. (http://pastebin.com/VxwPZXkC)

Thanks

Edit: I've just transcoded and streamed successfully to a remote instance of Foobar (using the same profile settings) so I think this issue is due to something weird that PlugPlayer is doing.
Title: foo_upnp
Post by: egginsoup on 2010-08-07 14:36:10
I finally got it working. Removing, reinstalling and reconfiguring the Plugplayer app has done the trick.

Thanks for your assistance bubbleguuum and thanks for an awesome component.  Is there any way that I can send a small donation to you?
Title: foo_upnp
Post by: Joe-L on 2010-08-07 16:58:44
@bubbleguuum
0.99.28 released  (first post to download, or autoupdate with fb 1.1)

- server: Playback Stream Capture streams silence when foobar2000 playback is stopped or paused. More compatible with some renderers that expects the stream to always send data (otherwise they close the connection).

Hi,
i now have an issue with the Playback Stream Capture in this release. If i am using "lpcm" as codec nothing is received on my media player device and after a while foobar will crash if i do not stop playback.
However it is working fine with Codec set to "wav" or "mp3".

Joe

@noxx
Hi, thx. can you make a screenshot (pc1 and 2) with you setting?

sorry no time, to make screenshots for now... but it shouldn't be neccessary..

On PC2 (the one connected to Hifi and tv and with all mp3 files):
Just install foobar with foo_upnp and set up your media library.
Make sure that under Preferences Tools>Upnp>Server>Basic Settings both the Media Server and Media renderer are reported as running.
Thats it for PC2.

On PC1 (the one you want to use for control):
Install foobar with foo_upnp.
Open the UPNP-Browser (View>UPNP Browser) and browse the media server on pc2.
Open the UPNP-Controller (View>UPNP Controller) and select the media renderer on pc2 from the dropdownbox.
Select the files you want to play from the upnp browser/"upnp browser selection" playlist and add them to the "Upnp controller playback queue" playlist.
Now just hit play on the UPNP Controller interface and the playback of the selected files should start on pc2.

When everything is working, you can start and customize the foobar layouts so everything is looking nice and is easy to use. See the foobar documentation for details on that.

Joe
Title: foo_upnp
Post by: noxx on 2010-08-07 19:46:09
@bubbleguuum
0.99.28 released  (first post to download, or autoupdate with fb 1.1)

- server: Playback Stream Capture streams silence when foobar2000 playback is stopped or paused. More compatible with some renderers that expects the stream to always send data (otherwise they close the connection).

Hi,
i now have an issue with the Playback Stream Capture in this release. If i am using "lpcm" as codec nothing is received on my media player device and after a while foobar will crash if i do not stop playback.
However it is working fine with Codec set to "wav" or "mp3".

Joe

@noxx
Hi, thx. can you make a screenshot (pc1 and 2) with you setting?

sorry no time, to make screenshots for now... but it shouldn't be neccessary..

On PC2 (the one connected to Hifi and tv and with all mp3 files):
Just install foobar with foo_upnp and set up your media library.
Make sure that under Preferences Tools>Upnp>Server>Basic Settings both the Media Server and Media renderer are reported as running.
Thats it for PC2.

On PC1 (the one you want to use for control):
Install foobar with foo_upnp.
Open the UPNP-Browser (View>UPNP Browser) and browse the media server on pc2.
Open the UPNP-Controller (View>UPNP Controller) and select the media renderer on pc2 from the dropdownbox.
Select the files you want to play from the upnp browser/"upnp browser selection" playlist and add them to the "Upnp controller playback queue" playlist.
Now just hit play on the UPNP Controller interface and the playback of the selected files should start on pc2.

When everything is working, you can start and customize the foobar layouts so everything is looking nice and is easy to use. See the foobar documentation for details on that.

Joe



hi, thx for you answer....

but i can find my PC2 (Named HTPC) on the dropdownbox

here a screen from pc1

[a href="http://img23.imageshack.us/i/unbenanntnz.png/" target="_blank"]
Title: foo_upnp
Post by: gebla on 2010-08-08 10:32:17
Is it possible to select a default controller?

I am using Majik DS and everytime I need to select the controller before I can play. I would prefer to have default one selected.


You mean having a selected renderer on startup ? Not possible yet, this is a feature I've been considering.



You are right I mean selected renderer. This would really help me on daily usage. Every time I launch foobar I need to select the renderer first. Off course I always forget to do so I have to select the music twice
Title: foo_upnp
Post by: evilphil on 2010-08-08 12:28:13
0.99.28 released  (first post to download, or autoupdate with fb 1.1)

- server: Playback Stream Capture streams silence when foobar2000 playback is stopped or paused. More compatible with some renderers that expects the stream to always send data (otherwise they close the connection).


Many thanks for this.  I just tried it on the Popcorn Hour and it works perfectly.

Regards,

Phil
Title: foo_upnp
Post by: Anomalous on 2010-08-09 09:13:10
There seems to be a problem with Playback Stream Capture when using the "convert stereo to 4 channels" DSP (which I left it on by accident).
Code: [Select]
foo_upnp: 1522.426: FbMediaWavInputStream::process_chunk(278)/4692: SEVERE: cannot find dsp to convert from 4 channels to stereo


I guess it's pretty obvious why it isn't working, but is this the best way to stream what's currently playing? Would it be possible to get to the stream before the foobar2000 DSPs and use the DSP presets from the profile?
Title: foo_upnp
Post by: bubbleguuum on 2010-08-09 10:02:16
There seems to be a problem with Playback Stream Capture when using the "convert stereo to 4 channels" DSP (which I left it on by accident).
Code: [Select]
foo_upnp: 1522.426: FbMediaWavInputStream::process_chunk(278)/4692: SEVERE: cannot find dsp to convert from 4 channels to stereo


I guess it's pretty obvious why it isn't working, but is this the best way to stream what's currently playing? Would it be possible to get to the stream before the foobar2000 DSPs and use the DSP presets from the profile?


It is not possible with the current PSC API : ReplayGain + DSP settings from the core are always applied.

PSC for now only streams as stereo (2 channels), this is not configurable. It only knows how to convert 5.1 and mono to stereo.
As you noticed, RG settings + DSP chain from the profile are not applied when streaming PSC.
I lack a generic and configurable channel converter DSP that would be able to change channel count from X to Y (whatever X and Y are).
That would allow to either:
- make the PSC target channel count configurable
- allow to always convert to stereo

As a stopgap measure I could make applying the profile's DSP on PSC an option so you could use a DSP converting from 4 to 2 channels, but such DSP would also apply to non PSC content.

In your case, do you want PSC to always stream with 4 channels or to convert everything to stereo ?
Title: foo_upnp
Post by: Anomalous on 2010-08-09 11:09:45
To be honest it's not a problem, I don't usually have it set to 4 channels. I was just wondering if it used the core settings by design or some limitation.
Title: foo_upnp
Post by: vassie on 2010-08-09 17:18:34
@bubbleguuum: After some more fiddling with this fantastic plugin here are my questions and comments:
1) This is slightly off topic but... Does anybody know how to prevent Eset Smart Security 4.0 from blocking UPnP traffic? For now I have just disabled its filtering.
2) Do I need to have windows UPnP service or some other windows service running in order to make use of this component? What should I add into the built-in Windows XP firewall if I want to get this working. Is it Foobar 2000 or UPnP service or something else?
I am asking these because I cant get it running on one of my machines. 2 of three runs fine anyway.
3) It would really be nice if you can make the browser more keyboard accessible. Now I understand left click is the only way on how to expand a remote branch. When tallking about treeviews left arrow key usualy colapses and right arrow expands a node. I am not sure you can override it somehow. The things I was tallking about previously would be nice too because I have to emulate the mouse a lot and it's getting too inconvenient for me.
4) I am not sure but I think I have got a crash (http://pvdeejay.googlepages.com/foo_upnp-crash.zip) related to foo_upnp. I had a Foobar window opened with 1 remote Foobar listed in the UPnP browser and some errors in the console because second client was not displayed. Then I did a restart of Foobar and on startup I have got this crash.

Thanks


I have the same problem

http://www.wilderssecurity.com/showthread.php?p=1723039 (http://www.wilderssecurity.com/showthread.php?p=1723039)

I am hoping to give them a call tonight to resolve it
Title: foo_upnp
Post by: vassie on 2010-08-11 17:24:19
OK, so I have create a custom firewall rule that allows foobar2000.exe through ESET Smart Security's firewall, however I can't help but think there is an issue with foo_upnp, with the firewall set to "Interactive mode" (where it will prompt me to allow or deny any network traffic), opening foobar for the first time and going into the UPnP Browser, nothing happens! I have to add the IP address of my server manually to kick off the connection.

I have raised this with ESET and they tell me that with the firewall set to "Automatic" and UPnP allowed (which it is), everything should work fine.

Does anyone else use foobar2000, foo_upnp and ESET Smart Security?

Thanks.
Title: foo_upnp
Post by: vassie on 2010-08-11 17:26:36
OK, so I have create a custom firewall rule that allows foobar2000.exe through ESET Smart Security's firewall, however I can't help but think there is an issue with foo_upnp, with the firewall set to "Interactive mode" (where it will prompt me to allow or deny any network traffic), opening foobar for the first time and going into the UPnP Browser, nothing happens! I have to add the IP address of my server manually to kick off the connection.

I have raised this with ESET and they tell me that with the firewall set to "Automatic" and UPnP allowed (which it is), everything should work fine.

Does anyone else use foobar2000, foo_upnp and ESET Smart Security?

Thanks.


One other thing, I can see the foobar2000 media server under networks, so UPnP is working (for the OS (Windows 7))
Title: foo_upnp
Post by: vassie on 2010-08-11 18:47:40
OK, so I have create a custom firewall rule that allows foobar2000.exe through ESET Smart Security's firewall, however I can't help but think there is an issue with foo_upnp, with the firewall set to "Interactive mode" (where it will prompt me to allow or deny any network traffic), opening foobar for the first time and going into the UPnP Browser, nothing happens! I have to add the IP address of my server manually to kick off the connection.

I have raised this with ESET and they tell me that with the firewall set to "Automatic" and UPnP allowed (which it is), everything should work fine.

Does anyone else use foobar2000, foo_upnp and ESET Smart Security?

Thanks.


One other thing, I can see the foobar2000 media server under networks, so UPnP is working (for the OS (Windows 7))


Done some more digging, ESS blocks port 1900, is this a standard UPnP port?
Title: foo_upnp
Post by: bubbleguuum on 2010-08-11 19:15:25
Done some more digging, ESS blocks port 1900, is this a standard UPnP port?


Yes this is the UDP discovery port. Without it, renderers and servers cannot be discovered. So it'd better be not blocked by the firewall. Also the firewall must
not block multicast UDP.

The plugin do nothing special regarding firewalls.
Title: foo_upnp
Post by: vassie on 2010-08-12 10:00:29
Done some more digging, ESS blocks port 1900, is this a standard UPnP port?


Yes this is the UDP discovery port. Without it, renderers and servers cannot be discovered. So it'd better be not blocked by the firewall. Also the firewall must
not block multicast UDP.

The plugin do nothing special regarding firewalls.


Thanks bubbleguuum

I have come to the conclusion that the firewall in ESET Smart Security is broken! Am now looking out for a new firewall

Ben
Title: foo_upnp
Post by: Ras Elased Borrealis on 2010-08-13 21:57:44
Thanks for this nice plugin. It works great with my Nokia N900 (so I guess it's not too badly configured).

However I try to use a SAGEM My Dual Radio 700 as a client and Foobar as the server (1.0.3 / UPnP 0.99.28) and I'm less successful. The MP3 are streamed fine but it won't accept to play my Ogg/vorbis files nor the Playback Stream Capture (either MP3s or Oggs).

When I select an Ogg file (browsing works), the client display an odd length for the file (e.g. 16 min instead of 4 min), then stall for 20-30 s, then bail to the player main menu.

If I look at the log, the file is here :

Code: [Select]
foo_upnp: 13247.547: FbMediaServer::ProcessHttpRequest(285)/776: INFO: received LAN request: [url=http://192.168.0.1/DeviceDescription.xml]http://192.168.0.1/DeviceDescription.xml[/url] (User-Agent: Unknown)
foo_upnp: 13249.265: FbMediaServer::ProcessHttpRequest(285)/580: INFO: received LAN request: [url=http://192.168.0.1/X_MS_MediaReceiverRegistrar/f7420543-db5d-46ad-916c-728ae8ecb3e2/control.xml]http://192.168.0.1/X_MS_MediaReceiverRegis...3e2/control.xml[/url] (User-Agent: Unknown)
foo_upnp: 13249.265: FbMediaServer::OnAction(222)/580: INFO: received action 'IsAuthorized', args = { DeviceID=
 }
foo_upnp: 13249.265: FbMediaServer::OnAction(239)/580: INFO: action 'IsAuthorized' response: args = { DeviceID=
,  }
foo_upnp: 13249.281: FbMediaServer::ProcessHttpRequest(285)/580: INFO: received LAN request: [url=http://192.168.0.1/ContentDirectory/f7420543-db5d-46ad-916c-728ae8ecb3e2/control.xml]http://192.168.0.1/ContentDirectory/f74205...3e2/control.xml[/url] (User-Agent: Unknown)
foo_upnp: 13249.297: FbMediaServer::OnAction(222)/580: INFO: received action 'Browse', args = { ObjectID=0, BrowseFlag=BrowseDirectChildren, Filter=upnp:class,res@protection, StartingIndex=0, RequestedCount=6, SortCriteria= }
foo_upnp: 13249.297: PLT_MediaServer::OnBrowse(380)/580: INFO: Received BrowseDirectChildren from 192.168.0.4 for id = 0 with filter = upnp:class,res@protection, start = 0, count = 6
foo_upnp: 13249.297: FbMediaServer::OnAction(239)/580: INFO: action 'Browse' response: args = { ObjectID=0, BrowseFlag=BrowseDirectChildren, Filter=upnp:class,res@protection, StartingIndex=0, RequestedCount=6, SortCriteria=, NumberReturned=3, TotalMatches=3, UpdateID=0 }
foo_upnp: 13251.265: FbMediaServer::ProcessHttpRequest(285)/580: INFO: received LAN request: [url=http://192.168.0.1/ContentDirectory/f7420543-db5d-46ad-916c-728ae8ecb3e2/control.xml]http://192.168.0.1/ContentDirectory/f74205...3e2/control.xml[/url] (User-Agent: Unknown)
foo_upnp: 13251.265: FbMediaServer::OnAction(222)/580: INFO: received action 'Browse', args = { ObjectID=0/1, BrowseFlag=BrowseDirectChildren, Filter=upnp:class,res@protection, StartingIndex=0, RequestedCount=6, SortCriteria= }
foo_upnp: 13251.265: PLT_MediaServer::OnBrowse(380)/580: INFO: Received BrowseDirectChildren from 192.168.0.4 for id = 0/1 with filter = upnp:class,res@protection, start = 0, count = 6
foo_upnp: 13251.265: FbMediaServer::OnAction(239)/580: INFO: action 'Browse' response: args = { ObjectID=0/1, BrowseFlag=BrowseDirectChildren, Filter=upnp:class,res@protection, StartingIndex=0, RequestedCount=6, SortCriteria=, NumberReturned=6, TotalMatches=8, UpdateID=0 }
foo_upnp: 13253.843: FbMediaServer::ProcessHttpRequest(285)/580: INFO: received LAN request: [url=http://192.168.0.1/ContentDirectory/f7420543-db5d-46ad-916c-728ae8ecb3e2/control.xml]http://192.168.0.1/ContentDirectory/f74205...3e2/control.xml[/url] (User-Agent: Unknown)
foo_upnp: 13253.843: FbMediaServer::OnAction(222)/580: INFO: received action 'Browse', args = { ObjectID=0/1/1, BrowseFlag=BrowseDirectChildren, Filter=upnp:class,res@protection, StartingIndex=0, RequestedCount=6, SortCriteria= }
foo_upnp: 13253.843: PLT_MediaServer::OnBrowse(380)/580: INFO: Received BrowseDirectChildren from 192.168.0.4 for id = 0/1/1 with filter = upnp:class,res@protection, start = 0, count = 6
foo_upnp: 13253.843: FbMediaServer::OnAction(239)/580: INFO: action 'Browse' response: args = { ObjectID=0/1/1, BrowseFlag=BrowseDirectChildren, Filter=upnp:class,res@protection, StartingIndex=0, RequestedCount=6, SortCriteria=, NumberReturned=6, TotalMatches=461, UpdateID=0 }
foo_upnp: 13256.015: FbMediaServer::ProcessHttpRequest(285)/580: INFO: received LAN request: [url=http://192.168.0.1/ContentDirectory/f7420543-db5d-46ad-916c-728ae8ecb3e2/control.xml]http://192.168.0.1/ContentDirectory/f74205...3e2/control.xml[/url] (User-Agent: Unknown)
foo_upnp: 13256.015: FbMediaServer::OnAction(222)/580: INFO: received action 'Browse', args = { ObjectID=0/1/1/3, BrowseFlag=BrowseDirectChildren, Filter=upnp:class,res@protection, StartingIndex=0, RequestedCount=6, SortCriteria= }
foo_upnp: 13256.015: PLT_MediaServer::OnBrowse(380)/580: INFO: Received BrowseDirectChildren from 192.168.0.4 for id = 0/1/1/3 with filter = upnp:class,res@protection, start = 0, count = 6
foo_upnp: 13256.015: FbMediaServer::OnAction(239)/580: INFO: action 'Browse' response: args = { ObjectID=0/1/1/3, BrowseFlag=BrowseDirectChildren, Filter=upnp:class,res@protection, StartingIndex=0, RequestedCount=6, SortCriteria=, NumberReturned=2, TotalMatches=2, UpdateID=0 }
foo_upnp: 13257.109: FbMediaServer::ProcessHttpRequest(285)/580: INFO: received LAN request: [url=http://192.168.0.1/ContentDirectory/f7420543-db5d-46ad-916c-728ae8ecb3e2/control.xml]http://192.168.0.1/ContentDirectory/f74205...3e2/control.xml[/url] (User-Agent: Unknown)
foo_upnp: 13257.109: FbMediaServer::OnAction(222)/580: INFO: received action 'Browse', args = { ObjectID=0/1/1/3/0, BrowseFlag=BrowseDirectChildren, Filter=upnp:class,res@protection, StartingIndex=0, RequestedCount=6, SortCriteria= }
foo_upnp: 13257.109: PLT_MediaServer::OnBrowse(380)/580: INFO: Received BrowseDirectChildren from 192.168.0.4 for id = 0/1/1/3/0 with filter = upnp:class,res@protection, start = 0, count = 6
foo_upnp: 13257.109: upnp_server_conf::get_profile(707)/580: INFO: using default profile (User-Agent:unknown)
foo_upnp: 13257.109: FbMediaServer::OnAction(239)/580: INFO: action 'Browse' response: args = { ObjectID=0/1/1/3/0, BrowseFlag=BrowseDirectChildren, Filter=upnp:class,res@protection, StartingIndex=0, RequestedCount=6, SortCriteria=, NumberReturned=6, TotalMatches=15, UpdateID=0 }
foo_upnp: 13258.468: FbMediaServer::ProcessHttpRequest(285)/1840: INFO: received LAN request: [url=http://192.168.0.1/ContentDirectory/f7420543-db5d-46ad-916c-728ae8ecb3e2/control.xml]http://192.168.0.1/ContentDirectory/f74205...3e2/control.xml[/url] (User-Agent: Unknown)
foo_upnp: 13258.468: FbMediaServer::OnAction(222)/1840: INFO: received action 'Browse', args = { ObjectID=0/1/1/3/0, BrowseFlag=BrowseDirectChildren, Filter=res,res@protection,res@size,res@duration,res@bitrate,res@sampleFrequency,res@bitsPerSample, StartingIndex=0, RequestedCount=1, SortCriteria= }
foo_upnp: 13258.468: PLT_MediaServer::OnBrowse(380)/1840: INFO: Received BrowseDirectChildren from 192.168.0.4 for id = 0/1/1/3/0 with filter = res,res@protection,res@size,res@duration,res@bitrate,res@sampleFrequency,res@bitsPerSample, start = 0, count = 1
foo_upnp: 13258.468: upnp_server_conf::get_profile(707)/1840: INFO: using default profile (User-Agent:unknown)
foo_upnp: 13258.468: FbMediaServer::OnAction(239)/1840: INFO: action 'Browse' response: args = { ObjectID=0/1/1/3/0, BrowseFlag=BrowseDirectChildren, Filter=res,res@protection,res@size,res@duration,res@bitrate,res@sampleFrequency,res@bitsPerSample, StartingIndex=0, RequestedCount=1, SortCriteria=, NumberReturned=1, TotalMatches=15, UpdateID=0 }
foo_upnp: 13258.484: FbMediaServer::ProcessHttpRequest(285)/3232: INFO: received LAN request: [url=http://192.168.0.1/content/0b5bb59579ecedb9b41bbcb725ad1463.mp3?profile_id=0&amp;amp;convert=mp3]http://192.168.0.1/content/0b5bb59579ecedb...amp;convert=mp3[/url] (User-Agent: Unknown)
foo_upnp: 13258.484: PLT_HttpHelper::ToLog(410)/3232: INFO:
GET /content/0b5bb59579ecedb9b41bbcb725ad1463.mp3?profile_id=0&amp;amp;convert=mp3 HTTP/1.0
Host: 192.168.0.1
Range: bytes=0-
Accept: */*
foo_upnp: 13258.484: upnp_server_conf::get_profile(707)/3232: INFO: using default profile (User-Agent:unknown)
foo_upnp: opened 'file://D:\musique\Abd Al Malik\Gibraltar\Abd Al Malik - Gibraltar.ogg' for streaming
foo_upnp: submitted statistics for 'file://D:\musique\Abd Al Malik\Gibraltar\Abd Al Malik - Gibraltar.ogg'
foo_upnp: 13288.297: FbMediaServer::ProcessHttpRequest(285)/1968: INFO: received LAN request: [url=http://192.168.0.1/ContentDirectory/f7420543-db5d-46ad-916c-728ae8ecb3e2/control.xml]http://192.168.0.1/ContentDirectory/f74205...3e2/control.xml[/url] (User-Agent: Unknown)
foo_upnp: 13288.297: FbMediaServer::OnAction(222)/1968: INFO: received action 'Browse', args = { ObjectID=0/1/1/3/0, BrowseFlag=BrowseDirectChildren, Filter=res,res@protection,res@size,res@duration,res@bitrate,res@sampleFrequency,res@bitsPerSample, StartingIndex=1, RequestedCount=1, SortCriteria= }
foo_upnp: 13288.297: PLT_MediaServer::OnBrowse(380)/1968: INFO: Received BrowseDirectChildren from 192.168.0.4 for id = 0/1/1/3/0 with filter = res,res@protection,res@size,res@duration,res@bitrate,res@sampleFrequency,res@bitsPerSample, start = 1, count = 1
foo_upnp: 13288.297: upnp_server_conf::get_profile(707)/1968: INFO: using default profile (User-Agent:unknown)
foo_upnp: 13288.297: FbMediaServer::OnAction(239)/1968: INFO: action 'Browse' response: args = { ObjectID=0/1/1/3/0, BrowseFlag=BrowseDirectChildren, Filter=res,res@protection,res@size,res@duration,res@bitrate,res@sampleFrequency,res@bitsPerSample, StartingIndex=1, RequestedCount=1, SortCriteria=, NumberReturned=1, TotalMatches=15, UpdateID=0 }
foo_upnp: 13288.312: FbMediaServer::ProcessHttpRequest(285)/3816: INFO: received LAN request: [url=http://192.168.0.1/content/a226c306f14b1a4dc1b5eb8f810da6db.mp3?profile_id=0&amp;amp;convert=mp3]http://192.168.0.1/content/a226c306f14b1a4...amp;convert=mp3[/url] (User-Agent: Unknown)
foo_upnp: 13288.312: PLT_HttpHelper::ToLog(410)/3816: INFO:
GET /content/a226c306f14b1a4dc1b5eb8f810da6db.mp3?profile_id=0&amp;amp;convert=mp3 HTTP/1.0
Host: 192.168.0.1
Range: bytes=0-
Accept: */*
foo_upnp: 13288.312: upnp_server_conf::get_profile(707)/3816: INFO: using default profile (User-Agent:unknown)

and then it seems it proceeds to try to read the other files in the directory (but nothing appears on the client) :

Code: [Select]
foo_upnp: opened 'file://D:\musique\Abd Al Malik\Gibraltar\Abd Al Malik - 12 septembre 2001.ogg' for streaming
foo_upnp: submitted statistics for 'file://D:\musique\Abd Al Malik\Gibraltar\Abd Al Malik - 12 septembre 2001.ogg'
foo_upnp: 13292.547: FbMediaServer::ProcessHttpRequest(285)/284: INFO: received LAN request: [url=http://192.168.0.1/ContentDirectory/f7420543-db5d-46ad-916c-728ae8ecb3e2/control.xml]http://192.168.0.1/ContentDirectory/f74205...3e2/control.xml[/url] (User-Agent: Unknown)
foo_upnp: 13292.547: FbMediaServer::OnAction(222)/284: INFO: received action 'Browse', args = { ObjectID=0/1/1/3/0, BrowseFlag=BrowseDirectChildren, Filter=res,res@protection,res@size,res@duration,res@bitrate,res@sampleFrequency,res@bitsPerSample, StartingIndex=2, RequestedCount=1, SortCriteria= }
foo_upnp: 13292.547: PLT_MediaServer::OnBrowse(380)/284: INFO: Received BrowseDirectChildren from 192.168.0.4 for id = 0/1/1/3/0 with filter = res,res@protection,res@size,res@duration,res@bitrate,res@sampleFrequency,res@bitsPerSample, start = 2, count = 1
foo_upnp: 13292.547: upnp_server_conf::get_profile(707)/284: INFO: using default profile (User-Agent:unknown)
foo_upnp: 13292.547: FbMediaServer::OnAction(239)/284: INFO: action 'Browse' response: args = { ObjectID=0/1/1/3/0, BrowseFlag=BrowseDirectChildren, Filter=res,res@protection,res@size,res@duration,res@bitrate,res@sampleFrequency,res@bitsPerSample, StartingIndex=2, RequestedCount=1, SortCriteria=, NumberReturned=1, TotalMatches=15, UpdateID=0 }
foo_upnp: 13292.578: FbMediaServer::ProcessHttpRequest(285)/3296: INFO: received LAN request: [url=http://192.168.0.1/content/245aba43cf69be1d86c35ef7d38f6c46.mp3?profile_id=0&amp;amp;convert=mp3]http://192.168.0.1/content/245aba43cf69be1...amp;convert=mp3[/url] (User-Agent: Unknown)
foo_upnp: 13292.578: PLT_HttpHelper::ToLog(410)/3296: INFO:
GET /content/245aba43cf69be1d86c35ef7d38f6c46.mp3?profile_id=0&amp;amp;convert=mp3 HTTP/1.0
Host: 192.168.0.1
Range: bytes=0-
Accept: */*
foo_upnp: 13292.578: upnp_server_conf::get_profile(707)/3296: INFO: using default profile (User-Agent:unknown)
foo_upnp: opened 'file://D:\musique\Abd Al Malik\Gibraltar\Abd Al Malik - Soldat de plomb.ogg' for streaming
foo_upnp: submitted statistics for 'file://D:\musique\Abd Al Malik\Gibraltar\Abd Al Malik - Soldat de plomb.ogg'
foo_upnp: 13297.687: FbMediaServer::ProcessHttpRequest(285)/4028: INFO: received LAN request: [url=http://192.168.0.1/ContentDirectory/f7420543-db5d-46ad-916c-728ae8ecb3e2/control.xml]http://192.168.0.1/ContentDirectory/f74205...3e2/control.xml[/url] (User-Agent: Unknown)
foo_upnp: 13297.687: FbMediaServer::OnAction(222)/4028: INFO: received action 'Browse', args = { ObjectID=0/1/1/3/0, BrowseFlag=BrowseDirectChildren, Filter=res,res@protection,res@size,res@duration,res@bitrate,res@sampleFrequency,res@bitsPerSample, StartingIndex=3, RequestedCount=1, SortCriteria= }
foo_upnp: 13297.687: PLT_MediaServer::OnBrowse(380)/4028: INFO: Received BrowseDirectChildren from 192.168.0.4 for id = 0/1/1/3/0 with filter = res,res@protection,res@size,res@duration,res@bitrate,res@sampleFrequency,res@bitsPerSample, start = 3, count = 1
foo_upnp: 13297.687: upnp_server_conf::get_profile(707)/4028: INFO: using default profile (User-Agent:unknown)
foo_upnp: 13297.687: FbMediaServer::OnAction(239)/4028: INFO: action 'Browse' response: args = { ObjectID=0/1/1/3/0, BrowseFlag=BrowseDirectChildren, Filter=res,res@protection,res@size,res@duration,res@bitrate,res@sampleFrequency,res@bitsPerSample, StartingIndex=3, RequestedCount=1, SortCriteria=, NumberReturned=1, TotalMatches=15, UpdateID=0 }
foo_upnp: 13297.687: FbMediaServer::ProcessHttpRequest(285)/1544: INFO: received LAN request: [url=http://192.168.0.1/content/8b1dd092ae9e591cf38410a4be6021ca.mp3?profile_id=0&amp;amp;convert=mp3]http://192.168.0.1/content/8b1dd092ae9e591...amp;convert=mp3[/url] (User-Agent: Unknown)
foo_upnp: 13297.687: PLT_HttpHelper::ToLog(410)/1544: INFO:
GET /content/8b1dd092ae9e591cf38410a4be6021ca.mp3?profile_id=0&amp;amp;convert=mp3 HTTP/1.0
Host: 192.168.0.1
Range: bytes=0-
Accept: */*
foo_upnp: 13297.687: upnp_server_conf::get_profile(707)/1544: INFO: using default profile (User-Agent:unknown)
(...)

The SAGEM radio user's guide says it can read from Windows Media 11, Media Connect Microsoft, and MusicMatch JukeBox but I guess Foobar could work too.

I tried to change the default profile (The SAGEM seems to have no user-agent) to transcode Ogg to MP3 without success (I just activate transcoding for ogg in "streaming profile" and put lame.exe in the foobar directory, is it right ?)

Can you advise me ?
Thanks in advance.
Title: foo_upnp
Post by: bubbleguuum on 2010-08-13 23:40:13
@Ras Elased Borrealis


The streaming URL requested by SAGEM is (doubly) broken:

Code: [Select]
/content/8b1dd092ae9e591cf38410a4be6021ca.mp3?profile_id=0&amp;amp;convert=mp3


this should be:
Code: [Select]
/content/8b1dd092ae9e591cf38410a4be6021ca.mp3?profile_id=0&convert=mp3


looks like the SAGEM fails miserably at XML escaping and URL encoding, hence the fubared URL.


Because of this, the server do not recognize totally the URL and stream an ogg (the original file) instead of transcoding to mp3.
Of course the SAGEM do not recognize the ogg and fails.

As a workaround I can do a double XML unescape of the URL to make it valid.
I'll send you a link to a test version to validate it fixes the problem.

Another hack to add to the long list of hacks to handle buggy hardware :/
Title: foo_upnp
Post by: Ras Elased Borrealis on 2010-08-14 09:59:11
Another hack to add to the long list of hacks to handle buggy hardware :/


Thanks for your (quick) answer. I'm waiting for your fix.

This device is quite buggy and feels unpolished in general but has nice features. For your information I tried 6 or 7 UPnp servers (XBMC Media Center, Serviio, FUPPES, 360 Media Server,...) and none worked with this client, I guess foo_upnp is more robust...
Title: foo_upnp
Post by: gebla on 2010-08-15 17:31:25
I need some help. My album art is not showing anymore. It was working in the past. I tried a theme download that did not support upnp. So i restored my old settings and now album art is not displayed anymore.

Can anyone advise how to restore the album art again? All files have album art embedded and each directory has a folder.jpg included
Title: foo_upnp
Post by: Master_Kale on 2010-08-15 20:34:46
I got foo_upnp setup and running, and it does a fantastic job of streaming music to my 360! I purchased PlugPlay for my iPod Touch so I could control foobar2000 on my desktop from anywhere in the apartment, but whenever I do so, PlugPlay activates foobar's Stop after current option - if I disconnect PlugPlay while foobar is playing music back, foobar stops playing after the current track.

I e-mailed the PlugPlay people about this issue and asked whether it was possible to stop PlugPlay from doing this - ideally, I'd want to be able to set foobar on its way via PlugPlay, then disconnect and let foobar continue playing music. The PlugPlay people's response was that the renderer needs to support on-device playlists.

Long-story-short, I'm kind of new to how exactly uPNP works, so I'm not really sure if this is the right question to ask, but does foo_upnp support on-device playlists?
Title: foo_upnp
Post by: bubbleguuum on 2010-08-16 00:10:31
I got foo_upnp setup and running, and it does a fantastic job of streaming music to my 360! I purchased PlugPlay for my iPod Touch so I could control foobar2000 on my desktop from anywhere in the apartment, but whenever I do so, PlugPlay activates foobar's Stop after current option - if I disconnect PlugPlay while foobar is playing music back, foobar stops playing after the current track.


It is the plugin that turns on stop after current when PP starts a track (and restore it when the track ends). This is necessary so foobar2000 do not play next track in its queue automatically when controlled by PP. If stop after current is not correctly restored it is indeed a bug.

Quote
Long-story-short, I'm kind of new to how exactly uPNP works, so I'm not really sure if this is the right question to ask, but does foo_upnp support on-device playlists?


By default, UPnP AV has no support for on-device playlists (which sucks), which imply that the Control Point (PP) must remain running. I may add support for an extension that allow on-device playlists and that PP supports, but It'll take some time.


Title: foo_upnp
Post by: Master_Kale on 2010-08-16 01:49:23
It is the plugin that turns on stop after current when PP starts a track (and restore it when the track ends). This is necessary so foobar2000 do not play next track in its queue automatically when controlled by PP. If stop after current is not correctly restored it is indeed a bug.

Does this mean that foobar2000 should continue playing music when PP disconnects (i.e. I shut off my Touch)? If that's the case, then we might be looking at a bug in foo_upnp.
Title: foo_upnp
Post by: gebla on 2010-08-17 08:20:26
One other question. Is it possible to add overview of recently added files to the collection? It would be nice to have quick overview of the new albums I added to the collection. Or can I do it by editting the XM of the browse tree? If so what field is available, i.e. %genre%
Title: foo_upnp
Post by: bubbleguuum on 2010-08-20 13:28:49
0.99.29 released (first post to download or autoupdate)

screenshot (http://bubbleguuum.free.fr/foo_upnp/fooupnp09929.png) showing some of the new functionality

Code: [Select]
- browser: fix: obscure crashes
- browser: new: ability to display properties (ip address, model name, supported audio formats, ...). Right click on a Server's node and select "Properties"

- server: chg: made silence PSC streaming not having underruns
- server: added option in Server/Content: if "Allow clients to pause stream indefinitely" is checked (unchecked by default), clients that do not automatically reconnect on server disconnection can now pause a http stream forever: the server will not close the connection. Otherwise the server closes the connection after 6 mins of inactivity (was 1 min previously)
- server: prevent PC from going into Sleep Mode when streaming, whether Sleep mode is activated by the user or automatically by the system. When streaming is active and Sleep is triggered, the PC goes into Away Mode instead: screen is powered off and analog audio output is muted (by the OS), but PC remains functional for streaming.  When streaming terminates, Sleep Mode works as usual.
- server: hack: fix buggy stream request URLs from "SAGEM My Dual Radio 700" (and probably other models) that forget to XML decode URLs sent in DIDL-Lite.

- controller: chg: removed context menu, now accessible with the new "..." button
- controller: new: added dialog to Play/Stop PSC to multiple renderers. Found in the Controller action menu as "Play Playback Stream Capture multi". For Linn DS renderers, only the UPnP AV Renderer is listed to avoid modifying the Playlist source. It is also possible to play any single item to multiple renderers: select an item and in its context menu, choose UPnP Controller>Play single item to multiple renderers. The purpose of this experimental feature is to allow some sort of multi-room audio. It is mostly intended for playing infinite streams such as Playback Stream Capture, web radios, infinite streams from other UPnP Servers (Jamcast's Virtual Soundcard for example or Asset UPnP's equivalent). Audio should be in sync when using renderers of the same model. If models are different it is likely that renderers won't be exactly in sync, because each model has a different buffering time before actual playing.

- controller: new: possible to select the startup renderer via the Controller's menu. On startup, the renderer has 15 seconds to appear to be automatically made active.
- controller: new: ability to display properties (ip address, model name, supported audio formats, ...) for the selected renderer ("Renderer properties" command in the Controller's menu)
- controller: fix: removed context menu, fixes conflict with DUI editing mode menu

- chg: relaxed DIDL-Lite parser so it accepts incomplete metadata (missing namespaces and <DIDL-Lite> tag) sent by PlugPlayer's renderer
Title: foo_upnp
Post by: bubbleguuum on 2010-08-20 13:41:27
One other question. Is it possible to add overview of recently added files to the collection? It would be nice to have quick overview of the new albums I added to the collection. Or can I do it by editting the XM of the browse tree? If so what field is available, i.e. %genre%


You can use $date(%added%) either in a foobar2000 autoplaylist or in the browse tree XML definition if you want to expose it to browsing clients.
It is not the only way to do it though.
Title: foo_upnp
Post by: alkasar on 2010-08-20 13:48:38
0.99.29 released
- controller: new: added dialog to Play/Stop PSC to multiple renderers..... Audio should be in sync when using renderers of the same model. If models are different it is likely that renderers won't be exactly in sync, because each model has a different buffering time before actual playing.

Definitively, several seconds in my case! Really annoying. Any chance that you could implement an adjustable delay per device at the server level ?

et bravo pour cet excellent plugin 
Title: foo_upnp
Post by: bubbleguuum on 2010-08-20 14:06:04
0.99.29 released
- controller: new: added dialog to Play/Stop PSC to multiple renderers..... Audio should be in sync when using renderers of the same model. If models are different it is likely that renderers won't be exactly in sync, because each model has a different buffering time before actual playing.

Definitively, several seconds in my case! Really annoying. Any chance that you could implement an adjustable delay per device at the server level ?

et bravo pour cet excellent plugin 


Good suggestion. The buffering delay could be calibrated by the user with some UI. Need to think about it.

Merci

Title: foo_upnp
Post by: vassie on 2010-08-20 17:22:14
Is there any chance foo_upnp can either integrate into foo_audioscrobbler, or have it's own built in Last.fm support

It would be nice to be able scrobble tracks played on my Xbox 360
Title: foo_upnp
Post by: bubbleguuum on 2010-08-20 20:55:46
Is there any chance foo_upnp can either integrate into foo_audioscrobbler, or have it's own built in Last.fm support

It would be nice to be able scrobble tracks played on my Xbox 360



I won't duplicate functionality with foo_audioscrobbler. It would be very easy to add in foo_audioscrobbler as I explained in this (http://www.hydrogenaudio.org/forums/index.php?showtopic=44320&view=findpost&p=708581) post
Title: foo_upnp
Post by: optix2000 on 2010-08-20 23:51:40
Hey, I love your plugin, it's great for streaming music from my desktop to my netbook around campus, but I have some questions about it.

1) Streamed songs (streamed in wav) don't have full metadata info (right click song> properties), is there any way to get full metadata on songs?

2) Mp3's inside archives are streamed as wav's, any way to get around that?

3) Is FLAC the only lossless format supported by this plugin? I have songs in other formats and they stream as wavs which tends to eat up wifi bandwidth.

Thanks!
Title: foo_upnp
Post by: d'Wooluf on 2010-08-21 02:50:39
@Vassie re: Eset

I seem to have got mine working. Very old version of foo_upnp, so your mileage may vary (as they say in the classics).

setup->personal firewall->IDS and advanced options

I ticked 'allow multicast address resolution' and unticked 'rpc/dcom attack detection'. I'm not sure whether it's one or both of these that did the trick.
You've already checked 'allow upnp in the trusted zone'?

hth
Title: foo_upnp
Post by: bubbleguuum on 2010-08-21 11:05:01
1) Streamed songs (streamed in wav) don't have full metadata info (right click song> properties), is there any way to get full metadata on songs?
2) Mp3's inside archives are streamed as wav's, any way to get around that?
3) Is FLAC the only lossless format supported by this plugin? I have songs in other formats and they stream as wavs which tends to eat up wifi bandwidth.


1.
Not possible for the same reason that foobar2000 do not manage metadata for WAV. The metadata you see (when the file is listed in a playlist using the Browser) is
called browse metadata. It is used only for display (and titleformatting) purpose but is not displayable in the Properties panel (which I'd like to be extended to do that).

2.
Any track having a subsong index (archives, single FLAC + cue, ...) is streamed as PCM or transcoded to MP3.
To do what you suggest, instead of using the unpack input, I'd need to unpack the file in the archive and serve it, which I have no real plan to do but I'll think about it.

3.
Which format ?  Assuming you use foobar2000 as the playing client, most formats can be streamed without requiring WAV, except for tracks having subsong indexes (see above) and a few formats not http streamable (MusePack). The most likely reason I can think of is that you use CUE files.
Title: foo_upnp
Post by: optix2000 on 2010-08-21 23:18:04
1.
Not possible for the same reason that foobar2000 do not manage metadata for WAV. The metadata you see (when the file is listed in a playlist using the Browser) is
called browse metadata. It is used only for display (and titleformatting) purpose but is not displayable in the Properties panel (which I'd like to be extended to do that).

2.
Any track having a subsong index (archives, single FLAC + cue, ...) is streamed as PCM or transcoded to MP3.
To do what you suggest, instead of using the unpack input, I'd need to unpack the file in the archive and serve it, which I have no real plan to do but I'll think about it.



Nice to know that you'll consider adding these features.

Quote
3.
Which format ?  Assuming you use foobar2000 as the playing client, most formats can be streamed without requiring WAV, except for tracks having subsong indexes (see above) and a few formats not http streamable (MusePack). The most likely reason I can think of is that you use CUE files.


Yeah, I'm using CUE files. Not a huge issue, but always nice to reduce bandwidth usage.


Title: foo_upnp
Post by: kompot on 2010-08-22 07:50:30
Not sure the following was not discussed. Sorry for bothering if it was.

Is it possible some way to make transcoded files to be copied using foobar file operations. I understand that the size of the file is unknown but may be it's possible to make some approximation so that foobar gets some relatively close file size but still can copy the file some way.

Thanks.
Title: foo_upnp
Post by: gebla on 2010-08-22 08:40:49
Great this update. Love the option to set the default renderer. Asked before but anyone has some idea how to get artwork working?

OK I fixed this issue. I was expecting that foobar component update would update columsUI to latest version but it does not. After updating Columnsui to 3.8.6 manually artwork is working again.
Title: foo_upnp
Post by: gilden_man on 2010-08-25 10:37:08
Foobar v1.1 compatibility

Well someone had to try it
Only discovered upnp last friday 20/8/10.
Firstly, thanks for an amazing plugin. I wanted to listen to my music remotely and never imagined there'd
be something as good as this.
Only thing that seems to be missing is a way to perform a search on the client, as good as the library search
on the server. I have 50K tunes and browsing them is not an option. Or am I missing how to perform the library search on the client?

Anyway, I upgraded my client foobars to v1.1 and all seemed fine.
I then put v1.1 on the server foobar and now the clients seem to have playback problems.
Tracks take an age to load. When they do, the stream keeps repeating portions of a tune.
Playback pauses then jumps back and repeats a small portion of the tune. This continues, with
playback advancing slightly, every so often.
Is 0.99.29 not compatible with foobar v1.1?
Title: foo_upnp
Post by: kompot on 2010-08-25 10:57:56
Or am I missing how to perform the library search on the client?


there is a search bar, on the bottom of the tree
Title: foo_upnp
Post by: gilden_man on 2010-08-25 13:28:29
there is a search bar, on the bottom of the tree


Indeed. That's how I use it on the upnp server foobar.
I actually still had a library configured on the client foobar.
When I'm at home the laptop (with the upnp client foobar) can also access my music over network drives.
When I'm away, that won't work, so I wanted some way to perform a library search as I can when I'm home.
After removing those library entries (empty library now) F6 now does nothing.
Are you saying F6 works for you on a upnp client foobar?
Thanks.
Title: foo_upnp
Post by: kompot on 2010-08-25 16:20:29
there is a search bar, on the bottom of the tree

Indeed. That's how I use it on the upnp server foobar.

not sure that i understood you right but the search bar I was talking about is a part of upnp component and searches remote library

as for F6 - it does nothing for me (may be because I'm on Ubuntu and using foobar via wine)
Title: foo_upnp
Post by: gilden_man on 2010-08-25 18:21:09
not sure that i understood you right but the search bar I was talking about is a part of upnp component and searches remote library


Aha.
I never even noticed that! 
That's it.
The upnp component does everything now
Thanks a lot, for pointing out the obvious to me.

Quote from: kompot link=msg=0 date=
as for F6 - it does nothing for me (may be because I'm on Ubuntu and using foobar via wine)


F6 is Library - Album List. I've always used it for searching. Not F5 for some reason, which seems more like the upnp search.
Title: foo_upnp
Post by: redmodel on 2010-08-26 02:52:51
Thanks for the foo_upnp!  Been using it quite a bit.

I do have one request, and I'm sorry if it's been asked already.  But would it be possible to make the UPNP Controller into an UI Element?

Title: foo_upnp
Post by: bubbleguuum on 2010-08-26 18:53:05
Thanks for the foo_upnp!  Been using it quite a bit.

I do have one request, and I'm sorry if it's been asked already.  But would it be possible to make the UPNP Controller into an UI Element?



It is already an UI Element as well as a CUI panel. But maybe you missed it in the UI Element list because it is not listed if the component  is launched as a standalone window (since it is a single instance component). If that's the case, close the standalone window and add it as an UI ELement.
Title: foo_upnp
Post by: redmodel on 2010-08-27 15:40:27
It is already an UI Element as well as a CUI panel. But maybe you missed it in the UI Element list because it is not listed if the component  is launched as a standalone window (since it is a single instance component). If that's the case, close the standalone window and add it as an UI ELement.


Thanks for the reply.

Yeah, that was the issue, I did have it opened already in a separate window.  All is good now
Title: foo_upnp
Post by: itazura on 2010-08-28 16:31:06
(accidentally posted this in the main forum first...apologies for the duplication)


I've said it before, but it warrants repeating: this is an absolutely fantastic plugin, thank you!

I've been so happy with my foobar + foo_upnp + Philips UPNP renderer setup for the past year or so that I haven't kept up with updates.

I have two questions that I'm hoping someone can help to answer:

1. In f2k, I can use the foo_lastfm_radio plugin to stream last.fm radio feeds, but I haven't had success getting those streams to play in my UPNP renderer (Phillips Streamium NP1100) using foo_UPNP; is there a way I can set things up so that this will work?

2. In f2K, I can use foo_audioscrobbler to scrobble played tracks in my last.fm profile, but I haven't figured out a way to get tracks played via foo_UPNP to scrobble; is this possible?

Many thanks for your feedback... and thanks again to bubbleguum for this beautifully functional contribution to the foobar community.

itazura
Title: foo_upnp
Post by: deoch on 2010-08-28 21:12:07
Is "Capture Playback Stream" supported on the Xbox 360?  I see it on a PS3 but I cannot figure out how to access it on an Xbox 360.
--edit--
I was able to get it to work by turning on the HTTP server feature, making a new playlist, adding the http url (http://pass:pass@localhost:56923/content/psc.lpcm) as a location, and then pointing the xbox to that entry in the playlist.  Is that considered the correct way to do it?
Title: foo_upnp
Post by: bubbleguuum on 2010-08-28 21:58:23
1. In f2k, I can use the foo_lastfm_radio plugin to stream last.fm radio feeds, but I haven't had success getting those streams to play in my UPNP renderer (Phillips Streamium NP1100) using foo_UPNP; is there a way I can set things up so that this will work?
2. In f2K, I can use foo_audioscrobbler to scrobble played tracks in my last.fm profile, but I haven't figured out a way to get tracks played via foo_UPNP to scrobble; is this possible?


1. due to the way it works, lastfm:// items can only work with Playback Stream Capture (which do not exist in very old versions). You play lastfm:// items normally in foobar, then play Playback Stream Capture (aka what foobar2000 is playing) on your renderer.

2. Not possible. Ideally it could be easily integrated in foo_audiocrobbler but no news.

Is "Capture Playback Stream" supported on the Xbox 360?  I see it on a PS3 but I cannot figure out how to access it on an Xbox 360.
--edit--
I was able to get it to work by turning on the HTTP server feature, making a new playlist, adding the http url (http://pass:pass@localhost:56923/content/psc.lpcm) as a location, and then pointing the xbox to that entry in the playlist.  Is that considered the correct way to do it?


the Xbox do not expose the server's tree so the only way is to use the PSC url as you did. I don't think you even need the login/password.


EDIT: no need to enable the internet access: just use http://<your pc LAN ip>:56923/content/psc.lpcm as the URL.  As a side effect if you try to play that URL in foobar2000 you'll have an infinite silence stream .
Title: foo_upnp
Post by: gebla on 2010-08-29 08:04:54
One other question. Is it possible to add overview of recently added files to the collection? It would be nice to have quick overview of the new albums I added to the collection. Or can I do it by editting the XM of the browse tree? If so what field is available, i.e. %genre%


You can use $date(%added%) either in a foobar2000 autoplaylist or in the browse tree XML definition if you want to expose it to browsing clients.
It is not the only way to do it though.


I have tried to play with $date(%added%) on the browse tree xml but cannot get it to work (no date is displayed). Sorry to ask but do you have a bit more info how?
Title: foo_upnp
Post by: deoch on 2010-08-29 11:23:33
the Xbox do not expose the server's tree so the only way is to use the PSC url as you did. I don't think you even need the login/password.


EDIT: no need to enable the internet access: just use http://<your pc LAN ip>:56923/content/psc.lpcm as the URL.  As a side effect if you try to play that URL in foobar2000 you'll have an infinite silence stream .


Very cool bubbleguuum, thanks.  I tried it and that worked.  Really enjoying the functionality of the plugin .
Title: foo_upnp
Post by: glamour_pike on 2010-08-29 15:40:54
2. In f2K, I can use foo_audioscrobbler to scrobble played tracks in my last.fm profile, but I haven't figured out a way to get tracks played via foo_UPNP to scrobble; is this possible?


2. Not possible. Ideally it could be easily integrated in foo_audiocrobbler but no news.


Actually it exists a scrobbler for Twonky Media Server: http://www.lastfm.de/forum/21716/_/475464/_/7764002 (http://www.lastfm.de/forum/21716/_/475464/_/7764002)
But the programmer isn't working on it anymore.
The idea itself is great.
Title: foo_upnp
Post by: bubbleguuum on 2010-08-30 00:41:38
I have tried to play with $date(%added%) on the browse tree xml but cannot get it to work (no date is displayed). Sorry to ask but do you have a bit more info how?


Something I forgot to tell is that for %added% to work you need to install the Playback Statistics component (http://www.foobar2000.org/components/view/foo_playcount)

But %added% will be correct only for the files you will add to the Media Library after having installed this component.

After that, adding a node to the the XML tree definition should work:

Code: [Select]
<SubTree label="Albums by added date">
  <spec>$date(%added%)</spec>
  <spec type="object.container.album.musicAlbum">[%album artist% - ]%album%</spec>
  </SubTree>

<SubTree label="Tracks by added date">
  <spec>$date(%added%)</spec>
  </SubTree>


You can also substitute %last_modified%  to %added%.  %last_modified% do not rely on playback statistics and is initially equal
to the date your files enter the watched media library folders (until you modify the file, if ever).

You can also generate autoplaylists in foobar2000. For example, all tracks modified in the last 2 month sorted from more recent to less recent:

%last_modified% DURING LAST 8 WEEKS SORT DESCENDING BY %last_modified%

You enter that string in the Library>Search dialog, from which you can create an autoplaylist.

while researching that, I noticed that any query with SORT or involving the System time (ie using DURING, SINCE, etc) did not work in the UPnP tree.
In the next version of the plugin you'll be able to specify a query such as the one above.


Title: foo_upnp
Post by: bhkbhkbhk on 2010-08-30 19:46:34
[color="#0000FF"][/color]

I apologise for posting in this way.  Being a newbie, I couldn't see a way to post to this subject thread.  The New Post choice suggeted it would post to the general Foobar and not necessarily to the foo_upnp subject.  Any kind instruction to show me how
to do it properly would be greatly appreciated!

I am beta testing a device called a Bridge for PS Audio. It is a plug card in for their D/A converter that will play various music files from a server program on a computer or NAS via an Ethernet connection. We have been using a server program called Twonky and the foo_upnp.dll addition to the foobar2000 program. The problem is that when a full scale .wav test signal at any sample rate is played back using this foobar plug in server, the received level by the PS Audio device is 6 dB down from what the test signal produces when injected into the D/A converter inputs from my Audio Precision SYS2722 generator. Further, the distortion spectrum is quite a bit worse than when the same signal is directly input to the D/A converter. However, when using the Twonky server program, the playback via the Bridge device is at ful scale level and the distortion level is the same as when directly input to the D/A converter.

So, my question is: why is this so and what can be done to corredt this situation. Are there some parameter changes in the prgram that might correct this?

I would like to insert a graph to illustrate that but, being a newbie in this forum, clicking on insert an image didn't give me a obvious means to do so.

Bascom H. King
Consultant, EE 
 
Title: foo_upnp
Post by: bubbleguuum on 2010-08-30 20:31:15
[color="#0000FF"][/color]
So, my question is: why is this so and what can be done to corredt this situation. Are there some parameter changes in the prgram that might correct this?


How are you playing your WAV to your renderer ? If you used Playback Stream Capture and happened to have the "Hard -6dB limiter" DSP enabled in foobar2000's DSP conf, I think it would match what you describe.

Can you open the console (in View>Console) and paste here a line that starts with  "foo_upnp: opened 'file://....."  ?
Title: foo_upnp
Post by: bhkbhkbhk on 2010-08-31 04:59:20
[color="#0000FF"][/color]
So, my question is: why is this so and what can be done to corredt this situation. Are there some parameter changes in the prgram that might correct this?


How are you playing your WAV to your renderer ? If you used Playback Stream Capture and happened to have the "Hard -6dB limiter" DSP enabled in foobar2000's DSP conf, I think it would match what you describe.

Can you open the console (in View>Console) and paste here a line that starts with  "foo_upnp: opened 'file://....."  ?


First of all, thank you for responding!  Forgive me but I don't understand what the rederer word means.  I am not using Playback Stream Capture to my knowledge.  I have just pointed the upnp tool to the sources of my music files and started using it.  The Foobar section of playback gain is all at 0 dB with default choices there.  How does one check out the DSP conf thing?  To test what
change I might make to Foobar, I have to take my D/A converter out to my lab to test how it plays back test .wav files on my
Measurement equipment.  I will try to open the console and do what you ask above.

Thanks again,
Bascom King
Title: foo_upnp
Post by: bhkbhkbhk on 2010-08-31 18:36:47
[color="#0000FF"][/color]
So, my question is: why is this so and what can be done to corredt this situation. Are there some parameter changes in the prgram that might correct this?


How are you playing your WAV to your renderer ? If you used Playback Stream Capture and happened to have the "Hard -6dB limiter" DSP enabled in foobar2000's DSP conf, I think it would match what you describe.

Can you open the console (in View>Console) and paste here a line that starts with  "foo_upnp: opened 'file://....."  ?


First of all, thank you for responding!  Forgive me but I don't understand what the rederer word means.  I am not using Playback Stream Capture to my knowledge.  I have just pointed the upnp tool to the sources of my music files and started using it.  The Foobar section of playback gain is all at 0 dB with default choices there.  How does one check out the DSP conf thing?  To test what
change I might make to Foobar, I have to take my D/A converter out to my lab to test how it plays back test .wav files on my
Measurement equipment.  I will try to open the console and do what you ask above.

Thanks again,
Bascom King


Have checked that the -6dB hard limiter is not enabled - at least it shows no DSP choice is enabled.  Still wonder what the renderer
is.  Opening the console, the content within is as follows:

Watching: C:\Documents and Settings\HP_Owner\Desktop\Various Audio Files
Folder watching failure: The system cannot find the path specified. 
Folder watching failure: The system cannot find the path specified. 
Folder watching failure: The system cannot find the path specified. 
foo_upnp: succesfully loaded file C:\Documents and Settings\HP_Owner\
Application Data\foobar2000\foo_upnp.xml
foo_upnp: initialized in 0.516s
Startup time : 0:04.310596
foo_upnp: created 49131 path registry entries in 1.437s
foo_upnp: loaded Media Library tree in 20.984s

Note the three Folder watching failures are because those three HDD's are not on at this point.

I look foward to possibly more wisdom on my problem - and thanks for your help
Title: foo_upnp
Post by: bubbleguuum on 2010-08-31 20:25:53
@bhkbhkbhk: a Renderer in UPnP parlance is the device (hardware or software) that plays audio. In your case this is the PS Bridge.

You're using PS Audio tagnplay as the controller right ?
After some research it came that tagnplay  is identified as PlugPlayer by the plugin (PlugPlayer is another Controller for iOS) and thus all files streamed use this streaming profile. I suspect that tagnplay is based on Plugplayer's code and someone forgot to change the HTTP User-Agent.

In foo_upnp, streaming profiles adapts the streamed audio format to the capabilities of the target Renderer (supported samplerates, bitdepth, codecs, and more).

The PlugPlayer profile is setup to play audio on iOS devices and will transcode to mp3 any WAV that is > 48Khz, so it plays on the iOS device.

Hopefully you can override that. I suppose that for your tests you just want to stream your WAV as bitperfect.

First, force the use of the Default profile, in File>Preferences>Tools>UPnP>Server>Basic Settings
The Default profile has sane defaults that works with most renderers but you want to edit it to match the capabilities of your PS Audio Bridge.

Go into File>Preferences>Tools>UPnP>Server>Streaming Profiles and set the max samplerate to 192Khz as well as max bitdepth to 24.
Also in the "Decoding to PCM" section change the line to read " Decode to wav except <leave empty>. That will prevent the plugin
to convert your test files to PCM, and will just stream the files without any modification.

Once you have done that you can check that a file is stream correctly by monitoring the console. Each time you play a file from tagnplay you should see a line (here playing a WAV)

foo_upnp: opened 'file://C:\Music\Dan Curtin - Lifeblood\Dan Curtin - Lifeblood\07. Dan Curtin - Blood.wav' for streaming

Assuming your WAV got transcoded to mp3, I don't explain why you observed a 6dB difference. I did a test and found a 0.5dB ReplayGain difference between a WAV and its conversion to 320K mp3.
Title: foo_upnp
Post by: Wacky on 2010-09-05 22:04:55
 I have a question about transcoding and cpu cycles.  I use foo_upnp to stream various internet radio stations (transcoded to mp3 at 128kbs constant bit rate) to SMCWAA-G wifi renderers around the house.  The laptop is running foobar2000 1.1 and foo_upnp 0.99.29.  The laptop is on wired ethernet.

This setup works great, but I am noticing a creeping increasing cpu cycle issue with foobar2000.  It seems that as the day goes on and different station streams are started and stopped, that the cpu % keeps increasing, reaching up to 60% or higher before I shut down foobar2000 and restart it.

I usually just switch stations without stopping the current station.  Is it possible that other transcoding jobs are still running even though I am not streaming them?

I will do some testing, too.

Title: foo_upnp
Post by: GeSomeone on 2010-09-06 15:22:10
I don't explain why you observed a 6dB difference.

Is foo_hdcd (http://www.foobar2000.org/components/view/foo_hdcd) used somewhere? Or the pre-amp setting for files without RG?
Title: foo_upnp
Post by: thaihugo on 2010-09-06 23:59:37
Hello Bubblegum,

You plugin is still working prefectly on my Streamium WAC7500. I also have a Samsung HDTV (LN40C610) and it works also perfectly, even for videos.

I see you are starting with multi- devices functions, like playing on multiple devices the same music.

One function on my streamium that I use regulary is the ability to continue my playlist on another device. I can start it upstairs, and if I want to continue downstairs, I just have to use the "follow me" function. I loose a few seconds, but the song is taken back where I left it.

An easy way to do this is to allow switching the playlist to another device using a simple menu operation, restarting the current song.

A harder way would be to start the song at the same place in the track (harder because most renderer doesn't support seeking, so it would probably be a compatibility nightmare, except if you actually send a new stream of the cropped song)

I don't know if you plan to add this function, but this would alow people to play with multi room setups

Thanks in any case

Hugo
Title: foo_upnp
Post by: Wacky on 2010-09-09 20:07:07
Nevermind my other post.  I just disabled transcoding and all my cpu cycle problems disappeared.  I had turned on transcoding while my system was all on wifi since it stablized the internet streaming.  Now that the server laptop is wired ethernet, there are no dropouts.  Disabling transcoding leaves cpu cycles about 5% rather than 50%.




 I have a question about transcoding and cpu cycles.  I use foo_upnp to stream various internet radio stations (transcoded to mp3 at 128kbs constant bit rate) to SMCWAA-G wifi renderers around the house.  The laptop is running foobar2000 1.1 and foo_upnp 0.99.29.  The laptop is on wired ethernet.
Title: foo_upnp
Post by: mcantor on 2010-09-14 01:05:31
I'm accessing the UPnP server over my LAN with AndroMote for Android, and I can only seem to get 38 songs at a time from my playlists.  Anyone had this issue before?
Title: foo_upnp
Post by: pdf on 2010-09-14 03:56:54
Hi,
is there a way to have a profile match on the client's IP address or have a custom (subnet?) setting for which clients are handled as Internet clients?
I am using a VPN to connect to my LAN through the Internet and so it looks like a regular LAN client, but I want to use a lower bitrate for Internet streaming.

Thanks
Title: foo_upnp
Post by: bubbleguuum on 2010-09-14 23:53:05
An easy way to do this is to allow switching the playlist to another device using a simple menu operation, restarting the current song.

A harder way would be to start the song at the same place in the track (harder because most renderer doesn't support seeking, so it would probably be a compatibility nightmare, except if you actually send a new stream of the cropped song)

I don't know if you plan to add this function, but this would alow people to play with multi room setups


No plan to do it and I can't think of an easy way to do it UI wise


I'm accessing the UPnP server over my LAN with AndroMote for Android, and I can only seem to get 38 songs at a time from my playlists.  Anyone had this issue before?


No idea. One thing i can think of is if you have upnp items in your playlist (ie items added to playlist with the UPnP browser). These items are discarded from playlists by the server.


is there a way to have a profile match on the client's IP address or have a custom (subnet?) setting for which clients are handled as Internet clients?
I am using a VPN to connect to my LAN through the Internet and so it looks like a regular LAN client, but I want to use a lower bitrate for Internet streaming.


Not possible ATM. I see how it could be useful so I'll think about it but you'll probably have to edit the config file directly to configure it.
EDIT: in the meantime you may want to access the server from the Internet not using your VPN (ie using its public IP). You can set the server to use port 80 which pass most corporate firewalls.
Title: foo_upnp
Post by: itazura on 2010-09-15 21:13:02
1. due to the way it works, lastfm:// items can only work with Playback Stream Capture (which do not exist in very old versions). You play lastfm:// items normally in foobar, then play Playback Stream Capture (aka what foobar2000 is playing) on your renderer.


I downloaded a newer version of foobar and newer version of foo_upnp and tried this out -- it seems to work great, thanks.

Just a couple of questions: is there a way to display track tag data for the currently playing track in the renderer while using the "Playback Stream Capture" mode?  Also, if I have multiple foobar playlists available to me on the remote (server) machine, is there any way I can change from playlist to playlist from the renderer while staying in Playback Stream Capture mode?  (The renderer is a standalone hardware playback device... a Phillips Streamium NP1100). 

Thanks again for all of your excellent work.

itazura


Title: foo_upnp
Post by: bubbleguuum on 2010-09-15 21:54:31
Just a couple of questions: is there a way to display track tag data for the currently playing track in the renderer while using the "Playback Stream Capture" mode?


Not possible currently. For that to work I'd need to implement dynamic metadata and your renderer would have to make use of it which is not guaranteed at all.
Maybe emulating the shoutcast protocol could work (provided the renderer makes use of dynamic metadata).

Quote
Also, if I have multiple foobar playlists available to me on the remote (server) machine, is there any way I can change from playlist to playlist from the renderer while staying in Playback Stream Capture mode?  (The renderer is a standalone hardware playback device... a Phillips Streamium NP1100).


If I understand correctly, when playing an item from your renderer's interface, you want foobar2000 to play it to the renderer using Playback Stream Capture (instead of direct streaming) ? The only use that I can see for that, would be to be able to trigger play of lastfm items from the renderer's interface which is currently not possible. Was it what you had in mind ?
Title: foo_upnp
Post by: itazura on 2010-09-15 22:18:06
Also, if I have multiple foobar playlists available to me on the remote (server) machine, is there any way I can change from playlist to playlist from the renderer while staying in Playback Stream Capture mode?  (The renderer is a standalone hardware playback device... a Phillips Streamium NP1100).

If I understand correctly, when playing an item from your renderer's interface, you want foobar2000 to play it to the renderer using Playback Stream Capture (instead of direct streaming) ? The only use that I can see for that, would be to be able to trigger play of lastfm items from the renderer's interface which is currently not possible. Was it what you had in mind ?


Yes, I think that you've properly intuited my situation.  I basically want to be able to change (or change to) foobar2000-served lastfm radio streams via the renderer interface.  In foobar2000, I have various lastfm streams set up as discrete playlists (that's how foo_lastfm_radio sets things up).  It would be neat to be able to move between lastm "stations" via the renderer interface.  Does that make sense?

Title: foo_upnp
Post by: alkasar on 2010-09-16 10:34:02
Just a couple of questions: is there a way to display track tag data for the currently playing track in the renderer while using the "Playback Stream Capture" mode?


Not possible currently. For that to work I'd need to implement dynamic metadata and your renderer would have to make use of it which is not guaranteed at all.
Maybe emulating the shoutcast protocol could work (provided the renderer makes use of dynamic metadata).


+1 to display trackinfo with foobarplack stream capture.
these renderers are able to play internet radio streams and show the now playing track info. Maybe possible to use the same "protocol" ?
example1 (KCRW) : http://205.188.234.2/stream/1045 (http://205.188.234.2/stream/1045)
example2 (ouifm) : http://broadcast.infomaniak.net:80/ouifm-high.mp3 (http://broadcast.infomaniak.net:80/ouifm-high.mp3)
Its mp3 in both cases, however they manage tags differently. Example1 is very clean.
Title: foo_upnp
Post by: Tom_W on 2010-09-17 14:14:49
Hi bubbleguuum,

I see you are on the Naim forums, and i'm glad you have had some contact with the devs. I don't know how often you check that forum, so i'm posting the same issue here. Hope that's ok.

Currently I am not able to use the shortcut alphabetical letter search when browsing my Foobar library (this is done from the remote control)

From the NaimUniti Reference Manual
In long lists the handset numeric/text keys can be used to jump through the list alphabetically.

From the NaimUniti Troubleshooting guide
4.8 Cannot jump lists when using UPnP server
• Some UPnP servers do not return the browse data in alphabetically sorted lists. If this is the case then the Uniti cannot perform an alphabetical jump to a position in the list.

Can this functionality be enabled in your plugin?

Also, would it be possible to have a specific Uniti profile in the UPnP preferences? That would be useful.

Thanks for all your work. Nice tunes in your Foobar library screenshot by the way!

Tom
Title: foo_upnp
Post by: Gapkiller on 2010-09-17 18:18:09
Hi,

I want to use foo_upnp to serve my library to my Samsung (LE40C650) TV.
Streaming with Win 7 and/or Samsung share manager works just fine.
The TV can "see" foobar2000 but is not able to show me any contents.

The TV is connected via cable and the computer is connected via Wlan.

Hope someone is able to help.

Thanks in advance!

Title: foo_upnp
Post by: nosurrender on 2010-09-19 16:23:34
I am using foo_upnp as a media server and I like it very much so far.
Unfortunately I haven't figured out how to deal with the foo_upnp_ml_tree.xml-file yet. Since I am planing on only having "Folders" and no "Albums" or "Artists" in my browse tree, I would appreciate any help!
Thanks in advance!
Best regards!
Title: foo_upnp
Post by: cyrano on 2010-09-19 19:37:38
Hi !

Thanks for this great component!

I have a (very) small feature request for the Browser GUI:
Could you please add "Add to the UPnP Browser Selection Playlist" to the right/left click actions?
There is only "Send to the UPnP Browser Selection Playlist" available right now.
But "Send to..." overwrites the current content of the playlist...

That would be great !

Title: foo_upnp
Post by: bubbleguuum on 2010-09-19 23:30:27
Yes, I think that you've properly intuited my situation.  I basically want to be able to change (or change to) foobar2000-served lastfm radio streams via the renderer interface.  In foobar2000, I have various lastfm streams set up as discrete playlists (that's how foo_lastfm_radio sets things up).  It would be neat to be able to move between lastm "stations" via the renderer interface.  Does that make sense?


That makes sense. Adding to the potential feature list but no promise.


+1 to display trackinfo with foobarplack stream capture.
these renderers are able to play internet radio streams and show the now playing track info. Maybe possible to use the same "protocol" ?
example1 (KCRW) : http://205.188.234.2/stream/1045 (http://205.188.234.2/stream/1045)
example2 (ouifm) : http://broadcast.infomaniak.net:80/ouifm-high.mp3 (http://broadcast.infomaniak.net:80/ouifm-high.mp3)
Its mp3 in both cases, however they manage tags differently. Example1 is very clean.


This one is interesting to tackle. The protocol in question is the shoutcast metadata protocol. I'll be implementing it to provide dynamic
titles to Playback Stream Capture. When a renderer supports that protocol it puts the special HTTP header "Icy-MetaData:1" in the GET request.
Can you confirm you have this header for the PSC HTTP request ( enabling logging will display HTTP request headers) ?
Usually, dynamic metadata is requested for mp3 streams and I want to confirm if it is requested for PCM streams as well by your renderer.


Currently I am not able to use the shortcut alphabetical letter search when browsing my Foobar library (this is done from the remote control)
Also, would it be possible to have a specific Uniti profile in the UPnP preferences? That would be useful.


The items in the server tree are returned alphabetically sorted already. How do the Unity present the server's music ? Does it present the server's tree
as it is ? Also it could be useful if you tell what you were browsing (albums, artists, ...).



I want to use foo_upnp to serve my library to my Samsung (LE40C650) TV.
Streaming with Win 7 and/or Samsung share manager works just fine.
The TV can "see" foobar2000 but is not able to show me any contents.


I suspect  there is a possible regression with 0.99.29 and some DLNA TVs.
Can you try 0.99.28 (http://bubbleguuum.free.fr/foo_upnp/0.99.28/foo_upnp.dll) ?


I am using foo_upnp as a media server and I like it very much so far.
Unfortunately I haven't figured out how to deal with the foo_upnp_ml_tree.xml-file yet. Since I am planing on only having "Folders" and no "Albums" or "Artists" in my browse tree, I would appreciate any help!
Thanks in advance!
Best regards!


Just remove the SubTree nodes you do not need, for folders only:

Code: [Select]
<MediaLibraryTree>
    <SubTree label="Folders" type="filesystem"/>
</MediaLibraryTree>




I have a (very) small feature request for the Browser GUI:
Could you please add "Add to the UPnP Browser Selection Playlist" to the right/left click actions?
There is only "Send to the UPnP Browser Selection Playlist" available right now.
But "Send to..." overwrites the current content of the playlist...


The UPnP Browser Selection Playlist purpose is to show the content of the selected tree node in the Browser. But you can
bind a click action to "Add to current playlist": it will add items to the UPnP Browser Selection Playlist, if it is the current playlist.
Title: foo_upnp
Post by: nosurrender on 2010-09-20 09:04:19
I am using foo_upnp as a media server and I like it very much so far.
Unfortunately I haven't figured out how to deal with the foo_upnp_ml_tree.xml-file yet. Since I am planing on only having "Folders" and no "Albums" or "Artists" in my browse tree, I would appreciate any help!
Thanks in advance!
Best regards!


Just remove the SubTree nodes you do not need, for folders only:

Code: [Select]
<MediaLibraryTree>
    <SubTree label="Folders" type="filesystem"/>
</MediaLibraryTree>



Thank you very much for your reply!
There is one other interesting thing which I observed.
I am accessing foo_upnp with my OPPO BDP-80 and sometimes when I play a track, the sound is distorted and the voices are very deep. Overall I think that the playback is somehow too slow because it sounds like the track is played with half its original speed.
I can solve this problem by stopping and restarting the track (sometimes I have to restart it a couple of times).
I am using ALAC-files and foobar is set to decode ALAC to PCM which is then passed to my OPPO.
Since I am not experiencing such events when I use AssetUPnP, I think that it has something to do with foobar.
Maybe somebody has an idea how to solve this problem.
Thanks in advance!
Best regards!
Title: foo_upnp
Post by: alkasar on 2010-09-20 12:12:25
+1 to display trackinfo with foobarplack stream capture.
these renderers are able to play internet radio streams and show the now playing track info. Maybe possible to use the same "protocol" ?
example1 (KCRW) : http://205.188.234.2/stream/1045 (http://205.188.234.2/stream/1045)
example2 (ouifm) : http://broadcast.infomaniak.net:80/ouifm-high.mp3 (http://broadcast.infomaniak.net:80/ouifm-high.mp3)
Its mp3 in both cases, however they manage tags differently. Example1 is very clean.


This one is interesting to tackle. The protocol in question is the shoutcast metadata protocol. I'll be implementing it to provide dynamic
titles to Playback Stream Capture. When a renderer supports that protocol it puts the special HTTP header "Icy-MetaData:1" in the GET request.
Can you confirm you have this header for the PSC HTTP request ( enabling logging will display HTTP request headers) ?
Usually, dynamic metadata is requested for mp3 streams and I want to confirm if it is requested for PCM streams as well by your renderer.

I'd be happy to test this on my renderers. I have enabled log at ALL level. Started to play a track on one renderer, but can't find any string like PSC , nor icy-metadata, in the (long) log   
What should I do and where look for ?
Title: foo_upnp
Post by: bubbleguuum on 2010-09-20 19:34:22
@alkasar:

With logging set as INFO level, look for something like:

Code: [Select]
GET /content/aa26c86f9c5141d513d27c3063ccb33b.wav?profile_id=1&convert=wav&samplerate=44100 HTTP/1.1
Host: 192.168.1.100:56923
Range: bytes=44-
Connection: close
User-Agent: foobar2000/1.0.3
Accept: */*
Icy-MetaData: 1


If you get the  Icy-MetaData header, all is good and the renderer request dynamic shoutcast titles for the stream.
I suspect you might get this header when streaming PSC as MP3, but not as WAV or LPCM  (above, the request is from a foobar2000 client which
always support shoutcast metadata)

EDIT: also try setting PSC to LPCM. It is possible the renderer put the magic header only for infinite streams (which WAV is not).
Title: foo_upnp
Post by: bubbleguuum on 2010-09-20 19:38:00
Thank you very much for your reply!
There is one other interesting thing which I observed.
I am accessing foo_upnp with my OPPO BDP-80 and sometimes when I play a track, the sound is distorted and the voices are very deep. Overall I think that the playback is somehow too slow because it sounds like the track is played with half its original speed.
I can solve this problem by stopping and restarting the track (sometimes I have to restart it a couple of times).
I am using ALAC-files and foobar is set to decode ALAC to PCM which is then passed to my OPPO.
Since I am not experiencing such events when I use AssetUPnP, I think that it has something to do with foobar.


are your ALAC files regular 44.1Khz / stereo / 16 bits ?
The OPPO with some firmware versions has problem with multichannel audio.

Title: foo_upnp
Post by: alkasar on 2010-09-20 20:05:28
@alkasar:

With logging set as INFO level, look for something like:

Code: [Select]
GET /content/aa26c86f9c5141d513d27c3063ccb33b.wav?profile_id=1&convert=wav&samplerate=44100 HTTP/1.1
Host: 192.168.1.100:56923
Range: bytes=44-
Connection: close
User-Agent: foobar2000/1.0.3
Accept: */*
Icy-MetaData: 1


If you get the Icy-MetaData header, all is good and the renderer request dynamic shoutcast titles for the stream.
I suspect you might get this header when streaming PSC as MP3, but not as WAV or LPCM  (above, the request is from a foobar2000 client which
always support shoutcast metadata)

EDIT: also try setting PSC to LPCM. It is possible the renderer put the magic header only for infinite streams (which WAV is not).

when streaming PSC (Playback Stream Capture ! it took me quite a while to figure out the acronym ) in mp3 to my Philips Streamium renderer, I have this
Quote
GET /content/aa26c86f9c5141d513d27c3063ccb33b.mp3?profile_id=0&convert=mp3 HTTP/1.1
Host: 192.168.0.4:56923
Connection: close
User-Agent: Allegro-Software-WebClient/4.64 DLNADOC/1.00
Accept: */*


when streaming LPCM
Quote
GET /content/aa26c86f9c5141d513d27c3063ccb33b.l16?profile_id=0&convert=lpcm&samplerate=44100 HTTP/1.1
Host: 192.168.0.4:56923
Connection: close
User-Agent: Allegro-Software-WebClient/4.64 DLNADOC/1.00
Accept: */*


no Icy-metadata

edit : with the other renderer (Freecom musicpal)
Quote
GET /content/aa26c86f9c5141d513d27c3063ccb33b.l16?profile_id=0&convert=lpcm&samplerate=44100 HTTP/1.1
Accept: */*
Host: 192.168.0.4:56923
Connection: Keep-Alive
User-Agent: pvConnect DLNADOC/1.50
transferMode.dlna.org: Streaming
Title: foo_upnp
Post by: Gapkiller on 2010-09-20 22:14:21
I want to use foo_upnp to serve my library to my Samsung (LE40C650) TV.
Streaming with Win 7 and/or Samsung share manager works just fine.
The TV can "see" foobar2000 but is not able to show me any contents.

Quote
I suspect  there is a possible regression with 0.99.29 and some DLNA TVs.
Can you try 0.99.28 (http://bubbleguuum.free.fr/foo_upnp/0.99.28/foo_upnp.dll) ?

Unfortunately 0.99.28 doesn't work. My TV always prompts me the same message.
Something like:"Unable to handle request, mediaplayer now returns to the main screen".

Do you want some more info, for example the console output or the hardware i'm using?
Title: foo_upnp
Post by: nosurrender on 2010-09-21 08:46:25
are your ALAC files regular 44.1Khz / stereo / 16 bits ?
The OPPO with some firmware versions has problem with multichannel audio.


Yes, they are regular 44,1/16bit files which were ripped directly from the CD.
Kind regards!
Title: foo_upnp
Post by: kompot on 2010-09-21 22:06:36
Thanks for this wonderful plugin, makes life a lot more pleasant ;)

And some... bug (or may be a feature).
I've been moving some files from external folder to media library. And found out that recently moved files can not be found in upnp search (or in the upnp media library tree - I guess they use the same source). But those files are perfectly searchable using regular foobar media library search. Restarting foobar resolved the issue - all the new files are in upnp search too (I guess I could just restart upnp server).

It would be great if upnp library syncs automatically with foobar main library.
Title: foo_upnp
Post by: MaybeWilllWork on 2010-09-22 08:04:55
Hello, this is a UI question on the UPnP browser.

I am occasionally using Foobar as a controller for NaimUniti.
My UPnP server is Twonky.
Music is stored on Twonky, Foobar is on the laptop.
I have set up the display of library tree on Twonky to use "Folders".
In Foobar, I browse the tree of folders and select what to play on the NaimUniti.

The original structure is like that:

Music (folder)
- Classical (folder)
-- Beethoven (folder)
---Symphonie No1(folder)
----Track1 (file)

In Foobar UPnP browser, we can browse all the folders, but then on the last folder "Symphonie No1", the content (files) are displayed in the "UPnP Browser selection".

So when I click on the last folder, the system activate the UPnP Browser selection and it is not anymore possible to see to see the content of the UPnP Controller Playback Queue.

But ideally I would like to be able to see SIMULTANEOUSLY SIDE BY SIDE

1- the tree of folders (UPnP browser)
2- the list of available tracks on the UPnP server in the highlighted folder (currently displayed in UPnP browser selection)
3- the content of UPnP controller Playback queue

To my understanding, it is not possible to see both 2 and 3 as they are both "playlist" and only one can be active at a time.

Maybe one possible enhancement would consist in allowing in the UPnP browser the same behavior as in the "Album List".
In the "Album List", when choosing the View "by folder structure" the system displays both FOLDER and FILES in the tree.
The files are displayed under the last folder, as part of the tree. In the "Album List", files are displayed as base elements of the tree.
If that was possible in the UPnP browser, then we could easily navigate the UPnP Server tree, see the available tracks to pick from and also keep the UPnP Controller Playback queue active and visible.
I believe such feature would greatly improve ease of use.

But maybe I am missing a possible solution in the current design?

Thanks a lot for sharing your component.
Best regards,

Title: foo_upnp
Post by: bubbleguuum on 2010-09-22 08:52:26
It would be great if upnp library syncs automatically with foobar main library.


As you noticed the server's ML content is construct on launch and is static after that (except for playlists that are loaded on first browse).
Maybe for search it could use the current content of the ML, but for the browse tree to be current (and to notify changes to the browsing client of modifications) it is possible but quite complicated. I'll see if I can handle search.
Title: foo_upnp
Post by: bubbleguuum on 2010-09-22 09:00:20
Maybe one possible enhancement would consist in allowing in the UPnP browser the same behavior as in the "Album List".
In the "Album List", when choosing the View "by folder structure" the system displays both FOLDER and FILES in the tree.
The files are displayed under the last folder, as part of the tree. In the "Album List", files are displayed as base elements of the tree.
If that was possible in the UPnP browser, then we could easily navigate the UPnP Server tree, see the available tracks to pick from and also keep the UPnP Controller Playback queue active and visible.
I believe such feature would greatly improve ease of use.
But maybe I am missing a possible solution in the current design?


The Browser puts tracks in a playlist because it was designed before the Controller. At the time it was meant to present the tracks for playing in foobar2000.
If I had to do it again I would do it as you describe, in the style of the Album List. Maybe I'll make the modification eventually as indeed it would improve usability paired with the Controller. In the meantime, there is a work around: You can Drag'n'Drop a Browser node containing tracks to the Controller. Normal D'n'D play tracks immediately and SHIFT + Drag enqueue them in the Controller Playlist (or maybe it is CTRL + Drag I don't remember). You can also D'n'D tracks on the Controller from any playlist or even from Explorer.
Another possibility is to bind the Browser's right click action to "Add to Current Playlist". It will do just that, if you have the Controller Playlist active while browsing.
Title: foo_upnp
Post by: Tom_W on 2010-09-22 10:37:36
Quote
(Tom_W @ Sep 17 2010, 15:14)
Currently I am not able to use the shortcut alphabetical letter search when browsing my Foobar library (this is done from the remote control)
Also, would it be possible to have a specific Uniti profile in the UPnP preferences? That would be useful.
Quote
QUOTE (bubbleguuum @ Sep 19 2010, 23:30) The items in the server tree are returned alphabetically sorted already. How do the Unity present the server's music ? Does it present the server's tree
as it is ? Also it could be useful if you tell what you were browsing (albums, artists, ...).


Hi Bubbleguum,
I think need to investigate this behaviour in more depth as i'm not sure the alphabetical letter search behaviour is consistently failing. There is a NaimUniti v3 firmware update coming at the end of Sept, so that may solve some issues. I will then check whether I can recreate this issue on all browse nodes (albums, artists, ... etc.).
I should also note that there is a difference in behaviour between some commands issued from the remote, compared from those entered on the Uniti keypad - e.g. 'stop'. I will look into this in more detail after the firmware update.

The Uniti presents the server's media library in a tree structure, as configured in the XML tree. So I can browse by album, genre, artist,codec etc. It appears the same as when I view my library using the UPnP browser on another PC.
I have modified the XML file to suit the Uniti's small screen interface, and to make it more intuitive (in my opinion!). This has actually been one of the biggest improvements to the usability of my system.
Title: foo_upnp
Post by: kompot on 2010-09-22 10:43:22
As you noticed the server's ML content is construct on launch and is static after that (except for playlists that are loaded on first browse).


may be there could be made some manual semi-hacking trick to make library refresh (for example - some specific search request (smth like '%update library%') will make global library refresh or server restart)
Title: foo_upnp
Post by: pdf on 2010-09-22 15:24:15
in the meantime you may want to access the server from the Internet not using your VPN (ie using its public IP).
Thanks, I know about this, but unfortunately I can't use it this way on my phone (using Pocket Player) since it does not allow me to manually specify a UPnP server.
Well, I might try to route the client requests through some kind of proxy to change the user agent header if I'm getting really desperate
Title: foo_upnp
Post by: kopf on 2010-09-30 10:25:11
Is there a way to make the media library tree non-case sensitive? At the moment, it's like: http://screencast.com/t/MzU0N2QzMGM (http://screencast.com/t/MzU0N2QzMGM) (check the last 2 entries)
Title: foo_upnp
Post by: StriderGT on 2010-10-05 16:39:57
I do not know if my question has already been answered, but I could not find this specific setup, if it has just point me to the correct link.

How can I setup 3 different streaming profiles using just PlugPlayer?

1. PlugPlayer using local network (WIFI) > PlugPlayer Media Renderer
2. PlugPlayer using internet access > PlugPlayer Media Renderer
3. PlugPlayer using local network (WIFI) > Foobar2k Media Renderer

How can I differentiate these three profiles using:
use profile when: User-Agent (can I alter User-Agent with something else that would do the job?)
contain:...
Title: foo_upnp
Post by: bubbleguuum on 2010-10-05 20:07:29
Is there a way to make the media library tree non-case sensitive? At the moment, it's like: http://screencast.com/t/MzU0N2QzMGM (http://screencast.com/t/MzU0N2QzMGM) (check the last 2 entries)


Not really. I suggest you fix case in your tags instead. or as a workaround you can use $lower() on %artist% in the tree definition found in foo_upnp_ml_tree.xml, but this is not probably what you want...


I do not know if my question has already been answered, but I could not find this specific setup, if it has just point me to the correct link.

How can I setup 3 different streaming profiles using just PlugPlayer?

1. PlugPlayer using local network (WIFI) > PlugPlayer Media Renderer
2. PlugPlayer using internet access > PlugPlayer Media Renderer
3. PlugPlayer using local network (WIFI) > Foobar2k Media Renderer

How can I differentiate these three profiles using:
use profile when: User-Agent (can I alter User-Agent with something else that would do the job?)
contain:...


This is a complicated issue not totally addressed by profiles.

You can make the distinction between 1 and 2 using the single PlugPlayer profile. For 2. assuming you want to transcode all lossless files to mp3:
in the PlugPlayer profile, in the  "Transcoding to mp3" section
- set transcode to never
- tick  "lossless" and "and internet connection" check boxes.
- leave the "except extension" field blank (or add some exceptions).


It's unfortunately not possible to make the distinction between 1. and 3., because when PP makes the browse request (returning streaming URLs), there's no way for the plugin to know it is for playing to the PP media renderer or for the fb2k renderer. Usually other Media Server that do not have profiles just expose a list of streaming URLs (with different audio formats) and let the Control Point choose one to play on the renderer based on what the renderer claim to support. More often than not, Control Points will make a poor decision (for example streaming the first supported format instead of the format with the highest quality, or just the first streaming URL).
Streaming profiles do not work in the case of a Control Point playing to different renderers. It can work if you  find common settings between all your renderers but it is less than ideal (you make the profile for the lowest common denominator).
I've been thinking of replacing them with something better  but if I ever do it, it will be a lot of work. Basically you'd have a virtual Media Server for each renderer you want to manage. Each virtual server's conf would contain what is actually in a streaming profile + more stuff (custom browse tree, ...).





Title: foo_upnp
Post by: StriderGT on 2010-10-06 23:55:02
This is a complicated issue not totally addressed by profiles.

You can make the distinction between 1 and 2 using the single PlugPlayer profile. For 2. assuming you want to transcode all lossless files to mp3:
in the PlugPlayer profile, in the  "Transcoding to mp3" section
- set transcode to never
- tick  "lossless" and "and internet connection" check boxes.
- leave the "except extension" field blank (or add some exceptions).


Thanks a lot for your answer, I followed your instructions and basically created a PP profile that would address scenarios 2 and 3, leaving me with some format incompatibilities in scenario 1, which is not so critical to me.

Quote
It's unfortunately not possible to make the distinction between 1. and 3., because when PP makes the browse request (returning streaming URLs), there's no way for the plugin to know it is for playing to the PP media renderer or for the fb2k renderer. Usually other Media Server that do not have profiles just expose a list of streaming URLs (with different audio formats) and let the Control Point choose one to play on the renderer based on what the renderer claim to support. More often than not, Control Points will make a poor decision (for example streaming the first supported format instead of the format with the highest quality, or just the first streaming URL).
Streaming profiles do not work in the case of a Control Point playing to different renderers. It can work if you  find common settings between all your renderers but it is less than ideal (you make the profile for the lowest common denominator).
I've been thinking of replacing them with something better  but if I ever do it, it will be a lot of work. Basically you'd have a virtual Media Server for each renderer you want to manage. Each virtual server's conf would contain what is actually in a streaming profile + more stuff (custom browse tree, ...).


It sounds a bit like a workaround but would it be difficult to pass some kind of profile string from PP (or any other CP) each time it connects to the server? It needs to be supported from the CP, which makes it more of a PP feature.
Title: foo_upnp
Post by: acmodeu on 2010-10-09 21:58:35
For some reason streaming doesn't work when plugin transcodes to 320 with cbr checkbox ticked. This also happens with 128, 160, 192 & 256 kbps bitrate no matter if cbr checkbox is ticked or not. And I couldn't make it work any vbr setting.
Title: foo_upnp
Post by: acmodeu on 2010-10-09 22:00:39
Does this plugin support tagging thru streaming?
Title: foo_upnp
Post by: gianluca_f on 2010-10-14 22:52:09
Hi I run Plugplayer on an iPad using a PC with foobar and asio. Every file (flac,wv,ape) is converted to PCM and Files from 24/96 to 24/192 are downsized to 24/48. how can I avoid this during playback?
Thanks for your help
Gianluca
Title: foo_upnp
Post by: Gapkiller on 2010-10-15 22:36:29
Hi bubbleguuum,

is there any way to customize the colors and fonts of the "columns ui - upnp browser panel"?
If not i would be very thankful if you would implement such a feature cause I'm browsing
on my htpc and would like to see what I'm about to stream :-).
Title: foo_upnp
Post by: exhu83 on 2010-10-17 12:18:37
Hello all,

First thanks for this plugin !  I managed to use foobar2k on my laptop, and playing mp3 via upnp controller on my Popcorn Hour 110 unit

I didn't achieve though to play Flac files ..  I read the whole topic and i saw a lot of people speak about flac, and managed to play flac files but not sure if they are using the plugin the way i want to..

So just to make sure :

-> my flac and mp3 files are stored on my NAS
-> Foobar2k is installed on my laptop
-> I want to use the "Upnp controller, play on PCH-110" feature to play the flacs file direclty on my Popcorn, with TV off, so managing all the playback from the laptop and just send music to the PCH.

With mp3 files, i have no issue at all, it works great. But with flac, nothing happen when i try, upnp controller just sits there, doing nothing, my PCH stay quiet

I tried a lot of different options in the Upnp preferences tab, but didn't succeed.. 

Did someone managed to do that already ?
Title: foo_upnp
Post by: bubbleguuum on 2010-10-17 13:09:30
Hi I run Plugplayer on an iPad using a PC with foobar and asio. Every file (flac,wv,ape) is converted to PCM and Files from 24/96 to 24/192 are downsized to 24/48. how can I avoid this during playback?


Alerady answered privately but the solution was to copy the foobar2000 profile settings to the PlugPlayer profile. The stock PlugPlayer streaming profile is for playing audio on the iOS device, limited to 48kHz max.



Hi bubbleguuum,

is there any way to customize the colors and fonts of the "columns ui - upnp browser panel"?
If not i would be very thankful if you would implement such a feature cause I'm browsing
on my htpc and would like to see what I'm about to stream :-).


Colors are not configurable for the CUI panel. However the DUI panel honours global configured colors (and fonts).



With mp3 files, i have no issue at all, it works great. But with flac, nothing happen when i try, upnp controller just sits there, doing nothing, my PCH stay quiet


Since your files are from the NAS, the server part of the plugin (streaming profiles) is not used at all.
I suggest you record a log as explained in the first post of this topic and post it here. It will allow to check if there is not a problem
with the streaming URL (returned by your NAS), or another potential issue with the Controller.

Title: foo_upnp
Post by: bubbleguuum on 2010-10-17 13:14:49
For some reason streaming doesn't work when plugin transcodes to 320 with cbr checkbox ticked. This also happens with 128, 160, 192 & 256 kbps bitrate no matter if cbr checkbox is ticked or not. And I couldn't make it work any vbr setting.


More info is required: streaming to which device and using which Control Point (foobar2000, the device itself, ...).
Title: foo_upnp
Post by: exhu83 on 2010-10-17 14:58:40
Hi bubblegum,

I copied my upnp log file on paste bin : http://pastebin.org/254728 (http://pastebin.org/254728)

I tried to launch a mp3, then 3 time the same flac.

Thanks in advance for your help !

EDIT : new URL with finest log and only one flac tried : http://pastebin.org/254924 (http://pastebin.org/254924)
Title: foo_upnp
Post by: bubbleguuum on 2010-10-17 15:52:04
Hi bubblegum,

I copied my upnp log file on paste bin : http://pastebin.org/254728 (http://pastebin.org/254728)

I tried to launch a mp3, then 3 time the same flac.

Thanks in advance for your help !

EDIT : new URL with finest log and only one flac tried : http://pastebin.org/254924 (http://pastebin.org/254924)


I thought you were using a NAS as an UPnP server but it looks like you use it just for file sharing. So indeed the Server part of foo_upn is used.
The PCH answer an HTTP error when told the FLAC url. After some research it looks like it might expect mime-type audio/flac instead of audio/x-flac sent by the server.
Or maybe that it can only play ogg-flac.
You can still play your FLAC decoded as WAV or LPCM. Mofidy the Default streaming profile to convert FLAC as WAV or LPCM (In the Decode to PCM section, in the list of exception extensions, you may have to remove "flac" if you use the "always" rule, or to add the flac extension if you you use the "never" rule).


Title: foo_upnp
Post by: exhu83 on 2010-10-17 16:14:45
Hmm still nothing :/ I tried both decoding flac as WAV or LPCM (putting always and removed flac from the exception list, transcoding mp3 on never and unchecked lossless and internet connection boxes).

In the log, it seems to try to convert to wav, it's weird that it's not working... http://pastebin.org/255839 (http://pastebin.org/255839)

The PCH can read flac with no issue if i read directlty from it, I don't understand why it's not working.
Title: foo_upnp
Post by: bubbleguuum on 2010-10-17 16:20:31
Hmm still nothing :/ I tried both decoding flac as WAV or LPCM (putting always and removed flac from the exception list, transcoding mp3 on never and unchecked lossless and internet connection boxes).

In the log, it seems to try to convert to wav, it's weird that it's not working... http://pastebin.org/255839 (http://pastebin.org/255839)

The PCH can read flac with no issue if i read directlty from it, I don't understand why it's not working.



Strange indeed. Still the same HTTP error (Internal error) as if the PCH was in a broken state. What happen if you try to play a MP3 after failing to play a FLAC ? do the mp3 play ?  Does it help to reboot the PCH ?

EDIT: check that you installed the latest firmware available on your PCH (if any).
Title: foo_upnp
Post by: exhu83 on 2010-10-17 16:25:11
It does not hang the PCH, I can read mp3 file afterwhile with no issues.

I found this on another forum :

"I haven't used twonky, but my guess is that you'll have to configure it to lie to the PCH a little bit to get the PCH to play flac files over UPnP, because the problems seem to lie in the PCH implementation of UPnP as this problem is common across multiple servers.

Try following the tips above, namely (1) identify the flac files as having a mime type that the PCH recognizes, such as audio/x-ogg, and (2) make them visible to the PCH with an extension it supports for UPnP, such as .ogg ."

This tip is supposed to work, but I don't know how to identify flac as audio/x-ogg. Is it something I can configure in your plugin or it's somewhere else I need to do that ? (I'm not a pro lol)
Title: foo_upnp
Post by: gfxnow on 2010-10-18 05:51:32
I have the latest version (1.1) of foobar and the official ALAC component. I am unable to stream my ALAC albums to my xbox360. FLACs are working without issue.
Title: foo_upnp
Post by: gfxnow on 2010-10-18 19:18:56
Nevermind. Just had to remove M4A from the "Decoding to PCM" exceptions.
Title: foo_upnp
Post by: smokmilus on 2010-10-18 23:47:24
Another exception here 

59.701: NPT_HttpRequest::Parse(616)/5108: FINE: NPT_CHECK failed, result=-1 (FAILURE) [(stream.ReadLine(line, NPT_HTTP_PROTOCOL_MAX_LINE_LENGTH))]
59.701: PLT_HttpServerSocketTask::Read(216)/5108: WARNING: NPT_CHECK failed, result=-1 (FAILURE) [(res)]

with the latest version of the plugin. Any chance to debug it and find what's wrong?

Cheers.
Title: foo_upnp
Post by: Sixth Street on 2010-10-19 01:15:51
I also can't transcode my FLACs to mp3, using plugplayer (latest version) on iPhone 4.

I've tried 4 different play methods:

1. Play FLAC file over local wifi - works
2. Play FLAC file over 3G - doesn't work (probably due to bandwidth) and don't care (actually, kind of works with major buffering issues, so definitely bandwidth)
3. Play transcoded FLAC over local wifi - doesn't work
4. Play transcoded FLAC over 3G - doesn't work

As far as transcoding profiles, I've tried VBR 0 and 2, and CBR 192 and 160.  I'm using the playplayer streaming profile.

I've uploaded my log file here:

http://pastebin.com/CaRv7y20 (http://pastebin.com/CaRv7y20)
Title: foo_upnp
Post by: poresis on 2010-10-19 12:25:56
Hello, I am a supporter of foo_upnp server because it is the only one that allows me to make the correction directly from the server via the DRC DSP convolver.
So I offer my congratulations to bubbleguuum.
I write because I wanted information about the upnp server profiles.
I want to know what it means User-agent field.
I thought he was referring to the type of player. however I noticed that if I use Plugplayer as control the server takes plugplayer settings and makes a transcoding WAV to MP3. For this I am forced to activate the defoult profile.
I think this is a problem for anyone using Plugplayer as a control for foobar and do not know this  transcoding setting.
Could you clarify to me what  daes profiles means and user-agent field
Don't you think it is a mistake that the server takes the control point profile?

Thanks

Raffaele
Title: foo_upnp
Post by: exhu83 on 2010-10-23 11:05:53
It does not hang the PCH, I can read mp3 file afterwhile with no issues.

I found this on another forum :

"I haven't used twonky, but my guess is that you'll have to configure it to lie to the PCH a little bit to get the PCH to play flac files over UPnP, because the problems seem to lie in the PCH implementation of UPnP as this problem is common across multiple servers.

Try following the tips above, namely (1) identify the flac files as having a mime type that the PCH recognizes, such as audio/x-ogg, and (2) make them visible to the PCH with an extension it supports for UPnP, such as .ogg ."

This tip is supposed to work, but I don't know how to identify flac as audio/x-ogg. Is it something I can configure in your plugin or it's somewhere else I need to do that ? (I'm not a pro lol)


No clues on how doing this ?
Title: foo_upnp
Post by: RainbowDemon on 2010-10-25 12:44:53
Hi!
I have a problem with playing WAV/LPCM on my Sony BDV-E970W.

When I try to play a file from USB, or DVD - everything is OK, and file format, recognized by Sony is "WAV".
But when I add the same file to foobar playlist, I can't play it on Sony.
If I choose in "Decoding to PCM" or in "Playback Stream Capture" wav format, playlist is empty.
And when I choose lpcm format, I see track, recognized as "LPCM" by Sony, but Sony fails with the message that file is corrupted or unsupported.

I suppose that it may be becuase Sony supports mime-type audio/l16, but doesn't support audio/wav.
And I couldn't find in plugin configuration mime-types setup.
Title: foo_upnp
Post by: RainbowDemon on 2010-10-26 17:41:32
I tried to playback wav files via DLNA and I found, that everything plays OK
if DLNA name is "MP3" even for uncompressed files, while mime-type doesn't matter.

Can you please add possibility to specify DLNA.ORG_PN which will help to fix this problem.
Thank you in advance.
Title: foo_upnp
Post by: bubbleguuum on 2010-10-27 19:09:34
I think this is a problem for anyone using Plugplayer as a control for foobar and do not know this  transcoding setting.

This is a problem indeed.
The User-Agent is the http User-Agent field used by the browsing device. They are displayed in the log with INFO level.
A profile is matched for a browsing device if the the string specified for User-Agent is a substring of the User-Agent of the browsing device


Quote
Don't you think it is a mistake that the server takes the control point profile?


In a sense it is, but it's either that or no profile at all (or a single profile). It works well when the browsing device is also the playing device (PS3, x360, iPhone, ...).
If you want to use a Control Point that is not the playing device you probably have to force the use the default profile and configure it for the lowest common denominator of all your renderers. Or you could run multiple instance of foobar2000 each with its own server and pick the right one with PlugPlayer.

see that post (http://www.hydrogenaudio.org/forums/index.php?showtopic=69664&view=findpost&p=725629) for more details on this issue

The solution to that issue would be to replace profile with virtual servers (one per profile)  but I'll probably won't do it. Too much work.

Title: foo_upnp
Post by: bubbleguuum on 2010-10-27 19:10:42
No clues on how doing this ?


It's not possible to change the mime-types, and I'm not even sure that is the problem....
Title: foo_upnp
Post by: bubbleguuum on 2010-10-27 19:12:11
I tried to playback wav files via DLNA and I found, that everything plays OK
if DLNA name is "MP3" even for uncompressed files, while mime-type doesn't matter.

Can you please add possibility to specify DLNA.ORG_PN which will help to fix this problem.
Thank you in advance.



I do not understand the exact problem and what you did. WAV is not a DLNA type (while LPCM is).
That doesn't mean the TV is not able to play it though.
Usually on DLNA device it is better to use LPCM as its support is mandatory.
Title: foo_upnp
Post by: RainbowDemon on 2010-10-28 07:07:35
I do not understand the exact problem and what you did. WAV is not a DLNA type (while LPCM is).
That doesn't mean the TV is not able to play it though.
Usually on DLNA device it is better to use LPCM as its support is mandatory.


The problem is that my Sony Blu-Ray player fails to play wav files if their DLNA type is LPCM.
But if I set DLNA type of .wav filest to MP3 (using some other UPnP server), Sony plays them without any problem.
May be it is a firmware bug of Sony as my player is rather new and it will be fixed later,
but it will be convinient if I could set DLNA type for files myself in configuration.
Title: foo_upnp
Post by: andrewfg on 2010-10-31 12:21:40
Hi bubblegum,

I am the author of Whitebear media server (more info here) (http://www.whitebear.ch/mediaserver) and I find that foo_upnp is unable to play music streams served by Whitebear.
The following is the log from Foobar when you try to play a file from Whitebear:

Code: [Select]
Opening track for playback: "http://192.168.1.37:31415/music?track_id=16;tgt_fmt=l16"
Could not read info (Unsupported format or corrupted file) from: "http://192.168.1.37:31415/music?track_id=16;tgt_fmt=l16"
Unable to open item for playback (Unsupported format or corrupted file):
"http://192.168.1.37:31415/music?track_id=16;tgt_fmt=l16"

The following is a capture of the HTTP transaction between Foobar and Whitebear:

Code: [Select]
**** 12:44:54:550 -- Whitebear Media Server:  Request ****
GET /music?track_id=16;tgt_fmt=l16 HTTP/1.1
Host: 192.168.1.37:31415
Connection: close
User-Agent: foobar2000/1.1
Accept: */*
Icy-MetaData:1

**** 12:44:54:825 -- Whitebear Media Server:  Response ****
HTTP/1.1 200 OK
Connection: close
Content-Type: audio/l16
contentFeatures.dlna.org: DLNA.ORG_PN=LPCM
TransferMode.dlna.org: Streaming
Accept-Ranges: none
Server: Andrew Fiddian-Green/1.0, UPnP/1.0, Whitebear Media Server/2.0

>> Connection broken by Foobar after 1'212'416 bytes have been sent

Foobar breaks the connection after about 1 megabytes have been sent. Whereas by contrast, when I play the exact same file in Windows Media Player all 42'366'576 bytes are downloaded, and the file plays fine.
As you can see, I am streaming the file in 16 bit LPCM format (big endian) with 44.1kHz sample rate and 2 channels; this plays fine on other renderers (such as WMP 12), so it is not at all clear why Foobar doesn't like it.

Question: can you please advise why your plugin is not accepting such streams?

{PPS by the way, when you use Foobar as a control point to play a file from Whitebear to (say) WMP then the file is played correctly..}

Regards,
AndrewFG
Title: foo_upnp
Post by: andrewfg on 2010-10-31 14:09:23
that foo_upnp is unable to play music streams served by Whitebear.

Just thinking about it more, I suppose that the problem may not be in the foo_upnp plugin, but rather in Foobar itself. I just tried Foobar's File Add location function, and it returns the same error.
Title: foo_upnp
Post by: bubbleguuum on 2010-11-01 21:07:06
that foo_upnp is unable to play music streams served by Whitebear.

Just thinking about it more, I suppose that the problem may not be in the foo_upnp plugin, but rather in Foobar itself. I just tried Foobar's File Add location function, and it returns the same error.



It's indeed foobar http decoder at work here. For LPCM its expects a Content-Type header of the form.

Code: [Select]
audio/L16;rate=<samplerate>;channels=<channel count>


Title: foo_upnp
Post by: akispavlopoulos on 2010-11-01 23:21:26
Hi!

I have the same problem as another user some pages before:

I want to use foo_upnp to serve my library to my Samsung LE40B650 TV.
Streaming with Win 7 and/or Samsung share manager works just fine.
The TV can "see" foobar2000 but is not able to show me any contents.
When I select for example "playlists" the TV always prompts me the same message: "Unable to handle request, mediaplayer now returns to the main screen". Also when I use UPnP controler, his color is grey but I can control the volume of the TV( if I play a file from Win7).

I tried 0.99.28  but nothing happens? Any ideas?
(Also when I drag n drop a file on the controler ,on only 0.99.28 it says: "SetAVTransportURI Error:Resourse not found (716)"
Title: foo_upnp
Post by: andrewfg on 2010-11-02 07:25:57
It's indeed foobar http decoder at work here. For LPCM its expects a Content-Type header of the form.

Code: [Select]
audio/L16;rate=<samplerate>;channels=<channel count>

Thanks for the help. I will try that out, and report back.

As a matter of interest: according to my understanding the correct mime-type is audio/l16 (small "l") rather than audio/L16 (big "L"); do you know if Foobar is clever enough to accept both alternatives?

Regards,
AndrewFG
Title: foo_upnp
Post by: bubbleguuum on 2010-11-02 09:37:01
As a matter of interest: according to my understanding the correct mime-type is audio/l16 (small "l") rather than audio/L16 (big "L"); do you know if Foobar is clever enough to accept both alternatives?


According to the RFC (http://tools.ietf.org/html/rfc2586) it is audio/L16. Most Media Servers (including WMP) use audio/L16 in their protocol info string so you can safely use that.

Title: foo_upnp
Post by: andrewfg on 2010-11-02 10:22:58
According to the RFC (http://tools.ietf.org/html/rfc2586) it is audio/L16. Most Media Servers (including WMP) use audio/L16 in their protocol info string so you can safely use that.

Weell. The RFC talks about "Audio/L16" with  large "A" and large "L". And the large "A" is surely wrong...
Title: foo_upnp
Post by: bubbleguuum on 2010-11-02 10:27:31
According to the RFC (http://tools.ietf.org/html/rfc2586) it is audio/L16. Most Media Servers (including WMP) use audio/L16 in their protocol info string so you can safely use that.

Weell. The RFC talks about "Audio/L16" with  large "A" and large "L". And the large "A" is surely wrong...



True...according to another RFC, mime-types in a Content-Type header are not case sensitive. So AuDiO/l16 is valid .
Title: foo_upnp
Post by: andrewfg on 2010-11-02 13:40:27
True...according to another RFC, mime-types in a Content-Type header are not case sensitive. So AuDiO/l16 is valid

Apropos valid mime types:  I wonder if there is an accepted "standard" way for servers to offer those common audio mimetypes which are not actually standardised (in the sense of having an official accepted RFC). By convention, non standardised mime types have an x- prefix. So my question is whether my server should offer the mime type with x- prefix or without?

Code: [Select]
audio/aac    audio/x-aac
audio/ac3    audio/x-ac3
audio/aiff    audio/x-aiff
audio/flac     audio/x-flac
audio/m4a    audio/x-m4a
audio/mp3    audio/x-mp3
audio/mpeg    audio/x-mpeg
audio/wav    audio/x-wav

audio/x-ms-wma
audio/x-ms-wmv

Regards,
AndrewFG
Title: foo_upnp
Post by: thecircusfreak on 2010-11-10 00:38:33
The %<.......>% notation seems broken, at least this simple xml doesn't work:

Code: [Select]
<MediaLibraryTree>
    <SubTree label="Artists">
        <spec type="object.container.person.musicArtist">%<album artist>%</spec>
        <spec type="object.container.album.musicAlbum">%album%</spec>
    </SubTree>    
</MediaLibraryTree>


Also It would be good to show a warning in the  console when it fails to parse the  xml file and fallbacks to its internal default.
Fabulous work bubblegum, thank you very much for your plugins.
Title: foo_upnp
Post by: Yirkha on 2010-11-10 15:59:50
I don't know if the %<blah>% format is supported by foo_upnp at all, but what you have pasted is definitely not a valid XML.
You ought to write [font= "Courier New"]<spec ...>%&lt;album artist%gt;%</spec>[/font] etc.
Title: foo_upnp
Post by: bubbleguuum on 2010-11-10 16:14:38
I don't know if the %<blah>% format is supported by foo_upnp at all, but what you have pasted is definitely not a valid XML.
You ought to write <spec ...>%&lt;album artist%gt;%</spec> etc.



Indeed, that's the correct way to specify %<blah>%.
Title: foo_upnp
Post by: thecircusfreak on 2010-11-11 01:02:48
you're of course right, thank you both!!
Title: foo_upnp
Post by: thecircusfreak on 2010-11-11 22:47:47
hmm, with the  above corrected xml tree, UPNP Browser seems to miss most node entries.

The Artists node is about 30 entries long instead of about 500. WMP shows them correctly, so I guess sth is wrong with UPNP browser?
Any ideas?
Title: foo_upnp
Post by: batagy on 2010-11-11 22:50:02
Hi All!
I'm also checking whether Foobar with the foo_upnp plugin, can control the Squeezebox Server through the using of WhiteBear?

What I'm looking for, is when playing a track in Foobar's playlist, it would not using the soundcard in the PC, but instead, it would control the SqueezeBox Server through the WhiteBear, effectively controlling the Squeezebox Hardver playing itself, so hearing the track on it then.

I know there is an addon for SqueezeServer called WaveIn which can achieve similar functionality but it's not perfect, has a delay, and also it may resample the file.

Is above possible with foo_upnp and WhiteBear?

Thanks a lot!
Title: foo_upnp
Post by: andrewfg on 2010-11-12 09:38:21
I'm also checking whether Foobar with the foo_upnp plugin, can control the Squeezebox Server through the using of WhiteBear?
What I'm looking for, is when playing a track in Foobar's playlist, it would not using the soundcard in the PC, but instead, it would control the SqueezeBox Server through the WhiteBear, effectively controlling the Squeezebox Hardver playing itself, so hearing the track on it then.
Is above possible with foo_upnp and WhiteBear?

Yes.
Title: foo_upnp
Post by: batagy on 2010-11-12 22:38:36
Yes.

Good! 
Now only the bugs should be solved between Foobar and WhiteBear, but I know you're already aware of that. 
Title: foo_upnp
Post by: vassie on 2010-11-13 11:05:35
foo_upnp streams perfectly to my WD TV Live, however, I have a few Various Artists albums which I have tagged the following way:

(http://imgur.com/DBDbi.png)

The WD TV Live uses the Album Artist tag to display the currently playing tracks artist, is there anything I can do from foo_upnp's end to fix this?

Thanks
Title: foo_upnp
Post by: andrewfg on 2010-11-13 18:27:55
Now only the bugs should be solved between Foobar and WhiteBear, but I know you're already aware of that. 

A new version of Whitebear has been released that resolves many issues with Foobar.
Please try it and give me feedback
Title: foo_upnp
Post by: batagy on 2010-11-13 22:52:54
A new version of Whitebear has been released that resolves many issues with Foobar.
Please try it and give me feedback

YES! YES!
Thanks for your work!
Now everything is working properly!!
This new version (2.0.1.1051) fixes the problems!

1. When using Whitebear as Media Server, Foobar with using the "UPnP Browser" function, is playing the files from Whitebear properly!

2. When using Whitebear as Media Renderer, Foobar with using the "UPnP Controller" function, Foobar can control the Squeezebox properly! It works!
I messed approx 2 hours until I figured out how it works. For me, it actually needed these:
- In Foobar UPnP settings, in "Streaming Profiles" I created a new profile. The user-agent contains "Squeezebox".
- In this profile, I set these:
  a) Renderer Capabilites: Can decode HTTP and MMS streams directly checkbox ON.
  b) Decoding to PCM: Never to WAV
  c) Playback Stream Capture: Codec: WAV
- In the Server Basic Settings, the Media Server should be started. The Media Renderer no need to be started.
- It took a while until I figured out the following steps as well. Was not so trivial for me.
  I. First you need to open the "UPnP Controller" in Foobar. It also opens a "UPnP Controller Playback Queue" at the same time.
  II. Then you select "Squeezebox (by Whitebear)" in the UPnP Controller. At this point it resets the "UPnP Controller Playback Queue" so pointless tp put files there before.
  III. Now you put files to the "UPnP Controller Playback Queue".
  IV. Now you can press the second Play button which contains a "C" letter in the Controller. It is the function "Play foobar2000 Playback Stream Capture". Or just select the file from this playlist to play with double click so it plays in Squeezebox.
  V. Also very important to keep the "UPnP Controller" window open always during the playback. If you close this, you lose the control functionality!

For this way FLAC plays in Squeezebox for me from Foobar. I'm not sure that a) setting above needed, but b) and c) settings needed I think, otherwise it didn't work for me. But maybe I missed something. This way the file sent as FLAC direcly to Squeezebox.

So thanks for your work andrewfg indeed!
Title: foo_upnp
Post by: batagy on 2010-11-13 23:12:48
Edited out.
Title: foo_upnp
Post by: andrewfg on 2010-11-14 17:44:46
Quote
YES! YES!
Thanks for your work!
Now everything is working properly!!
This new version (2.0.1.1051) fixes the problems!

I am glad to hear you got it working.

Quote
I messed approx 2 hours until I figured out how it works. For me, it actually needed these:

I don't think you need all of this. For me, it worked perfectly with a normal "out of the box" installation of Foobar. No need to make any settings.

Quote
- In Foobar UPnP settings, in "Streaming Profiles" I created a new profile. The user-agent contains "Squeezebox".
- In this profile, I set these:
  a) Renderer Capabilites: Can decode HTTP and MMS streams directly checkbox ON.
  b) Decoding to PCM: Never to WAV
  c) Playback Stream Capture: Codec: WAV

I'm not sure that a) setting above needed, but b) and c) settings needed I think, otherwise it didn't work for me. But maybe I missed something. This way the file sent as FLAC direcly to Squeezebox.

I don't think you really need such a profile at all. But of the three settings you made, my guess is that a) is the more useful one: this would avoid Foobar doing forced transcoding to PCM if it is not needed (and Squeeze Center can handle most formats itself); but even if Foobar is transcoding to PCM at the Foobar side, the Squeezebox can handle this too, so probably it is just a matter of preference about where you want to do your transcoding. Concerning setting b) I don't really understand that setting, but transcoding to PCM (when needed) is certainly not a bad idea becuase it is the default "raw" format for Squeeze players; (but frankly I don't know the difference between "always to pcm" and "never to wav"). And concerning setting c) I don't know what the captured stream is supposed to be, so I think it's not relevant; (but capture to wav is the default setting anyhow).

Quote
- In the Server Basic Settings, the Media Server should be started. The Media Renderer no need to be started.

The default is for both servers to be running. The Media Server means that Foobar can be a source of music. The Media Renderer means that Foobar can be a sink. The latter is indeed not relevant to Whitebear or Squeeze...

Quote
- It took a while until I figured out the following steps as well. Was not so trivial for me.
  I. First you need to open the "UPnP Controller" in Foobar. It also opens a "UPnP Controller Playback Queue" at the same time.
  II. Then you select "Squeezebox (by Whitebear)" in the UPnP Controller. At this point it resets the "UPnP Controller Playback Queue" so pointless tp put files there before.
  III. Now you put files to the "UPnP Controller Playback Queue".
  IV. Now you can press the second Play button which contains a "C" letter in the Controller. It is the function "Play foobar2000 Playback Stream Capture". Or just select the file from this playlist to play with double click so it plays in Squeezebox.
  V. Also very important to keep the "UPnP Controller" window open always during the playback. If you close this, you lose the control functionality!

I agree. (You need to talk to bubblegum about this). However, the short cut is to select the files in the UPnP Browser Selection and drag them directly to the selected UPnP Controller window. (This adds the files to the UPnP Controller Playback Queue and starts playing the first one). I also do not understand the meaning of the two different Play buttons, but I find that the normal one works fine...

Title: foo_upnp
Post by: andrewfg on 2010-11-14 19:19:10
Perhaps it is worthwhile explaining the various possible inter relationships between UPnP actors.
Basically there are three different types of actor:

DMS = Digital Media Server
DMR = Digital Media Renderer (aka Player)
DMC = Digital Media Controller (aka Control Point)

Whitebear is a DMS and a DMR. Foobar is a DMS, DMR and DMC.

A DMS does two things: i) it offers a "Content Directory" interface that allows you to browse for music albums, tracks etc., and ii) it can serve the respective music items over an HTTP stream.

A DMR also does two things: i) it offers a player control that allows you to command the player (volume, mute, play, pause, stop, select track URL etc.), and ii) it can download and play the selected track URL from an HTTP stream server.

A DMC is a software that can talk either a DMS or a DMR (or both).

A typical transaction process between actors is a three way triangle as follows:

1) the DMC queries the DMS to enable the user to select a track (whose url is on the DMS)
2) the DMC instructs the DMR that it shall prepare to load the respective track url
3) the DMR (HTTP client) connects to the DMS (HTTP server) to download (and play) the track

The intersting thing is the number of possible combinations between DMS, DMC and DMR. For example, just in the case of Foobar and Whitebear alone, there are the following four different combinations (if you involve third party DMS and DMR, the permutations are more-or-less endless):

a) Foobar(NativeLibrary) => Foobar(Browser) => Foobar(NativePlayer)  -- {obviously this is NOT done via UPnP}
b) Whitebear(DMS) => Foobar(Browser + DMC) => Foobar(NativePlayer)
c) Whitebear(DMS) => Foobar(Browser + DMC) => Whitebear(DMR)
d) Foobar(NativeLibrary) => Foobar(Browser + DMS) => Whitebear(DMR)

Process a) is fully native to Foobar. This is none of Whitebear's business. And it works fine.

In process b) Whitebear is responsible for delivering the Content Directory according to UPnP specifications, and for serving the music stream according to HTTP file streaming specifications. This has been tested with various DMCs and renderers (WMP, Foobar, Asset Control, Sony TV, Oppo Blu-Ray, Cidero, Intel, to name a few). This is pretty stable and it works fine.

In process c) Whitebear is responsible for all functions of process b) -- plus it must be able to, as it were, download and play tracks to itself. Actually Whitebear does not really download to itself, but instead it instructs Squeeze Server to play a given Squeeze library track_id on a given Squeeze player_id. In other words this play to itself feature is native to Squeeze Server and has been extensively tested by other elsewhere. So again it works fine.

Process d) is the trickiest one. In this case, when Whitebear tries to play the music, it actually instructs Squeeze Server to download the given remote url stream (from Foobar's DMS HTTP server) and play it on a given Squeeze player_id. This requires the Foobar server to deliver the music to Squeeze Server in a format that Squeeze Server can understand. Apparently there are still some issues here. But I as the author of Whitebear am powerless to do anything (I am neither the author of Foobar nor Squeeze Server, and there is very little influence I can make on them). The previous poster's 2 hours of messing with Foobar was an attempt by him to enable Foobar to satisfy the expectations of Squeeze Server...
Title: foo_upnp
Post by: batagy on 2010-11-14 20:35:33
However, the short cut is to select the files in the UPnP Browser Selection and drag them directly to the selected UPnP Controller window. (This adds the files to the UPnP Controller Playback Queue and starts playing the first one).

Thanks for this dragging tip! It is useful to know!

It's also possible just drag and drop files from local filesystem (not only from UPnP Browser queue) to the UPnP Controller window, this will add the files to the  UPnP Controller Playback Queue and starts playing the first one. This was what I wanted originally.


Perhaps it is worthwhile explaining the various possible inter relationships between UPnP actors.

b) Whitebear(DMS) => Foobar(Browser + DMC) => Foobar(NativePlayer)
c) Whitebear(DMS) => Foobar(Browser + DMC) => Whitebear(DMR)
d) Foobar(NativeLibrary) => Foobar(Browser + DMS) => Whitebear(DMR)

Apparently there are still some issues here.


Yes, it's definitely worth to see these interactions. Indeed a little messy to recognise what is doing what at first.

Am I correct in below short meanings?
b) Means when you play files from a SqueezeServer library, with Foobar on the local PC to the local soundcard.
c) Means when you simply control the Squeezebox from Foobar. The files are at the SqueezeServer library, and the SqueezeBox is the player. I guess this is only useful if the SqueezeServer library is on a remote NAS. If the SqueezeServer library is on the local PC, then it's no point. Because then it's easier to drag local files to the Controller. In that case, case d) coming up.
d) This is when you want to play files from the local PC filesystem, with the SqueezeBox. I think this is the opposite direction to b). Is it rather should be "Foobar(NativeLibrary) => Foobar(DMC + DMS) => Whitebear(DMR)" ?

As for issues, yes, still there are some. For me, sometimes it stops to play in case of d), and occasionally pink noise came from the speakers. Occured a couple of times yet. But at all it's working and it's good!


Hi bubbleguuum!

Could you might clarify the below settings, regarding the case when Foobar controls the SqueezeBox, aka d) case above? Are these settings do anything for this case?
1) Renderer Capabilites: Can decode HTTP and MMS streams directly checkbox.
2) Decoding to PCM: Decode Never/always to WAV/LPCM.
3) Playback Stream Capture: Codec: WAV/LPCM.

Thanks a lot!
Title: foo_upnp
Post by: andrewfg on 2010-11-15 08:21:12
Quote
Am I correct in below short meanings?
b) Means when you play files from a SqueezeServer library, with Foobar on the local PC to the local soundcard.
Correct.
Quote
c) Means when you simply control the Squeezebox from Foobar. The files are at the SqueezeServer library, and the SqueezeBox is the player.
Correct.
Quote
I guess this is only useful if the SqueezeServer library is on a remote NAS. If the SqueezeServer library is on the local PC, then it's no point. Because then it's easier to drag local files to the Controller.
You are correct that there is no point doing this if everything is on the same PC. It applies to the case where you have a separate music server (which can be either a NAS or another PC). For example I have a micro format PC with no screen or keyboard as my music server; it runs Windows XP and has Squeeze Server and Whitebear running full time as Windows services. With this I can use any other UPnP DMC on any other PC in the house to browse the Squeeze Library and "Play To" any Squeeze player in the house or to any other PC soundcard renderer.
Quote
d) This is when you want to play files from the local PC filesystem, with the SqueezeBox. I think this is the opposite direction to b). Is it rather should be "Foobar(NativeLibrary) => Foobar(DMC + DMS) => Whitebear(DMR)" ?
Yes you are correct to say it is the opposite of b). But you are not correct to say that Foobar's DMC is browsing the native Foobar native library; this is actually part of Foobar's normal UI.
Title: foo_upnp
Post by: andrewfg on 2010-11-16 07:37:42
According to the manufacturer http://forums.slimdevices.com/showthread.php?t=83320 (http://forums.slimdevices.com/showthread.php?t=83320) the music stream formats supported by Squeeze Server are:

MP3 (audio/mpeg)
FLAC (audio/x-flac)
AAC/AACplus ADTS (audio/aac, audio/aacp)
Vorbis (audio/x-ogg)
WMA (audio/x-ms-wma)

{ Apparently, surprisingly, not including LPCM or WAV }

So the conclusion is that you need to make settings in Foo_UpnP so it transcodes all other files to one of the above formats.

If you have lossless files in FLAC, you are probably fine without transcoding. But due to the lack of LPCM support, other unsupported lossles formats (e.g. ALAC) could only be downsampled to MP3 (becuase I don't think that Foo_UPnp can transcode ALAC to FLAC on the fly...)

Title: foo_upnp
Post by: vassie on 2010-11-18 14:45:42
Is there any news on "Remote library changes notifications to the client are not implemented."?

I have foobar and foo_upnp on a server under my desk, I have to remember to restart foobar after uploading any music

Thanks
Title: foo_upnp
Post by: Wacky on 2010-11-19 01:50:48
You have a less disruptive option.

Once the songs have been added to Media Library, you only have to stop and start the Media Server under Server > Basic Settings.

I download several podcasts every day and wanted foobar ready to go each morning.  I use foo_scheduler to shut down foobar at 3AM.  I restart foobar using Task Scheduler in Windows to run a type of batch file known as a cmd file.

I want to start foobar in High Priority mode. Create a text file with the following line:

start/high C:\foobar2000\foobar2000.exe

Save the text file as Start Foobar.cmd

Set up Task Scheduler to execute the cmd file.




Is there any news on "Remote library changes notifications to the client are not implemented."?

I have foobar and foo_upnp on a server under my desk, I have to remember to restart foobar after uploading any music

Thanks
Title: foo_upnp
Post by: vassie on 2010-11-19 08:02:05
Thanks Wacky, forgot about foo_scheduler, would be nice if foo_upnp saw changes straight away, but this will do in the meantime
Title: foo_upnp
Post by: andrewfg on 2010-11-21 18:18:50
MP3 (audio/mpeg)
FLAC (audio/x-flac)
AAC/AACplus ADTS (audio/aac, audio/aacp)
Vorbis (audio/x-ogg)
WMA (audio/x-ms-wma)

Hi Bubbleguum,

I have been exploring this further, and I am pretty much certain that foo_upnp is not at all compliant to the Upnp/DLNA specifications. I think there are two problems:

1) You are using your Preferences | Streaming Profiles to determine what music formats shall be transcoded to what when you serve a file to a UPnP renderer. Whereas, you should be calling GetProtocolInfo and looking at the returned SinkProtocolInfo list, to determine which music formats the renderer supports.

2) When you serve the music to a renderer, you are setting the Content-Type = "application/octet-stream" rather than the proper mime type for that music format e.g. audio/mpeg

For example with my renderer, even though I set the Streaming Profile to always transcode to MP3 (say), in fact foo_upnp is transcoding some MP3 files to WAV, even though this format is not in my renderer's SinkProtocolInfo list as returned by GetProtocolInfo. And the Content-Type = "application/octet-stream" instead of audio/x-wav. Both these things are wrong.
Title: foo_upnp
Post by: Bojamijams on 2010-11-24 21:10:17
Has anyone gotten the "Internet Access" functionality to work?

I can load up the webpage on my browser and I get a quicktime player plugin, but when I hit play, the progress bar lasts about 3 seconds from beginning to end and there is no sound.

Likewise, when trying to add that address in PlugPlayer (iPhone) it says it cannot find an XML file.  I'm not sure what I'm missing there.
Title: foo_upnp
Post by: batagy on 2010-11-26 00:55:33
According to the manufacturer http://forums.slimdevices.com/showthread.php?t=83320 (http://forums.slimdevices.com/showthread.php?t=83320) the music stream formats supported by Squeeze Server are:

MP3 (audio/mpeg)
FLAC (audio/x-flac)
AAC/AACplus ADTS (audio/aac, audio/aacp)
Vorbis (audio/x-ogg)
WMA (audio/x-ms-wma)

{ Apparently, surprisingly, not including LPCM or WAV }

So the conclusion is that you need to make settings in Foo_UpnP so it transcodes all other files to one of the above formats.

If you have lossless files in FLAC, you are probably fine without transcoding. But due to the lack of LPCM support, other unsupported lossles formats (e.g. ALAC) could only be downsampled to MP3 (becuase I don't think that Foo_UPnp can transcode ALAC to FLAC on the fly...)

Thanks a lot for letting us this know!

Meanwhile, I also discovered some new features in foo_upnp:
- The default controller can be set in advance, so one step can be spared.
- For the Playback Stream Capture, we need to set the codec to MP3, as neither WAV nor LPCM is supported by SqueezeServer (as Andrew said above).
- Also with right click menu in Foobar playlist, the songs can be sent to the Controller playlist.

So based on all current knowledge so far, I'm trying to compose a Mini-Guide here for those who never heard about using Foobar and Squeezebox together.

There is need 2 programs additional to the SqueezeBox, SqueezeBox Server, and Foobar:
- Whitebear Media Server (http://www.whitebear.ch/mediaserver)
- foo_upnp (http://www.foobar2000.org/components/view/foo_upnp) plugin (this thread) under Foobar.

The Whitebear Media Server provides a UPnP interface to SqueezeBox Server. Minimum 2.0.1.1051 version required. It just need to be installed, and run. No need for any separate setting in Whitebear Media Server. Of course the SqueezeBox Server should be run as normally.

The foo_upnp provides a UPnP interface for Foobar. This should be installed to the plugins. This needs some settings to tweak, but it's easy, the settings I'll list in end of the guide.

Now both Squeezebox Server and Foobar can communicate each other via UPnP.

I. If the Foobar is the player

In this case, we want to play files from a SqueezeServer library, with Foobar on the local PC to the local soundcard, in the usual mode as normally. In this case the Squeezebox Server/Whitebear streams the music to Foobar. It can be described as this:
Whitebear(DMS) => Foobar(Browser + DMC) => Foobar(NativePlayer)

The steps are very simple:
In Foobar View menu -> "UPnP Browser". A small window comes up, here soon appears "Squeezebox library (by Whitebear)" server. Going into this, the music can selected the same way as it we were browsing in the real Squeezebox. Selecting a folder, a "UPnP Browser Selection" playlist is opening, containing the selected music. This you need to play as normal in Foobar.


II. If we want to use Squeezebox as a sound card

This case is the opposite direction of the previous. In this case, we want to play files with Foobar, but we don't want to use the soundcard of the local PC, instead, we want that the Squeezebox is playing the music. In other words, we want to use the Squeezebox as a soundcard. In this case, the Foobar is streaming the music to the Squeezebox. It can be described as this:
Foobar(NativeLibrary) => Foobar(Browser + DMS) => Whitebear(DMR)

The steps are the following in this case:
1. First you need to open the "UPnP Controller" in Foobar, in View menu. The "UPnP Controller" window comes up. At the same time, it also opens a "UPnP Controller Playback Queue" playlist.
2. Then you select "Squeezebox (by Whitebear)" in the UPnP Controller. At this point it resets the "UPnP Controller Playback Queue" so pointless to put files there before. Do not close this "UPnP Controller" window.
3. Now you just need to drag and drop files from the local disk from the filemanager to this "UPnP Controller" window. This also put these files to the "UPnP Controller Playback Queue" and starts to play the first file automatically.
4. Now you can control the playing with the buttons included on the Controller window. Or just select the file from this playlist to play with double click so it plays in Squeezebox.
5. Important! Do not close the "UPnP Controller" window. If you close it, it loses the control functionality with the Squeezebox!

Note 1:
The step 2 can be spared! If you check the "..." button at the right of the "Squeezebox (by Whitebear)" dropdown list, in that menu, the "Enable on startup" can be selected!, So then we don't need to choose Squeezebox always. The UPnP Controller will automatically select it when starting.

Note 2:
In step 3, the playing (sending music to the Squeezebox) can also be the following methods:
- You can drag and drop files not only from the local filesystem to the "UPnP Controller Playback Queue", but also from the "UPnP Browser Selection" playlist. This means, when the files are at the Squeezebox Server library (can be on remote place) and the player is also the Squeezebox, but it will be controlled by the Foobar. This can be describer in this way:
Whitebear(DMS) => Foobar(Browser + DMC) => Whitebear(DMR)

- If you right click on any of the Foobar's playlist, and if the UPnP Controller window is opened, there is a menu "UPnP Controller -> Play on Squeezebox" or  "Enqueue on Squeezebox" which is sending the files to the "UPnP Controller Playback Queue" playlist.

Note 3:
At the UPnP Controller window, the second Play button, which has a "c" letter, it is the "Play foobar2000 Playback Stream Capture" function. This means, anything is played by Foobar, that can be sent to the Squeezebox, encoded with the presetted codec. Currently only MP3 can be used for this codec. This should only be used if the playing file format is not any of these: FLAC, MP3, AAC, WMA, OGG. This feature resamples the sound so it is not sent bit-perfect to Squeezebox.

A similar function to "Play foobar2000 Playback Stream Capture" is the "wavin" plugin for the SqueezeServer. But this is not an elegant solution. It has a lot delay, the music is resampled. This is not worth to use. The best way to send the files as a stream without transcoding.

Needed settings in the Foobar foo_upnp

These are needed for the case II.

First of all, it's worth to know, as andrewfg figured it out, SqueezeBox Server can handle the following codecs directly, when it receives the stream: FLAC, MP3, WMA, AAC, OGG. Interestingly, WAV and LPCM are not handled. As a result, the following should be set:
a ) Foobar -> Preferences -> Tools -> UPnP -> Server -> Streaming Profiles : here it's worth the create a new profile. Use profile when User-Agent contain "Squeezebox". Here enter Squeezebox without the double quotes. Then, in this profile, set the followings:
b ) Decoding to PCM: Decode Never to WAV, except m4a. It's important that after "Except", there should NOT be FLAC, MP3, WMA, AAC, OGG! It's because SqueezeServer handle these formats directly, and these should not be decoded into WAV! If transcoded into WAV, SqueezeServer will not play it.
c ) Playback Stream Capture: Codec: MP3. Here we need to set MP3, because WAV and LPCM are accepted by Squeezebox Server. This only need to be set if you use the Playback Stream Capture feature.
(Renderer Capabilites: Can decode HTTP and MMS streams directly, this seems doesn't matter.)

That would be all.
I hope it is useful for others.

Title: foo_upnp
Post by: andrewfg on 2010-11-26 06:57:34
c ) Playback Stream Capture: Codec: MP3. Here we need to set MP3, because WAV and LPCM are accepted by Squeezebox Server. This only need to be set if you use the Playback Stream Capture feature.


because WAV and LPCM are not accepted by Squeezebox Server
Title: foo_upnp
Post by: batagy on 2010-11-26 07:16:31
c ) Playback Stream Capture: Codec: MP3. Here we need to set MP3, because WAV and LPCM are accepted by Squeezebox Server. This only need to be set if you use the Playback Stream Capture feature.


because WAV and LPCM are not accepted by Squeezebox Server

Yes!
An important typo!
Title: foo_upnp
Post by: Phil Meyer on 2010-11-26 08:15:44
Thanks for the write-up - useful.
Title: foo_upnp
Post by: bubbleguuum on 2010-11-26 19:25:09
I have been exploring this further, and I am pretty much certain that foo_upnp is not at all compliant to the Upnp/DLNA specifications. I think there are two problems:

1) You are using your Preferences | Streaming Profiles to determine what music formats shall be transcoded to what when you serve a file to a UPnP renderer. Whereas,
you should be calling GetProtocolInfo and looking at the returned SinkProtocolInfo list, to determine which music formats the renderer supports.


Maybe. but protocolInfo matching is limited and doesn't offer great flexibility. For example it is not appropriate for Internet streaming were transcoding to mp3 might be preferred.  Also for example you cannot tell if ALAC is supported from protocol Info as mime-type audio/m4a is not sufficient. So I choose to let the users to have more control over how files are streamed instead of making automatic "Intelligent" decisions that will be inapropriate in some cases. Add to that the mime-type mess and the fact that some renderers might have buggy/incomplete protocolInfo...Or for example the PS3 that do braindead things when streamed anything other than LPCM (if you stream mp3 to it, it will do 6-8 http requests adding 3 second gaps between tracks...). There are plenty of corner cases like this where it is useful to bypass automatic matching. Streaming profiles are far from perfect and if I was starting over I would do a few things differently.

Quote
2) When you serve the music to a renderer, you are setting the Content-Type = "application/octet-stream" rather than the proper mime type for that music format e.g. audio/mpeg

For example with my renderer, even though I set the Streaming Profile to always transcode to MP3 (say), in fact foo_upnp is transcoding some MP3 files to WAV, even though this format is not in my renderer's SinkProtocolInfo list as returned by GetProtocolInfo. And the Content-Type = "application/octet-stream" instead of audio/x-wav. Both these things are wrong.


I cannot reproduce Content-Type = "application/octet-stream". Can you give me the exact profile settings used ?  Transcoding to mp3 always set Content-Type to  audio/mpeg. And as I don't use SinkProtocolInfo at all (as streaming profile conf is used instead) it's possible non playable formats are sent to the renderer.
Also I suspect another profile than the one you configured might be used. You can easily check which profile is used by spotting messages like this in the console:

foo_upnp: opened 'file://blah\08 - August.flac' for streaming, profile: foobar2000, MP3 / CBR 320 kbps, replaygain: off, DSP chain: off
Title: foo_upnp
Post by: bubbleguuum on 2010-11-26 20:19:33
Nice guide!

The steps are very simple:
In Foobar View menu -> "UPnP Browser". A small window comes up, here soon appears "Squeezebox library (by Whitebear)" server.


You can also add the window to your DUI or CUI layout. You must first close it, then enter layout editing mode (View>Layout>Layout editing mode), and then add the
"UPnP Browser" UI element. You can do that for the UPnP Controller as well.

Quote
In step 3, the playing (sending music to the Squeezebox) can also be the following methods:
- You can drag and drop files not only from the local filesystem to the "UPnP Controller Playback Queue", but also from the "UPnP Browser Selection" playlist.


You can drag and drop files to the Controller from any playlist. You can also  drag a node from the UPnP Browser (an album for example) as well as the Album List.
And if you hold SHIFT while d'n'd, it will enqueue instead of immediate play.


Quote
At the UPnP Controller window, the second Play button, which has a "c" letter, it is the "Play foobar2000 Playback Stream Capture" function. This means, anything is played by Foobar, that can be sent to the Squeezebox, encoded with the presetted codec. Currently only MP3 can be used for this codec. This should only be used if the playing file format is not any of these: FLAC, MP3, AAC, WMA, OGG. This feature resamples the sound so it is not sent bit-perfect to Squeezebox.


There's resampling only if you play a file whose samplerate do not match the configured  Playback Stream Capture samplerate in the profile.

Title: foo_upnp
Post by: alexinc on 2010-11-27 00:53:09
Hi!

I have the same problem as another user some pages before:

I want to use foo_upnp to serve my library to my Samsung LE40B650 TV.
Streaming with Win 7 and/or Samsung share manager works just fine.
The TV can "see" foobar2000 but is not able to show me any contents.
When I select for example "playlists" the TV always prompts me the same message: "Unable to handle request, mediaplayer now returns to the main screen". Also when I use UPnP controler, his color is grey but I can control the volume of the TV( if I play a file from Win7).

I tried 0.99.28  but nothing happens? Any ideas?
(Also when I drag n drop a file on the controler ,on only 0.99.28 it says: "SetAVTransportURI Error:Resourse not found (716)"


same here with samsung ue40c7700  any solutions found? glad i'm not the only one, as i'm new to the upnp streaming-stuff and wasnt quite sure if i missed something!
Title: foo_upnp
Post by: andrewfg on 2010-11-27 19:27:48
Maybe. but protocolInfo matching is limited and doesn't offer great flexibility. For example it is not appropriate for Internet streaming were transcoding to mp3 might be preferred.  Also for example you cannot tell if ALAC is supported from protocol Info as mime-type audio/m4a is not sufficient. So I choose to let the users to have more control over how files are streamed instead of making automatic "Intelligent" decisions that will be inapropriate in some cases. Add to that the mime-type mess and the fact that some renderers might have buggy/incomplete protocolInfo...Or for example the PS3 that do braindead things when streamed anything other than LPCM (if you stream mp3 to it, it will do 6-8 http requests adding 3 second gaps between tracks...). There are plenty of corner cases like this where it is useful to bypass automatic matching. Streaming profiles are far from perfect and if I was starting over I would do a few things differently.
Well I think you should try to respect the UPnP specification. You complain about others not respecting it, and then you commit the same crime yourself. If you feel it is really necessary to implement special profiles, then the default "null" profile should be to respect SinkProtocolInfo, and then any additional added profiles could override this default behaviour.
Title: foo_upnp
Post by: andrewfg on 2010-11-27 19:32:20
I cannot reproduce Content-Type = "application/octet-stream". Can you give me the exact profile settings used ?  Transcoding to mp3 always set Content-Type to  audio/mpeg. And as I don't use SinkProtocolInfo at all (as streaming profile conf is used instead) it's possible non playable formats are sent to the renderer.
Also I suspect another profile than the one you configured might be used. You can easily check which profile is used by spotting messages like this in the console:
foo_upnp: opened 'file://blah\08 - August.flac' for streaming, profile: foobar2000, MP3 / CBR 320 kbps, replaygain: off, DSP chain: off
I saw application/octet-stream when fobbar_upnp was trying to send lpcm to the client. And it should use audio/L16 in this case. But if you need more information I will dig into it deeper and send you more detailed settings information.
Title: foo_upnp
Post by: andrewfg on 2010-11-27 19:38:59
Also for example you cannot tell if ALAC is supported from protocol Info as mime-type audio/m4a is not sufficient.
As far as I know, the mime types are as follows:

alac in mp4 - audio/m4a
aac in mp4 - audio/MP4A_LATM

Or?
Title: foo_upnp
Post by: jabol240 on 2010-11-28 00:18:58
sorry for my - probably simple for you - question. I was searching google and here but topic is complex for me
I would like to stream music (mp3,flac) from PC, preferably foobar, preferably in linux:P to my amplifier over ethernet, usb cable or anyhow excluding sound card
the goal is to forget about the sound card, not to worry about its low-quality decoding et cetera and let all this work to the hi-fi amplifier to get good sound quality
what do I need?
Is it only above plugin and any amplifier with a network socket?
do I mistake sth?

thanx so much
Title: foo_upnp
Post by: cchristian on 2010-12-04 18:31:25
I recently purchased a Sony BDP-S370 blu-ray player, which I note has DLNA support, so here I am.

Windows Media Player streaming works fine for mp3, but I'd rather use foobar2000.

I can browse to it, scrolling through lists of artists/albums/songs is really fast.  I just cannot play back any songs (which again play via WMP just fine)

Sony thinks the file is corrupt or unplayable.

UPnP Server settings are all unmodified from defaults. 

Naturally I'll want to tackle flac, shn, aiff once I've got mp3 working, but first things first.

I can excerpt the server logs if that helps.  Thanks!
Title: foo_upnp
Post by: andrewfg on 2010-12-05 16:18:56
Naturally I'll want to tackle flac, shn, aiff once I've got mp3 working, but first things first.
The Sony will probably only support MP3 and LPCM (L16) formats.
Title: foo_upnp
Post by: cchristian on 2010-12-05 17:51:42
Naturally I'll want to tackle flac, shn, aiff once I've got mp3 working, but first things first.
The Sony will probably only support MP3 and LPCM (L16) formats.


Directly, but I thought I could manage more through transcoding?  At any rate, I'm at a loss for what could stop it from playing mp3.  I can stream the same file to WMP or Chrome through foo_upnp, I can stream the same file to the Sony via WMP.
Title: foo_upnp
Post by: andrewfg on 2010-12-06 09:19:36
I'm at a loss for what could stop it from playing mp3.  I can stream the same file to WMP or Chrome through foo_upnp, I can stream the same file to the Sony via WMP.
You need to be more precise about where the problem occurs. Are you 1) using FB2k to browse and select the music and commanding it to "Play To" the Sony? Or are you using the Sony's on screen UI to browse and select the music and commanding it to "Play" (to itself)?
Title: foo_upnp
Post by: niche2000 on 2010-12-06 11:03:37
Hello everyone,

First, thank you for this wonderful plugin. I'm using it to control my Popcorn Hour C200.

Though, I'v a couple of problems that I would like to solve in order to have a perfect experience.

First, I managed to push media to my Popcorn by populating the Upnp Controller playback queue. OK

Problems i'm facing :
1. The feature "Playback stream capture" is not working. It is annoying because that's the most interesting part of the plugin that I would like to use. any idea on how to configure foo_upnp to make it work. Is there any other popcorn (C200) users on this forum who made it work.
2. I cannot see any information on my player about the artist/album/tag Info. blank field are displayed. I let the default configuration string on the format option.
3. Is there a way to have the upnp controller window embedded in the player instead having a separate window.

Thank you in advance for your support

Title: foo_upnp
Post by: cchristian on 2010-12-06 12:27:23
I'm at a loss for what could stop it from playing mp3.  I can stream the same file to WMP or Chrome through foo_upnp, I can stream the same file to the Sony via WMP.
You need to be more precise about where the problem occurs. Are you 1) using FB2k to browse and select the music and commanding it to "Play To" the Sony? Or are you using the Sony's on screen UI to browse and select the music and commanding it to "Play" (to itself)?


FB2K running upstairs with upnp plugin.  Sony UI in basement to browse to mp3 files via Artist/Album to play through home theater.
I can browse really fast.  Songs show up as MP3.  When I change settings to always transcode to LPCM the songs show up as LPCM.
In either case the files are "corrupt or format not supported"
I can stream mp3 from FB2K to WMP, to a web browser. 
I can stream from WMP to the same Sony no problem, but it doesn't honor track # tags, browsing is much slower.
Title: foo_upnp
Post by: cchristian on 2010-12-07 01:25:01
FB2K running upstairs with upnp plugin.  Sony UI in basement to browse to mp3 files via Artist/Album to play through home theater.
I can browse really fast.  Songs show up as MP3.  When I change settings to always transcode to LPCM the songs show up as LPCM.
In either case the files are "corrupt or format not supported"
I can stream mp3 from FB2K to WMP, to a web browser. 
I can stream from WMP to the same Sony no problem, but it doesn't honor track # tags, browsing is much slower.


Never mind...  I picked a new port and all is well.  Silly me, I thought that disabling sharing via WMP and shutting down WMP was enough to free up the port.
Title: foo_upnp
Post by: Bakterius on 2010-12-07 11:27:17
English is a foreign language for me, so sorry if I don't understand all things or can't explain right.   

I'm using foobar2000 with foo_upnp to stream my music wireless to a Sony Bravia TV. The TV shows all tags corectly, except the album art.

I have mp3 and flac files. The album art is embedded in the flac and mp3 files and there is also a file called "folder.jpg" in the same folder. foobar2000 shows the album art the right way.
"Allow album art streaming" is checked but I can't see the art on TV.

Streaming with Windows Media Player the album art is showing on my TV (but I prefer foobar2000 because of my flac files).

I searched for any solution but haven't found. Is this a known problem or am I doing something wrong?

Thanks for help! 
Title: foo_upnp
Post by: jabol240 on 2010-12-07 23:12:49
sorry for my - probably simple for you - question. I was searching google and here but topic is complex for me
I would like to stream music (mp3,flac) from PC, preferably foobar, preferably in linux:P to my amplifier over ethernet, usb cable or anyhow excluding sound card
the goal is to forget about the sound card, not to worry about its low-quality decoding et cetera and let all this work to the hi-fi amplifier to get good sound quality
what do I need?
Is it only above plugin and any amplifier with a network socket?
do I mistake sth?

thanx so much
Title: foo_upnp
Post by: batagy on 2010-12-10 18:51:02
sorry for my - probably simple for you - question. I was searching google and here but topic is complex for me
I would like to stream music (mp3,flac) from PC, preferably foobar, preferably in linux:P to my amplifier over ethernet, usb cable or anyhow excluding sound card
the goal is to forget about the sound card, not to worry about its low-quality decoding et cetera and let all this work to the hi-fi amplifier to get good sound quality
what do I need?
Is it only above plugin and any amplifier with a network socket?
do I mistake sth?

thanx so much

Hi,

First of all, to answer this question, we need to know more about your amplifier. What is the model exactly? Does it have any digital input, Coax SPDIF, Optical SPDIF, or HDMI or any network connection?

Yes, it's possible to forget the soundcard, but first answer the previous question.
Title: foo_upnp
Post by: batagy on 2010-12-10 19:22:23

Hello everyone,

First, thank you for this wonderful plugin. I'm using it to control my Popcorn Hour C200.

Though, I'v a couple of problems that I would like to solve in order to have a perfect experience.

First, I managed to push media to my Popcorn by populating the Upnp Controller playback queue. OK

Problems i'm facing :
1. The feature "Playback stream capture" is not working. It is annoying because that's the most interesting part of the plugin that I would like to use. any idea on how to configure foo_upnp to make it work. Is there any other popcorn (C200) users on this forum who made it work.
2. I cannot see any information on my player about the artist/album/tag Info. blank field are displayed. I let the default configuration string on the format option.
3. Is there a way to have the upnp controller window embedded in the player instead having a separate window.

Thank you in advance for your support


Hi!
1. For the the "Playback stream capture" we need to know what format is accepted by the Popcorn C200 when it receives an UPnP stream. This link (http://www.networkedmediatank.com/wiki/index.php/Popcorn_Hour_C-200) says that below formats are supported as Audio Container:
Quote
AAC, M4A
MPEG audio (MP1, MP2, MP3, MPA)
WAV
WMA
FLAC
OGG

Foo_upnp can only sent it as LPCM, WAV or MP3. So did you try to set codec to WAV or MP3 in foo_upnp settings?

2. I don't know how the tags should be sent . This needs an expert to answer this. 

3. Actually bubbleguuum, the developer told it is possible to include the separate window in Foobar itself. He said this:
You can also add the window to your DUI or CUI layout. You must first close it, then enter layout editing mode (View>Layout>Layout editing mode), and then add the
"UPnP Browser" UI element. You can do that for the UPnP Controller as well.


But to be honest I tried and I was not able to add it. It probably works but I don't know to add it to the main window.
Hopefully someone will also answer this.
Title: foo_upnp
Post by: ledkiller on 2010-12-11 15:22:37
Excuse me, I am a new user of this wonderful plugin.  I am testing it now at home, trying to stream from one computer (xp with foobar2k+upnp) to another (win7, wmp12).

Since the server installed virtualbox it has one more local ip for the virtual nic.  When I open wmp it can browse the playlists, but it cannot play the songs.  I found that this plugin used the "virtual" ip for the URL which is incorrect, but there is no option to change this behavior.  If I manually correct the ip in the URL shown in WMP, the songs play with no problem.

Please correct me if I missed something.  Thank you!
Title: foo_upnp
Post by: bubbleguuum on 2010-12-11 23:39:59
I'm using foobar2000 with foo_upnp to stream my music wireless to a Sony Bravia TV. The TV shows all tags corectly, except the album art.
I have mp3 and flac files. The album art is embedded in the flac and mp3 files and there is also a file called "folder.jpg" in the same folder. foobar2000 shows the album art the right way.
"Allow album art streaming" is checked but I can't see the art on TV.
Streaming with Windows Media Player the album art is showing on my TV (but I prefer foobar2000 because of my flac files).


The TV probably discard album art because of its size. Some devices are picky with that and the plugin do not rescale album art.


Hello everyone,

First, thank you for this wonderful plugin. I'm using it to control my Popcorn Hour C200.
Though, I'v a couple of problems that I would like to solve in order to have a perfect experience.
First, I managed to push media to my Popcorn by populating the Upnp Controller playback queue. OK

Problems i'm facing :
1. The feature "Playback stream capture" is not working. It is annoying because that's the most interesting part of the plugin that I would like to use. any idea on how to configure foo_upnp to make it work. Is there any other popcorn (C200) users on this forum who made it work.
2. I cannot see any information on my player about the artist/album/tag Info. blank field are displayed. I let the default configuration string on the format option.
3. Is there a way to have the upnp controller window embedded in the player instead having a separate window.


First, check that you have the latest firmware installed on your popcorn

1. Check the configuration of Playback Stream Capture in the  default streaming profile. Make sure it is set to WAV/16bits/44.1Khz.
Then play some file in foobar2000 and either:
- play Playback Stream Capture browsing from your  Popcorn browse UI
- click the Play icon with the "C" symbol in the UPnP Controller.

If it doesn't work, record a log and post it (see first post for instructions).

2. no idea

3. see the "User interface" section of http://bubbleguuum.free.fr/foo_upnp/foo_upnp.txt (http://bubbleguuum.free.fr/foo_upnp/foo_upnp.txt)

Excuse me, I am a new user of this wonderful plugin.  I am testing it now at home, trying to stream from one computer (xp with foobar2k+upnp) to another (win7, wmp12).
Since the server installed virtualbox it has one more local ip for the virtual nic.  When I open wmp it can browse the playlists, but it cannot play the songs.  I found that this plugin used the "virtual" ip for the URL which is incorrect, but there is no option to change this behavior.  If I manually correct the ip in the URL shown in WMP, the songs play with no problem.
Please correct me if I missed something.  Thank you!


The plugin shouldn't expose a non-routable ip to the client (wmp12), but there might be a workaround: try changing network interface order on your XP PC:
http://www.windowsreference.com/windows-20...rity-in-xp2000/ (http://www.windowsreference.com/windows-2000/change-network-adapter-priority-in-xp2000/)
Title: foo_upnp
Post by: ledkiller on 2010-12-12 02:15:59
The plugin shouldn't expose a non-routable ip to the client (wmp12), but there might be a workaround: try changing network interface order on your XP PC:
http://www.windowsreference.com/windows-20...rity-in-xp2000/ (http://www.windowsreference.com/windows-2000/change-network-adapter-priority-in-xp2000/)


Thank you for your quick response!

Unfortunately, i) all lan ips including the virtual nic's are private ips (192.168.x.x) and the virtual lan nic is working, so the associated ip will appear to be routable to the system (thus to all programs also), the only difference is the packets will only visible by the virtual pcs; ii) The order of nics are already set before I tried using the plugin.

For your reference, this is the information of my server pc:
Code: [Select]
Windows IP Configuration


Ethernet adapter LAN 2:

        Connection-specific DNS Suffix  . :
        IP Address. . . . . . . . . . . . : 192.168.109.110
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . : 192.168.109.1

Ethernet adapter VirtualBox Host-Only Network:

        Connection-specific DNS Suffix  . :
        IP Address. . . . . . . . . . . . : 192.168.56.1
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . :

The LAN2 is already set to highest priority.

I will try another client pc later.
Title: foo_upnp
Post by: war59312 on 2010-12-12 05:39:48
No idea, what has happened but now getting this on every start-up of Foobar2000:

Quote
foo_upnp: 0.004: NPT_BsdSocket::Bind(1068)/4972: SEVERE: bind failed(), error=10013
foo_upnp: 0.004: PLT_UPnP::Start(228)/4972: SEVERE: NPT_CHECK failed, result=-20409 (NPT_ERROR_BIND_FAILED) [(socket->Bind(NPT_SocketAddress(NPT_IpAddress::Any, m_Port)))]
Title: foo_upnp
Post by: batagy on 2010-12-13 22:29:02
3. see the "User interface" section of http://bubbleguuum.free.fr/foo_upnp/foo_upnp.txt (http://bubbleguuum.free.fr/foo_upnp/foo_upnp.txt)

Thanks bubble for the info again.
Now I also succeeded to include the UPnP Controller in the main window. The trick was to create a scratchbox first, then adding a splitter, then I was able to add the normal Playlist Tabs/Playlist on the upper side, and the Controller on the bottom side.
Good!
Title: foo_upnp
Post by: nutman on 2010-12-14 14:33:11
Hi,

I'm trying to stream football chants for fifa 11 to my xbox using this plugin. Xbox can detect foobar and all the mp3s but it doesn't detect any of the  playlists I created. I need the playlists to be created becuase that is how fifa 11 reads the chants; through a playlist file. All my playlists are saved as .m3u files. I thought maybe that it's an xbox problem not being able to read m3u's, so I converted a couple to .wpl files assuming xbox would read windows media player playlists, but still no luck.

Any ideas?
Title: foo_upnp
Post by: SmartOne on 2010-12-14 18:39:49
The UPnP Browser lists all of the folders in a selected directory but only gives a count of the contained files.  Clicking on a root folder doesn't send all contained folders to the UPnP Browser Selection playlist.  Only the files contained in the selected folder are sent.  Will you please change this to behave like the Album List window for the Library?
Title: foo_upnp
Post by: bubbleguuum on 2010-12-14 18:53:27
I'm trying to stream football chants for fifa 11 to my xbox using this plugin. Xbox can detect foobar and all the mp3s but it doesn't detect any of the  playlists I created. I need the playlists to be created becuase that is how fifa 11 reads the chants; through a playlist file. All my playlists are saved as .m3u files. I thought maybe that it's an xbox problem not being able to read m3u's, so I converted a couple to .wpl files assuming xbox would read windows media player playlists, but still no luck.



Load your m3u in a foobar2000 playlist and access that playlist from the xbox. You'll have to restart the server (or foobar2000) for the changes to be seen by the xbox)
Title: foo_upnp
Post by: bubbleguuum on 2010-12-14 18:55:58
The UPnP Browser lists all of the folders in a selected directory but only gives a count of the contained files.  Clicking on a root folder doesn't send all contained folders to the UPnP Browser Selection playlist.  Only the files contained in the selected folder are sent.  Will you please change this to behave like the Album List window for the Library?


The option "Show all loaded content under a node" found in File>Preferences>Tools>UPnP>Browser will do just that, but only for folders that you have already browsed.
It cannot behave exactly as the Album List, as the content of a folder is not known until you browse it.
Title: foo_upnp
Post by: alexinc on 2010-12-14 21:37:55
ok, here we go with a log. trying to send mp3 to samsung tv... hopefully this helps a bit!? dont know how, but it once worked for a short moment!??? samsung supports  streaming lpcm (l16) and mp3 (what i changed in default streaming profile).
.
[code]0.000: foo_upnp::on_init(127)/5064: INFO: foo_upnp: version 0.99.29
0.000: PLT_UPnP::Start(211)/5064: INFO: Starting UPnP...
0.000: standard_media_tree_root_node_t::load_ml_filters(492)/5064: INFO: loaded Media Library filters from C:\Users\Alex\AppData\Roaming\foobar2000\foo_upnp_ml_tree.xml
0.016: PLT_UPnP::AddDevice(343)/5064: INFO: Starting Device...
0.016: PLT_HttpServer::Start(109)/5064: INFO: HttpServer listening on 0.0.0.0:56923
0.016: PLT_UPnP::AddDevice(343)/5064: INFO: Starting Device...
0.016: PLT_HttpServer::Start(109)/5064: INFO: HttpServer listening on 0.0.0.0:51805
initialized in 0.016s
created 18789 path registry entries in 0.296s
1.248: FbMediaServer::ProcessHttpRequest(306)/4716: INFO: received LAN request: http://192.168.0.100:56923/DeviceDescription.xml (User-Agent: SEC_HHP_TV-40C7700/1.0)
1.248: FbMediaServer::ProcessGetDescription(375)/4716: INFO: ProcessGetDescription: user-agent: SEC_HHP_TV-40C7700/1.0
1.264: FbMediaServer::ProcessHttpRequest(306)/2868: INFO: received LAN request: http://192.168.0.100:56923/DeviceDescription.xml (User-Agent: SEC_HHP_BD-C6930/1.0)
1.264: FbMediaServer::ProcessGetDescription(375)/2868: INFO: ProcessGetDescription: user-agent: SEC_HHP_BD-C6930/1.0
loaded Media Library tree in 1.341s
3.619: FbMediaServer::ProcessHttpRequest(306)/1272: INFO: received LAN request: http://192.168.0.100:56923/DeviceDescription.xml (User-Agent: Microsoft-Windows/6.1 UPnP/1.0 Windows-Media-Player-DMS/12.0.7600.16385 DLNADOC/1.50)
3.619: FbMediaServer::ProcessGetDescription(375)/1272: INFO: ProcessGetDescription: user-agent: Microsoft-Windows/6.1 UPnP/1.0 Windows-Media-Player-DMS/12.0.7600.16385 DLNADOC/1.50
3.760: PLT_Service::ProcessNewSubscription(534)/768: INFO: New subscription for AVTransport/c3a8c47e-c6b1-7f64-91ef-467b96cf972f/event.xml, sid=uuid:efede1a7-30ac-f032-cc7f-a6fbed97843e
3.775: PLT_Service::ProcessNewSubscription(534)/1108: INFO: New subscription for ConnectionManager/c3a8c47e-c6b1-7f64-91ef-467b96cf972f/event.xml, sid=uuid:001bb482-261a-e878-c646-eae60d74d00c
3.822: PLT_Service::ProcessNewSubscription(534)/4572: INFO: New subscription for RenderingControl/c3a8c47e-c6b1-7f64-91ef-467b96cf972f/event.xml, sid=uuid:0dd86285-5c2b-032b-4290-b8772e2ed9ac
4.041: PLT_Service::ProcessNewSubscription(534)/1628: INFO: New subscription for AVTransport/c3a8c47e-c6b1-7f64-91ef-467b96cf972f/event.xml, sid=uuid:c94ce92f-d54e-dc4d-1c7e-591fdee5e7e8
4.041: PLT_Service::ProcessNewSubscription(534)/4960: INFO: New subscription for ConnectionManager/c3a8c47e-c6b1-7f64-91ef-467b96cf972f/event.xml, sid=uuid:d3fd001f-84d9-b324-2ac7-4edd300964a7
4.056: PLT_Service::ProcessNewSubscription(534)/1212: INFO: New subscription for RenderingControl/c3a8c47e-c6b1-7f64-91ef-467b96cf972f/event.xml, sid=uuid:626002b7-db06-550d-a726-d1eb17091fb4
4.228: FbMediaServer::ProcessHttpRequest(306)/5044: INFO: received LAN request: http://127.0.0.1:56923/DeviceDescription.xml (User-Agent: Microsoft-Windows/6.1 UPnP/1.0 Windows-Media-Player-DMS/12.0.7600.16385 DLNADOC/1.50)
4.228: FbMediaServer::ProcessGetDescription(375)/5044: INFO: ProcessGetDescription: user-agent: Microsoft-Windows/6.1 UPnP/1.0 Windows-Media-Player-DMS/12.0.7600.16385 DLNADOC/1.50
4.415: PLT_Service::ProcessCancelSubscription(664)/4172: INFO: Cancelling subscription for AVTransport/c3a8c47e-c6b1-7f64-91ef-467b96cf972f/event.xml (sub=uuid:efede1a7-30ac-f032-cc7f-a6fbed97843e)
4.415: PLT_HttpTcpConnector::Connect(86)/2500: FATAL: NPT_CHECK failed, result=-1 (FAILURE) [(m_Socket->Connect(socket_address, connection_timeout))]
4.415: NPT_HttpClient::SendRequestOnce(1070)/2500: WARNING: NPT_CHECK failed, result=-1 (FAILURE) [(m_Connector->Connect(server_hostname, server_port, m_Config.m_ConnectionTimeout, m_Config.m_IoTimeout, m_Config.m_NameResolverTimeout, input_stream, output_stream))]
4.415: PLT_HttpClientSocketTask::ProcessResponse(290)/2500: WARNING: NPT_CHECK failed, result=-1 (FAILURE) [(res)]
4.415: PLT_HttpClientSocketTask::DoRun(249)/2500: WARNING: NPT_CHECK failed, result=-20401 (NPT_ERROR_CONNECTION_ABORTED) [(SetConnector(0))]
4.446: PLT_Service::ProcessCancelSubscription(664)/5112: INFO: Cancelling subscription for ConnectionManager/c3a8c47e-c6b1-7f64-91ef-467b96cf972f/event.xml (sub=uuid:001bb482-261a-e878-c646-eae60d74d00c)
4.446: PLT_HttpTcpConnector::Connect(86)/4616: FATAL: NPT_CHECK failed, result=-1 (FAILURE) [(m_Socket->Connect(socket_address, connection_timeout))]
4.446: NPT_HttpClient::SendRequestOnce(1070)/4616: WARNING: NPT_CHECK failed, result=-1 (FAILURE) [(m_Connector->Connect(server_hostname, server_port, m_Config.m_ConnectionTimeout, m_Config.m_IoTimeout, m_Config.m_NameResolverTimeout, input_stream, output_stream))]
4.446: PLT_HttpClientSocketTask::ProcessResponse(290)/4616: WARNING: NPT_CHECK failed, result=-1 (FAILURE) [(res)]
4.446: PLT_HttpClientSocketTask::DoRun(249)/4616: WARNING: NPT_CHECK failed, result=-20401 (NPT_ERROR_CONNECTION_ABORTED) [(SetConnector(0))]
4.493: PLT_Service::ProcessCancelSubscription(664)/3252: INFO: Cancelling subscription for RenderingControl/c3a8c47e-c6b1-7f64-91ef-467b96cf972f/event.xml (sub=uuid:0dd86285-5c2b-032b-4290-b8772e2ed9ac)
4.493: PLT_HttpTcpConnector::Connect(86)/3456: FATAL: NPT_CHECK failed, result=-1 (FAILURE) [(m_Socket->Connect(socket_address, connection_timeout))]
4.493: NPT_HttpClient::SendRequestOnce(1070)/3456: WARNING: NPT_CHECK failed, result=-1 (FAILURE) [(m_Connector->Connect(server_hostname, server_port, m_Config.m_ConnectionTimeout, m_Config.m_IoTimeout, m_Config.m_NameResolverTimeout, input_stream, output_stream))]
4.493: PLT_HttpClientSocketTask::ProcessResponse(290)/3456: WARNING: NPT_CHECK failed, result=-1 (FAILURE) [(res)]
4.493: PLT_HttpClientSocketTask::DoRun(249)/3456: WARNING: NPT_CHECK failed, result=-20401 (NPT_ERROR_CONNECTION_ABORTED) [(SetConnector(0))]
4.696: PLT_Service::ProcessCancelSubscription(664)/4600: INFO: Cancelling subscription for AVTransport/c3a8c47e-c6b1-7f64-91ef-467b96cf972f/event.xml (sub=uuid:c94ce92f-d54e-dc4d-1c7e-591fdee5e7e8)
4.711: PLT_Service::ProcessCancelSubscription(664)/4388: INFO: Cancelling subscription for ConnectionManager/c3a8c47e-c6b1-7f64-91ef-467b96cf972f/event.xml (sub=uuid:d3fd001f-84d9-b324-2ac7-4edd300964a7)
4.727: PLT_Service::ProcessCancelSubscription(664)/4168: INFO: Cancelling subscription for RenderingControl/c3a8c47e-c6b1-7f64-91ef-467b96cf972f/event.xml (sub=uuid:626002b7-db06-550d-a726-d1eb17091fb4)
10.093: controller_window::set_track_info_string(1028)/5064: INFO: track info display:
10.093: PLT_UPnP::AddCtrlPoint(384)/5064: INFO: Starting Ctrlpoint...
10.093: PLT_HttpServer::Start(109)/5064: INFO: HttpServer listening on 0.0.0.0:51859
10.639: PLT_CtrlPoint::InspectDevice(1104)/2804: INFO: New device "A12CB281-A930-6302-0DDB-002401C1F6F2" detected @ http://192.168.0.1:49152/xmldoc/InternetGatewayDevice.xml
10.983: PLT_CtrlPoint::InspectDevice(1104)/2804: INFO: New device "099C3456-99F3-5F05-55B1-002401C1F6F2" detected @ http://192.168.0.1:49152/xmldoc/WFADevice.xml
10.998: PLT_CtrlPoint::InspectDevice(1104)/3988: INFO: New device "2022f7ad-b53d-166e-b28b-cf5d2546e56c" detected @ http://192.168.0.103:52235/pmr/PersonalMessageReceiver.xml
10.998: PLT_CtrlPoint::InspectDevice(1104)/3988: INFO: New device "2bcb59ed-557a-b877-535e-85968abacf64" detected @ http://192.168.0.103:52235/rcr/RemoteControlReceiver.xml
11.014: PLT_CtrlPoint::InspectDevice(1104)/3988: INFO: New device "75f1be1d-6f83-5fb6-8869-2e5e2d9ad217" detected @ http://192.168.0.103:52235/ruis/RemoteUIServerDescLevel1.xml
11.014: PLT_CtrlPoint::InspectDevice(1104)/3988: INFO: New device "9e53c124-c9c3-3577-41be-293d6ced2988" detected @ http://192.168.0.103:52235/dmr/SamsungMRDesc.xml
11.747: PLT_CtrlPoint::ProcessGetDescriptionResponse(1179)/4060: INFO: Received device description for A12CB281-A930-6302-0DDB-002401C1F6F2 (result = 0)
11.747: PLT_CtrlPoint::ProcessGetDescriptionResponse(1234)/4060: INFO: Device "A12CB281-A930-6302-0DDB-002401C1F6F2" is now known as "DIR-615"
11.747: PLT_AddGetSCPDRequestIterator::operator ()(142)/4060: INFO: Queueing SCPD request for service "urn:microsoft-com:serviceId:OSInfo1" of device "DIR-615" @ http://192.168.0.1:49152/xmldoc/OSInfo.xml
11.747: PLT_AddGetSCPDRequestIterator::operator ()(142)/4060: INFO: Queueing SCPD request for service "urn:upnp-org:serviceId:L3Forwarding1" of device "DIR-615" @ http://192.168.0.1:49152/xmldoc/Layer3Forwarding.xml
12.090: PLT_CtrlPoint::ProcessGetDescriptionResponse(1179)/3672: INFO: Received device description for 099C3456-99F3-5F05-55B1-002401C1F6F2 (result = 0)
12.090: PLT_CtrlPoint::ProcessGetDescriptionResponse(1234)/3672: INFO: Device "099C3456-99F3-5F05-55B1-002401C1F6F2" is now known as "DIR-615"
12.090: PLT_AddGetSCPDRequestIterator::operator ()(142)/3672: INFO: Queueing SCPD request for service "urn:wifialliance-org:serviceId:WFAWLANConfig1" of device "DIR-615" @ http://192.168.0.1:49152/xmldoc/WFAWLANConfig.xml
12.090: PLT_CtrlPoint::ProcessGetDescriptionResponse(1179)/2748: INFO: Received device description for 2bcb59ed-557a-b877-535e-85968abacf64 (result = 0)
12.106: PLT_CtrlPoint::ProcessGetDescriptionResponse(1179)/4176: INFO: Received device description for 2022f7ad-b53d-166e-b28b-cf5d2546e56c (result = 0)
12.106: PLT_CtrlPoint::ProcessGetDescriptionResponse(1234)/4176: INFO: Device "2022f7ad-b53d-166e-b28b-cf5d2546e56c" is now known as "TV-40C7700"
12.106: PLT_AddGetSCPDRequestIterator::operator ()(142)/4176: INFO: Queueing SCPD request for service "urn:samsung.com:serviceId:MessageBoxService" of device "TV-40C7700" @ http://192.168.0.103:52235/pmr/MessageBoxService.xml
12.121: PLT_CtrlPoint::ProcessGetDescriptionResponse(1179)/4072: INFO: Received device description for 9e53c124-c9c3-3577-41be-293d6ced2988 (result = 0)
12.121: PLT_CtrlPoint::ProcessGetDescriptionResponse(1179)/1492: INFO: Received device description for 75f1be1d-6f83-5fb6-8869-2e5e2d9ad217 (result = 0)
12.121: PLT_CtrlPoint::ProcessGetDescriptionResponse(1234)/4072: INFO: Device "9e53c124-c9c3-3577-41be-293d6ced2988" is now known as "TV-40C7700"
12.121: PLT_AddGetSCPDRequestIterator::operator ()(142)/4072: INFO: Queueing SCPD request for service "urn:upnp-org:serviceId:RenderingControl" of device "TV-40C7700" @ http://192.168.0.103:52235/dmr/RenderingControl1.xml
12.121: PLT_AddGetSCPDRequestIterator::operator ()(142)/4072: INFO: Queueing SCPD request for service "urn:upnp-org:serviceId:ConnectionManager" of device "TV-40C7700" @ http://192.168.0.103:52235/dmr/ConnectionManager1.xml
12.121: PLT_AddGetSCPDRequestIterator::operator ()(142)/4072: INFO: Queueing SCPD request for service "urn:upnp-org:serviceId:AVTransport" of device "TV-40C7700" @ http://192.168.0.103:52235/dmr/AVTransport1.xml
12.121: PLT_CtrlPoint::ProcessGetDescriptionResponse(1230)/1492: SEVERE: NPT_CHECK failed, result=-20000 (NPT_ERROR_INVALID_PARAMETERS) [(res)]
12.121: PLT_CtrlPoint::ProcessGetDescriptionResponse(1258)/1492: SEVERE: Bad Description response for device "75f1be1d-6f83-5fb6-8869-2e5e2d9ad217": <?xml version="1.0"?>
<root xmlns="urn:schemas-upnp-org:device-1-0">
<specVersion>
<major>1</major>
<minor>0</minor>
</specVersion>
<device xmlns:rui="urn:schemas-ce-org:cea2014-server-ext-1-0">
<deviceType>urn:schemas-ce-org:device:RemoteUIServerDevice:1</deviceType>
<friendlyName>TV-40C7700</friendlyName>
<manufacturer>Samsung Electronics</manufacturer>
<manufacturerURL>http://www.samsung.com</manufacturerURL>
<modelDescription>Remote UI Server - DTV</modelDescription>
<modelName>SamsungCERemoteServer</modelName>
<modelNumber>1.0</modelNumber>
<modelURL>http://www.samsung.com</modelURL>
<serialNumber>20090601</serialNumber>
<UDN>uuid:75f1be1d-6f83-5fb6-8869-2e5e2d9ad217</UDN>
<UPC>129156725912</UPC>
<iconList>
<icon>
<mimetype>image/jpeg</mimetype>
<width>48</width>
<height>48</height>
<depth>24</depth>
<url>/ruis/icon_SML.jpg</url>
</icon>
<icon>
<mimetype>image/jpeg</mimetype>
<width>120</width>
<height>120</height>
<depth>24</depth>
<url>/ruis/icon_LRG.jpg</url>
</icon>
<icon>
<mimetype>image/png</mimetype>
<width>48</width>
<height>48</height>
<depth>24</depth>
<url>/ruis/icon_SML.png</url>
</icon>
<icon>
<mimetype>image/png</mimetype>
<width>120</width>
<height>120</height>
<depth>24</depth>
<url>/ruis/icon_LRG.png</url>
</icon>
</iconList>
<rui:uiServerInfo xmlns:rui="urn:schemas-ce-org:cea-2014-server-ext-1-0">
<rui:uiListURL>http://192.168.0.103:5601/XMLUIList_1001/RemoteUIServerUIList.xml</rui:uiListURL>
</rui:uiServerInfo>
<serviceList>
<service>
<serviceType>urn:schemas-ce-org:service:RemoteUIServer:1</serviceType>
<serviceId>urn:ce-org:serviceId:RemoteUIServer1</serviceId>
<SCPDURL>RUISSCPD.xml</SCPDURL>
<controlURL />
<eventSubURL />
</service>
</serviceList>
</device>
</root>

12.121: PLT_CtrlPoint::CleanupDevice(1004)/1492: INFO: Removing 75f1be1d-6f83-5fb6-8869-2e5e2d9ad217 from device list

12.199: PLT_CtrlPoint::ProcessGetSCPDResponse(1300)/4208: INFO: Received SCPD response for a service of device "DIR-615" @ http://192.168.0.1:49152/xmldoc/WFAWLANConfig.xml (result = 0)
12.199: LinnDsRendererController::Create(117)/5064: INFO: couldn't find urn:linn-co-uk:service:Product:3 service
12.231: PLT_CtrlPoint::ProcessGetSCPDResponse(1300)/4804: INFO: Received SCPD response for a service of device "TV-40C7700" @ http://192.168.0.103:52235/pmr/MessageBoxService.xml (result = 0)
12.231: LinnDsRendererController::Create(117)/5064: INFO: couldn't find urn:linn-co-uk:service:Product:3 service
12.246: PLT_CtrlPoint::ProcessGetSCPDResponse(1300)/4504: INFO: Received SCPD response for a service of device "TV-40C7700" @ http://192.168.0.103:52235/dmr/RenderingControl1.xml (result = 0)
12.246: PLT_CtrlPoint::ProcessGetSCPDResponse(1300)/4504: INFO: Received SCPD response for a service of device "TV-40C7700" @ http://192.168.0.103:52235/dmr/ConnectionManager1.xml (result = 0)
12.246: PLT_CtrlPoint::ProcessGetSCPDResponse(1300)/4504: INFO: Received SCPD response for a service of device "TV-40C7700" @ http://192.168.0.103:52235/dmr/AVTransport1.xml (result = 0)
12.262: LinnDsRendererController::Create(117)/5064: INFO: couldn't find urn:linn-co-uk:service:Product:3 service
12.262: RendererController::Create(53)/5064: INFO: Created UPnPAv Controller for device: TV-40C7700
12.262: controller_window::set_track_info_string(1028)/5064: INFO: track info display: Stopped
12.262: PLT_CtrlPoint::Subscribe(1441)/5064: INFO: Subscribing to service "urn:upnp-org:serviceId:ConnectionManager" of device "TV-40C7700"
12.262: PLT_CtrlPoint::Subscribe(1441)/5064: INFO: Subscribing to service "urn:upnp-org:serviceId:RenderingControl" of device "TV-40C7700"
12.262: RendererController::InvokeAction(88)/4968: INFO: >>>> CALL GetTransportInfo
12.262: PLT_CtrlPoint::ProcessSubscribeResponse(1517)/1456: INFO: Received subscription response for service "urn:upnp-org:serviceId:ConnectionManager" (result = 0)
12.277: PLT_CtrlPoint::ProcessSubscribeResponse(1540)/1456: INFO: Creating new subscriber "uuid:97edbf9b-f5a7-774f-9593-98a30b064302" for service "urn:upnp-org:serviceId:ConnectionManager" of device "TV-40C7700"
12.277: PLT_CtrlPoint::ProcessSubscribeResponse(1517)/164: INFO: Received subscription response for service "urn:upnp-org:serviceId:RenderingControl" (result = 0)
12.277: PLT_CtrlPoint::ProcessSubscribeResponse(1540)/164: INFO: Creating new subscriber "uuid:cb215d5a-af21-ffa8-12a7-afb616e4101d" for service "urn:upnp-org:serviceId:RenderingControl" of device "TV-40C7700"
12.277: RendererController::OnActionResponse(127)/3756: INFO: <<<< TV-40C7700: RET GetTransportInfo: res = 0
12.277: UPnPAVRendererController::set_transport_state(213)/5064: INFO: No local playing item
12.277: controller_window::set_track_info_string(1028)/5064: INFO: track info display: Stopped
12.309: PLT_CtrlPoint::ProcessGetDescriptionResponse(1234)/2748: INFO: Device "2bcb59ed-557a-b877-535e-85968abacf64" is now known as "UE40C7700"
12.309: PLT_AddGetSCPDRequestIterator::operator ()(142)/2748: INFO: Queueing SCPD request for service "urn:samsung.com:serviceId:TestRCRService" of device "UE40C7700" @ http://192.168.0.103:52235/rcr/TestRCRService.xml
12.418: PLT_CtrlPoint::ProcessGetSCPDResponse(1300)/3304: INFO: Received SCPD response for a service of device "UE40C7700" @ http://192.168.0.103:52235/rcr/TestRCRService.xml (result = 0)
12.418: LinnDsRendererController::Create(117)/5064: INFO: couldn't find urn:linn-co-uk:service:Product:3 service
12.855: PLT_CtrlPoint::ProcessGetSCPDResponse(1300)/2988: INFO: Received SCPD response for a service of device "DIR-615" @ http://192.168.0.1:49152/xmldoc/OSInfo.xml (result = 0)
12.855: PLT_CtrlPoint::ProcessGetSCPDResponse(1300)/2988: INFO: Received SCPD response for a service of device "DIR-615" @ http://192.168.0.1:49152/xmldoc/Layer3Forwarding.xml (result = 0)
13.011: PLT_CtrlPoint::InspectDevice(1104)/2804: INFO: New device "75f1be1d-6f83-5fb6-8869-2e5e2d9ad217" detected @ http://192.168.0.103:52235/ruis/RemoteUIServerDescLevel1.xml
13.011: UPnPAVRendererController::OnEventNotifyCallback(428)/5064: INFO: <<<< TV-40C7700: EVENT SourceProtocolInfo=
13.011: UPnPAVRendererController::OnEventNotifyCallback(428)/5064: INFO: <<<< TV-40C7700: EVENT SinkProtocolInfo=http-get:*:audio/L16;rate=44100;channels=1:DLNA.ORG_PN=LPCM;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:audio/L16;rate=44100;channels=2:DLNA.ORG_PN=LPCM;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:audio/L16;rate=48000;channels=1:DLNA.ORG_PN=LPCM;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:audio/L16;rate=48000;channels=2:DLNA.ORG_PN=LPCM;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:audio/mpeg:DLNA.ORG_PN=MP3;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_SM,http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_MED,http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_LRG,http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_TN,http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_SM_ICO,http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_LRG_ICO,http-get:*:audio/mpeg:DLNA.ORG_PN=MP3X;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG1;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_PS_NTSC;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_PS_NTSC_XAC3;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_PS_PAL;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_PS_PAL_XAC3;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_NA;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_NA_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_SD_NA_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_HD_NA;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_HD_NA_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_HD_NA_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_EU;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_EU_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_SD_EU_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_KO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_KO_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_SD_KO_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_HD_KO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_HD_KO_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_HD_KO_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_HD_KO_XAC3;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_HD_KO_XAC3_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_HD_KO_XAC3_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_HD_NA_XAC3;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_HD_NA_XAC3_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_HD_NA_XAC3_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_KO_XAC3;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_KO_XAC3_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_SD_KO_XAC3_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_NA_XAC3;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_NA_XAC3_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_SD_NA_XAC3_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_MP_LL_AAC;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_MP_LL_AAC_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_MP_LL_AAC_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_ES_PAL;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_ES_NTSC;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_ES_PAL_XAC3;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_ES_NTSC_XAC3;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=MPEG4_P2_MP4_SP_AAC;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=MPEG4_P2_MP4_SP_AAC_LTP;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=MPEG4_P2_MP4_SP_L2_AAC;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=MPEG4_P2_MP4_SP_L2_AMR;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=MPEG4_P2_MP4_ASP_AAC;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=MPEG4_P2_MP4_ASP_L5_SO_AAC;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=MPEG4_P2_MP4_ASP_L4_SO_AAC;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/3gpp:DLNA.ORG_PN=MPEG4_P2_3GPP_SP_L0B_AAC;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=MPEG4_P2_3GPP_SP_L0B_AAC;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_SD_AAC_MULT5;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_SD_AAC_MULT5_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_MP_SD_AAC_MULT5_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_SD_MPEG1_L3;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_SD_MPEG1_L3_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_MP_SD_MPEG1_L3_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_SD_AC3;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_SD_AC3_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_MP_SD_AC3_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_SD_AAC_LTP;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_SD_AAC_LTP_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_MP_SD_AAC_LTP_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_SD_AAC_LTP_MULT5;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_SD_AAC_LTP_MULT5_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_MP_SD_AAC_LTP_MULT5_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_SD_AAC_LTP_MULT7;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_SD_AAC_LTP_MULT7_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_MP_SD_AAC_LTP_MULT7_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_MP_SD_AAC_MULT5;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_MP_SD_AC3;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_MP_SD_AAC_LTP;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_MP_SD_AAC_LTP_MULT5;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_MP_SD_AAC_LTP_MULT7;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_BL_L3L_SD_AAC;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_BL_L3_SD_AAC;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_BL_CIF30_AAC_MULT5;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_BL_CIF30_AAC_MULT5_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_BL_CIF30_AAC_MULT5_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_BL_CIF30_MPEG1_L3;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_BL_CIF30_MPEG1_L3_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_BL_CIF30_MPEG1_L3_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_BL_CIF30_AC3;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_BL_CIF30_AC3_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_BL_CIF30_AC3_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_BL_CIF30_AAC_LTP;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_BL_CIF30_AAC_LTP_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_BL_CIF30_AAC_LTP_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_BL_CIF30_AAC_LTP_MULT5;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_BL_CIF30_AAC_LTP_MULT5_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_BL_CIF30_AAC_LTP_MULT5_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,ht
tp-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_BL_CIF30_AAC_940;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_BL_CIF30_AAC_940_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_BL_CIF30_AAC_940_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_BL_CIF30_AAC_MULT5;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_BL_CIF30_MPEG1_L3;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_BL_CIF30_AC3;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_BL_CIF30_AAC_LTP;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_BL_CIF30_AAC_LTP_MULT5;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_BL_L2_CIF30_AAC;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_BL_CIF30_BSAC;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_BL_CIF30_BSAC_MULT5;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_BL_CIF30_AAC_912;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_HD_AAC_MULT5;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_HD_AAC_MULT5_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_MP_HD_AAC_MULT5_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_HD_MPEG1_L3;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_HD_MPEG1_L3_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_MP_HD_MPEG1_L3_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_HD_AC3;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_HD_AC3_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_MP_HD_AC3_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_HD_AAC;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_HD_AAC_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_MP_HD_AAC_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_HD_AAC_LTP;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_HD_AAC_LTP_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_MP_HD_AAC_LTP_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_HD_AAC_LTP_MULT5;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_HD_AAC_LTP_MULT5_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_MP_HD_AAC_LTP_MULT5_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_HD_AAC_LTP_MULT7;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_MP_HD_AAC_LTP_MULT7_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_MP_HD_AAC_LTP_MULT7_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_BL_CIF15_AAC;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_BL_CIF15_AAC_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_BL_CIF15_AAC_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_BL_CIF15_AAC_540;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_BL_CIF15_AAC_540_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_BL_CIF15_AAC_540_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_BL_CIF15_AAC_LTP;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_BL_CIF15_AAC_LTP_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_BL_CIF15_AAC_LTP_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_BL_CIF15_BSAC;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_BL_CIF15_BSAC_T;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mpeg:DLNA.ORG_PN=AVC_TS_BL_CIF15_BSAC_ISO;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_BL_CIF15_AAC;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_BL_CIF15_AAC_520;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_BL_CIF15_AAC_LTP;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_BL_CIF15_AAC_LTP_520;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_BL_CIF15_BSAC;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/3gpp:DLNA.ORG_PN=AVC_3GPP_BL_QCIF15_AAC;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/3gpp:DLNA.ORG_PN=AVC_3GPP_BL_QCIF15_AAC_LTP;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVMED_BASE;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVMED_FULL;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVHIGH_FULL;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVSPLL_BASE;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVSPML_BASE;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVSPML_MP3;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:image/jpeg:*,http-get:*:audio/mpeg:*,http-get:*:video/x-msvideo:*,http-get:*:video/x-ms-asf:*,http-get:*:video/x-divx:*,http-get:*:video/x-ms-wmv:*,http-get:*:video/x-mkv:*,http-get:*:video/mp4:*,http-get:*:video/x-avi:*,http-get:*:video/avi:*,http-get:*:video/x-flv:*,http-get:*:video/mpeg:*,http-get:*:video/3gpp:*
13.026: UPnPAVRendererController::OnEventNotifyCallback(428)/5064: INFO: <<<< TV-40C7700: EVENT CurrentConnectionIDs=
13.026: UPnPAVRendererController::OnEventNotifyCallback(428)/5064: INFO: <<<< TV-40C7700: EVENT PresetNameList=FactoryDefaults
13.026: UPnPAVRendererController::OnEventNotifyCallback(428)/5064: INFO: <<<< TV-40C7700: EVENT Brightness=44
13.026: UPnPAVRendererController::OnEventNotifyCallback(428)/5064: INFO: <<<< TV-40C7700: EVENT Contrast=93
13.026: UPnPAVRendererController::OnEventNotifyCallback(428)/5064: INFO: <<<< TV-40C7700: EVENT Sharpness=10
13.026: UPnPAVRendererController::OnEventNotifyCallback(428)/5064: INFO: <<<< TV-40C7700: EVENT ColorTemperature=5
13.026: UPnPAVRendererController::OnEventNotifyCallback(428)/5064: INFO: <<<< TV-40C7700: EVENT Mute=0
13.026: UPnPAVRendererController::OnEventNotifyCallback(428)/5064: INFO: <<<< TV-40C7700: EVENT Volume=7
13.026: UPnPAVRendererController::OnEventNotifyCallback(428)/5064: INFO: <<<< TV-40C7700: EVENT X_SlideShowEffect=DEFAULT
13.026: UPnPAVRendererController::OnEventNotifyCallback(428)/5064: INFO: <<<< TV-40C7700: EVENT X_ImageScale=1
13.026: UPnPAVRendererController::OnEventNotifyCallback(428)/5064: INFO: <<<< TV-40C7700: EVENT X_ImageRotation=0
13.291: RendererController::InvokeAction(88)/4968: INFO: >>>> CALL GetTransportInfo
13.291: RendererController::OnActionResponse(127)/4936: INFO: <<<< TV-40C7700: RET GetTransportInfo: res = 0
14.118: PLT_CtrlPoint::ProcessGetDescriptionResponse(1179)/2484: INFO: Received device description for 75f1be1d-6f83-5fb6-8869-2e5e2d9ad217 (result = 0)
14.118: PLT_CtrlPoint::ProcessGetDescriptionResponse(1230)/2484: SEVERE: NPT_CHECK failed, result=-20000 (NPT_ERROR_INVALID_PARAMETERS) [(res)]
14.118: PLT_CtrlPoint::ProcessGetDescriptionResponse(1258)/2484: SEVERE: Bad Description response for device "75f1be1d-6f83-5fb6-8869-2e5e2d9ad217": <?xml version="1.0"?>
<root xmlns="urn:schemas-upnp-org:device-1-0">
<specVersion>
<major>1</major>
<minor>0</minor>
</specVersion>
<device xmlns:rui="urn:schemas-ce-org:cea2014-server-ext-1-0">
<deviceType>urn:schemas-ce-org:device:RemoteUIServerDevice:1</deviceType>
<friendlyName>TV-40C7700</friendlyName>
<manufacturer>Samsung Electronics</manufacturer>
<manufacturerURL>http://www.samsung.com</manufacturerURL>
<modelDescription>Remote UI Server - DTV</modelDescription>
<modelName>SamsungCERemoteServer</modelName>
<modelNumber>1.0</modelNumber>
<modelURL>http://www.samsung.com</modelURL>
<serialNumber>20090601</serialNumber>
<UDN>uuid:75f1be1d-6f83-5fb6-8869-2e5e2d9ad217</UDN>
<UPC>129156725912</UPC>
<iconList>
<icon>
<mimetype>image/jpeg</mimetype>
<width>48</width>
<height>48</height>
<depth>24</depth>
<url>/ruis/icon_SML.jpg</url>
</icon>
<icon>
<mimetype>image/jpeg</mimetype>
<width>120</width>
<height>120</height>
<depth>24</depth>
<url>/ruis/icon_LRG.jpg</url>
</icon>
<icon>
<mimetype>image/png</mimetype>
<width>48</width>
<height>48</height>
<depth>24</depth>
<url>/ruis/icon_SML.png</url>
</icon>
<icon>
<mimetype>image/png</mimetype>
<width>120</width>
<height>120</height>
<depth>24</depth>
<url>/ruis/icon_LRG.png</url>
</icon>
</iconList>
<rui:uiServerInfo xmlns:rui="urn:schemas-ce-org:cea-2014-server-ext-1-0">
<rui:uiListURL>http://192.168.0.103:5601/XMLUIList_1001/RemoteUIServerUIList.xml</rui:uiListURL>
</rui:uiServerInfo>
<serviceList>
<service>
<serviceType>urn:schemas-ce-org:service:RemoteUIServer:1</serviceType>
<serviceId>urn:ce-org:serviceId:RemoteUIServer1</serviceId>
<SCPDURL>RUISSCPD.xml</SCPDURL>
<controlURL />
<eventSubURL />
</service>
</serviceList>
</device>
</root>

14.118: PLT_CtrlPoint::CleanupDevice(1004)/2484: INFO: Removing 75f1be1d-6f83-5fb6-8869-2e5e2d9ad217 from device list

14.305: RendererController::InvokeAction(88)/4968: INFO: >>>> CALL GetTransportInfo
14.305: RendererController::OnActionResponse(127)/3828: INFO: <<<< TV-40C7700: RET GetTransportInfo: res = 0
15.319: RendererController::InvokeAction(88)/4968: INFO: >>>> CALL GetTransportInfo
15.319: RendererController::OnActionResponse(127)/3452: INFO: <<<< TV-40C7700: RET GetTransportInfo: res = 0
16.333: RendererController::InvokeAction(88)/4968: INFO: >>>> CALL GetTransportInfo
16.333: RendererController::OnActionResponse(127)/4920: INFO: <<<< TV-40C7700: RET GetTransportInfo: res = 0
17.347: RendererController::InvokeAction(88)/4968: INFO: >>>> CALL GetTransportInfo
17.347: RendererController::OnActionResponse(127)/4576: INFO: <<<< TV-40C7700: RET GetTransportInfo: res = 0
18.361: RendererController::InvokeAction(88)/4968: INFO: >>>> CALL GetTransportInfo
18.361: RendererController::OnActionResponse(127)/5024: INFO: <<<< TV-40C7700: RET GetTransportInfo: res = 0
19.422: RendererController::InvokeAction(88)/4968: INFO: >>>> CALL GetTransportInfo
19.438: RendererController::OnActionResponse(127)/4132: INFO: <<<< TV-40C7700: RET GetTransportInfo: res = 0
20.452: RendererController::InvokeAction(88)/4968: INFO: >>>> CALL GetTransportInfo
20.467: RendererController::OnActionResponse(127)/2780: INFO: <<<< TV-40C7700: RET GetTransportInfo: res = 0
21.481: RendererController::InvokeAction(88)/4968: INFO: >>>> CALL GetTransportInfo
21.481: RendererController::OnActionResponse(127)/4628: INFO: <<<< TV-40C7700: RET GetTransportInfo: res = 0
22.495: RendererController::InvokeAction(88)/4064: INFO: >>>> CALL GetTransportInfo
22.495: RendererController::OnActionResponse(127)/324: INFO: <<<< TV-40C7700: RET GetTransportInfo: res = 0
23.509: RendererController::InvokeAction(88)/4064: INFO: >>>> CALL GetTransportInfo
23.509: RendererController::OnActionResponse(127)/3448: INFO: <<<< TV-40C7700: RET GetTransportInfo: res = 0
24.523: RendererController::InvokeAction(88)/4064: INFO: >>>> CALL GetTransportInfo
24.523: RendererController::OnActionResponse(127)/792: INFO: <<<< TV-40C7700: RET GetTransportInfo: res = 0
24.804: RendererController::GetNearestResource(201)/5064: INFO: matching resource url to target ip 192.168.0.103: http://192.168.0.100:56923/content/b66c5cd5ae903ad90aaab4a22dc4cee8.mp3
24.804: UPnPAVRendererController::SetAVTransportURIAction(507)/5064: INFO: CurrentURI = http://192.168.0.100:56923/content/b66c5cd5ae903ad90aaab4a22dc4cee8.mp3, CurrentURIMetaData = <DIDL-Lite xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/"><item id="1" parentID="0" restricted="1"><dc:title>Crocketts Theme</dc:title><dc:creator>Michael Cassette</dc:creator><dc:date>2010-01-01</dc:date><upnp:artist role="AlbumArtist">Michael Cassette</upnp:artist><upnp:author role="Composer">Written-By, Producer - Jan Hammer</upnp:author><upnp:album>Temporarity</upnp:album><upnp:genre>Progressive-House</upnp:genre><dc:publisher>Anjunadeep</dc:publisher><upnp:albumArtURI>http://192.168.0.100:56923/albumart/b66c5cd5ae903ad90aaab4a22dc4cee8</upnp:albumArtURI><upnp:longDescription>Anjunadeep: Anjcd020</upnp:longDescription><upnp:originalTrackNumber>3</upnp:originalTrackNumber><res duration="0:07:06.000" size="10710712" bitrate="25125" bitsPerSample="16" sampleFrequency="44100" nrAudioChannels="2" protocolInfo="http-get:*:audio/mpeg:DLNA.ORG_PN=MP3;DLNA.ORG_OP=01;DLNA.ORG_CI=0">http://192.168.0.100:56923/content/b66c5cd5ae903ad90aaab4a22dc4cee8.mp3</res><upnp:class>object.item.audioItem.musicTrack</upnp:class></item></DIDL-Lite>
24.804: RendererController::InvokeActionSync(99)/5064: INFO: >>>>>>>>>>>>> action (sync) : SetAVTransportURI <<<<<<<<<<<<<<
24.835: FbMediaServer::ProcessHttpRequest(306)/2352: INFO: received LAN request: http://192.168.0.100:56923/content/b66c5cd5ae903ad90aaab4a22dc4cee8.mp3 (User-Agent: Unknown)
24.835: PLT_HttpHelper::ToLog(410)/2352: INFO:
HEAD /content/b66c5cd5ae903ad90aaab4a22dc4cee8.mp3 HTTP/1.0
getcontentFeatures.dlna.org: 1
transferMode.dlna.org: Streaming
getMediaInfo.sec: 1
Host: 192.168.0.100:56923

24.835: upnp_server_conf::get_profile(720)/2352: INFO: using default profile (User-Agent:unknown)
opened 'file://Z:\Eigene Musik\Alben\Michael Cassette\Temporarity (2010)\03. Michael Cassette - Crocketts Theme.mp3' for streaming
25.537: RendererController::InvokeAction(88)/4064: INFO: >>>> CALL GetTransportInfo
25.537: RendererController::OnActionResponse(127)/3320: INFO: <<<< TV-40C7700: RET GetTransportInfo: res = 0
26.551: RendererController::InvokeAction(88)/4064: INFO: >>>> CALL GetTransportInfo
26.551: RendererController::OnActionResponse(127)/4004: INFO: <<<< TV-40C7700: RET GetTransportInfo: res = 0
27.565: RendererController::InvokeAction(88)/4064: INFO: >>>> CALL GetTransportInfo
27.565: RendererController::OnActionResponse(127)/1904: INFO: <<<< TV-40C7700: RET GetTransportInfo: res = 0
28.579: RendererController::InvokeAction(88)/4968: INFO: >>>> CALL GetTransportInfo
28.579: RendererController::OnActionResponse(127)/3964: INFO: <<<< TV-40C7700: RET GetTransportInfo: res = 0
29.593: RendererController::InvokeAction(88)/4968: INFO: >>>> CALL GetTransportInfo
29.593: RendererController::OnActionResponse(127)/2104: INFO: <<<< TV-40C7700: RET GetTransportInfo: res = 0
30.607: RendererController::InvokeAction(88)/4968: INFO: >>>> CALL GetTransportInfo
30.607: RendererController::OnActionResponse(127)/2660: INFO: <<<< TV-40C7700: RET GetTransportInfo: res = 0
31.621: RendererController::InvokeAction(88)/4968: INFO: >>>> CALL GetTransportInfo
31.621: RendererController::OnActionResponse(127)/2444: INFO: <<<< TV-40C7700: RET GetTransportInfo: res = 0
32.635: RendererController::InvokeAction(88)/4968: INFO: >>>> CALL GetTransportInfo
32.651: RendererController::OnActionResponse(127)/4036: INFO: <<<< TV-40C7700: RET GetTransportInfo: res = 0
33.665: RendererController::InvokeAction(88)/4968: INFO: >>>> CALL GetTransportInfo
33.665: RendererController::OnActionResponse(127)/4260: INFO: <<<< TV-40C7700: RET GetTransportInfo: res = 0
34.679: RendererController::InvokeAction(88)/4968: INFO: >>>> CALL GetTransportInfo
34.679: RendererController::OnActionResponse(127)/2772: INFO: <<<< TV-40C7700: RET GetTransportInfo: res = 0
35.693: RendererController::InvokeAction(88)/4968: INFO: >>>> CALL GetTransportInfo
35.693: RendererController::OnActionResponse(127)/4144: INFO: <<<< TV-40C7700: RET GetTransportInfo: res = 0
36.707: RendererController::InvokeAction(88)/4968: INFO: >>>> CALL GetTransportInfo
36.723: RendererController::OnActionResponse(127)/3460: INFO: <<<< TV-40C7700: RET GetTransportInfo: res = 0
37.737: RendererController::InvokeAction(88)/4968: INFO: >>>> CALL GetTransportInfo
37.752: RendererController::OnActionResponse(127)/1404: INFO: <<<< TV-40C7700: RET GetTransportInfo: res = 0
38.766: RendererController::InvokeAction(88)/4968: INFO: >>>> CALL GetTransportInfo
38.766: RendererController::OnActionResponse(127)/1592: INFO: <<<< TV-40C7700: RET GetTransportInfo: res = 0
39.780: RendererController::InvokeAction(88)/4968: INFO: >>>> CALL GetTransportInfo
39.780: RendererController::OnActionResponse(127)/3180: INFO: <<<< TV-40C7700: RET GetTransportInfo: res = 0
40.794: RendererController::InvokeAction(88)/4968: INFO: >>>> CALL GetTransportInfo
40.810: RendererController::OnActionResponse(127)/2696: INFO: <<<< TV-40C7700: RET GetTransportInfo: res = 0
41.824: RendererController::InvokeAction(88)/4968: INFO: >>>> CALL GetTransportInfo
41.824: RendererController::OnActionResponse(127)/384: INFO: <<<< TV-40C7700: RET GetTransportInfo: res = 0
42.308: RendererController::GetNearestResource(201)/5064: INFO: matching resource url to target ip 192.168.0.103: http://192.168.0.100:56923/content/b66c5cd5ae903ad90aaab4a22dc4cee8.mp3
42.308: UPnPAVRendererController::SetAVTransportURIAction(507)/5064: INFO: CurrentURI = http://192.168.0.100:56923/content/b66c5cd5ae903ad90aaab4a22dc4cee8.mp3, CurrentURIMetaData = <DIDL-Lite xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/"><item id="1" parentID="0" restricted="1"><dc:title>Crocketts Theme</dc:title><dc:creator>Michael Cassette</dc:creator><dc:date>2010-01-01</dc:date><upnp:artist role="AlbumArtist">Michael Cassette</upnp:artist><upnp:author role="Composer">Written-By, Producer - Jan Hammer</upnp:author><upnp:album>Temporarity</upnp:album><upnp:genre>Progressive-House</upnp:genre><dc:publisher>Anjunadeep</dc:publisher><upnp:albumArtURI>http://192.168.0.100:56923/albumart/b66c5cd5ae903ad90aaab4a22dc4cee8</upnp:albumArtURI><upnp:longDescription>Anjunadeep: Anjcd020</upnp:longDescription><upnp:originalTrackNumber>3</upnp:originalTrackNumber><res duration="0:07:06.000" size="10710712" bitrate="25125" bitsPerSample="16" sampleFrequency="44100" nrAudioChannels="2" protocolInfo="http-get:*:audio/mpeg:DLNA.ORG_PN=MP3;DLNA.ORG_OP=01;DLNA.ORG_CI=0">http://192.168.0.100:56923/content/b66c5cd5ae903ad90aaab4a22dc4cee8.mp3</res><upnp:class>object.item.audioItem.musicTrack</upnp:class></item></DIDL-Lite>
42.308: RendererController::InvokeActionSync(99)/5064: INFO: >>>>>>>>>>>>> action (sync) : SetAVTransportURI <<<<<<<<<<<<<<
42.323: FbMediaServer::ProcessHttpRequest(306)/1896: INFO: received LAN request: http://192.168.0.100:56923/content/b66c5cd5ae903ad90aaab4a22dc4cee8.mp3 (User-Agent: Unknown)
42.323: PLT_HttpHelper::ToLog(410)/1896: INFO:
HEAD /content/b66c5cd5ae903ad90aaab4a22dc4cee8.mp3 HTTP/1.0
getcontentFeatures.dlna.org: 1
transferMode.dlna.org: Streaming
getMediaInfo.sec: 1
Host: 192.168.0.100:56923

42.323: upnp_server_conf::get_profile(720)/1896: INFO: using default profile (User-Agent:unknown)
opened 'file://Z:\Eigene Musik\Alben\Michael Cassette\Temporarity (2010)\03. Michael Cassette - Crocketts Theme.mp3' for streaming
42.838: RendererController::InvokeAction(88)/4968: INFO: >>>> CALL GetTransportInfo
42.838: RendererController::OnActionResponse(127)/3948: INFO: <<<< TV-40C7700: RET GetTransportInfo: res = 0
43.852: RendererController::InvokeAction(88)/4968: INFO: >>>> CALL GetTransportInfo
43.852: RendererController::OnActionResponse(127)/4924: INFO: <<<< TV-40C7700: RET GetTransportInfo: res = 0
44.866: RendererController::InvokeAction(88)/4968: INFO: >>>> CALL GetTransportInfo
44.866: RendererController::OnActionResponse(127)/4140: INFO: <<<< TV-40C7700: RET GetTransportInfo: res = 0
45.880: RendererController::InvokeAction(88)/4968: INFO: >>>> CALL GetTransportInfo
45.896: RendererController::OnActionResponse(127)/5052: INFO: <<<< TV-40C7700: RET GetTransportInfo: res = 0
46.910: RendererController::InvokeAction(88)/4968: INFO: >>>> CALL GetTransportInfo
46.910: RendererController::OnActionResponse(127)/1728: INFO: <<<< TV-40C7700: RET GetTransportInfo: res = 0
47.924: RendererController::Inv
Title: foo_upnp
Post by: war59312 on 2010-12-18 03:30:34
No idea, what has happened but now getting this on every start-up of Foobar2000:

Quote
foo_upnp: 0.004: NPT_BsdSocket::Bind(1068)/4972: SEVERE: bind failed(), error=10013
foo_upnp: 0.004: PLT_UPnP::Start(228)/4972: SEVERE: NPT_CHECK failed, result=-20409 (NPT_ERROR_BIND_FAILED) [(socket->Bind(NPT_SocketAddress(NPT_IpAddress::Any, m_Port)))]


Turns out it was Hamachi2 causing this issue: http://community.logmein.com/t5/Hamachi/Ha...-x64/td-p/54186 (http://community.logmein.com/t5/Hamachi/Hamachi2-Version-2-0-3-89-Update-Breaks-UPnP-On-Win7-x64/td-p/54186)

Crazy!
Title: foo_upnp
Post by: Brainbug on 2010-12-19 15:42:52
hey, just want to say "thank you". now i can stream my flac-files to my airport express. cool stuff!
Title: foo_upnp
Post by: baniels on 2010-12-28 06:06:19
This is really fantastic.  I had downloaded this a few weeks to screw around with UPnPlay on my android phone.  But now that I have a new Oppo BDP-93, this plugin is becoming extremely powerful.

Question about Playback Stream Capture: I have a mixture of 96/24, 44.1/16, 48/24, etc. FLAC files.  I have no reason to downsample anything... but I don't know that there's anything to gain (or lose) by upsampling.  Might there someday be an option to leave the files alone and stream at whatever sample rate / bit depth is present in the file?
Title: foo_upnp
Post by: dvdr on 2011-01-02 12:01:21
I am trying to get the "Playback stream capture" to start automatically upon foobar startup - is this possible?
Right now, I am only able to do this via foobar's interface by clicking on the playback button marked with "C".

Reason for this: I have installed foobar on my windows home server and I am trying to make it run as a service and stream to a media renderer. I would then like to connect to it using my iPhone as a remote control for foobar (there's some remote control possibilities), but all I can achieve is to start and stop normal playback. Unfortunately, I have not found any web-accessable layouts nor iPhone apps, that can access the "C"-button.
So: I can connect to foobar running as a service, but I can - let's put it that way - only access the normal "play", "pause" & skip buttons, but not manually acces the "C"-button.

If there's a way to "autostart" the "playback stream capture" upon startup of foobar, then I would be able to control playback. Maybe, there is a command line switch????

Any help would be most appreciated!
Title: foo_upnp
Post by: bubbleguuum on 2011-01-02 14:01:16
Question about Playback Stream Capture: I have a mixture of 96/24, 44.1/16, 48/24, etc. FLAC files.  I have no reason to downsample anything... but I don't know that there's anything to gain (or lose) by upsampling.  Might there someday be an option to leave the files alone and stream at whatever sample rate / bit depth is present in the file?


It depends on how you stream to your Oppo:  if you use playback stream capture, everything played by foobar2000 is streamed as a continuous PCM stream whose samplerate and bitdepth are fixed but configurable (in the relevant streaming profile, probably the default profile in your case).
If you stream individual files using either the UPnP Controller in foobar2000 or using another Control Point (or from the Oppo itself), then files are streamed according to the relevant streaming profile. If you configure the profile and tell the renderer is 96/24 capable and supports FLAC, then the files won't be streamed resampled to a lower compatible samplerate by the plugin (or converted to PCM).



I am trying to get the "Playback stream capture" to start automatically upon foobar startup - is this possible?
Right now, I am only able to do this via foobar's interface by clicking on the playback button marked with "C".

Reason for this: I have installed foobar on my windows home server and I am trying to make it run as a service and stream to a media renderer. I would then like to connect to it using my iPhone as a remote control for foobar (there's some remote control possibilities), but all I can achieve is to start and stop normal playback. Unfortunately, I have not found any web-accessable layouts nor iPhone apps, that can access the "C"-button.
So: I can connect to foobar running as a service, but I can - let's put it that way - only access the normal "play", "pause" & skip buttons, but not manually acces the "C"-button.

If there's a way to "autostart" the "playback stream capture" upon startup of foobar, then I would be able to control playback. Maybe, there is a command line switch????


It cannot be autostarted. And if it did it would have to be autostarted for a specific renderer. I can see how it could be useful if you want to use your renderer just as a networked sound card to which foobar2000 outputs audio. The "C"-button is a command that is registered to the core so in theory it can be called (and keyboard mapped).
So if there is a component that can execute arbitrary command at initiliazation, it could be called (after a few second after startup: renderer must be detected first).
If the web layout allow to call arbitrary commands (ie commands listed in Preferences>Keyboard Shortcuts), theorically a button could be added for it.
You can also start Playback Stream Capture from any Control Point (or device with browsing capabilties) : the media server expose it at the root of the tree.
Title: foo_upnp
Post by: drolevar on 2011-01-02 14:02:42
Hi!

I'm trying to get a listing of the Media Library from my Samsung TV. If I select either Playlists or Media Library, I get an error that the request did not succeed.

Here's the log:

Code: [Select]
foo_upnp: 153.299: FbMediaServer::ProcessHttpRequest(306)/29: INFO: received LAN request: [url=http://192.168.0.100:30000/ContentDirectory/467b9262-cfce-029a-e5f2-065122381ea4/control.xml]http://192.168.0.100:30000/ContentDirector...ea4/control.xml[/url] (User-Agent: DLNADOC/1.50)
foo_upnp: 153.302: FbMediaServer::OnAction(243)/29: INFO: received action 'Browse', args = { ObjectID=0, BrowseFlag=BrowseDirectChildren, Filter=*, StartingIndex=0, RequestedCount=1, SortCriteria= }
foo_upnp: 153.302: PLT_MediaServer::OnBrowse(380)/29: INFO: Received BrowseDirectChildren from 192.168.0.102 for id = 0 with filter = *, start = 0, count = 1
foo_upnp: 153.303: FbMediaServer::OnAction(260)/29: INFO: action 'Browse' response: args = { ObjectID=0, BrowseFlag=BrowseDirectChildren, Filter=*, StartingIndex=0, RequestedCount=1, SortCriteria=, NumberReturned=1, TotalMatches=3, UpdateID=0 }
foo_upnp: 153.331: FbMediaServer::ProcessHttpRequest(306)/32: INFO: received LAN request: [url=http://192.168.0.100:30000/ContentDirectory/467b9262-cfce-029a-e5f2-065122381ea4/control.xml]http://192.168.0.100:30000/ContentDirector...ea4/control.xml[/url] (User-Agent: DLNADOC/1.50)
foo_upnp: 153.332: FbMediaServer::OnAction(243)/32: INFO: received action 'Browse', args = { ObjectID=0, BrowseFlag=BrowseDirectChildren, Filter=@id,@parentID,@restricted,dc:title,upnp:class,res,dc:date,@childCount,sec:CaptionInfo,sec:Cap
tionInfoEx,res@resolution,res@size,upnp:genre,dc:date,upnp:album,res@duration,upnp:albumArtURI,res@bi
trate,dc:creator, StartingIndex=0, RequestedCount=20, SortCriteria= }
foo_upnp: 153.332: PLT_MediaServer::OnBrowse(380)/32: INFO: Received BrowseDirectChildren from 192.168.0.102 for id = 0 with filter = @id,@parentID,@restricted,dc:title,upnp:class,res,dc:date,@childCount,sec:CaptionInfo,sec:CaptionInf
oEx,res@resolution,res@size,upnp:genre,dc:date,upnp:album,res@duration,upnp:albumArtURI,res@bitrate,d
c:creator, start = 0, count = 20
foo_upnp: 153.333: FbMediaServer::OnAction(260)/32: INFO: action 'Browse' response: args = { ObjectID=0, BrowseFlag=BrowseDirectChildren, Filter=@id,@parentID,@restricted,dc:title,upnp:class,res,dc:date,@childCount,sec:CaptionInfo,sec:Cap
tionInfoEx,res@resolution,res@size,upnp:genre,dc:date,upnp:album,res@duration,upnp:albumArtURI,res@bi
trate,dc:creator, StartingIndex=0, RequestedCount=20, SortCriteria=, NumberReturned=3, TotalMatches=3, UpdateID=0 }
foo_upnp: 153.501: FbMediaServer::ProcessHttpRequest(306)/63: INFO: received LAN request: [url=http://192.168.0.100:30000/ContentDirectory/467b9262-cfce-029a-e5f2-065122381ea4/control.xml]http://192.168.0.100:30000/ContentDirector...ea4/control.xml[/url] (User-Agent: DLNADOC/1.50)
foo_upnp: 153.517: FbMediaServer::OnAction(243)/63: INFO: received action 'Browse', args = { ObjectID=0, BrowseFlag=BrowseDirectChildren, Filter=@id,@parentID,@restricted,dc:title,upnp:class,res,dc:date,@childCount,sec:CaptionInfo,sec:Cap
tionInfoEx,res@resolution,res@size,upnp:genre,dc:date,upnp:album,res@duration,upnp:albumArtURI,res@bi
trate,dc:creator, StartingIndex=0, RequestedCount=1, SortCriteria= }
foo_upnp: 153.518: PLT_MediaServer::OnBrowse(380)/63: INFO: Received BrowseDirectChildren from 192.168.0.102 for id = 0 with filter = @id,@parentID,@restricted,dc:title,upnp:class,res,dc:date,@childCount,sec:CaptionInfo,sec:CaptionInf
oEx,res@resolution,res@size,upnp:genre,dc:date,upnp:album,res@duration,upnp:albumArtURI,res@bitrate,d
c:creator, start = 0, count = 1
foo_upnp: 153.518: FbMediaServer::OnAction(260)/63: INFO: action 'Browse' response: args = { ObjectID=0, BrowseFlag=BrowseDirectChildren, Filter=@id,@parentID,@restricted,dc:title,upnp:class,res,dc:date,@childCount,sec:CaptionInfo,sec:Cap
tionInfoEx,res@resolution,res@size,upnp:genre,dc:date,upnp:album,res@duration,upnp:albumArtURI,res@bi
trate,dc:creator, StartingIndex=0, RequestedCount=1, SortCriteria=, NumberReturned=1, TotalMatches=3, UpdateID=0 }
foo_upnp: 153.553: FbMediaServer::ProcessHttpRequest(306)/64: INFO: received LAN request: [url=http://192.168.0.100:30000/ContentDirectory/467b9262-cfce-029a-e5f2-065122381ea4/control.xml]http://192.168.0.100:30000/ContentDirector...ea4/control.xml[/url] (User-Agent: DLNADOC/1.50)
foo_upnp: 153.554: FbMediaServer::OnAction(243)/64: INFO: received action 'Browse', args = { ObjectID=0, BrowseFlag=BrowseDirectChildren, Filter=@id,@parentID,@restricted,dc:title,upnp:class,res,dc:date,@childCount,sec:CaptionInfo,sec:Cap
tionInfoEx,res@resolution,res@size,upnp:genre,dc:date,upnp:album,res@duration,upnp:albumArtURI,res@bi
trate,dc:creator, StartingIndex=1, RequestedCount=1, SortCriteria= }
foo_upnp: 153.554: PLT_MediaServer::OnBrowse(380)/64: INFO: Received BrowseDirectChildren from 192.168.0.102 for id = 0 with filter = @id,@parentID,@restricted,dc:title,upnp:class,res,dc:date,@childCount,sec:CaptionInfo,sec:CaptionInf
oEx,res@resolution,res@size,upnp:genre,dc:date,upnp:album,res@duration,upnp:albumArtURI,res@bitrate,d
c:creator, start = 1, count = 1
foo_upnp: 153.555: FbMediaServer::OnAction(260)/64: INFO: action 'Browse' response: args = { ObjectID=0, BrowseFlag=BrowseDirectChildren, Filter=@id,@parentID,@restricted,dc:title,upnp:class,res,dc:date,@childCount,sec:CaptionInfo,sec:Cap
tionInfoEx,res@resolution,res@size,upnp:genre,dc:date,upnp:album,res@duration,upnp:albumArtURI,res@bi
trate,dc:creator, StartingIndex=1, RequestedCount=1, SortCriteria=, NumberReturned=1, TotalMatches=3, UpdateID=0 }
foo_upnp: 153.582: FbMediaServer::ProcessHttpRequest(306)/50: INFO: received LAN request: [url=http://192.168.0.100:30000/ContentDirectory/467b9262-cfce-029a-e5f2-065122381ea4/control.xml]http://192.168.0.100:30000/ContentDirector...ea4/control.xml[/url] (User-Agent: DLNADOC/1.50)
foo_upnp: 153.585: FbMediaServer::OnAction(243)/50: INFO: received action 'Browse', args = { ObjectID=0, BrowseFlag=BrowseDirectChildren, Filter=@id,@parentID,@restricted,dc:title,upnp:class,res,dc:date,@childCount,sec:CaptionInfo,sec:Cap
tionInfoEx,res@resolution,res@size,upnp:genre,dc:date,upnp:album,res@duration,upnp:albumArtURI,res@bi
trate,dc:creator, StartingIndex=2, RequestedCount=1, SortCriteria= }
foo_upnp: 153.586: PLT_MediaServer::OnBrowse(380)/50: INFO: Received BrowseDirectChildren from 192.168.0.102 for id = 0 with filter = @id,@parentID,@restricted,dc:title,upnp:class,res,dc:date,@childCount,sec:CaptionInfo,sec:CaptionInf
oEx,res@resolution,res@size,upnp:genre,dc:date,upnp:album,res@duration,upnp:albumArtURI,res@bitrate,d
c:creator, start = 2, count = 1
foo_upnp: 153.586: FbMediaServer::OnAction(260)/50: INFO: action 'Browse' response: args = { ObjectID=0, BrowseFlag=BrowseDirectChildren, Filter=@id,@parentID,@restricted,dc:title,upnp:class,res,dc:date,@childCount,sec:CaptionInfo,sec:Cap
tionInfoEx,res@resolution,res@size,upnp:genre,dc:date,upnp:album,res@duration,upnp:albumArtURI,res@bi
trate,dc:creator, StartingIndex=2, RequestedCount=1, SortCriteria=, NumberReturned=1, TotalMatches=3, UpdateID=0 }
foo_upnp: 155.533: FbMediaServer::ProcessHttpRequest(306)/59: INFO: received LAN request: [url=http://192.168.0.100:30000/ContentDirectory/467b9262-cfce-029a-e5f2-065122381ea4/control.xml]http://192.168.0.100:30000/ContentDirector...ea4/control.xml[/url] (User-Agent: DLNADOC/1.50)
foo_upnp: 155.535: FbMediaServer::OnAction(243)/59: INFO: received action 'Browse', args = { ObjectID=0/1, BrowseFlag=BrowseDirectChildren, Filter=*, StartingIndex=0, RequestedCount=1, SortCriteria= }
foo_upnp: 155.535: PLT_MediaServer::OnBrowse(380)/59: INFO: Received BrowseDirectChildren from 192.168.0.102 for id = 0/1 with filter = *, start = 0, count = 1
foo_upnp: 155.536: FbMediaServer::OnAction(260)/59: INFO: action 'Browse' response: args = { ObjectID=0/1, BrowseFlag=BrowseDirectChildren, Filter=*, StartingIndex=0, RequestedCount=1, SortCriteria=, NumberReturned=1, TotalMatches=8, UpdateID=0 }
foo_upnp: 155.564: FbMediaServer::ProcessHttpRequest(306)/66: INFO: received LAN request: [url=http://192.168.0.100:30000/ContentDirectory/467b9262-cfce-029a-e5f2-065122381ea4/control.xml]http://192.168.0.100:30000/ContentDirector...ea4/control.xml[/url] (User-Agent: DLNADOC/1.50)
foo_upnp: 155.565: FbMediaServer::OnAction(243)/66: INFO: received action 'Browse', args = { ObjectID=0/1, BrowseFlag=BrowseMetadata, Filter=@parentID, StartingIndex=0, RequestedCount=0, SortCriteria= }
foo_upnp: 155.566: PLT_MediaServer::OnBrowse(361)/66: WARNING: Invalid arguments (0, 0, @parentID)
foo_upnp: 155.566: FbMediaServer::OnAction(260)/66: INFO: action 'Browse' response: args = { ObjectID=0/1, BrowseFlag=BrowseMetadata, Filter=@parentID, StartingIndex=0, RequestedCount=0, SortCriteria= }

Here's the extended log:

Code: [Select]
foo_upnp: 614.280: NPT_Win32Thread::Start(483)/40: FINER: creating thread
foo_upnp: 614.281: NPT_Win32Thread::EntryPoint(450)/64: FINER: thread in =======================
foo_upnp: 614.281: PLT_HttpListenTask<class PLT_HttpServerListener>::DoRun(156)/40: FINE: current http task count = 2
foo_upnp: 614.282: NPT_HttpRequest::Parse(617)/64: FINEST: http request: POST /ContentDirectory/467b9262-cfce-029a-e5f2-065122381ea4/control.xml HTTP/1.0
foo_upnp: 614.283: NPT_HttpHeaders::Parse(185)/64: FINEST: header - HOST: 192.168.0.100:30000
foo_upnp: 614.283: NPT_HttpHeaders::Parse(185)/64: FINEST: header - CONTENT-LENGTH: 415
foo_upnp: 614.284: NPT_HttpHeaders::Parse(185)/64: FINEST: header - CONTENT-TYPE: text/xml;charset="utf-8"
foo_upnp: 614.284: NPT_HttpHeaders::Parse(185)/64: FINEST: header - USER-AGENT: DLNADOC/1.50
foo_upnp: 614.285: NPT_HttpHeaders::Parse(215)/64: FINEST: header SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
foo_upnp: 614.285: PLT_HttpServer::ProcessHttpRequest(142)/64: FINE: Received POST Request from 192.168.0.102 for /ContentDirectory/467b9262-cfce-029a-e5f2-065122381ea4/control.xml
foo_upnp: 614.285: PLT_HttpHelper::ToLog(410)/64: FINER:
POST /ContentDirectory/467b9262-cfce-029a-e5f2-065122381ea4/control.xml HTTP/1.0
HOST: 192.168.0.100:30000
CONTENT-LENGTH: 415
CONTENT-TYPE: text/xml;charset="utf-8"
USER-AGENT: DLNADOC/1.50
SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
foo_upnp: 614.288: FbMediaServer::ProcessHttpRequest(306)/64: INFO: received LAN request: [url=http://192.168.0.100:30000/ContentDirectory/467b9262-cfce-029a-e5f2-065122381ea4/control.xml]http://192.168.0.100:30000/ContentDirector...ea4/control.xml[/url] (User-Agent: DLNADOC/1.50)
foo_upnp: 614.288: PLT_DeviceHost::ProcessHttpRequest(376)/64: FINER: PLT_DeviceHost Received Request:
foo_upnp: 614.288: PLT_HttpHelper::ToLog(410)/64: FINER:
POST /ContentDirectory/467b9262-cfce-029a-e5f2-065122381ea4/control.xml HTTP/1.0
HOST: 192.168.0.100:30000
CONTENT-LENGTH: 415
CONTENT-TYPE: text/xml;charset="utf-8"
USER-AGENT: DLNADOC/1.50
SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
foo_upnp: 614.289: PLT_DeviceHost::ProcessHttpPostRequest(555)/64: FINE: Received Browse action from 192.168.0.102
foo_upnp: 614.289: FbMediaServer::OnAction(243)/64: INFO: received action 'Browse', args = { ObjectID=0, BrowseFlag=BrowseDirectChildren, Filter=*, StartingIndex=0, RequestedCount=1, SortCriteria= }
foo_upnp: 614.290: PLT_MediaServer::OnBrowse(380)/64: INFO: Received BrowseDirectChildren from 192.168.0.102 for id = 0 with filter = *, start = 0, count = 1
foo_upnp: 614.290: FbMediaServer::OnAction(260)/64: INFO: action 'Browse' response: args = { ObjectID=0, BrowseFlag=BrowseDirectChildren, Filter=*, StartingIndex=0, RequestedCount=1, SortCriteria=, NumberReturned=1, TotalMatches=3, UpdateID=0 }
foo_upnp: 614.290: PLT_HttpServerSocketTask::Write(322)/64: FINER: PLT_HttpServerTask Sending response:
foo_upnp: 614.291: PLT_HttpHelper::ToLog(496)/64: FINER:
HTTP/1.1 200 OK
Server: Platinum/0.5.4.0
Content-Type: text/xml; charset="utf-8"
Ext:
Connection: close
Content-Length: 894
foo_upnp: 614.291: NPT_HttpHeader::Emit(118)/64: FINEST: header Server: Platinum/0.5.4.0
foo_upnp: 614.292: NPT_HttpHeader::Emit(118)/64: FINEST: header Content-Type: text/xml; charset="utf-8"
foo_upnp: 614.292: NPT_HttpHeader::Emit(118)/64: FINEST: header Ext:
foo_upnp: 614.292: NPT_HttpHeader::Emit(118)/64: FINEST: header Connection: close
foo_upnp: 614.293: NPT_HttpHeader::Emit(118)/64: FINEST: header Content-Length: 894
foo_upnp: 614.293: PLT_HttpServerSocketTask::Write(336)/64: FINER: keep_alive = false, headers_only = false
foo_upnp: 614.294: PLT_HttpServerSocketTask::Write(341)/64: FINER: NPT_StreamToStreamCopy begin
foo_upnp: 614.294: PLT_HttpServerSocketTask::Write(349)/64: FINER: NPT_StreamToStreamCopy end
foo_upnp: 614.311: NPT_Win32Thread::Start(483)/40: FINER: creating thread
foo_upnp: 614.313: NPT_Win32Thread::EntryPoint(450)/50: FINER: thread in =======================
foo_upnp: 614.314: PLT_HttpListenTask<class PLT_HttpServerListener>::DoRun(156)/40: FINE: current http task count = 2
foo_upnp: 614.315: NPT_HttpRequest::Parse(617)/50: FINEST: http request: POST /ContentDirectory/467b9262-cfce-029a-e5f2-065122381ea4/control.xml HTTP/1.0
foo_upnp: 614.315: NPT_HttpHeaders::Parse(185)/50: FINEST: header - HOST: 192.168.0.100:30000
foo_upnp: 614.315: NPT_HttpHeaders::Parse(185)/50: FINEST: header - CONTENT-LENGTH: 625
foo_upnp: 614.316: NPT_HttpHeaders::Parse(185)/50: FINEST: header - CONTENT-TYPE: text/xml;charset="utf-8"
foo_upnp: 614.316: NPT_HttpHeaders::Parse(185)/50: FINEST: header - USER-AGENT: DLNADOC/1.50
foo_upnp: 614.316: NPT_HttpHeaders::Parse(215)/50: FINEST: header SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
foo_upnp: 614.317: PLT_HttpServer::ProcessHttpRequest(142)/50: FINE: Received POST Request from 192.168.0.102 for /ContentDirectory/467b9262-cfce-029a-e5f2-065122381ea4/control.xml
foo_upnp: 614.317: PLT_HttpHelper::ToLog(410)/50: FINER:
POST /ContentDirectory/467b9262-cfce-029a-e5f2-065122381ea4/control.xml HTTP/1.0
HOST: 192.168.0.100:30000
CONTENT-LENGTH: 625
CONTENT-TYPE: text/xml;charset="utf-8"
USER-AGENT: DLNADOC/1.50
SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
foo_upnp: 614.320: FbMediaServer::ProcessHttpRequest(306)/50: INFO: received LAN request: [url=http://192.168.0.100:30000/ContentDirectory/467b9262-cfce-029a-e5f2-065122381ea4/control.xml]http://192.168.0.100:30000/ContentDirector...ea4/control.xml[/url] (User-Agent: DLNADOC/1.50)
foo_upnp: 614.320: PLT_DeviceHost::ProcessHttpRequest(376)/50: FINER: PLT_DeviceHost Received Request:
foo_upnp: 614.321: PLT_HttpHelper::ToLog(410)/50: FINER:
POST /ContentDirectory/467b9262-cfce-029a-e5f2-065122381ea4/control.xml HTTP/1.0
HOST: 192.168.0.100:30000
CONTENT-LENGTH: 625
CONTENT-TYPE: text/xml;charset="utf-8"
USER-AGENT: DLNADOC/1.50
SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
foo_upnp: 614.322: PLT_DeviceHost::ProcessHttpPostRequest(555)/50: FINE: Received Browse action from 192.168.0.102
foo_upnp: 614.322: FbMediaServer::OnAction(243)/50: INFO: received action 'Browse', args = { ObjectID=0, BrowseFlag=BrowseDirectChildren, Filter=@id,@parentID,@restricted,dc:title,upnp:class,res,dc:date,@childCount,sec:CaptionInfo,sec:Cap
tionInfoEx,res@resolution,res@size,upnp:genre,dc:date,upnp:album,res@duration,upnp:albumArtURI,res@bi
trate,dc:creator, StartingIndex=0, RequestedCount=20, SortCriteria= }
foo_upnp: 614.323: PLT_MediaServer::OnBrowse(380)/50: INFO: Received BrowseDirectChildren from 192.168.0.102 for id = 0 with filter = @id,@parentID,@restricted,dc:title,upnp:class,res,dc:date,@childCount,sec:CaptionInfo,sec:CaptionInf
oEx,res@resolution,res@size,upnp:genre,dc:date,upnp:album,res@duration,upnp:albumArtURI,res@bitrate,d
c:creator, start = 0, count = 20
foo_upnp: 614.323: FbMediaServer::OnAction(260)/50: INFO: action 'Browse' response: args = { ObjectID=0, BrowseFlag=BrowseDirectChildren, Filter=@id,@parentID,@restricted,dc:title,upnp:class,res,dc:date,@childCount,sec:CaptionInfo,sec:Cap
tionInfoEx,res@resolution,res@size,upnp:genre,dc:date,upnp:album,res@duration,upnp:albumArtURI,res@bi
trate,dc:creator, StartingIndex=0, RequestedCount=20, SortCriteria=, NumberReturned=3, TotalMatches=3, UpdateID=0 }
foo_upnp: 614.324: PLT_HttpServerSocketTask::Write(322)/50: FINER: PLT_HttpServerTask Sending response:
foo_upnp: 614.324: PLT_HttpHelper::ToLog(496)/50: FINER:
HTTP/1.1 200 OK
Server: Platinum/0.5.4.0
Content-Type: text/xml; charset="utf-8"
Ext:
Connection: close
Content-Length: 1407
foo_upnp: 614.325: NPT_HttpHeader::Emit(118)/50: FINEST: header Server: Platinum/0.5.4.0
foo_upnp: 614.325: NPT_HttpHeader::Emit(118)/50: FINEST: header Content-Type: text/xml; charset="utf-8"
foo_upnp: 614.325: NPT_HttpHeader::Emit(118)/50: FINEST: header Ext:
foo_upnp: 614.326: NPT_HttpHeader::Emit(118)/50: FINEST: header Connection: close
foo_upnp: 614.326: NPT_HttpHeader::Emit(118)/50: FINEST: header Content-Length: 1407
foo_upnp: 614.326: PLT_HttpServerSocketTask::Write(336)/50: FINER: keep_alive = false, headers_only = false
foo_upnp: 614.327: PLT_HttpServerSocketTask::Write(341)/50: FINER: NPT_StreamToStreamCopy begin
foo_upnp: 614.327: PLT_HttpServerSocketTask::Write(349)/50: FINER: NPT_StreamToStreamCopy end
foo_upnp: 614.493: NPT_Win32Thread::Start(483)/40: FINER: creating thread
foo_upnp: 614.508: NPT_Win32Thread::EntryPoint(450)/59: FINER: thread in =======================
foo_upnp: 614.508: PLT_HttpListenTask<class PLT_HttpServerListener>::DoRun(156)/40: FINE: current http task count = 2
foo_upnp: 614.509: NPT_HttpRequest::Parse(617)/59: FINEST: http request: POST /ContentDirectory/467b9262-cfce-029a-e5f2-065122381ea4/control.xml HTTP/1.0
foo_upnp: 614.509: NPT_HttpHeaders::Parse(185)/59: FINEST: header - HOST: 192.168.0.100:30000
foo_upnp: 614.512: NPT_HttpHeaders::Parse(185)/59: FINEST: header - CONTENT-LENGTH: 624
foo_upnp: 614.513: NPT_HttpHeaders::Parse(185)/59: FINEST: header - CONTENT-TYPE: text/xml;charset="utf-8"
foo_upnp: 614.513: NPT_HttpHeaders::Parse(185)/59: FINEST: header - USER-AGENT: DLNADOC/1.50
foo_upnp: 614.514: NPT_HttpHeaders::Parse(215)/59: FINEST: header SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
foo_upnp: 614.514: PLT_HttpServer::ProcessHttpRequest(142)/59: FINE: Received POST Request from 192.168.0.102 for /ContentDirectory/467b9262-cfce-029a-e5f2-065122381ea4/control.xml
foo_upnp: 614.514: PLT_HttpHelper::ToLog(410)/59: FINER:
POST /ContentDirectory/467b9262-cfce-029a-e5f2-065122381ea4/control.xml HTTP/1.0
HOST: 192.168.0.100:30000
CONTENT-LENGTH: 624
CONTENT-TYPE: text/xml;charset="utf-8"
USER-AGENT: DLNADOC/1.50
SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
foo_upnp: 614.519: FbMediaServer::ProcessHttpRequest(306)/59: INFO: received LAN request: [url=http://192.168.0.100:30000/ContentDirectory/467b9262-cfce-029a-e5f2-065122381ea4/control.xml]http://192.168.0.100:30000/ContentDirector...ea4/control.xml[/url] (User-Agent: DLNADOC/1.50)
foo_upnp: 614.520: PLT_DeviceHost::ProcessHttpRequest(376)/59: FINER: PLT_DeviceHost Received Request:
foo_upnp: 614.520: PLT_HttpHelper::ToLog(410)/59: FINER:
POST /ContentDirectory/467b9262-cfce-029a-e5f2-065122381ea4/control.xml HTTP/1.0
HOST: 192.168.0.100:30000
CONTENT-LENGTH: 624
CONTENT-TYPE: text/xml;charset="utf-8"
USER-AGENT: DLNADOC/1.50
SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
foo_upnp: 614.521: PLT_DeviceHost::ProcessHttpPostRequest(555)/59: FINE: Received Browse action from 192.168.0.102
foo_upnp: 614.521: FbMediaServer::OnAction(243)/59: INFO: received action 'Browse', args = { ObjectID=0, BrowseFlag=BrowseDirectChildren, Filter=@id,@parentID,@restricted,dc:title,upnp:class,res,dc:date,@childCount,sec:CaptionInfo,sec:Cap
tionInfoEx,res@resolution,res@size,upnp:genre,dc:date,upnp:album,res@duration,upnp:albumArtURI,res@bi
trate,dc:creator, StartingIndex=0, RequestedCount=1, SortCriteria= }
foo_upnp: 614.522: PLT_MediaServer::OnBrowse(380)/59: INFO: Received BrowseDirectChildren from 192.168.0.102 for id = 0 with filter = @id,@parentID,@restricted,dc:title,upnp:class,res,dc:date,@childCount,sec:CaptionInfo,sec:CaptionInf
oEx,res@resolution,res@size,upnp:genre,dc:date,upnp:album,res@duration,upnp:albumArtURI,res@bitrate,d
c:creator, start = 0, count = 1
foo_upnp: 614.522: FbMediaServer::OnAction(260)/59: INFO: action 'Browse' response: args = { ObjectID=0, BrowseFlag=BrowseDirectChildren, Filter=@id,@parentID,@restricted,dc:title,upnp:class,res,dc:date,@childCount,sec:CaptionInfo,sec:Cap
tionInfoEx,res@resolution,res@size,upnp:genre,dc:date,upnp:album,res@duration,upnp:albumArtURI,res@bi
trate,dc:creator, StartingIndex=0, RequestedCount=1, SortCriteria=, NumberReturned=1, TotalMatches=3, UpdateID=0 }
foo_upnp: 614.523: PLT_HttpServerSocketTask::Write(322)/59: FINER: PLT_HttpServerTask Sending response:
foo_upnp: 614.523: PLT_HttpHelper::ToLog(496)/59: FINER:
HTTP/1.1 200 OK
Server: Platinum/0.5.4.0
Content-Type: text/xml; charset="utf-8"
Ext:
Connection: close
Content-Length: 879
foo_upnp: 614.523: NPT_HttpHeader::Emit(118)/59: FINEST: header Server: Platinum/0.5.4.0
foo_upnp: 614.524: NPT_HttpHeader::Emit(118)/59: FINEST: header Content-Type: text/xml; charset="utf-8"
foo_upnp: 614.524: NPT_HttpHeader::Emit(118)/59: FINEST: header Ext:
foo_upnp: 614.524: NPT_HttpHeader::Emit(118)/59: FINEST: header Connection: close
foo_upnp: 614.525: NPT_HttpHeader::Emit(118)/59: FINEST: header Content-Length: 879
foo_upnp: 614.525: PLT_HttpServerSocketTask::Write(336)/59: FINER: keep_alive = false, headers_only = false
foo_upnp: 614.526: PLT_HttpServerSocketTask::Write(341)/59: FINER: NPT_StreamToStreamCopy begin
foo_upnp: 614.526: PLT_HttpServerSocketTask::Write(349)/59: FINER: NPT_StreamToStreamCopy end
foo_upnp: 614.537: NPT_Win32Thread::Start(483)/40: FINER: creating thread
foo_upnp: 614.538: PLT_HttpListenTask<class PLT_HttpServerListener>::DoRun(156)/40: FINE: current http task count = 2
foo_upnp: 614.538: NPT_Win32Thread::EntryPoint(450)/66: FINER: thread in =======================
foo_upnp: 614.539: NPT_HttpRequest::Parse(617)/66: FINEST: http request: POST /ContentDirectory/467b9262-cfce-029a-e5f2-065122381ea4/control.xml HTTP/1.0
foo_upnp: 614.539: NPT_HttpHeaders::Parse(185)/66: FINEST: header - HOST: 192.168.0.100:30000
foo_upnp: 614.539: NPT_HttpHeaders::Parse(185)/66: FINEST: header - CONTENT-LENGTH: 624
foo_upnp: 614.540: NPT_HttpHeaders::Parse(185)/66: FINEST: header - CONTENT-TYPE: text/xml;charset="utf-8"
foo_upnp: 614.540: NPT_HttpHeaders::Parse(185)/66: FINEST: header - USER-AGENT: DLNADOC/1.50
foo_upnp: 614.541: NPT_HttpHeaders::Parse(215)/66: FINEST: header SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
foo_upnp: 614.541: PLT_HttpServer::ProcessHttpRequest(142)/66: FINE: Received POST Request from 192.168.0.102 for /ContentDirectory/467b9262-cfce-029a-e5f2-065122381ea4/control.xml
foo_upnp: 614.541: PLT_HttpHelper::ToLog(410)/66: FINER:
POST /ContentDirectory/467b9262-cfce-029a-e5f2-065122381ea4/control.xml HTTP/1.0
HOST: 192.168.0.100:30000
CONTENT-LENGTH: 624
CONTENT-TYPE: text/xml;charset="utf-8"
USER-AGENT: DLNADOC/1.50
SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
foo_upnp: 614.545: FbMediaServer::ProcessHttpRequest(306)/66: INFO: received LAN request: [url=http://192.168.0.100:30000/ContentDirectory/467b9262-cfce-029a-e5f2-065122381ea4/control.xml]http://192.168.0.100:30000/ContentDirector...ea4/control.xml[/url] (User-Agent: DLNADOC/1.50)
foo_upnp: 614.545: PLT_DeviceHost::ProcessHttpRequest(376)/66: FINER: PLT_DeviceHost Received Request:
foo_upnp: 614.545: PLT_HttpHelper::ToLog(410)/66: FINER:
POST /ContentDirectory/467b9262-cfce-029a-e5f2-065122381ea4/control.xml HTTP/1.0
HOST: 192.168.0.100:30000
CONTENT-LENGTH: 624
CONTENT-TYPE: text/xml;charset="utf-8"
USER-AGENT: DLNADOC/1.50
SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
foo_upnp: 614.546: PLT_DeviceHost::ProcessHttpPostRequest(555)/66: FINE: Received Browse action from 192.168.0.102
foo_upnp: 614.546: FbMediaServer::OnAction(243)/66: INFO: received action 'Browse', args = { ObjectID=0, BrowseFlag=BrowseDirectChildren, Filter=@id,@parentID,@restricted,dc:title,upnp:class,res,dc:date,@childCount,sec:CaptionInfo,sec:Cap
tionInfoEx,res@resolution,res@size,upnp:genre,dc:date,upnp:album,res@duration,upnp:albumArtURI,res@bi
trate,dc:creator, StartingIndex=1, RequestedCount=1, SortCriteria= }
foo_upnp: 614.547: PLT_MediaServer::OnBrowse(380)/66: INFO: Received BrowseDirectChildren from 192.168.0.102 for id = 0 with filter = @id,@parentID,@restricted,dc:title,upnp:class,res,dc:date,@childCount,sec:CaptionInfo,sec:CaptionInf
oEx,res@resolution,res@size,upnp:genre,dc:date,upnp:album,res@duration,upnp:albumArtURI,res@bitrate,d
c:creator, start = 1, count = 1
foo_upnp: 614.547: FbMediaServer::OnAction(260)/66: INFO: action 'Browse' response: args = { ObjectID=0, BrowseFlag=BrowseDirectChildren, Filter=@id,@parentID,@restricted,dc:title,upnp:class,res,dc:date,@childCount,sec:CaptionInfo,sec:Cap
tionInfoEx,res@resolution,res@size,upnp:genre,dc:date,upnp:album,res@duration,upnp:albumArtURI,res@bi
trate,dc:creator, StartingIndex=1, RequestedCount=1, SortCriteria=, NumberReturned=1, TotalMatches=3, UpdateID=0 }
foo_upnp: 614.548: PLT_HttpServerSocketTask::Write(322)/66: FINER: PLT_HttpServerTask Sending response:
foo_upnp: 614.548: PLT_HttpHelper::ToLog(496)/66: FINER:
HTTP/1.1 200 OK
Server: Platinum/0.5.4.0
Content-Type: text/xml; charset="utf-8"
Ext:
Connection: close
Content-Length: 883
foo_upnp: 614.549: NPT_HttpHeader::Emit(118)/66: FINEST: header Server: Platinum/0.5.4.0
foo_upnp: 614.549: NPT_HttpHeader::Emit(118)/66: FINEST: header Content-Type: text/xml; charset="utf-8"
foo_upnp: 614.549: NPT_HttpHeader::Emit(118)/66: FINEST: header Ext:
foo_upnp: 614.550: NPT_HttpHeader::Emit(118)/66: FINEST: header Connection: close
foo_upnp: 614.550: NPT_HttpHeader::Emit(118)/66: FINEST: header Content-Length: 883
foo_upnp: 614.551: PLT_HttpServerSocketTask::Write(336)/66: FINER: keep_alive = false, headers_only = false
foo_upnp: 614.552: PLT_HttpServerSocketTask::Write(341)/66: FINER: NPT_StreamToStreamCopy begin
foo_upnp: 614.552: PLT_HttpServerSocketTask::Write(349)/66: FINER: NPT_StreamToStreamCopy end
foo_upnp: 614.569: NPT_Win32Thread::Start(483)/40: FINER: creating thread
foo_upnp: 614.570: PLT_HttpListenTask<class PLT_HttpServerListener>::DoRun(156)/40: FINE: current http task count = 2
foo_upnp: 614.571: NPT_Win32Thread::EntryPoint(450)/67: FINER: thread in =======================
foo_upnp: 614.572: NPT_HttpRequest::Parse(617)/67: FINEST: http request: POST /ContentDirectory/467b9262-cfce-029a-e5f2-065122381ea4/control.xml HTTP/1.0
foo_upnp: 614.572: NPT_HttpHeaders::Parse(185)/67: FINEST: header - HOST: 192.168.0.100:30000
foo_upnp: 614.573: NPT_HttpHeaders::Parse(185)/67: FINEST: header - CONTENT-LENGTH: 624
foo_upnp: 614.573: NPT_HttpHeaders::Parse(185)/67: FINEST: header - CONTENT-TYPE: text/xml;charset="utf-8"
foo_upnp: 614.573: NPT_HttpHeaders::Parse(185)/67: FINEST: header - USER-AGENT: DLNADOC/1.50
foo_upnp: 614.574: NPT_HttpHeaders::Parse(215)/67: FINEST: header SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
foo_upnp: 614.574: PLT_HttpServer::ProcessHttpRequest(142)/67: FINE: Received POST Request from 192.168.0.102 for /ContentDirectory/467b9262-cfce-029a-e5f2-065122381ea4/control.xml
foo_upnp: 614.575: PLT_HttpHelper::ToLog(410)/67: FINER:
POST /ContentDirectory/467b9262-cfce-029a-e5f2-065122381ea4/control.xml HTTP/1.0
HOST: 192.168.0.100:30000
CONTENT-LENGTH: 624
CONTENT-TYPE: text/xml;charset="utf-8"
USER-AGENT: DLNADOC/1.50
SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
foo_upnp: 614.579: FbMediaServer::ProcessHttpRequest(306)/67: INFO: received LAN request: [url=http://192.168.0.100:30000/ContentDirectory/467b9262-cfce-029a-e5f2-065122381ea4/control.xml]http://192.168.0.100:30000/ContentDirector...ea4/control.xml[/url] (User-Agent: DLNADOC/1.50)
foo_upnp: 614.579: PLT_DeviceHost::ProcessHttpRequest(376)/67: FINER: PLT_DeviceHost Received Request:
foo_upnp: 614.580: PLT_HttpHelper::ToLog(410)/67: FINER:
POST /ContentDirectory/467b9262-cfce-029a-e5f2-065122381ea4/control.xml HTTP/1.0
HOST: 192.168.0.100:30000
CONTENT-LENGTH: 624
CONTENT-TYPE: text/xml;charset="utf-8"
USER-AGENT: DLNADOC/1.50
SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
foo_upnp: 614.580: PLT_DeviceHost::ProcessHttpPostRequest(555)/67: FINE: Received Browse action from 192.168.0.102
foo_upnp: 614.581: FbMediaServer::OnAction(243)/67: INFO: received action 'Browse', args = { ObjectID=0, BrowseFlag=BrowseDirectChildren, Filter=@id,@parentID,@restricted,dc:title,upnp:class,res,dc:date,@childCount,sec:CaptionInfo,sec:Cap
tionInfoEx,res@resolution,res@size,upnp:genre,dc:date,upnp:album,res@duration,upnp:albumArtURI,res@bi
trate,dc:creator, StartingIndex=2, RequestedCount=1, SortCriteria= }
foo_upnp: 614.581: PLT_MediaServer::OnBrowse(380)/67: INFO: Received BrowseDirectChildren from 192.168.0.102 for id = 0 with filter = @id,@parentID,@restricted,dc:title,upnp:class,res,dc:date,@childCount,sec:CaptionInfo,sec:CaptionInf
oEx,res@resolution,res@size,upnp:genre,dc:date,upnp:album,res@duration,upnp:albumArtURI,res@bitrate,d
c:creator, start = 2, count = 1
foo_upnp: 614.582: FbMediaServer::OnAction(260)/67: INFO: action 'Browse' response: args = { ObjectID=0, BrowseFlag=BrowseDirectChildren, Filter=@id,@parentID,@restricted,dc:title,upnp:class,res,dc:date,@childCount,sec:CaptionInfo,sec:Cap
tionInfoEx,res@resolution,res@size,upnp:genre,dc:date,upnp:album,res@duration,upnp:albumArtURI,res@bi
trate,dc:creator, StartingIndex=2, RequestedCount=1, SortCriteria=, NumberReturned=1, TotalMatches=3, UpdateID=0 }
foo_upnp: 614.583: PLT_HttpServerSocketTask::Write(322)/67: FINER: PLT_HttpServerTask Sending response:
foo_upnp: 614.583: PLT_HttpHelper::ToLog(496)/67: FINER:
HTTP/1.1 200 OK
Server: Platinum/0.5.4.0
Content-Type: text/xml; charset="utf-8"
Ext:
Connection: close
Content-Length: 893
foo_upnp: 614.584: NPT_HttpHeader::Emit(118)/67: FINEST: header Server: Platinum/0.5.4.0
foo_upnp: 614.584: NPT_HttpHeader::Emit(118)/67: FINEST: header Content-Type: text/xml; charset="utf-8"
foo_upnp: 614.585: NPT_HttpHeader::Emit(118)/67: FINEST: header Ext:
foo_upnp: 614.585: NPT_HttpHeader::Emit(118)/67: FINEST: header Connection: close
foo_upnp: 614.585: NPT_HttpHeader::Emit(118)/67: FINEST: header Content-Length: 893
foo_upnp: 614.586: PLT_HttpServerSocketTask::Write(336)/67: FINER: keep_alive = false, headers_only = false
foo_upnp: 614.586: PLT_HttpServerSocketTask::Write(341)/67: FINER: NPT_StreamToStreamCopy begin
foo_upnp: 614.587: PLT_HttpServerSocketTask::Write(349)/67: FINER: NPT_StreamToStreamCopy end
foo_upnp: 616.137: NPT_HttpRequest::Parse(617)/36: FINEST: http request: NOTIFY * HTTP/1.1
foo_upnp: 616.138: NPT_HttpHeaders::Parse(185)/36: FINEST: header - HOST: 239.255.255.250:1900
foo_upnp: 616.139: NPT_HttpHeaders::Parse(185)/36: FINEST: header - Cache-Control: max-age=120
foo_upnp: 616.139: NPT_HttpHeaders::Parse(185)/36: FINEST: header - Location: [url=http://192.168.0.1:65535/rootDesc.xml]http://192.168.0.1:65535/rootDesc.xml[/url]
foo_upnp: 616.139: NPT_HttpHeaders::Parse(185)/36: FINEST: header - Server: Linux/2.4.22-1.2115.nptl UPnP/1.0 miniupnpd/1.0
foo_upnp: 616.140: NPT_HttpHeaders::Parse(185)/36: FINEST: header - NT: upnp:rootdevice
foo_upnp: 616.140: NPT_HttpHeaders::Parse(185)/36: FINEST: header - USN: uuid:11111111-1111-1111-1111-111111111111::upnp:rootdevice
foo_upnp: 616.141: NPT_HttpHeaders::Parse(215)/36: FINEST: header NTS: ssdp:alive
foo_upnp: 616.141: NPT_HttpRequest::Parse(617)/36: FINEST: http request: NOTIFY * HTTP/1.1
foo_upnp: 616.142: NPT_HttpHeaders::Parse(185)/36: FINEST: header - HOST: 239.255.255.250:1900
foo_upnp: 616.143: NPT_HttpHeaders::Parse(185)/36: FINEST: header - Cache-Control: max-age=120
foo_upnp: 616.143: NPT_HttpHeaders::Parse(185)/36: FINEST: header - Location: [url=http://192.168.0.1:65535/rootDesc.xml]http://192.168.0.1:65535/rootDesc.xml[/url]
foo_upnp: 616.143: NPT_HttpHeaders::Parse(185)/36: FINEST: header - Server: Linux/2.4.22-1.2115.nptl UPnP/1.0 miniupnpd/1.0
foo_upnp: 616.144: NPT_HttpHeaders::Parse(185)/36: FINEST: header - NT: urn:schemas-upnp-org:device:InternetGatewayDevice:1
foo_upnp: 616.145: NPT_HttpHeaders::Parse(185)/36: FINEST: header - USN: uuid:11111111-1111-1111-1111-111111111111::urn:schemas-upnp-org:device:InternetGatewayDevice:1
foo_upnp: 616.145: NPT_HttpHeaders::Parse(215)/36: FINEST: header NTS: ssdp:alive
foo_upnp: 616.146: NPT_HttpRequest::Parse(617)/36: FINEST: http request: NOTIFY * HTTP/1.1
foo_upnp: 616.146: NPT_HttpHeaders::Parse(185)/36: FINEST: header - HOST: 239.255.255.250:1900
foo_upnp: 616.146: NPT_HttpHeaders::Parse(185)/36: FINEST: header - Cache-Control: max-age=120
foo_upnp: 616.147: NPT_HttpHeaders::Parse(185)/36: FINEST: header - Location: [url=http://192.168.0.1:65535/rootDesc.xml]http://192.168.0.1:65535/rootDesc.xml[/url]
foo_upnp: 616.147: NPT_HttpHeaders::Parse(185)/36: FINEST: header - Server: Linux/2.4.22-1.2115.nptl UPnP/1.0 miniupnpd/1.0
foo_upnp: 616.147: NPT_HttpHeaders::Parse(185)/36: FINEST: header - NT: urn:schemas-upnp-org:device:WANDevice:1
foo_upnp: 616.148: NPT_HttpHeaders::Parse(185)/36: FINEST: header - USN: uuid:22222222-2222-2222-2222-222222222222::urn:schemas-upnp-org:device:WANDevice:1
foo_upnp: 616.148: NPT_HttpHeaders::Parse(215)/36: FINEST: header NTS: ssdp:alive
foo_upnp: 616.149: NPT_HttpRequest::Parse(617)/36: FINEST: http request: NOTIFY * HTTP/1.1
foo_upnp: 616.149: NPT_HttpHeaders::Parse(185)/36: FINEST: header - HOST: 239.255.255.250:1900
foo_upnp: 616.149: NPT_HttpHeaders::Parse(185)/36: FINEST: header - Cache-Control: max-age=120
foo_upnp: 616.150: NPT_HttpHeaders::Parse(185)/36: FINEST: header - Location: [url=http://192.168.0.1:65535/rootDesc.xml]http://192.168.0.1:65535/rootDesc.xml[/url]
foo_upnp: 616.150: NPT_HttpHeaders::Parse(185)/36: FINEST: header - Server: Linux/2.4.22-1.2115.nptl UPnP/1.0 miniupnpd/1.0
foo_upnp: 616.150: NPT_HttpHeaders::Parse(185)/36: FINEST: header - NT: urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1
foo_upnp: 616.151: NPT_HttpHeaders::Parse(185)/36: FINEST: header - USN: uuid:22222222-2222-2222-2222-222222222222::urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1
foo_upnp: 616.151: NPT_HttpHeaders::Parse(215)/36: FINEST: header NTS: ssdp:alive
foo_upnp: 616.151: NPT_HttpRequest::Parse(617)/36: FINEST: http request: NOTIFY * HTTP/1.1
foo_upnp: 616.152: NPT_HttpHeaders::Parse(185)/36: FINEST: header - HOST: 239.255.255.250:1900
foo_upnp: 616.152: NPT_HttpHeaders::Parse(185)/36: FINEST: header - Cache-Control: max-age=120
foo_upnp: 616.153: NPT_HttpHeaders::Parse(185)/36: FINEST: header - Location: [url=http://192.168.0.1:65535/rootDesc.xml]http://192.168.0.1:65535/rootDesc.xml[/url]
foo_upnp: 616.153: NPT_HttpHeaders::Parse(185)/36: FINEST: header - Server: Linux/2.4.22-1.2115.nptl UPnP/1.0 miniupnpd/1.0
foo_upnp: 616.154: NPT_HttpHeaders::Parse(185)/36: FINEST: header - NT: urn:schemas-upnp-org:device:WANConnectionDevice:1
foo_upnp: 616.154: NPT_HttpHeaders::Parse(185)/36: FINEST: header - USN: uuid:33333333-3333-3333-3333-333333333333::urn:schemas-upnp-org:device:WANConnectionDevice:1
foo_upnp: 616.155: NPT_HttpHeaders::Parse(215)/36: FINEST: header NTS: ssdp:alive
foo_upnp: 616.155: NPT_HttpRequest::Parse(617)/36: FINEST: http request: NOTIFY * HTTP/1.1
foo_upnp: 616.156: NPT_HttpHeaders::Parse(185)/36: FINEST: header - HOST: 239.255.255.250:1900
foo_upnp: 616.156: NPT_HttpHeaders::Parse(185)/36: FINEST: header - Cache-Control: max-age=120
foo_upnp: 616.157: NPT_HttpHeaders::Parse(185)/36: FINEST: header - Location: [url=http://192.168.0.1:65535/rootDesc.xml]http://192.168.0.1:65535/rootDesc.xml[/url]
foo_upnp: 616.157: NPT_HttpHeaders::Parse(185)/36: FINEST: header - Server: Linux/2.4.22-1.2115.nptl UPnP/1.0 miniupnpd/1.0
foo_upnp: 616.157: NPT_HttpHeaders::Parse(185)/36: FINEST: header - NT: urn:schemas-upnp-org:service:WANPPPConnection:1
foo_upnp: 616.158: NPT_HttpHeaders::Parse(185)/36: FINEST: header - USN: uuid:33333333-3333-3333-3333-333333333333::urn:schemas-upnp-org:service:WANPPPConnection:1
foo_upnp: 616.158: NPT_HttpHeaders::Parse(215)/36: FINEST: header NTS: ssdp:alive
foo_upnp: 616.159: NPT_HttpRequest::Parse(617)/36: FINEST: http request: NOTIFY * HTTP/1.1
foo_upnp: 616.159: NPT_HttpHeaders::Parse(185)/36: FINEST: header - HOST: 239.255.255.250:1900
foo_upnp: 616.160: NPT_HttpHeaders::Parse(185)/36: FINEST: header - Cache-Control: max-age=120
foo_upnp: 616.160: NPT_HttpHeaders::Parse(185)/36: FINEST: header - Location: [url=http://192.168.0.1:65535/rootDesc.xml]http://192.168.0.1:65535/rootDesc.xml[/url]
foo_upnp: 616.161: NPT_HttpHeaders::Parse(185)/36: FINEST: header - Server: Linux/2.4.22-1.2115.nptl UPnP/1.0 miniupnpd/1.0
foo_upnp: 616.161: NPT_HttpHeaders::Parse(185)/36: FINEST: header - NT: urn:schemas-upnp-org:service:WANIPConnection:1
foo_upnp: 616.162: NPT_HttpHeaders::Parse(185)/36: FINEST: header - USN: uuid:33333333-3333-3333-3333-333333333333::urn:schemas-upnp-org:service:WANIPConnection:1
foo_upnp: 616.162: NPT_HttpHeaders::Parse(215)/36: FINEST: header NTS: ssdp:alive
foo_upnp: 616.163: NPT_HttpRequest::Parse(617)/36: FINEST: http request: NOTIFY * HTTP/1.1
foo_upnp: 616.163: NPT_HttpHeaders::Parse(185)/36: FINEST: header - HOST: 239.255.255.250:1900
foo_upnp: 616.163: NPT_HttpHeaders::Parse(185)/36: FINEST: header - Cache-Control: max-age=120
foo_upnp: 616.164: NPT_HttpHeaders::Parse(185)/36: FINEST: header - Location: [url=http://192.168.0.1:65535/rootDesc.xml]http://192.168.0.1:65535/rootDesc.xml[/url]
foo_upnp: 616.164: NPT_HttpHeaders::Parse(185)/36: FINEST: header - Server: Linux/2.4.22-1.2115.nptl UPnP/1.0 miniupnpd/1.0
foo_upnp: 616.164: NPT_HttpHeaders::Parse(185)/36: FINEST: header - NT: urn:schemas-upnp-org:service:Layer3Forwarding:1
foo_upnp: 616.165: NPT_HttpHeaders::Parse(185)/36: FINEST: header - USN: uuid:11111111-1111-1111-1111-111111111111::urn:schemas-upnp-org:service:Layer3Forwarding:1
foo_upnp: 616.166: NPT_HttpHeaders::Parse(215)/36: FINEST: header NTS: ssdp:alive
foo_upnp: 616.166: NPT_HttpRequest::Parse(617)/36: FINEST: http request: NOTIFY * HTTP/1.1
foo_upnp: 616.167: NPT_HttpHeaders::Parse(185)/36: FINEST: header - HOST: 239.255.255.250:1900
foo_upnp: 616.167: NPT_HttpHeaders::Parse(185)/36: FINEST: header - Cache-Control: max-age=120
foo_upnp: 616.167: NPT_HttpHeaders::Parse(185)/36: FINEST: header - Location: [url=http://192.168.0.1:65535/rootDesc.xml]http://192.168.0.1:65535/rootDesc.xml[/url]
foo_upnp: 616.168: NPT_HttpHeaders::Parse(185)/36: FINEST: header - Server: Linux/2.4.22-1.2115.nptl UPnP/1.0 miniupnpd/1.0
foo_upnp: 616.168: NPT_HttpHeaders::Parse(185)/36: FINEST: header - NT: urn:schemas-wifialliance-org:device:WFADevice:1
foo_upnp: 616.168: NPT_HttpHeaders::Parse(185)/36: FINEST: header - USN: uuid:565aa949-67c1-4c0e-aa8f-f349e6f59311::urn:schemas-wifialliance-org:device:WFADevice:1
foo_upnp: 616.169: NPT_HttpHeaders::Parse(215)/36: FINEST: header NTS: ssdp:alive
foo_upnp: 616.170: NPT_HttpRequest::Parse(617)/36: FINEST: http request: NOTIFY * HTTP/1.1
foo_upnp: 616.170: NPT_HttpHeaders::Parse(185)/36: FINEST: header - HOST: 239.255.255.250:1900
foo_upnp: 616.171: NPT_HttpHeaders::Parse(185)/36: FINEST: header - Cache-Control: max-age=120
foo_upnp: 616.171: NPT_HttpHeaders::Parse(185)/36: FINEST: header - Location: [url=http://192.168.0.1:65535/rootDesc.xml]http://192.168.0.1:65535/rootDesc.xml[/url]
foo_upnp: 616.172: NPT_HttpHeaders::Parse(185)/36: FINEST: header - Server: Linux/2.4.22-1.2115.nptl UPnP/1.0 miniupnpd/1.0
foo_upnp: 616.172: NPT_HttpHeaders::Parse(185)/36: FINEST: header - NT: urn:schemas-wifialliance-org:service:WFAWLANConfig:1
foo_upnp: 616.172: NPT_HttpHeaders::Parse(185)/36: FINEST: header - USN: uuid:565aa949-67c1-4c0e-aa8f-f349e6f59311::urn:schemas-wifialliance-org:service:WFAWLANConfig:1
foo_upnp: 616.173: NPT_HttpHeaders::Parse(215)/36: FINEST: header NTS: ssdp:alive
foo_upnp: 616.704: NPT_Win32Thread::Start(483)/40: FINER: creating thread
foo_upnp: 616.705: NPT_Win32Thread::EntryPoint(450)/69: FINER: thread in =======================
foo_upnp: 616.706: PLT_HttpListenTask<class PLT_HttpServerListener>::DoRun(156)/40: FINE: current http task count = 2
foo_upnp: 616.706: NPT_HttpRequest::Parse(617)/69: FINEST: http request: POST /ContentDirectory/467b9262-cfce-029a-e5f2-065122381ea4/control.xml HTTP/1.0
foo_upnp: 616.707: NPT_HttpHeaders::Parse(185)/69: FINEST: header - HOST: 192.168.0.100:30000
foo_upnp: 616.707: NPT_HttpHeaders::Parse(185)/69: FINEST: header - CONTENT-LENGTH: 417
foo_upnp: 616.707: NPT_HttpHeaders::Parse(185)/69: FINEST: header - CONTENT-TYPE: text/xml;charset="utf-8"
foo_upnp: 616.708: NPT_HttpHeaders::Parse(185)/69: FINEST: header - USER-AGENT: DLNADOC/1.50
foo_upnp: 616.708: NPT_HttpHeaders::Parse(215)/69: FINEST: header SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
foo_upnp: 616.708: PLT_HttpServer::ProcessHttpRequest(142)/69: FINE: Received POST Request from 192.168.0.102 for /ContentDirectory/467b9262-cfce-029a-e5f2-065122381ea4/control.xml
foo_upnp: 616.709: PLT_HttpHelper::ToLog(410)/69: FINER:
POST /ContentDirectory/467b9262-cfce-029a-e5f2-065122381ea4/control.xml HTTP/1.0
HOST: 192.168.0.100:30000
CONTENT-LENGTH: 417
CONTENT-TYPE: text/xml;charset="utf-8"
USER-AGENT: DLNADOC/1.50
SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
foo_upnp: 616.711: FbMediaServer::ProcessHttpRequest(306)/69: INFO: received LAN request: [url=http://192.168.0.100:30000/ContentDirectory/467b9262-cfce-029a-e5f2-065122381ea4/control.xml]http://192.168.0.100:30000/ContentDirector...ea4/control.xml[/url] (User-Agent: DLNADOC/1.50)
foo_upnp: 616.711: PLT_DeviceHost::ProcessHttpRequest(376)/69: FINER: PLT_DeviceHost Received Request:
foo_upnp: 616.712: PLT_HttpHelper::ToLog(410)/69: FINER:
POST /ContentDirectory/467b9262-cfce-029a-e5f2-065122381ea4/control.xml HTTP/1.0
HOST: 192.168.0.100:30000
CONTENT-LENGTH: 417
CONTENT-TYPE: text/xml;charset="utf-8"
USER-AGENT: DLNADOC/1.50
SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
foo_upnp: 616.712: PLT_DeviceHost::ProcessHttpPostRequest(555)/69: FINE: Received Browse action from 192.168.0.102
foo_upnp: 616.713: FbMediaServer::OnAction(243)/69: INFO: received action 'Browse', args = { ObjectID=0/0, BrowseFlag=BrowseDirectChildren, Filter=*, StartingIndex=0, RequestedCount=1, SortCriteria= }
foo_upnp: 616.714: PLT_MediaServer::OnBrowse(380)/69: INFO: Received BrowseDirectChildren from 192.168.0.102 for id = 0/0 with filter = *, start = 0, count = 1
foo_upnp: 616.714: FbMediaServer::OnAction(260)/69: INFO: action 'Browse' response: args = { ObjectID=0/0, BrowseFlag=BrowseDirectChildren, Filter=*, StartingIndex=0, RequestedCount=1, SortCriteria=, NumberReturned=1, TotalMatches=3, UpdateID=0 }
foo_upnp: 616.715: PLT_HttpServerSocketTask::Write(322)/69: FINER: PLT_HttpServerTask Sending response:
foo_upnp: 616.715: PLT_HttpHelper::ToLog(496)/69: FINER:
HTTP/1.1 200 OK
Server: Platinum/0.5.4.0
Content-Type: text/xml; charset="utf-8"
Ext:
Connection: close
Content-Length: 914
foo_upnp: 616.715: NPT_HttpHeader::Emit(118)/69: FINEST: header Server: Platinum/0.5.4.0
foo_upnp: 616.716: NPT_HttpHeader::Emit(118)/69: FINEST: header Content-Type: text/xml; charset="utf-8"
foo_upnp: 616.719: NPT_HttpHeader::Emit(118)/69: FINEST: header Ext:
foo_upnp: 616.720: NPT_HttpHeader::Emit(118)/69: FINEST: header Connection: close
foo_upnp: 616.720: NPT_HttpHeader::Emit(118)/69: FINEST: header Content-Length: 914
foo_upnp: 616.720: PLT_HttpServerSocketTask::Write(336)/69: FINER: keep_alive = false, headers_only = false
foo_upnp: 616.721: PLT_HttpServerSocketTask::Write(341)/69: FINER: NPT_StreamToStreamCopy begin
foo_upnp: 616.722: PLT_HttpServerSocketTask::Write(349)/69: FINER: NPT_StreamToStreamCopy end
foo_upnp: 616.738: NPT_Win32Thread::Start(483)/40: FINER: creating thread
foo_upnp: 616.740: NPT_Win32Thread::EntryPoint(450)/68: FINER: thread in =======================
foo_upnp: 616.740: PLT_HttpListenTask<class PLT_HttpServerListener>::DoRun(156)/40: FINE: current http task count = 2
foo_upnp: 616.741: NPT_HttpRequest::Parse(617)/68: FINEST: http request: POST /ContentDirectory/467b9262-cfce-029a-e5f2-065122381ea4/control.xml HTTP/1.0
foo_upnp: 616.741: NPT_HttpHeaders::Parse(185)/68: FINEST: header - HOST: 192.168.0.100:30000
foo_upnp: 616.742: NPT_HttpHeaders::Parse(185)/68: FINEST: header - CONTENT-LENGTH: 419
foo_upnp: 616.742: NPT_HttpHeaders::Parse(185)/68: FINEST: header - CONTENT-TYPE: text/xml;charset="utf-8"
foo_upnp: 616.743: NPT_HttpHeaders::Parse(185)/68: FINEST: header - USER-AGENT: DLNADOC/1.50
foo_upnp: 616.743: NPT_HttpHeaders::Parse(215)/68: FINEST: header SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
foo_upnp: 616.744: PLT_HttpServer::ProcessHttpRequest(142)/68: FINE: Received POST Request from 192.168.0.102 for /ContentDirectory/467b9262-cfce-029a-e5f2-065122381ea4/control.xml
foo_upnp: 616.744: PLT_HttpHelper::ToLog(410)/68: FINER:
POST /ContentDirectory/467b9262-cfce-029a-e5f2-065122381ea4/control.xml HTTP/1.0
HOST: 192.168.0.100:30000
CONTENT-LENGTH: 419
CONTENT-TYPE: text/xml;charset="utf-8"
USER-AGENT: DLNADOC/1.50
SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
foo_upnp: 616.747: FbMediaServer::ProcessHttpRequest(306)/68: INFO: received LAN request: [url=http://192.168.0.100:30000/ContentDirectory/467b9262-cfce-029a-e5f2-065122381ea4/control.xml]http://192.168.0.100:30000/ContentDirector...ea4/control.xml[/url] (User-Agent: DLNADOC/1.50)
foo_upnp: 616.748: PLT_DeviceHost::ProcessHttpRequest(376)/68: FINER: PLT_DeviceHost Received Request:
foo_upnp: 616.748: PLT_HttpHelper::ToLog(410)/68: FINER:
POST /ContentDirectory/467b9262-cfce-029a-e5f2-065122381ea4/control.xml HTTP/1.0
HOST: 192.168.0.100:30000
CONTENT-LENGTH: 419
CONTENT-TYPE: text/xml;charset="utf-8"
USER-AGENT: DLNADOC/1.50
SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
foo_upnp: 616.749: PLT_DeviceHost::ProcessHttpPostRequest(555)/68: FINE: Received Browse action from 192.168.0.102
foo_upnp: 616.749: FbMediaServer::OnAction(243)/68: INFO: received action 'Browse', args = { ObjectID=0/0, BrowseFlag=BrowseMetadata, Filter=@parentID, StartingIndex=0, RequestedCount=0, SortCriteria= }
foo_upnp: 616.749: PLT_MediaServer::OnBrowse(361)/68: WARNING: Invalid arguments (0, 0, @parentID)
foo_upnp: 616.750: FbMediaServer::OnAction(260)/68: INFO: action 'Browse' response: args = { ObjectID=0/0, BrowseFlag=BrowseMetadata, Filter=@parentID, StartingIndex=0, RequestedCount=0, SortCriteria= }
foo_upnp: 616.750: PLT_HttpServerSocketTask::Write(322)/68: FINER: PLT_HttpServerTask Sending response:
foo_upnp: 616.751: PLT_HttpHelper::ToLog(496)/68: FINER:
HTTP/1.0 500 Internal Server Error
Server: Platinum/0.5.4.0
Content-Type: text/xml; charset="utf-8"
Ext:
Connection: close
Content-Length: 435
foo_upnp: 616.751: NPT_HttpHeader::Emit(118)/68: FINEST: header Server: Platinum/0.5.4.0
foo_upnp: 616.752: NPT_HttpHeader::Emit(118)/68: FINEST: header Content-Type: text/xml; charset="utf-8"
foo_upnp: 616.752: NPT_HttpHeader::Emit(118)/68: FINEST: header Ext:
foo_upnp: 616.752: NPT_HttpHeader::Emit(118)/68: FINEST: header Connection: close
foo_upnp: 616.753: NPT_HttpHeader::Emit(118)/68: FINEST: header Content-Length: 435
foo_upnp: 616.753: PLT_HttpServerSocketTask::Write(336)/68: FINER: keep_alive = false, headers_only = false
foo_upnp: 616.754: PLT_HttpServerSocketTask::Write(341)/68: FINER: NPT_StreamToStreamCopy begin
foo_upnp: 616.754: PLT_HttpServerSocketTask::Write(349)/68: FINER: NPT_StreamToStreamCopy end
foo_upnp: 618.086: NPT_HttpRequest::Parse(617)/36: FINEST: http request: M-SEARCH * HTTP/1.1
foo_upnp: 618.087: NPT_HttpHeaders::Parse(185)/36: FINEST: header - Host: 239.255.255.250:1900
foo_upnp: 618.088: NPT_HttpHeaders::Parse(185)/36: FINEST: header - ST: urn:schemas-upnp-org:device:InternetGatewayDevice:1
foo_upnp: 618.088: NPT_HttpHeaders::Parse(185)/36: FINEST: header - Man: "ssdp:discover"
foo_upnp: 618.089: NPT_HttpHeaders::Parse(215)/36: FINEST: header MX: 3
foo_upnp: 618.089: PLT_DeviceHost::ProcessSsdpSearchRequest(719)/36: FINEST: Received M-SEARCH from 192.168.0.101:54129
foo_upnp: 618.089: PLT_HttpHelper::ToLog(410)/36: FINE:
M-SEARCH * HTTP/1.1
Host: 239.255.255.250:1900
ST: urn:schemas-upnp-org:device:InternetGatewayDevice:1
Man: "ssdp:discover"
MX: 3
foo_upnp: 618.090: NPT_Win32Thread::Start(483)/36: FINER: creating thread
foo_upnp: 618.091: NPT_Win32Thread::EntryPoint(450)/13: FINER: thread in =======================
foo_upnp: 618.091: PLT_DeviceHost::ProcessSsdpSearchRequest(719)/36: FINEST: Received M-SEARCH from 192.168.0.101:54129
foo_upnp: 618.092: PLT_HttpHelper::ToLog(410)/36: FINE:
M-SEARCH * HTTP/1.1
Host: 239.255.255.250:1900
ST: urn:schemas-upnp-org:device:InternetGatewayDevice:1
Man: "ssdp:discover"
MX: 3
foo_upnp: 618.093: NPT_Win32Thread::Start(483)/36: FINER: creating thread
foo_upnp: 618.094: NPT_Win32Thread::EntryPoint(450)/11: FINER: thread in =======================
foo_upnp: 619.109: PLT_DeviceHost::SendSsdpSearchResponse(756)/11: FINEST: Responding to a M-SEARCH request for urn:schemas-upnp-org:device:InternetGatewayDevice:1
foo_upnp: 619.110: PLT_DeviceHost::SendSsdpSearchResponse(756)/11: FINEST: Responding to a M-SEARCH request for urn:schemas-upnp-org:device:InternetGatewayDevice:1
Title: foo_upnp
Post by: bubbleguuum on 2011-01-02 14:25:01
I'm trying to get a listing of the Media Library from my Samsung TV. If I select either Playlists or Media Library, I get an error that the request did not succeed.


Thanks for reporting, I found out where the problem is. I'll send you a test version soon.
Title: foo_upnp
Post by: alexinc on 2011-01-02 14:45:19
I'm trying to get a listing of the Media Library from my Samsung TV. If I select either Playlists or Media Library, I get an error that the request did not succeed.


Thanks for reporting, I found out where the problem is. I'll send you a test version soon.



great to hear, would love to test it too...

cheers!
Title: foo_upnp
Post by: bubbleguuum on 2011-01-02 15:18:20
I'm trying to get a listing of the Media Library from my Samsung TV. If I select either Playlists or Media Library, I get an error that the request did not succeed.


Thanks for reporting, I found out where the problem is. I'll send you a test version soon.



great to hear, would love to test it too...

cheers!



According to your previous log (post #1064), I assume streaming do not work at all, whether  mp3 or L16 ?
The Samsung TV make a specific DLNA request that the plugin do not handle so I wouldn't be surprised.
Those DLNA TVs are super picky with the DLNA spec and the plugin do not implement it all, far from it.
This particular feature is not very easy to implement without the hardware to test.

As for the problem fixed above, it is a different issue : browse not working.
Title: foo_upnp
Post by: dvdr on 2011-01-02 16:17:59
It cannot be autostarted. And if it did it would have to be autostarted for a specific renderer. I can see how it could be useful if you want to use your renderer just as a networked sound card to which foobar2000 outputs audio. The "C"-button is a command that is registered to the core so in theory it can be called (and keyboard mapped).
So if there is a component that can execute arbitrary command at initiliazation, it could be called (after a few second after startup: renderer must be detected first).
If the web layout allow to call arbitrary commands (ie commands listed in Preferences>Keyboard Shortcuts), theorically a button could be added for it.
You can also start Playback Stream Capture from any Control Point (or device with browsing capabilties) : the media server expose it at the root of the tree.

Thanks so far - let me ask some more 

- I can see, that the button is mapped via ALT+ENTER
- When I start foobar (I have a layout, where it already starts displaying the UPNP renderer selection & the playback buttons), my renderer device (Linn Sneaky DS) ist already preselected
- so: I can either start the Stream Capture by ALT+ENTER or by clicking on the C-Button.
All this I can see/do, when I remote-desktop into the WHS.

Now: with the headless WHS-Server, I do not want to always remote-desktop into it, but use the server "as is". So all I can do is start Foobar as a service to expose it the LAN (which I managed to do).
Unfortunately, with all the control points I found (both iPhone Apps or grafical user-interfaces via a webbrowser), I did not manage to gain access to the Playback Stream Capture feature. I am wondering, what you are meaning by "expose it at the root of the tree".
Mind explaining me a bit more about that - I am no expert in this, so thanks for bearing with me   
Title: foo_upnp
Post by: bubbleguuum on 2011-01-02 16:26:48
I am wondering, what you are meaning by "expose it at the root of the tree".
Mind explaining me a bit more about that - I am no expert in this, so thanks for bearing with me   


It's very easy: to start Playback Stream Capture (PSC) remotely as if you manually clicked the -C button:

In your favorite UPnP Control Point on iPhone: 

- select the renderer you want to start PSC on (ie your LinnDS) , and select foobar2000 as the Media Server
- browse the Library: at the root enter the folder titled "Playback Stream Capture" and play the only item found in this folder.
Title: foo_upnp
Post by: alexinc on 2011-01-02 19:07:53
According to your previous log (post #1064), I assume streaming do not work at all, whether  mp3 or L16 ?
The Samsung TV make a specific DLNA request that the plugin do not handle so I wouldn't be surprised.
Those DLNA TVs are super picky with the DLNA spec and the plugin do not implement it all, far from it.
This particular feature is not very easy to implement without the hardware to test.

As for the problem fixed above, it is a different issue : browse not working.



ok, thx for clearing that. thought that samsung may use same media center software for their tvs... well, we'll see. whats most confusing is the fact, that i succeeded once.  via wmp12 it works at least, so network-failure due firewall e.g. shouldnt be the cause.
Title: foo_upnp
Post by: dvdr on 2011-01-03 13:25:30
I am wondering, what you are meaning by "expose it at the root of the tree".
Mind explaining me a bit more about that - I am no expert in this, so thanks for bearing with me   


It's very easy: to start Playback Stream Capture (PSC) remotely as if you manually clicked the -C button:

In your favorite UPnP Control Point on iPhone: 

- select the renderer you want to start PSC on (ie your LinnDS) , and select foobar2000 as the Media Server
- browse the Library: at the root enter the folder titled "Playback Stream Capture" and play the only item found in this folder.

Thanks! Found it, got it working... Only problem now is, that I cannot add anything that I can play/stream to my LinnDS. No matter, which control point I use, (of course?) the item/radiostation to play overwrites/stops the Playback Stream Capture.
Any idea, what I might be doing wrong or whether this is "mission impossible"?
Thanks
Title: foo_upnp
Post by: bubbleguuum on 2011-01-03 22:54:01
Thanks! Found it, got it working... Only problem now is, that I cannot add anything that I can play/stream to my LinnDS. No matter, which control point I use, (of course?) the item/radiostation to play overwrites/stops the Playback Stream Capture.
Any idea, what I might be doing wrong or whether this is "mission impossible"?
Thanks


That's normal as the Playback Stream Capture (PBS)  item is put as a single item in the DS managed playlist.
As far as the DS is concerned, it sees it as a regular track.
I'm not sure what you are trying to achieve using PBS. Why don't you send item for playing to your DS using foobar2000 as the Media Server (like
you would do with any other Media Server), using your favorite UPnP Control Point ?

PBS is useful in a few cases:

- to control playback from foobar2000 to UPnP devices that cannot be controlled using the UPnP Controller (a PS3 for example, which can browse and play from its own UI, but cannot be remotely controlled)
- to play gaplessly to Renderers not able to handle gapless (not the DS obviously)
- as an alternate way to stream to a Renderer, using foobar2000 regular  UI to control playback instead of the UPnP Controller element.
- to stream to a WWW browser
- ...
Title: foo_upnp
Post by: Kev0 on 2011-01-07 08:41:45
Is there anyway of getting rid of, or at least reducing the lag on the second machine so both play together?

Or should I be looking at a different component or application to do that?
Title: foo_upnp
Post by: kompot on 2011-01-08 12:47:45
Hi,
thanks for this lifesaving component.

I've got a question/suggestion/not sure what this is.

I've been using foo_upnp with foobar as a server on one end and browser/controller on the other. Everything worked flawlessly.
Recently I started using it from PlugPlayer on my iPhone and found out that there is one thing that breaks everything - PlugPlayer's different approach to searching on a server.

I tracked the differences in a log (thanks bubbleguuum again for having thought of the log ;)

So, let's say I want to find something that has 'XYZ' somewhere in metadata.

Searching from foobar2000 instance I get this log

Code: [Select]
foo_upnp: 2123.089: FbMediaServer::ProcessHttpRequest(306)/49: INFO: received LAN request: http://localhost:56923/ContentDirectory/4a7ed320-8443-e282-c5ad-a770ff95e93d/control.xml (User-Agent: Platinum/0.5.4.0, DLNADOC/1.50 / foobar2000)
foo_upnp: 2123.089: FbMediaServer::OnAction(243)/49: INFO: received action 'Search', args = { ContainerID=0, SearchCriteria=XYZ, Filter=*, StartingIndex=0, RequestedCount=200, SortCriteria= }
foo_upnp: 2123.090: PLT_MediaServer::OnSearch(462)/49: INFO: Received Search from 127.0.0.1 for id = 0 with search = XYZ, start = 0, count = 200
foo_upnp: 2123.271: upnp_server_conf::get_profile(714)/49: INFO: using profile 'foobar2000', matching header (User-Agent:Platinum/0.5.4.0, DLNADOC/1.50 / foobar2000)
foo_upnp: 2123.278: FbMediaServer::OnAction(260)/49: INFO: action 'Search' response: args = { ContainerID=0, SearchCriteria=XYZ, Filter=*, StartingIndex=0, RequestedCount=200, SortCriteria=, NumberReturned=2, TotalMatches=2, UpdateID=0 }
foo_upnp: 2123.328: FbMediaServer::ProcessHttpRequest(306)/64: INFO: received LAN request: http://127.0.0.1:56923/albumart/e20c55ad7b172a0bb66c0b1fb9d2a5c1 (User-Agent: Platinum/0.5.4.0, DLNADOC/1.50 / foobar2000)
foo_upnp: 2123.328: PLT_HttpHelper::ToLog(410)/64: INFO:


and from iPhone/PlugPlayer I've got this

Code: [Select]
foo_upnp: 2185.691: FbMediaServer::ProcessHttpRequest(306)/59: INFO: received LAN request: http://127.0.0.1:56923/ContentDirectory/4a7ed320-8443-e282-c5ad-a770ff95e93d/control.xml (User-Agent: PlugPlayer iPhone/10.4.0, UPnP/1.0, Portable SDK for UPnP devices/1.6.6)
foo_upnp: 2185.692: FbMediaServer::OnAction(243)/59: INFO: received action 'Search', args = { ContainerID=0, SearchCriteria=(upnp:class = "object.container.album.musicAlbum" and dc:title contains "XYZ"), Filter=*, StartingIndex=0, RequestedCount=10, SortCriteria= }
foo_upnp: 2185.692: PLT_MediaServer::OnSearch(462)/59: INFO: Received Search from 192.168.123.116 for id = 0 with search = (upnp:class = "object.container.album.musicAlbum" and dc:title contains "XYZ"), start = 0, count = 10
foo_upnp: 2185.706: FbMediaServer::OnAction(260)/59: INFO: action 'Search' response: args = { ContainerID=0, SearchCriteria=(upnp:class = "object.container.album.musicAlbum" and dc:title contains "XYZ"), Filter=*, StartingIndex=0, RequestedCount=10, SortCriteria=, NumberReturned=0, TotalMatches=0, UpdateID=0 }
foo_upnp: 2185.736: FbMediaServer::ProcessHttpRequest(306)/58: INFO: received LAN request: http://127.0.0.1:56923/ContentDirectory/4a7ed320-8443-e282-c5ad-a770ff95e93d/control.xml (User-Agent: PlugPlayer iPhone/10.4.0, UPnP/1.0, Portable SDK for UPnP devices/1.6.6)
foo_upnp: 2185.737: FbMediaServer::OnAction(243)/58: INFO: received action 'Search', args = { ContainerID=0, SearchCriteria=(upnp:class = "object.container.person.musicArtist" and dc:title contains "XYZ"), Filter=*, StartingIndex=0, RequestedCount=10, SortCriteria= }
foo_upnp: 2185.738: PLT_MediaServer::OnSearch(462)/58: INFO: Received Search from 192.168.123.116 for id = 0 with search = (upnp:class = "object.container.person.musicArtist" and dc:title contains "XYZ"), start = 0, count = 10
foo_upnp: 2185.739: FbMediaServer::OnAction(260)/58: INFO: action 'Search' response: args = { ContainerID=0, SearchCriteria=(upnp:class = "object.container.person.musicArtist" and dc:title contains "XYZ"), Filter=*, StartingIndex=0, RequestedCount=10, SortCriteria=, NumberReturned=0, TotalMatches=0, UpdateID=0 }
foo_upnp: 2185.770: FbMediaServer::ProcessHttpRequest(306)/46: INFO: received LAN request: http://127.0.0.1:56923/ContentDirectory/4a7ed320-8443-e282-c5ad-a770ff95e93d/control.xml (User-Agent: PlugPlayer iPhone/10.4.0, UPnP/1.0, Portable SDK for UPnP devices/1.6.6)
foo_upnp: 2185.771: FbMediaServer::OnAction(243)/46: INFO: received action 'Search', args = { ContainerID=0, SearchCriteria=(dc:title contains "XYZ"), Filter=*, StartingIndex=0, RequestedCount=10, SortCriteria= }
foo_upnp: 2185.771: PLT_MediaServer::OnSearch(462)/46: INFO: Received Search from 192.168.123.116 for id = 0 with search = (dc:title contains "XYZ"), start = 0, count = 10
foo_upnp: 2185.772: FbMediaServer::OnAction(260)/46: INFO: action 'Search' response: args = { ContainerID=0, SearchCriteria=(dc:title contains "XYZ"), Filter=*, StartingIndex=0, RequestedCount=10, SortCriteria=, NumberReturned=0, TotalMatches=0, UpdateID=0 }


so the difference in search request is, as I can guess, in the following:

Code: [Select]
args = { ContainerID=0, SearchCriteria=XYZ, Filter=*, StartingIndex=0, RequestedCount=200, SortCriteria= }

args = { ContainerID=0, SearchCriteria=(dc:title contains "XYZ"), Filter=*, StartingIndex=0, RequestedCount=10, SortCriteria= }


PlugPlayer adds dc:title to its search requests. And search results are empty for PlugPlayer and there are two results for foobar2000/foo_upnp native search.

So the question is - is that (dc:title) by some standard?
What would you recommend to do to resolve this issue and make media library perfectly searchable from PlugPlayer?

I could suggest a feature for foo_upnp to alter search requests (SearchCriteria) by regexps.
Yes, it's a hack, but who know what will come next from some other media browser.
So in this case we could have two input fields somewhere in foo_upnp settings - "SearchCriteria to match" and "replacement string"
so that "(dc:title contains "XYZ")" turned to be just "XYZ".

And thanks again for developing such a great component.
Title: foo_upnp
Post by: Ghostdivision on 2011-01-08 21:28:22
Could anyone please tell me why with ps3 on the server transcode to mp3 is greyed out? Its the only device that has this.
Title: foo_upnp
Post by: bubbleguuum on 2011-01-08 22:05:40
so the difference in search request is, as I can guess, in the following:

Code: [Select]
args = { ContainerID=0, SearchCriteria=XYZ, Filter=*, StartingIndex=0, RequestedCount=200, SortCriteria= }

args = { ContainerID=0, SearchCriteria=(dc:title contains "XYZ"), Filter=*, StartingIndex=0, RequestedCount=10, SortCriteria= }


PlugPlayer adds dc:title to its search requests. And search results are empty for PlugPlayer and there are two results for foobar2000/foo_upnp native search.

So the question is - is that (dc:title) by some standard?
What would you recommend to do to resolve this issue and make media library perfectly searchable from PlugPlayer?

I could suggest a feature for foo_upnp to alter search requests (SearchCriteria) by regexps.
Yes, it's a hack, but who know what will come next from some other media browser.
So in this case we could have two input fields somewhere in foo_upnp settings - "SearchCriteria to match" and "replacement string"
so that "(dc:title contains "XYZ")" turned to be just "XYZ".


Good find. PlugPlayer emit an upnp search request that the plugin do not handle.
The plugin only handle a few hard coded UPnP search requests for some specific clients (including PlugPlayer),  as mapping the full UPnP search syntax
to the foobar2000 search syntax would be a lot of work. This request from PlugPlayer must have been added in a recent version: I'll
add support for it. Note that the first request (SearchCriteria=XYZ) is a hack only used when foobar2000 is the client: it will send a request
in the foobar2000 search syntax instead of the UPnP syntax.  This allows search with full syntax when using foobar2000 as client and server.


Could anyone please tell me why with ps3 on the server transcode to mp3 is greyed out? Its the only device that has this.


Yes: the PS3 emit weird HTTP range requests for MP3, and the plugin doesn't support them when transcoding.
Anyway there's no need to stream MP3 to the PS3: just use LPCM for everything, this is the least troublesome format.
Title: foo_upnp
Post by: Ghostdivision on 2011-01-09 08:33:17
Thanks most of my music is flac so I dont want it transcoded to mp3. I was concerned though because of the transcode loseless option. I prefer my flac to stream in full quality.

One other question just so i am clear.

With all my devices under mp3 i have under transcode to mp3 never selected. Then I have under except, loseless and internet connection unchecked. Will this keep my flac files with no quality loss?
Title: foo_upnp
Post by: kompot on 2011-01-09 08:42:14
Quote
This request from PlugPlayer must have been added in a recent version: I'll add support for it.


Thanks a lot, can't wait to put hands on that :)
Title: foo_upnp
Post by: dvdr on 2011-01-09 10:03:38
Thanks! Found it, got it working... Only problem now is, that I cannot add anything that I can play/stream to my LinnDS. No matter, which control point I use, (of course?) the item/radiostation to play overwrites/stops the Playback Stream Capture.
Any idea, what I might be doing wrong or whether this is "mission impossible"?
Thanks


That's normal as the Playback Stream Capture (PBS)  item is put as a single item in the DS managed playlist.
As far as the DS is concerned, it sees it as a regular track.
I'm not sure what you are trying to achieve using PBS. Why don't you send item for playing to your DS using foobar2000 as the Media Server (like you would do with any other Media Server), using your favorite UPnP Control Point ?

Actually, the only thing I am trying to achieve is playback of last.FM. The DS does not support this natively, and there is no way to stream last.FM to my living room (and hence the DS) than either always switching on my laptop, starting Foobar and PBS-ing last.FM to the DS. Since the WHS-server needs to be running to listen to music anyway, I tried to achieve to start Foobar as a service, and then remotely control Foobar via my iPhone Apps or a web-interface on the iPhone. That would be the only manageable solution at the moment, that comes to my mind.

Thanks for all your support and your knowledeable answers so far!
Title: foo_upnp
Post by: Ghostdivision on 2011-01-09 23:18:28
One other question I am curious about.

Is it possible to get foobar with upnp plugin on a nas?

I like the idea of a nas for my house, but I need foobar upnp to transcode my flac files to certain devices. Can I put foobar on a nas?

I would rather not have foobar running on a seperate pc since its not always on.
Title: foo_upnp
Post by: stualden on 2011-01-11 18:27:46
One other question I am curious about.

Is it possible to get foobar with upnp plugin on a nas?


Can you get Windows programs to run on your NAS?  (Foobar is a Windows program.)
Title: foo_upnp
Post by: stualden on 2011-01-11 18:37:50
Can anyone relay experiences (successful or not) using fb2k with foo_upnp as the browser/player, but something else as the server, for over-the-Internet streaming?  (I see references to Whitebear in this topic, and I'll investigate that, but in a quick skim I didn't see any others mentioned.)  Can this even be done?

I'm currently using fb2k/foo_upnp as both server and browser fairly successfully to be able to access my home music library from work.  But since I'm using something else for video and images (currently Serviio seems to fit the bill nicely), I'm wondering if I can bring all my serving operations under one roof, so to speak.  Local streaming of audio isn't really needed in my case (fb2k can just read the files over the LAN directly), it's over-the-Internet streaming that I'm interested in - and fb2k is too nice a player to give up.

Thanks!
Title: foo_upnp
Post by: kompot on 2011-01-17 15:15:54
Hi,
bubbleguuum, one more question concerning gapless playback. Earlier you said that

Quote
At some point I may implement Linn DS extensions into the renderer which would allow gapless and playlist stored renderer side (instead of Controller side). But it still a bit far off.


but as far as I see gapless is already supported but only for mp3s that are already have ENC_PADDING and ENC_DELAY tags made by Lame but there are no such tags for files encoded from FLAC files. I do connect from another foobar2000 instance running foo_upnp over the internet and get perfect gapless for properly encoded mp3s. Is there way to add these tags to live encoded mp3s? It would be awesome :)

Thanks
Title: foo_upnp
Post by: bubbleguuum on 2011-01-17 19:00:40
but as far as I see gapless is already supported but only for mp3s that are already have ENC_PADDING and ENC_DELAY tags made by Lame but there are no such tags for files encoded from FLAC files. I do connect from another foobar2000 instance running foo_upnp over the internet and get perfect gapless for properly encoded mp3s. Is there way to add these tags to live encoded mp3s? It would be awesome


I was talking about gapless in a different context: when using an external control point (foobar2000, a phone, ...) to control playback of a remote foobar2000 instance.
Title: foo_upnp
Post by: Jxx on 2011-01-18 06:55:39
maybe i'm too tired
but i cant seem to get my foobar2000 to show up on my PS3
is there something obvious that i'm missing?

foobar2000 v1.1.1
installed the foo_upnp no problem
i can see other media servers (from my roommates) on my foobar
but on my ps3 i can only see my roommates computers

can someone help please?
i've searched all i can
Title: foo_upnp
Post by: kompot on 2011-01-18 18:00:51
I was talking about gapless in a different context: when using an external control point (foobar2000, a phone, ...) to control playback of a remote foobar2000 instance.


I'm also talking about streaming to remote foobar2000 instance.
I just tested it on Beatles' Abbey Road which I originally have in FLAC. So there are three test cases:

1. Original FLAC files transcoded to mp3 on the fly by foo_upnp.
2. Manually transcoded by foobar2000 to mp3 by LAME 3.97.
3. Manually transcoded by foobar2000 to mp3 by LAME 3.97 (each track was encoded separately).

I thought there might be difference between 2 and 3 but seems that there is not and LAME doesn't care about track order in terms of gaplessness. And the results are.

1. Gaps are there :(
2. Perfectly gapless
3. Perfectly gapless

So, I guess, there is something wrong with parameters that foo_upnp uses for encoding as there are no ENC_PADDING ENC_DELAY tags in the resulting files. Tried to find out which options are needed for LAME to get those tags embedded and found that
Quote
The only thing that you need to do is to make sure that you are using LAME 3.90.1 or higher. There are no special settings or switches that you need to use.


Thanks.
Title: foo_upnp
Post by: chronomitch on 2011-01-18 20:36:15
Hi. I'm having a problem concerning the playback frequency when using the Foobar2000 instance as a upnp server.

Right now I use two different configurations, and the problem affects both.

1) Streaming to PS3 on the local network as PCM (no transcoding to MP3).

2) Streaming over the Internet to another Foobar2000 instance. Everything is transcoded to MP3 for bandwidth reasons.

My music is in a number of different formats with a wide range of frequencies. Most is 44.1kHz, but some is 48kHz, 32kHz, or 96kHz. If I do not turn on replay gain or any DSPs on the server end, all of these files seem to play fine on the client end. As far as I can tell, everything is converted to 44.1kHz or 48kHz for my PS3 and to 44.1kHz for the Foobar2000 client over the Internet.

However, when I use replay gain on the server end, everything that isn't 44.1kHz goes wacky. It's as if everything is being interpreted as being 44.1kHz even if it is not. For example, a 96kHz file will play very slowly, while a 32kHz file will play too fast. I can workaround this bug by using a DSP which converts everything to 44.1kHz, but I don't understand why this is not required when not using replay gain or other DSPs.

Additionally, when I turn on replay gain or other DSPs, I get other undesirable side effects, such as being unable to see the total track time when playing on the PS3 (i.e. 1:03/--:--).

On an unrelated note, is it possible to have the seek bar usable on the Foobar2000 client? Playing via PS3 seems to allow a certain amount of seeking, but I cannot seek at all on the Foobar2000 client.
Title: foo_upnp
Post by: bubbleguuum on 2011-01-18 22:17:07
So, I guess, there is something wrong with parameters that foo_upnp uses for encoding as there are no ENC_PADDING ENC_DELAY tags in the resulting files. Tried to find out which options are needed for LAME to get those tags embedded and found that
Quote
The only thing that you need to do is to make sure that you are using LAME 3.90.1 or higher. There are no special settings or switches that you need to use.



Lame 3.98.2 is used. Maybe some flag is indeed missing, it needs more investigation. As i understand it ENC_PADDING and ENC_DELAY are not reguilar metadata tags but values found in frames ?


However, when I use replay gain on the server end, everything that isn't 44.1kHz goes wacky. It's as if everything is being interpreted as being 44.1kHz even if it is not. For example, a 96kHz file will play very slowly, while a 32kHz file will play too fast. I can workaround this bug by using a DSP which converts everything to 44.1kHz, but I don't understand why this is not required when not using replay gain or other DSPs.


I cannot reproduce it (using a LAN foobar2000 client), playing a 32Khz file with RG enabled. Can you post one of the offending file (just a sample should do it) ? Do these files have anything other particular (24 bits, multichannel ?)

Quote
Additionally, when I turn on replay gain or other DSPs, I get other undesirable side effects, such as being unable to see the total track time when playing on the PS3 (i.e. 1:03/--:--).


Blame the PS3 for never displaying duration when streaming LPCM (it considers LPCM to always be an infinite stream). You can work around this using WAV instead but it has other annoyances.

Quote
On an unrelated note, is it possible to have the seek bar usable on the Foobar2000 client? Playing via PS3 seems to allow a certain amount of seeking, but I cannot seek at all on the Foobar2000 client.


Seek is not supported when transcoding to mp3 (which happens when you stream via Internet).
Title: foo_upnp
Post by: kompot on 2011-01-18 23:24:58
Lame 3.98.2 is used. Maybe some flag is indeed missing, it needs more investigation. As i understand it ENC_PADDING and ENC_DELAY are not reguilar metadata tags but values found in frames ?


As I could find there is something called "Lame mp3 info tag"
http://gabriel.mp3-tech.org/mp3infotag.html (http://gabriel.mp3-tech.org/mp3infotag.html)
found an utility that shows all the information stored there
http://phwip.wordpress.com/home/audio/ (http://phwip.wordpress.com/home/audio/)

Strange thing is that this tag is stripped off because when I encode files in terminal with simplest command like

Code: [Select]
lame file.wav

with LAME 3.98.4 I get those tags shown by foobar2000 in the resulting mp3


A random guess - may be the encode process is done on the fly by lame and those tags are only written when flushing byte array to disk?
Title: foo_upnp
Post by: gaius on 2011-01-19 13:08:51
Today I installed foo_upnp to serve music to a Roku Soundbridge, and it works well.
However there are still a few things I haven't been able to do:

1- Start foobar+foo_upnp as a service. I can make foobar run as a Windows service, and the server is "seen" by the Soundbridge. But it cannot connect to it, since apparently it isn't loading my user-created profile, but a default "system" profile. I've seen people mentioning in this thread how they were running foobar+foo_upnp as a service, but no one described how they did it.

2- Playlist/folder monitoring. Is it possible to make foobar/upnp monitor a folder for new playlists, or playlist changes?


Can anyone shed some light on these two points?

cheers,
gaius
Title: foo_upnp
Post by: chronomitch on 2011-01-19 15:50:30
@bubbleguuum

Disregard what I said in my last post about the frequency problem. The PS3 scenario works as it should, given the console's limitations. However, I have done some more testing, and I believe there is still a problem in the Foobar2000 client scenario.

The problem concerns the use of the LAME MP3 encoder. If the music is never converted to PCM, transcoding works fine. It seems that LAME (or something else) automatically converts the frequency to 44.1kHz during the encoding process in this instance - and it does it correctly. Regardless of the source file frequency on the server end, the client receives a 44.1kHz MP3.

However, if the server converts the music to PCM before encoding it to MP3, whether by force or by using replay gain or a DSP, then problems occur. Although the client still receives a 44.1kHz MP3, it seems that LAME interprets every input as being 44.1kHz, even if it isn't, and no frequency conversion is performed. The result is that source files at 44.1kHz sound correct, but the pitch and speed of other files with different frequencies are wrong. For example, an 88.2kHz file is interpreted as a 44.1kHz file on the server end, so the resulting MP3 which reaches the client plays twice as slowly.

Short version: If the music is converted to PCM (caused by using replay gain in my case), then LAME will not convert the frequency of the file correctly.

Workaround: Use a DSP which resamples the frequency of everything to 44.1kHz.

If you want to run a short test, here is a free 88.2kHz file: http://www.mastersfromtheirday.com/downloa...r-88-080210.aif (http://www.mastersfromtheirday.com/download/In-the-water-88-080210.aif)
Title: foo_upnp
Post by: bubbleguuum on 2011-01-19 18:52:57
A random guess - may be the encode process is done on the fly by lame and those tags are only written when flushing byte array to disk?


It is possible that the library version of LAME for encoding on the fly needs some more parameters. I'll have to investigate.

1- Start foobar+foo_upnp as a service. I can make foobar run as a Windows service, and the server is "seen" by the Soundbridge. But it cannot connect to it, since apparently it isn't loading my user-created profile, but a default "system" profile. I've seen people mentioning in this thread how they were running foobar+foo_upnp as a service, but no one described how they did it.
2- Playlist/folder monitoring. Is it possible to make foobar/upnp monitor a folder for new playlists, or playlist changes?


1. Alternatively you can autolaunch foobar2000 minimized after Windows login.

2. No, the content of playlists is static once it has been browsed by a client. The ML content is loaded at foobar2000 launch and never
updated afterwards. To update you need to restart the server.


However, if the server converts the music to PCM before encoding it to MP3, whether by force or by using replay gain or a DSP, then problems occur. Although the client still receives a 44.1kHz MP3, it seems that LAME interprets every input as being 44.1kHz, even if it isn't, and no frequency conversion is performed. The result is that source files at 44.1kHz sound correct, but the pitch and speed of other files with different frequencies are wrong. For example, an 88.2kHz file is interpreted as a 44.1kHz file on the server end, so the resulting MP3 which reaches the client plays twice as slowly.


I still can't reproduce it (testing on the LAN): everything not 44.1Khz plays at the right speed when transcoded to mp3. Can you post a screenshot of the streaming profile you are using (I assume this is the foobar2000 profile).
I can't explain how LAME could be fed anything else than 44.1Khz, as when transcoding a file to mp3 for streaming all input (PCM) is force resampled to 44.1Khz before being encoded to mp3.
Title: foo_upnp
Post by: gaius on 2011-01-20 00:39:24
Thanks for your reply bubbleguuum.

1- Start foobar+foo_upnp as a service. I can make foobar run as a Windows service, and the server is "seen" by the Soundbridge. But it cannot connect to it, since apparently it isn't loading my user-created profile, but a default "system" profile. I've seen people mentioning in this thread how they were running foobar+foo_upnp as a service, but no one described how they did it.


1. Alternatively you can autolaunch foobar2000 minimized after Windows login.



In this case I mean to run it on a headless PC which turns itself on/off during the day, without anyone ever logging in (I only log in remotely to install software, or do "maintenance"). So the only way for it to always work would be to run it as a service, no?
Is it possible to edit the profile used by foo_upnp when running as a service, or alternatively force it to always use the same settings/profile?


Another question, how can one change the server name that the Roku sees? I changed the "Network name" on the Media Server and Renderer sections of the "Basic Settings", but the Roku still shows the original server name.

cheers,
gaius
Title: foo_upnp
Post by: chronomitch on 2011-01-20 01:42:34
Quote
Quote from:  link=msg=740094 date=0
However, if the server converts the music to PCM before encoding it to MP3, whether by force or by using replay gain or a DSP, then problems occur. Although the client still receives a 44.1kHz MP3, it seems that LAME interprets every input as being 44.1kHz, even if it isn't, and no frequency conversion is performed. The result is that source files at 44.1kHz sound correct, but the pitch and speed of other files with different frequencies are wrong. For example, an 88.2kHz file is interpreted as a 44.1kHz file on the server end, so the resulting MP3 which reaches the client plays twice as slowly.


I still can't reproduce it (testing on the LAN): everything not 44.1Khz plays at the right speed when transcoded to mp3. Can you post a screenshot of the streaming profile you are using (I assume this is the foobar2000 profile).
I can't explain how LAME could be fed anything else than 44.1Khz, as when transcoding a file to mp3 for streaming all input (PCM) is force resampled to 44.1Khz before being encoded to mp3.


After more testing, I'm not even sure if it's even related to LAME anymore. I have not been able to reliably reproduce the problem. I have managed to encounter the problem both when using replay gain and when not using it. It seems kind of random.

Anyway, I currently have it working correctly with replay gain. The profile is posted below. I will keep tinkering, and when I encounter the problem again, I will post the config again.

(http://img839.imageshack.us/img839/6531/upnpprofile.jpg)
Title: foo_upnp
Post by: chronomitch on 2011-01-21 16:16:52
Ok. I am experiencing the frequency problem once again. Here's the problem, though: I have not changed any settings. The only thing I did since my last post was stop and restart Foobar2000 a few times. I didn't mess with any settings.

Here is a picture of the profile settings:
(http://img153.imageshack.us/img153/2777/upnpsettings2.jpg)

And here is a snippet of the foobar2000 profile from the actual config file (to check for consistency):
Code: [Select]
<profile name="foobar2000" id="1">
        <http_headers names="User-Agent" substrings="foobar2000"></http_headers>
        <client_decode_http_stream>yes</client_decode_http_stream>
        <allow_submit_stats>yes</allow_submit_stats>
        <return_buggy_track_length>no</return_buggy_track_length>
        <mp3_transcode supported="yes">
          <mode except_exts="" except_types="">always</mode>
          <type>vbr</type>
          <vbr_quality>3</vbr_quality>
          <abr_cbr_bitrate>160</abr_cbr_bitrate>
        </mp3_transcode>
        <pcm_decode>
          <codec>lpcm</codec>
          <mode except_exts="">never</mode>
          <samplerate min="11025" max="192000"></samplerate>
          <convert_to_stereo>yes</convert_to_stereo>
          <max_bitdepth>24</max_bitdepth>
        </pcm_decode>
        <dsp_chain_conf>AAAAAA==</dsp_chain_conf>
        <playback_stream_capture codec="mp3" bitdepth="24" samplerate="44100"></playback_stream_capture>
        <replaygain source_mode="1" processing_mode="2" preamp_without_rg="0.000000" preamp_with_rg="0.000000" decoded_and_transcoded_only="no"></replaygain>
      </profile>

*UPDATE*

Right after I posted this, I stopped and restarted Foobar2000 (server end) once again, and now it works correctly again. I really have no clue why the behavior changes simply by restarting Foobar2000.
Title: foo_upnp
Post by: rboss on 2011-01-27 22:35:10
Good night bubbleguuum, and greetings from Portugal.

I've had a few problems with the UPnP plugin, on and off, which I wasn't able to discover, that is until today. So here it goes:

- when streaming from foobar to another client (usually from foobar in my tower pc to my laptop, either via lan or internet, but also to screamer radio), from time to time I'd get an constantly restarting stream, i.e. the client would start the stream, and after 1~3 seconds would restart (obviously I'd never hear anything) repeatedly.

This time I've troublshooted the problem: a fresh install of fb 1.1.2 on default settings, fresh UPnP plugin, pointed media library to my music, enabled streaming and started a stream to screamer radio (on the same pc).

I've found that, on the Playback settings (Activs DSP), by enabling 'convert stereo to 4 channels' will cause the streaming loop. If there are other DSP active, only by moving them above the 4 channels convertion will stop this behaviour.

The best way to test this is to use fb and screamer (or another client), enable internet acess on UPnP w/ mp3 strem, and then while streaming a file, go to the DSP page, remove all active DSPs and activate only 4 channels. This should trigger a loop, which will stop, and the stream will resume, when the DSPs disabled.

Is there a connection between foobar streaming profile and 'this' particular DSP?
Are there some settings I'm overlooking?
What could be causing this?

(Since I've found the "source" of my problem, I've tested it w/ mp3 streaming and this seems to be it. I use transcoding to 128kbps on internet streaming for bandwidth savings).

Thank you. And pardon my non-native bad english
Title: foo_upnp
Post by: fuffi on 2011-01-30 19:57:34
Hello bubbleguuum,
thank you for this great plugin! I started using it some months ago and it does its jos very good. no complains. music plays from intranet and internet. perfect. :-)

I'd like to suggest to make it a little bit portable by adding something like an enviroment variable %COMPUTERNAME% (this is a windows variable) to the Network Name.

Reason:
I use foobar portable on more than one computer. (I make changes to a foobar instance and sync it with another foobar instance to have the same settings everywhere)

Because of this syncing, it is always the "same" foobar which is running on different machines and I always have the same Network Name in your settings.
If i want to connect i.e. with the iphone app "plugplayer" I do not know, which to use.

So it could be easier for the users with more than 1 instance of foobar running on their machines (imagine a big LAN in a household with 3 kids),
when you could add the possiblility to use a WINDOWS SYSTEM VARIABLE, like %COMPUTERNAME%.
So, the foobar instance running on each computer could automaticly use a Network Name like: Great Foobar UPNP on <%COMPUTERNAME%>

Any ideas to this?


Title: foo_upnp
Post by: vassie on 2011-01-31 16:22:58
Since Florian is not saying much about adding support for foo_upnp to foo_audioscrobbler, can we have scrobbler support in foo_upnp?
Thanks
Title: foo_upnp
Post by: chronomitch on 2011-02-02 18:53:57
Just to give an update, I can confirm that the resampling/speed issue continues to occur, but randomly. The temporary fix is to restart the Foobar2000 server instance until the sound is correct. This morning, I had to restart the Foobar2000 server four times before I got the sound correct on the client end.

My guess is that there is some kind of race condition upon initialization of the plugin and/or reading of the configuration file, but I have no way to tell as the source code is not available.
Title: foo_upnp
Post by: fuffi on 2011-02-02 19:41:56
My guess is that there is some kind of race condition upon initialization of the plugin and/or reading of the configuration file
i must say, i never had a problem with the sound. i use upnp from foobar with a ps3, an iphone (plugplayer) and xbmc on an appleTV (or sometimes on windows). lucky me.
EDIT: foobar is running mostly under win7 and somtimes under XP.
Title: foo_upnp
Post by: Mike Koenecke on 2011-02-04 16:38:02
I installed this to interface with my LG BD590 Blu-Ray player / media server, and this has been working reasonably well on my system for a while, with one exception. While the BD590 can access and play foobar2000 playlists fine (with the exception of FLAC files, which it chokes on), if I even try to access the streaming server the BD590 crashes and turns off. I would like to be able to dynamically change playlists on my PC to stream to the BD590 if possible. Any ideas?
Title: foo_upnp
Post by: bubbleguuum on 2011-02-05 14:51:37
So it could be easier for the users with more than 1 instance of foobar running on their machines (imagine a big LAN in a household with 3 kids),
when you could add the possiblility to use a WINDOWS SYSTEM VARIABLE, like %COMPUTERNAME%.
So, the foobar instance running on each computer could automaticly use a Network Name like: Great Foobar UPNP on <%COMPUTERNAME%>


If it is a portable foobar2000 install, I'll automatically append %COMPUTERNAME% to the server name.


Since Florian is not saying much about adding support for foo_upnp to foo_audioscrobbler, can we have scrobbler support in foo_upnp?

No, I can't see myself implementing a scrobbling client.


My guess is that there is some kind of race condition upon initialization of the plugin and/or reading of the configuration file, but I have no way to tell as the source code is not available.


I still can't reproduce it and don't understand why this would happen. Maybe a sound card problem ?

I installed this to interface with my LG BD590 Blu-Ray player / media server, and this has been working reasonably well on my system for a while, with one exception. While the BD590 can access and play foobar2000 playlists fine (with the exception of FLAC files, which it chokes on), if I even try to access the streaming server the BD590 crashes and turns off. I would like to be able to dynamically change playlists on my PC to stream to the BD590 if possible. Any ideas?


If your player is an Media Renderer it should appear in the UPnP Controller renderer list and then you can control it from foobar2000. Alternatively if it doesn't, you can use Playback Stream Capture to control it
Title: foo_upnp
Post by: Mike Koenecke on 2011-02-05 16:21:06
If your player is an Media Renderer it should appear in the UPnP Controller renderer list and then you can control it from foobar2000. Alternatively if it doesn't, you can use Playback Stream Capture to control it


That's it: when I try to use Playback Stream Capture the LD BD590 crashes and shuts off. It's not a Media Renderer; I'm not trying to control it from foobar2000. I'm trying to stream audio (as opposed to just being able to play playlists with the BD590, which it does fine). I was wondering if there were some settings I need to be aware of to get this working properly.
Title: foo_upnp
Post by: i b listening on 2011-02-07 21:42:13
Can someone put out a couple more clues about the xml file used for configuration of the browse tree?

Specifically,

1. The initial documentation had a query for "compilation PRESENT".  How would one format a query for "compilation NOT PRESENT"? How is the compilation flag set?
2. I see that it is possible to have a query like "genre IS jazz". What would be the format for the query: "genre IS NOT jazz"?

Thanks in advance for any help.
Title: foo_upnp
Post by: Purple Monkey on 2011-02-08 01:56:08
Read Query Syntax Help.html in your foobar install folder (or by going Library -> Search and hitting the question mark (?),) for the syntax used in queries.
Title: foo_upnp
Post by: i b listening on 2011-02-08 06:03:01
Awesome - thanks!
Title: foo_upnp
Post by: i b listening on 2011-02-09 05:17:09

I'm trying to get a WDTV Live Plus working consistently with foo_upnp.

My setup (everything is hard wired) works fine when the WDTV Live Plus is 'pulling' songs from a foo_upnp server (DMP mode). It works most of the time when the foo_upnp controller is used to 'push' songs to the WDTVLIVE (DMR mode). However, sometimes the setup gets into a mode where songs just stop playing after a couple of seconds. When the issue occurs, it happens when a song (or songs) is first sent to the WDTVLIVE. If the first song plays OK, then any subsequent songs play OK.

I have two log files: the first is an example of a successful play, and the second is an example of when the song ended abruptly.

It would be great if you could take a look -  I'd be glad to support the effort with any testing/logging you may require.


Code: [Select]
foo_upnp: 50.684: controller_window::set_track_info_string(1028)/4816: INFO: track info display: Stopped
foo_upnp: 50.684: PLT_CtrlPoint::Subscribe(1441)/4816: INFO: Subscribing to service "urn:upnp-org:serviceId:ConnectionManager" of device "WDTVLIVE"
foo_upnp: 50.684: PLT_CtrlPoint::Subscribe(1441)/4816: INFO: Subscribing to service "urn:upnp-org:serviceId:RenderingControl" of device "WDTVLIVE"
foo_upnp: 50.684: RendererController::GetNearestResource(201)/4816: INFO: matching resource url to target ip 192.168.1.2: [url=http://192.168.1.6:56923/content/2639055ddfd2e08faa63f6417cd4a07c.wav?profile_id=0&convert=wav]http://192.168.1.6:56923/content/2639055dd...amp;convert=wav[/url]
foo_upnp: 50.684: RendererController::InvokeAction(88)/4956: INFO: >>>> CALL GetTransportInfo
foo_upnp: 50.684: UPnPAVRendererController::SetAVTransportURIAction(507)/4816: INFO: CurrentURI = [url=http://192.168.1.6:56923/content/2639055ddfd2e08faa63f6417cd4a07c.wav?profile_id=0&convert=wav]http://192.168.1.6:56923/content/2639055dd...amp;convert=wav[/url], CurrentURIMetaData = <DIDL-Lite xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/"><item id="1" parentID="0" restricted="1"><dc:title>01 - Jimi Hendrix - Hey Joe</dc:title><dc:creator>Jimi Hendrix</dc:creator><upnp:artist role="AlbumArtist">Jimi Hendrix</upnp:artist><upnp:author role="Composer">Familiar</upnp:author><upnp:album>Are You Experienced</upnp:album><upnp:genre>Rock-Classic</upnp:genre><upnp:genre>Rock</upnp:genre><dc:publisher>Mca</dc:publisher><upnp:albumArtURI>http://192.168.1.6:56923/albumart/2639055ddfd2e08faa63f6417cd4a07c</upnp:albumArtURI><upnp:longDescription> </upnp:longDescription><upnp:originalTrackNumber>1</upnp:originalTrackNumber><res duration="0:03:28.000" size="36691244" bitrate="176400" bitsPerSample="16" sampleFrequency="44100" nrAudioChannels="2" protocolInfo="http-get:*:audio/wav:*">http://192.168.1.6:56923/content/2639055ddfd2e08faa63f6417cd4a07c.wav?profile_id=0&amp;convert=wav</res><upnp:class>object.item.audioItem.musicTrack</upnp:class></item></DIDL-Lite>
foo_upnp: 50.684: RendererController::InvokeActionSync(99)/4816: INFO: >>>>>>>>>>>>> action (sync) : SetAVTransportURI <<<<<<<<<<<<<<
foo_upnp: 50.684: PLT_CtrlPoint::ProcessSubscribeResponse(1517)/2168: INFO: Received subscription response for service "urn:upnp-org:serviceId:ConnectionManager" (result = 0)
foo_upnp: 50.684: PLT_CtrlPoint::ProcessSubscribeResponse(1540)/2168: INFO: Creating new subscriber "uuid:" for service "urn:upnp-org:serviceId:ConnectionManager" of device "WDTVLIVE"
foo_upnp: 50.684: PLT_StateVariable::ValidateValue(219)/1760: WARNING: Invalid value of 0 for state variable TransportPlaySpeed [allowed range { 1 }]
foo_upnp: 50.684: PLT_Argument::SetValue(130)/1760: SEVERE: NPT_CHECK failed, result=-20000 (NPT_ERROR_INVALID_PARAMETERS) [(ValidateValue(value))]
foo_upnp: 50.684: PLT_Argument::CreateArgument(107)/1760: WARNING: Invalid value of 0 for argument CurrentSpeed of action GetTransportInfo
foo_upnp: 50.684: PLT_Action::SetArgumentValue(222)/1760: SEVERE: NPT_CHECK failed, result=-20000 (NPT_ERROR_INVALID_PARAMETERS) [(PLT_Argument::CreateArgument(m_ActionDesc, name, value, arg))]
foo_upnp: 50.684: PLT_Action::VerifyArguments(270)/1760: WARNING: Argument CurrentSpeed for action GetTransportInfo not found
foo_upnp: 50.684: RendererController::OnActionResponse(127)/1760: INFO: <<<< WDTVLIVE: RET GetTransportInfo: res = -1
foo_upnp: 50.700: PLT_CtrlPoint::ProcessSubscribeResponse(1517)/580: INFO: Received subscription response for service "urn:upnp-org:serviceId:RenderingControl" (result = 0)
foo_upnp: 50.700: UPnPAVRendererController::play_track(776)/4816: INFO: Setting local playing item: file://C:\Users\Public\Music\Familiar\Jimi Hendrix - Are You Experienced - 01 - Hey Joe.mp3
foo_upnp: 50.700: RendererController::InvokeAction(88)/4816: INFO: >>>> CALL Play
foo_upnp: 50.700: UPnPAVRendererController::OnGetTransportInfoResponse(564)/4816: INFO: failure: InstanceID=0, CurrentTransportState=NO_MEDIA_PRESENT, CurrentTransportStatus=OK
foo_upnp: 50.700: UPnPAVRendererController::set_transport_state(213)/4816: INFO: No local playing item
foo_upnp: 50.700: controller_window::set_track_info_string(1028)/4816: INFO: track info display: Stopped
foo_upnp: 50.700: UPnPAVRendererController::OnEventNotifyCallback(428)/4816: INFO: <<<< WDTVLIVE: EVENT SourceProtocolInfo=
foo_upnp: 50.700: UPnPAVRendererController::OnEventNotifyCallback(428)/4816: INFO: <<<< WDTVLIVE: EVENT SinkProtocolInfo=http-get:*:audio/L16;rate=44100;channels=1:DLNA.ORG_PN=LPCM,http-get:*:audio/mpeg:DLNA.ORG_PN=MP3,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMAFULL,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMABASE,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_PS_PAL,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_PS_NTSC,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_NA,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_NA_T,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_SD_NA_ISO,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_EU,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_EU_T,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_SD_EU_ISO,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_KO,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_KO_T,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_SD_KO_ISO,http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVMED_PRO,http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVMED_BASE,http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVMED_FULL,http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVHIGH_FULL,http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVHIGH_PRO,http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVHM_BASE,http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVSPLL_BASE,http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVSPML_BASE,http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_SM,http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_MED,http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_LRG,http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_TN,http-get:*:image/png:DLNA.ORG_PN=PNG_SM,http-get:*:image/png:DLNA.ORG_PN=PNG_MED,http-get:*:image/png:DLNA.ORG_PN=PNG_LRG,http-get:*:image/png:DLNA.ORG_PN=PNG_TN,http-get:*:audio/x-aiff:*,http-get:*:audio/x-wav:*,http-get:*:audio/lpcm:*,http-get:*:audio/x-mpegurl:*,http-get:*:audio/x-scpls:*,http-get:*:audio/x-ms-asx:*,http-get:*:audio/rmp:*,http-get:*:video/mpeg2:*,http-get:*:video/dvd:*,http-get:*:video/x-msvideo:*,http-get:*:video/avi:*,http-get:*:video/mp4:*,http-get:*:video/MP4V-ES:*,http-get:*:video/MP4V:*,http-get:*:video/x-mpegurl:*,http-get:*:video/x-scpls:*,http-get:*:video/x-ms-asx:*,http-get:*:video/rmp:*,http-get:*:image/tiff:*,http-get:*:image/jpeg:*,http-get:*:image/jpeg2000:*,http-get:*:image/png:*,http-get:*:image/bmp:*,http-get:*:image/gif:*,http-get:*:image/x-mpegurl:*,http-get:*:image/x-scpls:*,http-get:*:image/x-ms-asx:*,http-get:*:image/rmp:*,http-get:*:application/ogg:*,file:*:audio/x-ms-wma:*,file:*:audio/x-aiff:*,file:*:audio/mpeg:*,file:*:audio/x-wav:*,file:*:audio/lpcm:*,file:*:audio/x-mpegurl:*,file:*:audio/x-scpls:*,file:*:audio/x-ms-asx:*,file:*:audio/rmp:*,file:*:video/mpeg:*,file:*:video/mpeg2:*,file:*:video/dvd:*,file:*:video/x-msvideo:*,file:*:video/mp4:*,file:*:video/MP4V-ES:*,file:*:video/MP4V:*,file:*:video/x-mpegurl:*,file:*:video/x-scpls:*,file:*:video/x-ms-asx:*,file:*:video/rmp:*,file:*:image/tiff:*,file:*:image/jpeg:*,file:*:image/jpeg2000:*,file:*:image/png:*,file:*:image/bmp:*,file:*:image/gif:*,file:*:image/x-mpegurl:*,file:*:image/x-scpls:*,file:*:image/x-ms-asx:*,file:*:image/rmp:*,file:*:application/ogg:*,rhapsody:*:audio/x-ms-wma:*,rhapsody:*:audio/x-mpegurl:*,rhapsody:*:audio/x-rhap-radio:*,uvox:*:audio/mpeg:*,http-get:*:image/sls:*,http-get:*:application/x-dtcp1;CONTENTFORMAT=image/jpeg:*,unicast:*:video/mpeg2ts:*,multicast:*:video/mpeg2ts:*,rtsp:*:video/mp4:*,rtsp:*:misc/sdp:*
foo_upnp: 50.700: UPnPAVRendererController::OnEventNotifyCallback(428)/4816: INFO: <<<< WDTVLIVE: EVENT CurrentConnectionIDs=0
foo_upnp: 50.715: RendererController::OnActionResponse(127)/5776: INFO: <<<< WDTVLIVE: RET Play: res = 0
foo_upnp: 51.714: RendererController::InvokeAction(88)/4956: INFO: >>>> CALL GetTransportInfo
foo_upnp: 51.729: PLT_StateVariable::ValidateValue(219)/4768: WARNING: Invalid value of 0 for state variable TransportPlaySpeed [allowed range { 1 }]
foo_upnp: 51.729: PLT_Argument::SetValue(130)/4768: SEVERE: NPT_CHECK failed, result=-20000 (NPT_ERROR_INVALID_PARAMETERS) [(ValidateValue(value))]
foo_upnp: 51.729: PLT_Argument::CreateArgument(107)/4768: WARNING: Invalid value of 0 for argument CurrentSpeed of action GetTransportInfo
foo_upnp: 51.729: PLT_Action::SetArgumentValue(222)/4768: SEVERE: NPT_CHECK failed, result=-20000 (NPT_ERROR_INVALID_PARAMETERS) [(PLT_Argument::CreateArgument(m_ActionDesc, name, value, arg))]
foo_upnp: 51.729: PLT_Action::VerifyArguments(270)/4768: WARNING: Argument CurrentSpeed for action GetTransportInfo not found
foo_upnp: 51.729: RendererController::OnActionResponse(127)/4768: INFO: <<<< WDTVLIVE: RET GetTransportInfo: res = -1
foo_upnp: 51.729: UPnPAVRendererController::OnGetTransportInfoResponse(564)/4816: INFO: failure: InstanceID=0, CurrentTransportState=TRANSITIONING, CurrentTransportStatus=OK
foo_upnp: 51.729: controller_window::set_track_info_string(1028)/4816: INFO: track info display: Buffering...
foo_upnp: 52.556: FbMediaServer::ProcessHttpRequest(306)/2680: INFO: received LAN request: [url=http://192.168.1.6:56923/content/2639055ddfd2e08faa63f6417cd4a07c.wav?profile_id=0&amp;convert=wav]http://192.168.1.6:56923/content/2639055dd...amp;convert=wav[/url] (User-Agent: INTEL_NMPR/2.1 DLNADOC/1.50 dma/3.0 alphanetworks)
foo_upnp: 52.556: PLT_HttpHelper::ToLog(410)/2680: INFO:
HEAD /content/2639055ddfd2e08faa63f6417cd4a07c.wav?profile_id=0&amp;convert=wav HTTP/1.0
Host: 192.168.1.6:56923
getcontentFeatures.dlna.org: 1
transferMode.dlna.org: Streaming
User-Agent: INTEL_NMPR/2.1 DLNADOC/1.50 dma/3.0 alphanetworks
foo_upnp: opened 'file://C:\Users\Public\Music\Familiar\Jimi Hendrix - Are You Experienced - 01 - Hey Joe.mp3' for streaming, profile: Default, WAV / 44100 Hz / 16 bits / 2 channels, replaygain: on, DSP chain: off
foo_upnp: 52.572: FbMediaServer::ProcessHttpRequest(306)/6052: INFO: received LAN request: [url=http://192.168.1.6:56923/content/2639055ddfd2e08faa63f6417cd4a07c.wav?profile_id=0&amp;convert=wav]http://192.168.1.6:56923/content/2639055dd...amp;convert=wav[/url] (User-Agent: INTEL_NMPR/2.1 DLNADOC/1.50 dma/3.0 alphanetworks)
foo_upnp: 52.572: PLT_HttpHelper::ToLog(410)/6052: INFO:
GET /content/2639055ddfd2e08faa63f6417cd4a07c.wav?profile_id=0&amp;convert=wav HTTP/1.0
Host: 192.168.1.6:56923
Content-Length: 0
transferMode.dlna.org: Streaming
User-Agent: INTEL_NMPR/2.1 DLNADOC/1.50 dma/3.0 alphanetworks
foo_upnp: opened 'file://C:\Users\Public\Music\Familiar\Jimi Hendrix - Are You Experienced - 01 - Hey Joe.mp3' for streaming, profile: Default, WAV / 44100 Hz / 16 bits / 2 channels, replaygain: on, DSP chain: off
foo_upnp: 52.681: PLT_HttpServerSocketTask::Write(348)/6052: WARNING: NPT_CHECK failed, result=-20401 (NPT_ERROR_CONNECTION_ABORTED) [(NPT_StreamToStreamCopy( *body_stream.AsPointer(), *output_stream.AsPointer(), 0, entity->GetContentLength(), 0, abort))]
foo_upnp: 52.712: FbMediaServer::ProcessHttpRequest(306)/5656: INFO: received LAN request: [url=http://192.168.1.6:56923/content/2639055ddfd2e08faa63f6417cd4a07c.wav?profile_id=0&amp;convert=wav]http://192.168.1.6:56923/content/2639055dd...amp;convert=wav[/url] (User-Agent: INTEL_NMPR/2.1 DLNADOC/1.50 dma/3.0 alphanetworks)
foo_upnp: 52.712: PLT_HttpHelper::ToLog(410)/5656: INFO:
GET /content/2639055ddfd2e08faa63f6417cd4a07c.wav?profile_id=0&amp;convert=wav HTTP/1.0
Host: 192.168.1.6:56923
Content-Length: 0
transferMode.dlna.org: Streaming
User-Agent: INTEL_NMPR/2.1 DLNADOC/1.50 dma/3.0 alphanetworks
foo_upnp: opened 'file://C:\Users\Public\Music\Familiar\Jimi Hendrix - Are You Experienced - 01 - Hey Joe.mp3' for streaming, profile: Default, WAV / 44100 Hz / 16 bits / 2 channels, replaygain: on, DSP chain: off
foo_upnp: 52.743: RendererController::InvokeAction(88)/4956: INFO: >>>> CALL GetTransportInfo
foo_upnp: 52.759: PLT_StateVariable::ValidateValue(219)/1684: WARNING: Invalid value of 0 for state variable TransportPlaySpeed [allowed range { 1 }]
foo_upnp: 52.774: PLT_Argument::SetValue(130)/1684: SEVERE: NPT_CHECK failed, result=-20000 (NPT_ERROR_INVALID_PARAMETERS) [(ValidateValue(value))]
foo_upnp: 52.774: PLT_Argument::CreateArgument(107)/1684: WARNING: Invalid value of 0 for argument CurrentSpeed of action GetTransportInfo
foo_upnp: 52.774: PLT_Action::SetArgumentValue(222)/1684: SEVERE: NPT_CHECK failed, result=-20000 (NPT_ERROR_INVALID_PARAMETERS) [(PLT_Argument::CreateArgument(m_ActionDesc, name, value, arg))]
foo_upnp: 52.774: PLT_Action::VerifyArguments(270)/1684: WARNING: Argument CurrentSpeed for action GetTransportInfo not found
foo_upnp: 52.774: RendererController::OnActionResponse(127)/1684: INFO: <<<< WDTVLIVE: RET GetTransportInfo: res = -1
foo_upnp: 52.790: UPnPAVRendererController::OnGetTransportInfoResponse(564)/4816: INFO: failure: InstanceID=0, CurrentTransportState=TRANSITIONING, CurrentTransportStatus=OK
foo_upnp: 53.742: PLT_CtrlPoint::ProcessHttpNotify(689)/4656: SEVERE: uri=/a469a1b4-0090-a99d-21f0-62f55adc4205/urn:upnp-org:serviceId:RenderingControl, callback_uri=/a469a1b4-0090-a99d-21f0-62f55adc4205/urn:upnp-org:serviceId:ConnectionManager, NT=upnp:event, NTS=upnp:propchange
foo_upnp: 53.742: PLT_CtrlPoint::ProcessHttpNotify(690)/4656: WARNING: NPT_CHECK failed, result=-1 (FAILURE) [((-1))]
foo_upnp: 53.742: PLT_CtrlPoint::ProcessHttpNotify(750)/4656: SEVERE: CtrlPoint received bad request
foo_upnp: 53.804: RendererController::InvokeAction(88)/4956: INFO: >>>> CALL GetTransportInfo
foo_upnp: 53.820: RendererController::OnActionResponse(127)/4160: INFO: <<<< WDTVLIVE: RET GetTransportInfo: res = 0
foo_upnp: 54.303: PLT_CtrlPoint::ProcessHttpNotify(689)/952: SEVERE: uri=/a469a1b4-0090-a99d-21f0-62f55adc4205/urn:upnp-org:serviceId:RenderingControl, callback_uri=/a469a1b4-0090-a99d-21f0-62f55adc4205/urn:upnp-org:serviceId:ConnectionManager, NT=upnp:event, NTS=upnp:propchange
foo_upnp: 54.303: PLT_CtrlPoint::ProcessHttpNotify(690)/952: WARNING: NPT_CHECK failed, result=-1 (FAILURE) [((-1))]
foo_upnp: 54.303: PLT_CtrlPoint::ProcessHttpNotify(750)/952: SEVERE: CtrlPoint received bad request
foo_upnp: 54.834: RendererController::InvokeAction(88)/2476: INFO: >>>> CALL GetTransportInfo
foo_upnp: 54.849: RendererController::OnActionResponse(127)/2736: INFO: <<<< WDTVLIVE: RET GetTransportInfo: res = 0
foo_upnp: 55.863: RendererController::InvokeAction(88)/2476: INFO: >>>> CALL GetTransportInfo
foo_upnp: 55.863: RendererController::OnActionResponse(127)/636: INFO: <<<< WDTVLIVE: RET GetTransportInfo: res = 0
foo_upnp: 55.863: RendererController::InvokeAction(88)/2476: INFO: >>>> CALL GetPositionInfo
foo_upnp: 55.863: controller_window::set_track_info_string(1028)/4816: INFO: track info display:
foo_upnp: 55.879: RendererController::OnActionResponse(127)/2324: INFO: <<<< WDTVLIVE: RET GetPositionInfo: res = 0
foo_upnp: 55.879: controller_window::set_track_info_string(1028)/4816: INFO: track info display: 01 - Jimi Hendrix - Hey Joe
foo_upnp: 56.877: RendererController::InvokeAction(88)/2476: INFO: >>>> CALL GetTransportInfo
foo_upnp: 56.877: RendererController::OnActionResponse(127)/3544: INFO: <<<< WDTVLIVE: RET GetTransportInfo: res = 0
foo_upnp: 56.893: RendererController::InvokeAction(88)/2476: INFO: >>>> CALL GetPositionInfo
foo_upnp: 56.893: RendererController::OnActionResponse(127)/3460: INFO: <<<< WDTVLIVE: RET GetPositionInfo: res = 0
foo_upnp: 56.908: controller_window::set_track_info_string(1028)/4816: INFO: track info display: 01 - Jimi Hendrix - Hey Joe
foo_upnp: 57.891: RendererController::InvokeAction(88)/2476: INFO: >>>> CALL GetTransportInfo
foo_upnp: 57.907: RendererController::OnActionResponse(127)/1800: INFO: <<<< WDTVLIVE: RET GetTransportInfo: res = 0
foo_upnp: 57.922: RendererController::InvokeAction(88)/2476: INFO: >>>> CALL GetPositionInfo
foo_upnp: 57.922: RendererController::OnActionResponse(127)/4600: INFO: <<<< WDTVLIVE: RET GetPositionInfo: res = 0
foo_upnp: 57.922: controller_window::set_track_info_string(1028)/4816: INFO: track info display: 01 - Jimi Hendrix - Hey Joe
foo_upnp: 58.921: RendererController::InvokeAction(88)/2476: INFO: >>>> CALL GetTransportInfo
foo_upnp: 58.921: RendererController::OnActionResponse(127)/2712: INFO: <<<< WDTVLIVE: RET GetTransportInfo: res = 0
foo_upnp: 58.936: RendererController::InvokeAction(88)/2476: INFO: >>>> CALL GetPositionInfo
foo_upnp: 58.952: RendererController::OnActionResponse(127)/4508: INFO: <<<< WDTVLIVE: RET GetPositionInfo: res = 0
foo_upnp: 58.952: controller_window::set_track_info_string(1028)/4816: INFO: track info display: 01 - Jimi Hendrix - Hey Joe
foo_upnp: 59.482: controller_window::set_track_info_string(1028)/4816: INFO: track info display: Volume 1
foo_upnp: 59.514: controller_window::set_track_info_string(1028)/4816: INFO: track info display: Volume 2
foo_upnp: 59.529: controller_window::set_track_info_string(1028)/4816: INFO: track info display: Volume 3
foo_upnp: 59.545: controller_window::set_track_info_string(1028)/4816: INFO: track info display: Volume 5
foo_upnp: 59.560: controller_window::set_track_info_string(1028)/4816: INFO: track info display: Volume 7
foo_upnp: 59.576: controller_window::set_track_info_string(1028)/4816: INFO: track info display: Volume 9
foo_upnp: 59.576: controller_window::set_track_info_string(1028)/4816: INFO: track info display: Volume 11
foo_upnp: 59.592: controller_window::set_track_info_string(1028)/4816: INFO: track info display: Volume 13
foo_upnp: 59.716: controller_window::set_track_info_string(1028)/4816: INFO: track info display: Volume 14
foo_upnp: 59.826: controller_window::set_track_info_string(1028)/4816: INFO: track info display: Volume 15
foo_upnp: 59.857: controller_window::set_track_info_string(1028)/4816: INFO: track info display: Volume 16
foo_upnp: 59.857: controller_window::set_track_info_string(1028)/4816: INFO: track info display: Volume 16
foo_upnp: 59.857: RendererController::InvokeAction(88)/4816: INFO: >>>> CALL SetVolume
foo_upnp: 59.872: RendererController::OnActionResponse(127)/4148: INFO: <<<< WDTVLIVE: RET SetVolume: res = 0
foo_upnp: 59.872: PLT_CtrlPoint::ProcessHttpNotify(689)/3032: SEVERE: uri=/a469a1b4-0090-a99d-21f0-62f55adc4205/urn:upnp-org:serviceId:RenderingControl, callback_uri=/a469a1b4-0090-a99d-21f0-62f55adc4205/urn:upnp-org:serviceId:ConnectionManager, NT=upnp:event, NTS=upnp:propchange
foo_upnp: 59.872: PLT_CtrlPoint::ProcessHttpNotify(690)/3032: WARNING: NPT_CHECK failed, result=-1 (FAILURE) [((-1))]
foo_upnp: 59.872: PLT_CtrlPoint::ProcessHttpNotify(750)/3032: SEVERE: CtrlPoint received bad request
foo_upnp: 59.935: RendererController::InvokeAction(88)/2476: INFO: >>>> CALL GetTransportInfo
foo_upnp: 59.966: RendererController::InvokeAction(88)/2476: INFO: >>>> CALL GetPositionInfo
foo_upnp: 59.966: RendererController::OnActionResponse(127)/4488: INFO: <<<< WDTVLIVE: RET GetTransportInfo: res = 0
foo_upnp: 59.966: RendererController::OnActionResponse(127)/5224: INFO: <<<< WDTVLIVE: RET GetPositionInfo: res = 0
foo_upnp: 60.699: controller_window::set_track_info_string(1028)/4816: INFO: track info display: Volume 17
foo_upnp: 60.777: controller_window::set_track_info_string(1028)/4816: INFO: track info display: Volume 18
foo_upnp: 60.777: controller_window::set_track_info_string(1028)/4816: INFO: track info display: Volume 19
foo_upnp: 60.793: controller_window::set_track_info_string(1028)/4816: INFO: track info display: Volume 20
foo_upnp: 60.808: controller_window::set_track_info_string(1028)/4816: INFO: track info display: Volume 22
foo_upnp: 60.840: controller_window::set_track_info_string(1028)/4816: INFO: track info display: Volume 23
foo_upnp: 60.855: controller_window::set_track_info_string(1028)/4816: INFO: track info display: Volume 26
foo_upnp: 60.871: controller_window::set_track_info_string(1028)/4816: INFO: track info display: Volume 28
foo_upnp: 60.871: controller_window::set_track_info_string(1028)/4816: INFO: track info display: Volume 31
foo_upnp: 60.886: controller_window::set_track_info_string(1028)/4816: INFO: track info display: Volume 32
foo_upnp: 60.886: controller_window::set_track_info_string(1028)/4816: INFO: track info display: Volume 33
foo_upnp: 60.933: controller_window::set_track_info_string(1028)/4816: INFO: track info display: Volume 34
foo_upnp: 60.980: RendererController::InvokeAction(88)/2476: INFO: >>>> CALL GetPositionInfo
foo_upnp: 60.980: RendererController::InvokeAction(88)/4956: INFO: >>>> CALL GetTransportInfo
foo_upnp: 60.996: RendererController::OnActionResponse(127)/5200: INFO: <<<< WDTVLIVE: RET GetTransportInfo: res = 0
foo_upnp: 60.996: RendererController::OnActionResponse(127)/5552: INFO: <<<< WDTVLIVE: RET GetPositionInfo: res = 0
foo_upnp: 61.074: controller_window::set_track_info_string(1028)/4816: INFO: track info display: Volume 34
foo_upnp: 61.074: RendererController::InvokeAction(88)/4816: INFO: >>>> CALL SetVolume
foo_upnp: 61.074: RendererController::OnActionResponse(127)/5976: INFO: <<<< WDTVLIVE: RET SetVolume: res = 0
foo_upnp: 61.089: PLT_CtrlPoint::ProcessHttpNotify(689)/5496: SEVERE: uri=/a469a1b4-0090-a99d-21f0-62f55adc4205/urn:upnp-org:serviceId:RenderingControl, callback_uri=/a469a1b4-0090-a99d-21f0-62f55adc4205/urn:upnp-org:serviceId:ConnectionManager, NT=upnp:event, NTS=upnp:propchange
foo_upnp: 61.089: PLT_CtrlPoint::ProcessHttpNotify(690)/5496: WARNING: NPT_CHECK failed, result=-1 (FAILURE) [((-1))]
foo_upnp: 61.089: PLT_CtrlPoint::ProcessHttpNotify(750)/5496: SEVERE: CtrlPoint received bad request
foo_upnp: 62.010: RendererController::InvokeAction(88)/2476: INFO: >>>> CALL GetTransportInfo
foo_upnp: 62.010: RendererController::InvokeAction(88)/4956: INFO: >>>> CALL GetPositionInfo
foo_upnp: 62.025: RendererController::OnActionResponse(127)/4884: INFO: <<<< WDTVLIVE: RET GetPositionInfo: res = 0
foo_upnp: 62.025: RendererController::OnActionResponse(127)/4480: INFO: <<<< WDTVLIVE: RET GetTransportInfo: res = 0
foo_upnp: 62.587: controller_window::set_track_info_string(1028)/2476: INFO: track info display: 01 - Jimi Hendrix - Hey Joe
foo_upnp: 63.039: RendererController::InvokeAction(88)/2476: INFO: >>>> CALL GetTransportInfo
foo_upnp: 63.039: RendererController::InvokeAction(88)/4956: INFO: >>>> CALL GetPositionInfo
foo_upnp: 63.039: RendererController::OnActionResponse(127)/2432: INFO: <<<< WDTVLIVE: RET GetTransportInfo: res = 0
foo_upnp: 63.055: RendererController::OnActionResponse(127)/4844: INFO: <<<< WDTVLIVE: RET GetPositionInfo: res = 0
foo_upnp: 63.055: controller_window::set_track_info_string(1028)/4816: INFO: track info display: 01 - Jimi Hendrix - Hey Joe
foo_upnp: 64.053: RendererController::InvokeAction(88)/4956: INFO: >>>> CALL GetTransportInfo
foo_upnp: 64.053: RendererController::OnActionResponse(127)/4820: INFO: <<<< WDTVLIVE: RET GetTransportInfo: res = 0
foo_upnp: 64.069: RendererController::InvokeAction(88)/2476: INFO: >>>> CALL GetPositionInfo
foo_upnp: 64.069: RendererController::OnActionResponse(127)/3260: INFO: <<<< WDTVLIVE: RET GetPositionInfo: res = 0
foo_upnp: 64.069: controller_window::set_track_info_string(1028)/4816: INFO: track info display: 01 - Jimi Hendrix - Hey Joe
foo_upnp: 65.067: RendererController::InvokeAction(88)/2476: INFO: >>>> CALL GetTransportInfo
foo_upnp: 65.067: RendererController::OnActionResponse(127)/3564: INFO: <<<< WDTVLIVE: RET GetTransportInfo: res = 0
foo_upnp: 65.083: RendererController::InvokeAction(88)/2476: INFO: >>>> CALL GetPositionInfo
foo_upnp: 65.083: RendererController::OnActionResponse(127)/1292: INFO: <<<< WDTVLIVE: RET GetPositionInfo: res = 0
foo_upnp: 65.083: controller_window::set_track_info_string(1028)/4816: INFO: track info display: 01 - Jimi Hendrix - Hey Joe
foo_upnp: 66.081: RendererController::InvokeAction(88)/2476: INFO: >>>> CALL GetTransportInfo
foo_upnp: 66.097: RendererController::InvokeAction(88)/2476: INFO: >>>> CALL GetPositionInfo
foo_upnp: 66.097: RendererController::OnActionResponse(127)/4336: INFO: <<<< WDTVLIVE: RET GetTransportInfo: res = 0
foo_upnp: 66.112: RendererController::OnActionResponse(127)/5208: INFO: <<<< WDTVLIVE: RET GetPositionInfo: res = 0
foo_upnp: 66.112: controller_window::set_track_info_string(1028)/4816: INFO: track info display: 01 - Jimi Hendrix - Hey Joe
foo_upnp: 67.111: RendererController::InvokeAction(88)/2476: INFO: >>>> CALL GetTransportInfo
foo_upnp: 67.111: RendererController::OnActionResponse(127)/4308: INFO: <<<< WDTVLIVE: RET GetTransportInfo: res = 0
foo_upnp: 67.126: RendererController::InvokeAction(88)/2476: INFO: >>>> CALL GetPositionInfo
foo_upnp: 67.158: RendererController::OnActionResponse(127)/4860: INFO: <<<< WDTVLIVE: RET GetPositionInfo: res = 0
foo_upnp: 67.158: controller_window::set_track_info_string(1028)/4816: INFO: track info display: 01 - Jimi Hendrix - Hey Joe
foo_upnp: 68.172: RendererController::InvokeAction(88)/2476: INFO: >>>> CALL GetPositionInfo
foo_upnp: 68.172: RendererController::InvokeAction(88)/4956: INFO: >>>> CALL GetTransportInfo
foo_upnp: 68.187: RendererController::OnActionResponse(127)/404: INFO: <<<< WDTVLIVE: RET GetPositionInfo: res = 0
foo_upnp: 68.187: controller_window::set_track_info_string(1028)/4816: INFO: track info display: 01 - Jimi Hendrix - Hey Joe
foo_upnp: 68.187: RendererController::OnActionResponse(127)/3648: INFO: <<<< WDTVLIVE: RET GetTransportInfo: res = 0
foo_upnp: 69.201: RendererController::InvokeAction(88)/2476: INFO: >>>> CALL GetTransportInfo
foo_upnp: 69.201: RendererController::InvokeAction(88)/4956: INFO: >>>> CALL GetPositionInfo
foo_upnp: 69.217: RendererController::OnActionResponse(127)/2744: INFO: <<<< WDTVLIVE: RET GetTransportInfo: res = 0
Shutting down...
foo_upnp: 69.295: RendererController::OnActionResponse(127)/5872: INFO: <<<< WDTVLIVE: RET GetPositionInfo: res = 0

Code: [Select]
foo_upnp: 112.115: controller_window::set_track_info_string(1028)/568: INFO: track info display: Stopped
foo_upnp: 112.115: PLT_CtrlPoint::Subscribe(1441)/568: INFO: Subscribing to service "urn:upnp-org:serviceId:ConnectionManager" of device "WDTVLIVE"
foo_upnp: 112.115: PLT_CtrlPoint::Subscribe(1441)/568: INFO: Subscribing to service "urn:upnp-org:serviceId:RenderingControl" of device "WDTVLIVE"
foo_upnp: 112.115: RendererController::InvokeAction(88)/1764: INFO: >>>> CALL GetTransportInfo
foo_upnp: 112.115: RendererController::GetNearestResource(201)/568: INFO: matching resource url to target ip 192.168.1.2: [url=http://192.168.1.6:56923/content/2639055ddfd2e08faa63f6417cd4a07c.wav?profile_id=0&convert=wav]http://192.168.1.6:56923/content/2639055dd...amp;convert=wav[/url]
foo_upnp: 112.115: UPnPAVRendererController::SetAVTransportURIAction(507)/568: INFO: CurrentURI = [url=http://192.168.1.6:56923/content/2639055ddfd2e08faa63f6417cd4a07c.wav?profile_id=0&convert=wav]http://192.168.1.6:56923/content/2639055dd...amp;convert=wav[/url], CurrentURIMetaData = <DIDL-Lite xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/"><item id="1" parentID="0" restricted="1"><dc:title>01 - Jimi Hendrix - Hey Joe</dc:title><dc:creator>Jimi Hendrix</dc:creator><upnp:artist role="AlbumArtist">Jimi Hendrix</upnp:artist><upnp:author role="Composer">Familiar</upnp:author><upnp:album>Are You Experienced</upnp:album><upnp:genre>Rock-Classic</upnp:genre><upnp:genre>Rock</upnp:genre><dc:publisher>Mca</dc:publisher><upnp:albumArtURI>http://192.168.1.6:56923/albumart/2639055ddfd2e08faa63f6417cd4a07c</upnp:albumArtURI><upnp:longDescription> </upnp:longDescription><upnp:originalTrackNumber>1</upnp:originalTrackNumber><res duration="0:03:28.000" size="36691244" bitrate="176400" bitsPerSample="16" sampleFrequency="44100" nrAudioChannels="2" protocolInfo="http-get:*:audio/wav:*">http://192.168.1.6:56923/content/2639055ddfd2e08faa63f6417cd4a07c.wav?profile_id=0&amp;convert=wav</res><upnp:class>object.item.audioItem.musicTrack</upnp:class></item></DIDL-Lite>
foo_upnp: 112.115: RendererController::InvokeActionSync(99)/568: INFO: >>>>>>>>>>>>> action (sync) : SetAVTransportURI <<<<<<<<<<<<<<
foo_upnp: 112.130: PLT_CtrlPoint::ProcessSubscribeResponse(1517)/5016: INFO: Received subscription response for service "urn:upnp-org:serviceId:ConnectionManager" (result = 0)
foo_upnp: 112.130: PLT_CtrlPoint::ProcessSubscribeResponse(1540)/5016: INFO: Creating new subscriber "uuid:" for service "urn:upnp-org:serviceId:ConnectionManager" of device "WDTVLIVE"
foo_upnp: 112.130: PLT_CtrlPoint::ProcessSubscribeResponse(1517)/3800: INFO: Received subscription response for service "urn:upnp-org:serviceId:RenderingControl" (result = 0)
foo_upnp: 112.130: RendererController::OnActionResponse(127)/5968: INFO: <<<< WDTVLIVE: RET GetTransportInfo: res = 0
foo_upnp: 112.130: UPnPAVRendererController::play_track(776)/568: INFO: Setting local playing item: file://C:\Users\Public\Music\Familiar\Jimi Hendrix - Are You Experienced - 01 - Hey Joe.mp3
foo_upnp: 112.130: RendererController::InvokeAction(88)/568: INFO: >>>> CALL Play
foo_upnp: 112.130: UPnPAVRendererController::set_transport_state(213)/568: INFO: No local playing item
foo_upnp: 112.130: controller_window::set_track_info_string(1028)/568: INFO: track info display: Stopped
foo_upnp: 112.146: UPnPAVRendererController::OnEventNotifyCallback(428)/568: INFO: <<<< WDTVLIVE: EVENT SourceProtocolInfo=
foo_upnp: 112.146: UPnPAVRendererController::OnEventNotifyCallback(428)/568: INFO: <<<< WDTVLIVE: EVENT SinkProtocolInfo=http-get:*:audio/L16;rate=44100;channels=1:DLNA.ORG_PN=LPCM,http-get:*:audio/mpeg:DLNA.ORG_PN=MP3,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMAFULL,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMABASE,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_PS_PAL,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_PS_NTSC,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_NA,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_NA_T,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_SD_NA_ISO,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_EU,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_EU_T,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_SD_EU_ISO,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_KO,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_KO_T,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_SD_KO_ISO,http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVMED_PRO,http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVMED_BASE,http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVMED_FULL,http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVHIGH_FULL,http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVHIGH_PRO,http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVHM_BASE,http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVSPLL_BASE,http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVSPML_BASE,http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_SM,http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_MED,http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_LRG,http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_TN,http-get:*:image/png:DLNA.ORG_PN=PNG_SM,http-get:*:image/png:DLNA.ORG_PN=PNG_MED,http-get:*:image/png:DLNA.ORG_PN=PNG_LRG,http-get:*:image/png:DLNA.ORG_PN=PNG_TN,http-get:*:audio/x-aiff:*,http-get:*:audio/x-wav:*,http-get:*:audio/lpcm:*,http-get:*:audio/x-mpegurl:*,http-get:*:audio/x-scpls:*,http-get:*:audio/x-ms-asx:*,http-get:*:audio/rmp:*,http-get:*:video/mpeg2:*,http-get:*:video/dvd:*,http-get:*:video/x-msvideo:*,http-get:*:video/avi:*,http-get:*:video/mp4:*,http-get:*:video/MP4V-ES:*,http-get:*:video/MP4V:*,http-get:*:video/x-mpegurl:*,http-get:*:video/x-scpls:*,http-get:*:video/x-ms-asx:*,http-get:*:video/rmp:*,http-get:*:image/tiff:*,http-get:*:image/jpeg:*,http-get:*:image/jpeg2000:*,http-get:*:image/png:*,http-get:*:image/bmp:*,http-get:*:image/gif:*,http-get:*:image/x-mpegurl:*,http-get:*:image/x-scpls:*,http-get:*:image/x-ms-asx:*,http-get:*:image/rmp:*,http-get:*:application/ogg:*,file:*:audio/x-ms-wma:*,file:*:audio/x-aiff:*,file:*:audio/mpeg:*,file:*:audio/x-wav:*,file:*:audio/lpcm:*,file:*:audio/x-mpegurl:*,file:*:audio/x-scpls:*,file:*:audio/x-ms-asx:*,file:*:audio/rmp:*,file:*:video/mpeg:*,file:*:video/mpeg2:*,file:*:video/dvd:*,file:*:video/x-msvideo:*,file:*:video/mp4:*,file:*:video/MP4V-ES:*,file:*:video/MP4V:*,file:*:video/x-mpegurl:*,file:*:video/x-scpls:*,file:*:video/x-ms-asx:*,file:*:video/rmp:*,file:*:image/tiff:*,file:*:image/jpeg:*,file:*:image/jpeg2000:*,file:*:image/png:*,file:*:image/bmp:*,file:*:image/gif:*,file:*:image/x-mpegurl:*,file:*:image/x-scpls:*,file:*:image/x-ms-asx:*,file:*:image/rmp:*,file:*:application/ogg:*,rhapsody:*:audio/x-ms-wma:*,rhapsody:*:audio/x-mpegurl:*,rhapsody:*:audio/x-rhap-radio:*,uvox:*:audio/mpeg:*,http-get:*:image/sls:*,http-get:*:application/x-dtcp1;CONTENTFORMAT=image/jpeg:*,unicast:*:video/mpeg2ts:*,multicast:*:video/mpeg2ts:*,rtsp:*:video/mp4:*,rtsp:*:misc/sdp:*
foo_upnp: 112.146: UPnPAVRendererController::OnEventNotifyCallback(428)/568: INFO: <<<< WDTVLIVE: EVENT CurrentConnectionIDs=0
foo_upnp: 112.146: RendererController::OnActionResponse(127)/800: INFO: <<<< WDTVLIVE: RET Play: res = 0
foo_upnp: 112.255: FbMediaServer::ProcessHttpRequest(306)/4704: INFO: received LAN request: [url=http://192.168.1.6:56923/content/2639055ddfd2e08faa63f6417cd4a07c.wav?profile_id=0&amp;convert=wav]http://192.168.1.6:56923/content/2639055dd...amp;convert=wav[/url] (User-Agent: INTEL_NMPR/2.1 DLNADOC/1.50 dma/3.0 alphanetworks)
foo_upnp: 112.255: PLT_HttpHelper::ToLog(410)/4704: INFO:
HEAD /content/2639055ddfd2e08faa63f6417cd4a07c.wav?profile_id=0&amp;convert=wav HTTP/1.0
Host: 192.168.1.6:56923
getcontentFeatures.dlna.org: 1
transferMode.dlna.org: Streaming
User-Agent: INTEL_NMPR/2.1 DLNADOC/1.50 dma/3.0 alphanetworks
foo_upnp: opened 'file://C:\Users\Public\Music\Familiar\Jimi Hendrix - Are You Experienced - 01 - Hey Joe.mp3' for streaming, profile: Default, WAV / 44100 Hz / 16 bits / 2 channels, replaygain: on, DSP chain: off
foo_upnp: 112.286: FbMediaServer::ProcessHttpRequest(306)/5880: INFO: received LAN request: [url=http://192.168.1.6:56923/content/2639055ddfd2e08faa63f6417cd4a07c.wav?profile_id=0&amp;convert=wav]http://192.168.1.6:56923/content/2639055dd...amp;convert=wav[/url] (User-Agent: INTEL_NMPR/2.1 DLNADOC/1.50 dma/3.0 alphanetworks)
foo_upnp: 112.286: PLT_HttpHelper::ToLog(410)/5880: INFO:
GET /content/2639055ddfd2e08faa63f6417cd4a07c.wav?profile_id=0&amp;convert=wav HTTP/1.0
Host: 192.168.1.6:56923
Content-Length: 0
transferMode.dlna.org: Streaming
User-Agent: INTEL_NMPR/2.1 DLNADOC/1.50 dma/3.0 alphanetworks
foo_upnp: opened 'file://C:\Users\Public\Music\Familiar\Jimi Hendrix - Are You Experienced - 01 - Hey Joe.mp3' for streaming, profile: Default, WAV / 44100 Hz / 16 bits / 2 channels, replaygain: on, DSP chain: off
foo_upnp: 112.302: PLT_HttpServerSocketTask::Write(348)/5880: WARNING: NPT_CHECK failed, result=-20401 (NPT_ERROR_CONNECTION_ABORTED) [(NPT_StreamToStreamCopy( *body_stream.AsPointer(), *output_stream.AsPointer(), 0, entity->GetContentLength(), 0, abort))]
foo_upnp: 112.333: FbMediaServer::ProcessHttpRequest(306)/3904: INFO: received LAN request: [url=http://192.168.1.6:56923/content/2639055ddfd2e08faa63f6417cd4a07c.wav?profile_id=0&amp;convert=wav]http://192.168.1.6:56923/content/2639055dd...amp;convert=wav[/url] (User-Agent: INTEL_NMPR/2.1 DLNADOC/1.50 dma/3.0 alphanetworks)
foo_upnp: 112.349: PLT_HttpHelper::ToLog(410)/3904: INFO:
GET /content/2639055ddfd2e08faa63f6417cd4a07c.wav?profile_id=0&amp;convert=wav HTTP/1.0
Host: 192.168.1.6:56923
Content-Length: 0
transferMode.dlna.org: Streaming
User-Agent: INTEL_NMPR/2.1 DLNADOC/1.50 dma/3.0 alphanetworks
foo_upnp: opened 'file://C:\Users\Public\Music\Familiar\Jimi Hendrix - Are You Experienced - 01 - Hey Joe.mp3' for streaming, profile: Default, WAV / 44100 Hz / 16 bits / 2 channels, replaygain: on, DSP chain: off
foo_upnp: 113.144: RendererController::InvokeAction(88)/1764: INFO: >>>> CALL GetTransportInfo
foo_upnp: 113.160: RendererController::OnActionResponse(127)/2624: INFO: <<<< WDTVLIVE: RET GetTransportInfo: res = 0
foo_upnp: 113.160: controller_window::set_track_info_string(1028)/568: INFO: track info display: Buffering...
foo_upnp: 113.409: PLT_CtrlPoint::ProcessHttpNotify(689)/4132: SEVERE: uri=/a469a1b4-0090-a99d-21f0-62f55adc4205/urn:upnp-org:serviceId:RenderingControl, callback_uri=/a469a1b4-0090-a99d-21f0-62f55adc4205/urn:upnp-org:serviceId:ConnectionManager, NT=upnp:event, NTS=upnp:propchange
foo_upnp: 113.409: PLT_CtrlPoint::ProcessHttpNotify(690)/4132: WARNING: NPT_CHECK failed, result=-1 (FAILURE) [((-1))]
foo_upnp: 113.409: PLT_CtrlPoint::ProcessHttpNotify(750)/4132: SEVERE: CtrlPoint received bad request
foo_upnp: 114.174: RendererController::InvokeAction(88)/1764: INFO: >>>> CALL GetTransportInfo
foo_upnp: 115.172: PLT_HttpTcpConnector::Connect(86)/5760: FATAL: NPT_CHECK failed, result=-20402 (NPT_ERROR_CONNECTION_REFUSED) [(m_Socket->Connect(socket_address, connection_timeout))]
foo_upnp: 115.172: NPT_HttpClient::SendRequestOnce(1070)/5760: WARNING: NPT_CHECK failed, result=-20402 (NPT_ERROR_CONNECTION_REFUSED) [(m_Connector->Connect(server_hostname, server_port, m_Config.m_ConnectionTimeout, m_Config.m_IoTimeout, m_Config.m_NameResolverTimeout, input_stream, output_stream))]
foo_upnp: 115.172: RendererController::OnActionResponse(127)/5760: INFO: <<<< WDTVLIVE: RET GetTransportInfo: res = -20402
foo_upnp: 115.172: UPnPAVRendererController::OnGetTransportInfoResponse(564)/568: INFO: failure: InstanceID=0
foo_upnp: 115.172: UPnPAVRendererController::OnGetTransportInfoResponse(578)/568: INFO: failure: InstanceID=0
foo_upnp: 116.607: PLT_CtrlPoint::ProcessSsdpNotify(905)/4904: INFO: Received a byebye NOTIFY request from a469a1b4-0090-a99d-21f0-62f55adc4205
foo_upnp: 116.607: PLT_CtrlPoint::Subscribe(1466)/568: INFO: Unsubscribing subscriber "uuid:" for service "urn:upnp-org:serviceId:ConnectionManager" of device "WDTVLIVE"
foo_upnp: 116.607: PLT_CtrlPoint::Subscribe(1466)/568: INFO: Unsubscribing subscriber "unknown" for service "urn:upnp-org:serviceId:RenderingControl" of device "WDTVLIVE"
foo_upnp: 116.607: PLT_CtrlPoint::Subscribe(1466)/568: INFO: Unsubscribing subscriber "unknown" for service "urn:upnp-org:serviceId:ConnectionManager" of device "WDTVLIVE"
foo_upnp: 116.607: PLT_CtrlPoint::Subscribe(1466)/568: INFO: Unsubscribing subscriber "unknown" for service "urn:upnp-org:serviceId:RenderingControl" of device "WDTVLIVE"
foo_upnp: 116.607: controller_window::set_track_info_string(1028)/568: INFO: track info display:
foo_upnp: 116.607: PLT_HttpServerSocketTask::Write(348)/3904: WARNING: NPT_CHECK failed, result=-20401 (NPT_ERROR_CONNECTION_ABORTED) [(NPT_StreamToStreamCopy( *body_stream.AsPointer(), *output_stream.AsPointer(), 0, entity->GetContentLength(), 0, abort))]
foo_upnp: 116.607: PLT_CtrlPoint::CleanupDevice(1004)/4904: INFO: Removing a469a1b4-0090-a99d-21f0-62f55adc4205 from device list
foo_upnp: 116.607: PLT_CtrlPoint::ProcessSsdpNotify(905)/4904: INFO: Received a byebye NOTIFY request from a469a1b4-0090-a99d-21f0-62f55adc4205
foo_upnp: 116.607: PLT_CtrlPoint::ProcessSsdpNotify(905)/4904: INFO: Received a byebye NOTIFY request from a469a1b4-0090-a99d-21f0-62f55adc4205
foo_upnp: 116.623: PLT_CtrlPoint::ProcessSsdpNotify(905)/4904: INFO: Received a byebye NOTIFY request from a469a1b4-0090-a99d-21f0-62f55adc4205
foo_upnp: 116.623: PLT_CtrlPoint::ProcessSsdpNotify(905)/4904: INFO: Received a byebye NOTIFY request from a469a1b4-0090-a99d-21f0-62f55adc4205
foo_upnp: 116.623: PLT_CtrlPoint::ProcessSsdpNotify(905)/4904: INFO: Received a byebye NOTIFY request from a469a1b4-0090-a99d-21f0-62f55adc4205
foo_upnp: 116.623: PLT_CtrlPoint::ProcessSsdpNotify(905)/4904: INFO: Received a byebye NOTIFY request from a469a1b4-0090-a99d-21f0-62f55adc4205
foo_upnp: 116.623: PLT_CtrlPoint::ProcessSsdpNotify(905)/4904: INFO: Received a byebye NOTIFY request from a469a1b4-0090-a99d-21f0-62f55adc4205
foo_upnp: 116.623: PLT_CtrlPoint::ProcessSsdpNotify(905)/4904: INFO: Received a byebye NOTIFY request from a469a1b4-0090-a99d-21f0-62f55adc4205
foo_upnp: 116.623: PLT_CtrlPoint::ProcessSsdpNotify(905)/4904: INFO: Received a byebye NOTIFY request from a469a1b4-0090-a99d-21f0-62f55adc4205
foo_upnp: 116.623: PLT_CtrlPoint::ProcessSsdpNotify(905)/4904: INFO: Received a byebye NOTIFY request from a469a1b4-0090-a99d-21f0-62f55adc4205
foo_upnp: 116.623: PLT_CtrlPoint::ProcessSsdpNotify(905)/4904: INFO: Received a byebye NOTIFY request from a469a1b4-0090-a99d-21f0-62f55adc4205
foo_upnp: 116.732: PLT_CtrlPoint::InspectDevice(1104)/4904: INFO: New device "a469a1b4-0090-a99d-21f0-62f55adc4205" detected @ [url=http://192.168.1.2:56045/]http://192.168.1.2:56045/[/url]
foo_upnp: 117.621: PLT_HttpTcpConnector::Connect(86)/4396: FATAL: NPT_CHECK failed, result=-20402 (NPT_ERROR_CONNECTION_REFUSED) [(m_Socket->Connect(socket_address, connection_timeout))]
foo_upnp: 117.621: NPT_HttpClient::SendRequestOnce(1070)/4396: WARNING: NPT_CHECK failed, result=-20402 (NPT_ERROR_CONNECTION_REFUSED) [(m_Connector->Connect(server_hostname, server_port, m_Config.m_ConnectionTimeout, m_Config.m_IoTimeout, m_Config.m_NameResolverTimeout, input_stream, output_stream))]
foo_upnp: 117.621: PLT_CtrlPoint::ProcessSubscribeResponse(1517)/4396: INFO: Received subscription response for service "urn:upnp-org:serviceId:ConnectionManager" (result = -20402)
foo_upnp: 117.621: PLT_CtrlPoint::ProcessSubscribeResponse(1523)/4396: SEVERE: NPT_CHECK failed, result=-20402 (NPT_ERROR_CONNECTION_REFUSED) [(((res) != 0)?res:(-1))]
foo_upnp: 117.621: PLT_CtrlPoint::ProcessSubscribeResponse(1556)/4396: SEVERE: (un)subscription failed of sub "?" for service "urn:upnp-org:serviceId:ConnectionManager" of device "WDTVLIVE", code=-1
foo_upnp: 117.824: PLT_CtrlPoint::ProcessGetDescriptionResponse(1179)/5740: INFO: Received device description for a469a1b4-0090-a99d-21f0-62f55adc4205 (result = 0)
foo_upnp: 117.840: PLT_CtrlPoint::ProcessGetDescriptionResponse(1234)/5740: INFO: Device "a469a1b4-0090-a99d-21f0-62f55adc4205" is now known as "WDTVLIVE"
foo_upnp: 117.840: PLT_AddGetSCPDRequestIterator::operator ()(142)/5740: INFO: Queueing SCPD request for service "urn:upnp-org:serviceId:AVTransport" of device "WDTVLIVE" @ [url=http://192.168.1.2:56045/MediaRenderer_AVTransport/scpd.xml]http://192.168.1.2:56045/MediaRenderer_AVTransport/scpd.xml[/url]
foo_upnp: 117.840: PLT_AddGetSCPDRequestIterator::operator ()(142)/5740: INFO: Queueing SCPD request for service "urn:upnp-org:serviceId:ConnectionManager" of device "WDTVLIVE" @ [url=http://192.168.1.2:56045/MediaRenderer_ConnectionManager/scpd.xml]http://192.168.1.2:56045/MediaRenderer_Con...anager/scpd.xml[/url]
foo_upnp: 117.840: PLT_AddGetSCPDRequestIterator::operator ()(142)/5740: INFO: Queueing SCPD request for service "urn:upnp-org:serviceId:RenderingControl" of device "WDTVLIVE" @ [url=http://192.168.1.2:56045/MediaRenderer_RenderingControl/scpd.xml]http://192.168.1.2:56045/MediaRenderer_Ren...ontrol/scpd.xml[/url]
foo_upnp: 117.949: PLT_CtrlPoint::ProcessGetSCPDResponse(1300)/4520: INFO: Received SCPD response for a service of device "WDTVLIVE" @ [url=http://192.168.1.2:56045/MediaRenderer_AVTransport/scpd.xml]http://192.168.1.2:56045/MediaRenderer_AVTransport/scpd.xml[/url] (result = 0)
foo_upnp: 117.949: PLT_CtrlPoint::ProcessGetSCPDResponse(1300)/4520: INFO: Received SCPD response for a service of device "WDTVLIVE" @ [url=http://192.168.1.2:56045/MediaRenderer_ConnectionManager/scpd.xml]http://192.168.1.2:56045/MediaRenderer_Con...anager/scpd.xml[/url] (result = 0)
foo_upnp: 117.949: PLT_CtrlPoint::ProcessGetSCPDResponse(1300)/4520: INFO: Received SCPD response for a service of device "WDTVLIVE" @ [url=http://192.168.1.2:56045/MediaRenderer_RenderingControl/scpd.xml]http://192.168.1.2:56045/MediaRenderer_Ren...ontrol/scpd.xml[/url] (result = 0)
foo_upnp: 117.949: LinnDsRendererController::Create(117)/568: INFO: couldn't find urn:linn-co-uk:service:Product:3 service
foo_upnp: 117.949: RendererController::Create(53)/568: INFO: Created UPnPAv Controller for device: WDTVLIVE
Shutting down...
Title: foo_upnp
Post by: phk on 2011-02-12 21:54:10
Hello

I am using foobar and the UpNp pluging to listen music on my hifi (Naim Uniti). Works very well. However, there are some files wich cannot be read with foobar : for examples, music from youtube (FLV files) or from spotify. So it would be very good if the UpNp player could also be connected to capture the PC sound output and redirect it direcly to the Uniti. This is possible with Asset-UpNp, as has been explained on the Naim forum (http://forums.naimaudio.com/displayForumTopic/content/2974496135321583). But I like foobar very much, and would prefer to stay with it.

Do you think it is possible ?

Thanks again

Philippe
Title: foo_upnp
Post by: dmytty on 2011-02-17 04:56:55
For the Record, I can confirm that an Oppo BDP-83 will playback 96 khz, 24 bit 5.0 files with the latest firmware (Feb 2, 2011) using Foobar's UPNP plugin (and no DSPs in the chain).

Problems with this scenario:
1.  Oppo BDP-83 chokes on all 5.1 files (in ear screeching fashion). 
2.  Foobar's problem is that UPNP streaming profile's 'stereo only' is not exactly an audiophiles dream.

Potential 'bug fix'
Why not replace Foobar's streaming profiles 'stereo only' checkbox with a 'channel output' drop down that includes 2.0, 4.0, 5.0, 2.1, 4.1, 6.1.  This change is required as other plugins like 'Channel Mixer' will internally reassign/mix channels, but they do not actually change the LPCM output.  Foobar will output the files 'native' channel count, or will remux to 'stereo' but will not allow any other channel combination.

Maybe this isn't seen as a Foobar 'bug'...until you listen to an Oppo BDP-83 attempt to play a 5.1 channel file when it can only play 5.0 LPCM over UPNP.  Think fingernails on chalkboard...bad stuff.  In any event, this is aberrant behavior so I think of it as a 'playback chain' bug...and something Foobar could fix for this and other playback chain problems.

Obviously something is screwed up in Oppo's channel assignments.  Now that the product has been discontinued, one wonders whether if Oppo will ever make the effort to fix this.  And of course, why should I be forced to buy an Oppo BDP-93 just to get 3 more channels to output with UPNP? 

For users who don't have a subwoofer and instead have full range Front Left and Front Right speakers, 5.0 is OK.  Other users have 2.1, 4.1, 4.0 setups, etc.  Most folks have some sort of component in between their amplifier and foobar.  These components sometimes have weird channel assignments and configuration issues (like the BDP-83).

Foobar seems to be a perfect complement to an Oppo BDP-83.  There's legions of Oppo fanatics trying to get surround to work. They are paying money to use Asset for UPNP, but of course it's nowhere close to having the broad support of Foobar.

Here's a forum of frustrated Oppo users looking for multichannel UPNP love...and one post that sums things up Oppo support for 24 bit 96 khz? (http://www.avsforum.com/avs-vb/showthread.php?p=19941442#post19941442) 
Notice that they're just trying to get Asset UPNP to work in stereo, of course Foobar can do 96/24 for files with 5.0 channels...so how about calming these people by making any file work in surround (sans subwoofer of course).

Another thing...can we combine Foobar with Firefox?
I would donate $100 if Foobar was open sourced (and maybe more if we could start using it with some of our own systems). I'd really like to see Foobar applied as a audio renderer for a browser.  Foobar+Firefox would go so nice with HTML 5's <audio> tag capabilities.  Imagine playing back DVD-A/FLAC files in surround with your browser...total GUI freedom.

For the Record, I can confirm that an Oppo BDP-83 will playback 96 khz, 24 bit 5.0 files with the latest firmware (Feb 2, 2011) using Foobar's UPNP plugin (and no DSPs in the chain).


I can further state that 96/24 Surround 4.0 LPCM over Foobar UPnP is also supported on the Oppo BDP-83.

This is significant as many audiophile systems are either 4.0 or 5.0 configurations. 

If Foobar supported a dropdown 'channel output' with options of 2.0, 4.0, 5.0 and 5.1, this would bring a significant number of Oppo users into the Foobar fold.

Even for 5.1 system setups, it would be better to have surround (and miss the LFE channel) than not have surround file playback over UPnP.

Wouldn't this be as simple as dropping the LFE LPCM channels when outputting the UPnP stream?
Title: foo_upnp
Post by: dmytty on 2011-02-17 20:10:32
For the Record, I can confirm that an Oppo BDP-83 will playback 96 khz, 24 bit 5.0 files with the latest firmware (Feb 2, 2011) using Foobar's UPNP plugin (and no DSPs in the chain).


This is not a UPnP issue.  UPnP components don't write LPCM headers.
Title: foo_upnp
Post by: klui on 2011-02-18 08:39:51
I'm trying to stream to my LG TV but it is having trouble connecting to Foobar:uPnP and display a list of files. Would the log below help to isolate what the problem is? It looks like it's having trouble with a upnp:class call.

192.168.1.20 is where Foobar is running; 192.168.1.28 is the TV.


Thanks

Code: [Select]
19255.859: PLT_DeviceHost::SendSsdpSearchResponse(756)/2244: FINEST: Responding to a M-SEARCH request for urn:schemas-upnp-org:device:MediaServer:1
19255.859: PLT_SsdpSender::SendSsdp(103)/2244: FINE: Sending SSDP:
19255.859: PLT_HttpHelper::ToLog(496)/2244: FINE:
HTTP/1.1 200 OK
LOCATION: [url=http://192.168.1.20:56923/DeviceDescription.xml]http://192.168.1.20:56923/DeviceDescription.xml[/url]
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:42adc705-71cb-b393-8af2-391829a1bb7d::urn:schemas-upnp-org:device:MediaServer:1
ST: urn:schemas-upnp-org:device:MediaServer:1

19255.859: NPT_HttpHeader::Emit(118)/2244: FINEST: header LOCATION: [url=http://192.168.1.20:56923/DeviceDescription.xml]http://192.168.1.20:56923/DeviceDescription.xml[/url]
19255.859: NPT_HttpHeader::Emit(118)/2244: FINEST: header CACHE-CONTROL: max-age=1800
19255.859: NPT_HttpHeader::Emit(118)/2244: FINEST: header Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
19255.859: NPT_HttpHeader::Emit(118)/2244: FINEST: header EXT:
19255.859: NPT_HttpHeader::Emit(118)/2244: FINEST: header USN: uuid:42adc705-71cb-b393-8af2-391829a1bb7d::urn:schemas-upnp-org:device:MediaServer:1
19255.859: NPT_HttpHeader::Emit(118)/2244: FINEST: header ST: urn:schemas-upnp-org:device:MediaServer:1
19255.859: PLT_DeviceHost::SendSsdpSearchResponse(756)/2244: FINEST: Responding to a M-SEARCH request for urn:schemas-upnp-org:device:MediaServer:1
19255.859: PLT_SsdpSender::SendSsdp(103)/2244: FINE: Sending SSDP:
19255.859: PLT_HttpHelper::ToLog(496)/2244: FINE:
HTTP/1.1 200 OK
LOCATION: [url=http://192.168.1.20:56923/DeviceDescription.xml]http://192.168.1.20:56923/DeviceDescription.xml[/url]
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:42adc705-71cb-b393-8af2-391829a1bb7d::urn:schemas-upnp-org:device:MediaServer:1
ST: urn:schemas-upnp-org:device:MediaServer:1

19255.859: NPT_HttpHeader::Emit(118)/2244: FINEST: header LOCATION: [url=http://192.168.1.20:56923/DeviceDescription.xml]http://192.168.1.20:56923/DeviceDescription.xml[/url]
19255.859: NPT_HttpHeader::Emit(118)/2244: FINEST: header CACHE-CONTROL: max-age=1800
19255.859: NPT_HttpHeader::Emit(118)/2244: FINEST: header Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
19255.859: NPT_HttpHeader::Emit(118)/2244: FINEST: header EXT:
19255.859: NPT_HttpHeader::Emit(118)/2244: FINEST: header USN: uuid:42adc705-71cb-b393-8af2-391829a1bb7d::urn:schemas-upnp-org:device:MediaServer:1
19255.859: NPT_HttpHeader::Emit(118)/2244: FINEST: header ST: urn:schemas-upnp-org:device:MediaServer:1
19255.859: NPT_Win32Thread::Start(483)/3348: FINER: creating thread
19255.859: PLT_HttpListenTask<class PLT_HttpServerListener>::DoRun(156)/3348: FINE: current http task count = 2
19255.859: NPT_Win32Thread::EntryPoint(450)/3912: FINER: thread in =======================
19255.859: NPT_HttpRequest::Parse(617)/3912: FINEST: http request: GET /DeviceDescription.xml HTTP/1.1
19255.859: NPT_HttpHeaders::Parse(185)/3912: FINEST: header - HOST: 192.168.1.20:56923
19255.859: NPT_HttpHeaders::Parse(185)/3912: FINEST: header - DATE: Thu, 01 Jan 1970 00:39:50 GMT
19255.859: NPT_HttpHeaders::Parse(185)/3912: FINEST: header - USER-AGENT: Linux/2.6.31-1.0 UPnP/1.0 DLNADOC/1.50 INTEL_NMPR/2.0 LGE_DLNA_SDK/1.5.0
19255.859: NPT_HttpHeaders::Parse(215)/3912: FINEST: header friendlyName.dlna.org: LG DLNA DMP DEVICE
19255.859: PLT_HttpServer::ProcessHttpRequest(142)/3912: FINE: Received GET Request from 192.168.1.28 for /DeviceDescription.xml
19255.859: PLT_HttpHelper::ToLog(410)/3912: FINER:
GET /DeviceDescription.xml HTTP/1.1
HOST: 192.168.1.20:56923
DATE: Thu, 01 Jan 1970 00:39:50 GMT
USER-AGENT: Linux/2.6.31-1.0 UPnP/1.0 DLNADOC/1.50 INTEL_NMPR/2.0 LGE_DLNA_SDK/1.5.0
friendlyName.dlna.org: LG DLNA DMP DEVICE

19255.859: FbMediaServer::ProcessHttpRequest(306)/3912: INFO: received LAN request: [url=http://192.168.1.20:56923/DeviceDescription.xml]http://192.168.1.20:56923/DeviceDescription.xml[/url] (User-Agent: Linux/2.6.31-1.0 UPnP/1.0 DLNADOC/1.50 INTEL_NMPR/2.0 LGE_DLNA_SDK/1.5.0)
19255.859: PLT_DeviceHost::ProcessHttpRequest(376)/3912: FINER: PLT_DeviceHost Received Request:
19255.859: PLT_HttpHelper::ToLog(410)/3912: FINER:
GET /DeviceDescription.xml HTTP/1.1
HOST: 192.168.1.20:56923
DATE: Thu, 01 Jan 1970 00:39:50 GMT
USER-AGENT: Linux/2.6.31-1.0 UPnP/1.0 DLNADOC/1.50 INTEL_NMPR/2.0 LGE_DLNA_SDK/1.5.0
friendlyName.dlna.org: LG DLNA DMP DEVICE

19255.859: FbMediaServer::ProcessGetDescription(375)/3912: INFO: ProcessGetDescription: user-agent: Linux/2.6.31-1.0 UPnP/1.0 DLNADOC/1.50 INTEL_NMPR/2.0 LGE_DLNA_SDK/1.5.0
19255.875: PLT_DeviceHost::ProcessGetDescription(422)/3912: FINEST: Returning description to 192.168.1.28: <?xml version="1.0" encoding="UTF-8"?>
<root xmlns="urn:schemas-upnp-org:device-1-0" xmlns:dlna="urn:schemas-dlna-org:device-1-0"><specVersion><major>1</major><minor>0</minor></specVersion><device><deviceType>urn:schemas-upnp-org:device:MediaServer:1</deviceType><friendlyName>foobar2000 Media Server (klui@dc7100)</friendlyName><manufacturer>Michael Pujos</manufacturer><manufacturerURL>http://www.hydrogenaudio.org/forums/index.php?showtopic=69664</manufacturerURL><modelDescription>foobar2000 Media Server</modelDescription><modelName>foobar2000 Media Server</modelName><modelURL>http://www.hydrogenaudio.org/forums/index.php?showtopic=69664</modelURL><modelNumber>0.99.29</modelNumber><serialNumber></serialNumber><UDN>uuid:42adc705-71cb-b393-8af2-391829a1bb7d</UDN><dlna:X_DLNADOC xmlns:dlna="urn:schemas-dlna-org:device-1-0">DMS-1.50</dlna:X_DLNADOC><iconList><icon><mimetype>image/jpeg</mimetype><width>48</width><height>48</height><depth>24</depth><url>/images/foobar2000-48x48.jpg</url></icon><icon><mimetype>image/png</mimetype><width>48</width><height>48</height><depth>32</depth><url>/images/foobar2000-48x48.png</url></icon></iconList><serviceList><service><serviceType>urn:schemas-upnp-org:service:ContentDirectory:1</serviceType><serviceId>urn:upnp-org:serviceId:ContentDirectory</serviceId><SCPDURL>/ContentDirectory/42adc705-71cb-b393-8af2-391829a1bb7d/scpd.xml</SCPDURL><controlURL>/ContentDirectory/42adc705-71cb-b393-8af2-391829a1bb7d/control.xml</controlURL><eventSubURL>/ContentDirectory/42adc705-71cb-b393-8af2-391829a1bb7d/event.xml</eventSubURL></service><service><serviceType>urn:schemas-upnp-org:service:ConnectionManager:1</serviceType><serviceId>urn:upnp-org:serviceId:ConnectionManager</serviceId><SCPDURL>/ConnectionManager/42adc705-71cb-b393-8af2-391829a1bb7d/scpd.xml</SCPDURL><controlURL>/ConnectionManager/42adc705-71cb-b393-8af2-391829a1bb7d/control.xml</controlURL><eventSubURL>/ConnectionManager/42adc705-71cb-b393-8af2-391829a1bb7d/event.xml</eventSubURL></service><service><serviceType>urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1</serviceType><serviceId>urn:microsoft.com:serviceId:X_MS_MediaReceiverRegistrar</serviceId><SCPDURL>/X_MS_MediaReceiverRegistrar/42adc705-71cb-b393-8af2-391829a1bb7d/scpd.xml</SCPDURL><controlURL>/X_MS_MediaReceiverRegistrar/42adc705-71cb-b393-8af2-391829a1bb7d/control.xml</controlURL><eventSubURL>/X_MS_MediaReceiverRegistrar/42adc705-71cb-b393-8af2-391829a1bb7d/event.xml</eventSubURL></service></serviceList></device></root>
19255.875: PLT_HttpServerSocketTask::Write(322)/3912: FINER: PLT_HttpServerTask Sending response:
19255.875: PLT_HttpHelper::ToLog(496)/3912: FINER:
HTTP/1.1 200 OK
Server: Platinum/0.5.4.0
Content-Length: 2510
Content-Type: text/xml; charset="utf-8"
Connection: keep-alive

19255.875: NPT_HttpHeader::Emit(118)/3912: FINEST: header Server: Platinum/0.5.4.0
19255.875: NPT_HttpHeader::Emit(118)/3912: FINEST: header Content-Length: 2510
19255.875: NPT_HttpHeader::Emit(118)/3912: FINEST: header Content-Type: text/xml; charset="utf-8"
19255.875: NPT_HttpHeader::Emit(118)/3912: FINEST: header Connection: keep-alive
19255.875: PLT_HttpServerSocketTask::Write(336)/3912: FINER: keep_alive = true, headers_only = false
19255.875: PLT_HttpServerSocketTask::Write(341)/3912: FINER: NPT_StreamToStreamCopy begin
19255.875: PLT_HttpServerSocketTask::Write(349)/3912: FINER: NPT_StreamToStreamCopy end
19255.890: NPT_HttpRequest::Parse(616)/3912: FINE: NPT_CHECK failed, result=-20302 (NPT_ERROR_EOS) [(stream.ReadLine(line, NPT_HTTP_PROTOCOL_MAX_LINE_LENGTH))]
19255.890: NPT_Win32Thread::Start(483)/3348: FINER: creating thread
19255.890: PLT_HttpListenTask<class PLT_HttpServerListener>::DoRun(156)/3348: FINE: current http task count = 2
19255.890: NPT_Win32Thread::EntryPoint(450)/2556: FINER: thread in =======================
19255.890: NPT_HttpRequest::Parse(617)/2556: FINEST: http request: GET /ContentDirectory/42adc705-71cb-b393-8af2-391829a1bb7d/scpd.xml HTTP/1.1
19255.890: NPT_HttpHeaders::Parse(185)/2556: FINEST: header - HOST: 192.168.1.20:56923
19255.890: NPT_HttpHeaders::Parse(185)/2556: FINEST: header - DATE: Thu, 01 Jan 1970 00:39:50 GMT
19255.890: NPT_HttpHeaders::Parse(185)/2556: FINEST: header - USER-AGENT: Linux/2.6.31-1.0 UPnP/1.0 DLNADOC/1.50 INTEL_NMPR/2.0 LGE_DLNA_SDK/1.5.0
19255.890: NPT_HttpHeaders::Parse(215)/2556: FINEST: header friendlyName.dlna.org: LG DLNA DMP DEVICE
19255.890: PLT_HttpServer::ProcessHttpRequest(142)/2556: FINE: Received GET Request from 192.168.1.28 for /ContentDirectory/42adc705-71cb-b393-8af2-391829a1bb7d/scpd.xml
19255.890: PLT_HttpHelper::ToLog(410)/2556: FINER:
GET /ContentDirectory/42adc705-71cb-b393-8af2-391829a1bb7d/scpd.xml HTTP/1.1
HOST: 192.168.1.20:56923
DATE: Thu, 01 Jan 1970 00:39:50 GMT
USER-AGENT: Linux/2.6.31-1.0 UPnP/1.0 DLNADOC/1.50 INTEL_NMPR/2.0 LGE_DLNA_SDK/1.5.0
friendlyName.dlna.org: LG DLNA DMP DEVICE

19255.890: PLT_HttpServerSocketTask::Write(322)/2556: FINER: PLT_HttpServerTask Sending response:
19255.890: PLT_HttpHelper::ToLog(496)/2556: FINER:
HTTP/1.1 200 OK
Server: Platinum/0.5.4.0
Connection: keep-alive
Content-Length: 5117
Content-Type: text/xml; charset="utf-8"

19255.890: NPT_HttpHeader::Emit(118)/2556: FINEST: header Server: Platinum/0.5.4.0
19255.890: NPT_HttpHeader::Emit(118)/2556: FINEST: header Connection: keep-alive
19255.890: NPT_HttpHeader::Emit(118)/2556: FINEST: header Content-Length: 5117
19255.890: NPT_HttpHeader::Emit(118)/2556: FINEST: header Content-Type: text/xml; charset="utf-8"
19255.890: PLT_HttpServerSocketTask::Write(336)/2556: FINER: keep_alive = true, headers_only = false
19255.906: PLT_HttpServerSocketTask::Write(341)/2556: FINER: NPT_StreamToStreamCopy begin
19255.906: PLT_HttpServerSocketTask::Write(349)/2556: FINER: NPT_StreamToStreamCopy end
19255.953: NPT_HttpRequest::Parse(616)/2556: FINE: NPT_CHECK failed, result=-20302 (NPT_ERROR_EOS) [(stream.ReadLine(line, NPT_HTTP_PROTOCOL_MAX_LINE_LENGTH))]
19255.953: NPT_Win32Thread::Start(483)/3348: FINER: creating thread
19255.953: PLT_HttpListenTask<class PLT_HttpServerListener>::DoRun(156)/3348: FINE: current http task count = 2
19255.953: NPT_Win32Thread::EntryPoint(450)/2080: FINER: thread in =======================
19255.969: NPT_HttpRequest::Parse(617)/2080: FINEST: http request: GET /ConnectionManager/42adc705-71cb-b393-8af2-391829a1bb7d/scpd.xml HTTP/1.1
19255.969: NPT_HttpHeaders::Parse(185)/2080: FINEST: header - HOST: 192.168.1.20:56923
19255.969: NPT_HttpHeaders::Parse(185)/2080: FINEST: header - DATE: Thu, 01 Jan 1970 00:39:50 GMT
19255.969: NPT_HttpHeaders::Parse(185)/2080: FINEST: header - USER-AGENT: Linux/2.6.31-1.0 UPnP/1.0 DLNADOC/1.50 INTEL_NMPR/2.0 LGE_DLNA_SDK/1.5.0
19255.969: NPT_HttpHeaders::Parse(215)/2080: FINEST: header friendlyName.dlna.org: LG DLNA DMP DEVICE
19255.969: PLT_HttpServer::ProcessHttpRequest(142)/2080: FINE: Received GET Request from 192.168.1.28 for /ConnectionManager/42adc705-71cb-b393-8af2-391829a1bb7d/scpd.xml
19255.969: PLT_HttpHelper::ToLog(410)/2080: FINER:
GET /ConnectionManager/42adc705-71cb-b393-8af2-391829a1bb7d/scpd.xml HTTP/1.1
HOST: 192.168.1.20:56923
DATE: Thu, 01 Jan 1970 00:39:50 GMT
USER-AGENT: Linux/2.6.31-1.0 UPnP/1.0 DLNADOC/1.50 INTEL_NMPR/2.0 LGE_DLNA_SDK/1.5.0
friendlyName.dlna.org: LG DLNA DMP DEVICE

19255.969: PLT_HttpServerSocketTask::Write(322)/2080: FINER: PLT_HttpServerTask Sending response:
19255.969: PLT_HttpHelper::ToLog(496)/2080: FINER:
HTTP/1.1 200 OK
Server: Platinum/0.5.4.0
Connection: keep-alive
Content-Length: 3396
Content-Type: text/xml; charset="utf-8"

19255.969: NPT_HttpHeader::Emit(118)/2080: FINEST: header Server: Platinum/0.5.4.0
19255.969: NPT_HttpHeader::Emit(118)/2080: FINEST: header Connection: keep-alive
19255.969: NPT_HttpHeader::Emit(118)/2080: FINEST: header Content-Length: 3396
19255.969: NPT_HttpHeader::Emit(118)/2080: FINEST: header Content-Type: text/xml; charset="utf-8"
19255.969: PLT_HttpServerSocketTask::Write(336)/2080: FINER: keep_alive = true, headers_only = false
19255.969: PLT_HttpServerSocketTask::Write(341)/2080: FINER: NPT_StreamToStreamCopy begin
19255.969: PLT_HttpServerSocketTask::Write(349)/2080: FINER: NPT_StreamToStreamCopy end
19256.344: NPT_HttpRequest::Parse(617)/3312: FINEST: http request: M-SEARCH * HTTP/1.1
19256.344: NPT_HttpHeaders::Parse(185)/3312: FINEST: header - HOST: 239.255.255.250:1900
19256.344: NPT_HttpHeaders::Parse(185)/3312: FINEST: header - MAN: "ssdp:discover"
19256.344: NPT_HttpHeaders::Parse(185)/3312: FINEST: header - MX: 7
19256.344: NPT_HttpHeaders::Parse(215)/3312: FINEST: header ST: urn:schemas-upnp-org:device:MediaServer:1
19256.344: PLT_DeviceHost::ProcessSsdpSearchRequest(719)/3312: FINEST: Received M-SEARCH from 192.168.1.28:54375
19256.344: PLT_HttpHelper::ToLog(410)/3312: FINE:
M-SEARCH * HTTP/1.1
HOST: 239.255.255.250:1900
MAN: "ssdp:discover"
MX: 7
ST: urn:schemas-upnp-org:device:MediaServer:1

19256.344: NPT_Win32Thread::Start(483)/3312: FINER: creating thread
19256.344: NPT_Win32Thread::EntryPoint(450)/3020: FINER: thread in =======================
19262.390: PLT_DeviceHost::SendSsdpSearchResponse(756)/3020: FINEST: Responding to a M-SEARCH request for urn:schemas-upnp-org:device:MediaServer:1
19262.390: PLT_SsdpSender::SendSsdp(103)/3020: FINE: Sending SSDP:
19262.390: PLT_HttpHelper::ToLog(496)/3020: FINE:
HTTP/1.1 200 OK
LOCATION: [url=http://192.168.1.20:56923/DeviceDescription.xml]http://192.168.1.20:56923/DeviceDescription.xml[/url]
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:42adc705-71cb-b393-8af2-391829a1bb7d::urn:schemas-upnp-org:device:MediaServer:1
ST: urn:schemas-upnp-org:device:MediaServer:1

19262.390: NPT_HttpHeader::Emit(118)/3020: FINEST: header LOCATION: [url=http://192.168.1.20:56923/DeviceDescription.xml]http://192.168.1.20:56923/DeviceDescription.xml[/url]
19262.390: NPT_HttpHeader::Emit(118)/3020: FINEST: header CACHE-CONTROL: max-age=1800
19262.390: NPT_HttpHeader::Emit(118)/3020: FINEST: header Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
19262.390: NPT_HttpHeader::Emit(118)/3020: FINEST: header EXT:
19262.390: NPT_HttpHeader::Emit(118)/3020: FINEST: header USN: uuid:42adc705-71cb-b393-8af2-391829a1bb7d::urn:schemas-upnp-org:device:MediaServer:1
19262.390: NPT_HttpHeader::Emit(118)/3020: FINEST: header ST: urn:schemas-upnp-org:device:MediaServer:1
19262.390: PLT_DeviceHost::SendSsdpSearchResponse(756)/3020: FINEST: Responding to a M-SEARCH request for urn:schemas-upnp-org:device:MediaServer:1
19262.390: PLT_SsdpSender::SendSsdp(103)/3020: FINE: Sending SSDP:
19262.390: PLT_HttpHelper::ToLog(496)/3020: FINE:
HTTP/1.1 200 OK
LOCATION: [url=http://192.168.1.20:56923/DeviceDescription.xml]http://192.168.1.20:56923/DeviceDescription.xml[/url]
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:42adc705-71cb-b393-8af2-391829a1bb7d::urn:schemas-upnp-org:device:MediaServer:1
ST: urn:schemas-upnp-org:device:MediaServer:1

19262.390: NPT_HttpHeader::Emit(118)/3020: FINEST: header LOCATION: [url=http://192.168.1.20:56923/DeviceDescription.xml]http://192.168.1.20:56923/DeviceDescription.xml[/url]
19262.390: NPT_HttpHeader::Emit(118)/3020: FINEST: header CACHE-CONTROL: max-age=1800
19262.390: NPT_HttpHeader::Emit(118)/3020: FINEST: header Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
19262.390: NPT_HttpHeader::Emit(118)/3020: FINEST: header EXT:
19262.390: NPT_HttpHeader::Emit(118)/3020: FINEST: header USN: uuid:42adc705-71cb-b393-8af2-391829a1bb7d::urn:schemas-upnp-org:device:MediaServer:1
19262.390: NPT_HttpHeader::Emit(118)/3020: FINEST: header ST: urn:schemas-upnp-org:device:MediaServer:1
19285.844: NPT_HttpRequest::Parse(616)/2080: FINE: NPT_CHECK failed, result=-20302 (NPT_ERROR_EOS) [(stream.ReadLine(line, NPT_HTTP_PROTOCOL_MAX_LINE_LENGTH))]
19304.078: NPT_Win32Thread::Start(483)/3348: FINER: creating thread
19304.078: PLT_HttpListenTask<class PLT_HttpServerListener>::DoRun(156)/3348: FINE: current http task count = 2
19304.078: NPT_Win32Thread::EntryPoint(450)/1800: FINER: thread in =======================
19304.078: NPT_HttpRequest::Parse(617)/1800: FINEST: http request: SUBSCRIBE /ConnectionManager/42adc705-71cb-b393-8af2-391829a1bb7d/event.xml HTTP/1.1
19304.078: NPT_HttpHeaders::Parse(185)/1800: FINEST: header - HOST: 192.168.1.20:56923
19304.078: NPT_HttpHeaders::Parse(185)/1800: FINEST: header - CALLBACK: <http://192.168.1.28:35341/>
19304.078: NPT_HttpHeaders::Parse(185)/1800: FINEST: header - NT: upnp:event
19304.078: NPT_HttpHeaders::Parse(215)/1800: FINEST: header TIMEOUT: Second-1800
19304.078: PLT_HttpServer::ProcessHttpRequest(142)/1800: FINE: Received SUBSCRIBE Request from 192.168.1.28 for /ConnectionManager/42adc705-71cb-b393-8af2-391829a1bb7d/event.xml
19304.078: PLT_HttpHelper::ToLog(410)/1800: FINER:
SUBSCRIBE /ConnectionManager/42adc705-71cb-b393-8af2-391829a1bb7d/event.xml HTTP/1.1
HOST: 192.168.1.20:56923
CALLBACK: <http://192.168.1.28:35341/>
NT: upnp:event
TIMEOUT: Second-1800

19304.078: FbMediaServer::ProcessHttpRequest(306)/1800: INFO: received LAN request: [url=http://192.168.1.20:56923/ConnectionManager/42adc705-71cb-b393-8af2-391829a1bb7d/event.xml]http://192.168.1.20:56923/ConnectionManage...1bb7d/event.xml[/url] (User-Agent: Unknown)
19304.078: PLT_DeviceHost::ProcessHttpRequest(376)/1800: FINER: PLT_DeviceHost Received Request:
19304.078: PLT_HttpHelper::ToLog(410)/1800: FINER:
SUBSCRIBE /ConnectionManager/42adc705-71cb-b393-8af2-391829a1bb7d/event.xml HTTP/1.1
HOST: 192.168.1.20:56923
CALLBACK: <http://192.168.1.28:35341/>
NT: upnp:event
TIMEOUT: Second-1800

19304.078: PLT_Service::ProcessNewSubscription(506)/1800: FINE: New subscription for ConnectionManager/42adc705-71cb-b393-8af2-391829a1bb7d/event.xml
19304.078: PLT_Service::ProcessNewSubscription(534)/1800: INFO: New subscription for ConnectionManager/42adc705-71cb-b393-8af2-391829a1bb7d/event.xml, sid=uuid:7e2f8f8e-c40f-c8a4-52d6-ece7e41ac206
19304.078: PLT_EventSubscriber::PLT_EventSubscriber(60)/1800: FINE: Creating new subscriber (uuid:7e2f8f8e-c40f-c8a4-52d6-ece7e41ac206)
19304.078: PLT_EventSubscriber::SetTimeout(141)/1800: FINE: subscriber (uuid:7e2f8f8e-c40f-c8a4-52d6-ece7e41ac206) expiring in 1800 seconds
19304.078: PLT_EventSubscriber::AddCallbackURL(176)/1800: FINE: Adding callback "http://192.168.1.28:35341/" to subscriber uuid:7e2f8f8e-c40f-c8a4-52d6-ece7e41ac206
19304.078: NPT_Win32Thread::Start(483)/1800: FINER: creating thread
19304.078: PLT_HttpServerSocketTask::Write(322)/1800: FINER: PLT_HttpServerTask Sending response:
19304.078: PLT_HttpHelper::ToLog(496)/1800: FINER:
HTTP/1.1 200 OK
Server: Platinum/0.5.4.0
SID: uuid:7e2f8f8e-c40f-c8a4-52d6-ece7e41ac206
TIMEOUT: Second-1800
Content-Length: 0
Connection: keep-alive

19304.078: NPT_HttpHeader::Emit(118)/1800: FINEST: header Server: Platinum/0.5.4.0
19304.078: NPT_HttpHeader::Emit(118)/1800: FINEST: header SID: uuid:7e2f8f8e-c40f-c8a4-52d6-ece7e41ac206
19304.078: NPT_HttpHeader::Emit(118)/1800: FINEST: header TIMEOUT: Second-1800
19304.078: NPT_HttpHeader::Emit(118)/1800: FINEST: header Content-Length: 0
19304.078: NPT_HttpHeader::Emit(118)/1800: FINEST: header Connection: keep-alive
19304.078: PLT_HttpServerSocketTask::Write(336)/1800: FINER: keep_alive = true, headers_only = false
19304.078: NPT_Win32Thread::EntryPoint(450)/1440: FINER: thread in =======================
19304.078: NPT_Win32Thread::Start(483)/3348: FINER: creating thread
19304.078: PLT_HttpListenTask<class PLT_HttpServerListener>::DoRun(156)/3348: FINE: current http task count = 2
19304.078: NPT_Win32Thread::EntryPoint(450)/2660: FINER: thread in =======================
19304.078: NPT_HttpRequest::Parse(617)/2660: FINEST: http request: SUBSCRIBE /ContentDirectory/42adc705-71cb-b393-8af2-391829a1bb7d/event.xml HTTP/1.1
19304.078: NPT_HttpHeaders::Parse(185)/2660: FINEST: header - HOST: 192.168.1.20:56923
19304.078: NPT_HttpHeaders::Parse(185)/2660: FINEST: header - CALLBACK: <http://192.168.1.28:35341/>
19304.078: NPT_HttpHeaders::Parse(185)/2660: FINEST: header - NT: upnp:event
19304.078: NPT_HttpHeaders::Parse(215)/2660: FINEST: header TIMEOUT: Second-1800
19304.078: PLT_HttpServer::ProcessHttpRequest(142)/2660: FINE: Received SUBSCRIBE Request from 192.168.1.28 for /ContentDirectory/42adc705-71cb-b393-8af2-391829a1bb7d/event.xml
19304.078: PLT_HttpHelper::ToLog(410)/2660: FINER:
SUBSCRIBE /ContentDirectory/42adc705-71cb-b393-8af2-391829a1bb7d/event.xml HTTP/1.1
HOST: 192.168.1.20:56923
CALLBACK: <http://192.168.1.28:35341/>
NT: upnp:event
TIMEOUT: Second-1800

19304.078: FbMediaServer::ProcessHttpRequest(306)/2660: INFO: received LAN request: [url=http://192.168.1.20:56923/ContentDirectory/42adc705-71cb-b393-8af2-391829a1bb7d/event.xml]http://192.168.1.20:56923/ContentDirectory...1bb7d/event.xml[/url] (User-Agent: Unknown)
19304.078: PLT_DeviceHost::ProcessHttpRequest(376)/2660: FINER: PLT_DeviceHost Received Request:
19304.078: PLT_HttpHelper::ToLog(410)/2660: FINER:
SUBSCRIBE /ContentDirectory/42adc705-71cb-b393-8af2-391829a1bb7d/event.xml HTTP/1.1
HOST: 192.168.1.20:56923
CALLBACK: <http://192.168.1.28:35341/>
NT: upnp:event
TIMEOUT: Second-1800

19304.078: PLT_Service::ProcessNewSubscription(506)/2660: FINE: New subscription for ContentDirectory/42adc705-71cb-b393-8af2-391829a1bb7d/event.xml
19304.078: PLT_Service::ProcessNewSubscription(534)/2660: INFO: New subscription for ContentDirectory/42adc705-71cb-b393-8af2-391829a1bb7d/event.xml, sid=uuid:0b61ebcd-ca17-586a-7f06-53d1cc9b86c6
19304.078: PLT_EventSubscriber::PLT_EventSubscriber(60)/2660: FINE: Creating new subscriber (uuid:0b61ebcd-ca17-586a-7f06-53d1cc9b86c6)
19304.078: PLT_EventSubscriber::SetTimeout(141)/2660: FINE: subscriber (uuid:0b61ebcd-ca17-586a-7f06-53d1cc9b86c6) expiring in 1800 seconds
19304.078: PLT_EventSubscriber::AddCallbackURL(176)/2660: FINE: Adding callback "http://192.168.1.28:35341/" to subscriber uuid:0b61ebcd-ca17-586a-7f06-53d1cc9b86c6
19304.078: NPT_Win32Thread::Start(483)/2660: FINER: creating thread
19304.078: PLT_HttpServerSocketTask::Write(322)/2660: FINER: PLT_HttpServerTask Sending response:
19304.078: PLT_HttpHelper::ToLog(496)/2660: FINER:
HTTP/1.1 200 OK
Server: Platinum/0.5.4.0
SID: uuid:0b61ebcd-ca17-586a-7f06-53d1cc9b86c6
TIMEOUT: Second-1800
Content-Length: 0
Connection: keep-alive

19304.078: NPT_HttpHeader::Emit(118)/2660: FINEST: header Server: Platinum/0.5.4.0
19304.078: NPT_HttpHeader::Emit(118)/2660: FINEST: header SID: uuid:0b61ebcd-ca17-586a-7f06-53d1cc9b86c6
19304.078: NPT_HttpHeader::Emit(118)/2660: FINEST: header TIMEOUT: Second-1800
19304.078: NPT_HttpHeader::Emit(118)/2660: FINEST: header Content-Length: 0
19304.078: NPT_Win32Thread::EntryPoint(450)/3168: FINER: thread in =======================
19304.078: NPT_HttpHeader::Emit(118)/2660: FINEST: header Connection: keep-alive
19304.078: PLT_HttpServerSocketTask::Write(336)/2660: FINER: keep_alive = true, headers_only = false
19304.094: NPT_Win32Thread::Start(483)/3348: FINER: creating thread
19304.094: PLT_HttpListenTask<class PLT_HttpServerListener>::DoRun(156)/3348: FINE: current http task count = 2
19304.094: NPT_Win32Thread::EntryPoint(450)/3128: FINER: thread in =======================
19304.094: NPT_HttpRequest::Parse(617)/3128: FINEST: http request: POST /ContentDirectory/42adc705-71cb-b393-8af2-391829a1bb7d/control.xml HTTP/1.1
19304.094: NPT_HttpHeaders::Parse(185)/3128: FINEST: header - HOST: 192.168.1.20:56923
19304.094: NPT_HttpHeaders::Parse(185)/3128: FINEST: header - CONTENT-LENGTH: 638
19304.094: NPT_HttpHeaders::Parse(185)/3128: FINEST: header - CONTENT-TYPE: text/xml; charset="utf-8"
19304.094: NPT_HttpHeaders::Parse(185)/3128: FINEST: header - SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
19304.094: NPT_HttpHeaders::Parse(215)/3128: FINEST: header USER-AGENT: Linux/2.6.31-1.0 UPnP/1.0 DLNADOC/1.50 INTEL_NMPR/2.0 LGE_DLNA_SDK/1.5.0
19304.094: PLT_HttpServer::ProcessHttpRequest(142)/3128: FINE: Received POST Request from 192.168.1.28 for /ContentDirectory/42adc705-71cb-b393-8af2-391829a1bb7d/control.xml
19304.094: PLT_HttpHelper::ToLog(410)/3128: FINER:
POST /ContentDirectory/42adc705-71cb-b393-8af2-391829a1bb7d/control.xml HTTP/1.1
HOST: 192.168.1.20:56923
CONTENT-LENGTH: 638
CONTENT-TYPE: text/xml; charset="utf-8"
SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
USER-AGENT: Linux/2.6.31-1.0 UPnP/1.0 DLNADOC/1.50 INTEL_NMPR/2.0 LGE_DLNA_SDK/1.5.0

19304.094: FbMediaServer::ProcessHttpRequest(306)/3128: INFO: received LAN request: [url=http://192.168.1.20:56923/ContentDirectory/42adc705-71cb-b393-8af2-391829a1bb7d/control.xml]http://192.168.1.20:56923/ContentDirectory...b7d/control.xml[/url] (User-Agent: Linux/2.6.31-1.0 UPnP/1.0 DLNADOC/1.50 INTEL_NMPR/2.0 LGE_DLNA_SDK/1.5.0)
19304.094: PLT_DeviceHost::ProcessHttpRequest(376)/3128: FINER: PLT_DeviceHost Received Request:
19304.094: PLT_HttpHelper::ToLog(410)/3128: FINER:
POST /ContentDirectory/42adc705-71cb-b393-8af2-391829a1bb7d/control.xml HTTP/1.1
HOST: 192.168.1.20:56923
CONTENT-LENGTH: 638
CONTENT-TYPE: text/xml; charset="utf-8"
SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
USER-AGENT: Linux/2.6.31-1.0 UPnP/1.0 DLNADOC/1.50 INTEL_NMPR/2.0 LGE_DLNA_SDK/1.5.0

19304.094: PLT_DeviceHost::ProcessHttpPostRequest(555)/3128: FINE: Received Browse action from 192.168.1.28
19304.094: FbMediaServer::OnAction(243)/3128: INFO: received action 'Browse', args = { ObjectID=0, BrowseFlag=BrowseMetadata, Filter=@id,@parentID,@restricted,@childCount,dc:title,dc:creator, upnp:artist,upnp:class,dc:date,upnp:album,upnp:genre,res,res@size,res@duration,res@bitrate,res@resol
ution,res@protocolInfo,res@nrAudioChannels,
res@sampleFrequency, StartingIndex=0, RequestedCount=0, SortCriteria= }
19304.094: PLT_MediaServer::OnBrowse(380)/3128: INFO: Received BrowseMetadata from 192.168.1.28 for id = 0 with filter = @id,@parentID,@restricted,@childCount,dc:title,dc:creator, upnp:artist,upnp:class,dc:date,upnp:album,upnp:genre,res,res@size,res@duration,res@bitrate,res@resol
ution,res@protocolInfo,res@nrAudioChannels,
res@sampleFrequency, start = 0, count = 0
19304.094: FbMediaServer::OnAction(260)/3128: INFO: action 'Browse' response: args = { ObjectID=0, BrowseFlag=BrowseMetadata, Filter=@id,@parentID,@restricted,@childCount,dc:title,dc:creator, upnp:artist,upnp:class,dc:date,upnp:album,upnp:genre,res,res@size,res@duration,res@bitrate,res@resol
ution,res@protocolInfo,res@nrAudioChannels,
res@sampleFrequency, StartingIndex=0, RequestedCount=0, SortCriteria=, NumberReturned=1, TotalMatches=1, UpdateID=0 }
19304.094: PLT_HttpServerSocketTask::Write(322)/3128: FINER: PLT_HttpServerTask Sending response:
19304.094: PLT_HttpHelper::ToLog(496)/3128: FINER:
HTTP/1.1 200 OK
Server: Platinum/0.5.4.0
Content-Type: text/xml; charset="utf-8"
Ext:
Connection: keep-alive
Content-Length: 871

19304.094: NPT_HttpHeader::Emit(118)/3128: FINEST: header Server: Platinum/0.5.4.0
19304.094: NPT_HttpHeader::Emit(118)/3128: FINEST: header Content-Type: text/xml; charset="utf-8"
19304.094: NPT_HttpHeader::Emit(118)/3128: FINEST: header Ext:
19304.094: NPT_HttpHeader::Emit(118)/3128: FINEST: header Connection: keep-alive
19304.094: NPT_HttpHeader::Emit(118)/3128: FINEST: header Content-Length: 871
19304.094: PLT_HttpServerSocketTask::Write(336)/3128: FINER: keep_alive = true, headers_only = false
19304.094: PLT_HttpServerSocketTask::Write(341)/3128: FINER: NPT_StreamToStreamCopy begin
19304.094: PLT_HttpServerSocketTask::Write(349)/3128: FINER: NPT_StreamToStreamCopy end
19304.109: NPT_HttpRequest::Parse(616)/3128: FINE: NPT_CHECK failed, result=-20302 (NPT_ERROR_EOS) [(stream.ReadLine(line, NPT_HTTP_PROTOCOL_MAX_LINE_LENGTH))]
19304.109: NPT_Win32Thread::Start(483)/3348: FINER: creating thread
19304.109: PLT_HttpListenTask<class PLT_HttpServerListener>::DoRun(156)/3348: FINE: current http task count = 2
19304.109: NPT_Win32Thread::EntryPoint(450)/3396: FINER: thread in =======================
19304.109: NPT_HttpRequest::Parse(617)/3396: FINEST: http request: POST /ContentDirectory/42adc705-71cb-b393-8af2-391829a1bb7d/control.xml HTTP/1.1
19304.109: NPT_HttpHeaders::Parse(185)/3396: FINEST: header - HOST: 192.168.1.20:56923
19304.109: NPT_HttpHeaders::Parse(185)/3396: FINEST: header - CONTENT-LENGTH: 425
19304.109: NPT_HttpHeaders::Parse(185)/3396: FINEST: header - CONTENT-TYPE: text/xml; charset="utf-8"
19304.109: NPT_HttpHeaders::Parse(185)/3396: FINEST: header - SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
19304.109: NPT_HttpHeaders::Parse(215)/3396: FINEST: header USER-AGENT: Linux/2.6.31-1.0 UPnP/1.0 DLNADOC/1.50 INTEL_NMPR/2.0 LGE_DLNA_SDK/1.5.0
19304.109: PLT_HttpServer::ProcessHttpRequest(142)/3396: FINE: Received POST Request from 192.168.1.28 for /ContentDirectory/42adc705-71cb-b393-8af2-391829a1bb7d/control.xml
19304.109: PLT_HttpHelper::ToLog(410)/3396: FINER:
POST /ContentDirectory/42adc705-71cb-b393-8af2-391829a1bb7d/control.xml HTTP/1.1
HOST: 192.168.1.20:56923
CONTENT-LENGTH: 425
CONTENT-TYPE: text/xml; charset="utf-8"
SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
USER-AGENT: Linux/2.6.31-1.0 UPnP/1.0 DLNADOC/1.50 INTEL_NMPR/2.0 LGE_DLNA_SDK/1.5.0

19304.109: FbMediaServer::ProcessHttpRequest(306)/3396: INFO: received LAN request: [url=http://192.168.1.20:56923/ContentDirectory/42adc705-71cb-b393-8af2-391829a1bb7d/control.xml]http://192.168.1.20:56923/ContentDirectory...b7d/control.xml[/url] (User-Agent: Linux/2.6.31-1.0 UPnP/1.0 DLNADOC/1.50 INTEL_NMPR/2.0 LGE_DLNA_SDK/1.5.0)
19304.109: PLT_DeviceHost::ProcessHttpRequest(376)/3396: FINER: PLT_DeviceHost Received Request:
19304.109: PLT_HttpHelper::ToLog(410)/3396: FINER:
POST /ContentDirectory/42adc705-71cb-b393-8af2-391829a1bb7d/control.xml HTTP/1.1
HOST: 192.168.1.20:56923
CONTENT-LENGTH: 425
CONTENT-TYPE: text/xml; charset="utf-8"
SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
USER-AGENT: Linux/2.6.31-1.0 UPnP/1.0 DLNADOC/1.50 INTEL_NMPR/2.0 LGE_DLNA_SDK/1.5.0

19304.109: PLT_DeviceHost::ProcessHttpPostRequest(555)/3396: FINE: Received Browse action from 192.168.1.28
19304.109: FbMediaServer::OnAction(243)/3396: INFO: received action 'Browse', args = { ObjectID=0, BrowseFlag=BrowseDirectChildren, Filter=*, StartingIndex=0, RequestedCount=10, SortCriteria= }
19304.109: PLT_MediaServer::OnBrowse(380)/3396: INFO: Received BrowseDirectChildren from 192.168.1.28 for id = 0 with filter = *, start = 0, count = 10
19304.109: FbMediaServer::OnAction(260)/3396: INFO: action 'Browse' response: args = { ObjectID=0, BrowseFlag=BrowseDirectChildren, Filter=*, StartingIndex=0, RequestedCount=10, SortCriteria=, NumberReturned=3, TotalMatches=3, UpdateID=0 }
19304.109: PLT_HttpServerSocketTask::Write(322)/3396: FINER: PLT_HttpServerTask Sending response:
19304.109: PLT_HttpHelper::ToLog(496)/3396: FINER:
HTTP/1.1 200 OK
Server: Platinum/0.5.4.0
Content-Type: text/xml; charset="utf-8"
Ext:
Connection: keep-alive
Content-Length: 1452

19304.109: NPT_HttpHeader::Emit(118)/3396: FINEST: header Server: Platinum/0.5.4.0
19304.109: NPT_HttpHeader::Emit(118)/3396: FINEST: header Content-Type: text/xml; charset="utf-8"
19304.109: NPT_HttpHeader::Emit(118)/3396: FINEST: header Ext:
19304.109: NPT_HttpHeader::Emit(118)/3396: FINEST: header Connection: keep-alive
19304.109: NPT_HttpHeader::Emit(118)/3396: FINEST: header Content-Length: 1452
19304.109: PLT_HttpServerSocketTask::Write(336)/3396: FINER: keep_alive = true, headers_only = false
19304.109: PLT_HttpServerSocketTask::Write(341)/3396: FINER: NPT_StreamToStreamCopy begin
19304.109: PLT_HttpServerSocketTask::Write(349)/3396: FINER: NPT_StreamToStreamCopy end
19304.125: NPT_HttpRequest::Parse(616)/3396: FINE: NPT_CHECK failed, result=-20302 (NPT_ERROR_EOS) [(stream.ReadLine(line, NPT_HTTP_PROTOCOL_MAX_LINE_LENGTH))]
19304.125: NPT_Win32Thread::Start(483)/3348: FINER: creating thread
19304.125: PLT_HttpListenTask<class PLT_HttpServerListener>::DoRun(156)/3348: FINE: current http task count = 2
19304.125: NPT_Win32Thread::EntryPoint(450)/676: FINER: thread in =======================
19304.125: NPT_HttpRequest::Parse(617)/676: FINEST: http request: POST /ContentDirectory/42adc705-71cb-b393-8af2-391829a1bb7d/control.xml HTTP/1.1
19304.125: NPT_HttpHeaders::Parse(185)/676: FINEST: header - HOST: 192.168.1.20:56923
19304.125: NPT_HttpHeaders::Parse(185)/676: FINEST: header - CONTENT-LENGTH: 645
19304.125: NPT_HttpHeaders::Parse(185)/676: FINEST: header - CONTENT-TYPE: text/xml; charset="utf-8"
19304.125: NPT_HttpHeaders::Parse(185)/676: FINEST: header - SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
19304.125: NPT_HttpHeaders::Parse(215)/676: FINEST: header USER-AGENT: Linux/2.6.31-1.0 UPnP/1.0 DLNADOC/1.50 INTEL_NMPR/2.0 LGE_DLNA_SDK/1.5.0
19304.125: PLT_HttpServer::ProcessHttpRequest(142)/676: FINE: Received POST Request from 192.168.1.28 for /ContentDirectory/42adc705-71cb-b393-8af2-391829a1bb7d/control.xml
19304.125: PLT_HttpHelper::ToLog(410)/676: FINER:
POST /ContentDirectory/42adc705-71cb-b393-8af2-391829a1bb7d/control.xml HTTP/1.1
HOST: 192.168.1.20:56923
CONTENT-LENGTH: 645
CONTENT-TYPE: text/xml; charset="utf-8"
SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
USER-AGENT: Linux/2.6.31-1.0 UPnP/1.0 DLNADOC/1.50 INTEL_NMPR/2.0 LGE_DLNA_SDK/1.5.0

19304.125: FbMediaServer::ProcessHttpRequest(306)/676: INFO: received LAN request: [url=http://192.168.1.20:56923/ContentDirectory/42adc705-71cb-b393-8af2-391829a1bb7d/control.xml]http://192.168.1.20:56923/ContentDirectory...b7d/control.xml[/url] (User-Agent: Linux/2.6.31-1.0 UPnP/1.0 DLNADOC/1.50 INTEL_NMPR/2.0 LGE_DLNA_SDK/1.5.0)
19304.125: PLT_DeviceHost::ProcessHttpRequest(376)/676: FINER: PLT_DeviceHost Received Request:
19304.125: PLT_HttpHelper::ToLog(410)/676: FINER:
POST /ContentDirectory/42adc705-71cb-b393-8af2-391829a1bb7d/control.xml HTTP/1.1
HOST: 192.168.1.20:56923
CONTENT-LENGTH: 645
CONTENT-TYPE: text/xml; charset="utf-8"
SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
USER-AGENT: Linux/2.6.31-1.0 UPnP/1.0 DLNADOC/1.50 INTEL_NMPR/2.0 LGE_DLNA_SDK/1.5.0

19304.125: PLT_DeviceHost::ProcessHttpPostRequest(555)/676: FINE: Received Browse action from 192.168.1.28
19304.125: FbMediaServer::OnAction(243)/676: INFO: received action 'Browse', args = { ObjectID=0, BrowseFlag=BrowseDirectChildren, Filter=@id,@parentID,@restricted,@childCount,dc:title,dc:creator, upnp:artist,upnp:class,dc:date,upnp:album,upnp:genre,res,res@size,res@duration,res@bitrate,res@resol
ution,res@protocolInfo,res@nrAudioChannels,
res@sampleFrequency, StartingIndex=0, RequestedCount=20, SortCriteria= }
19304.125: PLT_MediaServer::OnBrowse(380)/676: INFO: Received BrowseDirectChildren from 192.168.1.28 for id = 0 with filter = @id,@parentID,@restricted,@childCount,dc:title,dc:creator, upnp:artist,upnp:class,dc:date,upnp:album,upnp:genre,res,res@size,res@duration,res@bitrate,res@resol
ution,res@protocolInfo,res@nrAudioChannels,
res@sampleFrequency, start = 0, count = 20
19304.140: FbMediaServer::OnAction(260)/676: INFO: action 'Browse' response: args = { ObjectID=0, BrowseFlag=BrowseDirectChildren, Filter=@id,@parentID,@restricted,@childCount,dc:title,dc:creator, upnp:artist,upnp:class,dc:date,upnp:album,upnp:genre,res,res@size,res@duration,res@bitrate,res@resol
ution,res@protocolInfo,res@nrAudioChannels,
res@sampleFrequency, StartingIndex=0, RequestedCount=20, SortCriteria=, NumberReturned=3, TotalMatches=3, UpdateID=0 }
19304.140: PLT_HttpServerSocketTask::Write(322)/676: FINER: PLT_HttpServerTask Sending response:
19304.140: PLT_HttpHelper::ToLog(496)/676: FINER:
HTTP/1.1 200 OK
Server: Platinum/0.5.4.0
Content-Type: text/xml; charset="utf-8"
Ext:
Connection: keep-alive
Content-Length: 1407

19304.140: NPT_HttpHeader::Emit(118)/676: FINEST: header Server: Platinum/0.5.4.0
19304.140: NPT_HttpHeader::Emit(118)/676: FINEST: header Content-Type: text/xml; charset="utf-8"
19304.140: NPT_HttpHeader::Emit(118)/676: FINEST: header Ext:
19304.140: NPT_HttpHeader::Emit(118)/676: FINEST: header Connection: keep-alive
19304.140: NPT_HttpHeader::Emit(118)/676: FINEST: header Content-Length: 1407
19304.140: PLT_HttpServerSocketTask::Write(336)/676: FINER: keep_alive = true, headers_only = false
19304.140: PLT_HttpServerSocketTask::Write(341)/676: FINER: NPT_StreamToStreamCopy begin
19304.140: PLT_HttpServerSocketTask::Write(349)/676: FINER: NPT_StreamToStreamCopy end
19304.156: NPT_HttpRequest::Parse(616)/676: FINE: NPT_CHECK failed, result=-20302 (NPT_ERROR_EOS) [(stream.ReadLine(line, NPT_HTTP_PROTOCOL_MAX_LINE_LENGTH))]
19304.156: NPT_Win32Thread::Start(483)/3348: FINER: creating thread
19304.156: PLT_HttpListenTask<class PLT_HttpServerListener>::DoRun(156)/3348: FINE: current http task count = 2
19304.156: NPT_Win32Thread::EntryPoint(450)/3392: FINER: thread in =======================
19304.156: NPT_HttpRequest::Parse(617)/3392: FINEST: http request: POST /ContentDirectory/42adc705-71cb-b393-8af2-391829a1bb7d/control.xml HTTP/1.1
19304.156: NPT_HttpHeaders::Parse(185)/3392: FINEST: header - HOST: 192.168.1.20:56923
19304.156: NPT_HttpHeaders::Parse(185)/3392: FINEST: header - CONTENT-LENGTH: 435
19304.156: NPT_HttpHeaders::Parse(185)/3392: FINEST: header - CONTENT-TYPE: text/xml; charset="utf-8"
19304.156: NPT_HttpHeaders::Parse(185)/3392: FINEST: header - SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
19304.156: NPT_HttpHeaders::Parse(215)/3392: FINEST: header USER-AGENT: Linux/2.6.31-1.0 UPnP/1.0 DLNADOC/1.50 INTEL_NMPR/2.0 LGE_DLNA_SDK/1.5.0
19304.156: PLT_HttpServer::ProcessHttpRequest(142)/3392: FINE: Received POST Request from 192.168.1.28 for /ContentDirectory/42adc705-71cb-b393-8af2-391829a1bb7d/control.xml
19304.156: PLT_HttpHelper::ToLog(410)/3392: FINER:
POST /ContentDirectory/42adc705-71cb-b393-8af2-391829a1bb7d/control.xml HTTP/1.1
HOST: 192.168.1.20:56923
CONTENT-LENGTH: 435
CONTENT-TYPE: text/xml; charset="utf-8"
SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
USER-AGENT: Linux/2.6.31-1.0 UPnP/1.0 DLNADOC/1.50 INTEL_NMPR/2.0 LGE_DLNA_SDK/1.5.0

19304.156: FbMediaServer::ProcessHttpRequest(306)/3392: INFO: received LAN request: [url=http://192.168.1.20:56923/ContentDirectory/42adc705-71cb-b393-8af2-391829a1bb7d/control.xml]http://192.168.1.20:56923/ContentDirectory...b7d/control.xml[/url] (User-Agent: Linux/2.6.31-1.0 UPnP/1.0 DLNADOC/1.50 INTEL_NMPR/2.0 LGE_DLNA_SDK/1.5.0)
19304.156: PLT_DeviceHost::ProcessHttpRequest(376)/3392: FINER: PLT_DeviceHost Received Request:
19304.156: PLT_HttpHelper::ToLog(410)/3392: FINER:
POST /ContentDirectory/42adc705-71cb-b393-8af2-391829a1bb7d/control.xml HTTP/1.1
HOST: 192.168.1.20:56923
CONTENT-LENGTH: 435
CONTENT-TYPE: text/xml; charset="utf-8"
SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
USER-AGENT: Linux/2.6.31-1.0 UPnP/1.0 DLNADOC/1.50 INTEL_NMPR/2.0 LGE_DLNA_SDK/1.5.0

19304.156: PLT_DeviceHost::ProcessHttpPostRequest(555)/3392: FINE: Received Browse action from 192.168.1.28
19304.156: FbMediaServer::OnAction(243)/3392: INFO: received action 'Browse', args = { ObjectID=0, BrowseFlag=BrowseDirectChildren, Filter=upnp:class, StartingIndex=0, RequestedCount=100, SortCriteria= }
19304.156: PLT_MediaServer::OnBrowse(361)/3392: WARNING: Invalid arguments (0, 100, upnp:class)
19304.156: FbMediaServer::OnAction(260)/3392: INFO: action 'Browse' response: args = { ObjectID=0, BrowseFlag=BrowseDirectChildren, Filter=upnp:class, StartingIndex=0, RequestedCount=100, SortCriteria= }
19304.156: PLT_HttpServerSocketTask::Write(322)/3392: FINER: PLT_HttpServerTask Sending response:
19304.156: PLT_HttpHelper::ToLog(496)/3392: FINER:
HTTP/1.0 500 Internal Server Error
Server: Platinum/0.5.4.0
Content-Type: text/xml; charset="utf-8"
Ext:
Connection: keep-alive
Content-Length: 435
Title: foo_upnp
Post by: bubbleguuum on 2011-02-19 11:26:25
I'm trying to stream to my LG TV but it is having trouble connecting to Foobar:uPnP and display a list of files. Would the log below help to isolate what the problem is? It looks like it's having trouble with a upnp:class call.


New version below should fix this issue.


A new version finally. No major new feature but some bugfixes and refinements here and there (see first post to download or use autoupdate in foobar2000).

Code: [Select]
v 0.99.31

- server: fix: rare crashes
- server: chg: always append the Windows computer name to the Media Server and Renderer name
- server: chg: added support for 24 bits LPCM (L24) for streaming regular files and Playback Stream Capture (note that foobar2000 won't play L24). Still largely untested so there might be issues.
- server: chg: handle PlugPlayer search query (returns albums whose title contain search string)
- server: fix: in tracks from VA albums, only Album Artist was specified (no track artist)
- server: fix: some Browse requests could fail due to exotic unhandled filters requested (some Samsung TVs and LG TVs)
- server: fix: tracks in Folders node are now sorted using %path_sort% (ie Explorer order) instead of a more sophitiscated order that messed VA albums track order in some cases.
- server: fix: LinnDS not displaying artist name on the unit's LCD screen
- server: fixed crash if playing a track whose full filename with path contained character %
- server: fix: for track Album Artist metadata use $meta(album artist) if present,  instead of field remapping %album artist%
- server: in foo_upnp_ml_tree.xml, if a <SubTree> definition is bogus (bad query syntax for example), skip the definition instead of reverting to the default tree
- server: tweaks for BubbleDS: support query to get random tracks, search for albums, added dc:creator in album container

- server: query defintion in <SubTree> supports SORT and operators involving system time: DURING, SINCE, ...
if SORT is specified, eventual <spec> subnodes are ignored (query 1). The result is that this node will contain tracks
if SORT is not specified but the query still has a sort order implied (query1, implied sort order ASCENDING), <spec> tags are taken into account to further split the results

<SubTree label="Last 4 weeks tracks descending" query="%last_modified% DURING LAST 4 WEEKS SORT DESCENDING BY %last_modified%"/>
<SubTree label="Last 4 weeks albums" query="%last_modified% DURING LAST 4 WEEKS">
    <spec type="object.container.album.musicAlbum">%album%[ '['%album artist%']']</spec>
</SubTree>

- controller: removed experimental "Play Stream Capture Multi" as it is unusuable
- controller: When switching renderers, do not automatically clear the UPnP Controller Playback Queue playlist (except when switching to Linn DS renderer)
Title: foo_upnp
Post by: alexinc on 2011-02-19 12:10:56
still no luck on samsung ue40c7700...  volume-control and applying changes to streaming profiles-settings (connection gets reset) seems to work, but its not starting to play anything (of course i have tracks added to UPnP Controller Playback Queue). anything else i could do wrong? is it helpful to post log again or can you already tell that it won't work with this samsung series? thx anyways for adding this feature to foobar! not giving up on hoping for a working connection between samsung some day...
Title: foo_upnp
Post by: enstine86 on 2011-02-22 18:52:27
Hi bubbleguuum, thanks for a making a great foobar2000 component.  I would like to request a way to 'Refresh' the list of songs on a remote playlist.  If songs are added to a remote playlist that is already being viewed on the local foobar2000 instance, you have to restart the program to get updated list results.

Please let me know if I'm being unclear.
Title: foo_upnp
Post by: angstrom on 2011-02-26 14:53:48
Hi, any idea what Stop Error: Action failed (501) means and how to fix it?

I'm getting it quite regularly and the whole thing freezes. Even if i close FB2k and reopen it, the error message remains and nothing works until i reboot.

trying to play to a LaCie MiniHD...
Title: foo_upnp
Post by: Bryter on 2011-02-26 17:54:53
Wow! Just discovered this, it works fantastically with my iphone!
I still don't undersdant one thing though: if i would want to access my media server from another device out of my home network, what would i need?
Title: foo_upnp
Post by: oblikoamorale on 2011-02-26 18:40:56
I witness a problem very similar to i b listening is experiencing (http://www.hydrogenaudio.org/forums/index.php?showtopic=69664&view=findpost&p=742921). I'm not sure whether it is foo_upnp or WDTVLive specific though.

0.99.31, default settings. when I'm trying to use "Play on..." UPNP Controller feature, playback successfully starts on remote device, and stops after a few seconds. It takes a several tries on the same song, including changes to streaming profile 'always transcode to mp3' and back to default 'never', to make "Play on..." work without interruption.

here are logs of interrupted "Play on..." sessions: default settings (http://pastebin.com/yizZb3zA) and mp3 transcode always (http://pastebin.com/msLSDRtt).
Title: foo_upnp
Post by: bubbleguuum on 2011-02-26 20:13:46
I witness a problem very similar to i b listening is experiencing (http://www.hydrogenaudio.org/forums/index.php?showtopic=69664&view=findpost&p=742921). I'm not sure whether it is foo_upnp or WDTVLive specific though.

0.99.31, default settings. when I'm trying to use "Play on..." UPNP Controller feature, playback successfully starts on remote device, and stops after a few seconds. It takes a several tries on the same song, including changes to streaming profile 'always transcode to mp3' and back to default 'never', to make "Play on..." work without interruption.

here are logs of interrupted "Play on..." sessions: default settings (http://pastebin.com/yizZb3zA) and mp3 transcode always (http://pastebin.com/msLSDRtt).



This is indeed the same problem than reported by i b listening. At some point the WD Live makes a HTTP request notifying of some state change to foo_upnp. However theres a problem with this notification (it is unclear on which side the problem is at this point) and foo_upnp HTTP server responds with code 412.
After that, a subsequent HTTP request from foo_upnp to the WD Live fails with a connection refused, as a vengeance.

I'll see if I can sort out where this invalid notification comes from.

Did that problem existed with 0.99.29 (I exepect that it did since nothing changed in this area).
Title: foo_upnp
Post by: bubbleguuum on 2011-02-26 20:14:56
Wow! Just discovered this, it works fantastically with my iphone!
I still don't undersdant one thing though: if i would want to access my media server from another device out of my home network, what would i need?


It depends on what device you'll be using. Can you be more specific ?
Title: foo_upnp
Post by: bubbleguuum on 2011-02-26 20:16:02
Hi, any idea what Stop Error: Action failed (501) means and how to fix it?

I'm getting it quite regularly and the whole thing freezes. Even if i close FB2k and reopen it, the error message remains and nothing works until i reboot.

trying to play to a LaCie MiniHD...



It means  that this device didn't like being stopped by the Controller. Record a log so I can have a look (first post for instruction on how to log).
Title: foo_upnp
Post by: bubbleguuum on 2011-02-26 20:19:22
Hi bubbleguuum, thanks for a making a great foobar2000 component.  I would like to request a way to 'Refresh' the list of songs on a remote playlist.  If songs are added to a remote playlist that is already being viewed on the local foobar2000 instance, you have to restart the program to get updated list results.

Please let me know if I'm being unclear.



This is something I want to do
Title: foo_upnp
Post by: bubbleguuum on 2011-02-26 20:23:18
still no luck on samsung ue40c7700...  volume-control and applying changes to streaming profiles-settings (connection gets reset) seems to work, but its not starting to play anything (of course i have tracks added to UPnP Controller Playback Queue). anything else i could do wrong? is it helpful to post log again or can you already tell that it won't work with this samsung series? thx anyways for adding this feature to foobar! not giving up on hoping for a working connection between samsung some day...



This is a known issue. The component is not full DLNA compliant and some devices (like those TV) are super not tolerant if they don't get the answer they expect.
And the fact that I don't have such a device do not help.
Title: foo_upnp
Post by: Bryter on 2011-02-26 20:30:25
Wow! Just discovered this, it works fantastically with my iphone!
I still don't undersdant one thing though: if i would want to access my media server from another device out of my home network, what would i need?


It depends on what device you'll be using. Can you be more specific ?


I want to access the server from my home PC. My server currently is my laptop. I actually just downloaded foobar and foo_upnp in my home PC, but i have no idea how to access the server. In this case, laptop & PC are both on the same network.
Title: foo_upnp
Post by: bubbleguuum on 2011-02-26 20:34:30
I want to access the server from my home PC. My server currently is my laptop. I actually just downloaded foobar and foo_upnp in my home PC, but i have no idea how to access the server. In this case, laptop & PC are both on the same network.


Install foo_upnp on your PC then use the UPnP Browser (as a UI Element that you add to your layout or via View>UPnP Browser) to browse the server (laptop).
Title: foo_upnp
Post by: bubbleguuum on 2011-02-26 21:12:44
I witness a problem very similar to i b listening is experiencing (http://www.hydrogenaudio.org/forums/index.php?showtopic=69664&view=findpost&p=742921). I'm not sure whether it is foo_upnp or WDTVLive specific though.

0.99.31, default settings. when I'm trying to use "Play on..." UPNP Controller feature, playback successfully starts on remote device, and stops after a few seconds. It takes a several tries on the same song, including changes to streaming profile 'always transcode to mp3' and back to default 'never', to make "Play on..." work without interruption.

here are logs of interrupted "Play on..." sessions: default settings (http://pastebin.com/yizZb3zA) and mp3 transcode always (http://pastebin.com/msLSDRtt).


I'll see if I can sort out where this invalid notification comes from.



More about this. It is a WD bug and I totally forgot that I posted about it (http://community.wdc.com/t5/Networking/UPnP-implementation-eventing-bug-attn-to-developpers/td-p/23976) in their forums some months ago. Someone go bug them until they fix it !

Title: foo_upnp
Post by: i b listening on 2011-02-26 21:14:15
I witness a problem very similar to i b listening is experiencing (http://www.hydrogenaudio.org/forums/index.php?showtopic=69664&view=findpost&p=742921). I'm not sure whether it is foo_upnp or WDTVLive specific though.

0.99.31, default settings. when I'm trying to use "Play on..." UPNP Controller feature, playback successfully starts on remote device, and stops after a few seconds. It takes a several tries on the same song, including changes to streaming profile 'always transcode to mp3' and back to default 'never', to make "Play on..." work without interruption.

here are logs of interrupted "Play on..." sessions: default settings (http://pastebin.com/yizZb3zA) and mp3 transcode always (http://pastebin.com/msLSDRtt).



This is indeed the same problem than reported by i b listening. At some point the WD Live makes a HTTP request notifying of some state change to foo_upnp. However theres a problem with this notification (it is unclear on which side the problem is at this point) and foo_upnp HTTP server responds with code 412.
After that, a subsequent HTTP request from foo_upnp to the WD Live fails with a connection refused, as a vengeance.

I'll see if I can sort out where this invalid notification comes from.

Did that problem existed with 0.99.29 (I exepect that it did since nothing changed in this area).


The problem did exist with 0.99.29  (and with all versions of the WDTV Live Plus firmware they have released in the last 8 months). Thanks for looking into this.

I do have another question: in an earlier post, you had mentioned a possible enhancement to the tree.xml file that would allow one to split nodes for specific sub-trees. Did you get a chance to implement this? If so, where would one find out how to implement this?

Title: foo_upnp
Post by: i b listening on 2011-02-27 00:27:30
I witness a problem very similar to i b listening is experiencing (http://www.hydrogenaudio.org/forums/index.php?showtopic=69664&view=findpost&p=742921). I'm not sure whether it is foo_upnp or WDTVLive specific though.

0.99.31, default settings. when I'm trying to use "Play on..." UPNP Controller feature, playback successfully starts on remote device, and stops after a few seconds. It takes a several tries on the same song, including changes to streaming profile 'always transcode to mp3' and back to default 'never', to make "Play on..." work without interruption.

here are logs of interrupted "Play on..." sessions: default settings (http://pastebin.com/yizZb3zA) and mp3 transcode always (http://pastebin.com/msLSDRtt).



This is indeed the same problem than reported by i b listening. At some point the WD Live makes a HTTP request notifying of some state change to foo_upnp. However theres a problem with this notification (it is unclear on which side the problem is at this point) and foo_upnp HTTP server responds with code 412.
After that, a subsequent HTTP request from foo_upnp to the WD Live fails with a connection refused, as a vengeance.

I'll see if I can sort out where this invalid notification comes from.

Did that problem existed with 0.99.29 (I exepect that it did since nothing changed in this area).


The problem did exist with 0.99.29  (and with all versions of the WDTV Live Plus firmware they have released in the last 8 months). Thanks for looking into this.

I do have another question: in an earlier post, you had mentioned a possible enhancement to the tree.xml file that would allow one to split nodes for specific sub-trees. Did you get a chance to implement this? If so, where would one find out how to implement this?




Some other notes on the initial problem:

1.  I have tested a bunch of Windows based DMCs with the WDTV. The only one that works consistently is the Windows 7 Media Player "Play To". If you have a protocol analyzer, you could check what kind of commands they are using. Foo_upnp was the next best, working sometimes. None of the other ones would play anything.

2.  The problem seems to be independent of any of the transcoding settings/streaming profiles. The user-agent name I was using was "WDTV LIVE".

3.  It seemed to always fail if I tried to send a block of songs (more than 2) to the WDTV. If I sent one or two, it would occasionally work.

Hope this helps.
Title: foo_upnp
Post by: Bryter on 2011-02-27 11:38:29
I want to access the server from my home PC. My server currently is my laptop. I actually just downloaded foobar and foo_upnp in my home PC, but i have no idea how to access the server. In this case, laptop & PC are both on the same network.


Install foo_upnp on your PC then use the UPnP Browser (as a UI Element that you add to your layout or via View>UPnP Browser) to browse the server (laptop).

Ok this works great. What if i want to access my media server from another PC on another network?
Title: foo_upnp
Post by: Spooky_ on 2011-02-28 12:12:46
I recently set up a foobar2000 UPnP server on one PC and made it accessible from the internet. I tried PlugPlayer for Android, but I was unable to connect to the server (error reading URL or something like that). I used these instructions (http://nerdlets.org/2009/05/07/set-up-a-upnp-media-server-with-foobar2000/) from a user here. I find the format http://dummy.homedns.org:9001/namepassword to be a bit weird, how would the server be able to distinguish the name from the password?

I forgot to try http://name:password@dummy.homedns.org:9001/ (http://name:password@dummy.homedns.org:9001/) though... is this actually how it is supposed to work?
Title: foo_upnp
Post by: bubbleguuum on 2011-02-28 12:30:47
I recently set up a foobar2000 UPnP server on one PC and made it accessible from the internet. I tried PlugPlayer for Android, but I was unable to connect to the server (error reading URL or something like that). I used these instructions (http://nerdlets.org/2009/05/07/set-up-a-upnp-media-server-with-foobar2000/) from a user here. I find the format http://dummy.homedns.org:9001/namepassword to be a bit weird, how would the server be able to distinguish the name from the password?

I forgot to try http://name:password@dummy.homedns.org:9001/ (http://name:password@dummy.homedns.org:9001/) though... is this actually how it is supposed to work?


Yes, this should work (let me know if it doesn't) if the Android version of PlugPlayer uses name:password to contruct the HTTP Authorization header.
The other URL with namepassword was only a hack used at the time PP did not support the Authorization header. And I think
it worked only with iOS PlugPlayer.


Title: foo_upnp
Post by: Spooky_ on 2011-02-28 12:51:33
Ok, I'll try that later when I get to it. Didn't have time to try it before, due to the 15 min. time limit in which you can refund the purchase (of PlugPlayer in this case)
Title: foo_upnp
Post by: Spooky_ on 2011-02-28 14:37:17
Hm, still get "Error reading URL" with the format http://name:password@dummy.homedns.org:9001/ (http://name:password@dummy.homedns.org:9001/) unfortunately.
Title: foo_upnp
Post by: bubbleguuum on 2011-02-28 14:53:59
Hm, still get "Error reading URL" with the format http://name:password@dummy.homedns.org:9001/ (http://name:password@dummy.homedns.org:9001/) unfortunately.


Forgot to say that you should specify DeviceDescription.xml in the URL path:

Code: [Select]
http://name:password@dummy.homedns.org:9001/DeviceDescription.xml


Anyway, i'll try that myself later today
Title: foo_upnp
Post by: Spooky_ on 2011-02-28 15:01:58
Ooooh, ok thank you, that worked .

Btw. is that documented somwhere yet (and I missed it?)?
Title: foo_upnp
Post by: bubbleguuum on 2011-02-28 21:42:23
Ooooh, ok thank you, that worked .

Btw. is that documented somwhere yet (and I missed it?)?


Indeed, it is not really documented.

0.99.32 released:

Code: [Select]
- chg: ninjaworkarounded WDTV eventing bug which randomly (between server restarts) broke subsequent play (Connection refused)
- new: foo_upnp_ml_tree.xml: ability to split a specific ML node by first letter:
    <spec type="object.container.album.musicAlbum" split_by_first_letter="true">%album%[ '['%album artist%']']</spec>
Title: foo_upnp
Post by: bubbleguuum on 2011-02-28 21:48:04
I do have another question: in an earlier post, you had mentioned a possible enhancement to the tree.xml file that would allow one to split nodes for specific sub-trees. Did you get a chance to implement this? If so, where would one find out how to implement this?


Implemented in 0.99.32
Title: foo_upnp
Post by: i b listening on 2011-02-28 22:36:27
I do have another question: in an earlier post, you had mentioned a possible enhancement to the tree.xml file that would allow one to split nodes for specific sub-trees. Did you get a chance to implement this? If so, where would one find out how to implement this?


Implemented in 0.99.32



Thanks Bubbleguuum. Both improvements in 0.99.32 work great.
Title: foo_upnp
Post by: klui on 2011-03-01 13:40:41
I'm trying to stream to my LG TV but it is having trouble connecting to Foobar:uPnP and display a list of files. Would the log below help to isolate what the problem is? It looks like it's having trouble with a upnp:class call.
New version below should fix this issue.
A new version finally. No major new feature but some bugfixes and refinements here and there (see first post to download or use autoupdate in foobar2000).
Code: [Select]
v 0.99.31

The system never gave me notification--I didn't check Enable email notification of replies--and I only had the time to check the thread now. I autoupdated to 0.99.32 and it now works...great!

Thanks
Title: foo_upnp
Post by: dag0 on 2011-03-04 12:16:11
I have exactly the same problem whith my Samsung LE40c650, even whith version 0.99.32. My TV can see the server and the folders (playlists, Media library, Playback stream capture) but when trying to enter a folder I get a error message on my tv-screen. Any ideas?

Code: [Select]
foo_upnp: 184.625: FbMediaServer::OnAction(254)/2388: INFO: received action 'Browse', args = { ObjectID=0/1, BrowseFlag=BrowseMetadata, Filter=@parentID, StartingIndex=0, RequestedCount=0, SortCriteria= }
foo_upnp: 184.625: PLT_MediaServer::OnBrowse(361)/2388: WARNING: Invalid arguments (0, 0, @parentID)
foo_upnp: 184.625: FbMediaServer::OnAction(271)/2388: INFO: action 'Browse' response: args = { ObjectID=0/1, BrowseFlag=BrowseMetadata, Filter=@parentID, StartingIndex=0, RequestedCount=0, SortCriteria= }


Title: foo_upnp
Post by: Pastim on 2011-03-05 13:15:55
I'm new to this, so forgive me if I'm a bit ignorant.

I've had foobar (1.1) working fine for some time, and installed the latest UPnP plugin yesterday.  I have got the browser working, connecting via Whitebear to my Squeezebox Server, and the controller controls my Logitech Touch with no problem.  So far so very good indeed.

What I want to do next is get my Humax PVR (HDR Fox T2) to use foobar as a media server.  The Humax seems a little difficult (I've had difficulty with several different servers), and only plays mp3s, but I got it working with Tversity.  With foobar and this plugin I can see all the files (mp3s and flacs), and see playlists, but when I attempt to play them nothing happens.  It then usually skips to the next track after 10-20 seconds, still playing nothing.  It can see the track title, time, album art, and so on, so there is some communication happening.  I have also tried with tracks accessed directly via foobar from its own library.

Any ideas?

I have looked at the streaming preferences and am struggling to understand the different sections 'Rendering capabilities', 'transcoding to MP3' (does this require a separate LAME exe, and if so where do I put it?), 'decoding to PCM' and 'playback stream capture'.  I don't quite grasp what each of these sections is for.  Is there a description somewhere?  If not, could someone write a few words explaining what each section is about?


Title: foo_upnp
Post by: sanyigz on 2011-03-05 15:08:52
Hi!

Are there any plans to make this plugin video compatible? No any bigger thing needed like transcoding, just simple streaming. I know there are av dlna servers, but for audio, this is the best (knows cue, and every audio formats)
Title: foo_upnp
Post by: bubbleguuum on 2011-03-07 21:15:19
What I want to do next is get my Humax PVR (HDR Fox T2) to use foobar as a media server.  The Humax seems a little difficult (I've had difficulty with several different servers), and only plays mp3s, but I got it working with Tversity.  With foobar and this plugin I can see all the files (mp3s and flacs), and see playlists, but when I attempt to play them nothing happens.  It then usually skips to the next track after 10-20 seconds, still playing nothing.  It can see the track title, time, album art, and so on, so there is some communication happening.  I have also tried with tracks accessed directly via foobar from its own library.


Record a log file as explained in the first post of this thread and email it at bubbleguuum@free.fr

Are there any plans to make this plugin video compatible? No any bigger thing needed like transcoding, just simple streaming. I know there are av dlna servers, but for audio, this is the best (knows cue, and every audio formats)


No plan
Title: foo_upnp
Post by: Pastim on 2011-03-07 21:53:36
Record a log file as explained in the first post of this thread and email it at bubbleguuum@free.fr

On its way.
Title: foo_upnp
Post by: huuhaa on 2011-03-09 20:44:53
Hello,

Thanks for the interesting  foobar component.

I have couple of denon s-32 network players + media pc  where to stream music. I use laptop as a upnp server and controller.

I have tried upnp  controller to control denons. I can "send" music to them from server, stop,pause, and play. Volume control does not work.

At upnp controller, both denon players shows as "network audio"

How can i assign individual playlists for all media players which are in the network? What i like to do is to play one playlist at one room(denon 1), and another playlist at another room(denon2) + third playlist at the media pc.

Thanks in advance for advise.
Title: foo_upnp
Post by: bubbleguuum on 2011-03-09 21:02:05
I have tried upnp  controller to control denons. I can "send" music to them from server, stop,pause, and play. Volume control does not work.

Record a log and send it to me (see post above your post) so I can see why volume control do not work


How can i assign individual playlists for all media players which are in the network? What i like to do is to play one playlist at one room(denon 1), and another playlist at


You can't: the Controller can control only the selected renderer (unless the renderer is a Linn DS in which case the Playlist is retrieved from the device).
Your use case a valid one, although in practice it is uncommon to control several renderers in parralel each with its own playlist....
Title: foo_upnp
Post by: sanyigz on 2011-03-14 19:37:59
How can be the sent playlists sorted? Because in upnp client the playlists aren't look like the host foobar playlists (on host it's sorted by track number per album, but in client it's sorted only by track number, so i se the first tracks of all albumbs, then the second tracks...), and the "sort items sent to playlist by" checkbox does nothing.
Title: foo_upnp
Post by: silentplummet on 2011-03-15 15:00:45
Hi.  I use your wonderful upnp plugin almost 24/7.  It is a godsend as it allows me great flexibility in how I store and access my music library.  I basically use it as a client to the mediatomb upnp server which I have running on a linux box. 

I do have just one minor issue though, and since there are essentially three software projects interacting here I'm not entirely sure which is the one that can implement the solution.  When using the UPnP browser from within foobar2000, I can access the files on my mediatomb server which conveniently groups them by album (among other ways which I don't frequently use).  However, I have combined multi-disc albums to have the same album name in their files' tags, relying on the 'disc number' tag to keep them separate in media players.  iTunes, for instance, respects this. 

Unfortunately, when I select an album from mediatomb in the UPnP browser, I am provided with a track list populated with Artist/album, Track no, Title / Track artist, Duration, and Date only.  So the tracks come across ordered as Disc 1 Track 1, Disc 2 Track 1, Disc 3 Track 1, ...  It appears that only when I manually select one of the tracks for playback does the disc number for that track get loaded.  After preloading them in this fashion I can re-sort the playlist by clicking the "Track no" column header and foobar2000 displays them in the correct order in the playlist (Disc 1 Track 1 -> X, Disc 2 Track 1 -> Y).  Therefore for these multi-CD albums I have to manually preload each individual track to get the disc number field populated and play them back straight through.  This is quite burdensome as I have some classical symphony sets of 10 CDs or more, which I am forced to manually preload 100s of tracks or hunt and peck to listen to them in the proper order.  Is it possible to make the UPnP browser automatically populate the disc number in the playlist when albums are selected?

I hope I have been able to describe the problem in an accurate and understandable way.
Title: foo_upnp
Post by: Wacky on 2011-03-16 20:09:26
Hello bubbleguuum:

I would like to use the upnp controller to push songs to SMCWAA-G renderers.  I have a few of these and use them all the time with your upnp server and they work perfectly.  These renderers do not appear on the Upnp Controller dropdown list.

Here is a link from the upnp database site

http://www.upnp-database.info/device.jsp?deviceId=41 (http://www.upnp-database.info/device.jsp?deviceId=41)

Below is information from the console.

Thanks for your help.

[15:54:52] foo_upnp: 8639.456: PLT_CtrlPoint::InspectDevice(1104)/3980: INFO: New device "55b0ecee-acec-eeb9-a7e5-ee09acb9a51c" detected @

http://192.168.1.136:8888/upnp_descriptor_0 (http://192.168.1.136:8888/upnp_descriptor_0)
[15:54:52] foo_upnp: 8639.611: PLT_CtrlPoint::InspectDevice(1104)/3796: INFO: New device "5F9EC1B3-ED59-79BB-4530-0011F5807CAF" detected @

http://192.168.1.48:80/description.xml (http://192.168.1.48:80/description.xml)
[15:54:53] foo_upnp: 8640.488: PLT_CtrlPoint::ProcessGetDescriptionResponse(1179)/2736: INFO: Received device description for 85FAFB43-64DE-EBC1-53BB-A237655E7F6C (result

= 0)
[15:54:53] foo_upnp: 8640.488: PLT_CtrlPoint::ProcessGetDescriptionResponse(1179)/3156: INFO: Received device description for 55b0ecee-acec-eeb9-a7e5-ee09acb9a51c (result

= 0)
[15:54:53] foo_upnp: 8640.508: PLT_CtrlPoint::ProcessGetDescriptionResponse(1234)/2736: INFO: Device "85FAFB43-64DE-EBC1-53BB-A237655E7F6C" is now known as "router"
[15:54:53] foo_upnp: 8640.511: PLT_AddGetSCPDRequestIterator::operator ()(142)/2736: INFO: Queueing SCPD request for service "urn:upnp-org:serviceId:L3Forwarding1" of

device "router" @ http://192.168.1.1:1780/x_layer3forwarding.xml (http://192.168.1.1:1780/x_layer3forwarding.xml)
[15:54:53] foo_upnp: 8640.513: PLT_CtrlPoint::ProcessGetDescriptionResponse(1234)/3156: INFO: Device "55b0ecee-acec-eeb9-a7e5-ee09acb9a51c" is now known as "TX-NR808"
[15:54:53] foo_upnp: 8640.513: PLT_AddGetSCPDRequestIterator::operator ()(142)/3156: INFO: Queueing SCPD request for service "urn:upnp-org:serviceId:RenderingControl" of

device "TX-NR808" @ http://192.168.1.136:8888/scpd/RenderingControl_1 (http://192.168.1.136:8888/scpd/RenderingControl_1)
[15:54:53] foo_upnp: 8640.513: PLT_AddGetSCPDRequestIterator::operator ()(142)/3156: INFO: Queueing SCPD request for service "urn:upnp-org:serviceId:ConnectionManager" of

device "TX-NR808" @ http://192.168.1.136:8888/scpd/ConnectionManager_1 (http://192.168.1.136:8888/scpd/ConnectionManager_1)
[15:54:53] foo_upnp: 8640.513: PLT_AddGetSCPDRequestIterator::operator ()(142)/3156: INFO: Queueing SCPD request for service "urn:upnp-org:serviceId:AVTransport" of

device "TX-NR808" @ http://192.168.1.136:8888/scpd/AVTransport_1 (http://192.168.1.136:8888/scpd/AVTransport_1)
[15:54:53] foo_upnp: 8640.728: PLT_CtrlPoint::ProcessGetSCPDResponse(1300)/3268: INFO: Received SCPD response for a service of device "TX-NR808" @

http://192.168.1.136:8888/scpd/RenderingControl_1 (http://192.168.1.136:8888/scpd/RenderingControl_1) (result = 0)
[15:54:53] foo_upnp: 8640.738: PLT_CtrlPoint::ProcessGetSCPDResponse(1300)/3268: INFO: Received SCPD response for a service of device "TX-NR808" @

http://192.168.1.136:8888/scpd/ConnectionManager_1 (http://192.168.1.136:8888/scpd/ConnectionManager_1) (result = 0)
[15:54:53] foo_upnp: 8640.743: PLT_CtrlPoint::ProcessGetSCPDResponse(1300)/3268: INFO: Received SCPD response for a service of device "TX-NR808" @

http://192.168.1.136:8888/scpd/AVTransport_1 (http://192.168.1.136:8888/scpd/AVTransport_1) (result = 0)
[15:54:53] foo_upnp: 8640.748: LinnDsRendererController::Create(117)/1780: INFO: couldn't find urn:linn-co-uk:service:Product:3 service
[15:54:53] foo_upnp: 8640.748: RendererController::Create(53)/1780: INFO: Created UPnPAv Controller for device: TX-NR808
[15:54:54] foo_upnp: 8641.528: PLT_CtrlPoint::ProcessGetSCPDResponse(1300)/1120: INFO: Received SCPD response for a service of device "router" @

http://192.168.1.1:1780/x_layer3forwarding.xml (http://192.168.1.1:1780/x_layer3forwarding.xml) (result = 0)
[15:54:56] foo_upnp: 8643.675: PLT_CtrlPoint::ProcessGetDescriptionResponse(1179)/3184: INFO: Received device description for 5F9EC1B3-ED59-79BB-4530-0011F5807CAF (result

= 0)
[15:54:56] foo_upnp: 8643.693: PLT_CtrlPoint::ProcessGetDescriptionResponse(1234)/3184: INFO: Device "5F9EC1B3-ED59-79BB-4530-0011F5807CAF" is now known as "SMCWAA-G"
[15:54:56] foo_upnp: 8643.718: PLT_AddGetSCPDRequestIterator::operator ()(142)/3184: INFO: Queueing SCPD request for service "urn:upnp-

org:serviceId:RenderingControlServiceID" of device "SMCWAA-G" @ http://192.168.1.48/RenderingControl/desc.xml (http://192.168.1.48/RenderingControl/desc.xml)
[15:54:56] foo_upnp: 8643.718: PLT_AddGetSCPDRequestIterator::operator ()(142)/3184: INFO: Queueing SCPD request for service "urn:upnp-

org:serviceId:ConnectionManagerServiceID" of device "SMCWAA-G" @ http://192.168.1.48/ConnectionManager/desc.xml (http://192.168.1.48/ConnectionManager/desc.xml)
[15:54:56] foo_upnp: 8643.718: PLT_AddGetSCPDRequestIterator::operator ()(142)/3184: INFO: Queueing SCPD request for service "urn:upnp-org:serviceId:AVTransportServiceID"

of device "SMCWAA-G" @ http://192.168.1.48/AVTransport/desc.xml (http://192.168.1.48/AVTransport/desc.xml)
[15:54:56] foo_upnp: 8643.720: PLT_AddGetSCPDRequestIterator::operator ()(142)/3184: INFO: Queueing SCPD request for service "urn:upnp-org:serviceId:HtmlPageServiceID" of

device "SMCWAA-G" @ http://192.168.1.48/HtmlPageHandler/desc.xml (http://192.168.1.48/HtmlPageHandler/desc.xml)
[15:54:56] foo_upnp: 8643.720: PLT_AddGetSCPDRequestIterator::operator ()(142)/3184: INFO: Queueing SCPD request for service "urn:upnp-

org:serviceId:BcoWaaRemoteControlServiceID" of device "SMCWAA-G" @ http://192.168.1.48/BcoWaaRemoteControl/desc.xml (http://192.168.1.48/BcoWaaRemoteControl/desc.xml)
[15:54:57] foo_upnp: 8643.948: PLT_CtrlPoint::ProcessGetSCPDResponse(1300)/3772: INFO: Received SCPD response for a service of device "SMCWAA-G" @

http://192.168.1.48/RenderingControl/desc.xml (http://192.168.1.48/RenderingControl/desc.xml) (result = 0)
[15:54:57] foo_upnp: 8644.152: PLT_Service::SetSCPDXML(186)/3772: FATAL: NPT_CHECK failed, result=-20011 (NPT_ERROR_INVALID_SYNTAX) [(res)]
[15:54:57] foo_upnp: 8644.155: PLT_Service::SetSCPDXML(335)/3772: FATAL: Failed to parse scpd: <?xml version="1.0"?>
<scpd
  xmlns="urn:schemas-upnp-org:service-1-0">
   <specVersion>
      <major>1</major>
      <minor>0</minor>
   </specVersion>
   <actionList>
      <action>
         <name>ListPresets</name>
         <argumentList>
            <argument>
               <name>InstanceID</name>
               <direction>in</direction>
               <relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>
            </argument>
            <argument>
               <name>CurrentPresetNameList</name>
               <direction>out</direction>
               <relatedStateVariable>PresetNameList</relatedStateVariable>
            </argument>
         </argumentList>
      </action>
      <action>
         <name>SelectPreset</name>
         <argumentList>
            <argument>
               <name>InstanceID</name>
               <direction>in</direction>
               <relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>
            </argument>
            <argument>
               <name>PresetName</name>
               <direction>in</direction>
               <relatedStateVariable>A_ARG_TYPE_PresetName</relatedStateVariable>
            </argument>
         </argumentList>
      </action>
      <action>
         <name>GetMute</name>
         <argumentList>
            <argument>
               <name>InstanceID</name>
               <direction>in</direction>
               <relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>
            </argument>
            <argument>
               <name>Channel</name>
               <direction>in</direction>
               <relatedStateVariable>A_ARG_TYPE_Channel</relatedStateVariable>
            </argument>
            <argument>
               <name>CurrentMute</name>
               <direction>out</direction>
               <relatedStateVariable>Mute</relatedStateVariable>
            </argument>
         </argumentList>
      </action>
      <action>
         <name>SetMute</name>
         <argumentList>
            <argument>
               <name>InstanceID</name>
               <direction>in</direction>
               <relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>
            </argument>
            <argument>
               <name>Channel</name>
               <direction>in</direction>
               <relatedStateVariable>A_ARG_TYPE_Channel</relatedStateVariable>
            </argument>
            <argument>
               <name>DesiredMute</name>
               <direction>in</direction>
               <relatedStateVariable>Mute</relatedStateVariable>
            </argument>
         </argumentList>
      </action>
      <action>
         <name>GetVolume</name>
         <argumentList>
            <argument>
               <name>InstanceID</name>
               <direction>in</direction>
               <relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>
            </argument>
            <argument>
               <name>Channel</name>
               <direction>in</direction>
               <relatedStateVariable>A_ARG_TYPE_Channel</relatedStateVariable>
            </argument>
            <argument>
               <name>CurrentVolume</name>
               <direction>out</direction>
               <relatedStateVariable>Volume</relatedStateVariable>
            </argument>
         </argumentList>
      </action>
      <action>
         <name>SetVolume</name>
         <argumentList>
            <argument>
               <name>InstanceID</name>
               <direction>in</direction>
               <relatedStateVariable>A_ARG_TYPE_InstanceID</relatedStateVariable>
            </argument>
            <argument>
               <name>Channel</name>
               <direction>in</direction>
               <relatedStateVariable>A_ARG_TYPE_Channel</relatedStateVariable>
            </argument>
            <argument>




Title: foo_upnp
Post by: Pastim on 2011-03-16 21:00:12
I'm new to this, so forgive me if I'm a bit ignorant.

I've had foobar (1.1) working fine for some time, and installed the latest UPnP plugin yesterday.  I have got the browser working, connecting via Whitebear to my Squeezebox Server, and the controller controls my Logitech Touch with no problem.  So far so very good indeed.

What I want to do next is get my Humax PVR (HDR Fox T2) to use foobar as a media server.  The Humax seems a little difficult (I've had difficulty with several different servers), and only plays mp3s, but I got it working with Tversity.  With foobar and this plugin I can see all the files (mp3s and flacs), and see playlists, but when I attempt to play them nothing happens.  It then usually skips to the next track after 10-20 seconds, still playing nothing.  It can see the track title, time, album art, and so on, so there is some communication happening.  I have also tried with tracks accessed directly via foobar from its own library.

Any ideas?

I have looked at the streaming preferences and am struggling to understand the different sections 'Rendering capabilities', 'transcoding to MP3' (does this require a separate LAME exe, and if so where do I put it?), 'decoding to PCM' and 'playback stream capture'.  I don't quite grasp what each of these sections is for.  Is there a description somewhere?  If not, could someone write a few words explaining what each section is about?


I know I'm being dumb, but I'd really like to understand the meaning of the streaming preferences.  For instance, I understand transcoding to MP3 (at least in principle) but what is the section on decoding to PCM for, or playback stream capture?  When are they used as opposed to converting to MP3? Is there somewhere I can go to find out?

And bubbleguuum - did my last log arrive?

Title: foo_upnp
Post by: bubbleguuum on 2011-03-16 21:29:20
How can be the sent playlists sorted? Because in upnp client the playlists aren't look like the host foobar playlists (on host it's sorted by track number per album, but in client it's sorted only by track number, so i se the first tracks of all albumbs, then the second tracks...), and the "sort items sent to playlist by" checkbox does nothing.


You don't specify what the server is ?

Unfortunately, when I select an album from mediatomb in the UPnP browser, I am provided with a track list populated with Artist/album, Track no, Title / Track artist, Duration, and Date only.  So the tracks come across ordered as Disc 1 Track 1, Disc 2 Track 1, Disc 3 Track 1, ...  It appears that only when I manually select one of the tracks for playback does the disc number for that track get loaded.  After preloading them in this fashion I can re-sort the playlist by clicking the "Track no" column header and foobar2000 displays them in the correct order in the playlist (Disc 1 Track 1 -> X, Disc 2 Track 1 -> Y).  Therefore for these multi-CD albums I have to manually preload each individual track to get the disc number field populated and play them back straight through.  This is quite burdensome as I have some classical symphony sets of 10 CDs or more, which I am forced to manually preload 100s of tracks or hunt and peck to listen to them in the proper order.  Is it possible to make the UPnP browser automatically populate the disc number in the playlist when albums are selected?


There's no concept of discnumber in UPnP metadata land (except when foo_upnp is the server but this is a custom field), so it is likely that MediaTomb sorts the tracks by tracknumber like you describe ( Disc 1 Track 1, Disc 2 Track 1, Disc 3 Track 1). The UPnP Browser cannot change that as discnumber is not available, and it just displays the track in the order MediaTomb sort them. The discnumber you see when playing a track comes from foobar2000 http reader that extracted the tag.
The only solution I can see to have  MediaTomb use the correct order, is to prepend the discnumber to the tracknumber in your files. Set track numbers to 101, 102, ... 201, 202, ...
You can also check if it is possible to configure MediaTomb with a custom sort order for albums, that would sort first by discnumber and then by tracknumber, but I doubt this is possible.


I would like to use the upnp controller to push songs to SMCWAA-G renderers. I have a few of these and use them all the time with your upnp server and they work perfectly. These renderers do not appear on the Upnp Controller dropdown list.


paste the full content of this URL so I can see why it doesn't parse:
http://192.168.1.48/RenderingControl/desc.xml (http://192.168.1.48/RenderingControl/desc.xml)

I'm new to this, so forgive me if I'm a bit ignorant.

I know I'm being dumb, but I'd really like to understand the meaning of the streaming preferences.  For instance, I understand transcoding to MP3 (at least in principle) but what is the section on decoding to PCM for, or playback stream capture?  When are they used as opposed to converting to MP3? Is there somewhere I can go to find out?

And bubbleguuum - did my last log arrive?


The problem with your renderer is that it issues unusual (but valid)  HTTP requests that are not supported by foo_upnp, when transcoding to mp3 (namely http range requests and HEAD requests). I'm not surprised you had problems with other servers.
You really want to find out if it supports anything other than mp3 (for example WAV or LPCM). To check what it supports, look at the "Renderer properties" popup that you can display in the Controller, in the menu (...) => "Renderer properties...".  If it supports only mp3 you're out of luck. You should be able to  stream unmodified mp3 files but not transcode other formats to mp3 (for the reason described above). It it supports either WAV or LPCM then you'll be able to configure the streaming profile to stream in one of these formats.

"decoding to PCM" is used to stream audio as PCM (WAV or LPCM) when a renderer do not support a particular codec (say FLAC) and you don't want to transcode to mp3 not to degrade audio quality. Most renderers support either WAV or LPCM or both.  Transcoding to mp3 is mostly useful to stream via the Internet.
Title: foo_upnp
Post by: Wacky on 2011-03-17 05:06:37
I would like to use the upnp controller to push songs to SMCWAA-G renderers. I have a few of these and use them all the time with your upnp server and they work perfectly. These renderers do not appear on the Upnp Controller dropdown list.


paste the full content of this URL so I can see why it doesn't parse:
http://192.168.1.48/RenderingControl/desc.xml (http://192.168.1.48/RenderingControl/desc.xml)

OK.  I have done this on two separate units, reset both, changed from static IP to DHCP and back, powered up and down.


At first, each time there is a syntax error on line 113.

110:                <relatedStateVariable>A_ARG_TYPE_Channel</relatedStateVariable>
111:             </argument>
112:             <argument>
113:                /}\02\14??oqsiredVolume</name>
114:                <direction>in</direction>
115:                <relatedStateVariable>Volume</relatedStateVariable>
116:             </argument>


And if I refresh the page line 113 changes from the first character up to the "siredVolume</name>.  There are sometimes different numbers of characters.

HOWEVER, one of the units started "working" with respect to that xml, listed below.  It seems random, if I keep refreshing  I will get syntax error or success.

Once the xml worked, I did View > UPnP controller, but it did not appear on the dropdown list.  Sometimes this causes the renderer to reboot.


<scpd xmlns="urn:schemas-upnp-org:service-1-0">
<specVersion>
<major>
1
</major>
<minor>
0
</minor>
</specVersion>
<actionList>
<action>
<name>
ListPresets
</name>
<argumentList>
<argument>
<name>
InstanceID
</name>
<direction>
in
</direction>
<relatedStateVariable>
A_ARG_TYPE_InstanceID
</relatedStateVariable>
</argument>
<argument>
<name>
CurrentPresetNameList
</name>
<direction>
out
</direction>
<relatedStateVariable>
PresetNameList
</relatedStateVariable>
</argument>
</argumentList>
</action>
<action>
<name>
SelectPreset
</name>
<argumentList>
<argument>
<name>
InstanceID
</name>
<direction>
in
</direction>
<relatedStateVariable>
A_ARG_TYPE_InstanceID
</relatedStateVariable>
</argument>
<argument>
<name>
PresetName
</name>
<direction>
in
</direction>
<relatedStateVariable>
A_ARG_TYPE_PresetName
</relatedStateVariable>
</argument>
</argumentList>
</action>
<action>
<name>
GetMute
</name>
<argumentList>
<argument>
<name>
InstanceID
</name>
<direction>
in
</direction>
<relatedStateVariable>
A_ARG_TYPE_InstanceID
</relatedStateVariable>
</argument>
<argument>
<name>
Channel
</name>
<direction>
in
</direction>
<relatedStateVariable>
A_ARG_TYPE_Channel
</relatedStateVariable>
</argument>
<argument>
<name>
CurrentMute
</name>
<direction>
out
</direction>
<relatedStateVariable>
Mute
</relatedStateVariable>
</argument>
</argumentList>
</action>
<action>
<name>
SetMute
</name>
<argumentList>
<argument>
<name>
InstanceID
</name>
<direction>
in
</direction>
<relatedStateVariable>
A_ARG_TYPE_InstanceID
</relatedStateVariable>
</argument>
<argument>
<name>
Channel
</name>
<direction>
in
</direction>
<relatedStateVariable>
A_ARG_TYPE_Channel
</relatedStateVariable>
</argument>
<argument>
<name>
DesiredMute
</name>
<direction>
in
</direction>
<relatedStateVariable>
Mute
</relatedStateVariable>
</argument>
</argumentList>
</action>
<action>
<name>
GetVolume
</name>
<argumentList>
<argument>
<name>
InstanceID
</name>
<direction>
in
</direction>
<relatedStateVariable>
A_ARG_TYPE_InstanceID
</relatedStateVariable>
</argument>
<argument>
<name>
Channel
</name>
<direction>
in
</direction>
<relatedStateVariable>
A_ARG_TYPE_Channel
</relatedStateVariable>
</argument>
<argument>
<name>
CurrentVolume
</name>
<direction>
out
</direction>
<relatedStateVariable>
Volume
</relatedStateVariable>
</argument>
</argumentList>
</action>
<action>
<name>
SetVolume
</name>
<argumentList>
<argument>
<name>
InstanceID
</name>
<direction>
in
</direction>
<relatedStateVariable>
A_ARG_TYPE_InstanceID
</relatedStateVariable>
</argument>
<argument>
<name>
Channel
</name>
<direction>
in
</direction>
<relatedStateVariable>
A_ARG_TYPE_Channel
</relatedStateVariable>
</argument>
<argument>
<name>
DesiredVolume
</name>
<direction>
in
</direction>
<relatedStateVariable>
Volume
</relatedStateVariable>
</argument>
</argumentList>
</action>
</actionList>
<serviceStateTable>
<stateVariable sendEvents="no">
<name>
PresetNameList
</name>
<dataType>
string
</dataType>
</stateVariable>
<stateVariable sendEvents="yes">
<name>
LastChange
</name>
<dataType>
string
</dataType>
</stateVariable>
<stateVariable sendEvents="no">
<name>
Mute
</name>
<dataType>
boolean
</dataType>
</stateVariable>
<stateVariable sendEvents="no">
<name>
Volume
</name>
<dataType>
ui2
</dataType>
<allowedValueRange>
<minimum>
0
</minimum>
<maximum>
100
</maximum>
<step>
1
</step>
</allowedValueRange>
</stateVariable>
<stateVariable sendEvents="no">
<name>
A_ARG_TYPE_Channel
</name>
<dataType>
string
</dataType>
<allowedValueList>
<allowedValue>
Master
</allowedValue>
</allowedValueList>
</stateVariable>
<stateVariable sendEvents="no">
<name>
A_ARG_TYPE_InstanceID
</name>
<dataType>
ui4
</dataType>
</stateVariable>
<stateVariable sendEvents="no">
<name>
A_ARG_TYPE_PresetName
</name>
<dataType>
string
</dataType>
<allowedValueList>
<allowedValue>
FactoryDefaults
</allowedValue>
</allowedValueList>
</stateVariable>
</serviceStateTable>
</scpd>





Title: foo_upnp
Post by: Pastim on 2011-03-17 08:58:16
The problem with your renderer is that it issues unusual (but valid)  HTTP requests that are not supported by foo_upnp, when transcoding to mp3 (namely http range requests and HEAD requests). I'm not surprised you had problems with other servers.
You really want to find out if it supports anything other than mp3 (for example WAV or LPCM). To check what it supports, look at the "Renderer properties" popup that you can display in the Controller, in the menu (...) => "Renderer properties...".  If it supports only mp3 you're out of luck. You should be able to  stream unmodified mp3 files but not transcode other formats to mp3 (for the reason described above). It it supports either WAV or LPCM then you'll be able to configure the streaming profile to stream in one of these formats.

"decoding to PCM" is used to stream audio as PCM (WAV or LPCM) when a renderer do not support a particular codec (say FLAC) and you don't want to transcode to mp3 not to degrade audio quality. Most renderers support either WAV or LPCM or both.  Transcoding to mp3 is mostly useful to stream via the Internet.


Thanks very much - I think I'm a bit closer to some understanding of it now.  I'll give it a go.
Title: foo_upnp
Post by: Pastim on 2011-03-17 09:41:14
Thanks very much - I think I'm a bit closer to some understanding of it now.  I'll give it a go.


With my Humax PVR I can't use the 'controller'.  The Humax does not appear as a device I can control from foobar (foobar is acting as a media server).  I can use the controller with my Logitech Touch (via Whitebear), and that works fine (and I can see the properties that supports).

So I can't see the Humax 'renderer' properties via the controller, or am I missing something?

As far as I can tell by testing, unless I transcode to MP3 'always' I can't even see the files to play, so it seems the Humax is limited to that

I don't see what the 'decoding to PCM' section is for.  Does it only do something if not always transcoding to MP3?


Title: foo_upnp
Post by: ojack on 2011-03-19 20:44:48
[I posted this before to  3rd Party Plugins - (fb2k) dirctly. Probably this topic is the right place...]

Hello bubbleguuum.

First of all: this is the best UPnP-Server I have used so far. Great software.
But I have experienced two Problems:

1. Pause the stream from the T+A music player has no effect. I run foobar2000 v.1.1.5 and foo_upnp 0.99.32. Here's a snippet from the log file (start stream, attempt pause, stop stream):

22.906: PLT_HttpHelper::ToLog(410)/6068: INFO:
GET /content/78530bfb586eea9d6f98d030fc9fdc42.flac HTTP/1.1
Host: 192.168.2.103:56923
Icy-MetaData: 1
Connection: close
transferMode.dlna.org: Streaming
User-Agent: WinampMPEG/2.8
Accept: */*

22.906: upnp_server_conf::get_profile(726)/6068: INFO: using default profile (User-Agent:WinampMPEG/2.8)
opened 'file://J:\au\The Beatles - CD\A Hard Day's Night (1987)\01-The Beatles-A Hard Day's Night (1987)-A Hard Day's Night.flac' for streaming
33.531: PLT_HttpServerSocketTask::Write(348)/6068: WARNING: NPT_CHECK failed, result=-20401 (NPT_ERROR_CONNECTION_ABORTED) [(NPT_StreamToStreamCopy( *body_stream.AsPointer(), *output_stream.AsPointer(), 0, entity->GetContentLength(), 0, abort))]
42.172: PLT_UPnP::Stop(312)/4824: INFO: Stopping UPnP...
43.031: PLT_HttpServerSocketTask::Read(216)/2148: WARNING: NPT_CHECK failed, result=-1 (FAILURE) [(res)]

I also tried pausing with the Twonky Media Server. It worked. So I guess, this is not a problem of the T+A music player.

2. I can use the default streaming profile only. I added a profile where "Use profile when 'User-Agent' contain 'TA music player'" but still the default streaming profile is used. I unchecked "Always use the Default streaming profile for all devices" in the Basic Settings. 'TA music player' is the device name as shown in the UPnP-Controller view of foobar.

Is there any solution or workaround for these problems?
Title: foo_upnp
Post by: bubbleguuum on 2011-03-20 08:36:09
So I can't see the Humax 'renderer' properties via the controller, or am I missing something?

I don't see what the 'decoding to PCM' section is for.  Does it only do something if not always transcoding to MP3?


If you can't see the Humax then it is not a Renderer remotely controllable.
As for understanding how the Streaming profile page, rules are applied from top to bottom:

Should the file be transcoded to mp3 ?
no => should the file be decoded to PCM ?
no => the file is streamed unmodified.

So to try out if your renderer accept PCM, configure the profile to stream everything as PCM:
- disable mp3 transcoding: set "transcode" to "Never", leave "Except extensions" to empty
- enable pcm decoding: set "Decode" to "Always", leave "Except" to empty.

First try WAV then if it doesn't work try LPCM.

After initiating play from your Humax, check in the foobar2000 console that the plugin serves the correct format, for example:

foo_upnp: opened 'file://C:\Users\bob\Downloads\Dan Curtin - Lifeblood\Dan Curtin - Lifeblood\02. Dan Curtin - Invisible Man In Drag.flac' for streaming, profile: Linn DS, WAV / 44100 Hz / 16 bits / 2 channels, replaygain: off, DSP chain: off



[I posted this before to  3rd Party Plugins - (fb2k) dirctly. Probably this topic is the right place...]
1. Pause the stream from the T+A music player has no effect. I run foobar2000 v.1.1.5 and foo_upnp 0.99.32. Here's a snippet from the log file (start stream, attempt pause, stop stream):


Do you mean the T+A continue playing the stream ? Or that it stops playuing audio but when you unpause it doesn't work as you expect ?

[I posted this before to  3rd Party Plugins - (fb2k) dirctly. Probably this topic is the right place...]
2. I can use the default streaming profile only. I added a profile where "Use profile when 'User-Agent' contain 'TA music player'" but still the default streaming profile is used. I unchecked "Always use the Default streaming profile for all devices" in the Basic Settings. 'TA music player' is the device name as shown in the UPnP-Controller view of foobar.


22.906: upnp_server_conf::get_profile(726)/6068: INFO: using default profile (User-Agent:WinampMPEG/2.8)

Use WinampMPEG  to identify yout T+A  (see User-Agent above)
Title: foo_upnp
Post by: Pastim on 2011-03-20 09:52:04
[If you can't see the Humax then it is not a Renderer remotely controllable.
As for understanding how the Streaming profile page, rules are applied from top to bottom:

Should the file be transcoded to mp3 ?
no => should the file be decoded to PCM ?
no => the file is streamed unmodified.

So to try out if your renderer accept PCM, configure the profile to stream everything as PCM:
- disable mp3 transcoding: set "transcode" to "Never", leave "Except extensions" to empty
- enable pcm decoding: set "Decode" to "Always", leave "Except" to empty.

First try WAV then if it doesn't work try LPCM.

After initiating play from your Humax, check in the foobar2000 console that the plugin serves the correct format, for example:

foo_upnp: opened 'file://C:\Users\bob\Downloads\Dan Curtin - Lifeblood\Dan Curtin - Lifeblood\02. Dan Curtin - Invisible Man In Drag.flac' for streaming, profile: Linn DS, WAV / 44100 Hz / 16 bits / 2 channels, replaygain: off, DSP chain: off


Thanks - I suppose I should have guessed it was a 'top down' list.

I tried this.  Unless 'transcode to MP3' is on the Humax cannot even see the files (the folders show as empty).  I've had a similar problem with other media servers and the Humax.  It seems to be very picky.

Thanks for your help.  I'll find another way.....
Title: foo_upnp
Post by: bubbleguuum on 2011-03-20 13:15:56
paste the full content of this URL so I can see why it doesn't parse:
http://192.168.1.48/RenderingControl/desc.xml (http://192.168.1.48/RenderingControl/desc.xml)



Looks like this renderer is semi-broken if the XML is randomly corrupted

However, when it is not corrupted, could you capture the XML again but using wget (http://users.ugent.be/~bpuype/wget/) to preserve the formatting ?
Send me the resulting XML file to bubbleguuum@free.fr
Title: foo_upnp
Post by: ojack on 2011-03-20 17:08:18
[I posted this before to  3rd Party Plugins - (fb2k) dirctly. Probably this topic is the right place...]
1. Pause the stream from the T+A music player has no effect. I run foobar2000 v.1.1.5 and foo_upnp 0.99.32. Here's a snippet from the log file (start stream, attempt pause, stop stream):


Do you mean the T+A continue playing the stream ? Or that it stops playuing audio but when you unpause it doesn't work as you expect ?

It  continues playing. No matter how I set "Allow clients to pause streaming indefinitely" in the "Server->Content" setting. This holds for all content streamed (flac, wav, mp3).
[I posted this before to  3rd Party Plugins - (fb2k) dirctly. Probably this topic is the right place...]
2. I can use the default streaming profile only. I added a profile where "Use profile when 'User-Agent' contain 'TA music player'" but still the default streaming profile is used. I unchecked "Always use the Default streaming profile for all devices" in the Basic Settings. 'TA music player' is the device name as shown in the UPnP-Controller view of foobar.


22.906: upnp_server_conf::get_profile(726)/6068: INFO: using default profile (User-Agent:WinampMPEG/2.8)

Use WinampMPEG  to identify yout T+A  (see User-Agent above)

I tried this. It still uses the default streaming profile.

Title: foo_upnp
Post by: Wadsbrau on 2011-03-21 20:00:28
I just got a Marantz AV7005 pre/pro.  This is the first streaming capable pre/pro for me.  although I've been streaming using uPnP for a few years through a PC (and other fail streaming devices).  I cannot seem to be able to pause the flac stream.  I was wondering if there was a way I can double check to be sure which profile is being used for that device?

Thank you
Title: foo_upnp
Post by: sanyigz on 2011-03-22 00:30:19
Hi!

I haven't much knowledge about these streaming things, but as i see the foobar upnp server sends lossless formats in PCM, even if i put the PCM conversion to never. Thinking about it, i see some container formats don't support streaming (for example flac). But the flac put in ogg container does, and it's works actually in foobar.
So are the containers should be streamable, or the upnp server should know how to stream them, or both conditions should be true?
Title: foo_upnp
Post by: Henry66 on 2011-03-31 04:04:47
In the UPnP Server, what settings do I use for the streaming profile for my Oppo BDP-93 player?
Title: foo_upnp
Post by: yam655 on 2011-04-01 17:46:41
In the case of UPnP Browsing, is there any chance I could get one of:

1. The ability to cache media to the local disk instead of purely streaming so you can pause indefinitely.

I stream podcasts from the machine I normally use to remote machines I use irregularly. The primary machine has the current podcasts, but when the files are big and I need to pause the stream for too long when I go back and resume the stream it does resume cleanly. It'll play for a few seconds and then stop and skip to the next file. I need to stop the stream, restart the stream, and then jump to the previous location in the stream.

2. The ability to prefer local media instead of the streamed media automatically when the tags are the same.

This is simply a bandwidth-saving maneuver. It also gets around the lack of real caching. If the server and browser are owned by the same person, it is likely that *some* of the media will also be located locally as well.

3. The ability to save a UPnP-hosted file locally and remember the association to the local file.

This would allow for both temporarily caching larger files, (if there is a way to delete the file it would be a manual solution to the same problem taken care of by #1), as well as straight importing from a remote UPnP server.

4. Keep a Title-path for mapping uPNP tags to a local path. When there is something already in that path, prefer it. Allow downloading/saving to that path. Do not bother with any automatic caching and force people to manually cache.

This would allow two Foobar2000 installations with a server getting more podcasts than the client to favor the client's (already downloaded) files but to stream the rest of the files. This would allow folks to have laptops with their absolute favorite music to connect to their foobar server to get a wider selection while reducing bandwidth and latency for the files most frequently listened to.


My preferred would be #4, but any one of these would work for my use-case.

If there are concerns about the RIAA, #2 works for my use-case while totally avoiding saving the content from a UPnP server.
Title: foo_upnp
Post by: music_addict on 2011-04-03 20:52:03
Hi, I am trying to use foo_upnp through an SSH tunnel. I enabled SSH on my router and I verified my settings by successfully connecting to a VNC server. When using the UPNP Browser through the tunnel, I am able to view my media collection without any problems on my remote machine. However, once I select a track and press play I get the following error in Foobar:

Unable to open item for playback (Could not connect to host):
"http://192.168.0.143:443/content/4d2790e195a4934f35d4265a86faf5a6.flac"

Has anyone been able to use foo_upnp through an SSH tunnel? Thanks!
Title: foo_upnp
Post by: bubbleguuum on 2011-04-05 10:30:49
Hi, I am trying to use foo_upnp through an SSH tunnel. I enabled SSH on my router and I verified my settings by successfully connecting to a VNC server. When using the UPNP Browser through the tunnel, I am able to view my media collection without any problems on my remote machine. However, once I select a track and press play I get the following error in Foobar:

Unable to open item for playback (Could not connect to host):
"http://192.168.0.143:443/content/4d2790e195a4934f35d4265a86faf5a6.flac"

Has anyone been able to use foo_upnp through an SSH tunnel? Thanks!


Is your SSH tunnel operating over the Internet ?
If the case, foo_upnp cannot detect properly that the connection is from the Internet and
instead of using your router public IP (for streaming URLs) uses the LAN IP of the PC running the server, which of course cannot be seen
from your foobar2000 browsing client.
For this scenario to work, I'd have to override the IP of the streaming URL in the client, when accessing an Internet foo_upnp server
Title: foo_upnp
Post by: music_addict on 2011-04-05 16:58:35
Hi, I am trying to use foo_upnp through an SSH tunnel. I enabled SSH on my router and I verified my settings by successfully connecting to a VNC server. When using the UPNP Browser through the tunnel, I am able to view my media collection without any problems on my remote machine. However, once I select a track and press play I get the following error in Foobar:

Unable to open item for playback (Could not connect to host):
"http://192.168.0.143:443/content/4d2790e195a4934f35d4265a86faf5a6.flac"

Has anyone been able to use foo_upnp through an SSH tunnel? Thanks!


Is your SSH tunnel operating over the Internet ?
If the case, foo_upnp cannot detect properly that the connection is from the Internet and
instead of using your router public IP (for streaming URLs) uses the LAN IP of the PC running the server, which of course cannot be seen
from your foobar2000 browsing client.
For this scenario to work, I'd have to override the IP of the streaming URL in the client, when accessing an Internet foo_upnp server


You have correctly surmised my setup. My tunnel is operating over the internet and I set it up according to the instructions at http://martybugs.net/smoothwall/puttyvnc.cgi (http://martybugs.net/smoothwall/puttyvnc.cgi). I then configured my foobar client to connect to localhost through the tunnel.

It would be great if you added support for this use case. I love the idea of streaming my music over the internet but I'd prefer to do it through an SSH tunnel with key authentication.
Title: foo_upnp
Post by: ricks on 2011-04-08 17:15:57
Hello, this is bit had to explain so I hope I am doing it a way that is understandable.

Using 0.99.32;

Issue -

HDCD encoded FLAC's [ripped from HDCD CD's]:  Cut off/stop at the control point at approx. 70-85% into a track, then the next track begins playing.
This also happens with 0.99.31.  I do not have version 0.99.29 to test but issue does not occur with 0.99.26 [it works fine]. Non HDCD encoded flacs are fine.

Thanks
Title: foo_upnp
Post by: ricks on 2011-04-08 21:51:09
Hello, this is bit hard to explain so I hope I am doing it a way that is understandable.

Using 0.99.32;

Issue -

HDCD encoded FLAC's [ripped from HDCD CD's]:  Cut off/stop at the control point at approx. 70-85% into a track, then the next track begins playing.
This also happens with 0.99.31.  I do not have version 0.99.29 to test but issue does not occur with 0.99.26 [it works fine]. Non HDCD encoded flacs are fine.

Thanks



bubbleguuum,

Tried 0.99.28 and that one is also good. Which means issue was first introduced after that version.
Title: foo_upnp
Post by: bubbleguuum on 2011-04-08 21:59:58
Tried 0.99.28 and that one is also good. Which means issue was first introduced after that version.


It is probably related to the internal changes on how HDCD is handled in foobar2000, around that time.
I'll have a look.
Title: foo_upnp
Post by: Gothic-Kratos on 2011-04-18 00:47:20
I'm having a small issue with this plugin. Please excuse any non-technicality in my posting, I'm not really a huge "audiophile", as they call it.

I'm using this plugin to stream music to my Xbox 360. Everything work fine with the exception of a few files. I apologize if this has been talked about before, but this is quite a large thread to shift through all the pages of lol.

I've only done a small assessment of within the artist I was attempting to play, but my finding are as followed;

-Halo: Reach edition Xbox 360 with the most recent firmware/updates [not that Ithink any of that would matter, but for consistency's sake]
-Windows XP SP3
-foobar2000 v1.1
Code: [Select]
Core (2010-08-21 11:42:56 UTC)
    foobar2000 core 1.1
foo_amipwrapper.dll (2010-01-29 21:32:26 UTC)
    AMIP Wrapper 1.01
foo_cdda.dll (2010-08-21 11:41:04 UTC)
    CD Audio Decoder 3.0
foo_httpcontrol.dll (2011-03-07 20:41:24 UTC)
    HTTP Control 0.97.7
foo_input_std.dll (2010-08-21 11:40:42 UTC)
    Standard Input Array 1.0
foo_ui_std.dll (2010-08-21 11:41:10 UTC)
    Default User Interface 0.9.5
foo_upnp.dll (2011-04-17 20:09:35 UTC)
    UPnP/DLNA Renderer, Server, Control Point 0.99.32
foo_winamp_spam.dll (2009-10-29 18:34:32 UTC)
    Not A Winamp API Emulator 0.90aFix


Quote
User-Agent: Xenon
Connection: Keep-alive
Host: 192.168.1.101
Content-Length: 3
foo_upnp: opened 'file://E:\Dustin's Stuff\Music\Hollywood Undead Discography (3 Albums)\Hollywood Undead (self titled EP)\04 Scene For Dummies.mp3' for streaming
foo_upnp: 5113.672: PLT_HttpServerSocketTask::Write(348)/2160: WARNING: NPT_CHECK failed, result=-20400 (NPT_ERROR_CONNECTION_RESET) [(NPT_StreamToStreamCopy( *body_stream.AsPointer(), *output_stream.AsPointer(), 0, entity->GetContentLength(), 0, abort))]
foo_upnp: 5113.688: FbMediaServer::ProcessHttpRequest(317)/2428: INFO: received LAN request: http://192.168.1.101/content/9eb9afe81f391...4100?format=PCM (http://192.168.1.101/content/9eb9afe81f391d1a42e06e8ccd416356.l16%3Fprofile_id=5&convert=lpcm&samplerate=44100?format=PCM) (User-Agent: Xenon)
foo_upnp: 5113.688: PLT_HttpHelper::ToLog(410)/2428: INFO:
GET /content/9eb9afe81f391d1a42e06e8ccd416356.l16%3Fprofile_id=5&convert=lpcm&samplerate=44100?format=PCM HTTP/1.1
User-Agent: Xenon
Connection: Keep-alive
Host: 192.168.1.101
Content-Length: 3
foo_upnp: opened 'file://E:\Dustin's Stuff\Music\Hollywood Undead Discography (3 Albums)\Hollywood Undead (self titled EP)\02 Dead In Ditches.mp3' for streaming, profile: Xbox 360, LPCM / 44100 Hz / 16 bits / 2 channels, replaygain: off, DSP chain: off
foo_upnp: 5113.703: FbMediaWavInputStream::process_chunk(293)/2428: SEVERE: cannot create resampler 22050=>44100
foo_upnp: 5113.703: PLT_HttpServerSocketTask::Write(348)/2428: WARNING: NPT_CHECK failed, result=-1 (FAILURE) [(NPT_StreamToStreamCopy( *body_stream.AsPointer(), *output_stream.AsPointer(), 0, entity->GetContentLength(), 0, abort))]
foo_upnp: 5113.735: FbMediaServer::ProcessHttpRequest(317)/3676: INFO: received LAN request: http://192.168.1.101/content/ca00b67234204...3d90c7fc167.mp3 (http://192.168.1.101/content/ca00b672342046332df553d90c7fc167.mp3) (User-Agent: Xenon)
foo_upnp: 5113.735: PLT_HttpHelper::ToLog(410)/3676: INFO:
GET /content/ca00b672342046332df553d90c7fc167.mp3 HTTP/1.1
User-Agent: Xenon
Connection: Keep-alive
Host: 192.168.1.101
Content-Length: 3
foo_upnp: opened 'file://E:\Dustin's Stuff\Music\Hollywood Undead Discography (3 Albums)\Desperate Measures\12 Everywhere I Go (live).mp3' for streaming
foo_upnp: 5116.391: PLT_HttpServerSocketTask::Write(348)/3676: WARNING: NPT_CHECK failed, result=-20400 (NPT_ERROR_CONNECTION_RESET) [(NPT_StreamToStreamCopy( *body_stream.AsPointer(), *output_stream.AsPointer(), 0, entity->GetContentLength(), 0, abort))]
foo_upnp: 5116.406: FbMediaServer::ProcessHttpRequest(317)/2856: INFO: received LAN request: http://192.168.1.101/content/9eb9afe81f391...4100?format=PCM (http://192.168.1.101/content/9eb9afe81f391d1a42e06e8ccd416356.l16%3Fprofile_id=5&convert=lpcm&samplerate=44100?format=PCM) (User-Agent: Xenon)
foo_upnp: 5116.406: PLT_HttpHelper::ToLog(410)/2856: INFO:
GET /content/9eb9afe81f391d1a42e06e8ccd416356.l16%3Fprofile_id=5&convert=lpcm&samplerate=44100?format=PCM HTTP/1.1
User-Agent: Xenon
Connection: Keep-alive
Host: 192.168.1.101
Content-Length: 3
foo_upnp: opened 'file://E:\Dustin's Stuff\Music\Hollywood Undead Discography (3 Albums)\Hollywood Undead (self titled EP)\02 Dead In Ditches.mp3' for streaming, profile: Xbox 360, LPCM / 44100 Hz / 16 bits / 2 channels, replaygain: off, DSP chain: off
foo_upnp: 5116.422: FbMediaWavInputStream::process_chunk(293)/2856: SEVERE: cannot create resampler 22050=>44100
foo_upnp: 5116.422: PLT_HttpServerSocketTask::Write(348)/2856: WARNING: NPT_CHECK failed, result=-1 (FAILURE) [(NPT_StreamToStreamCopy( *body_stream.AsPointer(), *output_stream.AsPointer(), 0, entity->GetContentLength(), 0, abort))]
foo_upnp: 5116.438: FbMediaServer::ProcessHttpRequest(317)/3192: INFO: received LAN request: http://192.168.1.101/content/e37ce9b6aba37...eb460dfc1e1.mp3 (http://192.168.1.101/content/e37ce9b6aba37355365f9eb460dfc1e1.mp3) (User-Agent: Xenon)
foo_upnp: 5116.438: PLT_HttpHelper::ToLog(410)/3192: INFO:
GET /content/e37ce9b6aba37355365f9eb460dfc1e1.mp3 HTTP/1.1
User-Agent: Xenon
Connection: Keep-alive
Host: 192.168.1.101
Content-Length: 3
foo_upnp: opened 'file://E:\Dustin's Stuff\Music\Hollywood Undead Discography (3 Albums)\Desperate Measures\01 Dove And Grenade.mp3' for streaming



The error appears when I try to play a few songs - two of which "Dead in Ditches" and "Circles" are 96kbps/22kHz/2 channels. Wheras the files "Everywhere I GO (Live)" and "Dove and Grenade" are 320kbps/44kHz/2 channels.

Thank you for your time and effort in both this plugin and your future assistance with my issue.

[edit]

I forgot to mention, I had seen some mention of a "LAME" plugin, that I don't believe I have. Is that mandatory for this plugin? Or at the very least, to play the files I am trying to in the way I am attempting?
Title: foo_upnp
Post by: bubbleguuum on 2011-04-18 12:55:38
The error appears when I try to play a few songs - two of which "Dead in Ditches" and "Circles" are 96kbps/22kHz/2 channels. Wheras the files "Everywhere I GO (Live)" and "Dove and Grenade" are 320kbps/44kHz/2 channels.


There's an error creating a resampler to resample 22050Hz to 44100Hz: "cannot create resampler 22050=>44100".
This shouldn't happen and I cannot reproduce it.
You may want to install the SoX resampler plugin to see if it fixes the problem: http://www.hydrogenaudio.org/forums/index....mp;#entry601510 (http://www.hydrogenaudio.org/forums/index.php?showtopic=67373&st=0&p=601510&#entry601510)


Title: foo_upnp
Post by: bubbleguuum on 2011-04-18 13:18:22
The error appears when I try to play a few songs - two of which "Dead in Ditches" and "Circles" are 96kbps/22kHz/2 channels. Wheras the files "Everywhere I GO (Live)" and "Dove and Grenade" are 320kbps/44kHz/2 channels.




I noticed that in your component list you do not have foo_dsp_std which is part of standard install. Hence the missing dsp resampler.
Title: foo_upnp
Post by: Gothic-Kratos on 2011-04-19 01:16:16
That would explain it. When I installed foobar, I installed it without any additional components. Fresh install with the sampler intact makes it work flawlessly.

Great work. Don't think I'll even change media players again and now I can uninstall Orb. Cheers bubbleguuum.
Title: foo_upnp
Post by: nevets1219 on 2011-04-20 20:45:54
I tried to retrieve my playlist which contains 34347 songs but only 5000 were retrieved. Is there some firewall settings I need to adjust?

Code: [Select]
[12:41:54] foo_upnp: 30.040: FbMediaServer::OnAction(254)/864: INFO: received action 'Browse', args = { ObjectID=0/0/0, BrowseFlag=BrowseDirectChildren, Filter=*, StartingIndex=4900, RequestedCount=50, SortCriteria= }
[12:41:54] foo_upnp: 30.040: PLT_MediaServer::OnBrowse(380)/864: INFO: Received BrowseDirectChildren from 1.2.3.4.5 for id = 0/0/0 with filter = *, start = 4900, count = 50
[12:41:54] foo_upnp: 30.041: upnp_server_conf::get_profile(726)/864: INFO: using default profile (User-Agent:Platinum/0.5.4.0, DLNADOC/1.50 / foobar2000)
[12:41:54] foo_upnp: 30.058: FbMediaServer::OnAction(271)/864: INFO: action 'Browse' response: args = { ObjectID=0/0/0, BrowseFlag=BrowseDirectChildren, Filter=*, StartingIndex=4900, RequestedCount=50, SortCriteria=, NumberReturned=50, TotalMatches=34347, UpdateID=0 }
[12:41:54] foo_upnp: 30.082: FbMediaServer::ProcessHttpRequest(317)/5340: INFO: received WAN request: http://1.2.3.4.5:56923/ContentDirectory/bade1451-dba8-955a-f882-451c97920316/control.xml (User-Agent: Platinum/0.5.4.0, DLNADOC/1.50 / foobar2000)
[12:41:54] foo_upnp: 30.082: FbMediaServer::OnAction(254)/5340: INFO: received action 'Browse', args = { ObjectID=0/0/0, BrowseFlag=BrowseDirectChildren, Filter=*, StartingIndex=4950, RequestedCount=50, SortCriteria= }
[12:41:54] foo_upnp: 30.082: PLT_MediaServer::OnBrowse(380)/5340: INFO: Received BrowseDirectChildren from 1.2.3.4.5 for id = 0/0/0 with filter = *, start = 4950, count = 50
[12:41:54] foo_upnp: 30.083: upnp_server_conf::get_profile(726)/5340: INFO: using default profile (User-Agent:Platinum/0.5.4.0, DLNADOC/1.50 / foobar2000)
[12:41:54] foo_upnp: 30.098: FbMediaServer::OnAction(271)/5340: INFO: action 'Browse' response: args = { ObjectID=0/0/0, BrowseFlag=BrowseDirectChildren, Filter=*, StartingIndex=4950, RequestedCount=50, SortCriteria=, NumberReturned=50, TotalMatches=34347, UpdateID=0 }
[12:41:55] foo_upnp: 31.118: PLT_HttpTcpConnector::Connect(86)/3404: FATAL: NPT_CHECK failed, result=-20402 (NPT_ERROR_CONNECTION_REFUSED) [(m_Socket->Connect(socket_address, connection_timeout))]


EDIT: Additional details:
Windows 7 Ultimate x64
UDP Timeout - 600s
TCP Timeout - 86400s
Windows firewall OFF
Not using foobar's Media Library feature - just playlists
Streaming profile left on default
Playlists contains many different filetypes (mostly MP3s)
LAME not installed.

2nd EDIT:
I tried on the playlist at work which has 5810 songs and it was able to eventually load. I should also mention that I'm only trying to connect to the PC that I'm currently on for testing and configuring but through my public IP.
Title: foo_upnp
Post by: bubbleguuum on 2011-04-20 23:15:55
I tried to retrieve my playlist which contains 34347 songs but only 5000 were retrieved. Is there some firewall settings I need to adjust?


No sure what the problem is, but I suspect the http server may run out of connections.
I don't think it is a good idea to retrieve such a large playlist. Over the internet it is going to take forever especially as content is sent
uncompressed. What is your use case for such a large playlist ?


Title: foo_upnp
Post by: nevets1219 on 2011-04-21 00:03:27
I have two playlist: everything and new. If there's something in the "new" playlist, I listen to that till I've heard everything at least once then I move them all into the "everything" playlist. If nothing is in the "new" playlist, I just listen to the "everything" playlist (on shuffle by albums). I don't maintain any other separate playlists nor use the Media Library within foobar2000. Anything I do or do not feel like listening, I manually skip/jump to but otherwise I just let foobar2000 do its thing.

I tried to access my playlist at home while at work and it wouldn't even begin to retrieve the larger playlist but on a smaller playlist it was able to retrieve it just fine. Retrieving the "home" playlist while at home at least got me a part of the playlist.

Is there anything else I can do to allow me to use a large playlist and still have playback control (next track, random, etc)?

If you are taking feature requests, I'd like something like an alternate mode where if the playback is:
- Default - retrieve one album a time sequentially
- Random - retrieve one random track at a time
- Shuffle (albums) - retrieve one album at a time according to foobar's internal list of tracks (http://www.foobar2000.org/FAQ#random_shuffle_playback_order)
- ...etc

Personally, I just want access to my "home" playlist and have playback control.

Also if it wasn't obvious, this component is already saving me the trouble of transferring content to work periodically. Thanks!

EDIT: Another alternative that I can think of is to build a compressed playlist that can be cached. Perhaps even capability for the remote destination to invoke a manual rebuild of the playlist. I'd imagine neither of my suggestions as being trivial to do though so it may be just wishful thinking on my part.
Title: foo_upnp
Post by: sanyigz on 2011-04-21 22:54:30
I've noticed that this plugin streams flac when it's in single file per track format. But in all tracks in single file+ cue then it streams it in wav. Why is that?
Title: foo_upnp
Post by: lvqcl on 2011-04-22 15:32:03
There is a "Search Topic" button just below the last post...

http://www.hydrogenaudio.org/forums/index....mp;#entry719335 (http://www.hydrogenaudio.org/forums/index.php?showtopic=69664&st=900&p=719335&hl=cue&#entry719335)
Title: foo_upnp
Post by: nevets1219 on 2011-04-22 22:40:27
I'm testing a temporary workaround which involves using foo_httpcontrol and "playback stream capture". I have playback control and I have access to the entire playlist. I just need to figure out how to run external commands with foo_run so that it doesn't open a browser so I can control playback with the keyboard. Then I need to figure out how to pass the currently playing track information (artist, title, album, etc) so those will be visible (again so I don't have to go to the browser).

I'm still reading through the threads but any advice for making the playback smoother? Some songs I get occasional pauses which I'm assuming is dependent on the encoding/bitrate/etc? All settings are on default (wav, samplerate=44100, bit depth=16).
Title: foo_upnp
Post by: tg2k3 on 2011-05-01 22:12:13
hey,

first of all, i love this component. thank you for the time and energy you've invested in this.

however, i'm experiencing a weird behaviour (of which i am not even sure that it is your component's fault). i've used some  alphabetical letters as keyboard shortcuts without any modifiers (ctrl/alt/shift). i've implemented the upnp_browser as a panel in the DUI. when i type something in the searchbox, the keys invoke the behaviour specified in the keyboard shortcuts list in the foobar preferences instead of inserting the respective letter in the search box. when i do the same in the search box of foo_facets for example, the letters are inserted and the special behaviour is not invoked (that's how it should be). do you know what the problem could be?

thanks in advance!
Title: foo_upnp
Post by: yyudin on 2011-05-02 16:27:25
I am successfully streaming/transcoding 16-bit/44.1 kHz FLAC's (stereo and 5.1 ch) to an OPPO-93 using Foobar+UPnP plugin.
Does the UPnP plugin officially support 24-bit/96 kHz FLAC transcoding to LPCM? I am only hearing white noise (static) when playing these. The same 96/24 files play fine on OPPO-93 when transcoded using PS3mediaserver installed on the same computer. Unfortunately, PS3mediaserver has its own drawbacks that prevent me from using it. I configured the Foobar UPnP settings as described in this post: http://www.avsforum.com/avs-vb/showpost.ph...;postcount=1613 (http://www.avsforum.com/avs-vb/showpost.ph...;postcount=1613)

Is there a workaround for streaming/transcoding 24-bit/96kHz FLAC files using Foobar?
Title: foo_upnp
Post by: andrewfg on 2011-05-06 16:34:00
Hi Bubbleguum,

I was just doings some regression tests with foo_upnp with a new version of Whitebear that I am working on. And unfortunately I found that foo now no longer plays PCM files served by my Whitebear UpNp server. I get the following error:

[blockquote]
Quote
Unable to open item for playback (Unsupported file format):
http://192.168.1.100:31416/tid_6286/src_al...pid_4/music.pcm (http://192.168.1.100:31416/tid_6286/src_alc/tgt_pcm/pid_4/music.pcm)
[/blockquote]

I wonder if you can provide some information about what is going wrong. The files are served as 44100Hz LPCM 16bit 2 channel, big-endian; and they all still play fine fine on other UPnP renderers like WMP, Asset, JR Media Center.

Following is a capture of the HTTP transaction in question:

[blockquote]
Quote
GET /tid_6284/src_alc/tgt_pcm/pid_4/music.pcm HTTP/1.1
Host: 192.168.1.100:31416
Connection: close
User-Agent: foobar2000/1.1.2
Accept: */*
Icy-MetaData:1

HTTP/1.1 200 OK
Connection: close
Content-Type: text/html
Content-Length: 64416516
Date: Fri, 06 May 2011 13:14:45 GMT
Content-Type: audio/L16;rate=44100;channels=2
contentFeatures.dlna.org: DLNA.ORG_PN=LPCM
TransferMode.DLNA.ORG: Streaming
x-audiocast-bitrate: 1411
Accept-Ranges: bytes
Server: Whitebear/2.1 UPnP/1.0 Delphi-UPnP-Components/1.7
[/blockquote]
Title: foo_upnp
Post by: bubbleguuum on 2011-05-06 16:38:00
HTTP/1.1 200 OK
Connection: close
Content-Type: text/html
Content-Length: 64416516
Date: Fri, 06 May 2011 13:14:45 GMT
Content-Type: audio/L16;rate=44100;channels=2
contentFeatures.dlna.org: DLNA.ORG_PN=LPCM
TransferMode.DLNA.ORG: Streaming
x-audiocast-bitrate: 1411
Accept-Ranges: bytes
Server: Whitebear/2.1 UPnP/1.0 Delphi-UPnP-Components/1.7


Hi Andrew,

There's 2 Content-Type  headers in the reply above. Maybe that is the problem ?
Title: foo_upnp
Post by: bubbleguuum on 2011-05-06 16:44:07
I am successfully streaming/transcoding 16-bit/44.1 kHz FLAC's (stereo and 5.1 ch) to an OPPO-93 using Foobar+UPnP plugin.
Does the UPnP plugin officially support 24-bit/96 kHz FLAC transcoding to LPCM? I am only hearing white noise (static) when playing these. The same 96/24 files play fine on OPPO-93 when transcoded using PS3mediaserver installed on the same computer. Unfortunately, PS3mediaserver has its own drawbacks that prevent me from using it. I configured the Foobar UPnP settings as described in this post: http://www.avsforum.com/avs-vb/showpost.ph...;postcount=1613 (http://www.avsforum.com/avs-vb/showpost.ph...;postcount=1613)

Is there a workaround for streaming/transcoding 24-bit/96kHz FLAC files using Foobar?


If the OPPO does not support WAV streaming , there isn't.

LPCM 24 bit never worked with neither the OPPO-93 nor 95, and I had a good try at it some time ago.
And if you find someone who claim otherwise, there's 99% chance he is just streaming LPCM 16 bits, which works.

Title: foo_upnp
Post by: bubbleguuum on 2011-05-06 16:53:27
however, i'm experiencing a weird behaviour (of which i am not even sure that it is your component's fault). i've used some  alphabetical letters as keyboard shortcuts without any modifiers (ctrl/alt/shift). i've implemented the upnp_browser as a panel in the DUI. when i type something in the searchbox, the keys invoke the behaviour specified in the keyboard shortcuts list in the foobar preferences instead of inserting the respective letter in the search box. when i do the same in the search box of foo_facets for example, the letters are inserted and the special behaviour is not invoked (that's how it should be). do you know what the problem could be?


I do no observe this on Win7. Though, if the shortcut is made global, you cannot type its letter anymore.
Maybe it has something to do with this warning ? :
"Mapping a keyboard shorcut without modifiers may interfere with app functionality, peventing certain characters to be typed"
Title: foo_upnp
Post by: Mangix on 2011-05-06 19:57:21
hello

i'm using foobar2000 at home as a upnp server and playing my audio remotely using foobar2000 with the plugin.

my question is does this plugin support gapless playback? i've looked back several pages and could not find a clear answer.

many thanks for a great plugin!
Title: foo_upnp
Post by: bubbleguuum on 2011-05-06 20:05:51
i'm using foobar2000 at home as a upnp server and playing my audio remotely using foobar2000 with the plugin.
my question is does this plugin support gapless playback? i've looked back several pages and could not find a clear answer.


If you're initiating playback from the client by using the UPnP Browser and playing from here then yes it'll be gapless because foobar2000
http decoder supports gapless.


If you want to initiate gapless remote playback using the UPnP Controller (on the server) then you must stream to your Renderer using Playback Stream Capture. This will stream whatever foobar2000 is playing to your renderer as a continuous stream (and thus gapless).
Title: foo_upnp
Post by: kaoruAngel on 2011-05-06 23:27:02
Would you mind posting the changes made from version 0.99.29 (the version I have) and 0.99.32 (the current version)? Curiously, the changelog linked to in the OP stops precisely at the version I already have!
Title: foo_upnp
Post by: Mangix on 2011-05-07 00:36:11
i'm using foobar2000 at home as a upnp server and playing my audio remotely using foobar2000 with the plugin.
my question is does this plugin support gapless playback? i've looked back several pages and could not find a clear answer.


If you're initiating playback from the client by using the UPnP Browser and playing from here then yes it'll be gapless because foobar2000
http decoder supports gapless.


If you want to initiate gapless remote playback using the UPnP Controller (on the server) then you must stream to your Renderer using Playback Stream Capture. This will stream whatever foobar2000 is playing to your renderer as a continuous stream (and thus gapless).

i used the UPnP browser to do so. I have most of my albums saved as a .wv file with an embedded cuesheet for each album. When playing music, I get a 320kbps mp3 and when the song changes, it's not gapless.

out of curiosity, does this plugin use UPnP to port forward port 56923?
Title: foo_upnp
Post by: bubbleguuum on 2011-05-07 10:32:23
Would you mind posting the changes made from version 0.99.29 (the version I have) and 0.99.32 (the current version)? Curiously, the changelog linked to in the OP stops precisely at the version I already have!


I updated the linked changelog in the first post.
Title: foo_upnp
Post by: bubbleguuum on 2011-05-07 10:35:08
i used the UPnP browser to do so. I have most of my albums saved as a .wv file with an embedded cuesheet for each album. When playing music, I get a 320kbps mp3 and when the song changes, it's not gapless.


It should as it is foobar2000 doing the decoding but I will check. I assume your .wv play gaplessly if you play them directly on the server ?


Quote
out of curiosity, does this plugin use UPnP to port forward port 56923?


No it doesn't but it would be nice. This is an item buried deep in a todo list though .
Title: foo_upnp
Post by: andrewfg on 2011-05-07 16:17:24
There's 2 Content-Type  headers in the reply above. Maybe that is the problem ?

Good catch!!

But, unfortunately, after correcting it, I still got the same error. New HTTP capture is attached...

Quote
GET /tid_6281/src_alc/tgt_pcm/pid_4/music.pcm HTTP/1.1
Host: 192.168.1.100:31416
Connection: close
User-Agent: foobar2000/1.1.2
Accept: */*
Icy-MetaData:1

192.168.1.37:52600 Sent : HTTP/1.1 200 OK
Connection: close
Content-Type: audio/L16; rate=44100; channels=2
Content-Length: 40807140
Date: Sat, 07 May 2011 13:13:39 GMT
contentFeatures.dlna.org: DLNA.ORG_PN=LPCM
TransferMode.DLNA.ORG: Streaming
x-audiocast-bitrate: 1411
Accept-Ranges: bytes
Server: Whitebear/2.1 UPnP/1.0 Delphi-UPnP-Components/1.7

Title: foo_upnp
Post by: bubbleguuum on 2011-05-07 16:45:37
But, unfortunately, after correcting it, I still got the same error. New HTTP capture is attached...

192.168.1.37:52600 Sent : HTTP/1.1 200 OK
Connection: close
Content-Type: audio/L16; rate=44100; channels=2
Content-Length: 40807140
Date: Sat, 07 May 2011 13:13:39 GMT
contentFeatures.dlna.org: DLNA.ORG_PN=LPCM
TransferMode.DLNA.ORG: Streaming
x-audiocast-bitrate: 1411
Accept-Ranges: bytes
Server: Whitebear/2.1 UPnP/1.0 Delphi-UPnP-Components/1.7


Here's the response from foo_upnp receiving a L16 request from foobar2000 (which works):

Quote
HTTP/1.1 200 OK
Server: Platinum/0.5.4.0
Accept-Ranges: bytes
transferMode.dlna.org: Streaming
Connection: close
Content-Type: audio/L16;rate=44100;channels=2


Possibly it either doesn't like the extra spaces in the Content-Type header or doesn't support a Content-Length for audio/L16 (which from the POV
of foobar2000 are infinite non-seekable streams, that's the main difference with WAV)
Title: foo_upnp
Post by: andrewfg on 2011-05-07 18:34:15
Possibly it either doesn't like the extra spaces in the Content-Type header

Yes. That was it. I have fixed Whitebear to eliminate the spaces. But really you should also fix foo_upnp to allow them...
Title: foo_upnp
Post by: bubbleguuum on 2011-05-07 19:17:26
Possibly it either doesn't like the extra spaces in the Content-Type header

Yes. That was it. I have fixed Whitebear to eliminate the spaces. But really you should also fix foo_upnp to allow them...


It is not in foo_upnp but in the http decoder in foobar2000 itself
Title: foo_upnp
Post by: Mangix on 2011-05-07 20:42:13
i used the UPnP browser to do so. I have most of my albums saved as a .wv file with an embedded cuesheet for each album. When playing music, I get a 320kbps mp3 and when the song changes, it's not gapless.


It should as it is foobar2000 doing the decoding but I will check. I assume your .wv play gaplessly if you play them directly on the server ?

my .wv files play gaplessly but the encoded mp3s don't. i never checked if the encoded mp3s had the LAME gapless info. i'll check it later.
Title: foo_upnp
Post by: I-HaTeD2 on 2011-05-09 08:35:03
I have a Problem.
The Browser doesn't read Subfolders.

If i want to add a whole Artist it just creates a empty Playlist.
I have to click on every Folder which contains the MP3s (mostly Albums / CD 1-X) and THEN when the Browser recognized the MP3s (or other Audio Files) and i can add the Main Folder and he adds all the Files to the Playlist.
Title: foo_upnp
Post by: yyudin on 2011-05-10 19:00:57
I am successfully streaming/transcoding 16-bit/44.1 kHz FLAC's (stereo and 5.1 ch) to an OPPO-93 using Foobar+UPnP plugin.
Does the UPnP plugin officially support 24-bit/96 kHz FLAC transcoding to LPCM? I am only hearing white noise (static) when playing these. The same 96/24 files play fine on OPPO-93 when transcoded using PS3mediaserver installed on the same computer. Unfortunately, PS3mediaserver has its own drawbacks that prevent me from using it. I configured the Foobar UPnP settings as described in this post: http://www.avsforum.com/avs-vb/showpost.ph...;postcount=1613 (http://www.avsforum.com/avs-vb/showpost.ph...;postcount=1613)

Is there a workaround for streaming/transcoding 24-bit/96kHz FLAC files using Foobar?


If the OPPO does not support WAV streaming , there isn't.

LPCM 24 bit never worked with neither the OPPO-93 nor 95, and I had a good try at it some time ago.
And if you find someone who claim otherwise, there's 99% chance he is just streaming LPCM 16 bits, which works.


I solved the problem by changing the foo_upnp transcoding settings from "Always convert to LPCM" to "Always convert to WAV".  Now Oppo-93 plays 16-bit/44.1 kHz, 24-bit/88.2kHz and 24-bit/96kHz FLAC files.  I don't have any 192 kHz files to try.
Title: foo_upnp
Post by: yyudin on 2011-05-10 19:09:22
I am successfully streaming/transcoding 16-bit/44.1 kHz FLAC's (stereo and 5.1 ch) to an OPPO-93 using Foobar+UPnP plugin.
Does the UPnP plugin officially support 24-bit/96 kHz FLAC transcoding to LPCM? I am only hearing white noise (static) when playing these. The same 96/24 files play fine on OPPO-93 when transcoded using PS3mediaserver installed on the same computer. Unfortunately, PS3mediaserver has its own drawbacks that prevent me from using it. I configured the Foobar UPnP settings as described in this post: http://www.avsforum.com/avs-vb/showpost.ph...;postcount=1613 (http://www.avsforum.com/avs-vb/showpost.ph...;postcount=1613)

Is there a workaround for streaming/transcoding 24-bit/96kHz FLAC files using Foobar?


If the OPPO does not support WAV streaming , there isn't.

LPCM 24 bit never worked with neither the OPPO-93 nor 95, and I had a good try at it some time ago.
And if you find someone who claim otherwise, there's 99% chance he is just streaming LPCM 16 bits, which works.


I solved the problem by changing the foo_upnp settings from "Always convert to LPCM" to "Always convert to WAV".  Now my Oppo-93 can play 16-bit/44.1 kHz, 24-bit/88.2kHz and 24-bit/96kHz FLAC files.  I don't have any 192 kHz files to try.
Title: foo_upnp
Post by: yyudin on 2011-05-10 19:22:43
i used the UPnP browser to do so. I have most of my albums saved as a .wv file with an embedded cuesheet for each album. When playing music, I get a 320kbps mp3 and when the song changes, it's not gapless.


It should as it is foobar2000 doing the decoding but I will check. I assume your .wv play gaplessly if you play them directly on the server ?


I too confirm that the upnp plugin does not support gapless playback.  Most of my files are FLAC/CUE.  If played directly in Foobar2000 on the PC there is no gap between tracks.  If I stream the same file to Oppo-93 using the foo_upnp server, there are ~2 second pauses between tracks.  Could this be because the plugin is set to transcode FLAC to WAV and hence there is some buffering time?
Title: foo_upnp
Post by: yyudin on 2011-05-10 19:41:26
Hi bubbleguuum,
The foo_upnp plugin is really great -- it's the only one that understands CUE sheets and can transcode low and high-res FLAC's to my Oppo-93.  Is there a plan to implement automatic library rescan (the same way Foobar2000 does it)?  It's a pain to restart the application each time I update the media library to see the new files.
Title: foo_upnp
Post by: _darkangel_ on 2011-05-10 20:05:59
Hi bubbleguuum,
I have a problem with Yamaha RX-V1067 used as Renderer. When I trying to send some track to device controller write Action Failed 501. As I was able to understand the problem araise from WMDRM authorization failure.

I have captured logs (http://dl.dropbox.com/u/13148925/111.log) from foobar. Can you do something with that?
Title: foo_upnp
Post by: bubbleguuum on 2011-05-10 20:37:20
i used the UPnP browser to do so. I have most of my albums saved as a .wv file with an embedded cuesheet for each album. When playing music, I get a 320kbps mp3 and when the song changes, it's not gapless.


It should as it is foobar2000 doing the decoding but I will check. I assume your .wv play gaplessly if you play them directly on the server ?

my .wv files play gaplessly but the encoded mp3s don't. i never checked if the encoded mp3s had the LAME gapless info. i'll check it later.


Ideed this is explained by the fact that each .wv (could be flac or any other gapless codec)  is encoded on the fly by libmp3lame and this is not gapless. It cannot be since at the time of the server receive the http request to stream a .wv, nothing is known about the next file. That's very different than regular command-line encoding with lame, where you pass all the files and gapless data can be computed.
I don't see see any workaround for this unless streaming .wv directly which is not practical over the Internet.
Title: foo_upnp
Post by: bubbleguuum on 2011-05-10 20:37:59
I have a Problem.


I don't understand your problem....
Title: foo_upnp
Post by: bubbleguuum on 2011-05-10 20:43:38
i used the UPnP browser to do so. I have most of my albums saved as a .wv file with an embedded cuesheet for each album. When playing music, I get a 320kbps mp3 and when the song changes, it's not gapless.


It should as it is foobar2000 doing the decoding but I will check. I assume your .wv play gaplessly if you play them directly on the server ?


I too confirm that the upnp plugin does not support gapless playback.  Most of my files are FLAC/CUE.  If played directly in Foobar2000 on the PC there is no gap between tracks.  If I stream the same file to Oppo-93 using the foo_upnp server, there are ~2 second pauses between tracks.  Could this be because the plugin is set to transcode FLAC to WAV and hence there is some buffering time?


The only way to have gapless in that case is to use Playback Stream Capture  (You don't mention if you use the UPnP Controller or the Oppo UI to control playback).
The UPnP Controller is inherently non-gapless: it cannot be, as it instructs the renderer to play single track after single track, on track ending.
With Playback Stream Capture, foobar2000 do the gapless decoding and send the stream (ie what it is currently playing) to the Oppo as a single continuous (gapless) stream.
Title: foo_upnp
Post by: bubbleguuum on 2011-05-10 20:45:07
Hi bubbleguuum,
I have a problem with Yamaha RX-V1067 used as Renderer. When I trying to send some track to device controller write Action Failed 501. As I was able to understand the problem araise from WMDRM authorization failure.

I have captured logs (http://dl.dropbox.com/u/13148925/111.log) from foobar. Can you do something with that?


I'll look into it. Another piece of hardware designed to work with WMP  and not much else
Title: foo_upnp
Post by: gebla on 2011-05-12 12:54:42
I have questions regarding streaming profiles. I am using plugplayer on Android to get music from my server with foobar upnp. This is working great to play my music wherever I am over the internet. All my music is flac on the server

I do have some problems with the streaming profiles. I have matched the plugplayer streaming profile with the android app but the foobar server does not start transcode flac to mp3. Only when I change the default profile to always transcode mp3 is streaming to the handset.

From the console log with default profile  set to never transcode but plugplayer profile set to always transcode:
Icy-MetaData: 0
User-Agent: QuickTime;NvMM HTTP Client v0.1
foo_upnp: 278.895: upnp_server_conf::get_profile(720)/1868: INFO: using profile 'PlugPlayer', matching header (User-Agent:QuickTime;NvMM HTTP Client v0.1)
foo_upnp: opened 'file://F:\Music\Flac\Run-DMC\Tougher Than Leather\01. Run's House.flac' for streaming
foo_upnp: 280.353: PLT_HttpServerSocketTask::Write(348)/1868: WARNING: NPT_CHECK failed, result=-20401 (NPT_ERROR_CONNECTION_ABORTED) [(NPT_StreamToStreamCopy( *body_stream.AsPointer(), *output_stream.AsPointer(), 0, entity->GetContentLength(), 0, abort))]
foo_upnp: 280.733: FbMediaServer::ProcessHttpRequest(317)/3348: INFO: received WAN request:

From the console log with default profile  set to always transcode and plugpplayer profile set to always transcode:
User-Agent: QuickTime;NvMM HTTP Client v0.1
foo_upnp: 391.201: upnp_server_conf::get_profile(720)/3360: INFO: using profile 'PlugPlayer', matching header (User-Agent:QuickTime;NvMM HTTP Client v0.1)
foo_upnp: opened 'file://F:\Music\Flac\Run-DMC\Tougher Than Leather\01. Run's House.flac' for streaming, profile: Default, MP3 / CBR 128 kbps, replaygain: off, DSP chain: off

How can I get the profile to use the setting for plugplayer for transcode and to ignore the default setting?
The problem is that when is set the default setting to mp3 encode as well the Linn DS on my network is getting the mp3 transcode.
Title: foo_upnp
Post by: gebla on 2011-05-12 16:25:00
As addition to the above, the option to always use default profile is switched off inside basic server setting
Title: foo_upnp
Post by: I-HaTeD2 on 2011-05-12 18:49:41
I have a Problem.


I don't understand your problem....


Okay i try to explain it better ...

My Music is sorted in Folders like this: Musik/Genre/Artist/Album/(Disc 1-X/)Songs
I can browse with the Plugin trough the Folders but i cant directly add a whole Folder which contains Subfolders because it doesn't read the Music Files.
When i browse to the Album / Disc Folder which contains the Songs i can add them to the Playlist, with this way i can add the whole Artist but i have to do this all the time again and when i have a single song which is directly in the Folder and is not a part of an Album the Plugin just add this one and ignore all the other ones again.

I use Serviio as Server on my HTPC but XBMC or other Clients on my Android Phone working fine and i can add a Folder and get all the Subfolders and all the Music inside them.
Title: foo_upnp
Post by: bubbleguuum on 2011-05-12 20:48:42
How can I get the profile to use the setting for plugplayer for transcode and to ignore the default setting?
The problem is that when is set the default setting to mp3 encode as well the Linn DS on my network is getting the mp3 transcode.


Hi gebla,

The problem is that PlugPlayer do not set a User-Agent for Browse requests (while it does for streaming requests):
Quote
foo_upnp: 26317.186: FbMediaServer::ProcessHttpRequest(330)/6244: INFO: received LAN request: http://192.168.1.101/ContentDirectory/7fac...e1c/control.xml (http://192.168.1.101/ContentDirectory/7facc7d8-e089-026f-702d-45cafc2a3e1c/control.xml) (User-Agent: Unknown)


Thus foo_upnp cannot identify it is PlugPlayer and uses the default profile when returning streaming URLs.

I will suggest to PP's author to set a User-Agent
Title: foo_upnp
Post by: gebla on 2011-05-13 05:47:03
How can I get the profile to use the setting for plugplayer for transcode and to ignore the default setting?
The problem is that when is set the default setting to mp3 encode as well the Linn DS on my network is getting the mp3 transcode.


Hi gebla,

The problem is that PlugPlayer do not set a User-Agent for Browse requests (while it does for streaming requests):
Quote
foo_upnp: 26317.186: FbMediaServer::ProcessHttpRequest(330)/6244: INFO: received LAN request: http://192.168.1.101/ContentDirectory/7fac...e1c/control.xml (http://192.168.1.101/ContentDirectory/7facc7d8-e089-026f-702d-45cafc2a3e1c/control.xml) (User-Agent: Unknown)


Thus foo_upnp cannot identify it is PlugPlayer and uses the default profile when returning streaming URLs.

I will suggest to PP's author to set a User-Agent


Hi bubbleguuum,

The plugplayer is using a User-Agent it is not labeled Plugplayer. I therefore changed to use the Plugplayer profile when user agent contains "Quicktime". According the log (streaming over WAN) the plugplayer profile is selected but at the end is not used:

foo_upnp: 391.201: upnp_server_conf::get_profile(720)/3360: INFO: using profile 'PlugPlayer', matching header (User-Agent:QuickTime;NvMM HTTP Client v0.1)
foo_upnp: opened 'file://F:\Music\Flac\Run-DMC\Tougher Than Leather\01. Run's House.flac' for streaming
Title: foo_upnp
Post by: yyudin on 2011-05-13 16:31:10
LG BD670 player is stuttering when foo_upnp is streaming FLAC transcoded to WAV.  Every file I tried plays fine for the first 1 minute or so and then it stops for 1 second every 2 seconds until the end of track.  Seems like a transcoding issue, because I can stream straight WAV files.  I tried other transcoding options such as FLAC -> MP3 and FLAC -> LPCM, but it was even worse, the file does not play at all and the player gives an error "possible network congestion".  The setup works well with Oppo-93 player but I wanted to add the second player for the basement.  I can generate log files.
Title: foo_upnp
Post by: eikaramba on 2011-05-13 22:06:29
Hey folks,

Question: Is there any way that i can start/stop the Server with a button in foobar2000 ?
I mean something like:
Code: [Select]
$imagebutton($sub(%_width%,220),5,,,$get(skin_path)\play.png,$get(skin_path)\play_h.png,COMMAND:Playback/Play or Pause),


but instead of playing for starting and stoping the server, cause i want to quickly switch it on and off if i need the server. And going in the preferences is a little bit timeconsuming (yeah yeah i know but i thought that this MUST be possible, so i'm just asking)
Title: foo_upnp
Post by: bubbleguuum on 2011-05-14 16:32:52
The plugplayer is using a User-Agent it is not labeled Plugplayer. I therefore changed to use the Plugplayer profile when user agent contains "Quicktime". According the log (streaming over WAN) the plugplayer profile is selected but at the end is not used:


Reread my post. There are 2 type of requests. Browse requests and Streaming requests. PP sets User-Agent only for streaming requests but that is not enough. Hopefully it'll get fixed in a future version of PP.


I can generate log files.

Yes, post some logs. Maybe the device has buffering issues itself as this is the first time this issue is reported. It works even with the PS3, the pickiest
device you can find.


but instead of playing for starting and stoping the server, cause i want to quickly switch it on and off if i need the server. And going in the preferences is a little bit timeconsuming (yeah yeah i know but i thought that this MUST be possible, so i'm just asking)


In the next version, I've added a menu command to toggle the server on/off, so this should be scriptable.
Title: foo_upnp
Post by: _darkangel_ on 2011-05-14 18:45:32
Hi bubbleguuum,
I have a problem with Yamaha RX-V1067 used as Renderer. When I trying to send some track to device controller write Action Failed 501. As I was able to understand the problem araise from WMDRM authorization failure.

I have captured logs (http://dl.dropbox.com/u/13148925/111.log) from foobar. Can you do something with that?


I reply to myself to get somebody quick solution for this problem. foo_upnp was NOT the problem. The problem was receiver usage. It reject all try to push a song throught conroller interface because it should be in NET mode to allow that action. That's all. When I switch receiver to NET mode(remote NET button) everything works.
Title: foo_upnp
Post by: bubbleguuum on 2011-05-14 19:50:10
0.99.33 is available (first post to download or autoupdate or components site)

Quote
0.99.33

- use current foobar2000 icon for media server and renderer
- Linn Davaar suport. removed Cara support (0.99.32 is the last version with Cara support).
- renderer: change so Twonky mobile is able to display  elapsed time / track duration correctly
- renderer: fixed returned volume rounding error (was confusing KinskyDesktop)
- renderer: do not return volume=0 when muted (was confusing KinskyDesktop)
- server: set album artist in returned album containers
- server: set album art URL in returned album containers
- server: support for BubbleDS search request: all albums of artist
- browser: when browsing a remote foobar2000 server, override ip:port  in server returned URLs  with the ip:port the user specified to connect to this remote server.
This should allow corner cases like streaming over a SSH tunnel to work (untested)
- new menu action under Library menu: "Start/Stop UPnP Media server"
Title: foo_upnp
Post by: prann on 2011-05-15 16:57:33
Great plugin  I have been using the control for a while now with a WD TV Live. Each update works better and better.
I was wondering if there is a way to get the playlist queue to do the same as when you are playing local? Such as the cursor and album art for currently playing.
It doesn't seem to behave the same way when using as a control point.

Local
(http://media.webon.lycos.com/234918/300x242-1744221.jpg)
Upnp
(http://media.webon.lycos.com/234918/300x242-1744222.jpg)

Crap.. i hope images aren't too small
Title: foo_upnp
Post by: bubbleguuum on 2011-05-15 17:37:08
Great plugin  I have been using the control for a while now with a WD TV Live. Each update works better and better.
I was wondering if there is a way to get the playlist queue to do the same as when you are playing local? Such as the cursor and album art for currently playing.
It doesn't seem to behave the same way when using as a control point.


Try to set Selection Viewer to "prefer current selection" (instead of "prefer current playing track").
See Preference>Display to change this.

"prefer current playing track" cannot work with UPnP as from the pov of foobar2000 there's no track playing when streaming a track.
Title: foo_upnp
Post by: prann on 2011-05-15 19:06:21
Quote
"prefer current playing track" cannot work with UPnP as from the pov of foobar2000 there's no track playing when streaming a track.


I guess I will have to live with it. I did notice if I select the currently playing song the highlighting will follow and album art and info will be correct.
As a long long time Winamp user, Foobar is quickly becoming my player of choice because of the UPNP plugin.
Keep up the ggod work.
Title: foo_upnp
Post by: doncaballero on 2011-05-15 20:37:59
Awesome plugin!! Don't know how I survived before this was around. Really makes Foobar THE only thing you need for audio in the house. 

With that said, I am having a problem that I haven't really seen replicated on the forum, so I thought I would put it out there. Just switched to Android, after having been a satisfied PlugPlayer user on iOS. I have been using the PP & Foobar combo successfully for a while. So, I installed PP on the Android and fired up Foobar. PP recognizes Foobar immediately on the network and I can open and browse the files. However, I cannot play anything. If I click on a file it simply tries to play it and then skips to the next. It won't play anything. Same issue w/the Playback Stream Capture. PP can find Foobar, but can't play anything. I have tried PP with the PlayOn server and that works fine, so PP seems to be OK. I gather there is a setting or something that I need to change and I am hoping that someone out there can provide some guidance.

Thanks in advance for your help and all of the work you've put into this.
Title: foo_upnp
Post by: bubbleguuum on 2011-05-15 20:53:30
Awesome plugin!! Don't know how I survived before this was around. Really makes Foobar THE only thing you need for audio in the house. 

With that said, I am having a problem that I haven't really seen replicated on the forum, so I thought I would put it out there. Just switched to Android, after having been a satisfied PlugPlayer user on iOS. I have been using the PP & Foobar combo successfully for a while. So, I installed PP on the Android and fired up Foobar. PP recognizes Foobar immediately on the network and I can open and browse the files. However, I cannot play anything. If I click on a file it simply tries to play it and then skips to the next. It won't play anything. Same issue w/the Playback Stream Capture. PP can find Foobar, but can't play anything. I have tried PP with the PlayOn server and that works fine, so PP seems to be OK. I gather there is a setting or something that I need to change and I am hoping that someone out there can provide some guidance.

Thanks in advance for your help and all of the work you've put into this.


I noticed this but that happens only if the server is transcoding to WAV. So I assume you're streaming some lossless files that get streamed as WAV by the default profile (the PP profile is only valid for iOS PP). Transcoding to mp3 works but the big mystery is why WAV streaming just fails on the Android side. You could try streaming WAV with another server to check if the fault is on the Android side (it supports WAV playback but does it supports WAV streaming ?) or on foo_upnp side (which I doubt since WAV streaming works with anything else). And for the fun stuff: trying to stream LPCM to PP trigger a Force close dialog .
Title: foo_upnp
Post by: doncaballero on 2011-05-15 21:24:09
Awesome plugin!! Don't know how I survived before this was around. Really makes Foobar THE only thing you need for audio in the house. 

With that said, I am having a problem that I haven't really seen replicated on the forum, so I thought I would put it out there. Just switched to Android, after having been a satisfied PlugPlayer user on iOS. I have been using the PP & Foobar combo successfully for a while. So, I installed PP on the Android and fired up Foobar. PP recognizes Foobar immediately on the network and I can open and browse the files. However, I cannot play anything. If I click on a file it simply tries to play it and then skips to the next. It won't play anything. Same issue w/the Playback Stream Capture. PP can find Foobar, but can't play anything. I have tried PP with the PlayOn server and that works fine, so PP seems to be OK. I gather there is a setting or something that I need to change and I am hoping that someone out there can provide some guidance.

Thanks in advance for your help and all of the work you've put into this.


I noticed this but that happens only if the server is transcoding to WAV. So I assume you're streaming some lossless files that get streamed as WAV by the default profile (the PP profile is only valid for iOS PP). Transcoding to mp3 works but the big mystery is why WAV streaming just fails on the Android side. You could try streaming WAV with another server to check if the fault is on the Android side (it supports WAV playback but does it supports WAV streaming ?) or on foo_upnp side (which I doubt since WAV streaming works with anything else). And for the fun stuff: trying to stream LPCM to PP trigger a Force close dialog .


Fantastic!  That worked. I was pulling my hair out all afternoon trying to figure this out.

Thanks for the quick reply.
Title: foo_upnp
Post by: mpuckett on 2011-05-16 00:47:23
Bubbleguum,
I am wondering if there is any additional documentation on customizing the browse tree by editing the .xml file other than what is included in the documentation link. The feature looks quite useful but trying to figure out how to use it, the syntax and what is supported leaves me a little confused.

I have a Roku player and one of the things I would like to be able to do is skip through my collection alphabetically. I feel sure that it is possible but I can't figure it out using the existing documentation.

Thanks again for a fantastic component.
Title: foo_upnp
Post by: bubbleguuum on 2011-05-16 10:49:51
I have a Roku player and one of the things I would like to be able to do is skip through my collection alphabetically. I feel sure that it is possible but I can't figure it out using the existing documentation.



Documentation is lacking for sure. It is somewhere in a todo list I'm sure though :/.

If you want to add alphabetic letter nodes for easier navigation on your Roku, you just have to check "Split list nodes by first letter..." in the Server/Content preference page.
Title: foo_upnp
Post by: sbavin on 2011-05-16 12:20:15
Hi bubbleguuum,

First up thanks for an amazing and very useful bit of software.

I'm using it with an Android controller app named UPNPlay - http://bebopfreak.wordpress.com/upnplayer/ (http://bebopfreak.wordpress.com/upnplayer/) - and this works great on a LAN.  However, as it doesn't support authentication headers, I'm unable to get it work over the Internet.

If I use the http://host:port/userpwd/ (http://host:port/userpwd/) form of URL, should foo_upnp not bypass HTTP authentication?  If I browse this with IE I still get a user/password prompt, and the server logs show:
Code: [Select]
foo_upnp: 332724.751: FbMediaServer::ProcessHttpRequest(317)/372: INFO: received WAN request: http://host:56923/userpwd/DeviceDescription.xml (User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET CLR 1.1.4322; InfoPath.1; .NET4.0C; .NET4.0E))
foo_upnp: 332724.751: FbMediaServer::ProcessHttpRequest(352)/372: INFO: User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET CLR 1.1.4322; InfoPath.1; .NET4.0C; .NET4.0E)
foo_upnp: 332724.751: FbMediaServer::ProcessHttpRequest(369)/372: INFO: WAN Authorization failed
foo_upnp: 332724.751: FbMediaServer::ProcessHttpRequest(317)/688: INFO: received WAN request: http://host:56923/userpwd/DeviceDescription.xml (User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET CLR 1.1.4322; InfoPath.1; .NET4.0C; .NET4.0E))
foo_upnp: 332724.751: FbMediaServer::ProcessHttpRequest(352)/688: INFO: User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET CLR 1.1.4322; InfoPath.1; .NET4.0C; .NET4.0E)
foo_upnp: 332724.751: FbMediaServer::ProcessHttpRequest(369)/688: INFO: WAN Authorization failed

(The "WAN Authorization failed" appears almost immediately, before I get the chance to either enter credentials or dismiss the prompt.)

I'm hoping that the alternative URL method would prevent the use of HTTP authentication at all, is this the intention? 

Edit: Or does this only cover PSC?  (If so, could it be extended to general usage?)

Thanks,
Steve
Title: foo_upnp
Post by: alexinc on 2011-05-16 19:32:35
with your latest version my samsung ue40c7700 begins to communicate with foobar! :-) it shows all playlists and content of media library, but when loading the track it still claims "unsupported file format" - using regular mp3-files. may a new log-file help investigating any further? ;-) cheers!
Title: foo_upnp
Post by: bubbleguuum on 2011-05-16 20:34:16
I'm hoping that the alternative URL method would prevent the use of HTTP authentication at all, is this the intention?



I just released 0.99.34 which allow authentification in the URL path for all clients (before it was limited to iOS PlugPlayer). So you'll be able to
remotely connect with UPnPlay. In UPnPlay edit the the WAN server configuration:

- set the Description field to /<login><password>
- change the UDN field to something else than the LAN UDN

Then if you click on the WAN server entry  (it will say "connecting to server..."), then on its LAN definition you should be able to browse.

This version also  addresses a few other compatibility fixes:

Code: [Select]
0.99.34

- server: allow Internet connection with http://ip:port/<login><password> from any remote client
- device description XML parser is more lax to recognize UPnPlay's renderer.
- server: workarounded TwonkyMobile requests with malformed XML.
Title: foo_upnp
Post by: bubbleguuum on 2011-05-16 20:35:16
with your latest version my samsung ue40c7700 begins to communicate with foobar! :-) it shows all playlists and content of media library, but when loading the track it still claims "unsupported file format" - using regular mp3-files. may a new log-file help investigating any further? ;-) cheers!


It's a known DLNA compatibility problem. Unlikely to be implemented as I don't have the required hardware to test.
Title: foo_upnp
Post by: alexinc on 2011-05-16 20:43:39
if you'll ever visit dresden, germany you're welcome for a drink or two and the required hardware!  as your discogs-plugin already safed my life and i'm sure samsung will work some day too  at least they are still updating the firmware, so who knows, maybe one day their dlna is more compatible!? let me know if i can investigate any further. already tried using to bridge the sound via htc desire z to tv, but then desire says, that tv is not answering... playing directly from desire z works without problems.
Title: foo_upnp
Post by: sbavin on 2011-05-17 08:30:37
Thanks - that was quick!  It seems to work well at a first test, although the mobile phone network here can't keep up with streaming an 128kbps MP3.  I'll have a play with profiles...

Steve
Title: foo_upnp
Post by: mpuckett on 2011-05-18 07:52:58
Documentation is lacking for sure. It is somewhere in a todo list I'm sure though :/.

Oh I understand about that... documentation usually hits the todo list. Besides given the usefulness of foo_upnp I prefer you keep coding anyway!    But even the tiniest bit of additional documentation of this feature would help it become less confusing and very useful (to me at least).

Quote
If you want to add alphabetic letter nodes for easier navigation on your Roku, you just have to check "Split list nodes by first letter..." in the Server/Content preference page.

Thanks! Not exactly what I was looking for but close enough and definitely speeds things up on the Roku.
Title: foo_upnp
Post by: choba on 2011-05-19 19:06:58
Hi !
I recently discovered foo_upnp, and quickly ran into a problem while testing with plugplayer 3.6 on iphone.
While playing a track, if I turn the device off (iphone), foobar will stop playing at the end of the current track.

After a bit of searching I found this thread on plugplayer forum, with a response from the plugplayer dev :
http://www.plugplayer.com/forum/viewtopic.php?f=3&t=584 (http://www.plugplayer.com/forum/viewtopic.php?f=3&t=584)

Is this feature planned for foo_upnp ?
Thanks for the great work on this very useful plugin 
Title: foo_upnp
Post by: angstrom on 2011-05-20 12:09:43
Hi, I am having mostly success in streaming from foobar UPnP Controller to a Lacie MINI HD player except that some FLAC files consistently refuse to play. They play fine with foobar or Winamp on the computer and they will play on the Lacie if controlled through its own software (TV screen menus).
All my FLAC files are ripped in exactly the same way (EAC) with the same settings. With one album, tracks 1,2,3 are fine but from track 4 onwards it either 'appears' to play (progress bar moves but no sound) or it crashes altogether (Stop Error - Action Failed 501).
All music is on a portable HD and i get the same problem if its connected to my laptop and streamed wirelessly, or if the HD is connected via USB to the Lacie as a network drive.
I've looked at the files in question but can't see anything different between those that work and those that dont. Any help greatly appreciated!
Title: foo_upnp
Post by: alexinc on 2011-05-21 12:02:24
may this be helpful information for samsung?

http://sourceforge.net/tracker/?func=detai...amp;atid=751213 (http://sourceforge.net/tracker/?func=detail&aid=2783602&group_id=141999&atid=751213)
Title: foo_upnp
Post by: war59312 on 2011-05-22 18:14:56
Hey,

Anyone gotten it to work on Boxee Box?

Simply shows up blank when viewing Foobar UPnP source.

Full Log:

Code: [Select]
foo_upnp: 179.074: NPT_Win32Thread::Start(483)/8876: FINER: creating thread
foo_upnp: 179.074: PLT_HttpListenTask<class PLT_HttpServerListener>::DoRun(156)/8876: FINE: current http task count = 2
foo_upnp: 179.074: NPT_Win32Thread::EntryPoint(450)/3616: FINER: thread in =======================
foo_upnp: 179.075: NPT_HttpRequest::Parse(617)/3616: FINEST: http request: POST /ContentDirectory/7adb8c4f-40ee-2099-1552-fce2f8e1e30d/control.xml HTTP/1.1
foo_upnp: 179.075: NPT_HttpHeaders::Parse(185)/3616: FINEST: header - Content-Type: text/xml; charset="utf-8"
foo_upnp: 179.075: NPT_HttpHeaders::Parse(185)/3616: FINEST: header - SOAPAction: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
foo_upnp: 179.075: NPT_HttpHeaders::Parse(185)/3616: FINEST: header - User-Agent: Platinum/0.5.3.0, DLNADOC/1.50
foo_upnp: 179.075: NPT_HttpHeaders::Parse(185)/3616: FINEST: header - Host: 192.168.1.105:56923
foo_upnp: 179.075: NPT_HttpHeaders::Parse(215)/3616: FINEST: header Content-Length: 544
foo_upnp: 179.075: PLT_HttpServer::ProcessHttpRequest(142)/3616: FINE: Received POST Request from 192.168.1.196 for /ContentDirectory/7adb8c4f-40ee-2099-1552-fce2f8e1e30d/control.xml
foo_upnp: 179.075: PLT_HttpHelper::ToLog(410)/3616: FINER:
POST /ContentDirectory/7adb8c4f-40ee-2099-1552-fce2f8e1e30d/control.xml HTTP/1.1
Content-Type: text/xml; charset="utf-8"
SOAPAction: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
User-Agent: Platinum/0.5.3.0, DLNADOC/1.50
Host: 192.168.1.105:56923
Content-Length: 544
foo_upnp: 179.075: FbMediaServer::ProcessHttpRequest(317)/3616: INFO: received LAN request: [url=http://192.168.1.105:56923/ContentDirectory/7adb8c4f-40ee-2099-1552-fce2f8e1e30d/control.xml]http://192.168.1.105:56923/ContentDirector...30d/control.xml[/url] (User-Agent: Platinum/0.5.3.0, DLNADOC/1.50)
foo_upnp: 179.075: PLT_DeviceHost::ProcessHttpRequest(376)/3616: FINER: PLT_DeviceHost Received Request:
foo_upnp: 179.075: PLT_HttpHelper::ToLog(410)/3616: FINER:
POST /ContentDirectory/7adb8c4f-40ee-2099-1552-fce2f8e1e30d/control.xml HTTP/1.1
Content-Type: text/xml; charset="utf-8"
SOAPAction: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
User-Agent: Platinum/0.5.3.0, DLNADOC/1.50
Host: 192.168.1.105:56923
Content-Length: 544
foo_upnp: 179.075: PLT_DeviceHost::ProcessHttpPostRequest(555)/3616: FINE: Received Browse action from 192.168.1.196
foo_upnp: 179.075: FbMediaServer::OnAction(254)/3616: INFO: received action 'Browse', args = { ObjectID=0, BrowseFlag=BrowseDirectChildren, Filter=dc:date,upnp:genre,res@duration,res@size,upnp:albumArtURI,upnp:album,upnp:artist,upnp:author, StartingIndex=0, RequestedCount=30, SortCriteria= }
foo_upnp: 179.075: PLT_MediaServer::OnBrowse(380)/3616: INFO: Received BrowseDirectChildren from 192.168.1.196 for id = 0 with filter = dc:date,upnp:genre,res@duration,res@size,upnp:albumArtURI,upnp:album,upnp:artist,upnp:author, start = 0, count = 30
foo_upnp: 179.075: FbMediaServer::OnAction(271)/3616: INFO: action 'Browse' response: args = { ObjectID=0, BrowseFlag=BrowseDirectChildren, Filter=dc:date,upnp:genre,res@duration,res@size,upnp:albumArtURI,upnp:album,upnp:artist,upnp:author, StartingIndex=0, RequestedCount=30, SortCriteria=, NumberReturned=0, TotalMatches=0, UpdateID=0 }
foo_upnp: 179.075: PLT_HttpServerSocketTask::Write(322)/3616: FINER: PLT_HttpServerTask Sending response:
foo_upnp: 179.076: PLT_HttpHelper::ToLog(498)/3616: FINER:
HTTP/1.1 200 OK
Server: Platinum/0.5.4.0
Content-Type: text/xml; charset="utf-8"
Ext:
Connection: keep-alive
Content-Length: 624
foo_upnp: 179.076: NPT_HttpHeader::Emit(118)/3616: FINEST: header Server: Platinum/0.5.4.0
foo_upnp: 179.076: NPT_HttpHeader::Emit(118)/3616: FINEST: header Content-Type: text/xml; charset="utf-8"
foo_upnp: 179.076: NPT_HttpHeader::Emit(118)/3616: FINEST: header Ext:
foo_upnp: 179.076: NPT_HttpHeader::Emit(118)/3616: FINEST: header Connection: keep-alive
foo_upnp: 179.076: NPT_HttpHeader::Emit(118)/3616: FINEST: header Content-Length: 624
foo_upnp: 179.076: PLT_HttpServerSocketTask::Write(336)/3616: FINER: keep_alive = true, headers_only = false
foo_upnp: 179.076: PLT_HttpServerSocketTask::Write(341)/3616: FINER: NPT_StreamToStreamCopy begin
foo_upnp: 179.076: PLT_HttpServerSocketTask::Write(349)/3616: FINER: NPT_StreamToStreamCopy end
foo_upnp: 179.080: NPT_Win32Thread::Start(483)/8876: FINER: creating thread
foo_upnp: 179.080: PLT_HttpListenTask<class PLT_HttpServerListener>::DoRun(156)/8876: FINE: current http task count = 3
foo_upnp: 179.080: NPT_Win32Thread::EntryPoint(450)/6344: FINER: thread in =======================
foo_upnp: 179.080: NPT_HttpRequest::Parse(617)/6344: FINEST: http request: POST /ContentDirectory/7adb8c4f-40ee-2099-1552-fce2f8e1e30d/control.xml HTTP/1.1
foo_upnp: 179.081: NPT_HttpHeaders::Parse(185)/6344: FINEST: header - Content-Type: text/xml; charset="utf-8"
foo_upnp: 179.081: NPT_HttpHeaders::Parse(185)/6344: FINEST: header - SOAPAction: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
foo_upnp: 179.081: NPT_HttpHeaders::Parse(185)/6344: FINEST: header - User-Agent: Platinum/0.5.3.0, DLNADOC/1.50
foo_upnp: 179.081: NPT_HttpHeaders::Parse(185)/6344: FINEST: header - Host: 192.168.1.105:56923
foo_upnp: 179.081: NPT_HttpHeaders::Parse(215)/6344: FINEST: header Content-Length: 544
foo_upnp: 179.081: PLT_HttpServer::ProcessHttpRequest(142)/6344: FINE: Received POST Request from 192.168.1.196 for /ContentDirectory/7adb8c4f-40ee-2099-1552-fce2f8e1e30d/control.xml
foo_upnp: 179.081: PLT_HttpHelper::ToLog(410)/6344: FINER:
POST /ContentDirectory/7adb8c4f-40ee-2099-1552-fce2f8e1e30d/control.xml HTTP/1.1
Content-Type: text/xml; charset="utf-8"
SOAPAction: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
User-Agent: Platinum/0.5.3.0, DLNADOC/1.50
Host: 192.168.1.105:56923
Content-Length: 544
foo_upnp: 179.081: FbMediaServer::ProcessHttpRequest(317)/6344: INFO: received LAN request: [url=http://192.168.1.105:56923/ContentDirectory/7adb8c4f-40ee-2099-1552-fce2f8e1e30d/control.xml]http://192.168.1.105:56923/ContentDirector...30d/control.xml[/url] (User-Agent: Platinum/0.5.3.0, DLNADOC/1.50)
foo_upnp: 179.081: PLT_DeviceHost::ProcessHttpRequest(376)/6344: FINER: PLT_DeviceHost Received Request:
foo_upnp: 179.081: PLT_HttpHelper::ToLog(410)/6344: FINER:
POST /ContentDirectory/7adb8c4f-40ee-2099-1552-fce2f8e1e30d/control.xml HTTP/1.1
Content-Type: text/xml; charset="utf-8"
SOAPAction: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
User-Agent: Platinum/0.5.3.0, DLNADOC/1.50
Host: 192.168.1.105:56923
Content-Length: 544
foo_upnp: 179.081: PLT_DeviceHost::ProcessHttpPostRequest(555)/6344: FINE: Received Browse action from 192.168.1.196
foo_upnp: 179.081: FbMediaServer::OnAction(254)/6344: INFO: received action 'Browse', args = { ObjectID=0, BrowseFlag=BrowseDirectChildren, Filter=dc:date,upnp:genre,res@duration,res@size,upnp:albumArtURI,upnp:album,upnp:artist,upnp:author, StartingIndex=0, RequestedCount=30, SortCriteria= }
foo_upnp: 179.081: PLT_MediaServer::OnBrowse(380)/6344: INFO: Received BrowseDirectChildren from 192.168.1.196 for id = 0 with filter = dc:date,upnp:genre,res@duration,res@size,upnp:albumArtURI,upnp:album,upnp:artist,upnp:author, start = 0, count = 30
foo_upnp: 179.081: FbMediaServer::OnAction(271)/6344: INFO: action 'Browse' response: args = { ObjectID=0, BrowseFlag=BrowseDirectChildren, Filter=dc:date,upnp:genre,res@duration,res@size,upnp:albumArtURI,upnp:album,upnp:artist,upnp:author, StartingIndex=0, RequestedCount=30, SortCriteria=, NumberReturned=0, TotalMatches=0, UpdateID=0 }
foo_upnp: 179.081: PLT_HttpServerSocketTask::Write(322)/6344: FINER: PLT_HttpServerTask Sending response:
foo_upnp: 179.081: PLT_HttpHelper::ToLog(498)/6344: FINER:
HTTP/1.1 200 OK
Server: Platinum/0.5.4.0
Content-Type: text/xml; charset="utf-8"
Ext:
Connection: keep-alive
Content-Length: 624
foo_upnp: 179.081: NPT_HttpHeader::Emit(118)/6344: FINEST: header Server: Platinum/0.5.4.0
foo_upnp: 179.082: NPT_HttpHeader::Emit(118)/6344: FINEST: header Content-Type: text/xml; charset="utf-8"
foo_upnp: 179.082: NPT_HttpHeader::Emit(118)/6344: FINEST: header Ext:
foo_upnp: 179.082: NPT_HttpHeader::Emit(118)/6344: FINEST: header Connection: keep-alive
foo_upnp: 179.082: NPT_HttpHeader::Emit(118)/6344: FINEST: header Content-Length: 624
foo_upnp: 179.082: PLT_HttpServerSocketTask::Write(336)/6344: FINER: keep_alive = true, headers_only = false
foo_upnp: 179.082: PLT_HttpServerSocketTask::Write(341)/6344: FINER: NPT_StreamToStreamCopy begin
foo_upnp: 179.082: PLT_HttpServerSocketTask::Write(349)/6344: FINER: NPT_StreamToStreamCopy end
foo_upnp: 179.087: NPT_Win32Thread::Start(483)/8876: FINER: creating thread
foo_upnp: 179.087: PLT_HttpListenTask<class PLT_HttpServerListener>::DoRun(156)/8876: FINE: current http task count = 4
foo_upnp: 179.087: NPT_Win32Thread::EntryPoint(450)/1428: FINER: thread in =======================
foo_upnp: 179.087: NPT_HttpRequest::Parse(617)/1428: FINEST: http request: POST /ContentDirectory/7adb8c4f-40ee-2099-1552-fce2f8e1e30d/control.xml HTTP/1.1
foo_upnp: 179.087: NPT_HttpHeaders::Parse(185)/1428: FINEST: header - Content-Type: text/xml; charset="utf-8"
foo_upnp: 179.088: NPT_HttpHeaders::Parse(185)/1428: FINEST: header - SOAPAction: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
foo_upnp: 179.088: NPT_HttpHeaders::Parse(185)/1428: FINEST: header - User-Agent: Platinum/0.5.3.0, DLNADOC/1.50
foo_upnp: 179.088: NPT_HttpHeaders::Parse(185)/1428: FINEST: header - Host: 192.168.1.105:56923
foo_upnp: 179.088: NPT_HttpHeaders::Parse(215)/1428: FINEST: header Content-Length: 544
foo_upnp: 179.088: PLT_HttpServer::ProcessHttpRequest(142)/1428: FINE: Received POST Request from 192.168.1.196 for /ContentDirectory/7adb8c4f-40ee-2099-1552-fce2f8e1e30d/control.xml
foo_upnp: 179.088: PLT_HttpHelper::ToLog(410)/1428: FINER:
POST /ContentDirectory/7adb8c4f-40ee-2099-1552-fce2f8e1e30d/control.xml HTTP/1.1
Content-Type: text/xml; charset="utf-8"
SOAPAction: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
User-Agent: Platinum/0.5.3.0, DLNADOC/1.50
Host: 192.168.1.105:56923
Content-Length: 544
foo_upnp: 179.088: FbMediaServer::ProcessHttpRequest(317)/1428: INFO: received LAN request: [url=http://192.168.1.105:56923/ContentDirectory/7adb8c4f-40ee-2099-1552-fce2f8e1e30d/control.xml]http://192.168.1.105:56923/ContentDirector...30d/control.xml[/url] (User-Agent: Platinum/0.5.3.0, DLNADOC/1.50)
foo_upnp: 179.088: PLT_DeviceHost::ProcessHttpRequest(376)/1428: FINER: PLT_DeviceHost Received Request:
foo_upnp: 179.088: PLT_HttpHelper::ToLog(410)/1428: FINER:
POST /ContentDirectory/7adb8c4f-40ee-2099-1552-fce2f8e1e30d/control.xml HTTP/1.1
Content-Type: text/xml; charset="utf-8"
SOAPAction: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
User-Agent: Platinum/0.5.3.0, DLNADOC/1.50
Host: 192.168.1.105:56923
Content-Length: 544
foo_upnp: 179.088: PLT_DeviceHost::ProcessHttpPostRequest(555)/1428: FINE: Received Browse action from 192.168.1.196
foo_upnp: 179.088: FbMediaServer::OnAction(254)/1428: INFO: received action 'Browse', args = { ObjectID=0, BrowseFlag=BrowseDirectChildren, Filter=dc:date,upnp:genre,res@duration,res@size,upnp:albumArtURI,upnp:album,upnp:artist,upnp:author, StartingIndex=0, RequestedCount=30, SortCriteria= }
foo_upnp: 179.088: PLT_MediaServer::OnBrowse(380)/1428: INFO: Received BrowseDirectChildren from 192.168.1.196 for id = 0 with filter = dc:date,upnp:genre,res@duration,res@size,upnp:albumArtURI,upnp:album,upnp:artist,upnp:author, start = 0, count = 30
foo_upnp: 179.088: FbMediaServer::OnAction(271)/1428: INFO: action 'Browse' response: args = { ObjectID=0, BrowseFlag=BrowseDirectChildren, Filter=dc:date,upnp:genre,res@duration,res@size,upnp:albumArtURI,upnp:album,upnp:artist,upnp:author, StartingIndex=0, RequestedCount=30, SortCriteria=, NumberReturned=0, TotalMatches=0, UpdateID=0 }
foo_upnp: 179.088: PLT_HttpServerSocketTask::Write(322)/1428: FINER: PLT_HttpServerTask Sending response:
foo_upnp: 179.088: PLT_HttpHelper::ToLog(498)/1428: FINER:
HTTP/1.1 200 OK
Server: Platinum/0.5.4.0
Content-Type: text/xml; charset="utf-8"
Ext:
Connection: keep-alive
Content-Length: 624
foo_upnp: 179.088: NPT_HttpHeader::Emit(118)/1428: FINEST: header Server: Platinum/0.5.4.0
foo_upnp: 179.088: NPT_HttpHeader::Emit(118)/1428: FINEST: header Content-Type: text/xml; charset="utf-8"
foo_upnp: 179.088: NPT_HttpHeader::Emit(118)/1428: FINEST: header Ext:
foo_upnp: 179.089: NPT_HttpHeader::Emit(118)/1428: FINEST: header Connection: keep-alive
foo_upnp: 179.089: NPT_HttpHeader::Emit(118)/1428: FINEST: header Content-Length: 624
foo_upnp: 179.089: PLT_HttpServerSocketTask::Write(336)/1428: FINER: keep_alive = true, headers_only = false
foo_upnp: 179.089: PLT_HttpServerSocketTask::Write(341)/1428: FINER: NPT_StreamToStreamCopy begin
foo_upnp: 179.089: PLT_HttpServerSocketTask::Write(349)/1428: FINER: NPT_StreamToStreamCopy end
foo_upnp: 179.179: NPT_HttpRequest::Parse(616)/3616: FINE: NPT_CHECK failed, result=-20302 (NPT_ERROR_EOS) [(stream.ReadLine(line, NPT_HTTP_PROTOCOL_MAX_LINE_LENGTH))]
foo_upnp: 179.183: NPT_HttpRequest::Parse(616)/6344: FINE: NPT_CHECK failed, result=-20302 (NPT_ERROR_EOS) [(stream.ReadLine(line, NPT_HTTP_PROTOCOL_MAX_LINE_LENGTH))]
foo_upnp: 179.191: NPT_HttpRequest::Parse(616)/1428: FINE: NPT_CHECK failed, result=-20302 (NPT_ERROR_EOS) [(stream.ReadLine(line, NPT_HTTP_PROTOCOL_MAX_LINE_LENGTH))]
foo_upnp: 181.144: NPT_HttpRequest::Parse(617)/7796: FINEST: http request: M-SEARCH * HTTP/1.1
foo_upnp: 181.144: NPT_HttpHeaders::Parse(185)/7796: FINEST: header - MX: 5
foo_upnp: 181.144: NPT_HttpHeaders::Parse(185)/7796: FINEST: header - ST: upnp:rootdevice
foo_upnp: 181.144: NPT_HttpHeaders::Parse(185)/7796: FINEST: header - MAN: "ssdp:discover"
foo_upnp: 181.144: NPT_HttpHeaders::Parse(185)/7796: FINEST: header - User-Agent: Platinum/0.5.3.0, DLNADOC/1.50
foo_upnp: 181.144: NPT_HttpHeaders::Parse(215)/7796: FINEST: header Host: 239.255.255.250:1900
foo_upnp: 181.145: PLT_DeviceHost::ProcessSsdpSearchRequest(719)/7796: FINEST: Received M-SEARCH from 192.168.1.196:2064
foo_upnp: 181.145: PLT_HttpHelper::ToLog(410)/7796: FINE:
M-SEARCH * HTTP/1.1
MX: 5
ST: upnp:rootdevice
MAN: "ssdp:discover"
User-Agent: Platinum/0.5.3.0, DLNADOC/1.50
Host: 239.255.255.250:1900
foo_upnp: 181.145: NPT_Win32Thread::Start(483)/7796: FINER: creating thread
foo_upnp: 181.145: PLT_DeviceHost::ProcessSsdpSearchRequest(719)/7796: FINEST: Received M-SEARCH from 192.168.1.196:2064
foo_upnp: 181.145: PLT_HttpHelper::ToLog(410)/7796: FINE:
M-SEARCH * HTTP/1.1
MX: 5
ST: upnp:rootdevice
MAN: "ssdp:discover"
User-Agent: Platinum/0.5.3.0, DLNADOC/1.50
Host: 239.255.255.250:1900
foo_upnp: 181.145: NPT_Win32Thread::Start(483)/7796: FINER: creating thread
foo_upnp: 181.145: NPT_Win32Thread::EntryPoint(450)/7200: FINER: thread in =======================
foo_upnp: 181.145: NPT_HttpRequest::Parse(617)/7796: FINEST: http request: M-SEARCH * HTTP/1.1
foo_upnp: 181.145: NPT_HttpHeaders::Parse(185)/7796: FINEST: header - MX: 5
foo_upnp: 181.145: NPT_HttpHeaders::Parse(185)/7796: FINEST: header - ST: upnp:rootdevice
foo_upnp: 181.145: NPT_HttpHeaders::Parse(185)/7796: FINEST: header - MAN: "ssdp:discover"
foo_upnp: 181.145: NPT_Win32Thread::EntryPoint(450)/5880: FINER: thread in =======================
foo_upnp: 181.145: NPT_HttpHeaders::Parse(185)/7796: FINEST: header - User-Agent: Platinum/0.5.3.0, DLNADOC/1.50
foo_upnp: 181.145: NPT_HttpHeaders::Parse(215)/7796: FINEST: header Host: 239.255.255.250:1900
foo_upnp: 181.145: PLT_DeviceHost::ProcessSsdpSearchRequest(719)/7796: FINEST: Received M-SEARCH from 192.168.1.196:2064
foo_upnp: 181.145: PLT_HttpHelper::ToLog(410)/7796: FINE:
M-SEARCH * HTTP/1.1
MX: 5
ST: upnp:rootdevice
MAN: "ssdp:discover"
User-Agent: Platinum/0.5.3.0, DLNADOC/1.50
Host: 239.255.255.250:1900
foo_upnp: 181.145: NPT_Win32Thread::Start(483)/7796: FINER: creating thread
foo_upnp: 181.146: PLT_DeviceHost::ProcessSsdpSearchRequest(719)/7796: FINEST: Received M-SEARCH from 192.168.1.196:2064
foo_upnp: 181.146: PLT_HttpHelper::ToLog(410)/7796: FINE:
M-SEARCH * HTTP/1.1
MX: 5
ST: upnp:rootdevice
MAN: "ssdp:discover"
User-Agent: Platinum/0.5.3.0, DLNADOC/1.50
Host: 239.255.255.250:1900
foo_upnp: 181.146: NPT_Win32Thread::Start(483)/7796: FINER: creating thread
foo_upnp: 181.146: NPT_Win32Thread::EntryPoint(450)/8188: FINER: thread in =======================
foo_upnp: 181.146: PLT_DeviceHost::SendSsdpSearchResponse(756)/7200: FINEST: Responding to a M-SEARCH request for upnp:rootdevice
foo_upnp: 181.146: PLT_SsdpSender::SendSsdp(103)/7200: FINE: Sending SSDP:
foo_upnp: 181.146: PLT_HttpHelper::ToLog(498)/7200: FINE:
HTTP/1.1 200 OK
LOCATION: [url=http://192.168.1.105:56923/DeviceDescription.xml]http://192.168.1.105:56923/DeviceDescription.xml[/url]
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:7adb8c4f-40ee-2099-1552-fce2f8e1e30d::upnp:rootdevice
ST: upnp:rootdevice
foo_upnp: 181.146: NPT_Win32Thread::EntryPoint(450)/6636: FINER: thread in =======================
foo_upnp: 181.146: NPT_HttpHeader::Emit(118)/7200: FINEST: header LOCATION: [url=http://192.168.1.105:56923/DeviceDescription.xml]http://192.168.1.105:56923/DeviceDescription.xml[/url]
foo_upnp: 181.146: PLT_DeviceHost::SendSsdpSearchResponse(756)/5880: FINEST: Responding to a M-SEARCH request for upnp:rootdevice
foo_upnp: 181.146: NPT_HttpHeader::Emit(118)/7200: FINEST: header CACHE-CONTROL: max-age=1800
foo_upnp: 181.146: PLT_SsdpSender::SendSsdp(103)/5880: FINE: Sending SSDP:
foo_upnp: 181.146: NPT_HttpHeader::Emit(118)/7200: FINEST: header Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
foo_upnp: 181.146: NPT_HttpHeader::Emit(118)/7200: FINEST: header EXT:
foo_upnp: 181.146: PLT_HttpHelper::ToLog(498)/5880: FINE:
HTTP/1.1 200 OK
LOCATION: [url=http://192.168.1.105:64186/]http://192.168.1.105:64186/[/url]
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:bd2b7883-f545-b93e-3a1f-623b8b0fcf25::upnp:rootdevice
ST: upnp:rootdevice
foo_upnp: 181.146: NPT_HttpHeader::Emit(118)/7200: FINEST: header USN: uuid:7adb8c4f-40ee-2099-1552-fce2f8e1e30d::upnp:rootdevice
foo_upnp: 181.146: NPT_HttpHeader::Emit(118)/5880: FINEST: header LOCATION: [url=http://192.168.1.105:64186/]http://192.168.1.105:64186/[/url]
foo_upnp: 181.147: NPT_HttpHeader::Emit(118)/7200: FINEST: header ST: upnp:rootdevice
foo_upnp: 181.147: NPT_HttpHeader::Emit(118)/5880: FINEST: header CACHE-CONTROL: max-age=1800
foo_upnp: 181.147: NPT_HttpHeader::Emit(118)/5880: FINEST: header Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
foo_upnp: 181.147: NPT_HttpHeader::Emit(118)/5880: FINEST: header EXT:
foo_upnp: 181.147: PLT_DeviceHost::SendSsdpSearchResponse(756)/7200: FINEST: Responding to a M-SEARCH request for upnp:rootdevice
foo_upnp: 181.147: NPT_HttpHeader::Emit(118)/5880: FINEST: header USN: uuid:bd2b7883-f545-b93e-3a1f-623b8b0fcf25::upnp:rootdevice
foo_upnp: 181.147: PLT_SsdpSender::SendSsdp(103)/7200: FINE: Sending SSDP:
foo_upnp: 181.147: NPT_HttpHeader::Emit(118)/5880: FINEST: header ST: upnp:rootdevice
foo_upnp: 181.147: PLT_HttpHelper::ToLog(498)/7200: FINE:
HTTP/1.1 200 OK
LOCATION: [url=http://192.168.1.105:56923/DeviceDescription.xml]http://192.168.1.105:56923/DeviceDescription.xml[/url]
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:7adb8c4f-40ee-2099-1552-fce2f8e1e30d::upnp:rootdevice
ST: upnp:rootdevice
foo_upnp: 181.147: NPT_HttpHeader::Emit(118)/7200: FINEST: header LOCATION: [url=http://192.168.1.105:56923/DeviceDescription.xml]http://192.168.1.105:56923/DeviceDescription.xml[/url]
foo_upnp: 181.147: PLT_DeviceHost::SendSsdpSearchResponse(756)/5880: FINEST: Responding to a M-SEARCH request for upnp:rootdevice
foo_upnp: 181.147: NPT_HttpHeader::Emit(118)/7200: FINEST: header CACHE-CONTROL: max-age=1800
foo_upnp: 181.147: PLT_SsdpSender::SendSsdp(103)/5880: FINE: Sending SSDP:
foo_upnp: 181.147: NPT_HttpHeader::Emit(118)/7200: FINEST: header Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
foo_upnp: 181.147: NPT_HttpHeader::Emit(118)/7200: FINEST: header EXT:
foo_upnp: 181.147: PLT_HttpHelper::ToLog(498)/5880: FINE:
HTTP/1.1 200 OK
LOCATION: [url=http://192.168.1.105:64186/]http://192.168.1.105:64186/[/url]
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:bd2b7883-f545-b93e-3a1f-623b8b0fcf25::upnp:rootdevice
ST: upnp:rootdevice
foo_upnp: 181.147: NPT_HttpHeader::Emit(118)/7200: FINEST: header USN: uuid:7adb8c4f-40ee-2099-1552-fce2f8e1e30d::upnp:rootdevice
foo_upnp: 181.147: NPT_HttpHeader::Emit(118)/5880: FINEST: header LOCATION: [url=http://192.168.1.105:64186/]http://192.168.1.105:64186/[/url]
foo_upnp: 181.147: NPT_HttpHeader::Emit(118)/7200: FINEST: header ST: upnp:rootdevice
foo_upnp: 181.147: NPT_HttpHeader::Emit(118)/5880: FINEST: header CACHE-CONTROL: max-age=1800
foo_upnp: 181.147: NPT_HttpHeader::Emit(118)/5880: FINEST: header Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
foo_upnp: 181.147: NPT_HttpHeader::Emit(118)/5880: FINEST: header EXT:
foo_upnp: 181.148: NPT_HttpHeader::Emit(118)/5880: FINEST: header USN: uuid:bd2b7883-f545-b93e-3a1f-623b8b0fcf25::upnp:rootdevice
foo_upnp: 181.148: NPT_HttpHeader::Emit(118)/5880: FINEST: header ST: upnp:rootdevice
foo_upnp: 185.146: PLT_DeviceHost::SendSsdpSearchResponse(756)/8188: FINEST: Responding to a M-SEARCH request for upnp:rootdevice
foo_upnp: 185.146: PLT_DeviceHost::SendSsdpSearchResponse(756)/6636: FINEST: Responding to a M-SEARCH request for upnp:rootdevice
foo_upnp: 185.146: PLT_SsdpSender::SendSsdp(103)/8188: FINE: Sending SSDP:
foo_upnp: 185.146: PLT_SsdpSender::SendSsdp(103)/6636: FINE: Sending SSDP:
foo_upnp: 185.146: PLT_HttpHelper::ToLog(498)/8188: FINE:
HTTP/1.1 200 OK
LOCATION: [url=http://192.168.1.105:56923/DeviceDescription.xml]http://192.168.1.105:56923/DeviceDescription.xml[/url]
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:7adb8c4f-40ee-2099-1552-fce2f8e1e30d::upnp:rootdevice
ST: upnp:rootdevice
foo_upnp: 185.147: PLT_HttpHelper::ToLog(498)/6636: FINE:
HTTP/1.1 200 OK
LOCATION: [url=http://192.168.1.105:64186/]http://192.168.1.105:64186/[/url]
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:bd2b7883-f545-b93e-3a1f-623b8b0fcf25::upnp:rootdevice
ST: upnp:rootdevice
foo_upnp: 185.147: NPT_HttpHeader::Emit(118)/8188: FINEST: header LOCATION: [url=http://192.168.1.105:56923/DeviceDescription.xml]http://192.168.1.105:56923/DeviceDescription.xml[/url]
foo_upnp: 185.147: NPT_HttpHeader::Emit(118)/6636: FINEST: header LOCATION: [url=http://192.168.1.105:64186/]http://192.168.1.105:64186/[/url]
foo_upnp: 185.147: NPT_HttpHeader::Emit(118)/8188: FINEST: header CACHE-CONTROL: max-age=1800
foo_upnp: 185.147: NPT_HttpHeader::Emit(118)/6636: FINEST: header CACHE-CONTROL: max-age=1800
foo_upnp: 185.147: NPT_HttpHeader::Emit(118)/8188: FINEST: header Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
foo_upnp: 185.147: NPT_HttpHeader::Emit(118)/6636: FINEST: header Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
foo_upnp: 185.147: NPT_HttpHeader::Emit(118)/8188: FINEST: header EXT:
foo_upnp: 185.147: NPT_HttpHeader::Emit(118)/6636: FINEST: header EXT:
foo_upnp: 185.147: NPT_HttpHeader::Emit(118)/8188: FINEST: header USN: uuid:7adb8c4f-40ee-2099-1552-fce2f8e1e30d::upnp:rootdevice
foo_upnp: 185.147: NPT_HttpHeader::Emit(118)/6636: FINEST: header USN: uuid:bd2b7883-f545-b93e-3a1f-623b8b0fcf25::upnp:rootdevice
foo_upnp: 185.147: NPT_HttpHeader::Emit(118)/8188: FINEST: header ST: upnp:rootdevice
foo_upnp: 185.147: NPT_HttpHeader::Emit(118)/6636: FINEST: header ST: upnp:rootdevice
foo_upnp: 185.147: PLT_DeviceHost::SendSsdpSearchResponse(756)/8188: FINEST: Responding to a M-SEARCH request for upnp:rootdevice
foo_upnp: 185.147: PLT_SsdpSender::SendSsdp(103)/8188: FINE: Sending SSDP:
foo_upnp: 185.147: PLT_DeviceHost::SendSsdpSearchResponse(756)/6636: FINEST: Responding to a M-SEARCH request for upnp:rootdevice
foo_upnp: 185.147: PLT_SsdpSender::SendSsdp(103)/6636: FINE: Sending SSDP:
foo_upnp: 185.147: PLT_HttpHelper::ToLog(498)/8188: FINE:
HTTP/1.1 200 OK
LOCATION: [url=http://192.168.1.105:56923/DeviceDescription.xml]http://192.168.1.105:56923/DeviceDescription.xml[/url]
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:7adb8c4f-40ee-2099-1552-fce2f8e1e30d::upnp:rootdevice
ST: upnp:rootdevice
foo_upnp: 185.147: PLT_HttpHelper::ToLog(498)/6636: FINE:
HTTP/1.1 200 OK
LOCATION: [url=http://192.168.1.105:64186/]http://192.168.1.105:64186/[/url]
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
EXT:
USN: uuid:bd2b7883-f545-b93e-3a1f-623b8b0fcf25::upnp:rootdevice
ST: upnp:rootdevice
foo_upnp: 185.147: NPT_HttpHeader::Emit(118)/8188: FINEST: header LOCATION: [url=http://192.168.1.105:56923/DeviceDescription.xml]http://192.168.1.105:56923/DeviceDescription.xml[/url]
foo_upnp: 185.147: NPT_HttpHeader::Emit(118)/6636: FINEST: header LOCATION: [url=http://192.168.1.105:64186/]http://192.168.1.105:64186/[/url]
foo_upnp: 185.147: NPT_HttpHeader::Emit(118)/8188: FINEST: header CACHE-CONTROL: max-age=1800
foo_upnp: 185.148: NPT_HttpHeader::Emit(118)/6636: FINEST: header CACHE-CONTROL: max-age=1800
foo_upnp: 185.148: NPT_HttpHeader::Emit(118)/8188: FINEST: header Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
foo_upnp: 185.148: NPT_HttpHeader::Emit(118)/6636: FINEST: header Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
foo_upnp: 185.148: NPT_HttpHeader::Emit(118)/8188: FINEST: header EXT:
foo_upnp: 185.148: NPT_HttpHeader::Emit(118)/6636: FINEST: header EXT:
foo_upnp: 185.148: NPT_HttpHeader::Emit(118)/8188: FINEST: header USN: uuid:7adb8c4f-40ee-2099-1552-fce2f8e1e30d::upnp:rootdevice
foo_upnp: 185.148: NPT_HttpHeader::Emit(118)/6636: FINEST: header USN: uuid:bd2b7883-f545-b93e-3a1f-623b8b0fcf25::upnp:rootdevice
foo_upnp: 185.148: NPT_HttpHeader::Emit(118)/8188: FINEST: header ST: upnp:rootdevice
foo_upnp: 185.148: NPT_HttpHeader::Emit(118)/6636: FINEST: header ST: upnp:rootdevice
Thanks,

Will

Update: Whoops, no wonder. Content options were simply off. Media Library & Playback Stream Capture is working fine after creating a new Boxee Box Profile.

Using User-Agent set to "Platinum/0.5.3.0" . Then set Playback Stream Capture Codec to MP3. And set transcode to "never". And uncheck both "except".

But attempting to play any playlists results in loud static though. Think its because its trying to play it as WAV instead of MP3. Tried everything to force MP3 but wont when playing from a playlist. Again fine from Playback Stream Capture, since you have the option to force it to use MP3.

Only warnings logged.

Code: [Select]
foo_upnp: opened 'http://scfire-ntc-aa05.stream.aol.com:80/stream/1040' for streaming, profile: Boxee Box, WAV / 44100 Hz / 16 bits / 2 channels, replaygain: on, DSP chain: on
foo_upnp: 910.157: PLT_HttpServerSocketTask::Write(348)/4176: WARNING: NPT_CHECK failed, result=-20401 (NPT_ERROR_CONNECTION_ABORTED) [(NPT_StreamToStreamCopy( *body_stream.AsPointer(), *output_stream.AsPointer(), 0, entity->GetContentLength(), 0, abort))]
foo_upnp: opened 'http://scfire-ntc-aa05.stream.aol.com:80/stream/1040' for streaming, profile: Boxee Box, WAV / 44100 Hz / 16 bits / 2 channels, replaygain: on, DSP chain: on
foo_upnp: 911.984: PLT_HttpServerSocketTask::Write(348)/8488: WARNING: NPT_CHECK failed, result=-20401 (NPT_ERROR_CONNECTION_ABORTED) [(NPT_StreamToStreamCopy( *body_stream.AsPointer(), *output_stream.AsPointer(), 0, entity->GetContentLength(), 0, abort))]
foo_upnp: opened 'http://scfire-ntc-aa05.stream.aol.com:80/stream/1040' for streaming, profile: Boxee Box, WAV / 44100 Hz / 16 bits / 2 channels, replaygain: on, DSP chain: on
foo_upnp: opened 'http://scfire-ntc-aa05.stream.aol.com:80/stream/1040' for streaming, profile: Boxee Box, WAV / 44100 Hz / 16 bits / 2 channels, replaygain: on, DSP chain: on
foo_upnp: 915.444: PLT_HttpServerSocketTask::Write(348)/3616: WARNING: NPT_CHECK failed, result=-20401 (NPT_ERROR_CONNECTION_ABORTED) [(NPT_StreamToStreamCopy( *body_stream.AsPointer(), *output_stream.AsPointer(), 0, entity->GetContentLength(), 0, abort))]
foo_upnp: 915.529: PLT_HttpServerSocketTask::Write(348)/7792: WARNING: NPT_CHECK failed, result=-20401 (NPT_ERROR_CONNECTION_ABORTED) [(NPT_StreamToStreamCopy( *body_stream.AsPointer(), *output_stream.AsPointer(), 0, entity->GetContentLength(), 0, abort))]
foo_upnp: opened 'http://scfire-ntc-aa05.stream.aol.com:80/stream/1040' for streaming, profile: Boxee Box, WAV / 44100 Hz / 16 bits / 2 channels, replaygain: on, DSP chain: on
foo_upnp: opened 'http://scfire-ntc-aa05.stream.aol.com:80/stream/1040' for streaming, profile: Boxee Box, WAV / 44100 Hz / 16 bits / 2 channels, replaygain: on, DSP chain: on
foo_upnp: 918.932: PLT_HttpServerSocketTask::Write(348)/3540: WARNING: NPT_CHECK failed, result=-20401 (NPT_ERROR_CONNECTION_ABORTED) [(NPT_StreamToStreamCopy( *body_stream.AsPointer(), *output_stream.AsPointer(), 0, entity->GetContentLength(), 0, abort))]

Odd, since it works just fine using Playback Stream Capture.

Also, when I play AAC encoded Files these warnings are logged. Yet the file plays just fine. Even odder.

Code: [Select]
foo_upnp: opened 'file://D:\666\BACKUP\3\Music\Music\Black Eyed Peas\The Beginning\Black Eyed Peas - Light Up The Night.m4a' for streaming, profile: Boxee Box, WAV / 44100 Hz / 16 bits / 2 channels, replaygain: on, DSP chain: on
foo_upnp: 1385.930: PLT_HttpServerSocketTask::Write(348)/4104: WARNING: NPT_CHECK failed, result=-20401 (NPT_ERROR_CONNECTION_ABORTED) [(NPT_StreamToStreamCopy( *body_stream.AsPointer(), *output_stream.AsPointer(), 0, entity->GetContentLength(), 0, abort))]
foo_upnp: opened 'file://D:\666\BACKUP\3\Music\Music\Black Eyed Peas\The Beginning\Black Eyed Peas - Light Up The Night.m4a' for streaming, profile: Boxee Box, WAV / 44100 Hz / 16 bits / 2 channels, replaygain: on, DSP chain: on
foo_upnp: 1386.106: PLT_HttpServerSocketTask::Write(348)/7768: WARNING: NPT_CHECK failed, result=-20401 (NPT_ERROR_CONNECTION_ABORTED) [(NPT_StreamToStreamCopy( *body_stream.AsPointer(), *output_stream.AsPointer(), 0, entity->GetContentLength(), 0, abort))]
foo_upnp: opened 'file://D:\666\BACKUP\3\Music\Music\Black Eyed Peas\The Beginning\Black Eyed Peas - Light Up The Night.m4a' for streaming, profile: Boxee Box, WAV / 44100 Hz / 16 bits / 2 channels, replaygain: on, DSP chain: on
foo_upnp: opened 'file://D:\666\BACKUP\3\Music\Music\Black Eyed Peas\The Beginning\Black Eyed Peas - Light Up The Night.m4a' for streaming, profile: Boxee Box, WAV / 44100 Hz / 16 bits / 2 channels, replaygain: on, DSP chain: on
foo_upnp: 1386.320: PLT_HttpServerSocketTask::Write(348)/6304: WARNING: NPT_CHECK failed, result=-20401 (NPT_ERROR_CONNECTION_ABORTED) [(NPT_StreamToStreamCopy( *body_stream.AsPointer(), *output_stream.AsPointer(), 0, entity->GetContentLength(), 0, abort))]
foo_upnp: 1386.325: PLT_HttpServerSocketTask::Write(348)/4256: WARNING: NPT_CHECK failed, result=-20401 (NPT_ERROR_CONNECTION_ABORTED) [(NPT_StreamToStreamCopy( *body_stream.AsPointer(), *output_stream.AsPointer(), 0, entity->GetContentLength(), 0, abort))]
foo_upnp: opened 'file://D:\666\BACKUP\3\Music\Music\Black Eyed Peas\The Beginning\Black Eyed Peas - Light Up The Night.m4a' for streaming, profile: Boxee Box, WAV / 44100 Hz / 16 bits / 2 channels, replaygain: on, DSP chain: on
foo_upnp: 1386.575: PLT_HttpServerSocketTask::Write(348)/8064: WARNING: NPT_CHECK failed, result=-20401 (NPT_ERROR_CONNECTION_ABORTED) [(NPT_StreamToStreamCopy( *body_stream.AsPointer(), *output_stream.AsPointer(), 0, entity->GetContentLength(), 0, abort))]
foo_upnp: opened 'file://D:\666\BACKUP\3\Music\Music\Black Eyed Peas\The Beginning\Black Eyed Peas - Light Up The Night.m4a' for streaming, profile: Boxee Box, WAV / 44100 Hz / 16 bits / 2 channels, replaygain: on, DSP chain: on

Just browsing around and this warning keeps getting logged:

Quote
foo_upnp: 1505.362: PLT_HttpServerSocketTask::Write(348)/920: WARNING: NPT_CHECK failed, result=-20401 (NPT_ERROR_CONNECTION_ABORTED) [(NPT_StreamToStreamCopy( *body_stream.AsPointer(), *output_stream.AsPointer(), 0, entity->GetContentLength(), 0, abort))]

Ugh, this gets logged when changing log level:

Quote
foo_upnp: 1835.262: FbMediaServer::ServeFile(693)/2668: SEVERE: Invalid file path
Title: foo_upnp
Post by: war59312 on 2011-05-22 19:30:58
Never mind, I figured it out. Sorry would have simply edited my post again, but can't. Lame!

Anyways, my settings:

(http://img402.imageshack.us/img402/284/forbarbbsettings.png) (http://imageshack.us/photo/my-images/402/forbarbbsettings.png/)

Those odd warnings are still logged of course.
Title: foo_upnp
Post by: dobo on 2011-05-23 20:46:13
I have been using Serviio for streaming video content to my Sony BDPS370 which works a treat, pretty good for music too, supports flac.
Now setup foobar with UPnP which mostly works but occasional problem, i think its a setup issue or possibly that the Sony wont read some types of mp3.

Anyway does anyone want to share their Sony BDPS370 profile that works for them?
Title: foo_upnp
Post by: Wordpad on 2011-05-24 05:11:50
with your latest version my samsung ue40c7700 begins to communicate with foobar! :-) it shows all playlists and content of media library, but when loading the track it still claims "unsupported file format" - using regular mp3-files. may a new log-file help investigating any further? ;-) cheers!


It's a known DLNA compatibility problem. Unlikely to be implemented as I don't have the required hardware to test.


Hi, I second this. Would really really love if there was some way to get this working, I'll be willing to help in any way possible.

Here is some info: With the software provided by Samsung, called Samsung PC Share Manager, I can share the same mp3 files I use with foobar foo_upnp, and can successfully listen to the music on my TV. But streaming the same song from foo_upnp just gives the "unsupported file format" error. Is there someway to "fingerprint" the DLNA service of the PC Share Manager and then just clone the settings to foo_upnp? I tried using foo_upnp browser and tried playing a song from the PC Share Manager, which worked. Does the info help you in any way? (http://img857.imageshack.us/img857/8548/unavngivetd.jpg)
Title: foo_upnp
Post by: war59312 on 2011-05-24 05:20:37
Hey,

I just now updated to 0.99.33 and I noticed this in the changelog:

Quote
- use current foobar2000 icon for media server and renderer

Well, now no icon is showing up under UPnP on my Boxee Box for Foobar200 using foo_upnp.

The icon was there a minute ago before I updated foo_upnp.

I then went back to the previous version for a second to confirm. Sure enough the icon is back in the old version.

So it appears whatever change you made to the icon code, broke something.

Thanks Again,

Will
Title: foo_upnp
Post by: joaotavela on 2011-05-24 16:01:03
with your latest version my samsung ue40c7700 begins to communicate with foobar! :-) it shows all playlists and content of media library, but when loading the track it still claims "unsupported file format" - using regular mp3-files. may a new log-file help investigating any further? ;-) cheers!


It's a known DLNA compatibility problem. Unlikely to be implemented as I don't have the required hardware to test.


Hi, I second this. Would really really love if there was some way to get this working, I'll be willing to help in any way possible.

Here is some info: With the software provided by Samsung, called Samsung PC Share Manager, I can share the same mp3 files I use with foobar foo_upnp, and can successfully listen to the music on my TV. But streaming the same song from foo_upnp just gives the "unsupported file format" error. Is there someway to "fingerprint" the DLNA service of the PC Share Manager and then just clone the settings to foo_upnp? I tried using foo_upnp browser and tried playing a song from the PC Share Manager, which worked. Does the info help you in any way? (http://img857.imageshack.us/img857/8548/unavngivetd.jpg)


Same problem here -  using a Samsung UN55C6900VM. Can see files in foobar, but can't play them. "unsupported file format". try every configuration, but none works.
Several UPNP servers show the same problem.
Title: foo_upnp
Post by: dobo on 2011-05-24 19:27:19
After some tinkering round with settings it appears that my Sony BDPS370 wont play any mp3 unless foo_upnp is set to transcode them. I dont think its a setting i'm missing, happy to provide any info to help you fix this.

The error i get is "There is no playable file."

If i tell it to always transcode mp3 it will work just fine..
Title: foo_upnp
Post by: nagoya on 2011-06-02 19:49:54
Hello, I have been using Foobar with the UPnP comp with a Naim Uniti player. It works pretty well - and I am grateful for all the hard work that's gone into it - but I am losing the connection to the device on the Foobar UPnP controller a couple of times a day. I have to switch the Uniti off and back on to restore the connection in the controller. When the connection is lost, I have discovered that I can still stream using the Uniti's own remote control but to add new tracks to the playlist I have to restart Foobar. I have been searching here for help and elsewhere online for a fix but I haven't come across anything yet. Does anyone have any suggestions, please? I have a log file at INFO level but it's very large (about 6MB). That can't be normal? Thanks!
Title: foo_upnp
Post by: mpuckett on 2011-06-04 06:46:27
Bubbleguuum,

I would be curious to know if it would be possible for the foo_upnp browser to use the facets library renderer (if available) instead of the tree renderer to display the browsed content. This would be similar to how wmp works when browsing a remote library.

I already asked about this on the facet thread but no reply yet. As I think more about it though it seems like this is the right place to ask rather than on the facet side.
Title: foo_upnp
Post by: bubbleguuum on 2011-06-10 22:28:16
@dobo: you may want to record a log and send it to me (see first post)

@nagoya: you mean the Uniti simply disappear from the renderer list ? Or is it still present but unresponsive ?

@mpuckett: not possible without rewriting foo_upnp, foobar2000 media library handling, and facets

-----------

I've just released an UPnP ControlPoint/Renderer for Android, called BubbleUPnP and currently in beta.

See this thread on xda-developers (http://forum.xda-developers.com/showthread.php?t=1118891) for details.

Although the final app will be a paid app, the beta is free for anyone to try and I'd appreciate some feedback from people having an Android device and some interest in audio UPnP. Obviously, it is compatible with foo_upnp.
Title: foo_upnp
Post by: nagoya on 2011-06-11 02:50:11
Hello bubbleguuum,

The Uniti does disappear from the renderer list. When that happens the UPnP controller is useless. I can still stream to the Uniti with Foobar, however. Thanks!
Title: foo_upnp
Post by: mpuckett on 2011-06-11 19:01:53
@mpuckett: not possible without rewriting foo_upnp, foobar2000 media library handling, and facets

Sounds simple! When can we have it? 

Not that I would pretend to know any of the details about this but.... does foo_upnp use a default tree renderer in fb2k to display the browsed content or did you have to write your own for rendering the browsed content instead of the library content? I'm guessing that facets can't be used then as a general tree renderer and it is hard coupled to rendering the library only?
Title: foo_upnp
Post by: stev-io on 2011-06-22 00:27:26
bubblegumm
this is by far the best thing for foobar since foobar was conceived.  i have been using this to stream to people around my workplace successfully for a few years now.  i have just recently installed a NAS running a compact Lenny installation with miniDLNA as a DLNA server.  i have shifted all audio to it and would like to have everyone connect using foobar and start streaming from there.  i upnp automatically detects the DLNA server and streams ok on my VLAN, but when i get to other computers on a different VLAN (same workplace different LAN) i punch in the IP and port of the minidlna server but it keeps prompting me for a password.  there is no password (that i know of) for the server but the plugin will not let me continue without entering a username and password.  any ideas out there???  i would really like to get it working and shift the load off my pc to the NAS.
Stev-io
Title: foo_upnp
Post by: Wacky on 2011-06-22 15:20:24
Praises be to foo_upnp!  Now there is hope for those with Onkyo networked AV Receivers:

I have the Onkyo TX-NR808 and it sees the foo_upnp server and I can play Media Library (all in flac) and Playlists ( some streaming radio, some podcasts) just fine with the standard remote controller as long as I am in the same room.

However I wanted to control the receiver over the ethernet and nothing seemed to work, not Upnp controller, not PlugPlayer, nor  several others on the iPad or Android.

Low and Behold - oRemote for iPad and iPhone to the rescue!  On the App Store.

I bought this for $4.99 for iPad and it exceeded my expectations.  I use Zone 2 in the Onkyo to drive outdoor speakers.  oRemote lets me select my foo_upnp material and it also has built in protocols for Pandora, Sirius, Slacker, etc. . .

I can sit outside and turn the Zone 2 on or off and select the streaming content.  What is interesting is that the Onkyo manual says you can only select analog inputs for Zone 2, but this little iPad app gets around that constraint.

Title: foo_upnp
Post by: dorsetjon on 2011-06-25 10:50:23
bubblegumm,

foo_upnp has been a revelation and in the 1 week since I bought my DLNA TV I have disciovered a new world! I have it working fine as a server but now I want to explore the controller and streaming playback capabilities but am having issues with Foobar hanging for around 20 seconds when I try this. My TV supports LPCM (16), mp3 and WMA. foo_upnp has been working fine as a server playing my Flac files (both transcoding to mp3 and decoding to LPCM work fine). However, when I use foobar as a controller it only works when playing mp3 files without any decoding - if I try a flac file with transcoding or decoding or an mp3 with decoding then foobar hangs for a while and then comes back an nothing plays. foobar also hangs whenever I try streaming playback and no matter what settings I use. I have had streaming working using JamCast so I know it works with my TV, but I would much prefer to do eveything out of foobar. The controller issue isn't big issue because I generally control playback via the TV, but I would really like to get streaming working.

Any ideas what the issue is here?

Thanks,

Jon
Title: foo_upnp
Post by: DerJohannes on 2011-06-25 22:27:45
Hi, any idea what Stop Error: Action failed (501) means and how to fix it?

I'm getting it quite regularly and the whole thing freezes. Even if i close FB2k and reopen it, the error message remains and nothing works until i reboot.

trying to play to a LaCie MiniHD...



It means  that this device didn't like being stopped by the Controller. Record a log so I can have a look (first post for instruction on how to log).


Hi! I'm having similar problems here with my WD TV LIVE (=> The "LaCie MiniHD" does not seem to be the only device having problems to interact with foo_upnp):

### Configuration:
  - Foobar v1.1.7
  - foo_upnp v0.99.34
  - WD TV LIVE ( Firmware: v1.05.04_V ), connected to my Win7 (64 bit) machine via ethernet cable (no WLAN).

### Symptom:
  - Regular 'Stop Error: Action failed (501)'s while playing MP3s via the UPnP Controller. Restarting Foobar2000 does not help. I have to restart the WDTVLIVE for the symptom to disappear.
 

I enabled logging with "FINER" log level. @bubblegumm: I'll send you a link to the zipped log file (20110625_WDTVLIVE_StopError_ActionFailed_501_foo_upnp.log.zip) by PM.

If there is anything I can do to further help isolating the problem cause, it would be an honour for me to do so. Feel free to ask.

Great plugin! Thank you very much :-)

Johannes
Title: foo_upnp
Post by: stev-io on 2011-07-01 04:44:21
Got the miniDLNA foobar upnp issue sorted out.  Seems that if the SSDP broadcasts do not transcend networks in question (VLAN to VLAN) then there is no way for foo upnp to respond (as it does not hear the broadcast).  so specifying an IP address in the browser window forces foo upnp to try to connect to the dlna server.  problem here is that when foo upnp tries to connect, it requests a file called DeviceDescription.xml (default file for foo upnp to foo upnp connection?) and miniDLNA doesn't have that file, it only has rootDesc.xml and therefore the system will not connect to each other (thankyou wireshark).  luckily i was able to recompile miniDLNA to substitute the config file definition from rootDesc.xml to DeviceDescription.xml.  this sorted the problems out and now the 2 can connect (BTW just for clarity, this problem doesn't exist with miniDLNA and foo upnp  on the local network, only if you try to connect from outside the local network).
I was thinking that it might be a good idea to have the flexibility to specify the description file rather than have it default to DeviceDescription.  im sure this has been an issue with other people using streaming servers. 

BubbleGuuum, would you be able to add the ability to specify the xml file?  maybe under the <browser> tags of the foo_upnp.xml file?  i think this would add a huge benefit to this plug in as it will make it more compatible with other servers out there.
Thanks for the awesome plugin

Stev-io
Title: foo_upnp
Post by: isawdrones on 2011-07-09 17:34:04
When using a WMC shared library, I am able to browse and select Albums under Artists. With the foobar plugin I am only presented a list of the songs for that particular Artist, with the "View albums" button greyed out.

Do I have something misconfigured or is this functionality not supported?

If I start first by going in to Albums instead of Artists I can select an individual album, so I do have a workaround to select an album.
Title: foo_upnp
Post by: lx585x on 2011-07-19 14:51:13
Hi, I've been using foo_upnp for quite some time now with a Sony KDL W5500 LCD TV. It has DLNA support and music plays just fine.
The thing that bugs me a little is that there is no album art. If I stream with WMP the album arts work fine.
Is it just a compatibility issue or did I configure something wrong?
Title: foo_upnp
Post by: philibuster on 2011-07-20 19:44:22
For transcoding, I found that the mp3 stream sent is not tagged. This causes some problems when downloading the stream for later use. Is there any way these streams can be tagged? Thanks.
Title: foo_upnp
Post by: Marcus28 on 2011-07-21 22:16:18
Hi to the community!

I recently, like many, decided to forget about Itunes to manage everything with music from Foobar.
I have a huge collection of album converted in ALAC, stored on a MyBookLive, and try with the foo_UPnP component to stream them thru my HDX1000, using latest Popcorn Firmware.

Having spend a week in configuring stuffs such as acces from my laptop (Wifi) throu router (freebox) and XP firewall, I'm stuck with some troubles:
- I just can play one file and then so can't play anymore track.
If I decide to stop the played track or to select an other track (<<; >>), same result: I have to reboot my media tank each time to reinitialise everything.
I have also been frustratting not to be able to play ALAC Tracks.

I'm sure the core problem is the UPnP setting (streaming profile), where I don't clearly understand what I have to parameter, in order to enjoy this pluggin.

I know we are alredy page 51 in this forum, and then so be sure somebody has probably faced same trouble shouting, but please if someone knows where I can find all answer, I already thanks him a lot!
I'm filling nervus not being able to tune it properly by myself!! 

Please Help! (or send me his config!)
Title: foo_upnp
Post by: Sixth Street on 2011-07-21 23:02:41
Is there a way to use command line encoders with foo_upnp?
Title: foo_upnp
Post by: Marcus28 on 2011-07-22 22:23:34
So, I've made some other trial this evening with same results as last post.
 tried to set user agent with what I could read as advices and explanations from bubblegum.

If someone , or himself could have a look in my log file, and return what's wrong, it will be great! 

[code]0.000: foo_upnp::on_init(136)/4008: INFO: foo_upnp: version 0.99.34
0.016: PLT_UPnP::Start(211)/4008: INFO: Starting UPnP...
0.047: standard_media_tree_root_node_t::load_ml_filters(553)/4008: INFO: loaded Media Library filters from C:\Program Files\foobar2000\foo_upnp_ml_tree.xml
0.063: PLT_UPnP::AddDevice(343)/4008: INFO: Starting Device...
0.078: PLT_HttpServer::Start(109)/4008: INFO: HttpServer listening on 0.0.0.0:56923
0.094: PLT_UPnP::AddDevice(343)/4008: INFO: Starting Device...
0.110: PLT_HttpServer::Start(109)/4008: INFO: HttpServer listening on 0.0.0.0:51321
initialized in 0.141s
created 12590 path registry entries in 0.375s
2.063: FbMediaServer::ProcessHttpRequest(330)/668: INFO: received LAN request: http://192.168.0.10:56923/DeviceDescription.xml (http://192.168.0.10:56923/DeviceDescription.xml) (User-Agent: SMP8634, UPnP/1.0, DLNADOC/1.00 INTEL_NMPR/2.1)
2.141: FbMediaServer::ProcessGetDescription(414)/668: INFO: ProcessGetDescription: user-agent: SMP8634, UPnP/1.0, DLNADOC/1.00 INTEL_NMPR/2.1
3.563: FbMediaServer::ProcessHttpRequest(330)/668: INFO: received LAN request: http://192.168.0.10:56923/X_MS_MediaReceiv...61db1/event.xml (http://192.168.0.10:56923/X_MS_MediaReceiverRegistrar/9759ce9c-4dcc-9794-88b2-9b3d32961db1/event.xml) (User-Agent: SMP8634, UPnP/1.0, DLNADOC/1.00 INTEL_NMPR/2.1)
3.563: PLT_Service::ProcessNewSubscription(534)/668: INFO: New subscription for X_MS_MediaReceiverRegistrar/9759ce9c-4dcc-9794-88b2-9b3d32961db1/event.xml, sid=uuid:4fa802cf-30ab-ce59-33a2-f97da6d62b6d
3.891: FbMediaServer::ProcessHttpRequest(330)/552: INFO: received LAN request: http://192.168.0.10:56923/X_MS_MediaReceiv...db1/control.xml (http://192.168.0.10:56923/X_MS_MediaReceiverRegistrar/9759ce9c-4dcc-9794-88b2-9b3d32961db1/control.xml) (User-Agent: SMP8634, UPnP/1.0, DLNADOC/1.00 INTEL_NMPR/2.1)
4.063: FbMediaServer::OnAction(261)/552: INFO: received action 'IsAuthorized', args = { DeviceID= }
4.063: FbMediaServer::OnAction(284)/552: INFO: action 'IsAuthorized' response: args = { DeviceID=,  }
4.610: FbMediaServer::ProcessHttpRequest(330)/2784: INFO: received LAN request: http://192.168.0.10:56923/ContentDirectory...db1/control.xml (http://192.168.0.10:56923/ContentDirectory/9759ce9c-4dcc-9794-88b2-9b3d32961db1/control.xml) (User-Agent: SMP8634, UPnP/1.0, DLNADOC/1.00 INTEL_NMPR/2.1)
4.641: FbMediaServer::OnAction(261)/2784: INFO: received action 'Browse', args = { ObjectID=0, BrowseFlag=BrowseMetadata, Filter=dc:title,dc:creator,upnp:class,res,res@duration,res@protection,res@resolution,upnp:albumArtUR
I,upnp:artist,upnp:album,upnp:originalTrackNumber, StartingIndex=0, RequestedCount=0, SortCriteria= }
4.641: PLT_MediaServer::OnBrowse(380)/2784: INFO: Received BrowseMetadata from 192.168.0.12 for id = 0 with filter = dc:title,dc:creator,upnp:class,res,res@duration,res@protection,res@resolution,upnp:albumArtURI,upnp:
artist,upnp:album,upnp:originalTrackNumber, start = 0, count = 0
4.641: FbMediaServer::OnBrowseMetadata(957)/2784: INFO: Server not ready
4.641: FbMediaServer::OnAction(284)/2784: INFO: action 'Browse' response: args = { ObjectID=0, BrowseFlag=BrowseMetadata, Filter=dc:title,dc:creator,upnp:class,res,res@duration,res@protection,res@resolution,upnp:albumArtUR
I,upnp:artist,upnp:album,upnp:originalTrackNumber, StartingIndex=0, RequestedCount=0, SortCriteria= }
loaded Media Library tree in 5.031s
5.094: FbMediaServer::ProcessHttpRequest(330)/3848: INFO: received LAN request: http://192.168.0.10:56923/X_MS_MediaReceiv...db1/control.xml (http://192.168.0.10:56923/X_MS_MediaReceiverRegistrar/9759ce9c-4dcc-9794-88b2-9b3d32961db1/control.xml) (User-Agent: SMP8634, UPnP/1.0, DLNADOC/1.00 INTEL_NMPR/2.1)
5.094: FbMediaServer::OnAction(261)/3848: INFO: received action 'IsAuthorized', args = { DeviceID= }
5.094: FbMediaServer::OnAction(284)/3848: INFO: action 'IsAuthorized' response: args = { DeviceID=,  }
5.297: FbMediaServer::ProcessHttpRequest(330)/3496: INFO: received LAN request: http://192.168.0.10:56923/X_MS_MediaReceiv...db1/control.xml (http://192.168.0.10:56923/X_MS_MediaReceiverRegistrar/9759ce9c-4dcc-9794-88b2-9b3d32961db1/control.xml) (User-Agent: SMP8634, UPnP/1.0, DLNADOC/1.00 INTEL_NMPR/2.1)
5.297: FbMediaServer::OnAction(261)/3496: INFO: received action 'IsValidated', args = { DeviceID= }
5.297: FbMediaServer::OnAction(284)/3496: INFO: action 'IsValidated' response: args = { DeviceID=,  }
5.500: FbMediaServer::ProcessHttpRequest(330)/4052: INFO: received LAN request: http://192.168.0.10:56923/ContentDirectory...db1/control.xml (http://192.168.0.10:56923/ContentDirectory/9759ce9c-4dcc-9794-88b2-9b3d32961db1/control.xml) (User-Agent: SMP8634, UPnP/1.0, DLNADOC/1.00 INTEL_NMPR/2.1)
5.516: FbMediaServer::OnAction(261)/4052: INFO: received action 'GetSearchCapabilities', args = {  }
5.516: FbMediaServer::OnAction(284)/4052: INFO: action 'GetSearchCapabilities' response: args = { SearchCaps=upnp:class,dc:title,upnp:artist }
5.703: FbMediaServer::ProcessHttpRequest(330)/2364: INFO: received LAN request: http://192.168.0.10:56923/ContentDirectory...db1/control.xml (http://192.168.0.10:56923/ContentDirectory/9759ce9c-4dcc-9794-88b2-9b3d32961db1/control.xml) (User-Agent: SMP8634, UPnP/1.0, DLNADOC/1.00 INTEL_NMPR/2.1)
5.703: FbMediaServer::OnAction(261)/2364: INFO: received action 'GetSortCapabilities', args = {  }
5.703: FbMediaServer::OnAction(284)/2364: INFO: action 'GetSortCapabilities' response: args = { SortCaps= }
5.797: FbMediaServer::ProcessHttpRequest(330)/2008: INFO: received LAN request: http://192.168.0.10:56923/ContentDirectory...db1/control.xml (http://192.168.0.10:56923/ContentDirectory/9759ce9c-4dcc-9794-88b2-9b3d32961db1/control.xml) (User-Agent: SMP8634, UPnP/1.0, DLNADOC/1.00 INTEL_NMPR/2.1)
5.797: FbMediaServer::OnAction(261)/2008: INFO: received action 'Browse', args = { ObjectID=0, BrowseFlag=BrowseMetadata, Filter=dc:title,dc:creator,upnp:class,res,res@duration,res@protection,res@resolution,upnp:albumArtUR
I,upnp:artist,upnp:album,upnp:originalTrackNumber, StartingIndex=0, RequestedCount=0, SortCriteria= }
5.797: PLT_MediaServer::OnBrowse(380)/2008: INFO: Received BrowseMetadata from 192.168.0.12 for id = 0 with filter = dc:title,dc:creator,upnp:class,res,res@duration,res@protection,res@resolution,upnp:albumArtURI,upnp:
artist,upnp:album,upnp:originalTrackNumber, start = 0, count = 0
5.797: FbMediaServer::OnAction(284)/2008: INFO: action 'Browse' response: args = { ObjectID=0, BrowseFlag=BrowseMetadata, Filter=dc:title,dc:creator,upnp:class,res,res@duration,res@protection,res@resolution,upnp:albumArtUR
I,upnp:artist,upnp:album,upnp:originalTrackNumber, StartingIndex=0, RequestedCount=0, SortCriteria=, NumberReturned=1, TotalMatches=1, UpdateID=0 }
8.000: controller_window::set_track_info_string(1030)/4008: INFO: track info display:
8.000: PLT_UPnP::AddCtrlPoint(384)/4008: INFO: Starting Ctrlpoint...
8.000: PLT_HttpServer::Start(109)/4008: INFO: HttpServer listening on 0.0.0.0:52396
8.016: PLT_CtrlPoint::InspectDevice(1104)/2176: INFO: New device "7076436f-6e65-1063-8074-0090a9b0b0ca" detected @ http://192.168.0.11:9000/DeviceDescription.xml (http://192.168.0.11:9000/DeviceDescription.xml)
8.016: PLT_CtrlPoint::InspectDevice(1104)/3612: INFO: New device "73656761-7465-7375-636b-0090a9b0b0ca" detected @ http://192.168.0.11:49152/nasdevice.xml (http://192.168.0.11:49152/nasdevice.xml)
8.032: PLT_CtrlPoint::InspectDevice(1104)/2176: INFO: New device "00-06-DC-44-8E-66" detected @ http://192.168.0.12:6357/ (http://192.168.0.12:6357/)
8.032: PLT_CtrlPoint::InspectDevice(1104)/3612: INFO: New device "757569643a003a063adc3a443a8e3a66" detected @ http://192.168.0.12:8888/ (http://192.168.0.12:8888/)
8.032: PLT_CtrlPoint::InspectDevice(1104)/2176: INFO: New device "f6edff09-71a4-47df-8088-192.168.0.12" detected @ http://192.168.0.12:61387/ (http://192.168.0.12:61387/)
8.782: FbMediaServer::ProcessHttpRequest(330)/3340: INFO: received LAN request: http://127.0.0.1:56923/DeviceDescription.xml (http://127.0.0.1:56923/DeviceDescription.xml) (User-Agent: Mozilla/4.0 (compatible; UPnP/1.0; Windows NT/5.1))
8.782: FbMediaServer::ProcessGetDescription(414)/3340: INFO: ProcessGetDescription: user-agent: Mozilla/4.0 (compatible; UPnP/1.0; Windows NT/5.1)
9.078: PLT_CtrlPoint::ProcessGetDescriptionResponse(1179)/1312: INFO: Received device description for 7076436f-6e65-1063-8074-0090a9b0b0ca (result = 0)
9.078: PLT_CtrlPoint::ProcessGetDescriptionResponse(1179)/3468: INFO: Received device description for 757569643a003a063adc3a443a8e3a66 (result = 0)
9.078: PLT_CtrlPoint::ProcessGetDescriptionResponse(1234)/1312: INFO: Device "7076436f-6e65-1063-8074-0090a9b0b0ca" is now known as "MyBookLive-Twonky"
9.078: PLT_AddGetSCPDRequestIterator::operator ()(142)/1312: INFO: Queueing SCPD request for service "urn:upnp-org:serviceId:ConnectionManager" of device "MyBookLive-Twonky" @ http://192.168.0.11:9000/ConnectionManager.xml (http://192.168.0.11:9000/ConnectionManager.xml)
9.078: PLT_AddGetSCPDRequestIterator::operator ()(142)/1312: INFO: Queueing SCPD request for service "urn:upnp-org:serviceId:ContentDirectory" of device "MyBookLive-Twonky" @ http://192.168.0.11:9000/ContentDirectory.xml (http://192.168.0.11:9000/ContentDirectory.xml)
9.078: PLT_AddGetSCPDRequestIterator::operator ()(142)/1312: INFO: Queueing SCPD request for service "urn:microsoft.com:serviceId:X_MS_MediaReceiverRegistrar" of device "MyBookLive-Twonky" @ http://192.168.0.11:9000/MediaReceiverRegistrar.xml (http://192.168.0.11:9000/MediaReceiverRegistrar.xml)
9.078: PLT_CtrlPoint::ProcessGetDescriptionResponse(1234)/3468: INFO: Device "757569643a003a063adc3a443a8e3a66" is now known as "SMP8634: UPnP AV Server"
9.078: PLT_AddGetSCPDRequestIterator::operator ()(142)/3468: INFO: Queueing SCPD request for service "urn:upnp-org:serviceId:ConnectionManager" of device "SMP8634: UPnP AV Server" @ http://192.168.0.12:8888/ConnectionManager/scpd.xml (http://192.168.0.12:8888/ConnectionManager/scpd.xml)
9.078: PLT_AddGetSCPDRequestIterator::operator ()(142)/3468: INFO: Queueing SCPD request for service "urn:upnp-org:serviceId:ContentDirectory" of device "SMP8634: UPnP AV Server" @ http://192.168.0.12:8888/ContentDirectory/scpd.xml (http://192.168.0.12:8888/ContentDirectory/scpd.xml)
9.078: PLT_CtrlPoint::ProcessGetDescriptionResponse(1179)/1580: INFO: Received device description for f6edff09-71a4-47df-8088-192.168.0.12 (result = 0)
9.078: PLT_CtrlPoint::ProcessGetDescriptionResponse(1234)/1580: INFO: Device "f6edff09-71a4-47df-8088-192.168.0.12" is now known as "SMP8634 (myiHome Lite)"
9.078: PLT_AddGetSCPDRequestIterator::operator ()(142)/1580: INFO: Queueing SCPD request for service "urn:upnp-org:serviceId:WANCommonInterfaceConfig" of device "SMP8634 (myiHome Lite)" @ http://192.168.0.12:61387/MediaService/scpd.xml (http://192.168.0.12:61387/MediaService/scpd.xml)
9.078: PLT_CtrlPoint::ProcessGetDescriptionResponse(1179)/2360: INFO: Received device description for 73656761-7465-7375-636b-0090a9b0b0ca (result = 0)
9.078: PLT_CtrlPoint::ProcessGetDescriptionResponse(1234)/2360: INFO: Device "73656761-7465-7375-636b-0090a9b0b0ca" is now known as "MyBookLive"
9.078: PLT_AddGetSCPDRequestIterator::operator ()(142)/2360: INFO: Queueing SCPD request for service "urn:microsoft-com:serviceId:NULL" of device "MyBookLive" @ http://192.168.0.11:49152/XD/NULL.xml (http://192.168.0.11:49152/XD/NULL.xml)
9.078: PLT_CtrlPoint::ProcessGetDescriptionResponse(1179)/4032: INFO: Received device description for 00-06-DC-44-8E-66 (result = 0)
9.094: PLT_CtrlPoint::ProcessGetDescriptionResponse(1234)/4032: INFO: Device "00-06-DC-44-8E-66" is now known as "SMP8634 (00-06-DC-44-8E-66)"
9.094: PLT_AddGetSCPDRequestIterator::operator ()(142)/4032: INFO: Queueing SCPD request for service "urn:upnp-org:serviceId:urn:schemas-upnp-org:service:AVTransport" of device "SMP8634 (00-06-DC-44-8E-66)" @ http://192.168.0.12:6357/MediaRenderer_AVTransport/scpd.xml (http://192.168.0.12:6357/MediaRenderer_AVTransport/scpd.xml)
9.094: PLT_AddGetSCPDRequestIterator::operator ()(142)/4032: INFO: Queueing SCPD request for service "urn:upnp-org:serviceId:urn:schemas-upnp-org:service:ConnectionManager" of device "SMP8634 (00-06-DC-44-8E-66)" @ http://192.168.0.12:6357/MediaRenderer_Con...anager/scpd.xml (http://192.168.0.12:6357/MediaRenderer_ConnectionManager/scpd.xml)
9.094: PLT_AddGetSCPDRequestIterator::operator ()(142)/4032: INFO: Queueing SCPD request for service "urn:upnp-org:serviceId:urn:schemas-upnp-org:service:RenderingControl" of device "SMP8634 (00-06-DC-44-8E-66)" @ http://192.168.0.12:6357/MediaRenderer_Ren...ontrol/scpd.xml (http://192.168.0.12:6357/MediaRenderer_RenderingControl/scpd.xml)
9.203: PLT_CtrlPoint::ProcessGetSCPDResponse(1300)/1620: INFO: Received SCPD response for a service of device "SMP8634 (myiHome Lite)" @ http://192.168.0.12:61387/MediaService/scpd.xml (http://192.168.0.12:61387/MediaService/scpd.xml) (result = 0)
9.203: PLT_Service::SetSCPDXML(197)/1620: SEVERE: NPT_CHECK failed, result=-20011 (NPT_ERROR_INVALID_SYNTAX) [(NPT_ERROR_INVALID_SYNTAX)]
9.203: PLT_Service::SetSCPDXML(335)/1620: FATAL: Failed to parse scpd: <?xml version="1.0" encoding="utf-8"?><scpd xmlns="urn:schemas-upnp-org:service-1-0"><specVersion><major>1</major><minor>0</minor></specVersion><actionList /><serviceStateTable /></scpd>
9.203: PLT_CtrlPoint::ProcessGetSCPDResponse(1324)/1620: SEVERE: NPT_CHECK failed, result=-1 (FAILURE) [(res)]
9.203: PLT_CtrlPoint::ProcessGetSCPDResponse(1336)/1620: SEVERE: Bad SCPD response for device "SMP8634 (myiHome Lite)":<?xml version="1.0" encoding="utf-8"?><scpd xmlns="urn:schemas-upnp-org:service-1-0"><specVersion><major>1</major><minor>0</minor></specVersion><actionList /><serviceStateTable /></scpd>
9.203: PLT_CtrlPoint::CleanupDevice(1004)/1620: INFO: Removing f6edff09-71a4-47df-8088-192.168.0.12 from device list

9.203: PLT_CtrlPoint::ProcessGetSCPDResponse(1300)/3520: INFO: Received SCPD response for a service of device "MyBookLive" @ http://192.168.0.11:49152/XD/NULL.xml (http://192.168.0.11:49152/XD/NULL.xml) (result = 0)
9.203: PLT_Service::SetSCPDXML(191)/3520: SEVERE: NPT_CHECK failed, result=-20011 (NPT_ERROR_INVALID_SYNTAX) [(NPT_ERROR_INVALID_SYNTAX)]
9.203: PLT_Service::SetSCPDXML(335)/3520: FATAL: Failed to parse scpd: <html><body><h1>404 Not Found</h1></body></html>
9.203: PLT_CtrlPoint::ProcessGetSCPDResponse(1324)/3520: SEVERE: NPT_CHECK failed, result=-1 (FAILURE) [(res)]
9.203: PLT_CtrlPoint::ProcessGetSCPDResponse(1336)/3520: SEVERE: Bad SCPD response for device "MyBookLive":<html><body><h1>404 Not Found</h1></body></html>
9.203: PLT_CtrlPoint::CleanupDevice(1004)/3520: INFO: Removing 73656761-7465-7375-636b-0090a9b0b0ca from device list

9.297: PLT_CtrlPoint::ProcessGetSCPDResponse(1300)/3504: INFO: Received SCPD response for a service of device "SMP8634: UPnP AV Server" @ http://192.168.0.12:8888/ConnectionManager/scpd.xml (http://192.168.0.12:8888/ConnectionManager/scpd.xml) (result = 0)
9.313: PLT_CtrlPoint::ProcessGetSCPDResponse(1300)/2916: INFO: Received SCPD response for a service of device "MyBookLive-Twonky" @ http://192.168.0.11:9000/ConnectionManager.xml (http://192.168.0.11:9000/ConnectionManager.xml) (result = 0)
9.328: PLT_CtrlPoint::ProcessGetSCPDResponse(1300)/2536: INFO: Received SCPD response for a service of device "SMP8634 (00-06-DC-44-8E-66)" @ http://192.168.0.12:6357/MediaRenderer_AVTransport/scpd.xml (http://192.168.0.12:6357/MediaRenderer_AVTransport/scpd.xml) (result = 0)
9.328: PLT_CtrlPoint::ProcessGetSCPDResponse(1300)/3504: INFO: Received SCPD response for a service of device "SMP8634: UPnP AV Server" @ http://192.168.0.12:8888/ContentDirectory/scpd.xml (http://192.168.0.12:8888/ContentDirectory/scpd.xml) (result = 0)
9.328: PLT_CtrlPoint::ProcessGetSCPDResponse(1300)/2916: INFO: Received SCPD response for a service of device "MyBookLive-Twonky" @ http://192.168.0.11:9000/ContentDirectory.xml (http://192.168.0.11:9000/ContentDirectory.xml) (result = 0)
9.328: LinnDsRendererController::Create(117)/4008: INFO: couldn't find urn:av-openhome-org:service:Product:1 service
9.344: PLT_CtrlPoint::InspectDevice(1104)/2176: INFO: New device "73656761-7465-7375-636b-0090a9b0b0ca" detected @ http://192.168.0.11:49152/nasdevice.xml (http://192.168.0.11:49152/nasdevice.xml)
9.360: PLT_CtrlPoint::ProcessGetSCPDResponse(1300)/2916: INFO: Received SCPD response for a service of device "MyBookLive-Twonky" @ http://192.168.0.11:9000/MediaReceiverRegistrar.xml (http://192.168.0.11:9000/MediaReceiverRegistrar.xml) (result = 0)
9.360: LinnDsRendererController::Create(117)/4008: INFO: couldn't find urn:av-openhome-org:service:Product:1 service
9.360: PLT_CtrlPoint::ProcessGetSCPDResponse(1300)/2536: INFO: Received SCPD response for a service of device "SMP8634 (00-06-DC-44-8E-66)" @ http://192.168.0.12:6357/MediaRenderer_Con...anager/scpd.xml (http://192.168.0.12:6357/MediaRenderer_ConnectionManager/scpd.xml) (result = 0)
9.360: PLT_CtrlPoint::ProcessGetSCPDResponse(1300)/2536: INFO: Received SCPD response for a service of device "SMP8634 (00-06-DC-44-8E-66)" @ http://192.168.0.12:6357/MediaRenderer_Ren...ontrol/scpd.xml (http://192.168.0.12:6357/MediaRenderer_RenderingControl/scpd.xml) (result = 0)
9.360: LinnDsRendererController::Create(117)/4008: INFO: couldn't find urn:av-openhome-org:service:Product:1 service
9.360: RendererController::Create(53)/4008: INFO: Created UPnPAv Controller for device: SMP8634 (00-06-DC-44-8E-66)
9.360: controller_window::set_track_info_string(1030)/4008: INFO: track info display: Stopped
9.360: PLT_CtrlPoint::Subscribe(1441)/4008: INFO: Subscribing to service "urn:upnp-org:serviceId:urn:schemas-upnp-org:service:RenderingControl" of device "SMP8634 (00-06-DC-44-8E-66)"
9.375: RendererController::InvokeAction(88)/4008: INFO: >>>> CALL GetProtocolInfo
9.391: RendererController::InvokeAction(88)/3648: INFO: >>>> CALL GetTransportInfo
9.407: PLT_CtrlPoint::ProcessSubscribeResponse(1517)/3172: INFO: Received subscription response for service "urn:upnp-org:serviceId:urn:schemas-upnp-org:service:RenderingControl" (result = 0)
9.407: PLT_CtrlPoint::ProcessSubscribeResponse(1540)/3172: INFO: Creating new subscriber "uuid:b18fbcc3-cf5f-19f0-43d7-6aea3e7c8f44" for service "urn:upnp-org:serviceId:urn:schemas-upnp-org:service:RenderingControl" of device "SMP8634 (00-06-DC-44-8E-66)"
9.407: RendererController::OnActionResponse(127)/3624: INFO: <<<< SMP8634 (00-06-DC-44-8E-66): RET GetProtocolInfo: res = 0
9.407: UPnPAVRendererController::OnEventNotifyCallback(394)/4008: INFO: <<<< SMP8634 (00-06-DC-44-8E-66): EVENT Volume=15
9.407: RendererController::OnActionResponse(127)/1840: INFO: <<<< SMP8634 (00-06-DC-44-8E-66): RET GetTransportInfo: res = 0
9.407: UPnPAVRendererController::set_transport_state(215)/4008: INFO: No local playing item
9.407: controller_window::set_track_info_string(1030)/4008: INFO: track info display: Stopped
10.032: PLT_CtrlPoint::InspectDevice(1104)/2140: INFO: New device "f6edff09-71a4-47df-8088-192.168.0.12" detected @ http://192.168.0.12:61387/ (http://192.168.0.12:61387/)
10.391: PLT_CtrlPoint::ProcessGetDescriptionResponse(1179)/3600: INFO: Received device description for 73656761-7465-7375-636b-0090a9b0b0ca (result = 0)
10.391: PLT_CtrlPoint::ProcessGetDescriptionResponse(1234)/3600: INFO: Device "73656761-7465-7375-636b-0090a9b0b0ca" is now known as "MyBookLive"
10.391: PLT_AddGetSCPDRequestIterator::operator ()(142)/3600: INFO: Queueing SCPD request for service "urn:microsoft-com:serviceId:NULL" of device "MyBookLive" @ http://192.168.0.11:49152/XD/NULL.xml (http://192.168.0.11:49152/XD/NULL.xml)
10.407: RendererController::InvokeAction(88)/3648: INFO: >>>> CALL GetTransportInfo
10.438: RendererController::OnActionResponse(127)/3124: INFO: <<<< SMP8634 (00-06-DC-44-8E-66): RET GetTransportInfo: res = 0
10.610: PLT_CtrlPoint::ProcessGetSCPDResponse(1300)/2688: INFO: Received SCPD response for a service of device "MyBookLive" @ http://192.168.0.11:49152/XD/NULL.xml (http://192.168.0.11:49152/XD/NULL.xml) (result = 0)
10.610: PLT_Service::SetSCPDXML(191)/2688: SEVERE: NPT_CHECK failed, result=-20011 (NPT_ERROR_INVALID_SYNTAX) [(NPT_ERROR_INVALID_SYNTAX)]
10.610: PLT_Service::SetSCPDXML(335)/2688: FATAL: Failed to parse scpd: <html><body><h1>404 Not Found</h1></body></html>
10.610: PLT_CtrlPoint::ProcessGetSCPDResponse(1324)/2688: SEVERE: NPT_CHECK failed, result=-1 (FAILURE) [(res)]
10.610: PLT_CtrlPoint::ProcessGetSCPDResponse(1336)/2688: SEVERE: Bad SCPD response for device "MyBookLive":<html><body><h1>404 Not Found</h1></body></html>
10.610: PLT_CtrlPoint::CleanupDevice(1004)/2688: INFO: Removing 73656761-7465-7375-636b-0090a9b0b0ca from device list

10.953: PLT_CtrlPoint::InspectDevice(1104)/3532: INFO: New device "73656761-7465-7375-636b-0090a9b0b0ca" detected @ http://192.168.0.11:49152/nasdevice.xml (http://192.168.0.11:49152/nasdevice.xml)
11.063: PLT_CtrlPoint::ProcessGetDescriptionResponse(1179)/4060: INFO: Received device description for f6edff09-71a4-47df-8088-192.168.0.12 (result = 0)
11.063: PLT_CtrlPoint::ProcessGetDescriptionResponse(1234)/4060: INFO: Device "f6edff09-71a4-47df-8088-192.168.0.12" is now known as "SMP8634 (myiHome Lite)"
11.063: PLT_AddGetSCPDRequestIterator::operator ()(142)/4060: INFO: Queueing SCPD request for service "urn:upnp-org:serviceId:WANCommonInterfaceConfig" of device "SMP8634 (myiHome Lite)" @ http://192.168.0.12:61387/MediaService/scpd.xml (http://192.168.0.12:61387/MediaService/scpd.xml)
11.297: PLT_CtrlPoint::ProcessGetSCPDResponse(1300)/1916: INFO: Received SCPD response for a service of device "SMP8634 (myiHome Lite)" @ http://192.168.0.12:61387/MediaService/scpd.xml (http://192.168.0.12:61387/MediaService/scpd.xml) (result = 0)
11.297: PLT_Service::SetSCPDXML(197)/1916: SEVERE: NPT_CHECK failed, result=-20011 (NPT_ERROR_INVALID_SYNTAX) [(NPT_ERROR_INVALID_SYNTAX)]
11.297: PLT_Service::SetSCPDXML(335)/1916: FATAL: Failed to parse scpd: <?xml version="1.0" encoding="utf-8"?><scpd xmlns="urn:schemas-upnp-org:service-1-0"><specVersion><major>1</major><minor>0</minor></specVersion><actionList /><serviceStateTable /></scpd>
11.297: PLT_CtrlPoint::ProcessGetSCPDResponse(1324)/1916: SEVERE: NPT_CHECK failed, result=-1 (FAILURE) [(res)]
11.297: PLT_CtrlPoint::ProcessGetSCPDResponse(1336)/1916: SEVERE: Bad SCPD response for device "SMP8634 (myiHome Lite)":<?xml version="1.0" encoding="utf-8"?><scpd xmlns="urn:schemas-upnp-org:service-1-0"><specVersion><major>1</major><minor>0</minor></specVersion><actionList /><serviceStateTable /></scpd>
11.297: PLT_CtrlPoint::CleanupDevice(1004)/1916: INFO: Removing f6edff09-71a4-47df-8088-192.168.0.12 from device list

11.438: RendererController::InvokeAction(88)/3648: INFO: >>>> CALL GetTransportInfo
11.453: RendererController::OnActionResponse(127)/3220: INFO: <<<< SMP8634 (00-06-DC-44-8E-66): RET GetTransportInfo: res = 0
11.985: PLT_CtrlPoint::ProcessGetDescriptionResponse(1179)/2372: INFO: Received device description for 73656761-7465-7375-636b-0090a9b0b0ca (result = 0)
11.985: PLT_CtrlPoint::ProcessGetDescriptionResponse(1234)/2372: INFO: Device "73656761-7465-7375-636b-0090a9b0b0ca" is now known as "MyBookLive"
11.985: PLT_AddGetSCPDRequestIterator::operator ()(142)/2372: INFO: Queueing SCPD request for service "urn:microsoft-com:serviceId:NULL" of device "MyBookLive" @ http://192.168.0.11:49152/XD/NULL.xml (http://192.168.0.11:49152/XD/NULL.xml)
12.016: PLT_CtrlPoint::InspectDevice(1104)/2176: INFO: New device "f6edff09-71a4-47df-8088-192.168.0.12" detected @ http://192.168.0.12:61387/ (http://192.168.0.12:61387/)
12.094: PLT_CtrlPoint::ProcessGetSCPDResponse(1300)/3284: INFO: Received SCPD response for a service of device "MyBookLive" @ http://192.168.0.11:49152/XD/NULL.xml (http://192.168.0.11:49152/XD/NULL.xml) (result = 0)
12.094: PLT_Service::SetSCPDXML(191)/3284: SEVERE: NPT_CHECK failed, result=-20011 (NPT_ERROR_INVALID_SYNTAX) [(NPT_ERROR_INVALID_SYNTAX)]
12.094: PLT_Service::SetSCPDXML(335)/3284: FATAL: Failed to parse scpd: <html><body><h1>404 Not Found</h1></body></html>
12.094: PLT_CtrlPoint::ProcessGetSCPDResponse(1324)/3284: SEVERE: NPT_CHECK failed, result=-1 (FAILURE) [(res)]
12.094: PLT_CtrlPoint::ProcessGetSCPDResponse(1336)/3284: SEVERE: Bad SCPD response for device "MyBookLive":<html><body><h1>404 Not Found</h1></body></html>
12.094: PLT_CtrlPoint::CleanupDevice(1004)/3284: INFO: Removing 73656761-7465-7375-636b-0090a9b0b0ca from device list

12.453: RendererController::InvokeAction(88)/3648: INFO: >>>> CALL GetTransportInfo
12.485: RendererController::OnActionResponse(127)/3888: INFO: <<<< SMP8634 (00-06-DC-44-8E-66): RET GetTransportInfo: res = 0
13.047: PLT_CtrlPoint::ProcessGetDescriptionResponse(1179)/740: INFO: Received device description for f6edff09-71a4-47df-8088-192.168.0.12 (result = 0)
13.047: PLT_CtrlPoint::ProcessGetDescriptionResponse(1234)/740: INFO: Device "f6edff09-71a4-47df-8088-192.168.0.12" is now known as "SMP8634 (myiHome Lite)"
13.047: PLT_AddGetSCPDRequestIterator::operator ()(142)/740: INFO: Queueing SCPD request for service "urn:upnp-org:serviceId:WANCommonInterfaceConfig" of device "SMP8634 (myiHome Lite)" @ http://192.168.0.12:61387/MediaService/scpd.xml (http://192.168.0.12:61387/MediaService/scpd.xml)
13.172: PLT_CtrlPoint::ProcessGetSCPDResponse(1300)/1588: INFO: Received SCPD response for a service of device "SMP8634 (myiHome Lite)" @ http://192.168.0.12:61387/MediaService/scpd.xml (http://192.168.0.12:61387/MediaService/scpd.xml) (result = 0)
13.172: PLT_Service::SetSCPDXML(197)/1588: SEVERE: NPT_CHECK failed, result=-20011 (NPT_ERROR_INVALID_SYNTAX) [(NPT_ERROR_INVALID_SYNTAX)]
13.172: PLT_Service::SetSCPDXML(335)/1588: FATAL: Failed to parse scpd: <?xml version="1.0" encoding="utf-8"?><scpd xmlns="urn:schemas-upnp-org:service-1-0"><specVersion><major>1</major><minor>0</minor></specVersion><actionList /><serviceStateTable /></scpd>
13.172: PLT_CtrlPoint::ProcessGetSCPDResponse(1324)/1588: SEVERE: NPT_CHECK failed, result=-1 (FAILURE) [(res)]
13.172: PLT_CtrlPoint::ProcessGetSCPDResponse(1336)/1588: SEVERE: Bad SCPD response for device "SMP8634 (myiHome Lite)":<?xml version="1.0" encoding="utf-8"?><scpd xmlns="urn:schemas-upnp-org:service-1-0"><specVersion><major>1</major><minor>0</minor></specVersion><actionList /><serviceStateTable /></scpd>
13.172: PLT_CtrlPoint::CleanupDevice(1004)/1588: INFO: Removing f6edff09-71a4-47df-8088-192.168.0.12 from device list

13.485: RendererController::InvokeAction(88)/3648: INFO: >>>> CALL GetTransportInfo
13.500: RendererController::OnActionResponse(127)/380: INFO: <<<< SMP8634 (00-06-DC-44-8E-66): RET GetTransportInfo: res = 0
14.078: PLT_UPnP::AddCtrlPoint(384)/4008: INFO: Starting Ctrlpoint...
14.078: PLT_HttpServer::Start(109)/4008: INFO: HttpServer listening on 0.0.0.0:54782
14.094: PLT_CtrlPoint::InspectDevice(1104)/1792: INFO: New device "757569643a003a063adc3a443a8e3a66" detected @ http://192.168.0.12:8888/ (http://192.168.0.12:8888/)
14.110: PLT_CtrlPoint::InspectDevice(1104)/2536: INFO: New device "73656761-7465-7375-636b-0090a9b0b0ca" detected @ http://192.168.0.11:49152/nasdevice.xml (http://192.168.0.11:49152/nasdevice.xml)
14.125: PLT_CtrlPoint::InspectDevice(1104)/2536: INFO: New device "00-06-DC-44-8E-66" detected @ http://192.168.0.12:6357/ (http://192.168.0.12:6357/)
14.125: PLT_CtrlPoint::InspectDevice(1104)/2536: INFO: New device "f6edff09-71a4-47df-8088-192.168.0.12" detected @ http://192.168.0.12:61387/ (http://192.168.0.12:61387/)
14.125: PLT_CtrlPoint::InspectDevice(1104)/3820: INFO: New device "7076436f-6e65-1063-8074-0090a9b0b0ca" detected @ http://192.168.0.11:9000/DeviceDescription.xml (http://192.168.0.11:9000/DeviceDescription.xml)
14.500: RendererController::InvokeAction(88)/3648: INFO: >>>> CALL GetTransportInfo
14.532: RendererController::OnActionResponse(127)/3696: INFO: <<<< SMP8634 (00-06-DC-44-8E-66): RET GetTransportInfo: res = 0
15.157: PLT_CtrlPoint::ProcessGetDescriptionResponse(1179)/3788: INFO: Received device description for 73656761-7465-7375-636b-0090a9b0b0ca (result = 0)
15.157: PLT_CtrlPoint::ProcessGetDescriptionResponse(1179)/3988: INFO: Received device description for 757569643a003a063adc3a443a8e3a66 (result = 0)
15.157: PLT_CtrlPoint::ProcessGetDescriptionResponse(1234)/3788: INFO: Device "73656761-7465-7375-636b-0090a9b0b0ca" is now known as "MyBookLive"
15.157: PLT_AddGetSCPDRequestIterator::operator ()(142)/3788: INFO: Queueing SCPD request for service "urn:microsoft-com:serviceId:NULL" of device "MyBookLive" @ http://192.168.0.11:49152/XD/NULL.xml (http://192.168.0.11:49152/XD/NULL.xml)
15.157: PLT_CtrlPoint::ProcessGetDescriptionResponse(1234)/3988: INFO: Device "757569643a003a063adc3a443a8e3a66" is now known as "SMP8634: UPnP AV Server"
15.157: PLT_AddGetSCPDRequestIterator::operator ()(142)/3988: INFO: Queueing SCPD request for service "urn:upnp-org:serviceId:ConnectionManager" of device "SMP8634: UPnP AV Server" @ http://192.168.0.12:8888/ConnectionManager/scpd.xml (http://192.168.0.12:8888/ConnectionManager/scpd.xml)
15.157: PLT_AddGetSCPDRequestIterator::operator ()(142)/3988: INFO: Queueing SCPD request for service "urn:upnp-org:serviceId:ContentDirectory" of device "SMP8634: UPnP AV Server" @ http://192.168.0.12:8888/ContentDirectory/scpd.xml (http://192.168.0.12:8888/ContentDirectory/scpd.xml)
15.172: PLT_CtrlPoint::ProcessGetDescriptionResponse(1179)/2844: INFO: Received device description for f6edff09-71a4-47df-8088-192.168.0.12 (result = 0)
15.172: PLT_CtrlPoint::ProcessGetDescriptionResponse(1234)/2844: INFO: Device "f6edff09-71a4-47df-8088-192.168.0.12" is now known as "SMP8634 (myiHome Lite)"
15.172: PLT_AddGetSCPDRequestIterator::operator ()(142)/2844: INFO: Queueing SCPD request for service "urn:upnp-org:serviceId:WANCommonInterfaceConfig" of device "SMP8634 (myiHome Lite)" @ http://192.168.0.12:61387/MediaService/scpd.xml (http://192.168.0.12:61387/MediaService/scpd.xml)
15.172: PLT_CtrlPoint::ProcessGetDescriptionResponse(1179)/2480: INFO: Received device description for 7076436f-6e65-1063-8074-0090a9b0b0ca (result = 0)
15.172: PLT_CtrlPoint::ProcessGetDescriptionResponse(1234)/2480: INFO: Device "7076436f-6e65-1063-8074-0090a9b0b0ca" is now known as "MyBookLive-Twonky"
15.172: PLT_AddGetSCPDRequestIterator::operator ()(142)/2480: INFO: Queueing SCPD request for service "urn:upnp-org:serviceId:ConnectionManager" of device "MyBookLive-Twonky" @ http://192.168.0.11:9000/ConnectionManager.xml (http://192.168.0.11:9000/ConnectionManager.xml)
15.172: PLT_AddGetSCPDRequestIterator::operator ()(142)/2480: INFO: Queueing SCPD request for service "urn:upnp-org:serviceId:ContentDirectory" of device "MyBookLive-Twonky" @ http://192.168.0.11:9000/ContentDirectory.xml (http://192.168.0.11:9000/ContentDirectory.xml)
15.172: PLT_AddGetSCPDRequestIterator::operator ()(142)/2480: INFO: Queueing SCPD request for service "urn:microsoft.com:serviceId:X_MS_MediaReceiverRegistrar" of device "MyBookLive-Twonky" @ http://192.168.0.11:9000/MediaReceiverRegistrar.xml (http://192.168.0.11:9000/MediaReceiverRegistrar.xml)
15.172: PLT_CtrlPoint::ProcessGetDescriptionResponse(1179)/3796: INFO: Received device description for 00-06-DC-44-8E-66 (result = 0)
15.172: PLT_CtrlPoint::ProcessGetDescriptionResponse(1234)/3796: INFO: Device "00-06-DC-44-8E-66" is now known as "SMP8634 (00-06-DC-44-8E-66)"
15.172: PLT_AddGetSCPDRequestIterator::operator ()(142)/3796: INFO: Queueing SCPD request for service "urn:upnp-org:serviceId:urn:schemas-upnp-org:service:AVTransport" of device "SMP8634 (00-06-DC-44-8E-66)" @ http://192.168.0.12:6357/MediaRenderer_AVTransport/scpd.xml (http://192.168.0.12:6357/MediaRenderer_AVTransport/scpd.xml)
15.172: PLT_AddGetSCPDRequestIterator::operator ()(142)/3796: INFO: Queueing SCPD request for service "urn:upnp-org:serviceId:urn:schemas-upnp-org:service:ConnectionManager" of device "SMP8634 (00-06-DC-44-8E-66)" @ http://192.168.0.12:6357/MediaRenderer_Con...anager/scpd.xml (http://192.168.0.12:6357/MediaRenderer_ConnectionManager/scpd.xml)
15.172: PLT_AddGetSCPDRequestIterator::operator ()(142)/3796: INFO: Queueing SCPD request for service "urn:upnp-org:serviceId:urn:schemas-upnp-org:service:RenderingControl" of device "SMP8634 (00-06-DC-44-8E-66)" @ http://192.168.0.12:6357/MediaRenderer_Ren...ontrol/scpd.xml (http://192.168.0.12:6357/MediaRenderer_RenderingControl/scpd.xml)
15.282: PLT_CtrlPoint::ProcessGetSCPDResponse(1300)/2436: INFO: Received SCPD response for a service of device "MyBookLive" @ http://192.168.0.11:49152/XD/NULL.xml (http://192.168.0.11:49152/XD/NULL.xml) (result = 0)
15.282: PLT_Service::SetSCPDXML(191)/2436: SEVERE: NPT_CHECK failed, result=-20011 (NPT_ERROR_INVALID_SYNTAX) [(NPT_ERROR_INVALID_SYNTAX)]
15.282: PLT_Service::SetSCPDXML(335)/2436: FATAL: Failed to parse scpd: <html><body><h1>404 Not Found</h1></body></html>
15.282: PLT_CtrlPoint::ProcessGetSCPDResponse(1324)/2436: SEVERE: NPT_CHECK failed, result=-1 (FAILURE) [(res)]
15.282: PLT_CtrlPoint::ProcessGetSCPDResponse(1336)/2436: SEVERE: Bad SCPD response for device "MyBookLive":<html><body><h1>404 Not Found</h1></body></html>
15.282: PLT_CtrlPoint::CleanupDevice(1004)/2436: INFO: Removing 73656761-7465-7375-636b-0090a9b0b0ca from device list

15.313: PLT_CtrlPoint::ProcessGetSCPDResponse(1300)/2432: INFO: Received SCPD response for a service of device "SMP8634 (00-06-DC-44-8E-66)" @ http://192.168.0.12:6357/MediaRenderer_AVTransport/scpd.xml (http://192.168.0.12:6357/MediaRenderer_AVTransport/scpd.xml) (result = 0)
15.328: PLT_CtrlPoint::ProcessGetSCPDResponse(1300)/2432: INFO: Received SCPD response for a service of device "SMP8634 (00-06-DC-44-8E-66)" @ http://192.168.0.12:6357/MediaRenderer_Con...anager/scpd.xml (http://192.168.0.12:6357/MediaRenderer_ConnectionManager/scpd.xml) (result = 0)
15.328: PLT_CtrlPoint::ProcessGetSCPDResponse(1300)/2432: INFO: Received SCPD response for a service of device "SMP8634 (00-06-DC-44-8E-66)" @ http://192.168.0.12:6357/MediaRenderer_Ren...ontrol/scpd.xml (http://192.168.0.12:6357/MediaRenderer_RenderingControl/scpd.xml) (result = 0)
15.391: PLT_CtrlPoint::ProcessGetSCPDResponse(1300)/2036: INFO: Received SCPD response for a service of device "SMP8634 (myiHome Lite)" @ http://192.168.0.12:61387/MediaService/scpd.xml (http://192.168.0.12:61387/MediaService/scpd.xml) (result = 0)
15.407: PLT_CtrlPoint::ProcessGetSCPDResponse(1300)/3092: INFO: Received SCPD response for a service of device "MyBookLive-Twonky" @ http://192.168.0.11:9000/ConnectionManager.xml (http://192.168.0.11:9000/ConnectionManager.xml) (result = 0)
15.407: PLT_Service::SetSCPDXML(197)/2036: SEVERE: NPT_CHECK failed, result=-20011 (NPT_ERROR_INVALID_SYNTAX) [(NPT_ERROR_INVALID_SYNTAX)]
15.407: PLT_Service::SetSCPDXML(335)/2036: FATAL: Failed to parse scpd: <?xml version="1.0" encoding="utf-8"?><scpd xmlns="urn:schemas-upnp-org:service-1-0"><specVersion><major>1</major><minor>0</minor></specVersion><actionList /><serviceStateTable /></scpd>
15.407: PLT_CtrlPoint::ProcessGetSCPDResponse(1324)/2036: SEVERE: NPT_CHECK failed, result=-1 (FAILURE) [(res)]
15.407: PLT_CtrlPoint::ProcessGetSCPDResponse(1336)/2036: SEVERE: Bad SCPD response for device "SMP8634 (myiHome Lite)":<?xml version="1.0" encoding="utf-8"?><scpd xmlns="urn:schemas-upnp-org:service-1-0"><specVersion><major>1</major><minor>0</minor></specVersion><actionList /><serviceStateTable /></scpd>
15.407: PLT_CtrlPoint::CleanupDevice(1004)/2036: INFO: Removing f6edff09-71a4-47df-8088-192.168.0.12 from device list

15.407: PLT_CtrlPoint::ProcessGetSCPDResponse(1300)/3272: INFO: Received SCPD response for a service of device "SMP8634: UPnP AV Server" @ http://192.168.0.12:8888/ConnectionManager/scpd.xml (http://192.168.0.12:8888/ConnectionManager/scpd.xml) (result = 0)
15.422: PLT_CtrlPoint::ProcessGetSCPDResponse(1300)/3272: INFO: Received SCPD response for a service of device "SMP8634: UPnP AV Server" @ http://192.168.0.12:8888/ContentDirectory/scpd.xml (http://192.168.0.12:8888/ContentDirectory/scpd.xml) (result = 0)
15.422: PLT_CtrlPoint::ProcessGetSCPDResponse(1300)/3092: INFO: Received SCPD response for a service of device "MyBookLive-Twonky" @ http://192.168.0.11:9000/ContentDirectory.xml (http://192.168.0.11:9000/ContentDirectory.xml) (result = 0)
15.438: PLT_CtrlPoint::ProcessGetSCPDResponse(1300)/3092: INFO: Received SCPD response for a service of device "MyBookLive-Twonky" @ http://192.168.0.11:9000/MediaReceiverRegistrar.xml (http://192.168.0.11:9000/MediaReceiverRegistrar.xml) (result = 0)
15.485: browser_window::OnMSAdded(735)/4008: INFO: Added new server name=SMP8634: UPnP AV Server, uuid=757569643a003a063adc3a443a8e3a66, url=http://192.168.0.12:8888/ to browser tree
15.532: RendererController::InvokeAction(88)/3648: INFO: >>>> CALL GetTransportInfo
15.547: browser_window::OnMSAdded(735)/4008: INFO: Added new server name=MyBookLive-Twonky, uuid=7076436f-6e65-1063-8074-0090a9b0b0ca, url=http://192.168.0.11:9000/ to browser tree
15.547: RendererController::OnActionResponse(127)/3392: INFO: <<<< SMP8634 (00-06-DC-44-8E-66): RET GetTransportInfo: res = 0
15.938: PLT_CtrlPoint::InspectDevice(1104)/3820: INFO: New device "73656761-7465-7375-636b-0090a9b0b0ca" detected @ http://192.168.0.11:49152/nasdevice.xml (http://192.168.0.11:49152/nasdevice.xml)
16.110: PLT_CtrlPoint::InspectDevice(1104)/3820: INFO: New device "f6edff09-71a4-47df-8088-192.168.0.12" detected @ http://192.168.0.12:61387/ (http://192.168.0.12:61387/)
16.547: RendererController::InvokeAction(88)/3648: INFO: >>>> CALL GetTransportInfo
16.578: RendererController::OnActionResponse(127)/4028: INFO: <<<< SMP8634 (00-06-DC-44-8E-66): RET GetTransportInfo: res = 0
16.985: PLT_CtrlPoint::ProcessGetDescriptionResponse(1179)/3704: INFO: Received device description for 73656761-7465-7375-636b-0090a9b0b0ca (result = 0)
16.985: PLT_CtrlPoint::ProcessGetDescriptionResponse(1234)/3704: INFO: Device "73656761-7465-7375-636b-0090a9b0b0ca" is now known as "MyBookLive"
16.985: PLT_AddGetSCPDRequestIterator::operator ()(142)/3704: INFO: Queueing SCPD request for service "urn:microsoft-com:serviceId:NULL" of device "MyBookLive" @ http://192.168.0.11:49152/XD/NULL.xml (http://192.168.0.11:49152/XD/NULL.xml)
17.110: PLT_CtrlPoint::ProcessGetSCPDResponse(1300)/2168: INFO: Received SCPD response for a service of device "MyBookLive" @ http://192.168.0.11:49152/XD/NULL.xml (http://192.168.0.11:49152/XD/NULL.xml) (result = 0)
17.110: PLT_Service::SetSCPDXML(191)/2168: SEVERE: NPT_CHECK failed, result=-20011 (NPT_ERROR_INVALID_SYNTAX) [(NPT_ERROR_INVALID_SYNTAX)]
17.110: PLT_Service::SetSCPDXML(335)/2168: FATAL: Failed to parse scpd: <html><body><h1>404 Not Found</h1></body></html>
17.110: PLT_CtrlPoint::ProcessGetSCPDResponse(1324)/2168: SEVERE: NPT_CHECK failed, result=-1 (FAILURE) [(res)]
17.110: PLT_CtrlPoint::ProcessGetSCPDResponse(1336)/2168: SEVERE: Bad SCPD response for device "MyBookLive":<html><body><h1>404 Not Found</h1></body></html>
17.110: PLT_CtrlPoint::CleanupDevice(1004)/2168: INFO: Removing 73656761-7465-7375-636b-0090a9b0b0ca from device list

17.141: PLT_CtrlPoint::ProcessGetDescriptionResponse(1179)/3848: INFO: Received device description for f6edff09-71a4-47df-8088-192.168.0.12 (result = 0)
17.141: PLT_CtrlPoint::ProcessGetDescriptionResponse(1234)/3848: INFO: Device "f6edff09-71a4-47df-8088-192.168.0.12" is now known as "SMP8634 (myiHome Lite)"
17.141: PLT_AddGetSCPDRequestIterator::operator ()(142)/3848: INFO: Queueing SCPD request for service "urn:upnp-org:serviceId:WANCommonInterfaceConfig" of device "SMP8634 (myiHome Lite)" @ http://192.168.0.12:61387/MediaService/scpd.xml (http://192.168.0.12:61387/MediaService/scpd.xml)
17.266: PLT_CtrlPoint::ProcessGetSCPDResponse(1300)/2936: INFO: Received SCPD response for a service of device "SMP8634 (myiHome Lite)" @ http://192.168.0.12:61387/MediaService/scpd.xml (http://192.168.0.12:61387/MediaService/scpd.xml) (result = 0)
17.266: PLT_Service::SetSCPDXML(197)/2936: SEVERE: NPT_CHECK failed, result=-20011 (NPT_ERROR_INVALID_SYNTAX) [(NPT_ERROR_INVALID_SYNTAX)]
17.266: PLT_Service::SetSCPDXML(335)/2936: FATAL: Failed to parse scpd: <?xml version="1.0" encoding="utf-8"?><scpd xmlns="urn:schemas-upnp-org:service-1-0"><specVersion><major>1</major><minor>0</minor></specVersion><actionList /><serviceStateTable /></scpd>
17.266: PLT_CtrlPoint::ProcessGetSCPDResponse(1324)/2936: SEVERE: NPT_CHECK failed, result=-1 (FAILURE) [(res)]
17.266: PLT_CtrlPoint::ProcessGetSCPDResponse(1336)/2936: SEVERE: Bad SCPD response for device "SMP8634 (myiHome Lite)":<?xml version="1.0" encoding="utf-8"?><scpd xmlns="urn:schemas-upnp-org:service-1-0"><specVersion><major>1</major><minor>0</minor></specVersion><actionList /><serviceStateTable /></scpd>
17.266: PLT_CtrlPoint::CleanupDevice(1004)/2936: INFO: Removing f6edff09-71a4-47df-8088-192.168.0.12 from device list

17.578: RendererController::InvokeAction(88)/3648: INFO: >>>> CALL GetTransportInfo
17.594: RendererController::OnActionResponse(127)/3260: INFO: <<<< SMP8634 (00-06-DC-44-8E-66): RET GetTransportInfo: res = 0
18.110: PLT_CtrlPoint::InspectDevice(1104)/3820: INFO: New device "f6edff09-71a4-47df-8088-192.168.0.12" detected @ http://192.168.0.12:61387/ (http://192.168.0.12:61387/)
18.594: RendererController::InvokeAction(88)/3648: INFO: >>>> CALL GetTransportInfo
19.141: PLT_CtrlPoint::ProcessGetDescriptionResponse(1179)/3048: INFO: Received device description for f6edff09-71a4-47df-8088-192.168.0.12 (result = 0)
19.141: PLT_CtrlPoint::ProcessGetDescriptionResponse(1234)/3048: INFO: Device "f6edff09-71a4-47df-8088-192.168.0.12" is now known as "SMP8634 (myiHome Lite)"
19.141: PLT_AddGetSCPDRequestIterator::operator ()(142)/3048: INFO: Queueing SCPD request for service "urn:upnp-org:serviceId:WANCommonInterfaceConfig" of device "SMP8634 (myiHome Lite)" @ http://192.168.0.12:61387/MediaService/scpd.xml (http://192.168.0.12:61387/MediaService/scpd.xml)
19.266: PLT_CtrlPoint::ProcessGetSCPDResponse(1300)/1384: INFO: Received SCPD response for a service of device "SMP8634 (myiHome Lite)" @ http://192.168.0.12:61387/MediaService/scpd.xml (http://192.168.0.12:61387/MediaService/scpd.xml) (result = 0)
19.266: PLT_Service::SetSCPDXML(197)/1384: SEVERE: NPT_CHECK failed, result=-20011 (NPT_ERROR_INVALID_SYNTAX) [(NPT_ERROR_INVALID_SYNTAX)]
19.266: PLT_Service::SetSCPDXML(335)/1384: FATAL: Failed to parse scpd: <?xml version="1.0" encoding="utf-8"?><scpd xmlns="urn:schemas-upnp-org:service-1-0"><specVersion><major>1</major><minor>0</minor></specVersion><actionList /><serviceStateTable /></scpd>
19.266: PLT_CtrlPoint::ProcessGetSCPDResponse(1324)/1384: SEVERE: NPT_CHECK failed, result=-1 (FAILURE) [(res)]
19.266: PLT_CtrlPoint::ProcessGetSCPDResponse(1336)/1384: SEVERE: Bad SCPD response for device "SMP8634 (myiHome Lite)":<?xml version="1.0" encoding="utf-8"?><scpd xmlns="urn:schemas-upnp-org:service-1-0"><specVersion><major>1</major><minor>0</minor></specVersion><actionList /><serviceStateTable /></scpd>
19.266: PLT_CtrlPoint::CleanupDevice(1004)/1384: INFO: Removing f6edff09-71a4-47df-8088-192.168.0.12 from device list

21.563: RendererController::OnActionResponse(127)/2452: INFO: <<<< SMP8634 (00-06-DC-44-8E-66): RET GetTransportInfo: res = 0
22.563: RendererController::InvokeAction(88)/3648: INFO: >>>> CALL GetTransportInfo
22.578: RendererController::OnActionResponse(127)/2776: INFO: <<<< SMP8634 (00-06-DC-44-8E-66): RET GetTransportInfo: res = 0
23.578: RendererController::InvokeAction(88)/3648: INFO: >>>> CALL GetTransportInfo
23.594: RendererController::OnActionResponse(127)/2952: INFO: <<<< SMP8634 (00-06-DC-44-8E-66): RET GetTransportInfo: res = 0
24.594: RendererController::InvokeAction(88)/3648: INFO: >>>> CALL GetTransportInfo
24.625: RendererController::OnActionResponse(127)/3256: INFO: <<<< SMP8634 (00-06-DC-44-8E-66): RET GetTransportInfo: res = 0
25.625: RendererController::InvokeAction(88)/3648: INFO: >>>> CALL GetTransportInfo
25.641: RendererController::OnActionResponse(127)/3412: INFO: <<<< SMP8634 (00-06-DC-44-8E-66): RET GetTransportInfo: res = 0
26.641: RendererController::InvokeAction(88)/3648: INFO: >>>> CALL GetTransportInfo
26.657: RendererController::OnActionResponse(127)/2360: INFO: <<<< SMP8634 (00-06-DC-44-8E-66): RET GetTransportInfo: res = 0
27.657: RendererController::InvokeAction(88)/3648: INFO: >>>> CALL GetTransportInfo
27.672: RendererController::OnActionResponse(127)/3224: INFO: <<<< SMP8634 (00-06-DC-44-8E-66): RET GetTransportInfo: res = 0
28.672: RendererController::InvokeAction(88)/3648: INFO: >>>> CALL GetTransportInfo
28.703: RendererController::OnActionResponse(127)/1924: INFO: <<<< SMP8634 (00-06-DC-44-8E-66): RET GetTransportInfo: res = 0
29.703: RendererController::InvokeAction(88)/3648: INFO: >>>> CALL GetTransportInfo
29.719: RendererController::OnActionResponse(127)/2504: INFO: <<<< SMP8634 (00-06-DC-44-8E-66): RET GetTransportInfo: res = 0
30.719: RendererController::InvokeAction(88)/3648: INFO: >>>> CALL GetTransportInfo
30.735: RendererController::OnActionResponse(127)/1648: INFO: <<<< SMP8634 (00-06-DC-44-8E-66): RET GetTransportInfo: res = 0
30.938: PLT_CtrlPoint::InspectDevice(1104)/3532: INFO: New device "73656761-7465-7375-636b-0090a9b0b0ca" detected @ http://192.168.0.11:49152/nasdevice.xml (http://192.168.0.11:49152/nasdevice.xml)
30.953: PLT_CtrlPoint::InspectDevice(1104)/3532: INFO: New device "73656761-7465-7375-636b-0090a9b0b0ca" detected @ http://192.168.0.11:49152/nasdevice.xml (http://192.168.0.11:49152/nasdevice.xml)
31.735: RendererController::InvokeAction(88)/3648: INFO: >>>> CALL GetTransportInfo
31.750: RendererController::OnActionResponse(127)/2440: INFO: <<<< SMP8634 (00-06-DC-44-8E-66): RET GetTransportInfo: res = 0
31.985: PLT_CtrlPoint::ProcessGetDescriptionResponse(1179)/1080: INFO: Received device description for 73656761-7465-7375-636b-0090a9b0b0ca (result = 0)
31.985: PLT_CtrlPoint::ProcessGetDescriptionResponse(1234)/1080: INFO: Device "73656761-7465-7375-636b-0090a9b0b0ca" is now known as "MyBookLive"
31.985: PLT_AddGetSCPDRequestIterator::operator ()(142)/1080: INFO: Queueing SCPD request for service "urn:microsoft-com:serviceId:NULL" of device "MyBookLive" @ http://192.168.0.11:49152/XD/NULL.xml (http://192.168.0.11:49152/XD/NULL.xml)
31.985: PLT_CtrlPoint::ProcessGetDescriptionResponse(1179)/2820: INFO: Received device description for 73656761-7465-7375-636b-0090a9b0b0ca (result = 0)
31.985: PLT_CtrlPoint::ProcessGetDescriptionResponse(1234)/2820: INFO: Device "73656761-7465-7375-636b-0090a9b0b0ca" is now known as "MyBookLive"
31.985: PLT_AddGetSCPDRequestIterator::operator ()(142)/2820: INFO: Queueing SCPD request for service "urn:microsoft-com:serviceId:NULL" of device "MyBookLive" @ http://192.168.0.11:49152/XD/NULL.xml (http://192.168.0.11:49152/XD/NULL.xml)
32.110: PLT_CtrlPoint::ProcessGetSCPDResponse(1300)/3640: INFO: Received SCPD response for a service of device "MyBookLive" @ http://192.168.0.11:49152/XD/NULL.xml (http://192.168.0.11:49152/XD/NULL.xml) (result = 0)
32.110: PLT_Service::SetSCPDXML(191)/3640: SEVERE: NPT_CHECK failed, result=-20011 (NPT_ERROR_INVALID_SYNTAX) [(NPT_ERROR_INVALID_SYNTAX)]
32.110: PLT_Service::SetSCPDXML(335)/3640: FATAL: Failed to parse scpd: <html><body><h1>404 Not Found</h1></body></html>
32.110: PLT_CtrlPoint::ProcessGetSCPDResponse(1324)/3640: SEVERE: NPT_CHECK failed, result=-1 (FAILURE) [(res)]
32.110: PLT_CtrlPoint::ProcessGetSCPDResponse(1336)/3640: SEVERE: Bad SCPD response for device "MyBookLive":<html><body><h1>404 Not Found</h1></body></html>
32.110: PLT_CtrlPoint::CleanupDevice(1004)/3640: INFO: Removing 73656761-7465-7375-636b-0090a9b0b0ca from device list

32.110: PLT_CtrlPoint::ProcessGetSCPDResponse(1300)/4080: INFO: Received SCPD response for a service of device "MyBookLive" @ http://192.168.0.11:49152/XD/NULL.xml (http://192.168.0.11:49152/XD/NULL.xml) (result = 0)
32.110: PLT_Service::SetSCPDXML(191)/4080: SEVERE: NPT_CHECK failed, result=-20011 (NPT_ERROR_INVALID_SYNTAX) [(NPT_ERROR_INVALID_SYNTAX)]
32.110: PLT_Service::SetSCPDXML(335)/4080: FATAL: Failed to parse scpd: <html><body><h1>404 Not Found</h1></body></html>
32.110: PLT_CtrlPoint::ProcessGetSCPDResponse(1324)/4080: SEVERE: NPT_CHECK failed, result=-1 (FAILURE) [(res)]
32.110: PLT_CtrlPoint::ProcessGetSCPDResponse(1336)/4080: SEVERE: Bad SCPD response for device "MyBookLive":<html><body><h1>404 Not Found</h1></body></html>
32.110: PLT_CtrlPoint::CleanupDevice(1004)/4080: INFO: Removing 73656761-7465-7375-636b-0090a9b0b0ca from device list

32.750: RendererController::InvokeAction(88)/3648: INFO: >>>> CALL GetTransportInfo
32.782: RendererController::OnActionResponse(127)/2336: INFO: <<<< SMP8634 (00-06-DC-44-8E-66): RET GetTransportInfo: res = 0
33.797: RendererController::InvokeAction(88)/3648: INFO: >>>> CALL GetTransportInfo
33.813: RendererController::OnActionResponse(127)/1660: INFO: <<<< SMP8634 (00-06-DC-44-8E-66): RET GetTransportInfo: res = 0
34.813: RendererController::InvokeAction(88)/3648: INFO: >>>> CALL GetTransportInfo
34.844: RendererController::OnActionResponse(127)/3644: INFO: <<<< SMP8634 (00-06-DC-44-8E-66): RET GetTransportInfo: res = 0
35.844: RendererController::InvokeAction(88)/3648: INFO: >>>> CALL GetTransportInfo
35.860: RendererController::OnActionResponse(127)/3848: INFO: <<<< SMP8634 (00-06-DC-44-8E-66): RET GetTransportInfo: res = 0
36.860: RendererController::InvokeAction(88)/3648: INFO: >>>> CALL GetTransportInfo
36.875: RendererController::OnActionResponse(127)/2348: INFO: <<<< SMP8634 (00-06-DC-44-8E-66): RET GetTransportInfo: res = 0
37.875: RendererController::InvokeAction(88)/3648: INFO: >>>> CALL GetTransportInfo
37.907: RendererController::OnActionResponse(127)/3124: INFO: <<<< SMP8634 (00-06-DC-44-8E-66): RET GetTransportInfo: res = 0
38.907: RendererController::InvokeAction(88)/3648: INFO: >>>> CALL GetTransportInfo
38.922: RendererController::OnActionResponse(127)/776: INFO: <<<< SMP8634 (00-06-DC-44-8E-66): RET GetTransportInfo: res = 0
39.922: RendererController::InvokeAction(88)/3648: INFO: >>>> CALL GetTransportInfo
39.938: RendererController::OnActionResponse(127)/672: INFO: <<<< SMP8634 (00-06-DC-44-8E-66): RET GetTransportInfo: res = 0
40.391: RendererController::GetNearestResource(201)/4008: INFO: matching resource url to target ip 192.168.0.12: http://192.168.0.10:56923/content/1e87bfdd...amp;convert=wav (http://192.168.0.10:56923/content/1e87bfdd10f90a9ff75f9e86aab8fae7.wav?profile_id=0&convert=wav)
40.391: UPnPAVRendererController::SetAVTransportURIAction(473)/4008: INFO: CurrentURI = http://192.168.0.10:56923/content/1e87bfdd...amp;convert=wav (http://192.168.0.10:56923/content/1e87bfdd10f90a9ff75f9e86aab8fae7.wav?profile_id=0&convert=wav), CurrentURIMetaData = <DIDL-Lite xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/"><item id="1" parentID="0" restricted="1"><dc:title>Untitled</dc:title><dc:creator>Dettinger</dc:creator><dc:date>2000-01-01</dc:date><upnp:artist>Dettinger</upnp:artist><upnp:album>Oasis (Disc 1)</upnp:album><upnp:genre>Electronic</upnp:genre><dc:publisher>Kompakt</dc:publisher><upnp:albumArtURI>http://192.168.0.10:56923/albumart/1e87bfdd10f90a9ff75f9e86aab8fae7</upnp:albumArtURI><upnp:originalTrackNumber>1</upnp:originalTrackNumber><res duration="0:05:12.000" size="55036844" bitrate="176400" bitsPerSample="16" sampleFrequency="44100" nrAudioChannels="2" protocolInfo="http-get:*:audio/wav:*">http://192.168.0.10:56923/content/1e87bfdd10f90a9ff75f9e86aab8fae7.wav?profile_id=0&amp;convert=wav</res><upnp:class>object.item.audioItem.musicTrack</upnp:class></item></DIDL-Lite>
40.391: RendererController::InvokeActionSync(99)/4008: INFO: >>>>>>>>>>>>> action (sync) : SetAVTransportURI <<<<<<<<<<<<<<
40.422: UPnPAVRendererController::play_track(765)/4008: INFO: Setting local playing item: file://K:\Ma musique\Dettinger - Oasis [Kompakt] [KOMPAKTCD07] (2000) (Flac)\01 - Untitled.flac
40.422: RendererController::InvokeAction(88)/4008: INFO: >>>> CALL Play
40.453: RendererController::OnActionResponse(127)/2952: INFO: <<<< SMP8634 (00-06-DC-44-8E-66): RET Play: res = 0
40.938: RendererController::InvokeAction(88)/3648: INFO: >>>> CALL GetTransportInfo
40.969: RendererController::OnActionResponse(127)/852: INFO: <<<< SMP8634 (00-06-DC-44-8E-66): RET GetTransportInfo: res = 0
41.969: RendererController::InvokeAction(88)/3648: INFO: >>>> CALL GetTransportInfo
41.985: RendererController::OnActionResponse(127)/3104: INFO: <<<< SMP8634 (00-06-DC-44-8E-66): RET GetTransportInfo: res = 0
41.985: controller_window::set_track_info_string(1030)/4008: INFO: track info display:
41.985: RendererController::InvokeAction(88)/3648: INFO: >>>> CALL GetPositionInfo
42.000: PLT_StateVariable::ValidateValue(219)/1628: WARNING: Invalid value of 00:00:00 for state variable CurrentTrackDuration [allowed range { NOT_IMPLEMENTED }]
42.000: PLT_Argument::SetValue(130)/1628: SEVERE: NPT_CHECK failed, result=-20000 (NPT_ERROR_INVALID_PARAMETERS) [(ValidateValue(value))]
42.000: PLT_Argument::CreateArgument(107)/1628: WARNING: Invalid value of 00:00:00 for argument TrackDuration of action GetPositionInfo
42.000: PLT_Action::SetArgumentValue(222)/1628: SEVERE: NPT_CHECK failed, result=-20000 (NPT_ERROR_INVALID_PARAMETERS) [(PLT_Argument::CreateArgument(m_ActionDesc, name, value, arg))]
42.000: PLT_StateVariable::ValidateValue(219)/1628: WARNING: Invalid value of <DIDL-Lite xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/"><item id="X" parentID="Y" restricted="1"><dc:title>Unknown Track Title</dc:title><dc:creator>Unknown Artist</dc:creator><upnp:class>object.item</upnp:class></item></DIDL-Lite> for state variable CurrentTrackMetaData [allowed range { NOT_IMPLEMENTED }]
42.000: PLT_Argument::SetValue(130)/1628: SEVERE: NPT_CHECK failed, result=-20000 (NPT_ERROR_INVALID_PARAMETERS) [(ValidateValue(value))]
42.000: PLT_Argument::CreateArgument(107)/1628: WARNING: Invalid value of <DIDL-Lite xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/"><item id="X" parentID="Y" restricted="1"><dc:title>Unknown Track Title</dc:title><dc:creator>Unknown Artist</dc:creator><upnp:class>object.item</upnp:class></item></DIDL-Lite> for argument TrackMetaData of action GetPositionInfo
42.000: PLT_Action::SetArgumentValue(222)/1628: SEVERE: NPT_CHECK failed, result=-20000 (NPT_ERROR_INVALID_PARAMETERS) [(PLT_Argument::CreateArgument(m_ActionDesc, name, value, arg))]
42.000: PLT_StateVariable::ValidateValue(219)/1628: WARNING: Invalid value of 00:00:00 for state variable RelativeTimePosition [allowed range { NOT_IMPLEMENTED }]
42.000: PLT_Argument::SetValue(130)/1628: SEVERE: NPT_CHECK failed, result=-20000 (NPT_ERROR_INVALID_PARAMETERS) [(ValidateValue(value))]
42.000: PLT_Argument::CreateArgument(107)/1628: WARNING: Invalid value of 00:00:00 for argument RelTime of action GetPositionInfo
42.000: PLT_Action::SetArgumentValue(222)/1628: SEVERE: NPT_CHECK failed, result=-20000 (NPT_ERROR_INVALID_PARAMETERS) [(PLT_Argument::CreateArgument(m_ActionDesc, name, value, arg))]
42.000: PLT_Action::VerifyArguments(270)/1628: WARNING: Argument TrackDuration for action GetPositionInfo not found
42.000: RendererController::OnActionResponse(127)/1628: INFO: <<<< SMP8634 (00-06-DC-44-8E-66): RET GetPositionInfo: res = -1
42.000: UPnPAVRendererController::OnGetPositionInfoResponse(627)/4008: INFO: failure: InstanceID=0, Track=1, TrackURI=http://192.168.0.10:56923/content/1e87bfdd10f90a9ff75f9e86aab8fae7.wav?profile_id=0&convert=wav, AbsTime=NOT_IMPLEMENTED, RelCount=2147483647, AbsCount=2147483647
42.985: RendererController::InvokeAction(88)/3648: INFO: >>>> CALL GetTransportInfo
43.000: RendererController::OnActionResponse(127)/3196: INFO: <<<< SMP8634 (00-06-DC-44-8E-66): RET GetTransportInfo: res = 0
43.922: FbMediaServer::ProcessHttpRequest(330)/3948: INFO: received LAN request: http://192.168.0.10:56923/content/1e87bfdd...amp;convert=wav (http://192.168.0.10:56923/content/1e87bfdd10f90a9ff75f9e86aab8fae7.wav?profile_id=0&convert=wav) (User-Agent: Syabas/00-00-000000-00-000-400-000/00-000 Firefox/0.8.0+ (gaya3 TV Res1280x720;  Browser Res1100x656-32bits;  Res1280x720;  mac_addr=00.00.00.00.00.00))
43.922: PLT_HttpHelper::ToLog(441)/3948: INFO:
GET /content/1e87bfdd10f90a9ff75f9e86aab8fae7.wav?profile_id=0&convert=wav HTTP/1.1
Host: 192.168.0.10:56923
User-Agent: Syabas/00-00-000000-00-000-400-000/00-000 Firefox/0.8.0+ (gaya3 TV Res1280x720;  Browser Res1100x656-32bits;  Res1280x720;  mac_addr=00.00.00.00.00.00)
Connection: close

43.938: upnp_server_conf::get_profile(726)/3948: INFO: using default profile (User-Agent:Syabas/00-00-000000-00-000-400-000/00-000 Firefox/0.8.0+ (gaya3 TV Res1280x720;  Browser Res1100x656-32bits;  Res1280x720;  mac_addr=00.00.00.00.00.00))
opened 'file://K:\Ma musique\Dettinger - Oasis [Kompakt] [KOMPAKTCD07] (2000) (Flac)\01 - Untitled.flac' for streaming, profile: Default, WAV / 44100 Hz / 16 bits / 2 channels, replaygain: off, DSP chain: off
43.953: FbMediaServer::ProcessHttpRequest(330)/3140: INFO: received LAN request: http://192.168.0.10:56923/content/1e87bfdd...amp;convert=wav (http://192.168.0.10:56923/content/1e87bfdd10f90a9ff75f9e86aab8fae7.wav?profile_id=0&convert=wav) (User-Agent: Syabas/00-00-000000-00-000-400-000/00-000 Firefox/0.8.0+ (gaya3 TV Res1280x720;  Browser Res1100x656-32bits;  Res1280x720;  mac_addr=00.00.00.00.00.00
Title: foo_upnp
Post by: mundschuss on 2011-07-23 14:44:02
hi,

i want to stream something over the internet:

a) XP Machine is the Server, port is forwarded

b) Vista Machine: Client. All Software Firewalls are turned off. Still, port is not forwarded.

i cant connect to the XP Machine, and i dont know why. even if all software firewalls are turned off (the port is forwarded at the router). streaming via local network is working.

anyone?
Title: foo_upnp
Post by: Marcus28 on 2011-07-24 18:45:27
Any one?

I progress!
I confirm that non playing tracks are related to the encoder I choosed initially (dBpoweramp)
Seems to work fine with ffmpeg

But still one track, Reboot, One track, .....
Title: foo_upnp
Post by: mpuckett on 2011-07-27 05:55:27
bubblegumm,

I am having a problem with streaming profiles that is driving me crazy. I am trying to stream to my htc G1 android phone which is running the upnplay application. My library is flac images so I have created a new streaming profile named HTC G1 which is set up to always transcode to mp3. I can see that foo_upnp recognizes and selects the HTC G1 profile but then decides to use the default profile to stream the content as a wav which fails. If I change the default profile to always transcode to mp3 it works fine. Here are the relevant lines from the console log which demonstrate the failure or I'll be happy to recapture the whole file and send it to you if you prefer. I know I must be doing something stupid with the profile but I think I've tried everything and no luck.
Code: [Select]
foo_upnp: 1049.859: upnp_server_conf::get_profile(720)/2608: INFO: using profile 'HTC G1', matching header (User-Agent:CORE/6.506.4.1 OpenCORE/2.02 (Linux;Android 1.6))
foo_upnp: opened 'file://\\media\Audio\Music\flac\Images\Sheryl Crow\[1993] Tuesday Night Music Club\Sheryl Crow - [1993] Tuesday Night Music Club.flac' for streaming, profile: Default, WAV / 44100 Hz / 16 bits / 2 channels, replaygain: on, DSP chain: off
foo_upnp: 1049.969: PLT_HttpServerSocketTask::Write(348)/2608: WARNING: NPT_CHECK failed, result=-20401 (NPT_ERROR_CONNECTION_ABORTED) [(NPT_StreamToStreamCopy( *body_stream.AsPointer(), *output_stream.AsPointer(), 0, entity->GetContentLength(), 0, abort))]

Any pointers to what I am doing wrong would be greatly appreciated.
Title: foo_upnp
Post by: blammo on 2011-08-19 15:57:15
Hi.

Using foo_upnp with my WDTVLive.  It works quickly and streams fine but only for about 10 minutes.  Then the WDTVLive claims the server is unavailable.  I have looked in the log but not being that smart it doesn't make a lot of sense to me.  My Soundbridge streams from it with no problems at all.  Any suggestions as to what might need attention?

Thanks
Title: foo_upnp
Post by: bubbleguuum on 2011-08-19 23:44:57
bubblegumm,

I am having a problem with streaming profiles that is driving me crazy. I am trying to stream to my htc G1 android phone which is running the upnplay application. My library is flac images so I have created a new streaming profile named HTC G1 which is set up to always transcode to mp3. I can see that foo_upnp recognizes and selects the HTC G1 profile but then decides to use the default profile to stream the content as a wav which fails. If I change the default profile to always transcode to mp3 it works fine. Here are the relevant lines from the console log which demonstrate the failure or I'll be happy to recapture the whole file and send it to you if you prefer. I know I must be doing something stupid with the profile but I think I've tried everything and no luck.
Code: [Select]
foo_upnp: 1049.859: upnp_server_conf::get_profile(720)/2608: INFO: using profile 'HTC G1', matching header (User-Agent:CORE/6.506.4.1 OpenCORE/2.02 (Linux;Android 1.6))
foo_upnp: opened 'file://\\media\Audio\Music\flac\Images\Sheryl Crow\[1993] Tuesday Night Music Club\Sheryl Crow - [1993] Tuesday Night Music Club.flac' for streaming, profile: Default, WAV / 44100 Hz / 16 bits / 2 channels, replaygain: on, DSP chain: off
foo_upnp: 1049.969: PLT_HttpServerSocketTask::Write(348)/2608: WARNING: NPT_CHECK failed, result=-20401 (NPT_ERROR_CONNECTION_ABORTED) [(NPT_StreamToStreamCopy( *body_stream.AsPointer(), *output_stream.AsPointer(), 0, entity->GetContentLength(), 0, abort))]

Any pointers to what I am doing wrong would be greatly appreciated.

There are 2 different User-Agent used by UPnPlay, one for browse requests and one for the streaming requests. The "using profile 'HTC G1'" line is wrong and misleading in the case the browsing User-Agent is different from the streaming one.  The important one is the browsing User-Agent. UPnPlay doesn't set any User-Agent for browse requests, so it cannot be identified and you're stuck using the default profile.

I suggest that you use my app BubbleUPnP (https://market.android.com/details?id=com.bubblesoft.android.bubbleupnp) instead, it supports FLAC on all phones. You can use "BubbleUPnP" as a substring for User-Agent to identify it.

Title: foo_upnp
Post by: bubbleguuum on 2011-08-19 23:46:41
Hi.

Using foo_upnp with my WDTVLive.  It works quickly and streams fine but only for about 10 minutes.  Then the WDTVLive claims the server is unavailable.  I have looked in the log but not being that smart it doesn't make a lot of sense to me.  My Soundbridge streams from it with no problems at all.  Any suggestions as to what might need attention?

Thanks


No idea but from experience WDTVLive exhibit various level of buggyness depending on models.  You can record a log as explained in the first post if you wish.
Title: foo_upnp
Post by: blammo on 2011-08-20 13:26:27
Thanks. Here is the last bit of the log

Code: [Select]
10196.625: PLT_HttpHelper::ToLog(441)/3456: INFO: 
GET /content/83bc4e32bc62d0f36669f43a7a8b4607.mp3 HTTP/1.0
Host: 192.168.2.8:56923
Content-Length: 0
transferMode.dlna.org: Streaming
User-Agent: INTEL_NMPR/2.1 DLNADOC/1.50 dma/3.0 alphanetworks

10196.625: upnp_server_conf::get_profile(726)/3456: INFO: using default profile (User-Agent:INTEL_NMPR/2.1 DLNADOC/1.50 dma/3.0 alphanetworks)
opened 'file://H:\My Music\David Crowder Band\A Collision Or (3 + 4 = 7)\03 Here is our King.mp3' for streaming
10196.938: FbMediaServer::ProcessHttpRequest(330)/2340: INFO: received LAN request: http://192.168.2.8:56923/albumart/83bc4e32bc62d0f36669f43a7a8b4607 (User-Agent: ALPHA Networks/CTID)
10196.938: PLT_HttpHelper::ToLog(441)/2340: INFO:
GET /albumart/83bc4e32bc62d0f36669f43a7a8b4607 HTTP/1.0
HOST: 192.168.2.8:56923
User-Agent: ALPHA Networks/CTID
Accept: */*

10275.172: FbMediaServer::ProcessHttpRequest(330)/2660: INFO: received LAN request: http://192.168.2.3:56923/DeviceDescription.xml (User-Agent: INTEL_NMPR/2.1 DLNADOC/1.50 Intel MicroStack/1.0.1423)
10275.172: FbMediaServer::ProcessGetDescription(414)/2660: INFO: ProcessGetDescription: user-agent: INTEL_NMPR/2.1 DLNADOC/1.50 Intel MicroStack/1.0.1423
10275.407: FbMediaServer::ProcessHttpRequest(330)/2656: INFO: received LAN request: http://192.168.2.8:56923/DeviceDescription.xml (User-Agent: INTEL_NMPR/2.1 DLNADOC/1.50 Intel MicroStack/1.0.1423)
10275.407: FbMediaServer::ProcessGetDescription(414)/2656: INFO: ProcessGetDescription: user-agent: INTEL_NMPR/2.1 DLNADOC/1.50 Intel MicroStack/1.0.1423
10275.875: PLT_HttpServerSocketTask::Write(348)/3456: WARNING: NPT_CHECK failed, result=-20401 (NPT_ERROR_CONNECTION_ABORTED) [(NPT_StreamToStreamCopy( *body_stream.AsPointer(), *output_stream.AsPointer(), 0, entity->GetContentLength(), 0, abort))]
10360.219: PLT_UPnP::Stop(312)/540: INFO: Stopping UPnP...
10360.235: PLT_HttpServerSocketTask::Read(216)/1144: WARNING: NPT_CHECK failed, result=-1 (FAILURE) [(res)]
10360.235: PLT_HttpServerSocketTask::Read(216)/1156: WARNING: NPT_CHECK failed, result=-1 (FAILURE) [(res)]
10360.235: PLT_HttpServerSocketTask::Read(216)/3964: WARNING: NPT_CHECK failed, result=-1 (FAILURE) [(res)]
10360.235: PLT_HttpServerSocketTask::Read(216)/3324: WARNING: NPT_CHECK failed, result=-1 (FAILURE) [(res)]
10361.047: PLT_HttpServerSocketTask::Read(216)/4032: WARNING: NPT_CHECK failed, result=-1 (FAILURE) [(res)]



Hi.

Using foo_upnp with my WDTVLive.  It works quickly and streams fine but only for about 10 minutes.  Then the WDTVLive claims the server is unavailable.  I have looked in the log but not being that smart it doesn't make a lot of sense to me.  My Soundbridge streams from it with no problems at all.  Any suggestions as to what might need attention?

Thanks


No idea but from experience WDTVLive exhibit various level of buggyness depending on models.  You can record a log as explained in the first post if you wish.

Title: foo_upnp
Post by: einstein on 2011-08-24 16:37:27
Hi there,

does anyone else have the problem if foobar is running with foo_upnp.dll, that the logfile the component writes (foo_upnp.log) isn't accessible by any other program e.g. baretail or any other Logfile-tail-thingy?

Is this behaviour intended?

thanks in advance ... eini
Title: foo_upnp
Post by: mpuckett on 2011-08-26 05:00:36
There are 2 different User-Agent used by UPnPlay, one for browse requests and one for the streaming requests. The "using profile 'HTC G1'" line is wrong and misleading in the case the browsing User-Agent is different from the streaming one.  The important one is the browsing User-Agent. UPnPlay doesn't set any User-Agent for browse requests, so it cannot be identified and you're stuck using the default profile.

I suggest that you use my app BubbleUPnP (https://market.android.com/details?id=com.bubblesoft.android.bubbleupnp) instead, it supports FLAC on all phones. You can use "BubbleUPnP" as a substring for User-Agent to identify it.


Well.... I would love to try out BubbleUPnP but my G1 is running Android 1.6 and you seem to require 2.1 so this isn't an option for me it seems. So the streaming User-Agent is set by the UPnP app on the phone then? Who sets the browsing User-Agent? Are they both set by the UPnP app?
Title: foo_upnp
Post by: bubbleguuum on 2011-08-26 12:26:50
does anyone else have the problem if foobar is running with foo_upnp.dll, that the logfile the component writes (foo_upnp.log) isn't accessible by any other program e.g. baretail or any other Logfile-tail-thingy?
Is this behaviour intended?


Not intended. Never really paid attention to this.

User-Agent is set by the UPnP app on the phone then? Who sets the browsing User-Agent? Are they both set by the UPnP app?


yes. the streaming User-Agent is often set by the core (system) HTTP streamer of the phone, used by the app.
Title: foo_upnp
Post by: mpuckett on 2011-08-27 18:16:11
User-Agent is set by the UPnP app on the phone then? Who sets the browsing User-Agent? Are they both set by the UPnP app?

yes. the streaming User-Agent is often set by the core (system) HTTP streamer of the phone, used by the app.

Bubbleguum,
I remain puzzled by this behavior. In looking at more of the debug output it seems as if the player is making a transcode request using the correct profile, does a GET on the transcoded file and then again requests the flac file using the default profile?

Code: [Select]
foo_upnp: 497.859: FbMediaServer::ProcessHttpRequest(330)/824: INFO: received LAN request: [url=http://192.168.0.206/content/f143900b816415cb5c0e2fb9ded7d5bb.mp3?profile_id=0&convert=mp3&subsong=8]http://192.168.0.206/content/f143900b81641...3&subsong=8[/url] (User-Agent: CORE/6.506.4.1 OpenCORE/2.02 (Linux;Android 1.6))
foo_upnp: 497.859: PLT_HttpHelper::ToLog(441)/824: INFO:
GET /content/f143900b816415cb5c0e2fb9ded7d5bb.mp3?profile_id=0&convert=mp3&subsong=8 HTTP/1.0
Host: 192.168.0.206
User-Agent: CORE/6.506.4.1 OpenCORE/2.02 (Linux;Android 1.6)
Connection: Close
foo_upnp: 497.890: upnp_server_conf::get_profile(720)/824: INFO: using profile 'HTC G1', matching header (User-Agent:CORE/6.506.4.1 OpenCORE/2.02 (Linux;Android 1.6))
foo_upnp: opened 'file://\\sarah\media\Audio\Music\flac\Images\Shawn Colvin\[2009] Live\Shawn Colvin - [2009] Live.flac' for streaming, profile: Default, MP3 / CBR 320 kbps, replaygain: on, DSP chain: off
Title: foo_upnp
Post by: bubbleguuum on 2011-08-27 18:29:47
Bubbleguum,
I remain puzzled by this behavior. In looking at more of the debug output it seems as if the player is making a transcode request using the correct profile, does a GET on the transcoded file and then again requests the flac file using the default profile?

Code: [Select]
foo_upnp: 497.859: FbMediaServer::ProcessHttpRequest(330)/824: INFO: received LAN request: [url=http://192.168.0.206/content/f143900b816415cb5c0e2fb9ded7d5bb.mp3?profile_id=0&convert=mp3&subsong=8]http://192.168.0.206/content/f143900b81641...3&subsong=8[/url] (User-Agent: CORE/6.506.4.1 OpenCORE/2.02 (Linux;Android 1.6))
foo_upnp: 497.859: PLT_HttpHelper::ToLog(441)/824: INFO:
GET /content/f143900b816415cb5c0e2fb9ded7d5bb.mp3?profile_id=0&convert=mp3&subsong=8 HTTP/1.0
Host: 192.168.0.206
User-Agent: CORE/6.506.4.1 OpenCORE/2.02 (Linux;Android 1.6)
Connection: Close
foo_upnp: 497.890: upnp_server_conf::get_profile(720)/824: INFO: using profile 'HTC G1', matching header (User-Agent:CORE/6.506.4.1 OpenCORE/2.02 (Linux;Android 1.6))
foo_upnp: opened 'file://\\sarah\media\Audio\Music\flac\Images\Shawn Colvin\[2009] Live\Shawn Colvin - [2009] Live.flac' for streaming, profile: Default, MP3 / CBR 320 kbps, replaygain: on, DSP chain: off

As I said in the previous message:  "The "using profile 'HTC G1'" line is wrong and misleading in the case the browsing User-Agent is different from the streaming one."
In reality the default profile is used here (in URL: profile_id=0 => default profile). The wrong message (HTC G1...) has no consequence, it is just misleading (in that specific case, most of the tilme it is correct).

Look at the profile used for Browse requests instead, this is where it matters. For example:

Code: [Select]
foo_upnp: 92842.909: PLT_MediaServer::OnBrowse(380)/4972: INFO: Received BrowseDirectChildren from 192.168.1.5 for id = 0/1/1 with filter = *, start = 66, count = 50
foo_upnp: 92842.910: upnp_server_conf::get_profile(738)/4972: INFO: using profile 'BubbleUPnP', matching header (User-Agent:BubbleUPnP UPnP/1.1)

In your case (UPnPPlay browsing) you will see that there is no User-Agent and thus the default profile is used (even if the log snippet above says wronly otherwise as explained above ut without consequence).
The thing is that you definitely cannot identify UPnPPlay because it doesn't set a User-Agent for *browse* requests.
Title: foo_upnp
Post by: mpuckett on 2011-08-27 20:00:08
In your case (UPnPPlay browsing) you will see that there is no User-Agent and thus the default profile is used (even if the log snippet above says wronly otherwise as explained above ut without consequence).
The thing is that you definitely cannot identify UPnPPlay because it doesn't set a User-Agent for *browse* requests.


Ok, just checked a browse and you are corrrect, the user-agent is "Unknown" in that case. So how is your user-agent getting set to "BubbleUPnP" then? Is the Android app able to set it's own user-agent which overrides the core android setting? In other words, is it the responsibility of the UPnP app or the Android core http service to set up the user-agent? Which is at fault for the fact that it is not being set?
Title: foo_upnp
Post by: einstein on 2011-08-29 11:17:43
Not intended. Never really paid attention to this.

Hi bubbleguuum,

thanks for your answer, could you change this behavior in the next version?

tia ... eini
Title: foo_upnp
Post by: osmi on 2011-08-29 13:44:37
@bubbleguuum
Man, great work, especially for "what is currently playing".
I was looking for that for quite some time.
Thanks!
Title: foo_upnp
Post by: JadeElephant on 2011-08-31 02:26:40
I've been trying to stream my music collection at work since they won't let me use my flash drives anymore. I signed up for the Google Music beta, worked great, then they blocked it. Signed up at MP3Tunes for the same thing, worked great, then they blocked that too. I'm I correct in assuming I can stream my Foobar media library from home onto my Foobar at work? If so, can someone point to some instructions on how to do so? Thanks.

Edit - I think I figured it out anyway. Seems that I'd have to ask the IT guys at work for the network info, and they're not likely to help me out.
Title: foo_upnp
Post by: AlexNiko on 2011-09-17 15:09:13
Hello Bubbleguum,
I'm trying to use foo_upnp in conjunction with foo_httpcontrol to set the rating of which is played on the render device. foo_httpcontrol works more correctly if I use Playback Stream Capture, I can run through foo_runcmd. But here is to choose the device itself, which broadcast the sound is only possible with the mouse, ie, foo_httpcontrol in use does not work. There is a workaround: Play on ... Upnp Controller switches to the desired device, then it must be stopped, and then run Playback Stream Capture. Using this sequence foo_httpcontrol realize is not very convenient.

Can I do the same command from the shortcut menu Upnp Controller\Play on ..., click on the main menu where there are commands for Upnp Controller: Playback Stream Capture on device.?
Or select the device on the same Upnp Controller via the main menu?
Title: foo_upnp
Post by: bubbleguuum on 2011-09-18 13:03:04
Hello Bubbleguum,
I'm trying to use foo_upnp in conjunction with foo_httpcontrol to set the rating of which is played on the render device. foo_httpcontrol works more correctly if I use Playback Stream Capture, I can run through foo_runcmd. But here is to choose the device itself, which broadcast the sound is only possible with the mouse, ie, foo_httpcontrol in use does not work. There is a workaround: Play on ... Upnp Controller switches to the desired device, then it must be stopped, and then run Playback Stream Capture. Using this sequence foo_httpcontrol realize is not very convenient.

Can I do the same command from the shortcut menu Upnp Controller\Play on ..., click on the main menu where there are commands for Upnp Controller: Playback Stream Capture on device.?
Or select the device on the same Upnp Controller via the main menu?


There are no command menu entries  or keyboard shortcuts to select a renderer. However there's an easy trick you can use to play "Playback Stream Capture" to any renderer in 1 action: you can add the "Playback Stream Capture" item as a regular track in any playlist via File>Add location  using 7C042341-8E49-4282-BB9D-7EE978E8DE37://  as the location. "Playback Stream Capture" will now appear as a regular track in your current playlist that you can "Play to..." to any renderer.
Title: foo_upnp
Post by: klui on 2011-09-21 22:33:19
Hi,

I run foobar2000 1.1.6 w/ foo_upnp 0.99.34. My system also runs a VMWare VM that uses NAT networking so I need to use VMNet8, one of two additional subnets that VMWare created. When I attempt to stream to a Windows 7 WMP12 client, the media's IP address properties has one of the VMWare subnet and not the local area connection subnet. If I disable VMNet1, the network used for Host networking, foo_upnp uses the other subnet for the IP address. It would be nice if we could choose what subnet or adapter to use for a uPnP server--even a hard-coded config file if possible as my machine has a static IP.

Note that I don't have this problem if I use foobar2000 w/ foo_upnp client (under Windows XP or Server 2003, I haven't tested it under Windows 7). I was testing it on a plain version of Windows 7.


Thanks
Title: foo_upnp
Post by: AlexNiko on 2011-09-23 07:36:46
Hello Bubbleguum,
I'm trying to use foo_upnp in conjunction with foo_httpcontrol ...

Can I do the same command from the shortcut menu Upnp Controller\Play on ..., click on the main menu where there are commands for Upnp Controller: Playback Stream Capture on device.?
Or select the device on the same Upnp Controller via the main menu?


There are no command menu entries  or keyboard shortcuts to select a renderer. However there's an easy trick you can use to play "Playback Stream Capture" to any renderer in 1 action: you can add the "Playback Stream Capture" item as a regular track in any playlist via File>Add location  using 7C042341-8E49-4282-BB9D-7EE978E8DE37://  as the location. "Playback Stream Capture" will now appear as a regular track in your current playlist that you can "Play to..." to any renderer.


Thank you for this trick , it's work.
Title: foo_upnp
Post by: bubbleguuum on 2011-09-23 21:11:46
Hi,

I run foobar2000 1.1.6 w/ foo_upnp 0.99.34. My system also runs a VMWare VM that uses NAT networking so I need to use VMNet8, one of two additional subnets that VMWare created. When I attempt to stream to a Windows 7 WMP12 client, the media's IP address properties has one of the VMWare subnet and not the local area connection subnet. If I disable VMNet1, the network used for Host networking, foo_upnp uses the other subnet for the IP address. It would be nice if we could choose what subnet or adapter to use for a uPnP server--even a hard-coded config file if possible as my machine has a static IP.

Note that I don't have this problem if I use foobar2000 w/ foo_upnp client (under Windows XP or Server 2003, I haven't tested it under Windows 7). I was testing it on a plain version of Windows 7.


These virtual interfaces should be skipped during enumeration. Since they are not, the workaround is to change the order the system lists network interfaces so the VMWare is not first. Command-line utility ipconfig will give you the current order. I don't remember the specifics to change order so Googling might help.
Title: foo_upnp
Post by: eevan on 2011-09-24 00:55:37
I have the same problem with VirtualBox's virtual interface. And changing the interface order doesn't help. I also tried changing the interface metric. I have to disable the virtual interface in order to get the right address in WMP12 on my laptop.
Title: foo_upnp
Post by: klui on 2011-09-24 08:36:57
These virtual interfaces should be skipped during enumeration. Since they are not, the workaround is to change the order the system lists network interfaces so the VMWare is not first. Command-line utility ipconfig will give you the current order. I don't remember the specifics to change order so Googling might help.
Interesting. It turns out that before I disabled VMNet1, the ordering was
VMNet1
VMNet8
LAN

WMP12 used VMNet1's subnet. All 3 have static IPs.

When I disabled VMNet1 and re-enabled it the listing is now
VMNet8
LAN
VMNet1

WMP12 now uses VMNet8's subnet.

I had updated my LAN's drivers so it was probably due to this change which caused the order to change in the first place. foo_upnp client works great under Windows 7 otherwise--it's only a problem with WMP12. I will have to revisit disabling/re-enabling VMNet8 during this upcoming patch Tuesday to see if its behavior changes.


Thanks!
Title: foo_upnp
Post by: bubbleguuum on 2011-09-26 09:10:01
0.99.35 released (first post to download or autoupdate or components site).

Not much new, just better compatibility with BubbleUPnP and the removal of non-routable streaming URLs (related to issue discussed above involving virtual network interfaces).

0.99.35





Title: foo_upnp
Post by: eevan on 2011-09-26 09:50:38
This new version solved the problem vith WMP12 and VirtualBox network interface.

Thanks!
Title: foo_upnp
Post by: klui on 2011-09-26 22:15:26
0.99.35 released (first post to download or autoupdate or components site).

Not much new, just better compatibility with BubbleUPnP and the removal of non-routable streaming URLs (related to issue discussed above involving virtual network interfaces).
Very much appreciate the quick response!
Title: foo_upnp
Post by: acmodeu on 2011-09-29 08:46:58
Why don't columns UI colors and fonts settings affect UPnP Browser window?
Title: foo_upnp
Post by: bubbleguuum on 2011-09-29 13:14:53
Why don't columns UI colors and fonts settings affect UPnP Browser window?


Too see if anyone would notice, which took more than 2 years. Congrats, you win!
Title: foo_upnp
Post by: acmodeu on 2011-09-29 13:37:13
Why don't columns UI colors and fonts settings affect UPnP Browser window?


Too see if anyone would notice, which took more than 2 years. Congrats, you win!

Thanks, I'm flattered. How about to add this in todo list?  Thank for the plugin by the way
Title: foo_upnp
Post by: skrech on 2011-09-30 22:34:27
Hi,
Is it possible to use the plug-in as Control Point with Renderers on the Internet (not on a local network)? And if yes - how?
Title: foo_upnp
Post by: MarsEclipse on 2011-10-09 20:53:36
I'm using foobar200 v1.1.8 and foo_upnp 0.99.35, on a win7 X64 machine with a PS3 on the other end..

I can't seem to get anything other than the server itself to show up on the PS3. All folders are empty.
I've looked through a bunch of threads and I can't seem to find anything wrong with me config..

Using 2Player I have full access. Perhaps I'm missing something.
Anyone else have this issue and figured it out?
Title: foo_upnp
Post by: Anomalous on 2011-10-10 03:04:05
I can't seem to get anything other than the server itself to show up on the PS3. All folders are empty.
This may be a stupid question, but are you sure you're looking under music, and not videos or pictures?
Title: foo_upnp
Post by: psme on 2011-10-10 03:35:54
hi bubbleguuum,

THANKS for the great work! The upnp plugin is like dream comes true!

My setup: foobar2000 1.1.8 (the latest official), your upnp component (latest version I think). Audio is via HDMI (ATI 5570 display card) to a Pioneer receiver. I can play song directly in foobar2000, or on iPad PlugPlayer via upnp. PC is Win7 64bit.

It all works great for my CD rip in separated flac or lossless m4a format.

Few days ago I finally managed to rip SACD using my old PS3. I rip SACD in .iso format and play in foobar2000 using the sacd plugin. I just drag the .iso SACD rip in foobar2000 and some how it sees all the track info for me to play. I guess the track info is embedded somewhere in the .iso file.

The sacd plugin can be configured to output in 88.2khz/24bit or up to 176.4khz/24bit. When directly playing sacd in foobar2000, the output rate is exactly the selected rate in sacd plugin.

But, if I play using iPad via upnp (using the same foobar2000 as Renderer), it will always output in 192khz.

After a few hours checking and monitor the foobar2000 console (great debug tools!), finally I found that if the playback is in CUE format, and I guess those .iso sacd file is also considered as CUE mode, then the upnp plugin will append output sampling rate, bit depth etc in the playback command. If I play a single standalone track via upnp, then there is no switch for output sampling rate.

For regular CD rip file, it seems ok as the output sampling rate is always at 44.1khz (without any upsampling).

But it does not work for SACD rip. SACD source is in DSD format in 2.8Mhz 1 bit. foobar2000 sacd plugin will convert the DSD format to the selected PCM format on the fly in playback. sacd plugin highest output format is in 176.4khz 24bit.

I guess upnp simply check the audio file "properties" for the desired output sampling rate, which is at 2.8Mhz for the native sacd file. Since the system can only output up to 192khz, then upnp instruct foobar2000 to output in 192khz.

Since sacd plugin can output up to 176.4khz only. When upnp ask foobar2000 to output in 192khz, there is a double sampling which de-grade audio quality. Even when someday the sacd plugin can directly convert to 192khz, many people say the best output sampling should be in multiple of 44.1khz, which is at 176.4khz for the current system.

Please add the option for user to disable the automatically added sampling rate, bit depth command switch in upnp mode when playback in CUE format. Simply play the audio file "as is" is good enough.

If upnp can not do this, then I will need to rip SACD in separated track and manually convert all song to 176.4khz for the best playback quality. Then if someday there is a better SACD to PCM conversion method then I will need to re-do all the file. If possible, I'd like to keep using the original .iso file for playback.

Thanks for reading all these! I know I'm really asking for a issue that most user may not notice. But I hope we can all get the best result!

Thanks in advance.

psme.
Title: foo_upnp
Post by: psme on 2011-10-10 16:21:43
hi bubbleguuum,

first I need to apology for "change" your program!

I need a way to force upnp output 176.4khz when playing sacd iso file. First I tried changing 2.8Mhz value to 176400 (there are 5 instance) in sacd plugin, but fail! foobar keep crashing!

Then I think I should try on the upnp dll. There are 4 instance of 192000 value, and only 1 has a 88200 value nearby. So, I use a hex editor and change that 192000 to 176400. And I also need to modify the .xml file under foobar folder. In the end, the max rate in Streaming option is at 176400.

And finally, playing sacd iso via upnp outputs in 176400hz (instead of re-sample to 192k), and match sacd plugin output rate. Subjectively, there seems no audible difference when playing the same sacd track directly in foobar, or via upnp, both at 176.4khz. So, hopefully, there is no more re-sampling...

Finally, it sounds great!!!

psme

ps: it'd be even better when the upnp plugin has official setting to by pass any re-sampling...
Title: foo_upnp
Post by: Dean Roddey on 2011-10-13 01:58:21
Oops, I posted this initially in the development area, but I guess it should have been here. I didn't realize it was a third party interface. So, anyhoo, now in the right place:

So I'm working on UPnP support for our CQC product (www.charmedquark.com) and the immediate reason for it is that someone wants a driver to control Foobar from CQC. It's been quite a spinup so far, since I've not messed with UPnP at all before. But I have the basics worked out. However, no matter what I do when invoking SetAVTransportURI, Foobar's console shows that it's complaining that it cannot part the metadata. I've sent it an empty string, an empty DIDL-Lite element, various people's interpretations out there of what DIDL-Lite format should be. I've just tried probably fifty variations by now and it always fails for this reason.

What am I missing here? It's got to be something obvious.

BTW, while I'm asking, if anyone out there has played with this, how the hell do you pass an "I don't care" type of input parameter to InvokeAction in the C/C++ version of the COM interface (for the safe array of input parms I mean)? If I pass a VT_NULL variant foobar STILL complaints that it couldn't parse the metadata. If I try an EMPTY one that's obviously bad because the API fails on my side. An empty string doesn't work. What am I missing here? I'm burning up hours and brain cells on this seemingly simple thing.
Title: foo_upnp
Post by: psme on 2011-10-15 17:04:11
I just tried playback a CD of a live concert. The tracks are ripped in separate flac. Controller is Plugplayer (v3.8.0) on iPad, upnp server and renderer is foo_upnp (v0.99.35). foo_upnp server is configured to never transcode or decode so the flac is streamed in original format. Under upnp playback, there is small break (~0.5s I guess) between track. Playing directly in foobar2000 (v1.1.8) is gapless.

Then I ask a friend using PlugPlayer to remotely access my foo_upnp server (over internet) and playback to his linn renderer. The playback is gapless. My friend also has a Denon receiver which also works as a upnp renderer, and the Denon only play 1 track and stop so can't really test gapless playback!

I understand linn has some special handling on gapless playback. And I thought since foo_upnp are both server and renderer and maybe gapless playback is possible. Guess not...
Title: foo_upnp
Post by: bubbleguuum on 2011-10-15 21:13:34
I just tried playback a CD of a live concert. The tracks are ripped in separate flac. Controller is Plugplayer (v3.8.0) on iPad, upnp server and renderer is foo_upnp (v0.99.35). foo_upnp server is configured to never transcode or decode so the flac is streamed in original format. Under upnp playback, there is small break (~0.5s I guess) between track. Playing directly in foobar2000 (v1.1.8) is gapless.

Then I ask a friend using PlugPlayer to remotely access my foo_upnp server (over internet) and playback to his linn renderer. The playback is gapless. My friend also has a Denon receiver which also works as a upnp renderer, and the Denon only play 1 track and stop so can't really test gapless playback!

I understand linn has some special handling on gapless playback. And I thought since foo_upnp are both server and renderer and maybe gapless playback is possible. Guess not...


UPnP and gapless is a long story. To make things short, generally you cannot play gapless with UPnP unless you have a Linn DS (and a Control Point that handle Linn DS).
But there's still a way to have gapless, using "Playback Stream Capture" aka "what foobar2000 is currently playing".
Play your gapless tracks using regular fb2k playback controls (not the UPnP Controller) then in Pluglayer (or another Control Point), Browse the foobar2000 library and play "Playback Stream Capture". PlugPlayer will then play whatever foobar2000 is playing as a single WAV, LPCM or MP3 stream (depending on how it is configured), gaplessly.
You can as well instruct a renderer to play "Playback Stream Capture" within foobar2000, from the UPnP Controller.

As for SACD, I've added 176.4Khz in the list of samplerates, I don't know why it was forgotten in the first place.
Title: foo_upnp
Post by: psme on 2011-10-16 15:11:57
Thanks for adding 176.4khz option. But that is still not ideal. Because in SACD iso playback mode, foo_upnp treat it as cue mode, and append sample rate and other switch to start playback. Even there is a 176.4khz option (as I already have that with the hack), when I actually, play real 192khz content, I need to change the option back to 192khz. Then change back to 176.4khz for SACD playback. Is it really not possible to output the audio as is, without appending any sample rate, bit depth switch?

The beauty of upnp is I can browse and play using my iPad. Hence I don't prefer to use "Stream Playback" mode.

Btw, since linn's upnp extension is open source, is there any upnp renderer besides linn that support it? It'd be great if such renderer runs on PC like foobar...
Title: foo_upnp
Post by: swiharta on 2011-10-16 17:52:22
Awesome plugin, loving it.

One thing, I'm streaming to Whitebear -> Squeezeserver -> synced Squeezeboxes. Got everything working, but only MP3's with embedded album art have their art displayed on the Squeezeboxes. I can't seem to get files with just folder.jpg sitting in the folder to have album art.

Does album art need to be embedded or does it need to be named a certain way to get picked up?

EDIT: Just noticed in the change log from v0.99.26 you changed foo_upnp to "use fb 1.0 album art API to be able to serve album art using configured file patterns".

In Foobar Settings, Display -> Album Art,Front Cover, I do have 'folder.jpg' entered. Any idea why I might be having trouble?
Title: foo_upnp
Post by: psme on 2011-10-19 08:22:35
Problem playing SOME ALAC apple lossless file via upnp.

I've 2 types of ALAC files:

A, directly ripped to ALAC in itune
B, first ripped to AIFF in itune, then convert to ALAC in itune

Since foobar does not support AIFF tag, I have to convert AIFF to ALAC.

For type A file, all is fine. But if I put any type B file in foobar media library, in iPad PlugPlayer, ALL album art on ALL albums/titles are gone. In PlugPlayer, all file still plays fine. Just there is no album art any where! When using iPad Kinsky, there is no album art just like PlugPlayer, and those type B file does NOT play.

So I tried PS Audio eLyric upnp server, pointing to the exact same library folder. All file plays fine and all album arts are normal using both PlugPlayer and Kinsky.

Is this a known issue?
Title: foo_upnp
Post by: bubbleguuum on 2011-10-19 08:32:43
For type A file, all is fine. But if I put any type B file in foobar media library, in iPad PlugPlayer, ALL album art on ALL albums/titles are gone. In PlugPlayer, all file still plays fine. Just there is no album art any where! When using iPad Kinsky, there is no album art just like PlugPlayer, and those type B file does NOT play.


Does it play and can you see album art in foobar2000 ?
Title: foo_upnp
Post by: psme on 2011-10-20 05:40:53
hi bubbleguuum, thanks for looking in to it.

Yes, foobar shows the cover art in the local viewer (took me a while to enable local viewing of the media library!).

I will PM you a link to download a sample song with the problem.

I tested (all using foobar upnp renderer, PC is Win7 64bit, all upnp server running on the same PC using the same media library with 1 song only):

foobar upnp server (all transcode/decode disabled, song play as is)
- foobar local viewer, have cover art, song plays fine
- iPad PlugPlayer, no cover art, song plays fine
- iPad Kinsky, no cover art, song does NOT play
- iPad Songbook Lite, no cover art, song plays fine

PS Audio eLyric upnp server (need to uncheck "gapless" mode)
- iPad PlugPlayer, have cover art, song plays fine
- iPad Kinsky, have cover art, song plays fine
- iPad Songbook Lite, have cover art, song plays fine

dbPoweramp Asset upnp server
- iPad PlugPlayer, have cover art, song plays fine
- iPad Kinsky, have cover art, song plays fine
- iPad Songbook Lite, have cover art, song plays fine

I thinking maybe the problem is related to unicode in song/filename/tag? I hope you can reproduct the problem.
Title: foo_upnp
Post by: pstrg on 2011-10-25 20:44:01
Among its many riches, a particularly nice feature of foo_upnp is that it allows one to customize contents of the "track" title.
In a classical music track, %title% is usually just a part (movement) of a given piece; as such e.g. I. Allegro con brio doesn't mean much.
However, just by filling Server > Content > Format track title using as %composer%: %content group% - %title%, it's possible to get the full picture on the player - Beethoven: Symphony no.5 - I. Allegro con brio.

Experimenting with different Android UPnP players, one notes that each player picks a number of different tags to display.
%title% and %artist% are always used; %conductor% may be; %band% never is.
Alas, %artist% means the soloist(s), %band% means the ensemble(s) which are lead by the %conductor%: each  tag refers to a quite different role.
Not to be able to see the ensembles (orchestra, choir) is quite limiting.

[Suggestion]
Why not to introduce in Server > Streaming Profiles two additional fields:
- Format track artist using and
- Format track conductor using.
That would allow one to always have the full information about performers, customized for each player.
Title: foo_upnp
Post by: psme on 2011-10-26 04:14:51
I thought the outlook of the library structure is solely defined on the upnp server. upnp controller (controller apps) is a dump terminal and simply display the tree structure returned by the server.

I think foobar upnp server is already the most customize. One day I will learn how to construct the library list to my liking by mastering this doc...

http://wiki.hydrogenaudio.org/index.php?ti...00:Query_syntax (http://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Query_syntax)
Title: foo_upnp
Post by: psme on 2011-10-27 05:28:34
hi bubbleguuum, thanks for solving the m4a issue.

Btw, I'm trying to modify upnp library tree structure to my liking, but I still don't know how to do...

On the other hand, foobar bulidin Media Library tree list seems much easier. I can change that a bit to my liking and I like it's tree structure in it's own view. Too bad I know the bulidin library tree has no relationship to the upnp tree list!

Is there any way that your upnp can also use foobar bulidin Media Library tree list? Or is there a easier explanation of the upnp library tree syntax? I feel like programming when looking through the upnp library tree syntax...

Or can I post my foobar buildin Media Library tree syntax here and you can help me work out the upnp tree syntax?
Title: foo_upnp
Post by: norcis on 2011-10-31 20:46:43
Hi, I have Yamaha 3067 AV and looking how to play multi-channel FLAC and DTS files using foobar2000 and foo_upnp (or other way). Receiver natively decodes FLAC files, but only if they are in stereo (listed supported files: LPCM (L16), MP3, WMA, AAC, FLAC, WAV, ALAC, audio/aacp).
The only solution which worked for me is multi channel WAV files. In foobart2000 file properties they are showed as PCM encoded 2 channels, but when played - DTS 6ch. When I stream this file though foo_upnp, receiver decodes it as PCM 2/0/0.1 channel!

So probably I need solution how to transcode FLAC/DTS to multi-channel WAV on the fly to be able to stream it.
Your support is appreciated.
Title: foo_upnp
Post by: rootsandculture on 2011-11-01 15:40:03
Hi,
I cannot make load the artwork, it's in a Folder.jpg file at server, and it is displying well, but connot load remotelly. Any ideas?
Title: foo_upnp
Post by: guix314 on 2011-11-04 10:41:28
Hello,

Did anyone manage to get the following setup to work, over 3G / Internet ? :

upnplay client, WAN configuration towards 127.0.0.1 (on android device ) -> ConnectBot SSH client with remote tunneling to foo_upnp port (on android device) -> SSH server (on windows) -> foo_upnp (on windows)

It would be really great, but so far I didn't.

What I got working so far is the following :
1- RDP client (on android device) -> ConnectBot SSH client with remote tunneling to RDP port (on android device) -> SSH server (on windows) -> RDP server (on windows)
      -> working great
2- upnplay client, WAN configuration towards server IP (on android device) -> Direct connection to foo_upnp -> foo_upnp (on windows)
      -> working great, thanks to instructions below

but no luck when adding SSH tunneling in the chain.
foo_upnp is latest version (0.99.35)

thanks


I'm hoping that the alternative URL method would prevent the use of HTTP authentication at all, is this the intention?



I just released 0.99.34 which allow authentification in the URL path for all clients (before it was limited to iOS PlugPlayer). So you'll be able to
remotely connect with UPnPlay. In UPnPlay edit the the WAN server configuration:

- set the Description field to /<login><password>
- change the UDN field to something else than the LAN UDN

Then if you click on the WAN server entry  (it will say "connecting to server..."), then on its LAN definition you should be able to browse.

This version also  addresses a few other compatibility fixes:

Code: [Select]
0.99.34

- server: allow Internet connection with http://ip:port/<login><password> from any remote client
- device description XML parser is more lax to recognize UPnPlay's renderer.
- server: workarounded TwonkyMobile requests with malformed XML.


Title: foo_upnp
Post by: powerpan on 2011-11-06 06:12:44
below is the problem, while using djmount to get files from foobar media server, it takes time is 70 minutes for a 200M file.

root@power-laptop:/mnt/tmp/foobar2000 Media Server (power) [LENOVO4POWER]/Media Library/Folders/Music/Sample Music# time cp 192K-24bit.wav /mnt

real   70m0.651s
user   0m0.032s
sys   0m2.188s


ls /mnt/192K-24bit.wav -l
-r--r--r-- 1 root root 201600044 2011-11-06 13:49 /mnt/192K-24bit.wav

the same file copy from ushare under linux:

root@power-laptop:/mnt/tmp/uShare: 1/music# time cp 192K-24bit.wav /mnt

real   0m22.675s
user   0m0.012s
sys   0m1.168s

same file using windows media player:
root@power-laptop:/mnt/tmp/LENOVO4POWER: power:/Music/Folders/Shared Music/Sample Music# time cp 192K-24bit.wav /mnt

real   0m42.137s
user   0m0.008s
sys   0m0.064s

Title: foo_upnp
Post by: bubbleguuum on 2011-11-06 09:48:10
below is the problem, while using djmount to get files from foobar media server, it takes time is 70 minutes for a 200M file.

root@power-laptop:/mnt/tmp/foobar2000 Media Server (power) [LENOVO4POWER]/Media Library/Folders/Music/Sample Music# time cp 192K-24bit.wav /mnt

real   70m0.651s
user   0m0.032s
sys   0m2.188s


This extreme slowness is due to djmount getting the file with many separate http requests, and the file being decoded to WAV from the begininng for each request due to the default Profile, giving nice exponential download times. This can easily be fixed creating a new profile:

1. In the streaming profile page, select the foobar2000 profile
2. Click the new  button to create a new profile that will be a copy of the foobar2000 profile
3. Give it a name (djmount)
4. For the USer-Agent use "Portable SDK for UPnP devices"  (without the quotes) in the "contain" field
5. On your linux box, remount your djmount directory


Title: foo_upnp
Post by: bubbleguuum on 2011-11-06 09:52:33
Hello,

Did anyone manage to get the following setup to work, over 3G / Internet ? :

upnplay client, WAN configuration towards 127.0.0.1 (on android device ) -> ConnectBot SSH client with remote tunneling to foo_upnp port (on android device) -> SSH server (on windows) -> foo_upnp (on windows)


I don't think this can work as UPnPlay will probably replace streaming URLs ip received from the server with whatever ip you have set for the WAN server (127.0.0.1).
Title: foo_upnp
Post by: powerpan on 2011-11-06 16:12:46
Quote
This extreme slowness is due to djmount getting the file with many separate http requests, and the file being decoded to WAV from the begininng for each request due to the default Profile, giving nice exponential download times. This can easily be fixed creating a new profile:

1. In the streaming profile page, select the foobar2000 profile
2. Click the new  button to create a new profile that will be a copy of the foobar2000 profile
3. Give it a name (djmount)
4. For the USer-Agent use "Portable SDK for UPnP devices"  (without the quotes) in the "contain" field
5. On your linux box, remount your djmount directory


Hi,

thanks a lot for the kind reply, the problem is still there after I did as what you told above. I know there is another way to get it directly via http download(like the m3u in capture dir), is that means if I get the URL then I could do it directly by http file get? (BTW, just create a new profile to make it work with djmount?)

before doing this, speed is around 200KB/s and after, might be 300KB ? /s, later will have the result, but who knows how long it takes. be patient...

root@power-laptop:/mnt/tmp/foobar2000 Media Server (power) [LENOVO4POWER]/Media Library/Folders/Music/Sample Music# time cp 192K-24bit.wav /mnt

real   25m34.839s
user   0m0.016s
sys   0m1.252s

----------------seem something strange, while I'm editing the profile during the copy, it might have this speed, might be the transfer was fake?
root@power-laptop:/mnt/tmp/foobar2000 Media Server (power) [LENOVO4POWER]/Media Library/Folders/Music/Sample Music# time cp 192K-24bit.wav /mnt

real   0m38.666s
user   0m0.004s
sys   0m0.612s



Power pan
Title: foo_upnp
Post by: powerpan on 2011-11-07 01:49:21
uncheck the use default profile in base setting page and stop/start the server again, problem solved.
Title: foo_upnp
Post by: probedb on 2011-11-08 13:54:25
Apologies if this has already been discussed but I couldn't figure out how to search within this topic.

I'm possibly looking at getting a new receiver which will stream FLAC/MP3 etc over DLNA but I want to continue scrobbling.

I currently use a Squeezebox which means I can use Replaygain as well as scrobble all my tracks.

If I use this plugin can I continue to do so over DLNA?

Many thanks,
Paul.
Title: foo_upnp
Post by: net147 on 2011-11-10 13:43:02
Could you add configurable buffering for playback stream capture (particularly for wav) so that it can handle track changes and seeking without interruptions?
Title: foo_upnp
Post by: afx21 on 2011-11-11 13:51:20
Does anyone use an Onkyo receiver with this plugin?  I have it set in the default settings to output lcpm up to 24/192, and everything works fine, except yesterday I tried 24/192 and the music was slowed down a lot.

I'm using a wired connection and the receiver is a TX-NR809.  Is there any way to know if the decoding is taking time on the PC or if the problem lies on the receiver's side?

I'd love to use the PS3 for this or 24/96 but from what I've read that's not possible, or is it?
Title: foo_upnp
Post by: powerpan on 2011-11-11 15:10:04
why I could not delete a post?
Title: foo_upnp
Post by: guix314 on 2011-11-12 20:39:30
Hi,

I think there may not be a problem on upnplay side, as someone has managed to make it work through SSH tunnel, towards mediatomb upnp server on linux.
see here : http://blog.codezen.org/2011/06/29/android...music-anywhere/ (http://blog.codezen.org/2011/06/29/android-mediatomb-upnplay-music-anywhere/)

Well, I guess I'll try to figure out what are the differences going on with network streams between upnplay >> ssh tunnel >> mediatomb server, versus upnplay >> ssh tunnel >> foo_upnp... whenever I'll install a linux box for this purpose... which is not going to happen soon...

In the mean time, if you feel like testing/troubleshooting the setup with foo_upnp, don't hesitate  :-)

cheers


Hello,

Did anyone manage to get the following setup to work, over 3G / Internet ? :

upnplay client, WAN configuration towards 127.0.0.1 (on android device ) -> ConnectBot SSH client with remote tunneling to foo_upnp port (on android device) -> SSH server (on windows) -> foo_upnp (on windows)


I don't think this can work as UPnPlay will probably replace streaming URLs ip received from the server with whatever ip you have set for the WAN server (127.0.0.1).

Title: foo_upnp
Post by: powerpan on 2011-11-18 15:27:09
Bad Request (400)):
"http://192.168.5.7:49152/web/79.ogg"

while browsing ushare dir and play(as renderer) by plugplayer control point or browse server and play itself.
Title: foo_upnp
Post by: MordredKLB on 2011-11-19 00:22:35
I've got a HTPC at home setup with foobar and using UPnP to stream the Playback Stream Capture to my foobar here at work. I'm controlling it from work using foo_httpcontrol and just letting the stream play continuously (i.e. I never stop or pause the stream on my work fb2k instance). It works great (WAY better than foo_vorbisstream which I tried first) but there's almost exactly 10 seconds of buffer between when I hit pause and when the audio stops (obviously the same for any other of the controls). The playback stream is being encoded to mp3 v0 because I obviously don't have the bandwidth to do PCM and it's the best trade off between audio quality while transcoding file size.

Is there something I can change on the source or listener side to lessen the buffer amount? I don't mind some buffering, but 10 seconds seems pretty excessive when I've got plenty of bandwidth available to me.

Also, I assume there's no way to do this, but is there anyway to not stream the decoded PCMs from my mp3 collection but rather stream the actual mp3s themselves to avoid transcoding?
Title: foo_upnp
Post by: bigjohnx on 2011-11-20 14:01:47
Hi bubbleguuum,

I am a foo_upnp user using with foobar + foo_sacd . First thank you to add the 176.4 khz to the spec in future, I am waiting for this feature.

I have some problem on the latest version 0.99.35, when I using it with android app bubbleupnp (paid license), it always render the songs to 48khz (old version do not have this problem). Even I switch a rendering device to Linn Sneaky DS or foobar rendering with 24/192 sound card support wasapi / asio. The problem can be fix after I restored the previous version. Does something wrong on me or some issues on the latest version?

Title: foo_upnp
Post by: bigjohnx on 2011-11-20 14:28:58
hi bubbleguuum,

first I need to apology for "change" your program!

I need a way to force upnp output 176.4khz when playing sacd iso file. First I tried changing 2.8Mhz value to 176400 (there are 5 instance) in sacd plugin, but fail! foobar keep crashing!

Then I think I should try on the upnp dll. There are 4 instance of 192000 value, and only 1 has a 88200 value nearby. So, I use a hex editor and change that 192000 to 176400. And I also need to modify the .xml file under foobar folder. In the end, the max rate in Streaming option is at 176400.

And finally, playing sacd iso via upnp outputs in 176400hz (instead of re-sample to 192k), and match sacd plugin output rate. Subjectively, there seems no audible difference when playing the same sacd track directly in foobar, or via upnp, both at 176.4khz. So, hopefully, there is no more re-sampling...

Finally, it sounds great!!!

psme

ps: it'd be even better when the upnp plugin has official setting to by pass any re-sampling...


Hi psme, may you share the method for modify the dll to support 176.4 for tentative solution?
Title: foo_upnp
Post by: bigjohnx on 2011-11-20 14:44:46
Hi bubbleguuum,

I am a foo_upnp user using with foobar + foo_sacd . First thank you to add the 176.4 khz to the spec in future, I am waiting for this feature.

I have some problem on the latest version 0.99.35, when I using it with android app bubbleupnp (paid license), it always render the songs to 48khz (old version do not have this problem). Even I switch a rendering device to Linn Sneaky DS or foobar rendering with 24/192 sound card support wasapi / asio. The problem can be fix after I restored the previous version. Does something wrong on me or some issues on the latest version?



I just discovered the problem may caused by foobar2000 portable installation. The sampling problem will not occur when I use the standand installation (i.e. installed in program files).
Title: foo_upnp
Post by: bubbleguuum on 2011-11-20 17:19:37
Hi bubbleguuum,

I am a foo_upnp user using with foobar + foo_sacd . First thank you to add the 176.4 khz to the spec in future, I am waiting for this feature.

I have some problem on the latest version 0.99.35, when I using it with android app bubbleupnp (paid license), it always render the songs to 48khz (old version do not have this problem). Even I switch a rendering device to Linn Sneaky DS or foobar rendering with 24/192 sound card support wasapi / asio. The problem can be fix after I restored the previous version. Does something wrong on me or some issues on the latest version?



I just discovered the problem may caused by foobar2000 portable installation. The sampling problem will not occur when I use the standand installation (i.e. installed in program files).



Make sure you modify the BubbleUPnP streaming profile (if you cannot see it, remove foo_upnp.xml in you foobar2000 profile dir) to match the foobar2000 profile.
Title: foo_upnp
Post by: bigjohnx on 2011-11-21 04:00:51
Hi Bubbleguuum,

Thank you for your reply and I had discovered this issue on yesterday night. Now I know that even I choose the rendering device for linn ds, then rendering setting may follow the profile (previous verison do not have bubbleupnp profile so will follow the default setting).

Hope the new release of the foo_upnp with 176.4 support will coming out soon, insteand I need to hack the dll.....
Title: foo_upnp
Post by: eag7e on 2011-11-21 13:45:43
Hi. Is it possible to/how can I go from this..

(http://img522.imageshack.us/img522/4007/72501488.th.png) (http://imageshack.us/photo/my-images/522/72501488.png/)

to this?

(http://img32.imageshack.us/img32/237/97462954.th.png) (http://imageshack.us/photo/my-images/32/97462954.png/)

In other words, get the remote library into columns ui so I can use the filters etc. and use it almost like on the server/native side.
Title: foo_upnp
Post by: NEOhidra on 2011-11-21 15:18:05
In other words, get the remote library into columns ui so I can use the filters etc. and use it almost like on the server/native side.


I was thinking about the same idea (DUI in my case). Something like a virtual folder to be monitored.
Title: foo_upnp
Post by: bubbleguuum on 2011-11-21 15:33:55
Hi. Is it possible to/how can I go from this..

(http://img522.imageshack.us/img522/4007/72501488.th.png) (http://imageshack.us/photo/my-images/522/72501488.png/)

to this?

(http://img32.imageshack.us/img32/237/97462954.th.png) (http://imageshack.us/photo/my-images/32/97462954.png/)

In other words, get the remote library into columns ui so I can use the filters etc. and use it almost like on the server/native side.


The best you can do is to integrate the UPnP Browser into your CUI layout as a CUI panel.
Title: foo_upnp
Post by: MordredKLB on 2011-11-22 16:41:01
I've got a HTPC at home setup with foobar and using UPnP to stream the Playback Stream Capture to my foobar here at work. I'm controlling it from work using foo_httpcontrol and just letting the stream play continuously (i.e. I never stop or pause the stream on my work fb2k instance). It works great (WAY better than foo_vorbisstream which I tried first) but there's almost exactly 10 seconds of buffer between when I hit pause and when the audio stops (obviously the same for any other of the controls). The playback stream is being encoded to mp3 v0 because I obviously don't have the bandwidth to do PCM and it's the best trade off between audio quality while transcoding file size.

Is there something I can change on the source or listener side to lessen the buffer amount? I don't mind some buffering, but 10 seconds seems pretty excessive when I've got plenty of bandwidth available to me.

So am I out of luck?
Title: foo_upnp
Post by: bubbleguuum on 2011-11-22 16:44:25
I've got a HTPC at home setup with foobar and using UPnP to stream the Playback Stream Capture to my foobar here at work. I'm controlling it from work using foo_httpcontrol and just letting the stream play continuously (i.e. I never stop or pause the stream on my work fb2k instance). It works great (WAY better than foo_vorbisstream which I tried first) but there's almost exactly 10 seconds of buffer between when I hit pause and when the audio stops (obviously the same for any other of the controls). The playback stream is being encoded to mp3 v0 because I obviously don't have the bandwidth to do PCM and it's the best trade off between audio quality while transcoding file size.

Is there something I can change on the source or listener side to lessen the buffer amount? I don't mind some buffering, but 10 seconds seems pretty excessive when I've got plenty of bandwidth available to me.

So am I out of luck?


Don't use Playback Stream Capture for this. Instead connect at work to your home foobar2000 with "View > Add remote foobar2000 server...". The remote server will appear in the UPnP Browser that you can use as if the server was on the LAN.
Title: foo_upnp
Post by: MordredKLB on 2011-11-22 18:09:54
Don't use Playback Stream Capture for this. Instead connect at work to your home foobar2000 with "View > Add remote foobar2000 server...". The remote server will appear in the UPnP Browser that you can use as if the server was on the LAN.

Correct me if I'm wrong, but I think I want to use the Playback Stream Capture (in conjunction with httpcontrol) for the following reasons:
1) I want to scrobble everything I listen to. When using the UPnP browser I get an "Audioscrobbler: Skipping track due to missing artist or title info." message.
2) I'd like my playcounts on my home server to be incremented, because I use a couple of auto-playlists which key off whether a track has been listened to before (this ensures I listen to everything at least once)
3) One of my playlists is extremely large (i.e. 5 weeks worth of music) and it takes forever to load in the UPnP browser
4) I can see my folder.jpg album art when using httpcontrol, but not with UPnP.

The long buffer isn't a deal breaker, but I'd love it if I could cut it down slightly. Even 5 seconds would be world's better.
Title: foo_upnp
Post by: Sandrine on 2011-11-22 21:56:23
Don't use Playback Stream Capture for this. Instead connect at work to your home foobar2000 with "View > Add remote foobar2000 server...". The remote server will appear in the UPnP Browser that you can use as if the server was on the LAN.


I don't have such an entry in the foobar2000 menu, not even with Shift-View. What's going on?
Title: foo_upnp
Post by: bubbleguuum on 2011-11-22 21:57:31
Don't use Playback Stream Capture for this. Instead connect at work to your home foobar2000 with "View > Add remote foobar2000 server...". The remote server will appear in the UPnP Browser that you can use as if the server was on the LAN.

Correct me if I'm wrong, but I think I want to use the Playback Stream Capture (in conjunction with httpcontrol) for the following reasons:
1) I want to scrobble everything I listen to. When using the UPnP browser I get an "Audioscrobbler: Skipping track due to missing artist or title info." message.
2) I'd like my playcounts on my home server to be incremented, because I use a couple of auto-playlists which key off whether a track has been listened to before (this ensures I listen to everything at least once)
3) One of my playlists is extremely large (i.e. 5 weeks worth of music) and it takes forever to load in the UPnP browser
4) I can see my folder.jpg album art when using httpcontrol, but not with UPnP.

The long buffer isn't a deal breaker, but I'd love it if I could cut it down slightly. Even 5 seconds would be world's better.


1. Ok. Still scrobbling is overrated...
2. The upnp server update playback statistics although it might be less accurate than regular playback
3. million tracks playlists with a life long worth of of music is indeed a local foobar2000 concept.
4. it is supported and you should see it provded it is not disabled at either end

For the delay,  streaming is done by the regular foobar2000 http decoder so it starts to play when it decides to (provided the server feeds it audio fast enough which I can't see a reason it wouldn't).
Title: foo_upnp
Post by: bubbleguuum on 2011-11-22 22:00:34
Don't use Playback Stream Capture for this. Instead connect at work to your home foobar2000 with "View > Add remote foobar2000 server...". The remote server will appear in the UPnP Browser that you can use as if the server was on the LAN.


I don't have such an entry in the foobar2000 menu, not even with Shift-View. What's going on?



You must have the UPnP Browser launched (either as a standalone window or as an UI Element or a CUI panel)
Title: foo_upnp
Post by: MordredKLB on 2011-11-22 23:39:38
1. Ok. Still scrobbling is overrated...
2. The upnp server update playback statistics although it might be less accurate than regular playback
3. million tracks playlists with a life long worth of of music is indeed a local foobar2000 concept.
4. it is supported and you should see it provded it is not disabled at either end

For the delay,  streaming is done by the regular foobar2000 http decoder so it starts to play when it decides to (provided the server feeds it audio fast enough which I can't see a reason it wouldn't).

I realize that scrobbling isn't your fault. Wish Florian had added that before he went AWOL. You're right, it does update playback statistics, sometimes. In my initial test it didn't work apparently. No idea why my album artwork isn't working; I have it enabled on both ends.
Title: foo_upnp
Post by: NEOhidra on 2011-11-24 21:16:48
The plugin depends on UDP but what about TCP?

Also from the current docummentation "Apply the "sort incoming files by" filter when sending new items to playlist: is now renamed to "Sort items sent to playlist by" and the sort order does not depend of "Shell Integration->Sort incoming files by" but the texbox beneath the checkbox - am i right?
Title: foo_upnp
Post by: bubbleguuum on 2011-11-24 22:41:32
The plugin depends on UDP but what about TCP?


UDP is used for SSDP discovery. TCP for everything else (HTTP)

Also from the current docummentation "Apply the "sort incoming files by" filter when sending new items to playlist: is now renamed to "Sort items sent to playlist by" and the sort order does not depend of "Shell Integration->Sort incoming files by" but the texbox beneath the checkbox - am i right?


You are right. It allows you to override the order the remote server sends items.
Title: foo_upnp
Post by: psme on 2011-11-28 10:25:32
hi bubbleguuum,

I want to modify foo_upnp library tree format but don't know how!

For example I have 3 songs, and one of the song is sung by both artists. In mp3tag artist field I input:

song1 artist: abc
song2 artist: def
song3 artist: abc\\def

In foobar2000 internal Media Library tree view under Artists, it shows 2 artists:

abc
def

Select either artist will bring up the 2 songs with the selected artist.

But when browsing through foo_upnp, it will show a 3 artists entry:

abc
def
abc, def

I WANT the way foobar2000 internal Media Library tree view showing. How can I modify foo_upnp_ml_tree.xml so that it lists like foobar internal library tree? I check the xml file and it seems very very simple:

   <SubTree label="Artists">
      <spec type="object.container.person.musicArtist">%artist%</spec>
      <spec type="object.container.album.musicAlbum">%album%</spec>
   </SubTree>

How to modify? Thanks in advance!!!


Title: foo_upnp
Post by: croccodillo on 2011-11-28 20:20:35
Hello all,

I need help on my system, I tried to find a solution reading part of the thread but it is too long and my english is not good  enough to make useful research.
However, I have a mini-itx server running Foobar2000 1.1.9 on WXP, with column_UI and foo_upnp running and correctly configured.
The server hosts a backup of all of my CDs, and is connected to my Hi-Fi amplifier.
I can control foobar2000 from my main P (the one I'm using now) using KinskyDesktop (playing Nirvana right now) and from my wife's smartphone (Android) using BubbleUPNP application through a WiFi connection (Is BubbleUPNP yours, bubbleguuum?).
Up to this point, everything works really fine.

I really miss, however, an important feature (at least, for me):
when I set up a playlist, both into KinskyDesktop or BubbleUPNP, the playlist is local to the UPNP control point, so if I close the control point, the playlist is lost and the playback is stopped.
Moreover, I cannot create a playlist on my PC and then control it from the smartphone (or viceversa), cause the playlist is local to the device which created it.
Again, I can create a playlist into my PC and a different one on the smartphone, causing a big mess.
Last issue, I cannot switch off the control point until the playlist is playing; this is not a big problem with my PC, but it is a bigger problem with the smartphone (battery dies fast).
Any idea how to address this issue? Any way to create the playlist onto server (foobar2000) side?

Thank you very much in advance.

Best regards,
Giovanni Albergoni



Title: foo_upnp
Post by: vassie on 2011-11-29 10:57:19
I'm having trouble controlling my Sony BDV-L600 with foo_upnp, it shows up and I can queue up music, but as soon as I press play, foobar locks up
If you need any more info, please let me know
The same happens with BubbleUPnP too
Title: foo_upnp
Post by: Shike on 2011-11-30 23:26:46
Hey everyone,

Having a bit of a problem getting this to run on Windows 7 (64bit).  I have a full 1.1.9 Foobar installed, opened necessary ports, started upnp service, etc.  Can't connect - ran wireshark to see if the necessary ports were doing well . . . anything - and they aren't. 

Here's a log (set to fine incase)

[code]0.001: foo_upnp::on_init(136)/6848: INFO: foo_upnp: version 0.99.34
0.004: PLT_UPnP::Start(211)/6848: INFO: Starting UPnP...
0.005: media_tree_root_node_t::load_ml_filters_from_file(200)/6848: INFO: file C:\Users\Shike\AppData\Roaming\foobar2000\foo_upnp_ml_tree.xml do not exists
0.005: standard_media_tree_root_node_t::load_ml_filters(558)/6848: INFO: loaded default Media Library filters
0.008: PLT_UPnP::AddDevice(343)/6848: INFO: Starting Device...
0.009: PLT_HttpServer::Start(109)/6848: INFO: HttpServer listening on 0.0.0.0:56293
0.010: PLT_UPnP::AddDevice(343)/6848: INFO: Starting Device...
0.011: PLT_HttpServer::Start(109)/6848: INFO: HttpServer listening on 0.0.0.0:54213
initialized in 0.012s
0.110: PLT_DeviceHost::Announce(293)/7500: FINE: Sending SSDP NOTIFY (ssdp:byebye) Request to http://239.255.255.250:1900* (http://239.255.255.250:1900*) with location:
0.110: PLT_SsdpSender::SendSsdp(72)/7500: FINE: Sending SSDP NOTIFY for uuid:aba1bac7-d093-4161-54e0-1bcf44203177::upnp:rootdevice
0.110: PLT_HttpHelper::ToLog(441)/7500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
NTS: ssdp:byebye
USN: uuid:aba1bac7-d093-4161-54e0-1bcf44203177::upnp:rootdevice
NT: upnp:rootdevice

created 7798 path registry entries in 0.105s
0.114: PLT_DeviceHost::Announce(293)/4500: FINE: Sending SSDP NOTIFY (ssdp:byebye) Request to http://239.255.255.250:1900* (http://239.255.255.250:1900*) with location:
0.114: PLT_SsdpSender::SendSsdp(72)/4500: FINE: Sending SSDP NOTIFY for uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::upnp:rootdevice
0.114: PLT_HttpHelper::ToLog(441)/4500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
NTS: ssdp:byebye
USN: uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::upnp:rootdevice
NT: upnp:rootdevice

0.133: PLT_SsdpSender::SendSsdp(72)/7500: FINE: Sending SSDP NOTIFY for uuid:aba1bac7-d093-4161-54e0-1bcf44203177::urn:schemas-upnp-org:device:MediaServer:1
0.133: PLT_HttpHelper::ToLog(441)/7500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
NTS: ssdp:byebye
USN: uuid:aba1bac7-d093-4161-54e0-1bcf44203177::urn:schemas-upnp-org:device:MediaServer:1
NT: urn:schemas-upnp-org:device:MediaServer:1

0.136: PLT_SsdpSender::SendSsdp(72)/4500: FINE: Sending SSDP NOTIFY for uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::urn:schemas-upnp-org:device:MediaRenderer:1
0.136: PLT_HttpHelper::ToLog(441)/4500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
NTS: ssdp:byebye
USN: uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::urn:schemas-upnp-org:device:MediaRenderer:1
NT: urn:schemas-upnp-org:device:MediaRenderer:1

0.152: PLT_SsdpSender::SendSsdp(72)/7500: FINE: Sending SSDP NOTIFY for uuid:aba1bac7-d093-4161-54e0-1bcf44203177::urn:schemas-upnp-org:service:ContentDirectory:1
0.152: PLT_HttpHelper::ToLog(441)/7500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
NTS: ssdp:byebye
USN: uuid:aba1bac7-d093-4161-54e0-1bcf44203177::urn:schemas-upnp-org:service:ContentDirectory:1
NT: urn:schemas-upnp-org:service:ContentDirectory:1

0.155: PLT_SsdpSender::SendSsdp(72)/4500: FINE: Sending SSDP NOTIFY for uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::urn:schemas-upnp-org:service:AVTransport:1
0.155: PLT_HttpHelper::ToLog(441)/4500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
NTS: ssdp:byebye
USN: uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::urn:schemas-upnp-org:service:AVTransport:1
NT: urn:schemas-upnp-org:service:AVTransport:1

0.171: PLT_SsdpSender::SendSsdp(72)/7500: FINE: Sending SSDP NOTIFY for uuid:aba1bac7-d093-4161-54e0-1bcf44203177::urn:schemas-upnp-org:service:ConnectionManager:1
0.171: PLT_HttpHelper::ToLog(441)/7500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
NTS: ssdp:byebye
USN: uuid:aba1bac7-d093-4161-54e0-1bcf44203177::urn:schemas-upnp-org:service:ConnectionManager:1
NT: urn:schemas-upnp-org:service:ConnectionManager:1

0.174: PLT_SsdpSender::SendSsdp(72)/4500: FINE: Sending SSDP NOTIFY for uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::urn:schemas-upnp-org:service:ConnectionManager:1
0.174: PLT_HttpHelper::ToLog(441)/4500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
NTS: ssdp:byebye
USN: uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::urn:schemas-upnp-org:service:ConnectionManager:1
NT: urn:schemas-upnp-org:service:ConnectionManager:1

0.190: PLT_SsdpSender::SendSsdp(72)/7500: FINE: Sending SSDP NOTIFY for uuid:aba1bac7-d093-4161-54e0-1bcf44203177::urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1
0.190: PLT_HttpHelper::ToLog(441)/7500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
NTS: ssdp:byebye
USN: uuid:aba1bac7-d093-4161-54e0-1bcf44203177::urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1
NT: urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1

0.193: PLT_SsdpSender::SendSsdp(72)/4500: FINE: Sending SSDP NOTIFY for uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::urn:schemas-upnp-org:service:RenderingControl:1
0.193: PLT_HttpHelper::ToLog(441)/4500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
NTS: ssdp:byebye
USN: uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::urn:schemas-upnp-org:service:RenderingControl:1
NT: urn:schemas-upnp-org:service:RenderingControl:1

0.209: PLT_SsdpSender::SendSsdp(72)/7500: FINE: Sending SSDP NOTIFY for uuid:aba1bac7-d093-4161-54e0-1bcf44203177
0.209: PLT_HttpHelper::ToLog(441)/7500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
NTS: ssdp:byebye
USN: uuid:aba1bac7-d093-4161-54e0-1bcf44203177
NT: uuid:aba1bac7-d093-4161-54e0-1bcf44203177

0.212: PLT_SsdpSender::SendSsdp(72)/4500: FINE: Sending SSDP NOTIFY for uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411
0.212: PLT_HttpHelper::ToLog(441)/4500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
NTS: ssdp:byebye
USN: uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411
NT: uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411

0.228: PLT_DeviceHost::Announce(293)/7500: FINE: Sending SSDP NOTIFY (ssdp:byebye) Request to http://239.255.255.250:1900* (http://239.255.255.250:1900*) with location:
0.228: PLT_SsdpSender::SendSsdp(72)/7500: FINE: Sending SSDP NOTIFY for uuid:aba1bac7-d093-4161-54e0-1bcf44203177::upnp:rootdevice
0.228: PLT_HttpHelper::ToLog(441)/7500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
NTS: ssdp:byebye
USN: uuid:aba1bac7-d093-4161-54e0-1bcf44203177::upnp:rootdevice
NT: upnp:rootdevice

0.231: PLT_DeviceHost::Announce(293)/4500: FINE: Sending SSDP NOTIFY (ssdp:byebye) Request to http://239.255.255.250:1900* (http://239.255.255.250:1900*) with location:
0.231: PLT_SsdpSender::SendSsdp(72)/4500: FINE: Sending SSDP NOTIFY for uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::upnp:rootdevice
0.231: PLT_HttpHelper::ToLog(441)/4500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
NTS: ssdp:byebye
USN: uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::upnp:rootdevice
NT: upnp:rootdevice

0.247: PLT_SsdpSender::SendSsdp(72)/7500: FINE: Sending SSDP NOTIFY for uuid:aba1bac7-d093-4161-54e0-1bcf44203177::urn:schemas-upnp-org:device:MediaServer:1
0.247: PLT_HttpHelper::ToLog(441)/7500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
NTS: ssdp:byebye
USN: uuid:aba1bac7-d093-4161-54e0-1bcf44203177::urn:schemas-upnp-org:device:MediaServer:1
NT: urn:schemas-upnp-org:device:MediaServer:1

0.250: PLT_SsdpSender::SendSsdp(72)/4500: FINE: Sending SSDP NOTIFY for uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::urn:schemas-upnp-org:device:MediaRenderer:1
0.250: PLT_HttpHelper::ToLog(441)/4500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
NTS: ssdp:byebye
USN: uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::urn:schemas-upnp-org:device:MediaRenderer:1
NT: urn:schemas-upnp-org:device:MediaRenderer:1

0.266: PLT_SsdpSender::SendSsdp(72)/7500: FINE: Sending SSDP NOTIFY for uuid:aba1bac7-d093-4161-54e0-1bcf44203177::urn:schemas-upnp-org:service:ContentDirectory:1
0.266: PLT_HttpHelper::ToLog(441)/7500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
NTS: ssdp:byebye
USN: uuid:aba1bac7-d093-4161-54e0-1bcf44203177::urn:schemas-upnp-org:service:ContentDirectory:1
NT: urn:schemas-upnp-org:service:ContentDirectory:1

0.269: PLT_SsdpSender::SendSsdp(72)/4500: FINE: Sending SSDP NOTIFY for uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::urn:schemas-upnp-org:service:AVTransport:1
0.269: PLT_HttpHelper::ToLog(441)/4500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
NTS: ssdp:byebye
USN: uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::urn:schemas-upnp-org:service:AVTransport:1
NT: urn:schemas-upnp-org:service:AVTransport:1

0.285: PLT_SsdpSender::SendSsdp(72)/7500: FINE: Sending SSDP NOTIFY for uuid:aba1bac7-d093-4161-54e0-1bcf44203177::urn:schemas-upnp-org:service:ConnectionManager:1
0.285: PLT_HttpHelper::ToLog(441)/7500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
NTS: ssdp:byebye
USN: uuid:aba1bac7-d093-4161-54e0-1bcf44203177::urn:schemas-upnp-org:service:ConnectionManager:1
NT: urn:schemas-upnp-org:service:ConnectionManager:1

0.288: PLT_SsdpSender::SendSsdp(72)/4500: FINE: Sending SSDP NOTIFY for uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::urn:schemas-upnp-org:service:ConnectionManager:1
0.288: PLT_HttpHelper::ToLog(441)/4500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
NTS: ssdp:byebye
USN: uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::urn:schemas-upnp-org:service:ConnectionManager:1
NT: urn:schemas-upnp-org:service:ConnectionManager:1

0.304: PLT_SsdpSender::SendSsdp(72)/7500: FINE: Sending SSDP NOTIFY for uuid:aba1bac7-d093-4161-54e0-1bcf44203177::urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1
0.304: PLT_HttpHelper::ToLog(441)/7500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
NTS: ssdp:byebye
USN: uuid:aba1bac7-d093-4161-54e0-1bcf44203177::urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1
NT: urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1

0.307: PLT_SsdpSender::SendSsdp(72)/4500: FINE: Sending SSDP NOTIFY for uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::urn:schemas-upnp-org:service:RenderingControl:1
0.307: PLT_HttpHelper::ToLog(441)/4500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
NTS: ssdp:byebye
USN: uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::urn:schemas-upnp-org:service:RenderingControl:1
NT: urn:schemas-upnp-org:service:RenderingControl:1

0.323: PLT_SsdpSender::SendSsdp(72)/7500: FINE: Sending SSDP NOTIFY for uuid:aba1bac7-d093-4161-54e0-1bcf44203177
0.323: PLT_HttpHelper::ToLog(441)/7500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
NTS: ssdp:byebye
USN: uuid:aba1bac7-d093-4161-54e0-1bcf44203177
NT: uuid:aba1bac7-d093-4161-54e0-1bcf44203177

0.326: PLT_SsdpSender::SendSsdp(72)/4500: FINE: Sending SSDP NOTIFY for uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411
0.326: PLT_HttpHelper::ToLog(441)/4500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
NTS: ssdp:byebye
USN: uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411
NT: uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411

0.342: PLT_DeviceHost::Announce(293)/7500: FINE: Sending SSDP NOTIFY (ssdp:byebye) Request to http://239.255.255.250:1900* (http://239.255.255.250:1900*) with location:
0.342: PLT_SsdpSender::SendSsdp(72)/7500: FINE: Sending SSDP NOTIFY for uuid:aba1bac7-d093-4161-54e0-1bcf44203177::upnp:rootdevice
0.342: PLT_HttpHelper::ToLog(441)/7500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
NTS: ssdp:byebye
USN: uuid:aba1bac7-d093-4161-54e0-1bcf44203177::upnp:rootdevice
NT: upnp:rootdevice

0.345: PLT_DeviceHost::Announce(293)/4500: FINE: Sending SSDP NOTIFY (ssdp:byebye) Request to http://239.255.255.250:1900* (http://239.255.255.250:1900*) with location:
0.345: PLT_SsdpSender::SendSsdp(72)/4500: FINE: Sending SSDP NOTIFY for uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::upnp:rootdevice
0.345: PLT_HttpHelper::ToLog(441)/4500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
NTS: ssdp:byebye
USN: uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::upnp:rootdevice
NT: upnp:rootdevice

0.361: PLT_SsdpSender::SendSsdp(72)/7500: FINE: Sending SSDP NOTIFY for uuid:aba1bac7-d093-4161-54e0-1bcf44203177::urn:schemas-upnp-org:device:MediaServer:1
0.361: PLT_HttpHelper::ToLog(441)/7500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
NTS: ssdp:byebye
USN: uuid:aba1bac7-d093-4161-54e0-1bcf44203177::urn:schemas-upnp-org:device:MediaServer:1
NT: urn:schemas-upnp-org:device:MediaServer:1

0.364: PLT_SsdpSender::SendSsdp(72)/4500: FINE: Sending SSDP NOTIFY for uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::urn:schemas-upnp-org:device:MediaRenderer:1
0.364: PLT_HttpHelper::ToLog(441)/4500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
NTS: ssdp:byebye
USN: uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::urn:schemas-upnp-org:device:MediaRenderer:1
NT: urn:schemas-upnp-org:device:MediaRenderer:1

0.380: PLT_SsdpSender::SendSsdp(72)/7500: FINE: Sending SSDP NOTIFY for uuid:aba1bac7-d093-4161-54e0-1bcf44203177::urn:schemas-upnp-org:service:ContentDirectory:1
0.380: PLT_HttpHelper::ToLog(441)/7500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
NTS: ssdp:byebye
USN: uuid:aba1bac7-d093-4161-54e0-1bcf44203177::urn:schemas-upnp-org:service:ContentDirectory:1
NT: urn:schemas-upnp-org:service:ContentDirectory:1

0.383: PLT_SsdpSender::SendSsdp(72)/4500: FINE: Sending SSDP NOTIFY for uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::urn:schemas-upnp-org:service:AVTransport:1
0.383: PLT_HttpHelper::ToLog(441)/4500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
NTS: ssdp:byebye
USN: uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::urn:schemas-upnp-org:service:AVTransport:1
NT: urn:schemas-upnp-org:service:AVTransport:1

0.399: PLT_SsdpSender::SendSsdp(72)/7500: FINE: Sending SSDP NOTIFY for uuid:aba1bac7-d093-4161-54e0-1bcf44203177::urn:schemas-upnp-org:service:ConnectionManager:1
0.399: PLT_HttpHelper::ToLog(441)/7500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
NTS: ssdp:byebye
USN: uuid:aba1bac7-d093-4161-54e0-1bcf44203177::urn:schemas-upnp-org:service:ConnectionManager:1
NT: urn:schemas-upnp-org:service:ConnectionManager:1

0.402: PLT_SsdpSender::SendSsdp(72)/4500: FINE: Sending SSDP NOTIFY for uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::urn:schemas-upnp-org:service:ConnectionManager:1
0.402: PLT_HttpHelper::ToLog(441)/4500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
NTS: ssdp:byebye
USN: uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::urn:schemas-upnp-org:service:ConnectionManager:1
NT: urn:schemas-upnp-org:service:ConnectionManager:1

0.418: PLT_SsdpSender::SendSsdp(72)/7500: FINE: Sending SSDP NOTIFY for uuid:aba1bac7-d093-4161-54e0-1bcf44203177::urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1
0.418: PLT_HttpHelper::ToLog(441)/7500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
NTS: ssdp:byebye
USN: uuid:aba1bac7-d093-4161-54e0-1bcf44203177::urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1
NT: urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1

0.421: PLT_SsdpSender::SendSsdp(72)/4500: FINE: Sending SSDP NOTIFY for uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::urn:schemas-upnp-org:service:RenderingControl:1
0.421: PLT_HttpHelper::ToLog(441)/4500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
NTS: ssdp:byebye
USN: uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::urn:schemas-upnp-org:service:RenderingControl:1
NT: urn:schemas-upnp-org:service:RenderingControl:1

0.437: PLT_SsdpSender::SendSsdp(72)/7500: FINE: Sending SSDP NOTIFY for uuid:aba1bac7-d093-4161-54e0-1bcf44203177
0.437: PLT_HttpHelper::ToLog(441)/7500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
NTS: ssdp:byebye
USN: uuid:aba1bac7-d093-4161-54e0-1bcf44203177
NT: uuid:aba1bac7-d093-4161-54e0-1bcf44203177

0.440: PLT_SsdpSender::SendSsdp(72)/4500: FINE: Sending SSDP NOTIFY for uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411
0.440: PLT_HttpHelper::ToLog(441)/4500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
NTS: ssdp:byebye
USN: uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411
NT: uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411

0.456: PLT_DeviceHost::Announce(293)/7500: FINE: Sending SSDP NOTIFY (ssdp:byebye) Request to http://239.255.255.250:1900* (http://239.255.255.250:1900*) with location:
0.456: PLT_SsdpSender::SendSsdp(72)/7500: FINE: Sending SSDP NOTIFY for uuid:aba1bac7-d093-4161-54e0-1bcf44203177::upnp:rootdevice
0.456: PLT_HttpHelper::ToLog(441)/7500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
NTS: ssdp:byebye
USN: uuid:aba1bac7-d093-4161-54e0-1bcf44203177::upnp:rootdevice
NT: upnp:rootdevice

0.459: PLT_DeviceHost::Announce(293)/4500: FINE: Sending SSDP NOTIFY (ssdp:byebye) Request to http://239.255.255.250:1900* (http://239.255.255.250:1900*) with location:
0.459: PLT_SsdpSender::SendSsdp(72)/4500: FINE: Sending SSDP NOTIFY for uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::upnp:rootdevice
0.459: PLT_HttpHelper::ToLog(441)/4500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
NTS: ssdp:byebye
USN: uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::upnp:rootdevice
NT: upnp:rootdevice

0.475: PLT_SsdpSender::SendSsdp(72)/7500: FINE: Sending SSDP NOTIFY for uuid:aba1bac7-d093-4161-54e0-1bcf44203177::urn:schemas-upnp-org:device:MediaServer:1
0.475: PLT_HttpHelper::ToLog(441)/7500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
NTS: ssdp:byebye
USN: uuid:aba1bac7-d093-4161-54e0-1bcf44203177::urn:schemas-upnp-org:device:MediaServer:1
NT: urn:schemas-upnp-org:device:MediaServer:1

0.478: PLT_SsdpSender::SendSsdp(72)/4500: FINE: Sending SSDP NOTIFY for uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::urn:schemas-upnp-org:device:MediaRenderer:1
0.478: PLT_HttpHelper::ToLog(441)/4500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
NTS: ssdp:byebye
USN: uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::urn:schemas-upnp-org:device:MediaRenderer:1
NT: urn:schemas-upnp-org:device:MediaRenderer:1

0.494: PLT_SsdpSender::SendSsdp(72)/7500: FINE: Sending SSDP NOTIFY for uuid:aba1bac7-d093-4161-54e0-1bcf44203177::urn:schemas-upnp-org:service:ContentDirectory:1
0.494: PLT_HttpHelper::ToLog(441)/7500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
NTS: ssdp:byebye
USN: uuid:aba1bac7-d093-4161-54e0-1bcf44203177::urn:schemas-upnp-org:service:ContentDirectory:1
NT: urn:schemas-upnp-org:service:ContentDirectory:1

0.497: PLT_SsdpSender::SendSsdp(72)/4500: FINE: Sending SSDP NOTIFY for uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::urn:schemas-upnp-org:service:AVTransport:1
0.497: PLT_HttpHelper::ToLog(441)/4500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
NTS: ssdp:byebye
USN: uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::urn:schemas-upnp-org:service:AVTransport:1
NT: urn:schemas-upnp-org:service:AVTransport:1

0.513: PLT_SsdpSender::SendSsdp(72)/7500: FINE: Sending SSDP NOTIFY for uuid:aba1bac7-d093-4161-54e0-1bcf44203177::urn:schemas-upnp-org:service:ConnectionManager:1
0.513: PLT_HttpHelper::ToLog(441)/7500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
NTS: ssdp:byebye
USN: uuid:aba1bac7-d093-4161-54e0-1bcf44203177::urn:schemas-upnp-org:service:ConnectionManager:1
NT: urn:schemas-upnp-org:service:ConnectionManager:1

0.516: PLT_SsdpSender::SendSsdp(72)/4500: FINE: Sending SSDP NOTIFY for uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::urn:schemas-upnp-org:service:ConnectionManager:1
0.516: PLT_HttpHelper::ToLog(441)/4500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
NTS: ssdp:byebye
USN: uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::urn:schemas-upnp-org:service:ConnectionManager:1
NT: urn:schemas-upnp-org:service:ConnectionManager:1

0.532: PLT_SsdpSender::SendSsdp(72)/7500: FINE: Sending SSDP NOTIFY for uuid:aba1bac7-d093-4161-54e0-1bcf44203177::urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1
0.532: PLT_HttpHelper::ToLog(441)/7500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
NTS: ssdp:byebye
USN: uuid:aba1bac7-d093-4161-54e0-1bcf44203177::urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1
NT: urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1

0.535: PLT_SsdpSender::SendSsdp(72)/4500: FINE: Sending SSDP NOTIFY for uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::urn:schemas-upnp-org:service:RenderingControl:1
0.535: PLT_HttpHelper::ToLog(441)/4500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
NTS: ssdp:byebye
USN: uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::urn:schemas-upnp-org:service:RenderingControl:1
NT: urn:schemas-upnp-org:service:RenderingControl:1

0.551: PLT_SsdpSender::SendSsdp(72)/7500: FINE: Sending SSDP NOTIFY for uuid:aba1bac7-d093-4161-54e0-1bcf44203177
0.551: PLT_HttpHelper::ToLog(441)/7500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
NTS: ssdp:byebye
USN: uuid:aba1bac7-d093-4161-54e0-1bcf44203177
NT: uuid:aba1bac7-d093-4161-54e0-1bcf44203177

0.554: PLT_SsdpSender::SendSsdp(72)/4500: FINE: Sending SSDP NOTIFY for uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411
0.554: PLT_HttpHelper::ToLog(441)/4500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
NTS: ssdp:byebye
USN: uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411
NT: uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411

0.870: PLT_DeviceHost::Announce(293)/7500: FINE: Sending SSDP NOTIFY (ssdp:alive) Request to http://239.255.255.250:1900* (http://239.255.255.250:1900*) with location:http://192.168.1.254:56293/DeviceDescription.xml
0.870: PLT_SsdpSender::SendSsdp(72)/7500: FINE: Sending SSDP NOTIFY for uuid:aba1bac7-d093-4161-54e0-1bcf44203177::upnp:rootdevice
0.870: PLT_HttpHelper::ToLog(441)/7500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
LOCATION: http://192.168.1.254:56293/DeviceDescription.xml (http://192.168.1.254:56293/DeviceDescription.xml)
NTS: ssdp:alive
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
USN: uuid:aba1bac7-d093-4161-54e0-1bcf44203177::upnp:rootdevice
NT: upnp:rootdevice

0.873: PLT_DeviceHost::Announce(293)/4500: FINE: Sending SSDP NOTIFY (ssdp:alive) Request to http://239.255.255.250:1900* (http://239.255.255.250:1900*) with location:http://192.168.1.254:54213/
0.873: PLT_SsdpSender::SendSsdp(72)/4500: FINE: Sending SSDP NOTIFY for uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::upnp:rootdevice
0.873: PLT_HttpHelper::ToLog(441)/4500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
LOCATION: http://192.168.1.254:54213/ (http://192.168.1.254:54213/)
NTS: ssdp:alive
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
USN: uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::upnp:rootdevice
NT: upnp:rootdevice

0.889: PLT_SsdpSender::SendSsdp(72)/7500: FINE: Sending SSDP NOTIFY for uuid:aba1bac7-d093-4161-54e0-1bcf44203177::urn:schemas-upnp-org:device:MediaServer:1
0.889: PLT_HttpHelper::ToLog(441)/7500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
LOCATION: http://192.168.1.254:56293/DeviceDescription.xml (http://192.168.1.254:56293/DeviceDescription.xml)
NTS: ssdp:alive
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
USN: uuid:aba1bac7-d093-4161-54e0-1bcf44203177::urn:schemas-upnp-org:device:MediaServer:1
NT: urn:schemas-upnp-org:device:MediaServer:1

loaded Media Library tree in 0.880s
0.892: PLT_SsdpSender::SendSsdp(72)/4500: FINE: Sending SSDP NOTIFY for uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::urn:schemas-upnp-org:device:MediaRenderer:1
0.892: PLT_HttpHelper::ToLog(441)/4500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
LOCATION: http://192.168.1.254:54213/ (http://192.168.1.254:54213/)
NTS: ssdp:alive
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
USN: uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::urn:schemas-upnp-org:device:MediaRenderer:1
NT: urn:schemas-upnp-org:device:MediaRenderer:1

0.908: PLT_SsdpSender::SendSsdp(72)/7500: FINE: Sending SSDP NOTIFY for uuid:aba1bac7-d093-4161-54e0-1bcf44203177::urn:schemas-upnp-org:service:ContentDirectory:1
0.908: PLT_HttpHelper::ToLog(441)/7500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
LOCATION: http://192.168.1.254:56293/DeviceDescription.xml (http://192.168.1.254:56293/DeviceDescription.xml)
NTS: ssdp:alive
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
USN: uuid:aba1bac7-d093-4161-54e0-1bcf44203177::urn:schemas-upnp-org:service:ContentDirectory:1
NT: urn:schemas-upnp-org:service:ContentDirectory:1

0.911: PLT_SsdpSender::SendSsdp(72)/4500: FINE: Sending SSDP NOTIFY for uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::urn:schemas-upnp-org:service:AVTransport:1
0.911: PLT_HttpHelper::ToLog(441)/4500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
LOCATION: http://192.168.1.254:54213/ (http://192.168.1.254:54213/)
NTS: ssdp:alive
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
USN: uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::urn:schemas-upnp-org:service:AVTransport:1
NT: urn:schemas-upnp-org:service:AVTransport:1

0.927: PLT_SsdpSender::SendSsdp(72)/7500: FINE: Sending SSDP NOTIFY for uuid:aba1bac7-d093-4161-54e0-1bcf44203177::urn:schemas-upnp-org:service:ConnectionManager:1
0.927: PLT_HttpHelper::ToLog(441)/7500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
LOCATION: http://192.168.1.254:56293/DeviceDescription.xml (http://192.168.1.254:56293/DeviceDescription.xml)
NTS: ssdp:alive
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
USN: uuid:aba1bac7-d093-4161-54e0-1bcf44203177::urn:schemas-upnp-org:service:ConnectionManager:1
NT: urn:schemas-upnp-org:service:ConnectionManager:1

0.930: PLT_SsdpSender::SendSsdp(72)/4500: FINE: Sending SSDP NOTIFY for uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::urn:schemas-upnp-org:service:ConnectionManager:1
0.930: PLT_HttpHelper::ToLog(441)/4500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
LOCATION: http://192.168.1.254:54213/ (http://192.168.1.254:54213/)
NTS: ssdp:alive
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
USN: uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::urn:schemas-upnp-org:service:ConnectionManager:1
NT: urn:schemas-upnp-org:service:ConnectionManager:1

0.946: PLT_SsdpSender::SendSsdp(72)/7500: FINE: Sending SSDP NOTIFY for uuid:aba1bac7-d093-4161-54e0-1bcf44203177::urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1
0.946: PLT_HttpHelper::ToLog(441)/7500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
LOCATION: http://192.168.1.254:56293/DeviceDescription.xml (http://192.168.1.254:56293/DeviceDescription.xml)
NTS: ssdp:alive
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
USN: uuid:aba1bac7-d093-4161-54e0-1bcf44203177::urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1
NT: urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1

0.949: PLT_SsdpSender::SendSsdp(72)/4500: FINE: Sending SSDP NOTIFY for uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::urn:schemas-upnp-org:service:RenderingControl:1
0.949: PLT_HttpHelper::ToLog(441)/4500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
LOCATION: http://192.168.1.254:54213/ (http://192.168.1.254:54213/)
NTS: ssdp:alive
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
USN: uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::urn:schemas-upnp-org:service:RenderingControl:1
NT: urn:schemas-upnp-org:service:RenderingControl:1

0.965: PLT_SsdpSender::SendSsdp(72)/7500: FINE: Sending SSDP NOTIFY for uuid:aba1bac7-d093-4161-54e0-1bcf44203177
0.965: PLT_HttpHelper::ToLog(441)/7500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
LOCATION: http://192.168.1.254:56293/DeviceDescription.xml (http://192.168.1.254:56293/DeviceDescription.xml)
NTS: ssdp:alive
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
USN: uuid:aba1bac7-d093-4161-54e0-1bcf44203177
NT: uuid:aba1bac7-d093-4161-54e0-1bcf44203177

0.968: PLT_SsdpSender::SendSsdp(72)/4500: FINE: Sending SSDP NOTIFY for uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411
0.968: PLT_HttpHelper::ToLog(441)/4500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
LOCATION: http://192.168.1.254:54213/ (http://192.168.1.254:54213/)
NTS: ssdp:alive
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
USN: uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411
NT: uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411

0.984: PLT_DeviceHost::Announce(293)/7500: FINE: Sending SSDP NOTIFY (ssdp:alive) Request to http://239.255.255.250:1900* (http://239.255.255.250:1900*) with location:http://192.168.1.254:56293/DeviceDescription.xml
0.984: PLT_SsdpSender::SendSsdp(72)/7500: FINE: Sending SSDP NOTIFY for uuid:aba1bac7-d093-4161-54e0-1bcf44203177::upnp:rootdevice
0.984: PLT_HttpHelper::ToLog(441)/7500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
LOCATION: http://192.168.1.254:56293/DeviceDescription.xml (http://192.168.1.254:56293/DeviceDescription.xml)
NTS: ssdp:alive
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
USN: uuid:aba1bac7-d093-4161-54e0-1bcf44203177::upnp:rootdevice
NT: upnp:rootdevice

0.987: PLT_DeviceHost::Announce(293)/4500: FINE: Sending SSDP NOTIFY (ssdp:alive) Request to http://239.255.255.250:1900* (http://239.255.255.250:1900*) with location:http://192.168.1.254:54213/
0.987: PLT_SsdpSender::SendSsdp(72)/4500: FINE: Sending SSDP NOTIFY for uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::upnp:rootdevice
0.987: PLT_HttpHelper::ToLog(441)/4500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
LOCATION: http://192.168.1.254:54213/ (http://192.168.1.254:54213/)
NTS: ssdp:alive
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
USN: uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::upnp:rootdevice
NT: upnp:rootdevice

1.003: PLT_SsdpSender::SendSsdp(72)/7500: FINE: Sending SSDP NOTIFY for uuid:aba1bac7-d093-4161-54e0-1bcf44203177::urn:schemas-upnp-org:device:MediaServer:1
1.003: PLT_HttpHelper::ToLog(441)/7500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
LOCATION: http://192.168.1.254:56293/DeviceDescription.xml (http://192.168.1.254:56293/DeviceDescription.xml)
NTS: ssdp:alive
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
USN: uuid:aba1bac7-d093-4161-54e0-1bcf44203177::urn:schemas-upnp-org:device:MediaServer:1
NT: urn:schemas-upnp-org:device:MediaServer:1

1.006: PLT_SsdpSender::SendSsdp(72)/4500: FINE: Sending SSDP NOTIFY for uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::urn:schemas-upnp-org:device:MediaRenderer:1
1.006: PLT_HttpHelper::ToLog(441)/4500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
LOCATION: http://192.168.1.254:54213/ (http://192.168.1.254:54213/)
NTS: ssdp:alive
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
USN: uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::urn:schemas-upnp-org:device:MediaRenderer:1
NT: urn:schemas-upnp-org:device:MediaRenderer:1

1.022: PLT_SsdpSender::SendSsdp(72)/7500: FINE: Sending SSDP NOTIFY for uuid:aba1bac7-d093-4161-54e0-1bcf44203177::urn:schemas-upnp-org:service:ContentDirectory:1
1.022: PLT_HttpHelper::ToLog(441)/7500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
LOCATION: http://192.168.1.254:56293/DeviceDescription.xml (http://192.168.1.254:56293/DeviceDescription.xml)
NTS: ssdp:alive
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
USN: uuid:aba1bac7-d093-4161-54e0-1bcf44203177::urn:schemas-upnp-org:service:ContentDirectory:1
NT: urn:schemas-upnp-org:service:ContentDirectory:1

1.025: PLT_SsdpSender::SendSsdp(72)/4500: FINE: Sending SSDP NOTIFY for uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::urn:schemas-upnp-org:service:AVTransport:1
1.025: PLT_HttpHelper::ToLog(441)/4500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
LOCATION: http://192.168.1.254:54213/ (http://192.168.1.254:54213/)
NTS: ssdp:alive
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
USN: uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::urn:schemas-upnp-org:service:AVTransport:1
NT: urn:schemas-upnp-org:service:AVTransport:1

1.041: PLT_SsdpSender::SendSsdp(72)/7500: FINE: Sending SSDP NOTIFY for uuid:aba1bac7-d093-4161-54e0-1bcf44203177::urn:schemas-upnp-org:service:ConnectionManager:1
1.041: PLT_HttpHelper::ToLog(441)/7500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
LOCATION: http://192.168.1.254:56293/DeviceDescription.xml (http://192.168.1.254:56293/DeviceDescription.xml)
NTS: ssdp:alive
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
USN: uuid:aba1bac7-d093-4161-54e0-1bcf44203177::urn:schemas-upnp-org:service:ConnectionManager:1
NT: urn:schemas-upnp-org:service:ConnectionManager:1

1.044: PLT_SsdpSender::SendSsdp(72)/4500: FINE: Sending SSDP NOTIFY for uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::urn:schemas-upnp-org:service:ConnectionManager:1
1.044: PLT_HttpHelper::ToLog(441)/4500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
LOCATION: http://192.168.1.254:54213/ (http://192.168.1.254:54213/)
NTS: ssdp:alive
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
USN: uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::urn:schemas-upnp-org:service:ConnectionManager:1
NT: urn:schemas-upnp-org:service:ConnectionManager:1

1.060: PLT_SsdpSender::SendSsdp(72)/7500: FINE: Sending SSDP NOTIFY for uuid:aba1bac7-d093-4161-54e0-1bcf44203177::urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1
1.060: PLT_HttpHelper::ToLog(441)/7500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
LOCATION: http://192.168.1.254:56293/DeviceDescription.xml (http://192.168.1.254:56293/DeviceDescription.xml)
NTS: ssdp:alive
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
USN: uuid:aba1bac7-d093-4161-54e0-1bcf44203177::urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1
NT: urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1

1.063: PLT_SsdpSender::SendSsdp(72)/4500: FINE: Sending SSDP NOTIFY for uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::urn:schemas-upnp-org:service:RenderingControl:1
1.063: PLT_HttpHelper::ToLog(441)/4500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
LOCATION: http://192.168.1.254:54213/ (http://192.168.1.254:54213/)
NTS: ssdp:alive
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
USN: uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::urn:schemas-upnp-org:service:RenderingControl:1
NT: urn:schemas-upnp-org:service:RenderingControl:1

1.079: PLT_SsdpSender::SendSsdp(72)/7500: FINE: Sending SSDP NOTIFY for uuid:aba1bac7-d093-4161-54e0-1bcf44203177
1.079: PLT_HttpHelper::ToLog(441)/7500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
LOCATION: http://192.168.1.254:56293/DeviceDescription.xml (http://192.168.1.254:56293/DeviceDescription.xml)
NTS: ssdp:alive
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
USN: uuid:aba1bac7-d093-4161-54e0-1bcf44203177
NT: uuid:aba1bac7-d093-4161-54e0-1bcf44203177

1.082: PLT_SsdpSender::SendSsdp(72)/4500: FINE: Sending SSDP NOTIFY for uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411
1.082: PLT_HttpHelper::ToLog(441)/4500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
LOCATION: http://192.168.1.254:54213/ (http://192.168.1.254:54213/)
NTS: ssdp:alive
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
USN: uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411
NT: uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411

1.098: PLT_DeviceHost::Announce(293)/7500: FINE: Sending SSDP NOTIFY (ssdp:alive) Request to http://239.255.255.250:1900* (http://239.255.255.250:1900*) with location:http://127.0.0.1:56293/DeviceDescription.xml
1.098: PLT_SsdpSender::SendSsdp(72)/7500: FINE: Sending SSDP NOTIFY for uuid:aba1bac7-d093-4161-54e0-1bcf44203177::upnp:rootdevice
1.098: PLT_HttpHelper::ToLog(441)/7500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
LOCATION: http://127.0.0.1:56293/DeviceDescription.xml (http://127.0.0.1:56293/DeviceDescription.xml)
NTS: ssdp:alive
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
USN: uuid:aba1bac7-d093-4161-54e0-1bcf44203177::upnp:rootdevice
NT: upnp:rootdevice

1.101: PLT_DeviceHost::Announce(293)/4500: FINE: Sending SSDP NOTIFY (ssdp:alive) Request to http://239.255.255.250:1900* (http://239.255.255.250:1900*) with location:http://127.0.0.1:54213/
1.101: PLT_SsdpSender::SendSsdp(72)/4500: FINE: Sending SSDP NOTIFY for uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::upnp:rootdevice
1.101: PLT_HttpHelper::ToLog(441)/4500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
LOCATION: http://127.0.0.1:54213/ (http://127.0.0.1:54213/)
NTS: ssdp:alive
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
USN: uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::upnp:rootdevice
NT: upnp:rootdevice

1.117: PLT_SsdpSender::SendSsdp(72)/7500: FINE: Sending SSDP NOTIFY for uuid:aba1bac7-d093-4161-54e0-1bcf44203177::urn:schemas-upnp-org:device:MediaServer:1
1.117: PLT_HttpHelper::ToLog(441)/7500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
LOCATION: http://127.0.0.1:56293/DeviceDescription.xml (http://127.0.0.1:56293/DeviceDescription.xml)
NTS: ssdp:alive
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
USN: uuid:aba1bac7-d093-4161-54e0-1bcf44203177::urn:schemas-upnp-org:device:MediaServer:1
NT: urn:schemas-upnp-org:device:MediaServer:1

1.120: PLT_SsdpSender::SendSsdp(72)/4500: FINE: Sending SSDP NOTIFY for uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::urn:schemas-upnp-org:device:MediaRenderer:1
1.120: PLT_HttpHelper::ToLog(441)/4500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
LOCATION: http://127.0.0.1:54213/ (http://127.0.0.1:54213/)
NTS: ssdp:alive
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
USN: uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::urn:schemas-upnp-org:device:MediaRenderer:1
NT: urn:schemas-upnp-org:device:MediaRenderer:1

1.136: PLT_SsdpSender::SendSsdp(72)/7500: FINE: Sending SSDP NOTIFY for uuid:aba1bac7-d093-4161-54e0-1bcf44203177::urn:schemas-upnp-org:service:ContentDirectory:1
1.136: PLT_HttpHelper::ToLog(441)/7500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
LOCATION: http://127.0.0.1:56293/DeviceDescription.xml (http://127.0.0.1:56293/DeviceDescription.xml)
NTS: ssdp:alive
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
USN: uuid:aba1bac7-d093-4161-54e0-1bcf44203177::urn:schemas-upnp-org:service:ContentDirectory:1
NT: urn:schemas-upnp-org:service:ContentDirectory:1

1.139: PLT_SsdpSender::SendSsdp(72)/4500: FINE: Sending SSDP NOTIFY for uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::urn:schemas-upnp-org:service:AVTransport:1
1.139: PLT_HttpHelper::ToLog(441)/4500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
LOCATION: http://127.0.0.1:54213/ (http://127.0.0.1:54213/)
NTS: ssdp:alive
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
USN: uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::urn:schemas-upnp-org:service:AVTransport:1
NT: urn:schemas-upnp-org:service:AVTransport:1

1.155: PLT_SsdpSender::SendSsdp(72)/7500: FINE: Sending SSDP NOTIFY for uuid:aba1bac7-d093-4161-54e0-1bcf44203177::urn:schemas-upnp-org:service:ConnectionManager:1
1.155: PLT_HttpHelper::ToLog(441)/7500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
LOCATION: http://127.0.0.1:56293/DeviceDescription.xml (http://127.0.0.1:56293/DeviceDescription.xml)
NTS: ssdp:alive
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
USN: uuid:aba1bac7-d093-4161-54e0-1bcf44203177::urn:schemas-upnp-org:service:ConnectionManager:1
NT: urn:schemas-upnp-org:service:ConnectionManager:1

1.158: PLT_SsdpSender::SendSsdp(72)/4500: FINE: Sending SSDP NOTIFY for uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::urn:schemas-upnp-org:service:ConnectionManager:1
1.158: PLT_HttpHelper::ToLog(441)/4500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
LOCATION: http://127.0.0.1:54213/ (http://127.0.0.1:54213/)
NTS: ssdp:alive
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
USN: uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::urn:schemas-upnp-org:service:ConnectionManager:1
NT: urn:schemas-upnp-org:service:ConnectionManager:1

1.174: PLT_SsdpSender::SendSsdp(72)/7500: FINE: Sending SSDP NOTIFY for uuid:aba1bac7-d093-4161-54e0-1bcf44203177::urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1
1.174: PLT_HttpHelper::ToLog(441)/7500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
LOCATION: http://127.0.0.1:56293/DeviceDescription.xml (http://127.0.0.1:56293/DeviceDescription.xml)
NTS: ssdp:alive
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
USN: uuid:aba1bac7-d093-4161-54e0-1bcf44203177::urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1
NT: urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1

1.177: PLT_SsdpSender::SendSsdp(72)/4500: FINE: Sending SSDP NOTIFY for uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::urn:schemas-upnp-org:service:RenderingControl:1
1.177: PLT_HttpHelper::ToLog(441)/4500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
LOCATION: http://127.0.0.1:54213/ (http://127.0.0.1:54213/)
NTS: ssdp:alive
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
USN: uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::urn:schemas-upnp-org:service:RenderingControl:1
NT: urn:schemas-upnp-org:service:RenderingControl:1

1.193: PLT_SsdpSender::SendSsdp(72)/7500: FINE: Sending SSDP NOTIFY for uuid:aba1bac7-d093-4161-54e0-1bcf44203177
1.193: PLT_HttpHelper::ToLog(441)/7500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
LOCATION: http://127.0.0.1:56293/DeviceDescription.xml (http://127.0.0.1:56293/DeviceDescription.xml)
NTS: ssdp:alive
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
USN: uuid:aba1bac7-d093-4161-54e0-1bcf44203177
NT: uuid:aba1bac7-d093-4161-54e0-1bcf44203177

1.196: PLT_SsdpSender::SendSsdp(72)/4500: FINE: Sending SSDP NOTIFY for uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411
1.196: PLT_HttpHelper::ToLog(441)/4500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
LOCATION: http://127.0.0.1:54213/ (http://127.0.0.1:54213/)
NTS: ssdp:alive
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
USN: uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411
NT: uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411

1.212: PLT_DeviceHost::Announce(293)/7500: FINE: Sending SSDP NOTIFY (ssdp:alive) Request to http://239.255.255.250:1900* (http://239.255.255.250:1900*) with location:http://127.0.0.1:56293/DeviceDescription.xml
1.212: PLT_SsdpSender::SendSsdp(72)/7500: FINE: Sending SSDP NOTIFY for uuid:aba1bac7-d093-4161-54e0-1bcf44203177::upnp:rootdevice
1.212: PLT_HttpHelper::ToLog(441)/7500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
LOCATION: http://127.0.0.1:56293/DeviceDescription.xml (http://127.0.0.1:56293/DeviceDescription.xml)
NTS: ssdp:alive
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
USN: uuid:aba1bac7-d093-4161-54e0-1bcf44203177::upnp:rootdevice
NT: upnp:rootdevice

1.215: PLT_DeviceHost::Announce(293)/4500: FINE: Sending SSDP NOTIFY (ssdp:alive) Request to http://239.255.255.250:1900* (http://239.255.255.250:1900*) with location:http://127.0.0.1:54213/
1.215: PLT_SsdpSender::SendSsdp(72)/4500: FINE: Sending SSDP NOTIFY for uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::upnp:rootdevice
1.215: PLT_HttpHelper::ToLog(441)/4500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
LOCATION: http://127.0.0.1:54213/ (http://127.0.0.1:54213/)
NTS: ssdp:alive
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
USN: uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::upnp:rootdevice
NT: upnp:rootdevice

1.231: PLT_SsdpSender::SendSsdp(72)/7500: FINE: Sending SSDP NOTIFY for uuid:aba1bac7-d093-4161-54e0-1bcf44203177::urn:schemas-upnp-org:device:MediaServer:1
1.231: PLT_HttpHelper::ToLog(441)/7500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
LOCATION: http://127.0.0.1:56293/DeviceDescription.xml (http://127.0.0.1:56293/DeviceDescription.xml)
NTS: ssdp:alive
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
USN: uuid:aba1bac7-d093-4161-54e0-1bcf44203177::urn:schemas-upnp-org:device:MediaServer:1
NT: urn:schemas-upnp-org:device:MediaServer:1

1.234: PLT_SsdpSender::SendSsdp(72)/4500: FINE: Sending SSDP NOTIFY for uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::urn:schemas-upnp-org:device:MediaRenderer:1
1.234: PLT_HttpHelper::ToLog(441)/4500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
LOCATION: http://127.0.0.1:54213/ (http://127.0.0.1:54213/)
NTS: ssdp:alive
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
USN: uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::urn:schemas-upnp-org:device:MediaRenderer:1
NT: urn:schemas-upnp-org:device:MediaRenderer:1

1.250: PLT_SsdpSender::SendSsdp(72)/7500: FINE: Sending SSDP NOTIFY for uuid:aba1bac7-d093-4161-54e0-1bcf44203177::urn:schemas-upnp-org:service:ContentDirectory:1
1.250: PLT_HttpHelper::ToLog(441)/7500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
LOCATION: http://127.0.0.1:56293/DeviceDescription.xml (http://127.0.0.1:56293/DeviceDescription.xml)
NTS: ssdp:alive
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
USN: uuid:aba1bac7-d093-4161-54e0-1bcf44203177::urn:schemas-upnp-org:service:ContentDirectory:1
NT: urn:schemas-upnp-org:service:ContentDirectory:1

1.253: PLT_SsdpSender::SendSsdp(72)/4500: FINE: Sending SSDP NOTIFY for uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::urn:schemas-upnp-org:service:AVTransport:1
1.253: PLT_HttpHelper::ToLog(441)/4500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
LOCATION: http://127.0.0.1:54213/ (http://127.0.0.1:54213/)
NTS: ssdp:alive
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
USN: uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::urn:schemas-upnp-org:service:AVTransport:1
NT: urn:schemas-upnp-org:service:AVTransport:1

1.269: PLT_SsdpSender::SendSsdp(72)/7500: FINE: Sending SSDP NOTIFY for uuid:aba1bac7-d093-4161-54e0-1bcf44203177::urn:schemas-upnp-org:service:ConnectionManager:1
1.269: PLT_HttpHelper::ToLog(441)/7500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
LOCATION: http://127.0.0.1:56293/DeviceDescription.xml (http://127.0.0.1:56293/DeviceDescription.xml)
NTS: ssdp:alive
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
USN: uuid:aba1bac7-d093-4161-54e0-1bcf44203177::urn:schemas-upnp-org:service:ConnectionManager:1
NT: urn:schemas-upnp-org:service:ConnectionManager:1

1.272: PLT_SsdpSender::SendSsdp(72)/4500: FINE: Sending SSDP NOTIFY for uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::urn:schemas-upnp-org:service:ConnectionManager:1
1.272: PLT_HttpHelper::ToLog(441)/4500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
LOCATION: http://127.0.0.1:54213/ (http://127.0.0.1:54213/)
NTS: ssdp:alive
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
USN: uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::urn:schemas-upnp-org:service:ConnectionManager:1
NT: urn:schemas-upnp-org:service:ConnectionManager:1

1.288: PLT_SsdpSender::SendSsdp(72)/7500: FINE: Sending SSDP NOTIFY for uuid:aba1bac7-d093-4161-54e0-1bcf44203177::urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1
1.288: PLT_HttpHelper::ToLog(441)/7500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
LOCATION: http://127.0.0.1:56293/DeviceDescription.xml (http://127.0.0.1:56293/DeviceDescription.xml)
NTS: ssdp:alive
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
USN: uuid:aba1bac7-d093-4161-54e0-1bcf44203177::urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1
NT: urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1

1.291: PLT_SsdpSender::SendSsdp(72)/4500: FINE: Sending SSDP NOTIFY for uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::urn:schemas-upnp-org:service:RenderingControl:1
1.291: PLT_HttpHelper::ToLog(441)/4500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
LOCATION: http://127.0.0.1:54213/ (http://127.0.0.1:54213/)
NTS: ssdp:alive
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
USN: uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411::urn:schemas-upnp-org:service:RenderingControl:1
NT: urn:schemas-upnp-org:service:RenderingControl:1

1.307: PLT_SsdpSender::SendSsdp(72)/7500: FINE: Sending SSDP NOTIFY for uuid:aba1bac7-d093-4161-54e0-1bcf44203177
1.307: PLT_HttpHelper::ToLog(441)/7500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
LOCATION: http://127.0.0.1:56293/DeviceDescription.xml (http://127.0.0.1:56293/DeviceDescription.xml)
NTS: ssdp:alive
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
USN: uuid:aba1bac7-d093-4161-54e0-1bcf44203177
NT: uuid:aba1bac7-d093-4161-54e0-1bcf44203177

1.310: PLT_SsdpSender::SendSsdp(72)/4500: FINE: Sending SSDP NOTIFY for uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411
1.310: PLT_HttpHelper::ToLog(441)/4500: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
LOCATION: http://127.0.0.1:54213/ (http://127.0.0.1:54213/)
NTS: ssdp:alive
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
USN: uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411
NT: uuid:ab435182-b5dd-fc7a-b16f-f7320f5a5411

1.604: PLT_HttpListenTask<class PLT_HttpServerListener>::DoRun(156)/7668: FINE: current http task count = 2
1.605: PLT_HttpServer::ProcessHttpRequest(142)/7708: FINE: Received GET Request from 127.0.0.1 for /DeviceDescription.xml
1.605: FbMediaServer::ProcessHttpRequest(330)/7708: INFO: received LAN request: http://127.0.0.1:56293/DeviceDescription.xml (http://127.0.0.1:56293/DeviceDescription.xml) (User-Agent: Microsoft-Windows/6.1 UPnP/1.0 Windows-Media-Player/12.0.7601.17514 DLNADOC/1.50 (MS-DeviceCaps/1024))
1.605: FbMediaServer::ProcessGetDescription(414)/7708: INFO: ProcessGetDescription: user-agent: Microsoft-Windows/6.1 UPnP/1.0 Windows-Media-Player/12.0.7601.17514 DLNADOC/1.50 (MS-DeviceCaps/1024)
1.613: PLT_HttpListenTask<class PLT_HttpServerListener>::DoRun(156)/7668: FINE: current http task count = 2
1.613: PLT_HttpServer::ProcessHttpRequest(142)/8188: FINE: Received GET Request from 127.0.0.1 for /ContentDirectory/aba1bac7-d093-4161-54e0-1bcf44203177/scpd.xml
1.616: PLT_HttpListenTask<class PLT_HttpServerListener>::DoRun(156)/7668: FINE: current http task count = 2
1.616: PLT_HttpServer::ProcessHttpRequest(142)/7660: FINE: Received SUBSCRIBE Request from 127.0.0.1 for /ContentDirectory/aba1bac7-d093-4161-54e0-1bcf44203177/event.xml
1.616: FbMediaServer::ProcessHttpRequest(330)/7660: INFO: received LAN request: http://127.0.0.1:56293/ContentDirectory/ab...03177/event.xml (http://127.0.0.1:56293/ContentDirectory/aba1bac7-d093-4161-54e0-1bcf44203177/event.xml) (User-Agent: Microsoft-Windows/6.1 UPnP/1.0)
1.616: PLT_Service::ProcessNewSubscription(506)/7660: FINE: New subscription for ContentDirectory/aba1bac7-d093-4161-54e0-1bcf44203177/event.xml
1.616: PLT_Service::ProcessNewSubscription(534)/7660: INFO: New subscription for ContentDirectory/aba1bac7-d093-4161-54e0-1bcf44203177/event.xml, sid=uuid:a507f1d0-0aea-3c2e-c1a3-8a3db013dbd5
1.617: PLT_EventSubscriber::PLT_EventSubscriber(60)/7660: FINE: Creating new subscriber (uuid:a507f1d0-0aea-3c2e-c1a3-8a3db013dbd5)
1.617: PLT_EventSubscriber::SetTimeout(141)/7660: FINE: subscriber (uuid:a507f1d0-0aea-3c2e-c1a3-8a3db013dbd5) expiring in 1800 seconds
1.617: PLT_EventSubscriber::AddCallbackURL(176)/7660: FINE: Adding callback "http://127.0.0.1:2869/upnp/eventing/pafvtspujz" to subscriber uuid:a507f1d0-0aea-3c2e-c1a3-8a3db013dbd5
1.619: PLT_HttpListenTask<class PLT_HttpServerListener>::DoRun(156)/7668: FINE: current http task count = 2
1.620: PLT_HttpServer::ProcessHttpRequest(142)/7124: FINE: Received GET Request from 127.0.0.1 for /X_MS_MediaReceiverRegistrar/aba1bac7-d093-4161-54e0-1bcf44203177/scpd.xml
1.621: PLT_HttpListenTask<class PLT_HttpServerListener>::DoRun(156)/7668: FINE: current http task count = 2
1.621: PLT_HttpServer::ProcessHttpRequest(142)/7852: FINE: Received SUBSCRIBE Request from 127.0.0.1 for /X_MS_MediaReceiverRegistrar/aba1bac7-d093-4161-54e0-1bcf44203177/event.xml
1.621: FbMediaServer::ProcessHttpRequest(330)/7852: INFO: received LAN request: http://127.0.0.1:56293/X_MS_MediaReceiverR...03177/event.xml (http://127.0.0.1:56293/X_MS_MediaReceiverRegistrar/aba1bac7-d093-4161-54e0-1bcf44203177/event.xml) (User-Agent: Microsoft-Windows/6.1 UPnP/1.0)
1.621: PLT_Service::ProcessNewSubscription(506)/7852: FINE: New subscription for X_MS_MediaReceiverRegistrar/aba1bac7-d093-4161-54e0-1bcf44203177/event.xml
1.621: PLT_Service::ProcessNewSubscription(534)/7852: INFO: New subscription for X_MS_MediaReceiverRegistrar/aba1bac7-d093-4161-54e0-1bcf44203177/event.xml, sid=uuid:544b3508-80b1-d072-2e1e-7d9cf5122e40
1.621: PLT_EventSubscriber::PLT_EventSubscriber(60)/7852: FINE: Creating new subscriber (uuid:544b3508-80b1-d072-2e1e-7d9cf5122e40)
1.621: PLT_EventSubscriber::SetTimeout(141)/7852: FINE: subscriber (uuid:544b3508-80b1-d072-2e1e-7d9cf5122e40) expiring in 1800 seconds
1.621: PLT_EventSubscriber::AddCallbackURL(176)/7852: FINE: Adding callback "http://127.0.0.1:2869/upnp/eventing/amhphckuof" to subscriber uuid:544b3508-80b1-d072-2e1e-7d9cf5122e40
1.623: PLT_HttpListenTask<class PLT_HttpServerListener>::DoRun(156)/7668: FINE: current http task count = 2
1.623: PLT_HttpServer::ProcessHttpRequest(142)/6876: FINE: Received POST Request from 127.0.0.1 for /X_MS_MediaReceiverRegistrar/aba1bac7-d093-4161-54e0-1bcf44203177/control.xml
1.623: FbMediaServer::ProcessHttpRequest(330)/6876: INFO: received LAN request: http://127.0.0.1:56293/X_MS_MediaReceiverR...177/control.xml (http://127.0.0.1:56293/X_MS_MediaReceiverRegistrar/aba1bac7-d093-4161-54e0-1bcf44203177/control.xml) (User-Agent: Microsoft-Windows/6.1 UPnP/1.0 Windows-Media-Player/12.0.7601.17514 DLNADOC/1.50 (MS-DeviceCaps/1024))
1.623: PLT_DeviceHost::ProcessHttpPostRequest(555)/6876: FINE: Received IsAuthorized action from 127.0.0.1
1.623: FbMediaServer::OnAction(261)/6876: INFO: received action 'IsAuthorized', args = { DeviceID= }
1.624: FbMediaServer::OnAction(284)/6876: INFO: action 'IsAuthorized' response: args = { DeviceID=,  }
1.624: PLT_HttpListenTask<class PLT_HttpServerListener>::DoRun(156)/7668: FINE: current http task count = 2
1.625: PLT_HttpServer::ProcessHttpRequest(142)/7968: FINE: Received POST Request from 127.0.0.1 for /X_MS_MediaReceiverRegistrar/aba1bac7-d093-4161-54e0-1bcf44203177/control.xml
1.625: FbMediaServer::ProcessHttpRequest(330)/7968: INFO: received LAN request: http://127.0.0.1:56293/X_MS_MediaReceiverR...177/control.xml (http://127.0.0.1:56293/X_MS_MediaReceiverRegistrar/aba1bac7-d093-4161-54e0-1bcf44203177/control.xml) (User-Agent: Microsoft-Windows/6.1 UPnP/1.0 Windows-Media-Player/12.0.7601.17514 DLNADOC/1.50 (MS-DeviceCaps/1024))
1.625: PLT_DeviceHost::ProcessHttpPostRequest(555)/7968: FINE: Received IsAuthorized action from 127.0.0.1
1.625: FbMediaServer::OnAction(261)/7968: INFO: received action 'IsAuthorized', args = { DeviceID= }
1.625: FbMediaServer::OnAction(284)/7968: INFO: action 'IsAuthorized' response: args = { DeviceID=,  }
1.917: NPT_HttpClient::SendRequestOnce(1032)/7784: FINE: requesting URL http://127.0.0.1:2869/upnp/eventing/pafvtspujz (http://127.0.0.1:2869/upnp/eventing/pafvtspujz)
1.921: NPT_HttpClient::SendRequestOnce(1032)/8092: FINE: requesting URL http://127.0.0.1:2869/upnp/eventing/amhphckuof (http://127.0.0.1:2869/upnp/eventing/amhphckuof)
1.936: PLT_HttpClientSocketTask::ProcessResponse(289)/7784: FINE: PLT_HttpClientSocketTask::ProcessResponse (result=0)
1.936: PLT_HttpClientSocketTask::ProcessResponse(289)/8092: FINE: PLT_HttpClientSocketTask::ProcessResponse (result=0)
1.942: PLT_HttpListenTask<class PLT_HttpServerListener>::DoRun(156)/7668: FINE: current http task count = 2
1.943: PLT_HttpListenTask<class PLT_HttpServerListener>::DoRun(156)/7668: FINE: current http task count = 3
1.943: PLT_HttpServer::ProcessHttpRequest(142)/7576: FINE: Received POST Request from 127.0.0.1 for /X_MS_MediaReceiverRegistrar/aba1bac7-d093-4161-54e0-1bcf44203177/control.xml
1.943: FbMediaServer::ProcessHttpRequest(330)/7576: INFO: received LAN request: http://127.0.0.1:56293/X_MS_MediaReceiverR...177/control.xml (http://127.0.0.1:56293/X_MS_MediaReceiverRegistrar/aba1bac7-d093-4161-54e0-1bcf44203177/control.xml) (User-Agent: Microsoft-Windows/6.1 UPnP/1.0 Windows-Media-Player/12.0.7601.17514 DLNADOC/1.50 (MS-DeviceCaps/1024))
1.943: PLT_DeviceHost::ProcessHttpPostRequest(555)/7576: FINE: Received IsAuthorized action from 127.0.0.1
1.944: FbMediaServer::OnAction(261)/7576: INFO: received action 'IsAuthorized', args = { DeviceID= }
1.944: FbMediaServer::OnAction(284)/7576: INFO: action 'IsAuthorized' response: args = { DeviceID=,  }
1.944: PLT_HttpListenTask<class PLT_HttpServerListener>::DoRun(156)/7668: FINE: current http task count = 4
1.944: PLT_HttpServer::ProcessHttpRequest(142)/3900: FINE: Received POST Request from 127.0.0.1 for /X_MS_MediaReceiverRegistrar/aba1bac7-d093-4161-54e0-1bcf44203177/control.xml
1.944: FbMediaServer::ProcessHttpRequest(330)/3900: INFO: received LAN request: http://127.0.0.1:56293/X_MS_MediaReceiverR...177/control.xml (http://127.0.0.1:56293/X_MS_MediaReceiverRegistrar/aba1bac7-d093-4161-54e0-1bcf44203177/control.xml) (User-Agent: Microsoft-Windows/6.1 UPnP/1.0 Windows-Media-Player/12.0.7601.17514 DLNADOC/1.50 (MS-DeviceCaps/1024))
1.944: PLT_DeviceHost::ProcessHttpPostRequest(555)/3900: FINE: Received IsAuthorized action from 127.0.0.1
1.944: FbMediaServer::OnAction(261)/3900: INFO: received action 'IsAuthorized', args = { DeviceID= }
1.944: FbMediaServer::OnAction(284)/3900: INFO: action 'IsAuthorized' response: args = { DeviceID=,  }
1.945: PLT_HttpServer::ProcessHttpRequest(142)/4328: FINE: Received POST Request from 127.0.0.1 for /X_MS_MediaReceiverRegistrar/aba1bac7-d093-4161-54e0-1bcf44203177/control.xml
1.945: FbMediaServer::ProcessHttpRequest(330)/4328: INFO: received LAN request: http://127.0.0.1:56293/X_MS_MediaReceiverR...177/control.xml (http://127.0.0.1:56293/X_MS_MediaReceiverRegistrar/aba1bac7-d093-4161-54e0-1bcf44203177/control.xml) (User-Agent: Microsoft-Windows/6.1 UPnP/1.0 Windows-Media-Player/12.0.7601.17514 DLNADOC/1.50 (MS-DeviceCaps/1024))
1.945: PLT_DeviceHost::ProcessHttpPostRequest(555)/4328: FINE: Received IsValidated action from 127.0.0.1
1.945: FbMediaServer::OnAction(261)/4328: INFO: received action 'IsValidated', args = { DeviceID= }
1.945: FbMediaServer::OnAction(284)/4328: INFO: action 'IsValidated' response: args = { DeviceID=,  }
1.946: PLT_HttpListenTask<class PLT_HttpServerListener>::DoRun(156)/7668: FINE: current http task count = 2
1.946: PLT_HttpServer::ProcessHttpRequest(142)/6672: FINE: Received POST Request from 127.0.0.1 for /X_MS_MediaReceiverRegistrar/aba1bac7-d093-4161-54e0-1bcf44203177/control.xml
1.946: FbMediaServer::ProcessHttpRequest(330)/6672: INFO: received LAN request: http://127.0.0.1:56293/X_MS_MediaReceiverR...177/control.xml (http://127.0.0.1:56293/X_MS_MediaReceiverRegistrar/aba1bac7-d093-4161-54e0-1bcf44203177/control.xml) (User-Agent: Microsoft-Windows/6.1 UPnP/1.0 Windows-Media-Player/12.0.7601.17514 DLNADOC/1.50 (MS-DeviceCaps/1024))
1.946: PLT_DeviceHost::ProcessHttpPostRequest(555)/6672: FINE: Received IsValidated actio
Title: foo_upnp
Post by: bubbleguuum on 2011-12-01 00:02:21
I WANT the way foobar2000 internal Media Library tree view showing. How can I modify foo_upnp_ml_tree.xml so that it lists like foobar internal library tree? I check the xml file and it seems very very simple:

   <SubTree label="Artists">
      <spec type="object.container.person.musicArtist">%artist%</spec>
      <spec type="object.container.album.musicAlbum">%album%</spec>
   </SubTree>

How to modify? Thanks in advance!!!


modify the line to read:

<spec type="object.container.person.musicArtist">%&lt;artist&gt;%</spec>

This will split %artist% by individual artists. Untested but should work.
Title: foo_upnp
Post by: bubbleguuum on 2011-12-01 00:04:11
I really miss, however, an important feature (at least, for me):
when I set up a playlist, both into KinskyDesktop or BubbleUPNP, the playlist is local to the UPNP control point, so if I close the control point, the playlist is lost and the playback is stopped.


Not possible. Playlist is local to the Control Point, whatever the Control Point is, unless you have a Linn DS.
Title: foo_upnp
Post by: bubbleguuum on 2011-12-01 00:06:13
I'm having trouble controlling my Sony BDV-L600 with foo_upnp, it shows up and I can queue up music, but as soon as I press play, foobar locks up
If you need any more info, please let me know
The same happens with BubbleUPnP too


With lockup do you mean total freeze of the app ?
DLNA TVs can be really annoying  and are not totally supported so I'm not surprised...
Title: foo_upnp
Post by: bubbleguuum on 2011-12-01 00:07:39
Hey everyone,

Having a bit of a problem getting this to run on Windows 7 (64bit).  I have a full 1.1.9 Foobar installed, opened necessary ports, started upnp service, etc.  Can't connect - ran wireshark to see if the necessary ports were doing well . . . anything - and they aren't. 


Connecting to what, from where etc, what network configuration...?


Title: foo_upnp
Post by: bubbleguuum on 2011-12-01 00:08:24
duplicate post
Title: foo_upnp
Post by: Shike on 2011-12-01 00:14:06
Hey everyone,

Having a bit of a problem getting this to run on Windows 7 (64bit).  I have a full 1.1.9 Foobar installed, opened necessary ports, started upnp service, etc.  Can't connect - ran wireshark to see if the necessary ports were doing well . . . anything - and they aren't. 


Connecting to what, from where etc, what network configuration...?


I'm using a computer at work with foobar portable, trying to connect to the foobar as server at home.  The home computer is the Win7 64 box.  I've forwarded all necessary router ports, disabled all firewalls, checked ports at work which are fully open . . . but can't connect to the FB2K server at home.

Testing the portable install as a server at work verifies that ports should be showing in wireshark from what I can tell, but at home it's like there's no attempt to use the ports at all.

EDIT:

To clarify I'm specifically talking about the UPNP ports.  For example, if I had the server port set to 5678 I ran a filter "tcp.port eq 5678" in wireshark and it worked on the work machine when the server service was enabled (ports showed as being used in wireshark by FB2K w/UPNP).  Doing the same on the home machine showed zero attempts at the ports for the server service being used.  The work machine is 32bit with portable install and the home machine is 64bit with full install.
Title: foo_upnp
Post by: psme on 2011-12-01 04:11:51
hi bubbleguuum,

Thanks! That works! I need to study those CODE! Is there any guide for dummy?

Btw, is there is way to remove the current topmost level, so that a upnp controller/browser will directly show album/artist/genre/... as the topmost level? Since I don't use foobar local playback, nor the "playback stream capture", now my topmost level has only the "Media Library". It seems kind of silly with only 1 item at the top level...
Title: foo_upnp
Post by: Shike on 2011-12-01 09:15:18
Just wanted to let anyone who read my post know I solved it, don't know what was fully going on but seemed to be a combination of things as usual >_>
Title: foo_upnp
Post by: DerJohannes on 2011-12-03 11:30:57
Just wanted to let anyone who read my post know I solved it, don't know what was fully going on but seemed to be a combination of things as usual >_>


I am still having problems trying to stream from my Windows 7 machine to a WD TV Live in the LAN.

Can you please give some hint of what you did to solve your problem? Even if it's not an exact step-by-step resolution description, I am highly interested in which things you changed in Windows 7 and/or foobar2000/foo_upnp before it started working.

My suspicion is that Windows 7 is causing problems (although media streaming is enabled and the Windows 7 firewall is opened), because:

When I attach a Windows XP machine with the same versions of foobar2000 and foo_upnp to the same network switch my Windows 7 machine is connected to, everything is working fine.

Although I think Windows 7 is causing the headache, maybe you post your foo_upnp Streaming Profile settings here.

I am still trying to isolate the root problem by examining the log files and the Wireshark captures and by comparing the logs of the Windows XP machine with the logs from the Windows 7 machine. But until now, I could not find a promising trace, no matter if I choose finer oder coarser log levels...
Title: foo_upnp
Post by: mpuckett on 2011-12-04 06:52:09
I have just installed a DirecTV HR20 box and a couple of the remote players and connected them up to my home network. I have fb2k with foo_upnp running and the DirecTV boxes can see and browse my music collection however it doesn't seem to be able to play anything. I've got a profile set up and I've tried transcoding everything to mp3 as well as wav and lpcm. When set to lpcm I am able to get some random static, otherwise there is no sound output at all even though it appears to be playing by viewing the progress bar on the DirecTV display.

Has anybody else been able to successfully get a DirecTV setup to stream from fb2k? Is there some magic that I am missing?
Title: foo_upnp
Post by: vassie on 2011-12-05 09:25:28
I'm having trouble controlling my Sony BDV-L600 with foo_upnp, it shows up and I can queue up music, but as soon as I press play, foobar locks up
If you need any more info, please let me know
The same happens with BubbleUPnP too


With lockup do you mean total freeze of the app ?
DLNA TVs can be really annoying  and are not totally supported so I'm not surprised...


Hello
foobar2000 totally locks up whenever I try to play anything via the Blu-ray player (have to kill foobar2000.exe in task manager), there was a firmware update for it so I'll try again, BubbleUPnP also has trouble with it, I'll get the error code and post it
If you need any information from me to help support the device, just let me know
Ben
Title: foo_upnp
Post by: 57hsq on 2011-12-06 00:42:21
I'm having a dramatic blue-screen-of-death crash problem when using my upnp controller on my laptop to control another instance of foobar on my media PC - Both using W7. The crash happens after a delay of approx 1 minute. There is no warning - just instant switch off. Everything is stable if I don't adjust anything on the controller - and sometimes it will work flawlessly for 10 minutes or so. Do I need to get a crash dump or something? Has anyone else experienced this issue?
Thanks for your help
james
Title: foo_upnp
Post by: psme on 2011-12-07 08:35:19
Just posting my finding while helping a friend conversing his itunes ripped AIFF library (~400G) on a MacBook Pro.

Using the same AIFF file, when conversing to ALAC on MacBook using itunes, the converted ALAC files does NOT show embedded cover art through foo_upnp. While the same ALAC files show cover art perfeclyt under Asset UPnP and XBMC server. Controller is iPad PlugPlayer.

Using the same AIFF file, then conversing to ALAC on Windows using itunes, the converted ALAC files show embedded cover art fine through foo_upnp, as well as under Asset UPnP and XBMC server. Controller is the same.

Took me a while to come to this finding. I don't know what's the different between conversing AIFF to ALAC under Windows and Mac, but foo_upnp has this problem while other UPnP servers work fine in both setups.
Title: foo_upnp
Post by: bubbleguuum on 2011-12-07 12:02:27
Took me a while to come to this finding. I don't know what's the different between conversing AIFF to ALAC under Windows and Mac, but foo_upnp has this problem while other UPnP servers work fine in both setups.


The first thing to do is to check if you see album art for these ALAC files in foobar2000 itself using the Album Art viewer component.
Title: foo_upnp
Post by: bubbleguuum on 2011-12-07 12:04:11
I'm having a dramatic blue-screen-of-death crash problem when using my upnp controller on my laptop to control another instance of foobar on my media PC - Both using W7. The crash happens after a delay of approx 1 minute. There is no warning - just instant switch off. Everything is stable if I don't adjust anything on the controller - and sometimes it will work flawlessly for 10 minutes or so. Do I need to get a crash dump or something? Has anyone else experienced this issue?
Thanks for your help
james


blue screen of death is a bit severe. I'd try to see if there are up to date drivers for your network card.
Title: foo_upnp
Post by: bubbleguuum on 2011-12-07 12:07:30
Hello
foobar2000 totally locks up whenever I try to play anything via the Blu-ray player (have to kill foobar2000.exe in task manager), there was a firmware update for it so I'll try again, BubbleUPnP also has trouble with it, I'll get the error code and post it
If you need any information from me to help support the device, just let me know
Ben


The lockup is due to the blu-ray player not responding to some commands. It shouldn't block forever though. You can record a log with BubbleUPnP if you wish :

-  launch the app
-    go into the Advanced Settings page (Menu > Settings > Advanced Settings)
-    check "Enable logging to file".
-    IMPORTANT: Exit the app using the "Exit " menu item found in menu of tab "Now Playing"
-    restart the app.
-    run the app until the problem appears
-    connect your phone to your PC or MAC and mail me the file /Android/data/com.bubblesoft.android.bubbleupnp/log.txt found on the SD Card.
Title: foo_upnp
Post by: psme on 2011-12-08 01:32:51
Took me a while to come to this finding. I don't know what's the different between conversing AIFF to ALAC under Windows and Mac, but foo_upnp has this problem while other UPnP servers work fine in both setups.


The first thing to do is to check if you see album art for these ALAC files in foobar2000 itself using the Album Art viewer component.


Yes, album art of those Mac itunes converted ALAC files display fine in foobar itself using the default "Colume UI". During my test, if I only put a few songs in the library, cover art usually worked through foo_upnp. But once the library contains a few albums or more, then all cover art are gone. On the other hand, since foobar2000's own UI shows only 1 album art each time, maybe that's the reason that it works? Anyway, it's annoying to keep testing different combination! The workaround is to copy the whole MacBook library to an external HDD and do the AIFF to ALAC on a Windows itunes...
Title: foo_upnp
Post by: psme on 2011-12-08 01:56:06
hi bubbleguuum,

Hope you can help me out on this, I'm trying to modify the foo_upnp_ml_tree.xml to my liking. For example:

change the default "Artists" list from:

   <SubTree label="Artists">
      <spec type="object.container.person.musicArtist">%artist%</spec>
      <spec type="object.container.album.musicAlbum">%album%</spec>
   </SubTree>

to:

      <SubTree label="Artists">
                <spec type="object.container.person.musicArtist">%&lt;artist&gt;%</spec>
                <spec type="object.container.album.musicAlbum">['['%date%']' ]%album%</spec>
      </SubTree>

so that artists are listed uniquely, and album under an artist is sorted by release date.

change the default "Album Artists":

   <SubTree label="Album Artists">
      <spec type="object.container.album.musicAlbum">[%album artist% - ]['['%date%']' ]%album%</spec>
   </SubTree>

to:

        <SubTree label="Album Artists">
                <spec>%album artist%</spec>
                <spec type="object.container.album.musicAlbum">['['%date%']' ]%album%</spec>
        </SubTree>

instead of list all albums sort by "album artists" in a single level, it lists all "album artists" on the first level, then list all album under a "album artists" sorted by date in the next level.

The problem is the list by "Years"

   <SubTree label="Years">
      <spec>%date%</spec>
      <spec type="object.container.album.musicAlbum">[%album artist% - ]%album%</spec>
   </SubTree>

If all your album date is in YEAR ONLY, then this work as it group albums in each year.

But, I put all my album "date" as "YYYY MM DD" as long as I can find the actual album release date. That makes this "Years" list almost unless as it lists all my albums in separate entry on the first level.

If it possible to modify this list so that it only takes the left most 4 characters as the year of release, and group by that?

Thanks in advance.
Title: foo_upnp
Post by: psme on 2011-12-08 02:46:30
I figured it out!

   <SubTree label="Years">
      <spec>$left(%date%,4)</spec>
      <spec type="object.container.album.musicAlbum">[%album artist% - ]%album%</spec>
   </SubTree>

It takes the left most 4 digits as the year value and group by that!
Title: foo_upnp
Post by: psme on 2011-12-08 02:53:29
also, using mp3tag, I add a new tag field "AUDIOFORMAT" to label my non CD album, such as "DVD Audio", "Super Audio CD", "Vinyl (digitized)" etc.

Added this in the tree.xml to show these album types:

   <SubTree label="Audio Formats" query="audioformat PRESENT">
      <spec>%audioformat%</spec>
      <spec type="object.container.album.musicAlbum">[%album artist% - ]%album%</spec>
   </SubTree>

foo_upnp is wonderful when it works!
Title: foo_upnp
Post by: psme on 2011-12-08 08:30:05
1 more thing, now I can make a proper list by Years, it's default to list in ascending order, with the oldest at the top and newest at the bottom (viewing in iPad PlugPlayer). Is there a way to make it list in descending order with the newest (current) year at the top? Thanks in advance.
Title: foo_upnp
Post by: BenniP on 2011-12-09 07:27:55
Hello,

I have a problem with foo_upnp and my LG tv (PZ series).
This is unrelated to the actual length of the file.


I've created a new profile for my tv, which is correctly used.
Did someone had the same problem, or does someone have an idea of what is causing the problem?

(On a sidenote: I have tried streaming mp3s with Serviio, it was playing the files fine. But I don't want to convert every file in my library to mp3 before I want to stream it.)

Thankyou!


Title: foo_upnp
Post by: DerJohannes on 2011-12-10 13:14:31
WDTVLIVE: Buffering... and then nothing, though foo_upnp can communicate with WDTVLIVE, it's odd...

If I try to play a song from foobar2000/Windows 7 to a "WD TV Live" in the LAN, the UPnP Console first goes "Buffering..." and after a couple of seconds, it drops back to "Stopped", without playing the song.

This is what I found out so far:

- For comparing the situation on a Windows 7 and a Window XP computer, I did a portable foobar2000 installation on an USB stick. Some testing music media is also located on this stick.

- The versions of the WDTVLIVE firmware (1.06.15), foobar2000 (1.1.8) and foo_upnp (0.99.35) are NOT the problem, because when I attach a Windows XP machine with the same versions of foobar2000 and foo_upnp to the same network cable(!), everything is working fine.

- The Windows 7 firewall is NOT the problem, because it is completely disabled.


The odd thing is:

- Windows Media Player (12) streams Media (music and video) to the WDTVLIVE without problems.

- When I open both WMP and foobar2000, and I stream music or video from WMP to the WDTVLIVE (using the "Play to" feature), then the foobar2000 "UPnP Controller" displays correctly what is happening on the WDTVLIVE (first "Buffering..." then "Name of the media | Media type | bitrate | samplerate" and "Playing time / Total time"). I can even stop the WMP streaming from foobar2000!

Obviously, foobar2000 can communicate with the WDTVLIVE in both directions (because I can see what is happening AND I can stop the WMP stream).

What could be the reason why I cannot start to play an MP3 from foobar2000 under Windows 7? (consider: it's working on Windows XP under the same conditions!)

Any help would be highly appreciated.
Title: foo_upnp
Post by: bubbleguuum on 2011-12-10 13:27:11
@DerJohannes: very odd indeed. This behaviour indicates the WDTV connects to foo_upnp for streaming and drops the connection just after.
I cannot replicate it on my WDTV (same firmware), it works as expected. Can you try again after rebooting the WDTV and restarting foobar2000 ?
Title: foo_upnp
Post by: bubbleguuum on 2011-12-10 13:28:14
1 more thing, now I can make a proper list by Years, it's default to list in ascending order, with the oldest at the top and newest at the bottom (viewing in iPad PlugPlayer). Is there a way to make it list in descending order with the newest (current) year at the top? Thanks in advance.


Not possible
Title: foo_upnp
Post by: bubbleguuum on 2011-12-10 13:29:53
I have a problem with foo_upnp and my LG tv (PZ series).
  • If foo_upnp streams everything as MP3, the stream will end after 2:47
  • If foo_upnp streams everything as lpcm, the stream will end after 0:36
This is unrelated to the actual length of the file.


You can record a log as explained in the first post of this topic, and mail it to me (bubbleguuum@free.fr).
Title: foo_upnp
Post by: DerJohannes on 2011-12-11 13:44:19
Can you try again after rebooting the WDTV and restarting foobar2000 ?


I just did following tests:

- Uninstalled anti virus software "AVG Free Edition 10.0.1415" and rebooted Win7 machine (just to be sure...)
- Win7 firewall is disabled

>>>>>>>>>> Test sequence 1:

### Win7 machine:
01.) WDTV off, foobar2000 closed, no other machines in the network
02.) First: WDTV on (and ready)
03.) Second: foobar2000 started from USB stick (as admin)
04.) UPnP Controller: Play on WDTV! -> Buffering... (about 30s) -> Failed. (foobar2000 drops back to "Stopped.")
05.) foobar2000 closed

### XP laptop:
06.) Connected XP laptop to the same switch as the Win7 machine is attached to
07.) foobar2000 started from USB stick (as admin)
08.) UPnP Controller: Play on WDTV! -> OK!
09.) Disconnected XP laptop from network switch

### Win7 machine:
10.) Windows Media Player (WMP) started
11.) Define media library: Copy of the same MP3s as on the USB stick, but on HDD
12.) Play (from WMP) to WDTV! -> OK!
13.) foobar2000 started from USB stick (as admin)
14.) UPnP Controller displays correctly what is going on with the WDTV (the song WMP is playing)
15.) UPnP Controller (foobar2000!): Stop the WMP stream! -> OK.


>>>>>>>>>> Test sequence 2:

### Win7 machine:
01.) WDTV off, foobar2000 closed, no other machines in the network
02.) First: foobar2000 started from USB stick (as admin)
03.) Second: WDTV on (and ready)
04.) UPnP Controller: Play on WDTV! -> Buffering... (about 30s) ->  Failed. (foobar2000 drops back to "Stopped.")
05.) foobar2000 closed


By the way: The other direction works! I can browse the "foobar2000 Media Server" running on the Win7 machine from the WDTV and play the songs without problems!
Title: foo_upnp
Post by: fuffi on 2011-12-11 22:06:41
hi bubbleguuum,

today i freshly installed foobar2000_v1.1.10.exe and your plugin Version: 0.99.35, Compiled: Sep 26 2011.

after configuring the medialibrary and playing some music via upnp (locally from my pc to my iphone) i quitted foobar
and got this message:
(http://www.bilder-hochladen.net/files/hcyg-1i-d82c.png) (http://www.bilder-hochladen.net/files/hcyg-1i-d82c-png-nb.html)
unfortunately, its not stated, WHICH playlist and pressing "try again" about 20 times do not helped in any way.

any suggestions on how to stop that popup/problem to occur?
Title: foo_upnp
Post by: vassie on 2011-12-15 21:51:48
@bubbleguuum

Does foo_upnp allow internet access to BubbleUPnP? Or do I have to use BubbleUPnP Server?
Title: foo_upnp
Post by: bubbleguuum on 2011-12-15 22:01:10
@bubbleguuum

Does foo_upnp allow internet access to BubbleUPnP? Or do I have to use BubbleUPnP Server?


You have to use  BubbleUPnP Server
Title: foo_upnp
Post by: vassie on 2011-12-15 22:03:30
@bubbleguuum

Does foo_upnp allow internet access to BubbleUPnP? Or do I have to use BubbleUPnP Server?


You have to use  BubbleUPnP Server


Thanks, I'll install it now
Title: foo_upnp
Post by: aysil on 2011-12-16 02:27:35
If I choose a foreign server from the UPnP browser, I can playback only on an external device! I want to play the browser selection locally on the computer. How is this possible? Where is the UPnP renderer incorporated into the foo_upnp?
Title: foo_upnp
Post by: BenniP on 2011-12-16 07:22:59
Hello BubbleGuuum,

did you have a look at the log file I've sent you?
Could you see something suspicous or wrong?
Title: foo_upnp
Post by: DerJohannes on 2011-12-16 12:35:20
New test:WDTVLIVE: Buffering... and then nothing, Help needed

The problem trying to stream MP3s from foobar2000 (1.1.10) / foo_upnp (0.99.35) to my WDTVLIVE (firmware 1.06.15) still persists.

I already described the problem in posting 69664/778377 (http://www.hydrogenaudio.org/forums/index.php?showtopic=69664&pid=778377&mode=threaded&start=1300#entry778377) and did the tests described in posting 69664/778509 (http://www.hydrogenaudio.org/forums/index.php?showtopic=69664&pid=778509&mode=threaded&start=1300#entry778509)

I use the foo_pnp profile for WDTVLIVE described in posting 92267/778772 (http://www.hydrogenaudio.org/forums/index.php?showtopic=92267&pid=778772&mode=threaded&start=#entry778772)

Now, I tried the following to reduce system complexity and to facilitate isolating the problem (but still unsuccessful):

### WDTVLIVE:
01.) System settings -> Reset to factory defaults! (=> restart)
02.) Assigned static IP address (instead of DHCP): 192.168.6.110
03.) Connected WDTVLIVE directly(!) to my Windows 7 machine: Just one patch cable, nothing else. No switch, no wlan, just direct copper.

### Windows 7 machine:
01.) Disabled Windows firewall
02.) Anti virus software is still uninstalled (just to be sure)
03.) Assigned static IPv4 address (instead of DHCP): 192.168.6.99
04.) PING WDTVLIVE (192.168.6.110): OK
05.) Uninstalled foobar2000 completely (deleted install folder and settings!)
06.) Reinstalled foobar2000 (1.1.10) and foo_upnp (0.99.35)
07.) Start foobar2000 as "admin"
08.) Remove all Streaming Profiles (except "Default")
09.) Create one new Streaming Profile called "WDTVLIVE" according to the settings described in Posting 92267/778772 (http://www.hydrogenaudio.org/forums/index.php?showtopic=92267&pid=778772&mode=threaded&start=#entry778772)
10.) Restarted foobar2000.
11.) Tried to stream MP3s (different than those tried the last time) to the WDTVLIVE: Buffering...(few seconds)...fallback to "Stopped." (streaming fails without an obvious reason).

After this, I tried it with the static IP addresses 192.168.1.110 and 192.168.1.99, but still it doesn't work.

Can please someone give me a hint of what to try next?

I really don't want to use Windows Media Player 

Looking in the log files feels like searching for a needle in a haystack. Is there anything special that I should focus on?
Title: foo_upnp
Post by: evereux on 2011-12-17 10:11:30
Hi,

I'm fairly new to foo_upnp and accessing my music while at work has been fantastic, thanks!

When I enable "Split tree nodes by first letter ..." the search stops returning any results.
Title: foo_upnp
Post by: DerJohannes on 2011-12-18 11:59:47
Breakthrough(!):WDTVLIVE: Buffering... and then nothing

To make it short: foobar2000 (1.1.10) / foo_upnp (0.99.35) is having a problem with the Realtek gigabit ethernet network card driver!

After trying unsuccessfully to stream MP3s from foobar2000 (1.1.10) / foo_upnp (0.99.35) to my WDTVLIVE (firmware 1.06.15) from within a VMWare Windows XP instance running on my Windows 7 machine, I focused on the NIC and found out something interesting...

### My hardware configuration:


(http://jsam.info/images/FooUpnp_Windows7_Network_Adapters.png)

First I tried the tests with this driver (version 7.45.516.2011 of 15. May 2011):
(http://jsam.info/images/FooUpnp_Windows7_Realtek_Driver-7.45.516.2011_(20110516)_Details.png)

Later I tried the same tests with this driver (version 7.48.823.2011 of 23. August 2011 (the latest recommended version)). The symptoms remained the same with both driver versions.
(http://jsam.info/images/FooUpnp_Windows7_Realtek_Driver-7.48.823.2011_(20110823)_Details.png)


### Test No.1 on Windows 7 machine:
01.) Started foobar2000
02.) Tried to stream MP3s to the WDTVLIVE -> Buffering...(few seconds)...fallback to "Stopped" (streaming fails without an obvious reason) -> UNSUCCESSFUL
03.) Switched the "Speed and Duplex" settings of my Realtek NIC from "Auto negotiation" to "100 Mbit/s Half Duplex"
04.) And now (Tah-Dah...!): Stream MP3s to the WDTVLIVE -> UPnP Controller state remains "Stopped" BUT(!) the music is playing on the WDTVLIVE! -> SUCCESSFUL (but buggy). The music plays, and I can pause/stop it, but the UPnP Controller always keeps on displaying "Stopped".
05.) Switched the "Speed and Duplex" settings of my Realtek NIC from "100 Mbit/s Half Duplex" back to "Auto negotiation" again
06.) Stream MP3s to the WDTVLIVE -> UPnP Controller state remains "Stopped" all the time, but the music is playing on the WDTVLIVE! (although the  "Speed and Duplex" setting of the Realtek NIC is "Auto negotiation" now!) -> SUCCESSFUL (but buggy)


### Test No.2 on Windows 7 machine:
01.) Restarted Windows 7 machine
02.) Started foobar2000
03.) Tried to stream MP3s to the WDTVLIVE -> Buffering...(few seconds)...fallback to "Stopped" (streaming fails without an obvious reason) -> UNSUCCESSFUL
04.) Switched the "Speed and Duplex" settings of my Realtek NIC from "Auto negotiation" to "100 Mbit/s Full(!) Duplex"
05.) Stream MP3s to the WDTVLIVE -> UPnP Controller state remains "Stopped" BUT(!) the music is playing on the WDTVLIVE! -> SUCCESSFUL (but buggy).
06.) Switched the "Speed and Duplex" settings of my Realtek NIC from "100 Mbit/s Full Duplex" back to "Auto negotiation" again
07.) Stream MP3s to the WDTVLIVE -> UPnP Controller state remains "Stopped" all the time, but the music is playing on the WDTVLIVE! (although the  "Speed and Duplex" setting of the Realtek NIC is "Auto negotiation" now!) -> SUCCESSFUL (but buggy)


Jumping to the conclusion "the auto negotiation seems to be the problem" turned out to lead in the wrong direction. See the following test:

### Test No.3 on Windows 7 machine:
01.) Switched the "Speed and Duplex" settings of my Realtek NIC from "Auto negotiation" to "100 Mbit/s Half Duplex"
02.) Restarted Windows 7 machine.
03.) Double-checked: The "Speed and Duplex" setting of the Realtek NIC is still "100 Mbit/s Half Duplex"
04.) Tried to stream MP3s to the WDTVLIVE -> Buffering...(few seconds)...fallback to "Stopped" (streaming fails without an obvious reason) -> UNSUCCESSFUL (although the  "Speed and Duplex" setting of the Realtek NIC is "100 Mbit/s Half Duplex" now!)
05.) Switched the "Speed and Duplex" settings of my Realtek NIC from "100 Mbit/s Half Duplex" to "Auto negotiation"
06.) Stream MP3s to the WDTVLIVE -> UPnP Controller state remains "Stopped" BUT(!) the music is playing on the WDTVLIVE! -> SUCCESSFUL (but buggy).

(http://jsam.info/images/FooUpnp_Windows7_Realtek_Driver_Setting_SpeedAndDuplex.png)

Odd, isn't it? It appears that the NIC settings need a refresh first to run properly with foobar2000.

So, it seems that I have found a workaround to play my MP3s successfully from my Windows 7 machine to the WDTVLIVE with foobar2000/foo_upnp.

But you have to consider the following:
 
 
@bubbleguuum:
If I can do anything to help improve foo_upnp, don't hesitate to ask for further tests or logs. I am ready to contribute.
Title: foo_upnp
Post by: DerJohannes on 2011-12-18 15:19:28
By the way: Still the 'other direction' works! 

The foo_upnp server running on the Windows 7 machine is working perfectly together with the WDTVLIVE (no 'NIC setting change workarounds' necessary):
Title: foo_upnp
Post by: laserxp on 2011-12-19 12:32:34
Dear everyone,
I am using Denon DNP-720.
I have tried direct streaming from Foobar2000 with UPnP plugin.
I could see playlist on Denon, but there was error saying "transition unavailable"
How can I fix it?
I have tried any option but it was not successful.

Please help me.
I want to hear music with FLAC on PC.

Kind regards. Kim
Title: foo_upnp
Post by: DerJohannes on 2011-12-23 22:10:12
SOLUTION(!):WDTVLIVE: Buffering... and then nothing

And the root cause is...the VMWare virtual network adapters! They are causing the trouble!

After the breakthrough described in posting 69664/779399 (http://www.hydrogenaudio.org/forums/index.php?showtopic=69664&pid=779399&mode=threaded&start=1300#entry779399), I strongly suspected the onboard Realtek RTL8111E Gigabit component of my mainboard to be the problem, especially after having read multiple reports of guys who had successfully eliminated networking issues by replacing onboard Realtek network adapters by dedicated PCI(e) NICs.

So I added a brand new PCIe Intel Gigabit CT Desktop Adapter to my system and disabled the Realtek onboard LAN...being sure to solve the issue like that. But nothing changed! Foobar2000 just kept on buffering and dropping back to "Stopped" after a while when trying to stream to the WDTVLIVE --as usual. 

After this disappointment, I deactivated the two virtual VMWare ethernet adapters ("VMWare Network Adapter VMnet1" and "VMWare Network Adapter VMnet8"), tried again to play from foobar2000 to my WDTVLIVE...and it worked!!

As long as the two virtual VMWare adapters are deactivated, everyting is fine. As soon as I enable them again, the "buffering and dropping back to 'Stopped'" issue occurs again, repeatable! Of course, I could ask myself "Why haven't I tried this earlier?". But the most important thing is that the root cause is identified and under control now.

Maybe this report is helpful to someone having similar problems. And maybe there will be an update for foo_upnp making it more tolerant of (unused) virtual VMWare network adapters. Consider that Windows Media Player-UPnP is working despite of the VMWare network adapters.

Merry Christmas and a happy new year!
Title: foo_upnp
Post by: ringen00 on 2011-12-26 16:58:04

Hi, I'm using  foo_upnp on several windows xp machines.
Another win7 machine is running wmp12 and so far I had access to this wmp12 from all clients.

Now I added two music folders from a NAS to wmp12 . I can use them from within wmp12
but not from the upnp's on the other xp-machines.

The console says : foo_upnp: 593.974: browse_search_base_task::DoRun(219)/3700: INFO: browse_search_base_task::DoRun: server return 0 items, aborting browse trask

First I thought this happens because wmp12 isn't ready with loading the big folders but now as I waited a couple of hours the problem still exists.
(With local music folders it seemed to work this way!)

About 10 minutes later there comes this message:

foo_upnp: 1099.010: FbMediaServer::ProcessHttpRequest(330)/1204: INFO: received LAN request: http://192.168.178.21:56923/DeviceDescription.xml (http://192.168.178.21:56923/DeviceDescription.xml) (User-Agent: Microsoft-Windows/6.1 UPnP/1.0 Windows-Media-Player-DMS/12.0.7601.17514 DLNADOC/1.50)
foo_upnp: 1099.020: FbMediaServer::ProcessGetDescription(414)/1204: INFO: ProcessGetDescription: user-agent: Microsoft-Windows/6.1 UPnP/1.0 Windows-Media-Player-DMS/12.0.7601.17514 DLNADOC/1.50
foo_upnp: 1099.151: PLT_Service::ProcessNewSubscription(534)/2464: INFO: New subscription for AVTransport/659ec8e6-dd78-f606-2f5c-ee668d2d86e9/event.xml, sid=uuid:8d55adc8-f90b-6d60-fd56-a65f03961ef0
foo_upnp: 1099.171: PLT_Service::ProcessNewSubscription(534)/3688: INFO: New subscription for ConnectionManager/659ec8e6-dd78-f606-2f5c-ee668d2d86e9/event.xml, sid=uuid:5fdd4bc9-8c92-8673-5cff-81729d6a2276
foo_upnp: 1099.201: PLT_Service::ProcessNewSubscription(534)/2532: INFO: New subscription for RenderingControl/659ec8e6-dd78-f606-2f5c-ee668d2d86e9/event.xml, sid=uuid:7f041a47-c491-6041-1beb-30b908705625
foo_upnp: 1099.802: PLT_Service::ProcessCancelSubscription(664)/3540: INFO: Cancelling subscription for AVTransport/659ec8e6-dd78-f606-2f5c-ee668d2d86e9/event.xml (sub=uuid:8d55adc8-f90b-6d60-fd56-a65f03961ef0)
foo_upnp: 1099.822: PLT_Service::ProcessCancelSubscription(664)/3480: INFO: Cancelling subscription for ConnectionManager/659ec8e6-dd78-f606-2f5c-ee668d2d86e9/event.xml (sub=uuid:5fdd4bc9-8c92-8673-5cff-81729d6a2276)
foo_upnp: 1099.862: PLT_Service::ProcessCancelSubscription(664)/2836: INFO: Cancelling subscription for RenderingControl/659ec8e6-dd78-f606-2f5c-ee668d2d86e9/event.xml (sub=uuid:7f041a47-c491-6041-1beb-30b908705625)

Sometimes I got messages that it cannot read (or so) some files located in these folders.
It looked like files with japanese (or so ) characters in the filename or others which seemed to be just too long to me . . .

Btw. I can open playlists from wmp12 !


Title: foo_upnp
Post by: ringen00 on 2011-12-27 12:16:49
Icould solve this by adjusting the options in win7 that make folders visible to the LAN (don't know the precise english term :-( )
Title: foo_upnp
Post by: junagel on 2011-12-27 17:34:48
[quote name='DerJohannes' date='Dec 23 2011, 23:10' post='780052']

Maybe this report is helpful to someone having similar problems. And maybe there will be an update for foo_upnp making it more tolerant of (unused) virtual VMWare network adapters. Consider that Windows Media Player-UPnP is working despite of the VMWare network adapters.


Thank you for your post.
I´ve the same problem with Foobar2000.
Foobar buffers and is dropping back to "Stopped" after a while.
Your post helps me to solve my problem.

What happened?
I´m using LINN DSI with foobar uPnP. Foobar was running on an old IBM T40 laptop, my musik ist stored as flac-files on an usb-device.
I connected my laptop with the LINN-nic directly using a crossover cabel.

All worked fine. The IBM laptop streams perfect to the LINN.

Because the laptop supports only usb 1.1, I decide to bye a Samsung netbook NC-10.
Both, the Samsung and the IBM, are connected via a netgear switch with the Linn.
From now on I´ve the buffering/stopping problem, even with the IBM-laptop.
After your post, I disconnect the netgear switch and connect the Samsung netbook by the crossover cabel with the LINN.
Now it works fine like before in the old configuration.
I never expected, that the switch causes the buffering/stopping problem.

Best regards and a happy new year

Title: foo_upnp
Post by: ppienter on 2011-12-27 18:47:24
Hi,

I'm kind of new this forum and foobar so may'be I will ask a question that has been answered already...

I'm switching from iTunes to foobar for 2 main reasons, iTunes Airplay seems to stream only 16bit/44kHz (according to a Denon Engineer) and iTunes is not capable of playing (HD)FLAC without conversion to ALAC...

I installed the UPnP/DLNA Renderer to stream to my Denon AVR which works great. I also installed the TouchRemote to be alble to use my Ipod Touch as remote. When I use the Remote, I can only stream to the PC soundcard. I found I can select the 'Stream Capture' option in the DLNA plug-in but there is a delay.

Is there a possibility that I can select my DLNA Renderer (in my Case the Denon AVR) as (Virtual) Soundcard ?

Any help would be greatly appreciated !


Piet
Title: foo_upnp
Post by: psme on 2011-12-30 08:51:33
I'm using Linn Klimax DS renderer. Using foo_upnp, I can NOT add any ALAC song to Klimax DS using Kinsky controller (both iPad and Desktop version). It just sit there and nothing happens! So I tried Asset upnp server on the same PC and the song library, and ALAC song works fine from Kinsky to klimax DS.

But, using PlugPlayer on iPad, ALAC song adds fine to klimax DS via foo_upnp...

Well, the world of upnp is a mess!
Title: foo_upnp
Post by: psme on 2012-01-03 08:13:30
Happy New Year!

1 quick question about the library tree view. There is a "[All Tracks]" after album list of each artist in "Artists" view. This "[All Tracks]" item does not appear in all other view (genre, year, codec etc). How do I remove this "[All Tracks]" item under each artist? Thanks in advance!
Title: foo_upnp
Post by: ppienter on 2012-01-04 15:25:44
Hi,

I'm kind of new this forum and foobar so may'be I will ask a question that has been answered already...

I'm switching from iTunes to foobar for 2 main reasons, iTunes Airplay seems to stream only 16bit/44kHz (according to a Denon Engineer) and iTunes is not capable of playing (HD)FLAC without conversion to ALAC...

I installed the UPnP/DLNA Renderer to stream to my Denon AVR which works great. I also installed the TouchRemote to be alble to use my Ipod Touch as remote. When I use the Remote, I can only stream to the PC soundcard. I found I can select the 'Stream Capture' option in the DLNA plug-in but there is a delay.

Is there a possibility that I can select my DLNA Renderer (in my Case the Denon AVR) as (Virtual) Soundcard ?

Any help would be greatly appreciated !


Piet


Hi All,

First of all, Happy New year !

Is there anybody who could help me or give me some suggestions?

The best solution (I guess) would be if I could select my Upnp/DLNA renderer in the output selection...


Thanks for any feedback.

Title: foo_upnp
Post by: DigitalMan on 2012-01-06 07:01:07
Thank you so much for this plugin.  I'm having some trouble staying connected to PlugPlayer and not sure if the problem is PlugPlayer or my PC or Foobar or the plugin; or most likely me/user error.  Basically on some songs the music stops about 20 seconds into the song, PlugPlayer exits to the iPod Touch home screen.  Not sure what the Windows Media Player references are for - just running Win7 x64 w/FB v1.1.10 and foo_upnp v 0.99.35, firewall off (on or off doesn't make a difference in this case).

File is an MP3 encoded w/LAME 3.98 VBR V4 and is reproducible in some tracks but some play fine/much longer.  PlugPlayer version 4.0.1 on iOS 4.2.1

Any help or recommendations would be greatly appreciated.

Console log:
Code: [Select]
Host: 192.168.1.122:56923
User-Agent: PlugPlayer/4.0.1 CFNetwork/485.12.7 Darwin/10.4.0
Accept: */*
Accept-Language: en-us
Accept-Encoding: gzip, deflate
Connection: keep-alive
foo_upnp: 410.892: FbMediaServer::ProcessHttpRequest(330)/668: INFO: received LAN request: [url=http://192.168.1.122:56923/albumart/8e57453424bf4f1302a75c34f533f464]http://192.168.1.122:56923/albumart/8e5745...2a75c34f533f464[/url] (User-Agent: PlugPlayer/4.0.1 CFNetwork/485.12.7 Darwin/10.4.0)
foo_upnp: 410.892: PLT_HttpHelper::ToLog(441)/668: INFO:
GET /albumart/8e57453424bf4f1302a75c34f533f464 HTTP/1.1
Host: 192.168.1.122:56923
User-Agent: PlugPlayer/4.0.1 CFNetwork/485.12.7 Darwin/10.4.0
Accept: */*
Accept-Language: en-us
Accept-Encoding: gzip, deflate
Connection: keep-alive
foo_upnp: 412.017: FbMediaServer::ProcessHttpRequest(330)/2052: INFO: received LAN request: [url=http://192.168.1.122:56923/DeviceDescription.xml]http://192.168.1.122:56923/DeviceDescription.xml[/url] (User-Agent: iPod touch/4.2.1, UPnP/1.0, PlugPlayer/4.0.1)
foo_upnp: 412.017: FbMediaServer::ProcessGetDescription(414)/2052: INFO: ProcessGetDescription: user-agent: iPod touch/4.2.1, UPnP/1.0, PlugPlayer/4.0.1
foo_upnp: 412.314: FbMediaServer::ProcessHttpRequest(330)/3812: INFO: received LAN request: [url=http://192.168.1.122:56923/DeviceDescription.xml]http://192.168.1.122:56923/DeviceDescription.xml[/url] (User-Agent: iPod touch/4.2.1, UPnP/1.0, PlugPlayer/4.0.1)
foo_upnp: 412.314: FbMediaServer::ProcessGetDescription(414)/3812: INFO: ProcessGetDescription: user-agent: iPod touch/4.2.1, UPnP/1.0, PlugPlayer/4.0.1
foo_upnp: 412.939: FbMediaServer::ProcessHttpRequest(330)/2312: INFO: received LAN request: [url=http://192.168.1.122:56923/DeviceDescription.xml]http://192.168.1.122:56923/DeviceDescription.xml[/url] (User-Agent: iPod touch/4.2.1, UPnP/1.0, PlugPlayer/4.0.1)
foo_upnp: 412.939: FbMediaServer::ProcessGetDescription(414)/2312: INFO: ProcessGetDescription: user-agent: iPod touch/4.2.1, UPnP/1.0, PlugPlayer/4.0.1
foo_upnp: 413.267: FbMediaServer::ProcessHttpRequest(330)/1208: INFO: received LAN request: [url=http://192.168.1.122:56923/DeviceDescription.xml]http://192.168.1.122:56923/DeviceDescription.xml[/url] (User-Agent: iPod touch/4.2.1, UPnP/1.0, PlugPlayer/4.0.1)
foo_upnp: 413.267: FbMediaServer::ProcessGetDescription(414)/1208: INFO: ProcessGetDescription: user-agent: iPod touch/4.2.1, UPnP/1.0, PlugPlayer/4.0.1
foo_upnp: 413.579: PLT_HttpServerSocketTask::Write(348)/3140: WARNING: NPT_CHECK failed, result=-20401 (NPT_ERROR_CONNECTION_ABORTED) [(NPT_StreamToStreamCopy( *body_stream.AsPointer(), *output_stream.AsPointer(), 0, entity->GetContentLength(), 0, abort))]
foo_upnp: 413.689: PLT_HttpServerSocketTask::Write(348)/2280: WARNING: NPT_CHECK failed, result=-20401 (NPT_ERROR_CONNECTION_ABORTED) [(NPT_StreamToStreamCopy( *body_stream.AsPointer(), *output_stream.AsPointer(), 0, entity->GetContentLength(), 0, abort))]
foo_upnp: 413.689: PLT_HttpServerSocketTask::Write(348)/668: WARNING: NPT_CHECK failed, result=-20401 (NPT_ERROR_CONNECTION_ABORTED) [(NPT_StreamToStreamCopy( *body_stream.AsPointer(), *output_stream.AsPointer(), 0, entity->GetContentLength(), 0, abort))]
foo_upnp: 413.704: PLT_HttpServerSocketTask::Write(348)/3076: WARNING: NPT_CHECK failed, result=-20401 (NPT_ERROR_CONNECTION_ABORTED) [(NPT_StreamToStreamCopy( *body_stream.AsPointer(), *output_stream.AsPointer(), 0, entity->GetContentLength(), 0, abort))]
foo_upnp: 631.195: FbMediaServer::ProcessHttpRequest(330)/2596: INFO: received LAN request: [url=http://127.0.0.1:56923/DeviceDescription.xml]http://127.0.0.1:56923/DeviceDescription.xml[/url] (User-Agent: Microsoft-Windows/6.1 UPnP/1.0 Windows-Media-Player-DMS/12.0.7601.17514 DLNADOC/1.50)
foo_upnp: 631.196: FbMediaServer::ProcessGetDescription(414)/2596: INFO: ProcessGetDescription: user-agent: Microsoft-Windows/6.1 UPnP/1.0 Windows-Media-Player-DMS/12.0.7601.17514 DLNADOC/1.50
foo_upnp: 631.230: PLT_Service::ProcessNewSubscription(534)/2572: INFO: New subscription for AVTransport/efdceda2-4134-8e58-d417-d526aeccb870/event.xml, sid=uuid:ec210789-f1f4-510c-d1f3-af1c63def255
foo_upnp: 631.238: PLT_Service::ProcessNewSubscription(534)/3948: INFO: New subscription for ConnectionManager/efdceda2-4134-8e58-d417-d526aeccb870/event.xml, sid=uuid:56610146-d635-0ae5-6627-b57cdee713c4
foo_upnp: 631.256: PLT_Service::ProcessNewSubscription(534)/3712: INFO: New subscription for RenderingControl/efdceda2-4134-8e58-d417-d526aeccb870/event.xml, sid=uuid:852a5ce4-c88f-79ec-f61d-ec4868293646
foo_upnp: 631.885: PLT_Service::ProcessCancelSubscription(664)/720: INFO: Cancelling subscription for AVTransport/efdceda2-4134-8e58-d417-d526aeccb870/event.xml (sub=uuid:ec210789-f1f4-510c-d1f3-af1c63def255)
foo_upnp: 631.894: PLT_Service::ProcessCancelSubscription(664)/3968: INFO: Cancelling subscription for ConnectionManager/efdceda2-4134-8e58-d417-d526aeccb870/event.xml (sub=uuid:56610146-d635-0ae5-6627-b57cdee713c4)
foo_upnp: 631.911: PLT_Service::ProcessCancelSubscription(664)/3076: INFO: Cancelling subscription for RenderingControl/efdceda2-4134-8e58-d417-d526aeccb870/event.xml (sub=uuid:852a5ce4-c88f-79ec-f61d-ec4868293646)
foo_upnp: 676.952: FbMediaServer::ProcessHttpRequest(330)/3036: INFO: received LAN request: [url=http://127.0.0.1:56923/DeviceDescription.xml]http://127.0.0.1:56923/DeviceDescription.xml[/url] (User-Agent: Microsoft-Windows/6.1 UPnP/1.0 Windows-Media-Player-DMS/12.0.7601.17514 DLNADOC/1.50)
foo_upnp: 676.953: FbMediaServer::ProcessGetDescription(414)/3036: INFO: ProcessGetDescription: user-agent: Microsoft-Windows/6.1 UPnP/1.0 Windows-Media-Player-DMS/12.0.7601.17514 DLNADOC/1.50
Title: foo_upnp
Post by: Chaser on 2012-01-07 14:12:18
Hi there,
setting this plugin up worked so far:
foobar is acting as a DLNA server and my Toshiba 40RL838 is able to play the files as a Digital Media Player. What I would love to do is using for example the computer running foobar as a Digital Media Controller and "push" the songs to the Toshiba TV. As far as I understand the TV then has to act as a renderer.

Can somebody please tell me, if it is possible to tell my TV to act as a "renderer" and not a "player"? If possible -- how? :-)

Thank you for your efforts!
Chaser
Title: foo_upnp
Post by: evereux on 2012-01-07 19:18:34
Hi,

I'm fairly new to foo_upnp and accessing my music while at work has been fantastic, thanks!

When I enable "Split tree nodes by first letter ..." the search stops returning any results.


This happens with Plugplayer on iOS and BubbleUpnp on Android.
Title: foo_upnp
Post by: Rendboell on 2012-01-13 14:01:37
Hi,

How do I change title formatting references (%title%, %album%, %artist%, etc.) in foo_upnp?

Album = %directory%

Artist = $directory(%path%,2)

Title = $stripprefix(%title%,01,02,03,04,05,06,07,08,09,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,
34,35,36,37,38,39,40)

(filename reduced with 01, 02, 03, ....: example "01 Advertising Space" = "Advertising Space")

Is there a way to globally change title formatting references in foobar, as I have the same challenge when I want to use the Playlist search funtion (Ctrl F)?

I am only using wave files to store my music, and because foobar can't read wav riff tags, I have to change formatting to refer to directory / folder and file names.

I have tried to change various tittle fomatting fields, but they only work in playlist view, columns UI and wsh panel mod.

Thanks
Title: foo_upnp
Post by: MordredKLB on 2012-01-13 18:21:18
Hey bubbleguum. Should we post feedback/errors here regarding bubbleupnp too? I'm using it with foobar (bought a license because I loved it so much) but having a few niggling issues with it and I'm not really sure where to go for support.
Title: foo_upnp
Post by: bubbleguuum on 2012-01-13 22:42:18
Hey bubbleguum. Should we post feedback/errors here regarding bubbleupnp too? I'm using it with foobar (bought a license because I loved it so much) but having a few niggling issues with it and I'm not really sure where to go for support.


You can ask in the BubbleUPnP XDA thread (http://forum.xda-developers.com/showthread.php?t=1118891&page=5)
Title: foo_upnp
Post by: bubbleguuum on 2012-01-13 22:45:26
Hi,

How do I change title formatting references (%title%, %album%, %artist%, etc.) in foo_upnp?


If you mean track metadata returned when you browse foo_upnp server, you can't as they are hardcoded.
You can tweak the server browse tree nodes by editing foo_upnp_ml_tree.xml  (Preferences > Tools > UPnP >  Server >  Content > Customize Media Library Tree
Title: foo_upnp
Post by: bubbleguuum on 2012-01-13 22:46:05
Hi,

I'm fairly new to foo_upnp and accessing my music while at work has been fantastic, thanks!

When I enable "Split tree nodes by first letter ..." the search stops returning any results.


This happens with Plugplayer on iOS and BubbleUpnp on Android.



Known bug that really should be fixed
Title: foo_upnp
Post by: bubbleguuum on 2012-01-13 22:47:44
Can somebody please tell me, if it is possible to tell my TV to act as a "renderer" and not a "player"? If possible -- how? :-)


It depends if your TV is an UPnP or DLNA device. If you do not see it listed in the renderer list, it probably isn't.
Title: foo_upnp
Post by: bubbleguuum on 2012-01-13 22:50:39
Thank you so much for this plugin.  I'm having some trouble staying connected to PlugPlayer and not sure if the problem is PlugPlayer or my PC or Foobar or the plugin; or most likely me/user error.  Basically on some songs the music stops about 20 seconds into the song, PlugPlayer exits to the iPod Touch home screen.  Not sure what the Windows Media Player references are for - just running Win7 x64 w/FB v1.1.10 and foo_upnp v 0.99.35, firewall off (on or off doesn't make a difference in this case).

File is an MP3 encoded w/LAME 3.98 VBR V4 and is reproducible in some tracks but some play fine/much longer.  PlugPlayer version 4.0.1 on iOS 4.2.1

Any help or recommendations would be greatly appreciated.


No idea, I hav not used PlugPlayer since forever. At the time, streaming stopped unexpectedly at some point with error -8 which didn't happen with all other renderers that I have.
Title: foo_upnp
Post by: bubbleguuum on 2012-01-13 22:51:40
How do I remove this "[All Tracks]" item under each artist? Thanks in advance!


You can't
Title: foo_upnp
Post by: bubbleguuum on 2012-01-13 22:55:06
SOLUTION(!):WDTVLIVE: Buffering... and then nothing

And the root cause is...the VMWare virtual network adapters! They are causing the trouble!



I'm sorry for all the trouble that you got to get it working.
It happens that there is a bug were sometimes the server returns unroutable streaming ip addresses to the client (in that case the VMWare address).
I thought I had fixed that but it looks like not.
Title: foo_upnp
Post by: mpuckett on 2012-01-14 22:13:05
Bubbleguuum,
I am trying to stream to a networked DirecTV player and am having some problems. The DirecTV player can see and browse the library content with no problems. When content is selected it appears to be playing there just is not sound output. My library is all flac images, I have a DirecTV streaming profile set up which (I think) is set up to transcode everything to mp3. In addition, I have set up the default profile to transcode everything to mp3 as well just in case the DirecTV profile was not selected. Here is a log file of the activity. Is there anything that you can tell that I am doing wrong in my streaming profile set up that might cause this? Is there something that you can recommend I try?

Code: [Select]
foo_upnp: 44485.473: FbMediaServer::ProcessHttpRequest(330)/2472: INFO: received LAN request: [url=http://192.168.0.206:56923/ContentDirectory/71a41b81-a0c0-5000-dfbb-1bb3ddde013c/control.xml]http://192.168.0.206:56923/ContentDirector...13c/control.xml[/url] (User-Agent: Linux/2.6.31-2.6, UPnP/1.0 DIRECTV JHUPnP/1.0 DLNADOC/1.00 DIRECTV VIIV devices INTEL_NMPR/2.1)
foo_upnp: 44485.473: FbMediaServer::OnAction(261)/2472: INFO: received action 'Browse', args = { ObjectID=0/1/0/0, BrowseFlag=BrowseDirectChildren, Filter=*, StartingIndex=0, RequestedCount=24, SortCriteria= }
foo_upnp: 44485.473: PLT_MediaServer::OnBrowse(380)/2472: INFO: Received BrowseDirectChildren from 192.168.0.209 for id = 0/1/0/0 with filter = *, start = 0, count = 24
foo_upnp: 44485.473: upnp_server_conf::get_profile(720)/2472: INFO: using profile 'directTV', matching header (User-Agent:Linux/2.6.31-2.6, UPnP/1.0 DIRECTV JHUPnP/1.0 DLNADOC/1.00 DIRECTV VIIV devices INTEL_NMPR/2.1)
foo_upnp: 44485.473: FbMediaServer::OnAction(284)/2472: INFO: action 'Browse' response: args = { ObjectID=0/1/0/0, BrowseFlag=BrowseDirectChildren, Filter=*, StartingIndex=0, RequestedCount=24, SortCriteria=, NumberReturned=24, TotalMatches=63, UpdateID=0 }
foo_upnp: 44488.051: FbMediaServer::ProcessHttpRequest(330)/2940: INFO: received LAN request: [url=http://192.168.0.206:56923/ContentDirectory/71a41b81-a0c0-5000-dfbb-1bb3ddde013c/control.xml]http://192.168.0.206:56923/ContentDirector...13c/control.xml[/url] (User-Agent: Linux/2.6.31-2.6, UPnP/1.0 DIRECTV JHUPnP/1.0 DLNADOC/1.00 DIRECTV VIIV devices INTEL_NMPR/2.1)
foo_upnp: 44488.051: FbMediaServer::OnAction(261)/2940: INFO: received action 'Browse', args = { ObjectID=0/1/0/0/1, BrowseFlag=BrowseDirectChildren, Filter=*, StartingIndex=0, RequestedCount=24, SortCriteria= }
foo_upnp: 44488.051: PLT_MediaServer::OnBrowse(380)/2940: INFO: Received BrowseDirectChildren from 192.168.0.209 for id = 0/1/0/0/1 with filter = *, start = 0, count = 24
foo_upnp: 44488.051: upnp_server_conf::get_profile(720)/2940: INFO: using profile 'directTV', matching header (User-Agent:Linux/2.6.31-2.6, UPnP/1.0 DIRECTV JHUPnP/1.0 DLNADOC/1.00 DIRECTV VIIV devices INTEL_NMPR/2.1)
foo_upnp: 44488.051: FbMediaServer::OnAction(284)/2940: INFO: action 'Browse' response: args = { ObjectID=0/1/0/0/1, BrowseFlag=BrowseDirectChildren, Filter=*, StartingIndex=0, RequestedCount=24, SortCriteria=, NumberReturned=16, TotalMatches=16, UpdateID=0 }
foo_upnp: 44501.348: FbMediaServer::ProcessHttpRequest(330)/896: INFO: received LAN request: [url=http://192.168.0.206/content/3de5a132101fc010dff5991588c73e7a.mp3?profile_id=12convert=mp3subsong=3]http://192.168.0.206/content/3de5a132101fc...rt=mp3subsong=3[/url] (User-Agent: DLNADOC/1.00 DIRECTV VIIV devices INTEL_NMPR/2.1)
foo_upnp: 44501.364: PLT_HttpHelper::ToLog(441)/896: INFO:
GET /content/3de5a132101fc010dff5991588c73e7a.mp3?profile_id=12convert=mp3subsong=3 HTTP/1.1
Host: 192.168.0.206
Date: Sat, Jan 14 13:52:12 2012
Accept: */*
User-Agent: DLNADOC/1.00 DIRECTV VIIV devices INTEL_NMPR/2.1
foo_upnp: 44501.364: upnp_server_conf::get_profile(720)/896: INFO: using profile 'directTV', matching header (User-Agent:DLNADOC/1.00 DIRECTV VIIV devices INTEL_NMPR/2.1)
foo_upnp: opened 'file://\\media\Audio\Music\flac\Images\The Allman Brothers Band\[1991] A Decade Of Hits 1969-1979\The Allman Brothers Band - [1991] A Decade Of Hits 1969-1979.flac' for streaming
Title: foo_upnp
Post by: junagel on 2012-01-20 16:56:25
SOLUTION(!):WDTVLIVE: Buffering... and then nothing

And the root cause is...the VMWare virtual network adapters! They are causing the trouble!



I'm sorry for all the trouble that you got to get it working.
It happens that there is a bug were sometimes the server returns unroutable streaming ip addresses to the client (in that case the VMWare address).
I thought I had fixed that but it looks like not.


Hello Bubbleguum,

I has written it bevor.
I´ve the same behaviour in foobar when I send any items from my laptop to a LINN DSI, both connected with a switch in the middle.
Buffering and then nothing, but when I use Kinsky to stream music, I can see the correct titles in foobar.

This doesn´t happen while I used a crossover cable connecting Linn and my laptop directly.
When I´m using a switch, I get the buffering issue.
Perhaps this information may help you to fix the problem.

Title: foo_upnp
Post by: Tominthevan on 2012-01-21 01:05:03
Can't get replay gain to work.

I'm using fb2k and foo_upnp on my desktop computer to control a UPNP renderer. The renderer is a Pioneer x-smc3/4 radio. I have no problem getting music to play and I have applied replay gain data to all the tracks in my library. I have also set up the streaming profile to profile to apply replay gain. When I play tracks through my Pioneer radio it does not seem like replay gain is applied. If I play tracks using fb2k as a renderer on my laptop, it seems like replay gain is applied. I've tested this using 2 tracks with extreme album gain settings, one -11DB and the other +10DB, so the differences are marked.

I've tried tests with and without gain applied in the streaming profile. You can see the effect of applying replay gain in that the tracks are not transcoded from MP3 to PCM if replay gain is not applied and always transcoded to PCM when replay gain is applied. However, the FB2K renderer always seems to play the two tracks at the right volume and the Pioneer never seems to get it right.

I can't see what's going wrong. Possibly I'm doing something wrong or the Pioneer radio lacks a feature.

Any suggestions.

Title: foo_upnp
Post by: MrMayhem on 2012-01-24 08:08:12
I searched the thread but found no answer to this.

I do know that this plugin enables rendering of upnp content on your network, but what about remote networking to other upnp servers than foobar?

My setup is Linux server at home, running mediatomb. For my Android phone I can install the UPnPlay-app and stream my music over an SSL tunnel. In foobar, i tried to add my server with "Add remote foobar2000 UPnP server...", but I understand this is only able to connect to another foobar2000 instance.

Is it possible to connect remotely to another UPnP server? SSL tunneling is not a must, but would be preferable. If no, would it be possible to dig myself in at this task?

Thanks,

/Bo
Title: foo_upnp
Post by: hecter on 2012-02-05 16:10:56
I have it set up so that my computer is simply playing random songs from my playlist. When a song ends, or I hit "Next Song", it just goes to another random song. However, my understanding is that the remote server doesn't support this. Whenever "Next Song" is hit from the remote client, it simply stops the music. Am I doing something wrong, or am I correct in assuming that this feature simply isn't supported yet? If it's the latter, is there any plans to make this feature supported and are there any work arounds as of yet? Oh, and the client is just another foobar2000 with this plugin using the UPnP controller.
Title: foo_upnp
Post by: GeSomeone on 2012-02-05 17:20:00
I'm using fb2k and foo_upnp on my desktop computer to control a UPNP renderer. [..] I have also set up the streaming profile to profile to apply replay gain. When I play tracks through my Pioneer radio it does not seem like replay gain is applied.
If I play tracks using fb2k as a renderer on my laptop, it seems like replay gain is applied.

I noticed here that when I play tracks on my receiver, using the foobar UPnP server, the correct (streaming) profile is used. But when I play them from the foobar UPnP Controller to the same receiver, always the Default profile is used.

So a quick workaround would be to make them similar. But hopefully bubbleguuum can explain if that is intended behavior.
Title: foo_upnp
Post by: Sixth Street on 2012-02-06 07:57:13
Here's a probably outlandish request, but if you don't ask, you definitely won't receive.

Is there a way to be able to set song ratings via the upnp control point?  foo_upnp is already communicating with foo_playcount for playcounts, can it communicate for ratings too?  I'm pointing this request solely to bubbleupnp, as I would guess that setting ratings would need to be be coded into bubbleupnp as well as foo_upnp, and as you are the author of both, you would have a shot above all others.
Title: foo_upnp
Post by: kyungjin on 2012-02-13 12:04:26
when trying to add that address in PlugPlayer (iPhone) it says it cannot find an XML file.  I'm not sure what I'm missing there.

I have the same issue, I don't know what I'm missing neither.
Title: foo_upnp
Post by: kyungjin on 2012-02-13 22:50:11
(Can't edit posts ?)
when trying to add that address in PlugPlayer (iPhone) it says it cannot find an XML file.  I'm not sure what I'm missing there.

I have the same issue, I don't know what I'm missing neither.


Well, this is at work. The server is not detected by PlugPlayer, I must have a firewall issue. But nevertheless I don't understand the thing with the XML file.

I've just tried at home, the autodetection works fine on LAN.
Title: foo_upnp
Post by: Mooninite on 2012-02-16 11:05:38
Hi!
I'm trying to set up an internet streaming configuration. Everything seems to be fine, except one thing - the settings are not saved when I quit foobar. All other settings are saving fine. What could be the problem?
Title: foo_upnp
Post by: Zayfod on 2012-02-18 20:16:32
I WANT the way foobar2000 internal Media Library tree view showing. How can I modify foo_upnp_ml_tree.xml so that it lists like foobar internal library tree? I check the xml file and it seems very very simple:

   <SubTree label="Artists">
      <spec type="object.container.person.musicArtist">%artist%</spec>
      <spec type="object.container.album.musicAlbum">%album%</spec>
   </SubTree>

How to modify? Thanks in advance!!!


modify the line to read:

<spec type="object.container.person.musicArtist">%&lt;artist&gt;%</spec>

This will split %artist% by individual artists. Untested but should work.


Thank you! that snip-it of code was exactly what I came here to find.

I can confirm it's working quite nicely on my %scene% and %theme% tags for RPG background music control.

I'll report back if it makes the server particularly unstable.
Title: foo_upnp
Post by: kopf on 2012-02-19 23:42:33
apologies if this has been asked before, but I couldn't find anything in a few searches I did.

Would it be possible to have an option whereby foobar would broadcast silence on the Playback Streaming ('stream what the upnp server is currently playing' feature) when nothing is playing?
Title: foo_upnp
Post by: eduardoo on 2012-02-29 02:33:26
I am running foo upnp with a win 7 laptop as renderer (connected to a usb dac under ks) and another computer running logitech media server (previously squeezebox server) as the server source, both being remote controlled via bubble upnp on android.

Interestingly, alac files would not be played, with an error popped up about ks.  That same computer (the laptop), if I just use foobar to access the same alac music, would play fine.

Is there some setting issue that I need to look at?

Thanks.
Title: foo_upnp
Post by: soundrush on 2012-02-29 20:03:17
SOLUTION(!):WDTVLIVE: Buffering... and then nothing

And the root cause is...the VMWare virtual network adapters! They are causing the trouble!



I'm sorry for all the trouble that you got to get it working.
It happens that there is a bug were sometimes the server returns unroutable streaming ip addresses to the client (in that case the VMWare address).
I thought I had fixed that but it looks like not.


Hi bubbleguuum,
first of all a bix thx for foo_upnp. I'm using ist for quite some time but ran now into the same problem when upgrading to newest versions of foobar and foo_upnp
as DerJohannes.
Finally with help of your post I can confirm the problem is related to a secaond IP address the PC uses. I my case this is a PPP over ISDN adapter.
I did serveral installations and deinstalltions portable or nonportable without success. After disabling PPP over ISDN network connection during installation it is working again. The bad thing iafter enabling PPP over ISDN the problem is back again.
I my case I use Win XP SP3 and audio client is Terratec NOXON. Funny thing is I never had the problem with the old installation ever the second network connection was already present at that time.

Here some log where 192.168.120.254 is the IP-Adress of the ISDN adapter, NOXON uses static 192.168.0.94:
2.890: NPT_HttpHeader::Emit(118)/6964: FINEST: header Host: 239.255.255.250:1900
2.890: NPT_HttpHeader::Emit(118)/6964: FINEST: header LOCATION: http://192.168.120.254:56923/DeviceDescription.xml (http://192.168.120.254:56923/DeviceDescription.xml)
2.890: NPT_HttpHeader::Emit(118)/6964: FINEST: header NTS: ssdp:alive
2.890: NPT_HttpHeader::Emit(118)/6964: FINEST: header CACHE-CONTROL: max-age=1800
2.890: NPT_HttpHeader::Emit(118)/6964: FINEST: header Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
2.890: NPT_HttpHeader::Emit(118)/6964: FINEST: header USN: uuid:b9f7da65-bb52-a117-f084-924fec3f4061::urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1
2.890: NPT_HttpRequest::Parse(617)/7936: FINEST: http request: NOTIFY * HTTP/1.1
2.890: NPT_HttpHeader::Emit(118)/6964: FINEST: header NT: urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1
2.890: NPT_HttpHeaders::Parse(185)/7936: FINEST: header - Host: 239.255.255.250:1900
2.890: NPT_HttpHeaders::Parse(185)/7936: FINEST: header - LOCATION: http://192.168.120.254:56923/DeviceDescription.xml (http://192.168.120.254:56923/DeviceDescription.xml)
2.890: NPT_HttpHeaders::Parse(185)/7936: FINEST: header - NTS: ssdp:alive
2.906: PLT_SsdpSender::SendSsdp(72)/8900: FINE: Sending SSDP NOTIFY for uuid:ecbc30d6-080f-27d7-da5e-d367684a66e6
2.906: PLT_HttpHelper::ToLog(441)/8900: FINE:
NOTIFY * HTTP/1.1
Host: 239.255.255.250:1900
LOCATION: http://192.168.120.254:56507/ (http://192.168.120.254:56507/)
NTS: ssdp:alive
CACHE-CONTROL: max-age=1800
Server: UPnP/1.0, DLNADOC/1.50, Platinum/0.5.4.0 / foobar2000
USN: uuid:ecbc30d6-080f-27d7-da5e-d367684a66e6
NT: uuid:ecbc30d6-080f-27d7-da5e-d367684a66e6

Thanks for your time!
Title: foo_upnp
Post by: canuckerfan on 2012-03-03 21:46:47
If your player is an Media Renderer it should appear in the UPnP Controller renderer list and then you can control it from foobar2000. Alternatively if it doesn't, you can use Playback Stream Capture to control it


That's it: when I try to use Playback Stream Capture the LD BD590 crashes and shuts off. It's not a Media Renderer; I'm not trying to control it from foobar2000. I'm trying to stream audio (as opposed to just being able to play playlists with the BD590, which it does fine). I was wondering if there were some settings I need to be aware of to get this working properly.

I have the exact same problem. When I select mp3 under the Playback Stream Capture, the LG player just crashes after trying to play the stream for about 5 seconds. I tried fiddling around with the setting, but with wav and lpcm, the LG player simply says "Audio format not supported". But with mp3 it seems like it's about to do something, but then the player crashes.

I can browse folders/albums, and play songs just fine. But the Playback Stream Capture feature isn't working for me. Any ideas?
Title: foo_upnp
Post by: Jack Schmaltz on 2012-03-11 11:08:37
after months of messing now, i finally cave.
for some time now (i can't remember if it was with the last update or whether it happned previous to this) i have had a couple of issues which i can't seem to resolve:

*Media Server, i have my main media server on my desktop computer which i access regularly through upnp on my laptop (internal network). never used to have a problem with this, but of late the media server will not show when i search for it in the upnp browser on my laptop (although it shows up in my network). only when i restart the server on the desktop will it show, but if i close the browser on the laptop then re-open it, it will have disappeared again.
*Playback Stream Capture used to stream across my network absolutly fine in any mode, now it will only do it if decoding to mp3.

if i can provide additional info, please don't hesitate to ask
thank you for a often used component
Title: foo_upnp
Post by: Sandrine on 2012-03-11 18:12:41
Is it technically possible to add "dCS DSD-over-PCM playback" as a stream capability? Any way to stream untouched DSD would be appreciated, really.
Title: foo_upnp
Post by: GaryM44 on 2012-03-11 19:13:24
Connected to PC from HT system over DLNA, via a Sony BDP s580 BD player. When the player starts it shows Windows Media Player as an active source, and the foobar2000 server as inactive. When I try to start it, the Sony tries for a few secs and then reports, "Cannot start server."

The Sony will show the foobar server as active if it is already running on the PC, however.

Also, the foobar2000 DLNA server will not "push" files to the HT system; it struggles to send the file for a few secs then quits, with no err msg. It will allow the HT system to "pull" files from the PC, though.

Using the latest beta version of the UPnP/DLNA plug-in.

What needs to happen to allow the Sony to start foobar?
Title: foo_upnp
Post by: stualden on 2012-03-13 14:51:33
Using foo_upnp on both ends to stream from my music library at home to my laptop wherever I might be.  Most of the time it works perfectly.  But sometimes on certain connections (like at my office) I get a strange "stuttering" behavior.  The sound cuts out intermittently, and the elapsed time counter actually goes back a second or two, then the sound resumes from the earlier point, and the process repeats again.  Generally there is nothing else "wrong" about the Internet connection (plenty fast enough).  Has anyone else seen this problem and know of a solution?
Title: foo_upnp
Post by: GaryM44 on 2012-03-13 15:59:27
Is anyone still supporting this plugin?
Title: foo_upnp
Post by: stualden on 2012-03-13 17:30:25
Additional information to go with my question from earlier today - the log contains error notifications like the following:

Code: [Select]
foo_upnp: 6880.158: PLT_HttpTcpConnector::Connect(86)/5332: FATAL: NPT_CHECK failed, result=-20014 (NPT_ERROR_TIMEOUT) [(m_Socket->Connect(socket_address, connection_timeout))]

foo_upnp: 6880.158: NPT_HttpClient::SendRequestOnce(1070)/5332: WARNING: NPT_CHECK failed, result=-20014 (NPT_ERROR_TIMEOUT) [(m_Connector->Connect(server_hostname, server_port, m_Config.m_ConnectionTimeout, m_Config.m_IoTimeout, m_Config.m_NameResolverTimeout, input_stream, output_stream))]

foo_upnp: 6880.158: PLT_CtrlPoint::ProcessGetDescriptionResponse(1179)/5332: INFO: Received device description for 61cd396e-1894-3da9-91a2-e8090bcf4e54 (result = -20014)

foo_upnp: 6880.158: PLT_CtrlPoint::ProcessGetDescriptionResponse(1182)/5332: FATAL: NPT_CHECK failed, result=-20014 (NPT_ERROR_TIMEOUT) [(res)]

foo_upnp: 6880.158: PLT_CtrlPoint::ProcessGetDescriptionResponse(1258)/5332: SEVERE: Bad Description response for device "61cd396e-1894-3da9-91a2-e8090bcf4e54":

foo_upnp: 6880.158: PLT_CtrlPoint::CleanupDevice(1004)/5332: INFO: Removing 61cd396e-1894-3da9-91a2-e8090bcf4e54 from device list
Title: foo_upnp
Post by: joaotavela on 2012-03-17 01:09:11
Anyone has a solution for Samsung TV's ?
I found this code in a Serviio UPNP server properties. This program works with my TV, but i want Foo_upnp !!! 
Thanks

Code: [Select]
<Profile id="7" name="Samsung TV / player (C/D-series)" extendsProfileId="1">
        <ContentDirectoryMessageBuilder>org.serviio.upnp.service.contentdirectory.SamsungDLNAMessageBuilder</ContentDirectoryMessageBuilder>
        <ResourceTransportProtocolHandler>org.serviio.upnp.protocol.http.transport.SamsungWiseLinkProtocolHandler</ResourceTransportProtocolHandler>
        <Detection>
            <UPnPSearch>
                <FriendlyName>(^TV-\d{2}C\d{3}.*)|(^\[TV\][A-Z]{2}\d{2}D\d{3}.*)</FriendlyName>                
                <ModelNumber>(1\.0)|(AllShare1\.0)</ModelNumber>
            </UPnPSearch>    
            <HttpHeaders>
                <!-- for BD players -->
                <User-Agent>(.*SEC_HHP_BD-[CD].*)|(.*SEC_HHP_\[(HT|BD)\][CD].*)</User-Agent>
            </HttpHeaders>
        </Detection>
        <DeviceDescription>
            <ExtraElements>
                &lt;sec:ProductCap&gt;smi,DCM10,getMediaInfo.sec,getCaptionInfo.sec&lt;/sec:ProductCap&gt;
                &lt;sec:X_ProductCap&gt;smi,DCM10,getMediaInfo.sec,getCaptionInfo.sec&lt;/sec:X_ProductCap&gt;
            </ExtraElements>
        </DeviceDescription>
        <MediaFormatProfiles>
            <MediaFormatProfile mime-type="video/x-mkv">MATROSKA</MediaFormatProfile>
            <MediaFormatProfile mime-type="video/x-msvideo" name="">AVI</MediaFormatProfile>
        </MediaFormatProfiles>
        <ContentDirectoryDefinitionFilter>org.serviio.upnp.service.contentdirectory.definition.SamsungContentDirectoryDefinitionFilter</ContentDirectoryDefinitionFilter>    
        <Transcoding>
            <!-- Transcode all h264 video with HIGH/MAIN > Level 4.1 on MPEG-TS stream with MPEG2VIDEO and ac3 audio transcoding -->
            <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="192" maxVBitrate="20000">
                <Matches container="avi" vCodec="h264" profile="high" levelGreaterThan="4.2" />
                <Matches container="avi" vCodec="h264" profile="main" levelGreaterThan="4.2" />
                <Matches container="matroska" vCodec="h264" profile="high" levelGreaterThan="4.2" />
                <Matches container="matroska" vCodec="h264" profile="main" levelGreaterThan="4.2" />
                <Matches container="mp4" vCodec="h264" profile="high" levelGreaterThan="4.2" />
                <Matches container="mp4" vCodec="h264" profile="main" levelGreaterThan="4.2" />
                <Matches container="mpegts" vCodec="h264" profile="high" levelGreaterThan="4.2" />
                <Matches container="mpegts" vCodec="h264" profile="main" levelGreaterThan="4.2" />
                <Matches container="mp4" vCodec="mpeg4" aCodec="lpcm" />
            </Video>
            <!-- transcode H264 MP4 files with LPCM audio -->
            <Video targetContainer="mpegts" targetACodec="ac3">
                <Matches container="mpegts" aCodec="mp2" />
                <Matches container="mp4" aCodec="lpcm" />
                <Matches container="flv" vCodec="h264" /> <!-- looks like some (D?) devices play FLV@H264 natively so this could be removed -->
                <Matches container="matroska" vCodec="h264" aCodec="flac" />
                <Matches container="matroska" vCodec="h264" aCodec="vorbis" />
                <Matches container="matroska" vCodec="h264" aCodec="truehd" />
                <Matches container="matroska" vCodec="vc1" />
                <Matches container="ogg" vCodec="mpeg4" />
                <Matches container="3gp" aCodec="amrnb" />  
            </Video>    
            <!-- transcode MKV with MPEG2 video, remux into mpeg2ts -->
            <!-- transcode AVI with AVC video -->
            <Video targetContainer="mpegts" targetACodec="ac3" targetVCodec="mpeg2video" maxVBitrate="20000">
                <Matches container="matroska" vCodec="mpeg2video" />
                <Matches container="matroska" vCodec="vp8" />
                <Matches container="avi" vCodec="h264" />
                <Matches container="avi" vCodec="mjpeg" />
                <Matches container="avi" vCodec="dvvideo" />
                <Matches container="flv" />
                <Matches container="ogg" />
            </Video>
            <!-- For dvr-ms files force mpeg2video transcoding to fix monotone timestamps problems-->
            <Video targetContainer="mpegts" targetACodec="ac3" forceVTranscoding="true" maxVBitrate="20000">
                <Matches container="asf" vCodec="mpeg2video" />
            </Video>
            <Video targetContainer="mpegts">
                <Matches container="wtv" />
            </Video>
            <!-- transcode audio only for wmv with wmapro -->
            <Video targetContainer="asf" targetACodec="ac3" aBitrate="256">
                <Matches container="asf" aCodec="wmapro" />
            </Video>
            <Audio targetContainer="lpcm">
                <Matches container="mp4" />
                <Matches container="flac" />
                <Matches container="ogg" />
                <Matches container="adts" />
            </Audio>
        </Transcoding>
        <OnlineTranscoding>
            <Video targetContainer="mpegts" targetACodec="ac3" aBitrate="384">
                <Matches container="mp4" vCodec="h264" />        
                <Matches container="applehttp" vCodec="h264"/>
            </Video>        
            <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="384" maxVBitrate="20000">
                <Matches container="mp4" />
                <Matches container="asf" /> <!-- mms -->
            </Video>
        </OnlineTranscoding>
        <AutomaticImageRotation>true</AutomaticImageRotation>
        <LimitImageResolution>false</LimitImageResolution>
        <SubtitlesMimeType>smi/caption</SubtitlesMimeType>        
    </Profile>
Title: foo_upnp
Post by: sergeymen on 2012-03-18 19:29:00
I'm use foo_upnp regularly, but not all the time. I have playback stream capture on. I notice that it slows down the closing of foobar2000 a bit. So what I did is add a fb2k button to turn the foo_upnp server on and off. So I can turn it on only when I am using it. Other times I need foobar2000 to be as light and responsive as possible.

Unfortunately the button does not tell me the current state of the server. Whether it's on or off . So I was hoping to add the foo_upnp server status to the title bar or status bar using title formatting. Are there any titleformatting functions that would tell me the state of foo_upnp server?
Title: foo_upnp
Post by: Fost on 2012-03-23 13:27:14
+1 for getting this to work with a proxy at some point.

Thanks for this amazing gift of a plugin


Damned work proxies spoiling our fun!!
Title: foo_upnp
Post by: CrazedGeek on 2012-03-25 19:56:44
First off, this + BubbleUPnP + a decent cell connection is basically the greatest thing ever, so thanks for that!

Anyway, I have this in my tree XML:

Code: [Select]
    <SubTree label="Album Artists">
        <spec type="object.container.person.musicArtist">%&lt;album artist&gt;%</spec>
        <spec type="object.container.album.musicAlbum">%album%</spec>
    </SubTree>


to match the individual artist splitting trick mentioned a few pages ago. It doesn't quite work, though -- while %album artist% works the way it should (matching this (http://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Title_Formatting_Reference#.25album_artist.25)), %&lt;album artist&gt;% only lists albums with ALBUMARTIST set.

Any ideas?
Title: foo_upnp
Post by: retroactive on 2012-03-25 22:08:27
Ahoy foo_upnp people,

I'm looking to accomplish two different things:

1. Allow quickly scrolling to an artist by having an index of first letters available.

2. Shuffle amongst all songs in a genre.

I (gratefully) note the "split tree nodes by first letter" setting, but that applies globally, so if I enable it it will break functionality of goal #2, as some of my genres have more songs that I have artists.

Is there a way to have a first letter listing just for by the Artist menu item? I checked out foobar2000/titleformat_help.html to see if there was anything obvious I could try in the media tree xml file, but no luck.

Random things:
-I have a custom media tree to allow goal #2 that removes the by artist xml snippet from the genre SubTree
-I have about 380 artists and the number of songs/genre ranges from 20 to 7,000, so doing this by setting the >nodes number won't work

Many thanks if you can offer any help/ideas/amusingly cutting remarks about why this is stupid idea.
Title: foo_upnp
Post by: hyposquasher on 2012-03-25 23:33:54
I have my foobar and upnp installed and working on one of my PC's.  However, when I use PlugPlayer's iPhone app to control the installation in question, I can't figure out where the current playlist is being displayed in foobar on the PC? 

I have tried finding this playlist with the columnsUI display and with the default display. 

I can't figure this out whether I am using my iPhone as the renderer or the foobar on the PC as the renderer. 

I am a bit of a foobar newb, for sure, but I am a pretty savvy PC user and I'm not sure what I'm doing wrong.  Help? 

Title: foo_upnp
Post by: robertdavidreeves@hotmail. on 2012-03-28 01:30:47
I am finding that when playing back FLAC files to a PS3, the music stutters about 5 -10 times in a 3 minute track. The silence lasts anywhere from <1 s to >3 s. The problem occurs with both LPCM and WAV formats. I am using a wireless connection.

I can playback the same files using Windows Media Player, on the same host pc, as a media server to the PS3 without any stutter.

Is there anything I can do to help troubleshoot the problem?



Title: foo_upnp
Post by: vermanium on 2012-03-28 03:00:36
Hi Bubblegum
This is a fantastic plugin. I dont know how to thank you enough for it. It has made my musical life so easy...the setup i have is an HTPC running XBMC, playing my music on HiFi amp and controlled via a remote and displayed on my plasma tv. It was great, except it was a pain searching through 40,000 songs for an individual one.

Now, because of your plugin, i do all my sifting of songs on my laptop through foobar and then send it to XBMC via UPnP. Fantastic.

Except, i have one small problem. If i select an album in foobar, right click and then try to send it to XBMC over UPnP, i just get to hear one song and not the rest.

Am i doing something wrong? Any help/advice will be grately appreciated.

Thanks for your efforts.


Title: foo_upnp
Post by: Xcaliber on 2012-03-28 13:54:14
Hey, I love this plugin and use it more and more often, especially in combination with Bubble upnp on my Android (SGS2) phone

However, few more functions would be great to have:
1) for example, I would like to use foo_upnp in my work network to stream my music collection to my cell phone or other computer. The work network consists of >200 computers and, from obvious reasons, I would like to keep my music collection private, unaccessible to most of the computers. Is there any way how to protect the access to the foobar library by password?

2) The transcoding part of the program is great and extremely smart. There is only a small thing missing for me in the transcoding functionality. I would appreciate to have more options/formats for transcoding. I personnaly hate mp3 and would be love to see the ability to transcode to ogg vorbis or mp4 (lossy formats) or flac (lossless) or a different codec of personal choice. I believe that it would bring the flexibility of the foo_upnp one level up. Both ogg and aac can give you better quality at lower bitrates used in 3G networks for instance. On the other hand, flac would decrease the bandwidth required to stream the music in lossless quality. The wav, i´m currently using for streaming of my collection in my home network is fine, though lossless compression would be even better.

Thank you for all the work, it´s enormously useful to many people!



Title: foo_upnp
Post by: robertdavidreeves@hotmail. on 2012-03-28 21:25:20
I am finding that when playing back FLAC files to a PS3, the music stutters about 5 -10 times in a 3 minute track. The silence lasts anywhere from <1 s to >3 s. The problem occurs with both LPCM and WAV formats. I am using a wireless connection.

I can playback the same files using Windows Media Player, on the same host pc, as a media server to the PS3 without any stutter.

Is there anything I can do to help troubleshoot the problem?


An update... I found some clues in the documentation http://bubbleguuum.free.fr/foo_upnp/foo_upnp.txt: (http://bubbleguuum.free.fr/foo_upnp/foo_upnp.txt:)
I have problems with streaming on my PS3
----------------------------------------

- Use a wired connection wheneven possible. If using wireless, change your wifi channel id.
- Set the output frequency to 48Khz: http://manuals.playstation.net/document/en...tfrequency.html (http://manuals.playstation.net/document/en/ps3/current/settings/outputfrequency.html)


Unfortunately a wired connection is not an option. I did switch the wifi channel of the router but did not see an improvement.

I am running Windows 7 and the network adapter is running a Quality of Service Packet Scheduler which may allocate bandwidth between competing applications. I did find an improvement when I stopped the TVersity media server (which streams LPCM without a problem, but has other issues) that was also running on the same host PC.




Title: foo_upnp
Post by: dennis_k85 on 2012-03-30 13:55:48
I am using foobar upnp, and it does not sonos devices under the controller tab. I can see sonos devices on several ipod and android app. Are there any plans to add this functionality to foobar?
Title: foo_upnp
Post by: GiantSteps on 2012-03-31 21:40:49
After an exhaustive search on this forum I have determined I am unable to solve this problem.

I have installed PlugPlayer on my iPhone 3g.  It does see my foobar2000 server and its content.  When I go to play a file, the player launches, the play button turns to a pause button (indicating its playing) but it does not play and the track elapsed time does not move.  I adjusted the PlugPlayer profile in the foobar settings to no avail.  I also followed the recommendation to disable the safari video player.

I also have PlugPlayer on my iPad and suffer the same issue however on the iPad i get an "error 4" message pop up when I attempt to play files.

The log file for foobar (set to Info) shows: 


[blockquote]0.003: foo_upnp::on_init(136)/5016: INFO: foo_upnp: version 0.99.35
0.007: PLT_UPnP::Start(211)/5016: INFO: Starting UPnP...
0.018: standard_media_tree_root_node_t::load_ml_filters(553)/5016: INFO: loaded Media Library filters from C:\Users\Isaac\AppData\Roaming\foobar2000\foo_upnp_ml_tree.xml
0.021: PLT_UPnP::AddDevice(343)/5016: INFO: Starting Device...
0.023: PLT_HttpServer::Start(109)/5016: INFO: HttpServer listening on 0.0.0.0:56923
0.024: PLT_UPnP::AddDevice(343)/5016: INFO: Starting Device...
0.031: PLT_HttpServer::Start(109)/5016: INFO: HttpServer listening on 0.0.0.0:55609
initialized in 0.037s
created 6143 path registry entries in 0.394s
1.332: PLT_Service::ProcessNewSubscription(534)/5372: INFO: New subscription for AVTransport/a4de456b-df58-3048-0f27-10a54f2ddad4/event.xml, sid=uuid:f8ebc180-c181-f9e4-08cc-740a1bd3db14
1.345: PLT_Service::ProcessNewSubscription(534)/5924: INFO: New subscription for ConnectionManager/a4de456b-df58-3048-0f27-10a54f2ddad4/event.xml, sid=uuid:c48789e4-319a-9ac4-6fa2-d449e22c24f9
1.376: PLT_Service::ProcessNewSubscription(534)/5192: INFO: New subscription for RenderingControl/a4de456b-df58-3048-0f27-10a54f2ddad4/event.xml, sid=uuid:1234ee86-90c5-e518-ea4b-4bd4bd4bf979
1.990: PLT_Service::ProcessCancelSubscription(664)/2980: INFO: Cancelling subscription for AVTransport/a4de456b-df58-3048-0f27-10a54f2ddad4/event.xml (sub=uuid:f8ebc180-c181-f9e4-08cc-740a1bd3db14)
2.001: PLT_Service::ProcessCancelSubscription(664)/3748: INFO: Cancelling subscription for ConnectionManager/a4de456b-df58-3048-0f27-10a54f2ddad4/event.xml (sub=uuid:c48789e4-319a-9ac4-6fa2-d449e22c24f9)
2.031: PLT_Service::ProcessCancelSubscription(664)/5244: INFO: Cancelling subscription for RenderingControl/a4de456b-df58-3048-0f27-10a54f2ddad4/event.xml (sub=uuid:1234ee86-90c5-e518-ea4b-4bd4bd4bf979)
3.636: FbMediaServer::ProcessHttpRequest(330)/5732: INFO: received LAN request: http://127.0.0.1:56923/DeviceDescription.xml (http://127.0.0.1:56923/DeviceDescription.xml) (User-Agent: Microsoft-Windows/6.1 UPnP/1.0 Windows-Media-Player-DMS/12.0.7601.17514 DLNADOC/1.50)
3.636: FbMediaServer::ProcessGetDescription(414)/5732: INFO: ProcessGetDescription: user-agent: Microsoft-Windows/6.1 UPnP/1.0 Windows-Media-Player-DMS/12.0.7601.17514 DLNADOC/1.50
loaded Media Library tree in 4.231s
28.468: FbMediaServer::ProcessHttpRequest(330)/5696: INFO: received WAN request: http://96.39.225.24:56923/ContentDirectory...b70/control.xml (http://96.39.225.24:56923/ContentDirectory/eba2b8fd-c26e-e8ad-35c6-16840a8cbb70/control.xml) (User-Agent: iPhone/4.2.1, UPnP/1.0, PlugPlayer/4.1.0)
28.468: FbMediaServer::OnAction(261)/5696: INFO: received action 'Browse', args = { ObjectID=0/1/0/3, BrowseFlag=BrowseDirectChildren, Filter=id,childCount,dc:title,upnp:class,res,res@resolution,res@protocolInfo,upnp:artist,upnp:album,
res@duration,upnp:albumArtURI, StartingIndex=0, RequestedCount=10, SortCriteria= }
28.468: PLT_MediaServer::OnBrowse(380)/5696: INFO: Received BrowseDirectChildren from 166.205.141.174 for id = 0/1/0/3 with filter = id,childCount,dc:title,upnp:class,res,res@resolution,res@protocolInfo,upnp:artist,upnp:album,res@dur
ation,upnp:albumArtURI, start = 0, count = 10
28.468: upnp_server_conf::get_profile(746)/5696: INFO: using default profile (User-Agent:iPhone/4.2.1, UPnP/1.0, PlugPlayer/4.1.0)
28.966: FbMediaServer::OnAction(284)/5696: INFO: action 'Browse' response: args = { ObjectID=0/1/0/3, BrowseFlag=BrowseDirectChildren, Filter=id,childCount,dc:title,upnp:class,res,res@resolution,res@protocolInfo,upnp:artist,upnp:album,
res@duration,upnp:albumArtURI, StartingIndex=0, RequestedCount=10, SortCriteria=, NumberReturned=9, TotalMatches=9, UpdateID=0 }
201.521: FbMediaServer::ProcessHttpRequest(330)/564: INFO: received LAN request: http://127.0.0.1:56923/DeviceDescription.xml (http://127.0.0.1:56923/DeviceDescription.xml) (User-Agent: Microsoft-Windows/6.1 UPnP/1.0 Windows-Media-Player-DMS/12.0.7601.17514 DLNADOC/1.50)
201.521: FbMediaServer::ProcessGetDescription(414)/564: INFO: ProcessGetDescription: user-agent: Microsoft-Windows/6.1 UPnP/1.0 Windows-Media-Player-DMS/12.0.7601.17514 DLNADOC/1.50
201.536: PLT_Service::ProcessNewSubscription(534)/748: INFO: New subscription for AVTransport/a4de456b-df58-3048-0f27-10a54f2ddad4/event.xml, sid=uuid:0c30055b-dccf-0fec-0cea-18d2912032d7
201.546: PLT_Service::ProcessNewSubscription(534)/3420: INFO: New subscription for ConnectionManager/a4de456b-df58-3048-0f27-10a54f2ddad4/event.xml, sid=uuid:6b36a425-4ee9-61a2-d79d-21c6569b6dd3
201.561: PLT_Service::ProcessNewSubscription(534)/5288: INFO: New subscription for RenderingControl/a4de456b-df58-3048-0f27-10a54f2ddad4/event.xml, sid=uuid:24cb4816-d9fc-6a99-ed80-072e2feff773
202.193: PLT_Service::ProcessCancelSubscription(664)/3292: INFO: Cancelling subscription for AVTransport/a4de456b-df58-3048-0f27-10a54f2ddad4/event.xml (sub=uuid:0c30055b-dccf-0fec-0cea-18d2912032d7)
202.198: PLT_Service::ProcessCancelSubscription(664)/4460: INFO: Cancelling subscription for ConnectionManager/a4de456b-df58-3048-0f27-10a54f2ddad4/event.xml (sub=uuid:6b36a425-4ee9-61a2-d79d-21c6569b6dd3)
202.213: PLT_Service::ProcessCancelSubscription(664)/5164: INFO: Cancelling subscription for RenderingControl/a4de456b-df58-3048-0f27-10a54f2ddad4/event.xml (sub=uuid:24cb4816-d9fc-6a99-ed80-072e2feff773)
481.921: PLT_UPnP::Stop(312)/5016: INFO: Stopping UPnP...
482.864: PLT_HttpServerSocketTask::Read(216)/5876: WARNING: NPT_CHECK failed, result=-1 (FAILURE) [(res)][/blockquote]

Any ideas on what I am missing?

Thanks.
Title: foo_upnp
Post by: tony08 on 2012-04-03 09:45:04
Why foobar control point cannot find my ASUS O!Play mediarenderer device?

I have connected my device to LAN, but i can't see renderer in my control point list. How can i do,thanks!
Title: foo_upnp
Post by: bubbleguuum on 2012-04-05 12:51:05
I was finally able to take some time to update the plugin, addressing some of the issues of the latest few months.

Here's v0.99.36 (see first post for download or go to the foobar2000 components site)

NOTE: the next release of BubbleUPnP Server (http://bubbleguuum.free.fr/upnpserver/) will allow remote Internet access of any UPnP AV Media Server,
using foobar2000 as a client, with optional transcoding.

Changelog

Title: foo_upnp
Post by: Simononon on 2012-04-05 13:13:06
Is there any way to get the UPnP Controller to work with my Panasonic VIERA E30 Series TV? I get
Code: [Select]
Play Error: Read error (703)
whenever I try to play to it, however I am able to use the Windows Media Player "Play To" without error.
My apologies if this has been answered elsewhere, and thanks for the plugin (and the update!)

edit: Just saw the
Code: [Select]
server: attempt at fixing streaming not working with some Samsung DLNA TVs and possibly other DLNA TVs.
changelog - not working on mine with the 0.99.36 update.

Here's my foo_upnp.log:
http://pastebin.com/6XVbVjGP (http://pastebin.com/6XVbVjGP)
Title: foo_upnp
Post by: bubbleguuum on 2012-04-05 13:40:21
This error is a different issue than the one supposedly fixed for Samsung TVs. It looks like this TV fails at reading the stream from the server, for an
unknown reason. Did you have the same error (Play Error: Read error (703) with the previous version of the plugin ?

EDIT: if you wish you can post a new log with level = FINER so I can see what http request it makes.
Title: foo_upnp
Post by: alexinc on 2012-04-05 17:28:57
thats awesome! streaming to samsung ue40c7700 and ht-c6930 works brilliant now... only thing that doesnt seem to work is stream album art (folder.jpg), to my htc phone its working and from nas via twonky to samsung tv it works too!? but i dont mind... and its that fast searching and jumping through my collection. big big thx!!! now i would beg you program exactly that upnp server standalone for nas - that would be awesome, having the abilities and power of foobar tagging and upnp streaming without the need of a running pc/laptop all the time... ;-)
Title: foo_upnp
Post by: Simononon on 2012-04-06 06:53:25
This error is a different issue than the one supposedly fixed for Samsung TVs. It looks like this TV fails at reading the stream from the server, for an
unknown reason. Did you have the same error (Play Error: Read error (703) with the previous version of the plugin ?

EDIT: if you wish you can post a new log with level = FINER so I can see what http request it makes.


Yeah I had the same error in the previous version - here's a FINER log:
http://pastebin.com/R4ns6Hyj (http://pastebin.com/R4ns6Hyj)
Title: foo_upnp
Post by: joaotavela on 2012-04-06 10:41:37
bubbleguuum, you are my hero!!
After trying every media server in this earth finally i can get to work foo_upnp
in my SamsungTV UN55C6900. Its fast...very fast.
Many Thanks
Title: foo_upnp
Post by: GeSomeone on 2012-04-06 17:59:31
Just a heads up. Although I could download the dll from bubbleguuum's site, not so from the foobar components site. Whatever I tried, it keeps downloading the zip with version 0.99.35, even though foobar2000 sees there is a new version.
Title: foo_upnp
Post by: bubbleguuum on 2012-04-06 19:26:34
Just a heads up. Although I could download the dll from bubbleguuum's site, not so from the foobar components site. Whatever I tried, it keeps downloading the zip with version 0.99.35, even though foobar2000 sees there is a new version.



Thanks for reporting, now fixed.
Title: foo_upnp
Post by: bubbleguuum on 2012-04-06 22:27:12
I released BubbleUPnP Server (http://bubbleguuum.free.fr/upnpserver/) 0.5.3 which allows to use the remote Internet access feature of foo_upnp with any UPnP AV Media Server, with optional transcoding to mp3.

For example you can stream from your UPnP NAS via the Internet, transcoding if necessary.

More details here (http://bubbleguuum.free.fr/upnpserver/#foobar2000_configuration)
Title: foo_upnp
Post by: Snowknight26 on 2012-04-06 22:47:10
Any chance of track search being added?

For some reason, BubbleUPnP seems to think that foo_upnp (or BubbleUPnP Server) doesn't support library searching. Without having force library search enabled in BubbleUPnP, searches fail 90% of the time:

(http://stfcc.org/pics/i/2d4bf8659c85a35e4602ed04dbea98a7_th.jpg) (http://stfcc.org/pics/i/2d4bf8659c85a35e4602ed04dbea98a7.png) (http://stfcc.org/pics/i/4ec76fe19db88b2f9fbd89c9fddee824_th.jpg) (http://stfcc.org/pics/i/4ec76fe19db88b2f9fbd89c9fddee824.png) (http://stfcc.org/pics/i/785ebb86b7976bb4ab2ba1b0d0f8fd0c_th.jpg) (http://stfcc.org/pics/i/785ebb86b7976bb4ab2ba1b0d0f8fd0c.png)

It works for the first search but subsequent searches fail:

(http://stfcc.org/pics/i/b9966827be6769cf6fd58903023e4736_th.jpg) (http://stfcc.org/pics/i/b9966827be6769cf6fd58903023e4736.png) (http://stfcc.org/pics/i/5db283f3034b6d835a9e067be8b0a4e8_th.jpg) (http://stfcc.org/pics/i/5db283f3034b6d835a9e067be8b0a4e8.png)
Title: foo_upnp
Post by: bubbleguuum on 2012-04-06 23:04:16
Any chance of track search being added?


It is true that foo_upnp doesn't implement track title search, while BubbleUPnP do emit such searches.
I will add support for it in the next version of the plugin.
Thanks for making me notice, I had forget that.
Title: foo_upnp
Post by: Snowknight26 on 2012-04-07 00:55:18
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.
Title: foo_upnp
Post by: blammo on 2012-04-08 09:48:45
Hey. This new version appears to fixed the problems I had with my WDTVLive.  It used to stop after only three songs.  Now it seems to keep going!  Thanks
Title: foo_upnp
Post by: Simononon on 2012-04-09 03:58:35
Yeah I had the same error in the previous version - here's a FINER log:
http://pastebin.com/R4ns6Hyj (http://pastebin.com/R4ns6Hyj)


I'm now using my Xbox 360 as a Windows Media Player Extender and bought BubbleUPnP to select music from my foobar media server and play on my 360 from my tablet, works much better then UPnP on my TV would anyway  Thanks
Title: foo_upnp
Post by: lucidanime on 2012-04-09 04:02:15
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 (http://pastebin.com/8qhMBAWn)
Title: foo_upnp
Post by: bubbleguuum on 2012-04-14 15:12:19
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.
Title: foo_upnp
Post by: bubbleguuum on 2012-04-14 15:13:15
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 (http://pastebin.com/8qhMBAWn)



Can you state what exactly isn't working and post a log with INFO level instead ?
Title: foo_upnp
Post by: bubbleguuum on 2012-04-15 16:53:03
BubbleUPnP Server 0.5.4 (http://bubbleguuum.free.fr/upnpserver/) and foo_upnp 0.99.37 (http://www.foobar2000.org/components/view/foo_upnp) are available.

This new version of BubbleUPnP Server allows Internet https connections from both Android BubbleUPnP (https://play.google.com/store/apps/details?id=com.bubblesoft.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



BubbleUPnP Server 0.5.4

Title: foo_upnp
Post by: Snowknight26 on 2012-04-18 02:10:54
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).
Title: foo_upnp
Post by: bubbleguuum on 2012-04-18 12:30:52
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.
Title: foo_upnp
Post by: MaCs on 2012-04-18 14:22:23
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!
Title: foo_upnp
Post by: bubbleguuum on 2012-04-18 15:32:16
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 ?
Title: foo_upnp
Post by: MaCs on 2012-04-18 15:51:53
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.
Title: foo_upnp
Post by: psme on 2012-04-18 17:21:02
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!
Title: foo_upnp
Post by: bubbleguuum on 2012-04-18 17:49:06
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 ?
Title: foo_upnp
Post by: bubbleguuum on 2012-04-18 17:51:03
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 ?
Title: foo_upnp
Post by: psme on 2012-04-18 18:04:52
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.
Title: foo_upnp
Post by: bubbleguuum on 2012-04-18 18:08:57
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.

Ok, I will look into it
Title: foo_upnp
Post by: war59312 on 2012-04-18 18:29:45
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)
Title: foo_upnp
Post by: bubbleguuum on 2012-04-18 18:37:16
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 ?
Title: foo_upnp
Post by: MaCs on 2012-04-18 19:18:05
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.
Title: foo_upnp
Post by: bubbleguuum on 2012-04-18 19:45:55
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 ?
Title: foo_upnp
Post by: MaCs on 2012-04-18 20:14:07
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.
Title: foo_upnp
Post by: bubbleguuum on 2012-04-18 22:02:46
v0.99.38 is available (components site or first post of this topic for link)

Title: foo_upnp
Post by: Anomalous on 2012-04-19 01:07:11
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
Title: foo_upnp
Post by: mpuckett on 2012-04-19 04:08:05
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.
Title: foo_upnp
Post by: MaCs on 2012-04-19 14:38:25
Ok, I could reproduce and fix that issue. Was it your original problem ?


Unfortunately it did not solve my initial problem. I will look into firewall settings.
Title: foo_upnp
Post by: matt_henry on 2012-04-19 20:35:16
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.
Title: foo_upnp
Post by: bubbleguuum on 2012-04-19 23:51:55
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.
Title: foo_upnp
Post by: bubbleguuum on 2012-04-19 23:53:58
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.
Title: foo_upnp
Post by: bubbleguuum on 2012-04-19 23:59:15
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.


exit foobar2000 and delete foo_upnp.xml to reset the configuration just in case and remake it from scratch.

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.

Are you are not trying to stream files that requires too much bandwidth without transcoding ?  I believe UpnPlay will use the default profile.


Quote
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.
need help with that please.


In BubbleUPnP you *cannot* access foo_upnp directly over the Internet. You must use BubbleUPnP Server for that like if it was any other Media Server.
In other terms, Android BubbleUPnP connects only to BubbleUpNP Server which in turn makes any Media Server accessible to it.
Title: foo_upnp
Post by: psme on 2012-04-20 06:02:11
the latest .38 plugin has problem! In the config, in Streaming Profile config, it won't let me Uncheck "lossless and" and "Internet connection" options. After I uncheck these 2 options, once foobar2000 is restarted, the settings become Checked again. The problem is with the 2 options always checked, it will always trancode to mp3 when playing over Internet, or other subnet.

There is no such problem in .35 version.

Also, I already has a foobar upnp running. Then I install a extra (in standalone mode) copy of foobar and upnp plugin, in the past (.35 version), it will prompt me that the server couldn't start because another server already used the default port 56923. But this .38 version won't give any prompt...
Title: foo_upnp
Post by: matt_henry on 2012-04-20 06:10:26
Thanks for the quick reply!

Are you are not trying to stream files that requires too much bandwidth without transcoding ?  I believe UpnPlay will use the default profile.


I'd try to create a profile for UPnPlay, is that simply achieved by creating one called "UPnPlay"? Or does it depend on the app, which profile is used?


In BubbleUPnP you *cannot* access foo_upnp directly over the Internet. You must use BubbleUPnP Server for that like if it was any other Media Server.
In other terms, Android BubbleUPnP connects only to BubbleUpNP Server which in turn makes any Media Server accessible to it.


I was afraid this the case.. I'll give BubbleUPnP Server a shot then, althought I didn't want to use yet another tool.

Thank you again, I'll try it out as fast as possible and tell you the results. =)
Title: foo_upnp
Post by: psme on 2012-04-20 08:51:12
The more I think about those "never"/"always", together with "except"/"or"/"and" rules, just make my head hurt more!

I just want to NEVER trancode, under ALL condition! How should I set those options?

If I can NOT Uncheck BOTH "lossless and" AND "internet connection, then by the other way, should I select transcode "ALWAYS" (instead of NEVER), and put in ALL the file extensions (mp3,wav,aiff,m4a,flac,ape,wma,dff,dsf,aac etc etc), so that it will never transcode, no matter the "lossless and" and "internet connection" options checked or not?

I need to stop, my head hurt again...

btw, I found that it will let me Uncheck either "lossless and", or "internet connection", but not BOTH...
Title: foo_upnp
Post by: war59312 on 2012-04-20 10:23:03
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 ?

Simple MP3 files. Settings make no difference it seems, tried every possible combination.

Looks like its another bug in BB firmware.
Title: foo_upnp
Post by: bubbleguuum on 2012-04-20 11:36:16
the latest .38 plugin has problem! In the config, in Streaming Profile config, it won't let me Uncheck "lossless and" and "Internet connection" options. After I uncheck these 2 options, once foobar2000 is restarted, the settings become Checked again. The problem is with the 2 options always checked, it will always trancode to mp3 when playing over Internet, or other subnet.

There is no such problem in .35 version.

Also, I already has a foobar upnp running. Then I install a extra (in standalone mode) copy of foobar and upnp plugin, in the past (.35 version), it will prompt me that the server couldn't start because another server already used the default port 56923. But this .38 version won't give any prompt...


Thank you for reporting these 2 bugs which are regressions and that I fixed.
Wait for a fixed version probably tomorrow because as it is, some Streaming Profile options cannot be saved.
Title: foo_upnp
Post by: psme on 2012-04-20 13:29:57
thanks! and sorry for the shout!

oh and thanks for adding the 2.8Mhz option! foobar2000 upnp plugin now has really unique features!
Title: foo_upnp
Post by: matt_henry on 2012-04-21 08:01:41
Again thank you for your help!

I'm now using BubbleUPnP with its server and it's working good, I dumped UPnPlay, since it isn't working anymore - for whatever reason..

Another issue I wanted to ask about: When I'm going to stream to my PS3, I first have to boot the PS3 and after that start foobar or restart the UPnP Server, otherwise it takes around twenty searches on the PS3 to discover the server. I saw an option in my router configuration for UPnP, which is disabled atm - is that related to LAN UPnP servers?

Title: foo_upnp
Post by: bubbleguuum on 2012-04-21 12:36:21
v 0.99.39 is available fixing a bunch of regressions introduced in 0.99.36.

It is recommended you delete your foo_upnp.xml file in the foobar2000 profile dir, as v0.99.36+ has rewritten
some streaming profile parameters to default values.
If you delete this file and have some custom profiles, you will have to recreate them.

0.99.39

- (regression) fixed loading configuration always forcing certain parameters in streaming profiles to default values
- (regression) server: fixed server starting without error if its port was used
- (regression) server: fixed broken Internet authentication
- (regression) server: fixed returning large number of items making UI sluggish
- (regression) browser: fixed lagging UI when loading folder with huge number of items
Title: foo_upnp
Post by: bubbleguuum on 2012-04-21 12:39:52
I'm now using BubbleUPnP with its server and it's working good, I dumped UPnPlay, since it isn't working anymore - for whatever reason..


It should be fixed in 0.99.39. Although with BubbleUPnP Server you have other advantages like improved security (https) and reduced bandwidth usage (compression).
Title: foo_upnp
Post by: Anomalous on 2012-04-21 16:05:46
Thanks for the quick update, the UI doesn't stutter for me anymore.

I deleted foo_upnp.xml and noticed it didn't select the right profile when using PlugPlayer, changing "PlugPlayer (iOS)" to "PlugPlayer" fixed this. The user agent given in the console is
Code: [Select]
(User-Agent: iPhone/5.1, UPnP/1.0, PlugPlayer/4.1.0)


I also just noticed the stereo only option in rendering capabilities, does this apply to the Playback Stream Capture (it doesn't seem to)? It's a bit hard to test properly because sending wav/lpcm (using 2 channels) for the PSC doesn't give any audio, while transcoding to mp3 works. When using multichannel audio, PlugPlayer gives error 8 (http://plugplayer.com/forum/viewtopic.php?f=6&t=862).
Title: foo_upnp
Post by: matt_henry on 2012-04-21 16:45:58
I'm now using BubbleUPnP with its server and it's working good, I dumped UPnPlay, since it isn't working anymore - for whatever reason..


It should be fixed in 0.99.39. Although with BubbleUPnP Server you have other advantages like improved security (https) and reduced bandwidth usage (compression).


Well... after I wrote this morning that everything is working fine I went outside and wanted to connect to foobar again, like I did yesterday afternoon, but I simply can't see the Media Server. I can connect to BubbleUPnP Server but there is no device to browse.
When I use BubbleUPnP in my LAN everything is working.

I found that the foobar Media Server is not listed on the configuration page of BubbleUPnP Server. I can access it from my Droid via LAN though... any suggestions? :/

Ok.. just forget what I posted... after a windows reboot everthing is back to normal -.-

Thanks
Title: foo_upnp
Post by: NEOhidra on 2012-04-21 18:25:13
Am i the only one who gets
Quote
Error connecting to remote network Home: The remote server could be joined but failed authentication. Check that your login and password are correct
using fb2k 1.1.12 beta3 and foo_upnp 0.99.39 when tempt to connect with BubleUPnP?

EDIT: foo_upnp.xml was deleted but still cannot login outside my home wifi network
Title: foo_upnp
Post by: bubbleguuum on 2012-04-21 18:49:26
Am i the only one who gets
Quote
Error connecting to remote network Home: The remote server could be joined but failed authentication. Check that your login and password are correct
using fb2k 1.1.12 beta3 and foo_upnp 0.99.39 when tempt to connect with BubleUPnP?

EDIT: foo_upnp.xml was deleted but still cannot login outside my home wifi network


You ***** CANNOT ******* connect to foo_upnp with Android BubbleUPnP (for Internet Streaming, not LAN streaming of course).
Android BubbleUPnP *** ONLY *** connects to BubbleUPnP Server (http://bubbleguuum.free.fr/upnpserver). See this recent post:

http://www.hydrogenaudio.org/forums/index....st&p=793087 (http://www.hydrogenaudio.org/forums/index.php?showtopic=69664&view=findpost&p=793087)

Ah and sorry for the caps =).
Title: foo_upnp
Post by: NEOhidra on 2012-04-21 19:34:20
You ***** CANNOT ******* connect to foo_upnp with Android BubbleUPnP (for Internet Streaming, not LAN streaming of course).
Android BubbleUPnP *** ONLY *** connects to BubbleUPnP Server (http://bubbleguuum.free.fr/upnpserver).


I wasn't aware of that because i used UPnPlay before and it was working - any chance to allow external connections again? I liked foo_upnp because i need no other program in order to stream my collection. For https i understand but what about those who can/will go without it and do not want to run additional apps and services? Please!

I hope you will change your ming and there wont be a need to wont fulfill my next wish - change the text in foo_upnp > Internet Access that states: "can be accessed from any browser or player using this URL:"
Title: foo_upnp
Post by: lilsy on 2012-04-21 22:22:28
Hiya!

Here's my setup:

> foobar 1.1.11 and foo_unp 0.99.39 on my computer, outputting music to my receiver. Just using the default playlist, no media library.

> foobar 1.1.11 and foo_unp 0.99.39 on my netbook, using the foo_unp upnp controller.


Here's my problem:

As long as I start playback on the computer, I can see the currently playing track via the netbook. I can pause and unpause the track, and even skip around backwards and forwards on the track.

However, I cannot skip to the next or previous track -- in the console log, it shows a "stop" command being sent. Once stopped, I cannot play remotely from the netbook, I must go back to the computer and press play.

Pressing "play", "stop", "next" and "previous" all send the dreaded "stop" command that prevents me from being able to play via the netbook.  Pressing the "playlist" button does nothing, and no command is logged on the computer side.

What am I doing wrong?
Title: foo_upnp
Post by: Tominthevan on 2012-04-22 00:10:58
Foo_upnp won't seem to use by streaming profile. I get the following in the console log:

Code: [Select]
foo_upnp: 593.593329: FbMediaServer::CheckAuthentication(362)/3296: INFO: received LAN request: [url=http://192.168.2.10:56923/content/e153d8630a8d1a06316b0670ae6809f4.wav?profile_id=0&amp;convert=wav]http://192.168.2.10:56923/content/e153d863...amp;convert=wav[/url] (User-Agent: WinampMPEG/2.8)
foo_upnp: 593.593329: PLT_HttpHelper::ToLog(481)/3296: INFO: FbMediaServer::ProcessFileRequest
GET /content/e153d8630a8d1a06316b0670ae6809f4.wav?profile_id=0&amp;convert=wav HTTP/1.1
Host: 192.168.2.10:56923
Icy-MetaData: 1
Connection: close
transferMode.dlna.org: Streaming
User-Agent: WinampMPEG/2.8
Accept: */*
foo_upnp: 593.593329: upnp_server_conf::get_profile(832)/3296: INFO: using profile 'PPPP', matching header (User-Agent:WinampMPEG/2.8)
foo_upnp: opened 'file://G:\Bigbopaloola\000test\05 Vendendo Saude & FeMod.mp3' for streaming, profile: Default, WAV / 44100 Hz / 16 bits / 2 channels, replaygain: on, DSP chain: off
foo_upnp: 593.593454: RendererController::OnActionResponse(127)/5416: INFO: <<<< X-SMC3/4: RET Play: res = 0
foo_upnp: 593.593547: RendererController::InvokeAction(88)/5092: INFO: >>>> CALL GetTransportInfo
foo_upnp: 593.593766: RendererController::OnActionResponse(127)/5944: INFO: <<<< X-SMC3/4: RET GetTransportInfo: res = 0
...
It seems to match the header for selection of my media renderer's profile (PPPP) and then in the next console log line shows that it proceeds to process the file according to the default profile.

Do I not understand how this is supposed to work, or is there a problem (mine or a bug)?

BTw: The option to always use the default profile is unchecked.
Title: foo_upnp
Post by: bubbleguuum on 2012-04-22 10:57:50
What am I doing wrong?


The UPnP Controller controls playback (track advance) from the UPnP Controller Playback Queue. It is not meant to control playback of the current playlist in the remote renderer foobar instance.
Title: foo_upnp
Post by: bubbleguuum on 2012-04-22 11:01:13
Foo_upnp won't seem to use by streaming profile. I get the following in the console log:


What client did you use for browsing the server ?
Title: foo_upnp
Post by: lucidanime on 2012-04-22 11:14:34
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 (http://pastebin.com/8qhMBAWn)



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


I have a Samsung UE37D5000 TV, and I'm trying to play music from my foobar library on it via your uPnP plugin, which as I understand is still a work in progress. The logs above were me trying to play one of my playlists, in which all the content & tags were read correctly, but the files don't play, yet also don't error. It seems like the user agent is changing as soon as the file starts playing, so I thought the logs from that might help.

In the mean time, I've gotten your newest update, and while it's still doing the same thing of changing user agent on playback, I know here the occasional second of music from songs before the TV skips to the next one, and the FINER logs tell me that there's a HTTP 416 error, the requested range is invalid. And the range is set to bytes=32768-. Really want to see this working on Samsung TV's, itching to stream my FLAC library to it, so if I can be of any help, I hope to try

Here's two logs for me trying to stream a short playlist of mine to the TV btw.

Info Level: http://pastebin.com/w1AtuQEF (http://pastebin.com/w1AtuQEF)
Finer Level: http://pastebin.com/ubv6gRzG (http://pastebin.com/ubv6gRzG)
Title: foo_upnp
Post by: bubbleguuum on 2012-04-22 11:28:05
In the mean time, I've gotten your newest update, and while it's still doing the same thing of changing user agent on playback, I know here the occasional second of music from songs before the TV skips to the next one, and the FINER logs tell me that there's a HTTP 416 error, the requested range is invalid. And the range is set to bytes=32768-. Really want to see this working on Samsung TV's, itching to stream my FLAC library to it, so if I can be of any help, I hope to try


Yes it fails on this range request in the LPCM Stream (there's no reason for making a range request, yet it does).
Transcoded streams are not seekable thus this request fails.

You may want to try WAV instead of LPCM. But it is not guaranteed this TV supports WAV
as it is not a DLNA mandatory codec (unlike LPCM).
Title: foo_upnp
Post by: lucidanime on 2012-04-22 11:38:33
In the mean time, I've gotten your newest update, and while it's still doing the same thing of changing user agent on playback, I know here the occasional second of music from songs before the TV skips to the next one, and the FINER logs tell me that there's a HTTP 416 error, the requested range is invalid. And the range is set to bytes=32768-. Really want to see this working on Samsung TV's, itching to stream my FLAC library to it, so if I can be of any help, I hope to try


Yes it fails on this range request in the LPCM Stream (there's no reason for making a range request, yet it does).
Transcoded streams are not seekable thus this request fails.

You may want to try WAV instead of LPCM. But it is not guaranteed this TV supports WAV
as it is not a DLNA mandatory codec (unlike LPCM).


I tried having the server force all clients to use the default profile, and set that profile to WAV, but no dice, the TV is still trying to connect using LPCM
Title: foo_upnp
Post by: bubbleguuum on 2012-04-22 11:47:31
I tried having the server force all clients to use the default profile, and set that profile to WAV, but no dice, the TV is still trying to connect using LPCM


Yes my bad. From the log it seems that out of the 3 streams URLs exposed by foo_upnp for your .m4a file (in order: the profile URL, a WAV 44.1/16 URL, a LPCM 44.1 URL), the TV
pick up the LPCM URL which shows that it doesn't support WAV.

EDIT: I suspect that at least mp3 should play. Can you verify that ?
Title: foo_upnp
Post by: lucidanime on 2012-04-22 12:35:41
I tried having the server force all clients to use the default profile, and set that profile to WAV, but no dice, the TV is still trying to connect using LPCM


Yes my bad. From the log it seems that out of the 3 streams URLs exposed by foo_upnp for your .m4a file (in order: the profile URL, a WAV 44.1/16 URL, a LPCM 44.1 URL), the TV
pick up the LPCM URL which shows that it doesn't support WAV.

EDIT: I suspect that at least mp3 should play. Can you verify that ?


Yeah, mp3 plays straight away
Title: foo_upnp
Post by: alkasar on 2012-04-22 13:25:43
bonjour bubbleguuum,

Is it possible to change the name of the playlist "Upnp Controller Playback Queue" ?
I use Tab playlist and this is a very loooooong name

hope it's a setting available in an xml file somewhere.
Title: foo_upnp
Post by: Tominthevan on 2012-04-22 14:51:29
Foo_upnp won't seem to use by streaming profile. I get the following in the console log:


What client did you use for browsing the server ?

I am using the Pioneer X-SMC3 audio appliance. I'm not sure if it's relevant but I get the same result if I use the UPNP Controller in foo_upnp.
Title: foo_upnp
Post by: psme on 2012-04-23 02:38:25
also, a minor issue, the latest foobar2000 1.1.11 seems changed the default component/plugin file extension. So, by default, the component installation page does not show any .dll file. I need to manually put a * in the filename field to select foo_upnp.dll
Title: foo_upnp
Post by: psme on 2012-04-23 03:15:50
also, maybe it's OT. I just tried BubbleUPnP server on the same PC as my foobar2000 upnp server, to expose the upnp server for remote streaming. And use a Android phone with BubbleUPnP app to access the BubbleUPnP server. Browsing and streaming all work great.

But, I have my foobar2000 server name in Japanese. When viewing through android app (also from other remote controller using the app's "Advertise on LAN" function), it shows my foobar2000 server name in garbage character! I'm not sure the problem is on BubbleUPnP server or the app...
Title: foo_upnp
Post by: Snowknight26 on 2012-04-24 22:47:27
foo_upnp seems to serve up old/cached playlists, even when a UPnP client specifically asks for an updated version. For example, when BubbleUPnP for Android connects to BubbleUPnP server (used in conjunction with foo_upnp), restarting either the client or the server doesn't fix the issue. Restarting foo_upnp's media server is the only way for the correct playlist to be shown.

INFO level log: http://pastebin.com/raw.php?i=A7s7eP5j (http://pastebin.com/raw.php?i=A7s7eP5j)
Title: foo_upnp
Post by: MrEnergizer on 2012-04-26 11:52:30
Been using foobar for about 9 years.  Not posted on this forum for a few years but had to log in and say thanks for this plug in.......it was exactly what I needed.  So many option and the fact it is so customizable and allows use of foobars dsp chain is amazing.
Keep up the good work.
Title: foo_upnp
Post by: Annie on 2012-04-26 12:51:51
I asked about this in the TVersity forum as well, I hope someone can help me out. Thanks for reading anyway!

When I try to play songs from the Foobar2000 1.1.11 playlist that were added with the UPnP browser from my local TVersity 1.9.7 server, errors are generated and the songs won't play. This goes on until every song in the playlist generated an error. The errors look like this:

Unable to open item for playback (Reported file timestamp changed):
"http://192.168.1.75:41952/getres/38751/16+ganymed+stand+by+your+love.mp3.mp3.mp3"

Unable to open item for playback (Reported file timestamp changed):
"http://192.168.1.75:41952/getres/38752/17+ganymed+dancing+in+a+disco.mp3.mp3.mp3"

Now when I put the song's address (e.g. http://192.168.1.75:41952/getres/38752/17+...co.mp3.mp3.mp3) (http://192.168.1.75:41952/getres/38752/17+ganymed+dancing+in+a+disco.mp3.mp3.mp3)) into Windows Media Player 12, the songs plays normal. When added to Foobar2000 with "add location" it also generates an error like stated above. I have to say that Foobar2000 with the foo_upnp plugin is the only player that gives errors with TVersity. Every music file of the TVersity server plays well by using a Roberts stream83i radio or my android phone with BubbleUPnP or Plugplayer. Strange thing is that songs that I add to Foobar2000 with the UPnP browser from Twonkyserver 6.0 are playing OK. Does someone have a clue how to get rid of these timestamp errors?? Maybe there is a way to disable timestamp checking?

Thanks for your time!

kind regards,

André
Title: foo_upnp
Post by: Annie on 2012-04-26 18:23:29
I asked about this in the TVersity forum as well, I hope someone can help me out. Thanks for reading anyway!

When I try to play songs from the Foobar2000 1.1.11 playlist that were added with the UPnP browser from my local TVersity 1.9.7 server, errors are generated and the songs won't play. This goes on until every song in the playlist generated an error. The errors look like this:

Unable to open item for playback (Reported file timestamp changed):
"http://192.168.1.75:41952/getres/38751/16+ganymed+stand+by+your+love.mp3.mp3.mp3"

Unable to open item for playback (Reported file timestamp changed):
"http://192.168.1.75:41952/getres/38752/17+ganymed+dancing+in+a+disco.mp3.mp3.mp3"

Now when I put the song's address (e.g. http://192.168.1.75:41952/getres/38752/17+...co.mp3.mp3.mp3) (http://192.168.1.75:41952/getres/38752/17+ganymed+dancing+in+a+disco.mp3.mp3.mp3)) into Windows Media Player 12, the songs plays normal. When added to Foobar2000 with "add location" it also generates an error like stated above. I have to say that Foobar2000 with the foo_upnp plugin is the only player that gives errors with TVersity. Every music file of the TVersity server plays well by using a Roberts stream83i radio or my android phone with BubbleUPnP or Plugplayer. Strange thing is that songs that I add to Foobar2000 with the UPnP browser from Twonkyserver 6.0 are playing OK. Does someone have a clue how to get rid of these timestamp errors?? Maybe there is a way to disable timestamp checking?

Thanks for your time!

kind regards,

André



I gave up and just bought TwonkySpecial 7.0.7 for the amount of € 7,50........ works GREAT with Foobar2000 and foo_upnp!
Title: foo_upnp
Post by: guysivey on 2012-04-26 18:29:51
Love foobar, love foo_upnp, especially how configurable it is, hierarchy, transcoding etc. Only problem is my generic upnp player (Cobra CIR 1000 internet radio) doesn't seem to get on with the server. At the end of the first track in an album it stops and won't play any more. Doesn't matter whether it is transcoding or streaming mp3. Other players (h/w or s/w) don't have this problem. Any suggestions out there?

w7  x64
foobar2k v1.1.6
foo_upnp downloaded yesterday, whatever version that is (21/4/12?)


Cheers,
Guy
Title: foo_upnp
Post by: Annie on 2012-04-28 14:07:25
Thank you for this wonderful plugin! Want to ask one more question about it: Is it possible to view individual tracks contained by a node in the UPnP browser tree? What I am missing is a
Title: foo_upnp
Post by: kdubious on 2012-05-09 06:29:03
I'm trying to "remote control" an instance of foobar2000. It seems that the device acting as the remote (a Windows Phone in this example) is "read" by foobar_upnp in foobar2000, and the profile is selected based on that remote. So, in my case, the Windows Phone gets treated as a member of the "Default" Streaming Profile, even though playback is happening on the instance of foobar2000 itself.

Is this expected behavior?

My real question is this: If I only want to remote control an instance of foobar2000, and have it play the local files, will foo_upnp work for that? When I start playback, I see that the track is actually playiong from an http address. Is there anyway to have it play the local file, similar to clikcing "Play" on the foobar2000 instance itself?

Thanks, and thanks for the effort hat went in to this component!
Title: foo_upnp
Post by: kdubious on 2012-05-09 06:48:03
Also, It seems that the tracks are sorted by Name, and not Track Number, when sent to the client? Is that the case... or is my client doing that? (Using AllShare)
Title: foo_upnp
Post by: isawdrones on 2012-05-10 15:57:58
Hello, I'm trying to connect Foobar to a remote BubbleUPnP server and it fails from multiple machines. This remote server works just fine from the Android BubbleUPnP app, and I have verified through a web browser that I can hit the remote host and log in.

I get the following in the Foobar debug log when attempting to add the remote server through the UPnP browser:

Code: [Select]
foo_upnp: 367.367934: PLT_CtrlPoint::InspectDevice(1195)/9372: INFO: New device "93e41c6e-2091-1b9b-36bc-7ce94edc677e" detected @ https://HIDDEN/DeviceDescription.xml
foo_upnp: 368.368531: PLT_CtrlPoint::ProcessGetDescriptionResponse(1337)/9372: SEVERE: Bad Description response for device "93e41c6e-2091-1b9b-36bc-7ce94edc677e":
foo_upnp: 368.368531: PLT_CtrlPoint::CleanupDevice(1089)/9372: INFO: Removing 93e41c6e-2091-1b9b-36bc-7ce94edc677e from device list


Any help please?
Title: foo_upnp
Post by: bubbleguuum on 2012-05-10 18:07:12
Hello, I'm trying to connect Foobar to a remote BubbleUPnP server and it fails from multiple machines. This remote server works just fine from the Android BubbleUPnP app, and I have verified through a web browser that I can hit the remote host and log in.



Thank you for reporting this issue that I introduced in 0.99.39. It is now fixed in the just released 0.99.40 (http://www.foobar2000.org/components/view/foo_upnp):

0.99.40

Title: foo_upnp
Post by: bubbleguuum on 2012-05-10 18:15:23
foo_upnp seems to serve up old/cached playlists, even when a UPnP client specifically asks for an updated version. For example, when BubbleUPnP for Android connects to BubbleUPnP server (used in conjunction with foo_upnp), restarting either the client or the server doesn't fix the issue. Restarting foo_upnp's media server is the only way for the correct playlist to be shown.


Known limitation of foo_upnp which is not fixable without nearly a full rewrite of the server, which will not happen.
Title: foo_upnp
Post by: bubbleguuum on 2012-05-10 18:19:27
also, a minor issue, the latest foobar2000 1.1.11 seems changed the default component/plugin file extension. So, by default, the component installation page does not show any .dll file. I need to manually put a * in the filename field to select foo_upnp.dll



Donwload link on first post of this topic points to a zip file now
Title: foo_upnp
Post by: bubbleguuum on 2012-05-10 18:27:49
Thank you for this wonderful plugin! Want to ask one more question about it: Is it possible to view individual tracks contained by a node in the UPnP browser tree? What I am missing is a
  • sign in front of a node/album/folder. If this is possible, one could easily add single tracks to a playlist. I also have some folders that contain several hundreds of tracks, I really would like to be able to "click them open" when browsing by folder and add individual tracks to the playlist.

    Thanks for all the effort you put in this plugin, it is great to have the possibility to connect everything with UPnP here at home!


The default behaviour when you click a node that contains tracks in the UPnP browser tree is to send those tracks to the "UPnP Browser selection" playlist.
From which you can select tracks for playing on enqueing to any renderer either with :

- context menu > UPnP Controller > Play on.... (or Enqueue on...)
- drag'n'drop selected tracks on the UPnP Controller panel (for immediate play on the active renderer) or drag'n'drop + holding SHIFT for enqueuing

Or you can drag'n'drop selected tracks to any playlist for local playback
Title: foo_upnp
Post by: isawdrones on 2012-05-10 18:30:26
Thank you for reporting this issue that I introduced in 0.99.39. It is now fixed in the just released 0.99.40 (http://www.foobar2000.org/components/view/foo_upnp):

0.99.40

  • (regression): fixed "View > Add remote Internet UPnP Server..." not connecting to BubbleUPnP Server since 0.99.39
  • server: faster to return folders containing mp3s. Mostly noticeable on huge playlists.



Thanks, this fixed my issue.
Title: foo_upnp
Post by: bubbleguuum on 2012-05-10 18:37:47
I'm trying to "remote control" an instance of foobar2000. It seems that the device acting as the remote (a Windows Phone in this example) is "read" by foobar_upnp in foobar2000, and the profile is selected based on that remote. So, in my case, the Windows Phone gets treated as a member of the "Default" Streaming Profile, even though playback is happening on the instance of foobar2000 itself.

Is this expected behavior?


Yes it is expected. foo_upnp cannot know which is the target renderer of your Windows Phone Control Point app. It could be the phone itself (for Control Points that are also renderers) or anything else. If you only ever control foobar2000, it is safe to copy the foobar2000 profile settings in the Default profile.

Quote
My real question is this: If I only want to remote control an instance of foobar2000, and have it play the local files, will foo_upnp work for that? When I start playback, I see that the track is actually playiong from an http address. Is there anyway to have it play the local file, similar to clikcing "Play" on the foobar2000 instance itself?


It is similar in the sense foobar2000 core decodes the http stream served by foo_upnp which if no transcoding or conversion to PCM happens, is the original file.
Title: foo_upnp
Post by: bubbleguuum on 2012-05-10 18:42:15
Also, It seems that the tracks are sorted by Name, and not Track Number, when sent to the client? Is that the case... or is my client doing that? (Using AllShare)


Do you mean browsing foo_upnp server from AllShare or browsing AllShare with the UPnP Browser ?
Title: foo_upnp
Post by: GiantSteps on 2012-05-13 23:53:59
I am attempting to use Foobar running on my desktop PC to send music to PlugPlayer on my iPad which in turn is feeding my DAC/preamp.  As far as I can tell there are no configurable settings for the upnp controller in foobar so I am puzzled as to why PlugPlayer does not show up in Foobar as a renderer.  There must be something obvious I am overlooking but I have checked all the settings I can find.

My setup is windows 7 (firewall off) running foobar2000 as a server, files on a NAS drive and an iPad connected to the wifi network.  The PlugPlayer renderer on the iPad has the "Allow UPnP Control" set to ON.




Title: foo_upnp
Post by: HellMind on 2012-05-15 07:17:12
How can I use foobar2000 as client of another foobar with foo_upnp plugin?
Title: foo_upnp
Post by: bubbleguuum on 2012-05-15 12:19:48
I am attempting to use Foobar running on my desktop PC to send music to PlugPlayer on my iPad which in turn is feeding my DAC/preamp.  As far as I can tell there are no configurable settings for the upnp controller in foobar so I am puzzled as to why PlugPlayer does not show up in Foobar as a renderer.  There must be something obvious I am overlooking but I have checked all the settings I can find.

My setup is windows 7 (firewall off) running foobar2000 as a server, files on a NAS drive and an iPad connected to the wifi network.  The PlugPlayer renderer on the iPad has the "Allow UPnP Control" set to ON.


Difficult to say what happens here. Does the PP renderer appears in WMP "Play to" menu ?
Title: foo_upnp
Post by: bubbleguuum on 2012-05-15 12:21:20
How can I use foobar2000 as client of another foobar with foo_upnp plugin?


Use the UPnP Browser on the client (View > UPnP Browser for standalone window, or add it to your layout as a DUI Element).
Title: foo_upnp
Post by: kdubious on 2012-05-15 15:35:49
Also, It seems that the tracks are sorted by Name, and not Track Number, when sent to the client? Is that the case... or is my client doing that? (Using AllShare)


Do you mean browsing foo_upnp server from AllShare or browsing AllShare with the UPnP Browser ?

It seems that browsing the foo_upnp server from _any_ client on my Windows Phone shows the tracks in alphabetical order, and not in "track" order. I'd rather not have to name tracks with "01 - Name."

Is this a client issue? Something you can address in foo_upnp?
Title: foo_upnp
Post by: bubbleguuum on 2012-05-15 16:08:27
Also, It seems that the tracks are sorted by Name, and not Track Number, when sent to the client? Is that the case... or is my client doing that? (Using AllShare)


Do you mean browsing foo_upnp server from AllShare or browsing AllShare with the UPnP Browser ?

It seems that browsing the foo_upnp server from _any_ client on my Windows Phone shows the tracks in alphabetical order, and not in "track" order. I'd rather not have to name tracks with "01 - Name."

Is this a client issue? Something you can address in foo_upnp?


Do your files have the "track number" tag set ? If not, there is no way the server can return them in track order.
Title: foo_upnp
Post by: GiantSteps on 2012-05-16 00:00:01
I am attempting to use Foobar running on my desktop PC to send music to PlugPlayer on my iPad which in turn is feeding my DAC/preamp.  As far as I can tell there are no configurable settings for the upnp controller in foobar so I am puzzled as to why PlugPlayer does not show up in Foobar as a renderer.  There must be something obvious I am overlooking but I have checked all the settings I can find.

My setup is windows 7 (firewall off) running foobar2000 as a server, files on a NAS drive and an iPad connected to the wifi network.  The PlugPlayer renderer on the iPad has the "Allow UPnP Control" set to ON.


Difficult to say what happens here. Does the PP renderer appears in WMP "Play to" menu ?


Bubbleguum thanks for the reply.  No the PP renderer is not listed in the Play to menu of WMP.  I have also noticed that PlugPlayer does show foobar and Roku as renderers.
Title: foo_upnp
Post by: psme on 2012-05-16 10:55:21
hi bubbleguuum,

Just found that, even though I disabled ALL transcoding options in foo_upnp, foo_upnp will ALWAYS give out 3 URLs for each song. The first URL point to the original song file in native format. The second URL gives a transcoded version in WAV in 44.1kHz. And the third URL is transcoded in LPCM in 44.1kHz. The 2 unwanted transcoding URLs work if I open them in a web browser.

I understand some users may want a "auto fallback" mode if their renderer does not support some native song formats. If so then the foo_upnp should have a "fallback to transcode if needed" mode, which a user can use if needed.

I only want native playback, and I turned OFF all transcoding options in foo_upnp. Should foo_upnp NOT giving out the 2 functioning URLs in transcoding format?

Thanks in advance.
Title: foo_upnp
Post by: bubbleguuum on 2012-05-16 11:33:00
The 2 added URLs are there to address the problem of the streaming profile concept not working too well in the scenario of
using a Control Point (CP) to control multiple renderers, the CP possibly being a renderer itself. These added URLs will ensure that *something* will play
if the target renderer in the CP is not the same renderer than the foo_upnp streaming profile associated with this CP, as virtually any renderer is able to play either WAV/44.1/16 or LPCM/44.1/16

The CP *will* pick up the first URL (which correspond to the specification of the streaming profile) if it determines that it is compatible
with the target renderer (mostly a mime-type match).

So the 2 added URL will not be getting in the way. Suppose you want to play your awesome super hi-res 192Khz FLACs to foobar2000 unmodified.
In your CP, if foobar2000 is selected as a renderer, unmodified FLAC will be played if the streaming profile for that CP is setup to do so, because the CP
will have determined that foobar2000 is able to play FLAC.

Now suppose you play the same file to WMP. the CP will determine WMP cannot play flac and will pick the LPCM URL. Without this, it would not be possible to play this file to WMP. It also applies if the CP is also a renderer able to play locally (very common on Android, iOS but limlited to 44.1Khz and a few common formats like mp3 and wav).

Now you are going to tell me: "I don't care about WMP or playing locally, there's only foobar2000 in my world". Great, but the world is a bigger place

I would scrap the streaming profile entirely if it was acceptable to stream anything to 44.1/16.
Title: foo_upnp
Post by: psme on 2012-05-16 15:37:44
Now you are going to tell me: "I don't care about WMP or playing locally, there's only foobar2000 in my world". Great, but the world is a bigger place

I would scrap the streaming profile entirely if it was acceptable to stream anything to 44.1/16.


of course not!  that's why I already said I understand the need for a "auto fallback transcoding" feature, when the function is needed, as you described.

I'm asking, if possible, make this "auto fallback transcoding" be a user setting, and it can certainly be enabled by default. But when I think I know what I'm doing, which is to make sure ALL transcoding is OFF, I want to make sure. In my case, if someone try to stream my foobar server to their crappy WMP, it should fail, according to my foo_upnp configuration!
Title: foo_upnp
Post by: HellMind on 2012-05-18 06:15:45
How can I use foobar2000 as client of another foobar with foo_upnp plugin?


Use the UPnP Browser on the client (View > UPnP Browser for standalone window, or add it to your layout as a DUI Element).

I got a crash when I click play.
Should I dot something before?
Title: foo_upnp
Post by: marklima on 2012-05-18 12:19:37
Anybody knows about the compatibility of this plugin with whs 2011? I installed it, but the server doesn't happen to appear on my Oppo bdp-93.
Title: foo_upnp
Post by: HellMind on 2012-05-18 20:02:51
How can I use foobar2000 as client of another foobar with foo_upnp plugin?


Use the UPnP Browser on the client (View > UPnP Browser for standalone window, or add it to your layout as a DUI Element).

I got a crash when I click play.
Should I dot something before?

IT seem the client crash when the sources are unavailable in the server browser
Title: foo_upnp
Post by: jacobacci on 2012-05-19 12:50:45
Hi Bubblegum
I am using the folling setup:
- UPnP Renderer: Foobar 2000 1.1.11 with foo-upnp 0.99.40
- Kinsky UPnP Control Point 4.2.4 (Davaar) on iPad
- Synology Media Server 1.0-2201 as DLNA Server
(hope my terminology is correct).
I am able to chose 'foobar2000 Renderer' as a room in Kinsky. I can browse albums on the Synology in Kinsky. I can select albums with 'Play now' and they play on foobar. so far so good.
However the following in not working:
- When I press 'skip next' to go to the next track, I can go to the next track, but the next after that does not work. foobar goes silent and shows 'Playback stopped' in the status bar
- If I exit Kinsky and restart it on the iPad, playback works again in foobar
- I am able to select another track in the playlist in Kinsky and it will play. However the now playing icon (top left in Kinsky) does not change. Also Kinsky keeps displaying a rotating icon (as if it were unable to communicate with foobar) in the progress circle.

Is what I am trying to do a setup that foo_upnp was designed to support? Or am I off the beaten track here?

By the way, doing the same sort of thing using BubbleUPnP on my Android Phone instead of Kinsky on the iPad, seems to work perfectly.

Thanks and regards
Rudi
Title: foo_upnp
Post by: GiantSteps on 2012-05-19 15:54:05
I am attempting to use Foobar running on my desktop PC to send music to PlugPlayer on my iPad which in turn is feeding my DAC/preamp.  As far as I can tell there are no configurable settings for the upnp controller in foobar so I am puzzled as to why PlugPlayer does not show up in Foobar as a renderer.  There must be something obvious I am overlooking but I have checked all the settings I can find.

My setup is windows 7 (firewall off) running foobar2000 as a server, files on a NAS drive and an iPad connected to the wifi network.  The PlugPlayer renderer on the iPad has the "Allow UPnP Control" set to ON.


Difficult to say what happens here. Does the PP renderer appears in WMP "Play to" menu ?


Bubbleguum thanks for the reply.  No the PP renderer is not listed in the Play to menu of WMP.  I have also noticed that PlugPlayer does show foobar and Roku as renderers.


Any other thoughts on what I might try to resolve this issue?  Thanks.
Title: foo_upnp
Post by: niche2000 on 2012-05-24 11:05:44
Hello Bubble,

i cannot post anymore on XDA forums (i don't know why) so here I am.

I notices a strange beahviour using the latest foo_upnp (0.99.40).
When i'm using the secure port (443) to connect to my bubble upnp server, i can connect to it and browse my music library, but i cannot stream anything.
When I forward the unsecure port (80) on my router, then i'm able to stream the music.

It seems that foo_upnp is given the unsecure path to acces to a file, and because i'm not forwarding the unsecure port, it can't play the files.
If i want to stream the music i must forward both ports, then the secure connection becomes useless.

It would be nice if foo_upnp could stream on a secure connection as well (if it's possible, but following your documentation thats the goal of your latest releases)

I hope I was clear, sorry for my poor english.

niche2000
Title: foo_upnp
Post by: bubbleguuum on 2012-05-24 11:16:03
@niche2000

BubbleUPnP Server documentation states that the https connection is used only for connecting and browsing the server (everything except stream requests).
Streaming still uses regular http, that's why both http and https ports must be opened. Streaming has to be done over plain unauthenticated http
for compatibility reasons notably with Android (and I'm not even sure foobar2000 support playing audio over https). The fact that audio stream http requests are unauthenticated is not an issue since these stream urls cannot be found other than browsing the server (and these
requests are authenticated *and* crypted if using https). They also cannot be forged or guessed.
Title: foo_upnp
Post by: niche2000 on 2012-05-24 13:33:57
@niche2000

BubbleUPnP Server documentation states that the https connection is used only for connecting and browsing the server (everything except stream requests).
Streaming still uses regular http, that's why both http and https ports must be opened. Streaming has to be done over plain unauthenticated http
for compatibility reasons notably with Android (and I'm not even sure foobar2000 support playing audio over https). The fact that audio stream http requests are unauthenticated is not an issue since these stream urls cannot be found other than browsing the server (and these
requests are authenticated *and* crypted if using https). They also cannot be forged or guessed.


Thanks for the reply, now it is clear for me, I just misunderstood the documentation.
Title: foo_upnp
Post by: klexxy on 2012-05-29 16:21:30
I'm planning to set up a media system on my local network using foobar and foo_upnp for centralized flac playback/streaming.

At the moment, i'm not abled to test the following things because i'm mac os only at my house right now.

A few of the most important things for me are playcounts, ratings and the ability to scrobble the played tracks to last.fm. If I play a stream on a client, the playcount and rating should be updated on the server and the track should get scrobbled to last.fm.

Those features should be available by using the plugins foo_upnp (FLAC-stream to the clients), foo_playcount / foo_audioscrobbler (playcount, rating / scrobble to last.fm).

There are some questions I couldn't find the answers to by researching by myself:

(1) If I run foobar with the plugins mentioned above on a server, do I have to install those plugins on the clients as well (except for foo_upnp)?
(2) Will foo_upnp be abled to update the server libraries playcounts and ratings of tracks (track streams) played by a client and will those tracks be scrobbled?
(3) Will foo_upnp provide the whole library and playlists from the server to the clients or do I have to sync them manually?
(4) Is it possible to tag FLAC-files on the server from a client or do I have to do this directly on the server?
Title: foo_upnp
Post by: bubbleguuum on 2012-05-29 19:55:37
(1) If I run foobar with the plugins mentioned above on a server, do I have to install those plugins on the clients as well (except for foo_upnp)?
(2) Will foo_upnp be abled to update the server libraries playcounts and ratings of tracks (track streams) played by a client and will those tracks be scrobbled?
(3) Will foo_upnp provide the whole library and playlists from the server to the clients or do I have to sync them manually?
(4) Is it possible to tag FLAC-files on the server from a client or do I have to do this directly on the server?


(1) No need to install plugins except the additional decoder plugins you'd need if they are not included
(2) Yes for playcounts although the rules for playcount to increase are different than regular file playback (server must have streamed 100% for count to increase).
Scrobbling is not supported at all.
(3) it provides both but the server must be restarted when playlists or Media Library content changes
(4) on the server
Title: foo_upnp
Post by: MordredKLB on 2012-05-30 21:54:15
I'm guessing the answer is no, but is there any way to fetch album art when listening to a playback stream?
Title: foo_upnp
Post by: sm;)e on 2012-05-30 23:08:08
The uPNP media client embedded with some tuxbox / neutrino (dbox2) setups seems to connect from port 1024 (more often than not), so a [font= "Courier New"]M-SEARCH[/font] request fails due to the following part of code in Platinum's [font= "Courier New"]PltDeviceHost.cpp[/font], as it is used in this [font= "Comic Sans MS"]foo_upnp[/font] plugin:

Code: [Select]
        // DLNA 7.2.3.5 support
-       if (remote_port <= 1024 || remote_port == 1900) {
+       if (remote_port < 1024 || remote_port == 1900) {
            NPT_LOG_INFO_2("Ignoring M-SEARCH from %s:%d (invalid source port)",
                (const char*) ip_address,
                remote_port);
            return NPT_FAILURE;


[Cf. my report (http://sourceforge.net/projects/platinum/forums/forum/568176/topic/5258748/index/page/1) of the issue on Platinum's sf.net project page.]
Title: foo_upnp
Post by: bubbleguuum on 2012-05-31 09:18:26
I'm guessing the answer is no, but is there any way to fetch album art when listening to a playback stream?


no
Title: foo_upnp
Post by: bubbleguuum on 2012-05-31 09:19:15
@sm;)e:  ok, thanks for letting me know
Title: foo_upnp
Post by: kumbbl on 2012-06-02 17:34:18
sorry, some failure has occured - this has doubled my posting - deleted now.
Title: foo_upnp
Post by: kumbbl on 2012-06-02 17:37:12
First of all two important things:
- Thanks for this great plugin and for your hard work!
- Please excuse if there is already an answer to my question but i have searched quite 50% of this huge Thread and haven't found one...

So, here is my problem:

I'm using latest foobar, latest UPNP-Plugin (this one), latest Linn Kinsky App for iPad... foobar is running on a laptop which is connected via USB to a DAC.. the iPad is just for remote controlling
I have activated ReplayGain in the default Streaming Profile of the UPNP-Plugin; this profile seems to be used with Kinsky because this ReplayGain-setting takes audible effekt.

All is working fine, really a great plugin, and it works also like a charm with Kinsky, but i have one problem:
Playback stops after the current track in the controller-playlist (Kinsky) ends. I think that playback should walk sequentially through the current playlist in the Kinsky app but it doesn't: it stops always after finishing the current played track.
BTW: Same problem, if i use another foobar to remote controle the mentioned Foobar-Server: if i chose an album from the UPNP-browser-window then playback stops after finishing the first played track.

Is my problem description understandable for you and if yes, can anybody help me? because stopping playback after each track makes the whole setup quite useless... :-(

Thanks in advance for your help!

BTW: is there a documentation somewhere about the sections "Renderer Capabilities", "Decoding to PCM" and "use profile when" in the tab "Streaming profiles of the Preferences? what does all this mean and when and how does it takes effect and what is the purpose? Can the settings be related to my problem decsribed above?
Title: foo_upnp
Post by: bubbleguuum on 2012-06-03 17:22:09
All is working fine, really a great plugin, and it works also like a charm with Kinsky, but i have one problem:
Playback stops after the current track in the controller-playlist (Kinsky) ends. I think that playback should walk sequentially through the current playlist in the Kinsky app but it doesn't: it stops always after finishing the current played track.


I tested with Kinsky 4.3.3 on Windows (same version as current iOS) and get the same problem. This is definitely a regression in Kinsky as it worked in previous versions.
It also will not display elapsed time or see volume updates as it used too. I will report it to Linn

BTW: is there a documentation somewhere about the sections "Renderer Capabilities", "Decoding to PCM" and "use profile when" in the tab "Streaming profiles of the Preferences? what does all this mean and when and how does it takes effect and what is the purpose? Can the settings be related to my problem decsribed above?


No real documentation on profiles unfortunately. They are here to customize how files are streamed and rules for transcoding to WAV/LPCM or MP3 for formats unsupported by the target renderer. It only matters for those who want to stream anything higher than 44.1/16
The unmodified default profile should work with almost all renderers without modification and I confirm it is used by Kinsky.
It has no relation with the Kinsky track advance issue.
Title: foo_upnp
Post by: kumbbl on 2012-06-03 17:59:26
All is working fine, really a great plugin, and it works also like a charm with Kinsky, but i have one problem:
Playback stops after the current track in the controller-playlist (Kinsky) ends. I think that playback should walk sequentially through the current playlist in the Kinsky app but it doesn't: it stops always after finishing the current played track.


I tested with Kinsky 4.3.3 on Windows (same version as current iOS) and get the same problem. This is definitely a regression in Kinsky as it worked in previous versions.
It also will not display elapsed time or see volume updates as it used too. I will report it to Linn


Thanks a lot for your quick answer!! I can confirm that because with the iPad App iMediaControl all is working fine!

BTW: is there a documentation somewhere about the sections "Renderer Capabilities", "Decoding to PCM" and "use profile when" in the tab "Streaming profiles of the Preferences? what does all this mean and when and how does it takes effect and what is the purpose? Can the settings be related to my problem decsribed above?


No real documentation on profiles unfortunately. They are here to customize how files are streamed and rules for transcoding to WAV/LPCM or MP3 for formats unsupported by the target renderer. It only matters for those who want to stream anything higher than 44.1/16
The unmodified default profile should work with almost all renderers without modification and I confirm it is used by Kinsky.
It has no relation with the Kinsky track advance issue.


Thanks for these helpful hints - in the meanwhile i have a little bit tried (with error ;-)) and found out some things for myself.
But tow special questions remain:

a) What does this "User-Agent" in the Streaming Profile subpage mean? is this the control-point or the renderer or what else?
b) What is the purpose of the "decoding to PCM" section and how it works together with the renderer capabilities - background: i have to render Hires-stuff too!
So what would be the best profile settings if:
- the DAC connected to the foobar-renderer-laptop is able to play from 16/44.1 up to 24/196 and i have also stuff like this (for playing this way i use iPad just for remote control)
- i can use iMediaControl and the iPad as renderer so i can play the music via the speaker of the iPad (or some docking station) - in this case i want to transcode all lossless stuff to MP3 (what are the correct settings in the profile?)

If you could give my a short answer to these questions then i would know all what i have to know...

But anyway: Thank you very very much for this great plugin and especially also for the possibility to customize the Media-Library-tree via XML - great feature!!

This plugin boosts working with Foobar in the stratosphere! 
Title: foo_upnp
Post by: LoonyTunes on 2012-06-11 19:09:12
The UPnP component for Foobar is a welcome addition, thanks for doing it!!

I have a question about how FLAC files are displayed on the client, in this case an Oppo BDP-93. All of my FLAC files that are 44/16 display as FLAC files on the 93, but any FLAC files that are 44/24 and higher display as PCM files on the 93. Is this normal or is there something that I'm missing in the UPnP setup? Thanks for any enlightenment you can give me on this issue and thanks again for your work on the UPnP server component!
Title: foo_upnp
Post by: kumbbl on 2012-06-12 14:53:38
I have a mysterious problem using streaming profiles...

there are 4 streaming profiles related:

Default (field user-Agent is empty): renderer capability ranges from 44100 to 196000, 24 bits, no transcoding, decoding to PCM: never to wav
foobar2000-Profile (field user-Agend is foobar2000): same as default
PlugPlayer-Profile  (field user-Agent is PlugPlayer): renderer capability ranges from 11250 to 48000, 16 bits, always transcoding except mp3,flac, decoding to PCM: never to wav
iMediaControl-Profile: same as PlugPlayer-Profile

well, running iPad2 and latest Foobar+foo_upnp i run the following 8-step scenario first with App iMediaControl, then shut down Foobar, then save the upnp-logfile (level INFO, s.b.), restart Foobar, running the same 8-step scenario with App PlugPlayer (4.1.1), shut down Foobar and save again the logfile...

The Scenario i do in the Apps:
1. Navigate to AC/DC Back in black album (on the server in 24/96 HiRes as Flac)
2. Choose Renderer "MyiPad" in the App so the iPad plays the music
3. Play Track "Back in Black.flac" for some seconds
4. Stop Playback
5. Choose Renderer "Foobar2000Renderer..." so my hifi-system connected to the Foobar-media-server/Renderer plays the music
6. Play Track "You shook me all night long.flac"
7. Stop Playback
8. Close the App

Well, my goal is: When the iPad renders the stream then the hires-file should be downsampled to the defined renderer capabilities (as defined in the profile described above). When the foobar-system/renderer renders the music then the original hires should pass through to the DAC because it is able to convert hires-audio.

Now, the following occurs:

iMediaControl:

all seems working fine, but it seems that never a downsampling takes place (see the log-file-entry below) but nevertheless the music plays well over the iPad (maybe there is a wonder or the iMediaControl-App can do the downsampling but AFAIK an iPad can only play up to 48000hz)

Logfile entry for iMediaControl for steps 2 and 3 (s.a.):
Code: [Select]
User-Agent: imediacontrol4ipad/1.0 CFNetwork/548.0.4 Darwin/11.0.0
Connection: close

41.41119: upnp_server_conf::get_profile(830)/7800: INFO: using profile 'iMediaControl-Profile', matching header (User-Agent:imediacontrol4ipad/1.0 CFNetwork/548.0.4 Darwin/11.0.0)
opened 'file://W:\Klaus\Musik\archiv\1-H\ACDC\Back In Black\Original 1st press US (Vinyl Rip)\1980\24-96\06. Back In Black.flac' for streaming, profile: Default, WAV / 96000 Hz / 24 bits / 2 channels, replaygain: on, DSP chain: off
54.54498: PLT_HttpServerSocketTask::Write(410)/7800: WARNING: NPT_CHECK failed, result=-20401 (NPT_ERROR_CONNECTION_ABORTED) [(NPT_StreamToStreamCopy( *body_stream.AsPointer(), *output_stream.AsPointer(), 0, entity->GetContentLength(), 0, abort))]
60.60146: FbMediaServer::CheckAuthentication(362)/8080: INFO: received LAN request: http://192.168.178.38:56923/albumart/388d5e03239f61ea4c5e64a8f3560a01 (User-Agent: imediacontrol4ipad/1.0 CFNetwork/548.0.4 Darwin/11.0.0)
60.60156: PLT_HttpHelper::ToLog(481)/8080: INFO: FbMediaServer::ProcessFileRequest
GET /albumart/388d5e03239f61ea4c5e64a8f3560a01 HTTP/1.1
Host: 192.168.178.38:56923
User-Agent: imediacontrol4ipad/1.0 CFNetwork/548.0.4 Darwin/11.0.0
Accept: */*
Accept-Language: de-de
Accept-Encoding: gzip, deflate
Connection: keep-alive

60.60327: FbMediaRenderer::OnAction(144)/7696: INFO: >>>>>>>>>>>> Action: Stop <<<<<<<<<<<<<
60.60347: FbMediaRenderer::OnAction(144)/7696: INFO: >>>>>>>>>>>> Action: SetAVTransportURI <<<<<<<<<<<<<
60.60347: PLT_Didl::FromDidl(366)/7696: SEVERE: NPT_CHECK failed, result=-20011 (NPT_ERROR_INVALID_SYNTAX) [(parser.Parse(xml, node))]
60.60347: build_handle(21)/7696: INFO: Couldn't parse metadata: <DIDL-Lite xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/" xmlns:pv="http://www.pv.com/pvns/" xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/"><item id="0/1/1/3/3/6I" parentID="0" childCount="0" restricted="1" searchable="0"><dc:title>07. You Shook Me All Night Long</dc:title> <dc:date>1980-01-01</dc:date><upnp:artist>AC/DC</upnp:artist><upnp:album>Back In Black</upnp:album><upnp:albumArtURI xmlns:dlna="urn:schemas-dlna-org:metadata-1-0" dlna:profileID="JPEG_TN">http://192.168.178.38:56923/albumart/388d5e03239f61ea4c5e64a8f3560a01</upnp:albumArtURI><res size="120960044" duration="0:03:30.000" bitrate="576000" protocolInfo="http-get:*:audio/wav:*">http://192.168.178.38:56923/content/388d5e03239f61ea4c5e64a8f3560a01.wav?profile_id=0&convert=wav</res><upnp:class>object.item.audioItem.musicTrack</upnp:class></item></DIDL-Lite>
60.60547: FbMediaRenderer::OnAction(144)/7696: INFO: >>>>>>>>>>>> Action: Play <<<<<<<<<<<<<
60.60677: FbMediaServer::CheckAuthentication(362)/6668: INFO: received LAN request: http://192.168.178.38:56923/content/388d5e03239f61ea4c5e64a8f3560a01.wav?profile_id=0&convert=wav (User-Agent: foobar2000/1.1.13)
60.60677: PLT_HttpHelper::ToLog(481)/6668: INFO: FbMediaServer::ProcessFileRequest
GET /content/388d5e03239f61ea4c5e64a8f3560a01.wav?profile_id=0&convert=wav HTTP/1.1


What i do not understand is:
in one line there is "...using profile 'iMediaControl-Profile', matching header (User-Agent:imediacontrol4i.."
but in the following line there is: "opened 'file://W:\Klaus\Musik\archiv\1-H\ACDC\Back In Black\Original 1st press US (Vinyl Rip)\1980\24-96\06. Back In Black.flac' for streaming, profile: Default WAV / 96000 Hz / 24 bits / 2 channels"

and for the steps 5 and 6 (s.a.):

Code: [Select]
User-Agent: foobar2000/1.1.13
Accept: */*
Icy-MetaData: 1

60.60677: upnp_server_conf::get_profile(830)/6668: INFO: using profile 'foobar2000-Profile', matching header (User-Agent:foobar2000/1.1.13)
opened 'file://W:\Klaus\Musik\archiv\1-H\ACDC\Back In Black\Original 1st press US (Vinyl Rip)\1980\24-96\07. You Shook Me All Night Long.flac' for streaming, profile: Default, WAV / 96000 Hz / 24 bits / 2 channels, replaygain: on, DSP chain: off
60.60697: PLT_HttpServerSocketTask::Write(410)/6668: WARNING: NPT_CHECK failed, result=-20401 (NPT_ERROR_CONNECTION_ABORTED) [(NPT_StreamToStreamCopy( *body_stream.AsPointer(), *output_stream.AsPointer(), 0, entity->GetContentLength(), 0, abort))]
60.60697: FbMediaServer::CheckAuthentication(362)/6184: INFO: received LAN request: http://192.168.178.38:56923/content/388d5e03239f61ea4c5e64a8f3560a01.wav?profile_id=0&convert=wav (User-Agent: foobar2000/1.1.13)
60.60697: PLT_HttpHelper::ToLog(481)/6184: INFO: FbMediaServer::ProcessFileRequest
GET /content/388d5e03239f61ea4c5e64a8f3560a01.wav?profile_id=0&convert=wav HTTP/1.1


here I also don't understand:
"...using profile 'foobar2000-Profile', matching header (User-Agent:foobar2000/1.1.13.." followed by the line
"opened 'file://W:\Klaus\Musik\archiv\1-H\ACDC\Back In Black\Original 1st press US (Vinyl Rip)\1980\24-96\07. You Shook Me All Night Long.flac' for streaming, profile: Default WAV / 96000 Hz / 24 bits / 2 channels"

summary for using iMediaControl: it seems that never a downsampling occurs and alway the Default-Profile is used regardless which user-Agent but in the log there is first "using profile imediaControl-profile" and then "using profile foobar2000-profile"...but both seems to lead to the Default-profile - WHY?

PlugPlayer:

Logfile entry for PlugPlayer for steps 2 and 3 (s.a.):
Code: [Select]
User-Agent: RecivaRadio/1.0.0
Icy-MetaData: 1
Connection: close

54.54078: upnp_server_conf::get_profile(836)/4788: INFO: using default profile (User-Agent:RecivaRadio/1.0.0)
opened 'file://W:\Klaus\Musik\archiv\1-H\ACDC\Back In Black\Original 1st press US (Vinyl Rip)\1980\24-96\06. Back In Black.flac' for streaming, profile: PlugPlayer-Profile, WAV / 48000 Hz / 16 bits / 2 channels, replaygain: on, DSP chain: off
65.65584: PLT_HttpServerSocketTask::Write(410)/4788: WARNING: NPT_CHECK failed, result=-20401 (NPT_ERROR_CONNECTION_ABORTED) [(NPT_StreamToStreamCopy( *body_stream.AsPointer(), *output_stream.AsPointer(), 0, entity->GetContentLength(), 0, abort))]
65.65714: FbMediaServer::CheckAuthentication(362)/2992: INFO: received LAN request: http://192.168.178.38:56923/DeviceDescription.xml (User-Agent: iPad/5.0.1, UPnP/1.0, PlugPlayer/4.1.1)
65.65835: FbMediaServer::CheckAuthentication(362)/4360: INFO: received LAN request: http://192.168.178.38:56923/DeviceDescription.xml (User-Agent: iPad/5.0.1, UPnP/1.0, PlugPlayer/4.1.1)
66.66526: FbMediaServer::CheckAuthentication(362)/5752: INFO: received LAN request: http://192.168.178.38:56923/DeviceDescription.xml (User-Agent: iPad/5.0.1, UPnP/1.0, PlugPlayer/4.1.1)
69.69059: FbMediaServer::CheckAuthentication(362)/6504: INFO: received LAN request: http://192.168.178.38:56923/DeviceDescription.xml (User-Agent: iPad/5.0.1, UPnP/1.0, PlugPlayer/4.1.1)
69.69089: FbMediaServer::CheckAuthentication(362)/7516: INFO: received LAN request: http://192.168.178.38:56923/DeviceDescription.xml (User-Agent: iPad/5.0.1, UPnP/1.0, PlugPlayer/4.1.1)
69.69139: FbMediaServer::CheckAuthentication(362)/7656: INFO: received LAN request: http://192.168.178.38:56923/DeviceDescription.xml (User-Agent: iPad/5.0.1, UPnP/1.0, PlugPlayer/4.1.1)
69.69700: FbMediaServer::CheckAuthentication(362)/7052: INFO: received LAN request: http://192.168.178.38:56923/DeviceDescription.xml (User-Agent: iPad/5.0.1, UPnP/1.0, PlugPlayer/4.1.1)
70.70441: FbMediaServer::CheckAuthentication(362)/7216: INFO: received LAN request: http://192.168.178.38:56923/DeviceDescription.xml (User-Agent: iPad/5.0.1, UPnP/1.0, PlugPlayer/4.1.1)
70.70631: FbMediaRenderer::OnAction(144)/4312: INFO: >>>>>>>>>>>> Action: GetVolume <<<<<<<<<<<<<
70.70672: FbMediaRenderer::OnAction(144)/4312: INFO: >>>>>>>>>>>> Action: GetTransportInfo <<<<<<<<<<<<<
70.70692: FbMediaRenderer::OnAction(144)/4312: INFO: >>>>>>>>>>>> Action: GetPositionInfo <<<<<<<<<<<<<
71.71072: FbMediaRenderer::OnAction(144)/4312: INFO: >>>>>>>>>>>> Action: GetPositionInfo <<<<<<<<<<<<<
71.71763: FbMediaRenderer::OnAction(144)/4312: INFO: >>>>>>>>>>>> Action: GetPositionInfo <<<<<<<<<<<<<
71.71953: FbMediaServer::CheckAuthentication(362)/4484: INFO: received LAN request: http://192.168.178.38:56923/DeviceDescription.xml (User-Agent: iPad/5.0.1, UPnP/1.0, PlugPlayer/4.1.1)
72.72494: FbMediaServer::CheckAuthentication(362)/8172: INFO: received LAN request: http://192.168.178.38:56923/DeviceDescription.xml (User-Agent: iPad/5.0.1, UPnP/1.0, PlugPlayer/4.1.1)
72.72775: FbMediaRenderer::OnAction(144)/4312: INFO: >>>>>>>>>>>> Action: GetPositionInfo <<<<<<<<<<<<<
73.73836: FbMediaRenderer::OnAction(144)/4312: INFO: >>>>>>>>>>>> Action: GetPositionInfo <<<<<<<<<<<<<
74.74968: FbMediaRenderer::OnAction(144)/4312: INFO: >>>>>>>>>>>> Action: GetPositionInfo <<<<<<<<<<<<<
75.75949: FbMediaRenderer::OnAction(144)/4312: INFO: >>>>>>>>>>>> Action: GetPositionInfo <<<<<<<<<<<<<
76.76229: FbMediaRenderer::OnAction(144)/4312: INFO: >>>>>>>>>>>> Action: Stop <<<<<<<<<<<<<
76.76460: FbMediaRenderer::OnAction(144)/4312: INFO: >>>>>>>>>>>> Action: Stop <<<<<<<<<<<<<
76.76690: FbMediaRenderer::OnAction(144)/4312: INFO: >>>>>>>>>>>> Action: SetAVTransportURI <<<<<<<<<<<<<
76.76720: FbMediaRenderer::OnAction(144)/4312: INFO: >>>>>>>>>>>> Action: Play <<<<<<<<<<<<<
76.76810: FbMediaServer::CheckAuthentication(362)/7636: INFO: received LAN request: http://192.168.178.38:56923/content/388d5e03239f61ea4c5e64a8f3560a01.wav?profile_id=2&convert=wav&samplerate=48000 (User-Agent: foobar2000/1.1.13)
76.76820: PLT_HttpHelper::ToLog(481)/7636: INFO: FbMediaServer::ProcessFileRequest
GET /content/388d5e03239f61ea4c5e64a8f3560a01.wav?profile_id=2&convert=wav&samplerate=48000 HTTP/1.1


What i do not understand is:
in one line there is "...using default profile (User-Agent:RecivaRadio/1.0.0)..."
but in the following line there is: "opened 'file://W:\Klaus\Musik\archiv\1-H\ACDC\Back In Black\Original 1st press US (Vinyl Rip)\1980\24-96\06. Back In Black.flac' for streaming, profile: PlugPlayer-Profile, WAV / 48000 Hz / 16 bits / 2 channels"
Which of the information about using a profile means what??

and for the steps 5 and 6 (s.a.):

Code: [Select]
User-Agent: foobar2000/1.1.13
Accept: */*
Icy-MetaData: 1

76.76820: upnp_server_conf::get_profile(830)/7636: INFO: using profile 'foobar2000-Profile', matching header (User-Agent:foobar2000/1.1.13)
opened 'file://W:\Klaus\Musik\archiv\1-H\ACDC\Back In Black\Original 1st press US (Vinyl Rip)\1980\24-96\07. You Shook Me All Night Long.flac' for streaming, profile: PlugPlayer-Profile, WAV / 48000 Hz / 16 bits / 2 channels, replaygain: on, DSP chain: off
76.76890: PLT_HttpServerSocketTask::Write(410)/7636: WARNING: NPT_CHECK failed, result=-20401 (NPT_ERROR_CONNECTION_ABORTED) [(NPT_StreamToStreamCopy( *body_stream.AsPointer(), *output_stream.AsPointer(), 0, entity->GetContentLength(), 0, abort))]
76.76931: FbMediaServer::CheckAuthentication(362)/7968: INFO: received LAN request: http://192.168.178.38:56923/content/388d5e03239f61ea4c5e64a8f3560a01.wav?profile_id=2&convert=wav&samplerate=48000 (User-Agent: foobar2000/1.1.13)
76.76931: PLT_HttpHelper::ToLog(481)/7968: INFO: FbMediaServer::ProcessFileRequest
GET /content/388d5e03239f61ea4c5e64a8f3560a01.wav?profile_id=2&convert=wav&samplerate=48000


Here i also don't understand:
"...using profile 'foobar2000-Profile', matching header (User-Agent:foobar2000/1.1.13.." followed by the line
"opened 'file://W:\Klaus\Musik\archiv\1-H\ACDC\Back In Black\Original 1st press US (Vinyl Rip)\1980\24-96\07. You Shook Me All Night Long.flac' for streaming, profile: PlugPlayer-Profile, WAV / 48000 Hz / 16 bits / 2 channels"

so now again ther PlugPlayer-Profile with downsampling is used even the log-file says one line above that the foobar2000-profile is used...??!!
And in fact the plugPlayer-Profile is used when using the foobar2000-Renderer because only 16/48 comes to the DAC...

So summary for PlugPlayer: regardless which renderer i choose always the downsampling of the PlugPlayer-Profile takes plays, even if using the foobar2000-profile  is reported.


Overall summary: I do not understand why with PlugPlayer-App always the PlugPlayer-Profile (with its downsampling) is used even when using profile foobar2000-Profile (without downsampling, s. on top profile description) is reported (s.a.). And i also do not understand why with iMediaControl it seems that never a downsampling occurs even if using profile iMediaControl-profile (with its downsamling) is reported...

Can anybody please explain what is running weird or what i'm doing wrong? Many thanks in advance!!

Title: foo_upnp
Post by: bubbleguuum on 2012-06-12 16:34:57
The UPnP component for Foobar is a welcome addition, thanks for doing it!!

I have a question about how FLAC files are displayed on the client, in this case an Oppo BDP-93. All of my FLAC files that are 44/16 display as FLAC files on the 93, but any FLAC files that are 44/24 and higher display as PCM files on the 93. Is this normal or is there something that I'm missing in the UPnP setup? Thanks for any enlightenment you can give me on this issue and thanks again for your work on the UPnP server component!


Yes this is normal. With the Default profile  (used by the Oppo) anything higher than 44.1Khz is streamed as 16 bits wav.
If your Oppo support higher samplerates modify maximum samplerate in the Default profile and eventually set max bitdepth to 24.
Title: foo_upnp
Post by: bubbleguuum on 2012-06-12 16:57:29
Overall summary: I do not understand why with PlugPlayer-App always the PlugPlayer-Profile (with its downsampling) is used even when using profile foobar2000-Profile (without downsampling, s. on top profile description) is reported (s.a.). And i also do not understand why with iMediaControl it seems that never a downsampling occurs even if using profile iMediaControl-profile (with its downsamling) is reported...


Profiles can be confusing because there are apps or client that use 2 differents User-Agent for http requests: one for Browsing and one for streaming.

The more important one is the one used for Browsing. It determines which profile will be used when the streaming request arrive.
Here in you first log, it looks like the Default profile was used because probably the Browsing User-Agent was not containing "imediacontrol4ipad".
Either that, or the Default profile is forced in "Basic Settings > Always use the Defautl Streaming profile...".

The hint that the default profile is used is the stream URL found in the metadata:
http://192.168.178.38:56923/content/388d5e...amp;convert=wav (http://192.168.178.38:56923/content/388d5e03239f61ea4c5e64a8f3560a01.wav?profile_id=0&convert=wav)

profile_id 0 is the Default profile.

profile_id is always used to know which profile to use when the actual stream request is made by the Control Point on this URL, *except* (and this is were it gets confusing) to
determine if the playback stats should be submitted or not for this request (in this case the profile determined from the streaming User-Agent request is used).

That's why you get the confusing trace (profile used for determining if playback stats should be submitted):
41.41119: upnp_server_conf::get_profile(830)/7800: INFO: using profile 'iMediaControl-Profile', matching header (User-Agent:imediacontrol4ipad/1.0 CFNetwork/548.0.4 Darwin/11.0.0)

combined with:
opened 'file://W:\Klaus\Musik\archiv\1-H\ACDC\Back In Black\Original 1st press US (Vinyl Rip)\1980\24-96\06. Back In Black.flac' for streaming, profile: Default, WAV / 96000 Hz / 24 bits / 2 channels, replaygain: on, DSP chain: off

If you want to determine what is the User-Agent used by  iMediaControl for browsing look for traces looking like this:

foo_upnp: 16422.16422408: FbMediaServer::OnAction(261)/6172: INFO: received action 'Browse', args = { ObjectID=0, BrowseFlag=BrowseDirectChildren, Filter=*, StartingIndex=0, RequestedCount=16, SortCriteria= }
foo_upnp: 16422.16422408: upnp_server_conf::get_profile(830)/6172: INFO: using profile 'BubbleUPnP', matching header (User-Agent:Android/2.3.7 UPnP/1.0 BubbleUPnP/1.4.3.1)

I know that it is a real pain to configure the server if targetting multiple renderers with a pure Control Point (which can also be a renderer).
It comes from the fact that the target renderer cannot be known at browse time in that case.
However there is a simple solution that you can try and that may work if the Control Point is not too dumb:

- force the use of the Default profile in Basic Settings
- set the Default Profile to the specs of the highest renderer you will use

When browsed with this profile, for each track, 3 URLs are returned to the Control Point

1. the URL as determined by the profile settings
2. a hardcoded 44.1/16 WAV stream  (profile_id=1000)
3. a hardcoded 44.1/16 LPCM stream (profile_id=1001)

Either 2. or 3. are playable by all renderers. If the CP is not too dumb it will pick 2 or 3 if it determines that 1. is not playable by the target render.


As a side note I do not understand how imediacontrol4ipad could play WAV/96/24 unless it downsamples it to 48/16.
Title: foo_upnp
Post by: kumbbl on 2012-06-12 18:09:43
Hi,

first of all many thanks for your fast and interesting reply, great service!!

I know that it is a real pain to configure the server if targetting multiple renderers with a pure Control Point (which can also be a renderer).
It comes from the fact that the target renderer cannot be known at browse time in that case.


yes, it seems to be a real pain, you are right....

However there is a simple solution that you can try and that may work if the Control Point is not too dumb:

- force the use of the Default profile in Basic Settings
- set the Default Profile to the specs of the highest renderer you will use

When browsed with this profile, for each track, 3 URLs are returned to the Control Point

1. the URL as determined by the profile settings
2. a hardcoded 44.1/16 WAV stream  (profile_id=1000)
3. a hardcoded 44.1/16 LPCM stream (profile_id=1001)

Either 2. or 3. are playable by all renderers. If the CP is not too dumb it will pick 2 or 3 if it determines that 1. is not playable by the target render.


sounds like a really good solution but unfortunately both CPs PlugPlayer and eLyric from PS Audio (for eLyric all reports above analog, i.e. the special eLyric profile with downsampling is choosen) are too dumb because they seem not to pick 2 or 3 but instead they fail to render 1 :-(

so there seems to be no solution for Apps like PlugPlayer or eLyric... or do you have another idea based on streaming profiles?


As a side note I do not understand how imediacontrol4ipad could play WAV/96/24 unless it downsamples it to 48/16.


could not your described solution above be the reason why rendering on iPad with iMediaControl works also for HiRes-Streams?! as shown in my previous posting iMediaControl chooses always the Default profile and in this case your solution with this 2 fallback URLs (2: 44.1/16 WAV and 3: 44.1/16 LPCM) could be take place, so maybe iMediaControl is no so dumb but so smart to choose either 2 or 3 when recognicing not being able to render URL 1 ... could this be the explanation why iMediaControl works or have i now something misunderstood?

Again: thanks a lot for your great help service!!
Title: foo_upnp
Post by: bubbleguuum on 2012-06-12 18:20:01
so there seems to be no solution for Apps like PlugPlayer or eLyric... or do you have another idea based on streaming profiles?


The only possible solutions for you are

- setup a profile that is the least common denominator between your renderers. That probably means restricting playback to 48/16 and converting
most non universally supported format (flac, etc) to WAV. That's mostly the description of the unmodified Default profile, setup to be the more compatible

- run 2 instances of foobar2000 to create 2 servers with different settings and browse the appropriate one depending on the target renderer in your Control Point app.

Both of these solutions kind of suck but I cannot think of anything else.

could not your described solution above be the reason why rendering on iPad with iMediaControl works also for HiRes-Streams?! as shown in my previous posting iMediaControl chooses always the Default profile and in this case your solution with this 2 fallback URLs (2: 44.1/16 WAV and 3: 44.1/16 LPCM) could be take place, so maybe iMediaControl is no so dumb but so smart to choose either 2 or 3 when recognicing not being able to render URL 1 ... could this be the explanation why iMediaControl works or have i now something misunderstood?


No, as the "open file for streaming" line would have been different mentioning WAV/44.1/16 or LPCM/44.1/16
Title: foo_upnp
Post by: LoonyTunes on 2012-06-13 14:40:44
I have a question about how FLAC files are displayed on the client, in this case an Oppo BDP-93. All of my FLAC files that are 44/16 display as FLAC files on the 93, but any FLAC files that are 44/24 and higher display as PCM files on the 93. Is this normal or is there something that I'm missing in the UPnP setup?
Yes this is normal. With the Default profile  (used by the Oppo) anything higher than 44.1Khz is streamed as 16 bits wav.
If your Oppo support higher samplerates modify maximum samplerate in the Default profile and eventually set max bitdepth to 24.

Thank you for the quick feedback!

OK, I configured a streaming profile for the Oppo as follows:

My streaming profile is named BDP-93
The USER-AGENT contain OPPO (based on info received from Oppo)
samplerate range 44100 to 19200 24 bit
No checkmark on Stereo only
Transcoding to MP3 is never with Except extensions blank, lossless and internet checked
Decoding to PCM is never to lpcm with except blank
Playback stream capture is wav 44100 16bit
No active DSP's

Checked to make sure that "Basic Settings > Always use the Defautl Streaming profile..." was not checked and then browsed the files from the Oppo. Still have the files above 44/16 showing as PCM, not FLAC.

Then I configured the default streaming profile as follows:

Streaming profile is named default
The USER-AGENT contain is blank
samplerate range 44100 to 19200 24 bit
No checkmark on Stereo only
Transcoding to MP3 is never with Except extensions blank, lossless and internet checked
Decoding to PCM is never to lpcm with except blank
Playback stream capture is wav 44100 16bit
No active DSP's

Changed the "Basic Settings > Always use the Defautl Streaming profile..." by adding check mark and then browsed the files from the Oppo. Still have the files above 44/16 showing as PCM, not FLAC.

At this point I don't see the different profiles making any difference on how the higher res files are shown on the Oppo.

I also took the disk drive that contains these files disconnected it from my computer and connected it to one of the USB ports on the Oppo and all files, including the hi res files, display as FLAC and play as hi res. Also when I burn a few of these hi res files to cd or dvd they show as FLAC and play as hi res on the Oppo.

Any help on getting the 93 to see the higher res files as FLAC and not PCM would be greatly appreciated!!
Title: foo_upnp
Post by: akispavlopoulos on 2012-06-20 15:18:17
Hi!

I'm using your wonderful plugin to stream music to my devices! I have just bought a new LG smart tv (42LM620s), that has DLNA. I can browse throw my tv to my foobar library and stream everything! The only "problem" I have is that when I browse to my folders or stream music  I can't see any album art. When I browse throw TVersity I can see album art. I can see album art on my tv when I use your bubbleupnp apk in my android phone to stream music to my tv throw foobar's library too! Why I can't see the album art when I browse directly throw my tv? Are there any options that I have to do? I have enable the "Allow album art streaming" in the upnp options of foobar. Thank you!
Title: foo_upnp
Post by: skrech on 2012-06-24 12:44:18
- If I start a audio file in a playlist from the external device, it would play, but it also sets the option Stop after current (available in the Playback main menu).  I would rather prefer it to let the audio continue with the next files in the playlist instead.



I suppose you mean you are remote controlling a foobar2000 Media Renderer instance, and on that instance "Stop After Current" remains enabled.
During the time of being remotely controlled, the Renderer enables "Stop After Current" because it needs it for proper operation. It just does a poor job at restoring the initial
"Stop After Current"  state when not being controlled anymore.



@Speech: Stop After Current should be fixed in the new version.


Hello,
I'm trying to use my Nokia N9 as a remote controller for foobar2000 and this Stop After Current is very annoying. Is there a possibility for a fix for that?
Title: foo_upnp
Post by: Mikka on 2012-06-24 19:35:40
bubbleguuum, if adding transcoding to vorbis or aac is not too much of a hassle, it would be greatly appreciated!
Title: foo_upnp
Post by: tpg8 on 2012-06-25 03:31:50
I have a question about gapless playback...

I use a custom built "minimalist" computer audio server which holds my lossless high-resolution files encoded (mostly in FLAC).  The computer is connected directly to my DAC and the computer itself takes care of playback.

What I want to do is just remotely control my audio server using my windows tablet across my home network.  I have foobar and foo_upnp installed on both machines and can control the server with the UPnP controller, but playback is not gapless.

Is there a way to force gapless playback in this situation?  I mean, the server is playing its own locally stored files and is only being told to do so from across the network - no media is actually being streamed.

Thank you!
Title: foo_upnp
Post by: maruko on 2012-06-25 17:12:03
Hello,

I am already searching for months for a decent UPNP Player / Controller for Windows.
I am using TVersity DLNA Server. And the Plugplayer clients on my phone/tablet.

Now I tried the UPNP Controller function of Foobar, I can controll the tablet (Plugplayer) very good also volume is working.
Only thing I am missing, it's not picking up the current playlist.

And also it takes very long before UPNP Controller finds my tablets in the Network. Can he remember such things or can I add manually?

Thanks & Regards,

Marco de Groot
Title: foo_upnp
Post by: thirl88 on 2012-07-01 03:59:14
Hi, I'm brand new to Foobar having installed it purely for its Playback Stream Capture function. I've been disapointed to see that when streaming, my music player (a Roberts 83i) does not display ID3 tag info. It simply says Title: Foobar2000 Playback Stream Capture, Artist: Foobar2000

Is it possible to have the correct artist & title info displayed when in stream capture mode. The tags are displayed correctly in normal uPnP mode but I have other issues with uPnP playback - namely the Roberts freezes up all the time when trying to load tracks (this happens with WMP, Twonky, TVersity as well as Foobar). But it plays fine all day long with Foobar and Playback Stream Capture, but with no artist, title info.

Any ideas??

Thanks
Title: foo_upnp
Post by: emueyes on 2012-07-01 16:45:34

OK, I'm not sure this is actually a 3rd party addin question, but it leads on from the great help I received when working out the details of this issue.

To recap, I have compilation albums and loose singles, and don't want hundreds of artists with a single song in the collection to be appearing in the artist listing; it was suggested that a Various Albums 'album' could be assigned to them in the Album Artist tag, which works very well, I now have various Various Artist albums.

However, they don't seem to be respected over the UPnP server. Showing artists shows the original list with hundreds of artists, showing album artists shows every album for every artist.

I have to say at this stage that I'm using an Android tablet and an Android app called UPnPlay, so if I'm out of range for this board please don't censure me, just tell me. I don't think I am though, I think it's a UPnP problem, or more specifically my lack of knowledge of it that is the problem.

In the UPnP >> Server >> Content page of fb2k there is what appears to be some settings for altering what will be shown to UPnP clients, and in particular an XML edit function containing default values.

I want the UPnP server to behave the same way as fb2k itself does, that is, of there is an Album Artist field present for a track, then use it, otherwise use the artist tag.

Am I looking in even remotely the right place within fb2k to do this, or is it a problem with the client ?
Title: foo_upnp
Post by: e1964692@rtrtr.com on 2012-07-14 11:12:41
hey bubbleguuum, very nice plugin for foobar!

i hear music through it and bubbleupnp since i get my 99$ touchpad.. very cool!

next step is to use the renderer and the music server at the same time. my idea is to use the tablet to select the music from my foobar playlist/archiv on my pc and render it on the same pc, controlled by bubbleupnp.
but i dont get it to work. he doesnt play my selectet music. but when i play a random file on foobar@pc and open bubbleupnp@touchpad i can pause the track and resume!?

when i want to render music on pc the logfile says:

Code: [Select]
Opening track for playback: "http://192.168.1.100:56923/content/623597dd29c7b875fe90cd990a48a74f.mp3"
Unable to open item for playback (Bad Request (400)):
"http://192.168.1.100:56923/content/623597dd29c7b875fe90cd990a48a74f.mp3"


maybe u can help me,

greetz from germany

e19

Title: foo_upnp
Post by: jorometala on 2012-07-15 10:02:15
Hallo
First sorry for my bad English.
I'm using Foobar and foo_upnp plugin on Win Xp (don't ask why) for long time. Soon I put the pc in the closet and configure it to sleep after 15 minutes idle (for energy saving) and I noticed that when I play music on the pc on my local network the server pc goes to sleep after 15 minutes and оf course the music stops. Is that a misconfiguration or an issue of foobar and foo_upnp ? Is there a way to make the server to holds the PC awake when there is a streaming in progress and to go to sleep after the set idle time go to sleep when there is no streaming?

edit: other thing i just install bubbleupnp on my android phone and I cant connect to the foobar media server over the internet. On the local network it works OK but when i try to use it over the 3G network it say authentication fail.
The foobar log says "foo_upnp: Denied WAN request (ip: 85.118.193.170, User Agent: BubbleUPnP UPnP/1.1)" I am sure about the credentials . I use them in the office with foobar instance and they works.
Title: foo_upnp
Post by: Sandrine on 2012-07-21 21:15:41
I'm trying to convince my Yamaha RX-V3067 to accept DSD input. It's basically able to reproduce DSD, I'm just not sure if the integrated DNLA renderer would be able to play it. I've set the SACD decoder to DSD, the streaming profile to MAX rate 2822400, max bitdepth to 24 and "Decode to PCM" to "Never to WAV". Still the Yammi plays at PCM 88khz and the foobar2000 console tells me

"foo_upnp: opened 'file://F:\Music2\_SACD\Modern\Adriano Celentano - (2004) C'e Sempre Un Motivo (SACD ISO 2.0 5.1)\C'E' SEMPRE UN MOTIVO.iso' for streaming, profile: Default, WAV / 88200 Hz / 24 bits / 2 channels, replaygain: off, DSP chain: off"

Multichannel rendering via UPnP doesn't seem to work at all. Any ideas?
Btw, the manual says

"DNLA Version 1.5 (DMP and DMR support), max. audio 24/96."
Title: foo_upnp
Post by: bubbleguuum on 2012-07-21 23:05:13
I'm trying to convince my Yamaha RX-V3067 to accept DSD input. It's basically able to reproduce DSD, I'm just not sure if the integrated DNLA renderer would be able to play it. I've set the SACD decoder to DSD, the streaming profile to MAX rate 2822400, max bitdepth to 24 and "Decode to PCM" to "Never to WAV". Still the Yammi plays at PCM 88khz and the foobar2000 console tells me

"foo_upnp: opened 'file://F:\Music2\_SACD\Modern\Adriano Celentano - (2004) C'e Sempre Un Motivo (SACD ISO 2.0 5.1)\C'E' SEMPRE UN MOTIVO.iso' for streaming, profile: Default, WAV / 88200 Hz / 24 bits / 2 channels, replaygain: off, DSP chain: off"

Multichannel rendering via UPnP doesn't seem to work at all. Any ideas?
Btw, the manual says

"DNLA Version 1.5 (DMP and DMR support), max. audio 24/96."



Do you have disabled the "stereo only" checkbox in the profile ?
Title: foo_upnp
Post by: bubbleguuum on 2012-07-22 12:40:54
Hallo
First sorry for my bad English.
I'm using Foobar and foo_upnp plugin on Win Xp (don't ask why) for long time. Soon I put the pc in the closet and configure it to sleep after 15 minutes idle (for energy saving) and I noticed that when I play music on the pc on my local network the server pc goes to sleep after 15 minutes and ?f course the music stops. Is that a misconfiguration or an issue of foobar and foo_upnp ? Is there a way to make the server to holds the PC awake when there is a streaming in progress and to go to sleep after the set idle time go to sleep when there is no streaming?

That's weird: the plugin normally prevent the PC from sleeping while it is streaming.


Quote
edit: other thing i just install bubbleupnp on my android phone and I cant connect to the foobar media server over the internet. On the local network it works OK but when i try to use it over the 3G network it say authentication fail.
The foobar log says "foo_upnp: Denied WAN request (ip: 85.118.193.170, User Agent: BubbleUPnP UPnP/1.1)" I am sure about the credentials . I use them in the office with foobar instance and they works.


In Android BubbleUPnP, you *cannot* connect directly to a remote foo_upnp.  You can only connect to BubbleUPnP Server (http://bubbleguuum.free.fr/upnpserver/) which in turn will make your foobar2000 UPnP server accessible over the Internet, or any other Media Server you may have.
Title: foo_upnp
Post by: bubbleguuum on 2012-07-22 12:43:52
"foo_upnp: opened 'file://F:\Music2\_SACD\Modern\Adriano Celentano - (2004) C'e Sempre Un Motivo (SACD ISO 2.0 5.1)\C'E' SEMPRE UN MOTIVO.iso' for streaming, profile: Default, WAV / 88200 Hz / 24 bits / 2 channels, replaygain: off, DSP chain: off"


Might be due to your SACD being an ISO which I believe has the consequence that each separate track has a subsong index (like single FLAC + cue sheet).
Any track having a subsong index is streamed forced to PCM (it cannot be otherwise: there's no physical file for the track), and I think the plugin is not DSD aware that way (never tested it).
Title: foo_upnp
Post by: bubbleguuum on 2012-07-22 12:47:20
hey bubbleguuum, very nice plugin for foobar!

i hear music through it and bubbleupnp since i get my 99$ touchpad.. very cool!

next step is to use the renderer and the music server at the same time. my idea is to use the tablet to select the music from my foobar playlist/archiv on my pc and render it on the same pc, controlled by bubbleupnp.
but i dont get it to work. he doesnt play my selectet music. but when i play a random file on foobar@pc and open bubbleupnp@touchpad i can pause the track and resume!?


If what you want is a remote UI to control foobar, BubbleUPnP is not exactly that as it manages its own playback queue totally independent of foobar's own playback queue.
For pure foobar2000 control, a dedicate foobar controller app will probably be better.
Title: foo_upnp
Post by: psme on 2012-07-23 14:12:26
hi bubbleguuum,

Thanks again for the great UPnP plugin, I use it almost everyday!

But there is 1 minor issue that bug me! In my library, some albums have multiple versions of the same song, 1 with vocal, 1 is instrumental. On the vocal track, I tag the song with Artist, and I specifically leave the instrumental track a blank Artist tag. I also tag a AlbumArtist so tracks are grouped in a album.

But, for those blank/empty Artist track, foobar upnp will automatically use the AlbumArtist as the track Artist, which is not I wanted. I'd much prefer foobar upnp simply let the track Artist as is, which is blank/empty as I desired. Or add an option to let user to disable this automatic Artist name fillin/replacement!

Then foobar upnp will be simply PERFECT imo!
Title: foo_upnp
Post by: bubbleguuum on 2012-07-24 12:55:29
hi bubbleguuum,

Thanks again for the great UPnP plugin, I use it almost everyday!

But there is 1 minor issue that bug me! In my library, some albums have multiple versions of the same song, 1 with vocal, 1 is instrumental. On the vocal track, I tag the song with Artist, and I specifically leave the instrumental track a blank Artist tag. I also tag a AlbumArtist so tracks are grouped in a album.

But, for those blank/empty Artist track, foobar upnp will automatically use the AlbumArtist as the track Artist, which is not I wanted. I'd much prefer foobar upnp simply let the track Artist as is, which is blank/empty as I desired. Or add an option to let user to disable this automatic Artist name fillin/replacement!

Then foobar upnp will be simply PERFECT imo!


EDIT:  foo_upnp does indeed use %artist% to populate the artist returned to client, hence getting the album artist if the artist tag is empty.
Will fix for next release.
Title: foo_upnp
Post by: Marwin on 2012-07-25 09:09:59
Hi everybody!

Would you please help to solve a problem with streaming playback stream capture to XBMC.

When playing 'playback stream capture' to XBMC (run on Apple TV 2) there is some kind of white noise coming out from speakers even not modulated by the original music. Playing an MP3 track from music library works fine. Playback stream capture to Sonos 5 works fine.

Assume I need to adjust some streaming profile for that case. Tried to change values in default profile without success.

versions: renderer - xbmc 11.0 on ATV2, controller - plugplayer 4.1.1 on Ipad, server - foobar2000 1.1.2 with foo_upnp 0.99.40
Title: foo_upnp
Post by: GeSomeone on 2012-07-25 12:08:59
foo_upnp does indeed use %artist% to populate the artist returned to client, hence getting the album artist if the artist tag is empty.
Will fix for next release.

To me the foobar2000 way makes sense, but a possibility to define or choose between Artist, Album Artist, Track Artist (or Composer?) would probably cover any tagging behavior.
Title: foo_upnp
Post by: Marwin on 2012-07-25 18:25:19
Hi everybody!

Would you please help to solve a problem with streaming playback stream capture to XBMC.

When playing 'playback stream capture' to XBMC (run on Apple TV 2) there is some kind of white noise coming out from speakers even not modulated by the original music. Playing an MP3 track from music library works fine. Playback stream capture to Sonos 5 works fine.

Assume I need to adjust some streaming profile for that case. Tried to change values in default profile without success.

versions: renderer - xbmc 11.0 on ATV2, controller - plugplayer 4.1.1 on Ipad, server - foobar2000 1.1.2 with foo_upnp 0.99.40


edit: if I play anything but stream capture on XBMC through UPNP it shows mp3, wav, flac icons after track name in XBMC context menu. But when I play stream capture it shows 'foobar2000 - ?' text.
Title: foo_upnp
Post by: Guillaume on 2012-08-06 13:32:13
Component looks great, massive thx. Can't get it to work on my XBMC on XBOX, though. When trying (supported) LPCM 44.1/48kHz, constantly getting this error message in XBMC log:
Quote
ERROR: CAudioDecoder: Unable to Init Codec while loading file http://192.168.1.1:56923/content/aa26c86f9...amplerate=48000 (http://192.168.1.1:56923/content/aa26c86f9c5141d513d27c3063ccb33b.l16?profile_id=0&convert=lpcm&samplerate=48000)


When trying WAV, getting static noise.
When trying MP3 (which I'd rather not do), it works.
Title: foo_upnp
Post by: amatala on 2012-08-14 13:49:33
Hello,

I'm using foobar+foo_upnp to stream audio files to my Marantz AV7005 pre/processor. The problem is that I'm facing frequent audio drop-outs when streaming high resolution 96K/24bit FLAC and WAV files. I've tried disabling any kind of processing, DSP, transcoding - still, no luck... 
The same files are streaming perfectly from the same PC when using TVersity.
Also, standard resolution 44/16 files are working perfectly under foo_upnp - no problem whatsoever.

Is there anything else I can try in order to have the hi-res files working under foo_upnp? I'd like to get rid of TVersity and use foo_unp for streaming all my music - it's much more flexible and offers a lot of features TVersity does not have - e.g. ReplayGain support...

Thanks!
Title: foo_upnp
Post by: psme on 2012-08-15 03:02:42
I think I found a problem...

By default, under Album listing, foo_upnp will append the Artist name at the end of the AlbumName. For example I have 2 albums from different artists but with a same album name:

Unplugged [artist1]
Unplugged [artist2]

That works fine.

But, for some reason I don't want to see this auto appended Artist name on the AlbumName, so I edit the foo_upnp_ml_tree.xml and remove the Artist name at the of Album name. Then foo_upnp will just merge all same name Album name under a single album.

Unplugged

Even though those 2 same name albums are tagged with different AlbumArtist.

Or, is there any way to modify the foo_upnp_ml_tree.xml to properly list same album name albums separately?

PS: Using MinimServer or Asset UPnP, they can properly list same name albums separately under Album listing.
Title: foo_upnp
Post by: bubbleguuum on 2012-08-16 10:43:54
Or, is there any way to modify the foo_upnp_ml_tree.xml to properly list same album name albums separately?


There is now way currently as it would require 2 titleformat strings: one for splitting and one for display.

For you case what you want is:

split: %album%[ '['%album artist%']'
display: %album%

I'll look into making this possible.

Currently the split titleformat is also used for display
Title: foo_upnp
Post by: bubbleguuum on 2012-08-16 10:45:09
Component looks great, massive thx. Can't get it to work on my XBMC on XBOX, though. When trying (supported) LPCM 44.1/48kHz, constantly getting this error message in XBMC log:
Quote
ERROR: CAudioDecoder: Unable to Init Codec while loading file http://192.168.1.1:56923/content/aa26c86f9...amplerate=48000 (http://192.168.1.1:56923/content/aa26c86f9c5141d513d27c3063ccb33b.l16?profile_id=0&convert=lpcm&samplerate=48000)


When trying WAV, getting static noise.
When trying MP3 (which I'd rather not do), it works.



looks like an XBMC bug to me as LPCM / WAV work anywhere else.
Title: foo_upnp
Post by: bubbleguuum on 2012-08-16 10:50:00
Hello,

I'm using foobar+foo_upnp to stream audio files to my Marantz AV7005 pre/processor. The problem is that I'm facing frequent audio drop-outs when streaming high resolution 96K/24bit FLAC and WAV files. I've tried disabling any kind of processing, DSP, transcoding - still, no luck... 
The same files are streaming perfectly from the same PC when using TVersity.
Also, standard resolution 44/16 files are working perfectly under foo_upnp - no problem whatsoever.

Is there anything else I can try in order to have the hi-res files working under foo_upnp? I'd like to get rid of TVersity and use foo_unp for streaming all my music - it's much more flexible and offers a lot of features TVersity does not have - e.g. ReplayGain support...

Thanks!


Difficult to know where the drop out comes from unfortunately. Is that on a WiFi connection or wired ?
Title: foo_upnp
Post by: amatala on 2012-08-21 15:31:55
Difficult to know where the drop out comes from unfortunately. Is that on a WiFi connection or wired ?


It's all wired Gigabit network - well the AV7005 is not Gigabit, but all the other devices are.
Works perfectly with TVersity over the same wires even with uncompressed 96/24 WAV files - so it cannot be a network bandwidth issue...
Thought there may be something else to try...
In the meantime I'm running 2 servers - TVersity for my hi-res music library and foobar+uPnP for my standard res library containing almost 100K FLAC files - because TVersity really cannot cope with such volumes (scanning the library takes forever and the interface keeps on hanging very frequently...).
Title: foo_upnp
Post by: amatala on 2012-08-22 15:27:58
As a side note - I also noticed that the "Full file buffering up to..." option found in Foobar preferences (Preferences->Advanced->Playback) does not apply to uPnP streaming...
I have enough memory on my music sever so I was hoping I could fully load files in memory before playback - Maybe that could have helped with my drop-out problem...
It works perfectly when playing the files directly in Foobar, but does not happen when streaming via the uPnP plugin...
Title: foo_upnp
Post by: drolevar on 2012-08-24 18:22:30
Hi!

Found a problem, when I assign a profile, it's detected, but then not used.

Here's an extract from the log file:

Code: [Select]
foo_upnp: 3197.3197696: PLT_HttpHelper::ToLog(481)/7176: INFO: FbMediaServer::ProcessFileRequest
GET /content/01416845c61553b19c572c6f87f60e65.wav?profile_id=0&convert=wav&samplerate=192000&subsong=8 HTTP/1.1
Host: 192.168.0.102:56923
User-Agent: DuneHD/1.0 (product_id: hdsmart_d1; firmware_version: 120815_2150)
X-Dune-Serial-Number: D3BD-5A70-CAE3-2351-C8E6-FD88-FA63-5D29
X-Dune-Interface-Language: russian
Connection: close
foo_upnp: 3197.3197712: upnp_server_conf::get_profile(830)/7176: INFO: [color=red]using profile 'Dune'[/color], matching header (User-Agent:DuneHD/1.0 (product_id: hdsmart_d1; firmware_version: 120815_2150))
foo_upnp: opened 'file://D:\Music\Stuttgarter Kammerorchester - The Tube (SACD-R)\TACET - Die Rohre - Tube Only.iso' for streaming, [color=red]profile: Default[/color], WAV / 192000 Hz / 24 bits / 2 channels, replaygain: off, DSP chain: off

Should be a bug, right?
Title: foo_upnp
Post by: dubwai on 2012-08-26 17:24:54
Can anyone help to noob. I have 2 PC at home and at LAN - Playback stream capture in second fb2k works fine.

But I try to share this capture to my friend in another country (throug Internet) and nothing working. I
1. Take port forwarding (56923) to my main PC in my router
2. Create dynamic dns (blablabla.no-ip.org) at my router. At no-ip site show that catch my ip.
3. Now question it's right that i put blablabla.no-ip.org to these field http://img7.imageshack.us/img7/4372/20120826202031.jpg (http://img7.imageshack.us/img7/4372/20120826202031.jpg)
4. My friend try http://img6.imageshack.us/img6/6769/20120826202222.jpg (http://img6.imageshack.us/img6/6769/20120826202222.jpg) this enter but gives error "Could not connect to remote Internet server."
Also at second PC at home I try the same, but result  the same.

What can be wrong?
Title: foo_upnp
Post by: bubbleguuum on 2012-08-26 18:13:21
Can anyone help to noob. I have 2 PC at home and at LAN - Playback stream capture in second fb2k works fine.

But I try to share this capture to my friend in another country (throug Internet) and nothing working. I
1. Take port forwarding (56923) to my main PC in my router
2. Create dynamic dns (blablabla.no-ip.org) at my router. At no-ip site show that catch my ip.
3. Now question it's right that i put blablabla.no-ip.org to these field http://img7.imageshack.us/img7/4372/20120826202031.jpg (http://img7.imageshack.us/img7/4372/20120826202031.jpg)
4. My friend try http://img6.imageshack.us/img6/6769/20120826202222.jpg (http://img6.imageshack.us/img6/6769/20120826202222.jpg) this enter but gives error "Could not connect to remote Internet server."
Also at second PC at home I try the same, but result  the same.

What can be wrong?


In your router, did you add a rule to redirect incoming TCP connections on port 56923 to port 56923 on the LAN IP on which your foo_upnp server is running ?
Title: foo_upnp
Post by: dubwai on 2012-08-26 18:53:40
In your router, did you add a rule to redirect incoming TCP connections on port 56923 to port 56923 on the LAN IP on which your foo_upnp server is running ?

Yes, like with p2p (utorrent, soulseek) I create rule in my router, save it and reboot. http://img825.imageshack.us/img825/4753/20120826214601.jpg (http://img825.imageshack.us/img825/4753/20120826214601.jpg), also i try to install BubbleUPnP Server? he shown that connection must be good, but i try to connect by host or external ip and again get error http://img36.imageshack.us/img36/6081/20120826214836.jpg (http://img36.imageshack.us/img36/6081/20120826214836.jpg). p2p programs shown that i also reachable from external.

P.S.  My friend go offline, so it's normal to test internert settgins (BubbleUPnP , or foo_upnp) from my second lan pc, of course it's also have internet connection through router.
Title: foo_upnp
Post by: powerpan on 2012-08-28 16:23:07
as I'm trying to not transcode, but still foo_upnp.dll did this, how I could turn off the transcode function?
streaming profile already set:
transcode : never without any expection
decodeing to pcm: never to wav

but still browsing the upnp dir with djmount,  shows ape as wav, don't know why.
Title: foo_upnp
Post by: Kefkiroth on 2012-08-30 03:59:12
Hello, I'm a little new to foobar and got this plugin hoping I'd be able to stream my music from my tower which is in a different room than my AV receiver.

Basically I have an Onkyo TX-NR809, and whenever I try to use the UPnP Controller to play music it keeps displaying "Resource not found (716)". I have it set to Net mode and I'm able to even browse my media servers with DLNA, but I can't play any music with foobar.

I also noticed that the UPnP Browser Selection is only capable of listing my MP3s, and none of my FLACs, but I'm still able to drag FLACs into the UPnP Controller Playback Queue. Surely FLAC should be streamable, right?

Any help?

Title: foo_upnp
Post by: Sandrine on 2012-08-30 07:14:27
Surely FLAC should be streamable, right?  Any help?

It might, but I'd be very surprised if your Onkyo could do it. Usually you have to convert to either WAV or PCM before streaming (the streaming profile takes care of that).
Title: foo_upnp
Post by: Kefkiroth on 2012-08-30 07:31:41
Surely FLAC should be streamable, right?  Any help?

It might, but I'd be very surprised if your Onkyo could do it. Usually you have to convert to either WAV or PCM before streaming (the streaming profile takes care of that).

Yeah, saw that the default streaming profile converts everything to wav unless it's mp3, wma, aac, or m4a. Maybe that's why the UPnP Browser only displays MP3s.

Though I still get a 'Resource not found (716)' error regardless if it's an MP3 or FLAC.

EDIT: By the way I'm able to stream to it via Windows Media Player with the "Play to" feature but that can't play FLAC and I'd rather use foobar for the job.
Title: foo_upnp
Post by: kristin32 on 2012-09-05 22:25:57
Bubleguuum, thanks for this very nice pluggin. I have had great success with foobar2000 and your pluggin on our home LAN using flac, mp3 and wav files with straight streaming and pcm decoding to wav. Just installed it for my brother who is very happy having used tveristy, wmp and winamp prior to this.

I have one problem that I have not been able to resolve; I have not been able to pcm decode my flac files and stream to a dsm 320 successfully. While testing, I found that I can not decode any type of file to wav and get it to play on this device. I feel comfortable that my setups are correct using the default profile only with never transcode and never pcm decode except flac files. The status messages indicate that the selections (mp3,wax,flac) are being accessed and processed properly but the client/server interface fails on transition when actually streaming the file.

Any hints or suggestions are appreciated.

Title: foo_upnp
Post by: afx21 on 2012-09-10 13:10:00
Surely FLAC should be streamable, right?  Any help?

It might, but I'd be very surprised if your Onkyo could do it. Usually you have to convert to either WAV or PCM before streaming (the streaming profile takes care of that).

Yeah, saw that the default streaming profile converts everything to wav unless it's mp3, wma, aac, or m4a. Maybe that's why the UPnP Browser only displays MP3s.

Though I still get a 'Resource not found (716)' error regardless if it's an MP3 or FLAC.

EDIT: By the way I'm able to stream to it via Windows Media Player with the "Play to" feature but that can't play FLAC and I'd rather use foobar for the job.


I'll post my settings tonight but I have no problem using a 809.
Title: foo_upnp
Post by: Kefkiroth on 2012-09-10 14:20:45
Surely FLAC should be streamable, right?  Any help?

It might, but I'd be very surprised if your Onkyo could do it. Usually you have to convert to either WAV or PCM before streaming (the streaming profile takes care of that).

Yeah, saw that the default streaming profile converts everything to wav unless it's mp3, wma, aac, or m4a. Maybe that's why the UPnP Browser only displays MP3s.

Though I still get a 'Resource not found (716)' error regardless if it's an MP3 or FLAC.

EDIT: By the way I'm able to stream to it via Windows Media Player with the "Play to" feature but that can't play FLAC and I'd rather use foobar for the job.


I'll post my settings tonight but I have no problem using a 809.

Thanks, that would definitely help, as I haven't messed around the settings much.
Title: foo_upnp
Post by: afx21 on 2012-09-12 01:39:33
Surely FLAC should be streamable, right?  Any help?

It might, but I'd be very surprised if your Onkyo could do it. Usually you have to convert to either WAV or PCM before streaming (the streaming profile takes care of that).

Yeah, saw that the default streaming profile converts everything to wav unless it's mp3, wma, aac, or m4a. Maybe that's why the UPnP Browser only displays MP3s.

Though I still get a 'Resource not found (716)' error regardless if it's an MP3 or FLAC.

EDIT: By the way I'm able to stream to it via Windows Media Player with the "Play to" feature but that can't play FLAC and I'd rather use foobar for the job.


I'll post my settings tonight but I have no problem using a 809.

Thanks, that would definitely help, as I haven't messed around the settings much.


Sorry for the delay.

(http://img839.imageshack.us/img839/93/fooupnpsettings809.png)

One thing though, any FLAC higher than 24/96 will play in slow motion, not sure why.  Since the 809 is not good at gapless playback, I use the playback stream capture all the time and I control foobar with foo_touchremote.
Title: foo_upnp
Post by: Kefkiroth on 2012-09-12 02:09:53
Sorry for the delay.

(http://img839.imageshack.us/img839/93/fooupnpsettings809.png)

One thing though, any FLAC higher than 24/96 will play in slow motion, not sure why.  Since the 809 is not good at gapless playback, I use the playback stream capture all the time and I control foobar with foo_touchremote.

Thanks for the settings, apparently I somehow accidentally set the 'Transcoding to MP3' and 'Decoding to PCM' both to never with no exceptions... really stupid mistake.
FLAC streaming seems flawless so far, and I don't have anything higher than 24/96 so that's not an issue.
Title: foo_upnp
Post by: Jubei on 2012-09-13 05:34:12
Just installed the plugin and downloaded BubbleuPnP on my Android handset. Was a breeze to setup - despite the so what intimidating settings screens on foobar, the plugin worked out of the box without any further tweaks to the settings. Changing the order of items on the Media Library Tree via the xml file was also straight forward enough. Overall, very happy with the plugin and will learn more about how the customize and get the most out of it.

Thanks.
Title: foo_upnp
Post by: dubwai on 2012-09-14 18:24:01
Request support APL (Monkey's Audio Image Link File) files by foo_upnp.

First of all thanks so much for this plugin, I use it every day, and very happy with it. But I use it to stream MP3  through internet to my laptop from home PC. But now I want to stream lossless to my tablet. I get failed because I tune library to get only APL file links. APL is analog of cue-sheet of Monkey’s Audio. Witch have link to file, and APE tags. So this solution allows me to seed ~1.3TB of music to different trackers without modification of original files and get proper tags in my media library. It’s very good solution because, after utorrrent finish download, my script automatic create track_file_name.apl for any file type (MP3 or FLAC) and I get in my library, tagged in few seconds with tagger (dicogs of MB) and still seed. Typically my APL file look like:

Code: [Select]
[Monkey's Audio Image Link File]
Image File=06 - Slice Of The Cake.flac
Start Block=0

----- APE TAG (DO NOT TOUCH!!!) -----
APETAGEXР  Ќ                         Track 6       Album Slice of the Cake        Artist Sugar Minott       Year 1984       Genre Reggae Dancehall       Replaygain_reference_loudness 89.0 dB       Title Slice of the Cake       Type Male       replaygain_album_gain -1.75 dB       replaygain_album_peak 0.999969       replaygain_track_gain -1.67 dB       replaygain_track_peak 0.934082APETAGEXР  Ќ         Ђ

Problem, is that foo_uPnP send to device this APL files, witch cannot played even in foobar2000, because file miss in the path. So may be possible to add option to turn on “resolve” of APL links, so foo_upnp send <REFERENCED_FILE> (http://img228.imageshack.us/img228/2835/20120914211741.jpg) intead of APL.

P.S. Also problem I have and when I stream mp3 through internet, because on lossy content I get upconverts.
Title: foo_upnp
Post by: Archetype on 2012-09-23 02:55:56
Quick question regarding PS3 streaming -

When I load up my playlist on my PS3, everything plays fine. Once I make changes to the foobar playlist on my computer, the changes aren't updated on the playstation until I re-start the server. Is this an error on my end or a limitation with the plugin?
Title: foo_upnp
Post by: war59312 on 2012-09-23 21:26:37
Been crashing a lot lately:

http://help.foobar2000.org/problem/bc08d95...8983799441a4c0c (http://help.foobar2000.org/problem/bc08d95dc4a8011438983799441a4c0c)
Title: foo_upnp
Post by: gob on 2012-09-29 05:55:43
Hi, I'm trying to connect foo_upnp client and server through a router. I'm using internal port 56923 and a different external port, 61120. I'm able to connect to the server and browse through my playlists and library, but when I try to play a track, it hangs, and I get a "Could not connect to host" error where the port number in the url matches the internal port, I would think this should match the external port.

I would like to use a the standard port internally so that it's compatible with other devices, but a different port externally for security reasons. Is this not possible or am I doing something wrong?
Title: foo_upnp
Post by: dryphi on 2012-09-30 20:15:57
WDTV Live Plus & song title display

Hi, I recently started using this plugin using F2K 1.1.5 and a WDTV Live Plus.  This plugin is great and much better than the way the firmware handles music.

I have a couple concerns regarding the way songs are displayed using the Media Server function on the WDTV.  Only the song title is displayed!  No artist, album, etc.
I went to Tools / UPnP / Server / Content and changed the "Format track titles using:" box to the following
Code: [Select]
%artist% (%date%) %album% - %title%

And now the WDTV displays only the artist!  No track title, no date, no album, etc.
This makes it frustrating to browse through the music for obvious reasons.

How do I make the WDTV Live Plus display the full track title when browsing through on Media Server mode?


Also the Streaming function is good in theory, but I stopped using it because the music drops in and out after a couple songs and then drops out entirely 
Title: foo_upnp
Post by: Erich_2 on 2012-10-01 12:53:47
... changed the "Format track titles using:" box to the following
Code: [Select]
%artist% (%date%) %album% - %title%

And now the WDTV displays only the artist!  No track title, no date, no album, etc.

Try
Code: [Select]
%artist% '('%date%')' %album% - %title%
Title: foo_upnp
Post by: dryphi on 2012-10-02 04:07:12
Try
Code: [Select]
%artist% '('%date%')' %album% - %title%


Whaddya know!  That did the trick.  Thanks so much. I ended up going with:
Code: [Select]
$if([%album artist%],%album artist%,%artist%)' - '%album%' - '%date%' - '%title%

I wonder if there's a way to put a character limit in there for the long album titles.


Does anyone have any ideas as to why the Playback Stream Capture function drops in and out after a couple of songs?
Title: foo_upnp
Post by: jake.sadie on 2012-10-09 17:30:54
I am loving this plugin for use on my home network but I am having some trouble getting access to my server from my remote work computer. I have confirmed that my ports are forwarded properly and they are sen as open (with various port scanner tools as well as going to http://myIP:myport (http://myIP:myport) and getting the blank screen that I expected to get), but when I try to connect to my server from a location outside of my home network, I get an error box saying 'Could not connect to remote Internet server' still. I have tried to read through as much of this thread to see if I can troubleshoot this myself, but I have not found any advice that has lead me to success. Are there any suggestions you might be able to offer?

I have tried with and without my firewalls on. I have confirmed the open port. The webpage is blank when I go to the server through a browser. The server works perfectly on my local network. I am not sure what else I need to do.

Thanks!
Title: foo_upnp
Post by: jake.sadie on 2012-10-10 02:52:04
I am loving this plugin for use on my home network but I am having some trouble getting access to my server from my remote work computer. I have confirmed that my ports are forwarded properly and they are sen as open (with various port scanner tools as well as going to http://myIP:myport (http://myIP:myport) and getting the blank screen that I expected to get), but when I try to connect to my server from a location outside of my home network, I get an error box saying 'Could not connect to remote Internet server' still. I have tried to read through as much of this thread to see if I can troubleshoot this myself, but I have not found any advice that has lead me to success. Are there any suggestions you might be able to offer?

I have tried with and without my firewalls on. I have confirmed the open port. The webpage is blank when I go to the server through a browser. The server works perfectly on my local network. I am not sure what else I need to do.

Thanks!



Okay, simple fix. Somehow my settings were reset and my internet access was disabled from my home foobar server. I didn't realize it was somehow unchecked. Sorry for what turned out to be added noise.
Title: foo_upnp
Post by: rboss on 2012-10-13 21:11:48
Hello everybody. If someone can help me I would be very grateful.
I'm tyring to use foobar + foo_upnp to create a media server to access my music remotely.

I have FB installed both on a 'server' PC (my home pc) and on a pen drive for remote access. Both are latest versions installed in portable mode (not sure if that's important), and both have the latest UPnP plugin.

I have Internet access enabled on the server pc, and I can perfectly login and access the UPnP Browser tree view and stream my music on the client side. No problems there.

However (and that's my main issue) SEARCH doesn't seem to be working. If I use a laptop on my home network, it's fine (FB client can discover, browse, play and search perfectly fine); only on remote connection I'm unable to use a search query.

I've browsed the forum and, as far as I can verify everything is well configured, i.e. the note in the UPnP plugin documentation:

"At the moment, Search is supported only on remote foobar2000 media servers running this plugin ",

doesn't seem to be an issue.
Has anybody had the same problem? What can I do?

Thank you.
Title: foo_upnp
Post by: amatala on 2012-10-16 15:25:22
Hello,

Just a quick question - is there any audio quality loss when using playback stream capture with the same settings as the original track? e.g. If Foobar is playing a 44.1K/16bit WAV file and playback stream capture is configured to send the same format 44.1K/16bit WAV, is that a bit-perfect stream or is there any D/A - A/D conversion involved?

Thanks!
Title: foo_upnp
Post by: rboss on 2012-10-19 23:49:37
Hello everybody. If someone can help me I would be very grateful.
I'm tyring to use foobar + foo_upnp to create a media server to access my music remotely.

I have FB installed both on a 'server' PC (my home pc) and on a pen drive for remote access. Both are latest versions installed in portable mode (not sure if that's important), and both have the latest UPnP plugin.

I have Internet access enabled on the server pc, and I can perfectly login and access the UPnP Browser tree view and stream my music on the client side. No problems there.

However (and that's my main issue) SEARCH doesn't seem to be working. If I use a laptop on my home network, it's fine (FB client can discover, browse, play and search perfectly fine); only on remote connection I'm unable to use a search query.

I've browsed the forum and, as far as I can verify everything is well configured, i.e. the note in the UPnP plugin documentation:

"At the moment, Search is supported only on remote foobar2000 media servers running this plugin ",

doesn't seem to be an issue.
Has anybody had the same problem? What can I do?

Thank you.


Another quick UPnP question: If I'm using UPnP Controller, and create a UPnP Controller Queue, I can "order" a remote renderer (in this example, another foobar2000 client on LAN) to play that playlist. But if on the client side I press Stop or start a music on that client library, the only thing that happens is that the Controller Queue playlist jumps to the next song. So, if I'm not mistaken, the only way to stop a UPnP Controller stream from the client side is to go to options>UPnP and disable Media Renderer. Right?
Title: foo_upnp
Post by: afx21 on 2012-10-22 16:54:12
Try
Code: [Select]
%artist% '('%date%')' %album% - %title%


Whaddya know!  That did the trick.  Thanks so much. I ended up going with:
Code: [Select]
$if([%album artist%],%album artist%,%artist%)' - '%album%' - '%date%' - '%title%

I wonder if there's a way to put a character limit in there for the long album titles.


Does anyone have any ideas as to why the Playback Stream Capture function drops in and out after a couple of songs?


I think it's due to the server not having enough buffer.  I'm having the same problem if I'm using Playback Stream Capture and scrolling my playlist at the same time, it cuts out and has artifacts. 

Does anyone know how to increase the server buffer size for PSC?
Title: foo_upnp
Post by: DerJohannes on 2012-11-04 09:05:15
foo_upnp problem: UPnP Media Server could not be started. Port 56923 might be in use by another application

foobar2000 (v1.1.15) / foo_upnp (v0.99.40)  is started on my computer automatically at boot time.

However, I frequently get the message "UPnP Media Server could not be started. Port 56923 might be in use by another application", which prevents the server from starting.

The interesting thing is, that it's foobar2000/foo_upnp itself that is occupying this port! If I do a "netstat -anob", I get the following:

###
  TCP    0.0.0.0:56923          0.0.0.0:0              ABHOEREN        3268
[foobar2000.exe]
###

I assume that it's the foo_upnp server that is occupying this port, because: Which other component of foobar2000 should be doing this instead?

A simple shutdown and restart of foobar2000/foo_upnp usually fixes this kind of situation.

If it's foobar2000/foo_upnp itself that is blocking that port, then foobar2000/foo_upnp should somehow be able to solve this problem without the need of user interaction.

What do you think?


Thank you very much for this great software!

Kind regards,
Johannes
Title: foo_upnp
Post by: charley on 2012-11-06 04:56:52
Hey great work with foo_upnp,

I'm currently having it set up so I don't need to store music on my tiny ssd drive on my laptop

One annoyance which I'm pretty sure is just because I don't know how to use it, but I can't seem to get the browser to work with the keyboard

Pressing enter or the menu key all doesn't do anything and I seem to have to use the mouse in order to do anything.

Is there a way around this?

Thanks
Title: foo_upnp
Post by: redmaw on 2012-11-08 05:20:36
Hi,

When clicking on View>UPnP Browser all I get is the following image:

(http://img694.imageshack.us/img694/3784/capturepyu.png) (http://imageshack.us/photo/my-images/694/capturepyu.png/)

It stays like that for at least several minutes (until I close the window). I enabled logging and re-opened the UPnP browser and no log file was made. Anyone know why it is not working?

Thanks,

redmaw
Title: foo_upnp
Post by: redmaw on 2012-11-09 03:16:43
nvm I got it to work. Had to use a the proxy server feature on bubbleUPnP.
Title: foo_upnp
Post by: bubbleguuum on 2012-11-09 18:51:56
foo_upnp 0.99.41 is available (see first post of this topic for download link):


0.99.41


Title: foo_upnp
Post by: psme on 2012-11-10 16:50:37
Thanks for the great update!

What is "gapless support" support in renderer and controller? Do you mean now foobar2000 upnp Renderer works like a Linn DS with on device Playlist? And foobar2000 upnp Controller can now use Linn DS Playlist service?

Or this "gapless support" is for generic UPnP operation, with "SetNextAVTransportURI" function? If so, what other generic Renderer/Controller support "SetNextAVTransportURI"?

Thanks in advance!
Title: foo_upnp
Post by: bubbleguuum on 2012-11-11 10:13:20
What is "gapless support" support in renderer and controller? Do you mean now foobar2000 upnp Renderer works like a Linn DS with on device Playlist? And foobar2000 upnp Controller can now use Linn DS Playlist service?

Or this "gapless support" is for generic UPnP operation, with "SetNextAVTransportURI" function? If so, what other generic Renderer/Controller support "SetNextAVTransportURI"?


It means the renderer is still a regular UPnP AV renderer but with gapless playback capabilty (through action SetNextAVTransportURI), provided it is controlled by a gapless controller. Nothing to do with how Linn DS implement gapless here.
In particular that means that you can control the renderer gaplessly from another foo_upnp 0.99.41 instance on the network where previously you would have gaps.

Other UPnP AV renderers that foo_upnp can play to gaplessly: JRiver Media Center, Android BubbleUPnP 1.6.1+ (must run on Android 4.1 and gapless playback must be enabled in it settings), WhiteBear (untested), gmrenderer-resurrect (https://github.com/hzeller/gmrender-resurrect), and other hardware renderers implementing SetNextAVTransportURI (untested and not guaranteed to work due to possible bugs in implementation).

Other UPnP AV controllers that can control the foo_upnp renderer gaplessly (besides foo_upnp): JRiver Media Center, Android BubbleUPnP 1.6.1+, possible other ones that I do not know about.

Title: foo_upnp
Post by: psme on 2012-11-11 12:37:06
Thanks for the excellent explanation! So foobar2000 UPnP plugin is now as good as ever!

On the other hand, will you consider supporting Linn style (openHome implementation) features? Besides gapless playback, with "on device playlist", a renderer can continue playing without an active controller. Also there are more controllers (kinsky, plugplayer etc) support Linn's implementation.
Title: foo_upnp
Post by: bubbleguuum on 2012-11-11 12:39:49
Thanks for the excellent explanation! So foobar2000 UPnP plugin is now as good as ever!

On the other hand, will you consider supporting Linn style (openHome implementation) features? Besides gapless playback, with "on device playlist", a renderer can continue playing without an active controller. Also there are more controllers (kinsky, plugplayer etc) support Linn's implementation.


Not directly as it is already provided by BubbleUPnP Server, for any UPnP AV renderer.
Title: foo_upnp
Post by: psme on 2012-11-11 15:04:58
Understood! And thanks again for the great effort!
Title: foo_upnp
Post by: myvision on 2012-11-12 21:09:44
Usinf this the first time, works like a charm. One thing I noticed:

I turned on scrobbling in BubbleUpnp, but then it came to scrobbling twice every song because of scrobbling the song via Bubbleupnp and via audioscrobbler plug-in in foobar. Is there a workaround for this instead of turning it on and off every time?
Title: foo_upnp
Post by: bubbleguuum on 2012-11-13 10:33:04
Usinf this the first time, works like a charm. One thing I noticed:

I turned on scrobbling in BubbleUpnp, but then it came to scrobbling twice every song because of scrobbling the song via Bubbleupnp and via audioscrobbler plug-in in foobar. Is there a workaround for this instead of turning it on and off every time?


No workaround. You may want to just turn it off in BubbleUPnP. But then you will get no scrobbling when playing locally.
Title: foo_upnp
Post by: myvision on 2012-11-13 15:08:31
Usinf this the first time, works like a charm. One thing I noticed:

I turned on scrobbling in BubbleUpnp, but then it came to scrobbling twice every song because of scrobbling the song via Bubbleupnp and via audioscrobbler plug-in in foobar. Is there a workaround for this instead of turning it on and off every time?


No workaround. You may want to just turn it off in BubbleUPnP. But then you will get no scrobbling when playing locally.



Thanks a lot for the fast reply. Is this possible for the next versions? Either turning off scrobbling in foo_upnp oder BubbleUpnp when connected to a "Player" like foobar?
Title: foo_upnp
Post by: KAB123 on 2012-11-13 16:01:12
Hi.
I'm trying to access my internet BubbleUPnP Server, and I can't browse or search using foobar2000. The library just seems to be empty.
When connecting to the same server (using the same credentials and address) using BubbleUPnP for Android, browsing through the library works, so I guessed this wasn't a problem with BubbleUPnP.
I could send over a log if necessary.
Thank you!
Title: foo_upnp
Post by: sm;)e on 2012-11-14 18:44:40
foo_upnp 0.99.41 is available (see first post of this topic for download link): […]
  • do not discard port 1024 for SSDP discovery to be able to discover tuxbox / neutrino (dbox2) setups using this port

Thanks a lot for that fix to you and the Platinum guy. :)
Title: foo_upnp
Post by: bubbleguuum on 2012-11-15 13:29:16
Hi.
I'm trying to access my internet BubbleUPnP Server, and I can't browse or search using foobar2000. The library just seems to be empty.
When connecting to the same server (using the same credentials and address) using BubbleUPnP for Android, browsing through the library works, so I guessed this wasn't a problem with BubbleUPnP.
I could send over a log if necessary.
Thank you!

I'm not sure I understand you exactly.

When you enter BubbleUPnP Server settings in the "Add remote Internet server..." dialog, does it get added to
the UPnP Browser (as a node starting with "BubbleUPnP Server") ?
Or is your problem something else ?
Title: foo_upnp
Post by: bubbleguuum on 2012-11-15 13:31:04
Thanks a lot for the fast reply. Is this possible for the next versions? Either turning off scrobbling in foo_upnp oder BubbleUpnp when connected to a "Player" like foobar?


Turning off scrobbling in foo_upnp is not possible as it is done automatically by the foo_audioscrobller plugin without foo_upnp intervention.
Disabling scrobbling in the app would be possible but would require per renderer scrobbling settings, so unlikely.
Title: foo_upnp
Post by: chronomitch on 2012-11-16 02:40:46
I think I may have found a bug.

After I upgraded to the latest version (0.99.41), my remote Internet Foobar2000 server is not reconnecting on startup, even though I have checked the "reconnect on startup" box. Instead, I must connect manually every time I start Foobar2000. It was working correctly with previous versions. I am currently running 0.99.41 on both my Foobar2000 server and Foobar2000 client.

In addition, there is another issue that has been around for some time now (not just the latest version). My current setup consists of a Foobar2000 server running at my home. I connect to it remotely using a Foobar2000 client at my workplace. Unfortunately, several other people at my workplace seem to be running UPnP servers (about 5-7 servers on a very large LAN). These UPnP servers connect slowly (I don't know why), but this causes my Foobar client to hang upon startup. I usually need to wait 15-20 seconds (sometimes more) until all of the servers have connected successfully and show up in the window. Would it be possible to perform the UPnP discovery and connection attempts in a separate thread to prevent Foobar from hanging? Or perhaps you could provide the option to turn off local UPnP discovery, since I only need to connect to a remote server.

Anyway, thanks for developing this plugin. It really beats transcoding all of my music to MP3s and syncing them to an iPod or other device.
Title: foo_upnp
Post by: bubbleguuum on 2012-11-16 07:56:55
I think I may have found a bug.

After I upgraded to the latest version (0.99.41), my remote Internet Foobar2000 server is not reconnecting on startup, even though I have checked the "reconnect on startup" box. Instead, I must connect manually every time I start Foobar2000. It was working correctly with previous versions. I am currently running 0.99.41 on both my Foobar2000 server and Foobar2000 client.

In addition, there is another issue that has been around for some time now (not just the latest version). My current setup consists of a Foobar2000 server running at my home. I connect to it remotely using a Foobar2000 client at my workplace. Unfortunately, several other people at my workplace seem to be running UPnP servers (about 5-7 servers on a very large LAN). These UPnP servers connect slowly (I don't know why), but this causes my Foobar client to hang upon startup. I usually need to wait 15-20 seconds (sometimes more) until all of the servers have connected successfully and show up in the window. Would it be possible to perform the UPnP discovery and connection attempts in a separate thread to prevent Foobar from hanging? Or perhaps you could provide the option to turn off local UPnP discovery, since I only need to connect to a remote server.

Anyway, thanks for developing this plugin. It really beats transcoding all of my music to MP3s and syncing them to an iPod or other device.



Thanks for reporting, I've fixed both issues for 0.99.42 (not too far off).
Auto reconnect is indeed not working in 0.99.41. And when it worked in previous versions, it could block foobar2000 main thread (UI) in some cases, when other UPnP devices are not responding timely.
Title: foo_upnp
Post by: rboss on 2012-11-16 22:06:19
Hello, bubbleguuum and everyone at the forum.

First off, thank you bubbleguuum for the remote server restart function on UPnP v0.99.41. Last week I've been tinkering with my media library tree and I could seriously have used it back then. Oh well.

Anyway, I was curious about my current media library tree, so I've decided to venture on editing the xml. Main reason was that I (like many out there, I guess) have an imperfect library, with many tracks without sufficient metadata info (no artist, no album, no genre, etc.), and would be (somewhat) more difficult to find on a remote acess (which I use, by the way).

So, I came up with the following (and I had no previous experience with xml scripting):

<SubTree label="Tracks">
<spec>$trim($caps($padcut(%title%,3)))_</spec>
</SubTree>

This creates the "Tracks" node, which in turn displays all tracks in the library, first by the first letter of the title (using the split tree nodes function), and then by the first 3 letters from the track, followed by "_". I'm hoping to improve this, by adding all titles starting with numbers on a separate node ("[0-9]" for example), and the same for all non-letter-starting titles (with ..., ( , [ , ?,etc.). The original nodes achive this (with the [Other] subnode, which is what I'm trying to replicate.

I'm guessing it has something to do with object containers, but I'm not proficient enough in scripting to be sure.
Is it possible?
Title: foo_upnp
Post by: dugq on 2012-11-16 22:23:30
Hi, first off, thanks for the plugin and bubbleupnp. I've been using them for the last few days and while most things are working fine there's one problem (and apologies in advance if this has already been answered, I did look. Sometimes the first track in a queue will repeat itself. This is only intermittent, although I can't pin down any specific circumstance that cause it. Bubble reports the correct next playing track, it just isn't played next when the first track ends.

Thanks for any help you can offer. I'm using the latest versions of foobar, upnp and bubble. Foobar is both server and renderer.

Cheers

Doug
Title: foo_upnp
Post by: bubbleguuum on 2012-11-17 11:38:54
Hi, first off, thanks for the plugin and bubbleupnp. I've been using them for the last few days and while most things are working fine there's one problem (and apologies in advance if this has already been answered, I did look. Sometimes the first track in a queue will repeat itself. This is only intermittent, although I can't pin down any specific circumstance that cause it. Bubble reports the correct next playing track, it just isn't played next when the first track ends.

Thanks for any help you can offer. I'm using the latest versions of foobar, upnp and bubble. Foobar is both server and renderer.

Cheers

Doug


Known bug introduced in 0.99.41 due to gapless support. Will fix for 0.99.42.
Title: foo_upnp
Post by: dugq on 2012-11-17 12:37:20
Hi, first off, thanks for the plugin and bubbleupnp. I've been using them for the last few days and while most things are working fine there's one problem (and apologies in advance if this has already been answered, I did look. Sometimes the first track in a queue will repeat itself. This is only intermittent, although I can't pin down any specific circumstance that cause it. Bubble reports the correct next playing track, it just isn't played next when the first track ends.

Thanks for any help you can offer. I'm using the latest versions of foobar, upnp and bubble. Foobar is both server and renderer.

Cheers

Doug


Known bug introduced in 0.99.41 due to gapless support. Will fix for 0.99.42.


Thanks
Title: foo_upnp
Post by: myvision on 2012-11-18 16:00:10
Maybe I found a bug (or a feature).

Everytime I close foobar no matter which playlist is open and reopen it always the playlist of "Upnp controller" is the standard playlist. When I remove this playlist, this behaviour doesn't occur. Is this only a setting?
Title: foo_upnp
Post by: klausb on 2012-11-21 20:57:15
I'm browsing the UPNP lib served by foobar2k using a Yamaha AV-Receiver. Everything works great, but I have this little wish: Is it possible to get rid of the MediaLibrary folder that is shown when I'm browsing the library?

The receiver (and also the iPad soft PlugPlayer) shows always the MediaLibrary folder which I have to select before getting Albums, Artists etc.

Any tricks to skip this extra level?

Regards,
klaus.
Title: foo_upnp
Post by: joaquim_bs on 2012-11-23 13:46:35
Hello,

Here is one thing that should be improved, from my point of view.

When you select a Music Render from de Controller, it automatically subscribes to RenderingControl service. Well, it would be nice that when you close Controller (or exits foobar) it unsubscribe from all active subscriptions, just to keep the house clean.

EDIT: or at least let the user select the value for header "Timeout: Second-XXX" where XXX now it's 1800 (30 minutes)

That's it. I think you are doing a tremendous job here. Actually I am using foobar2000 + this complement as main test tool for a new device I am working on (well, the company I work for...  )
Title: foo_upnp
Post by: HMHS on 2012-11-27 18:33:01
Hello,

I hope I'm posting this on the right thread. I'm next to illiterate when it comes to streaming / server stuff.
I was using Foobar2000 with the upnp component to stream music (including FLACs) to my WDTV Live Hub from my PC (Win 7 64bit). It worked fine for over a year, but now, with no apparent reason, it stopped working. I've installed newer versions of all software to no avail.
The "UPNP controller" window recognizes the WDTV and I can select it as the target device. However, when I press play nothing happens. The music doesn't play, and the controller reads "stopped." I've fiddled around with the settings, but nothing seems to work. Curiously I can access the Foobar2000 server and playlists from my WDTV end, but since I want to play music without the TV being on this doesn't help.

Any advice would be appreciated.


This is from my foo_upnp.log file.

  0.000: foo_upnp::on_init(199)/6344: INFO: foo_upnp: version 0.99.41
0.003: PLT_UPnP::Start(150)/6344: INFO: Starting UPnP...
0.003: media_tree_root_node_t::load_ml_filters_from_file(188)/6344: INFO: file C:\Users\Avenius\AppData\Roaming\foobar2000\foo_upnp_ml_tree.xml do not exists
0.004: standard_media_tree_root_node_t::load_ml_filters(579)/6344: INFO: loaded default Media Library filters
0.011: PLT_UPnP::AddDevice(224)/6344: INFO: Starting Device...
0.011: PLT_HttpServer::Start(127)/6344: INFO: HttpServer listening on 0.0.0.0:56923
0.013: PLT_UPnP::AddDevice(224)/6344: INFO: Starting Device...
0.013: PLT_HttpServer::Start(127)/6344: INFO: HttpServer listening on 0.0.0.0:1598
initialized in 0.017s
0.120: FbMediaServer::CheckAuthentication(397)/6924: INFO: received LAN request: http://192.168.0.11:56923/DeviceDescription.xml (http://192.168.0.11:56923/DeviceDescription.xml) (User-Agent: INTEL_NMPR/2.1 DLNADOC/1.50 Intel MicroStack/1.0.1423)
0.131: FbMediaServer::CheckAuthentication(397)/6924: INFO: received LAN request: http://192.168.0.11:56923/X_MS_MediaReceiv...3941ec/scpd.xml (http://192.168.0.11:56923/X_MS_MediaReceiverRegistrar/59e4debe-ec8f-00bd-54f8-26d8e63941ec/scpd.xml) (User-Agent: INTEL_NMPR/2.1 DLNADOC/1.50 Intel MicroStack/1.0.1423)
0.138: FbMediaServer::CheckAuthentication(397)/6924: INFO: received LAN request: http://192.168.0.11:56923/ConnectionManage...3941ec/scpd.xml (http://192.168.0.11:56923/ConnectionManager/59e4debe-ec8f-00bd-54f8-26d8e63941ec/scpd.xml) (User-Agent: INTEL_NMPR/2.1 DLNADOC/1.50 Intel MicroStack/1.0.1423)
0.152: FbMediaServer::CheckAuthentication(397)/6924: INFO: received LAN request: http://192.168.0.11:56923/ContentDirectory...3941ec/scpd.xml (http://192.168.0.11:56923/ContentDirectory/59e4debe-ec8f-00bd-54f8-26d8e63941ec/scpd.xml) (User-Agent: INTEL_NMPR/2.1 DLNADOC/1.50 Intel MicroStack/1.0.1423)
created 21712 path registry entries in 0.423s
0.506: FbMediaServer::CheckAuthentication(397)/6680: INFO: received LAN request: http://127.0.0.1:56923/DeviceDescription.xml (http://127.0.0.1:56923/DeviceDescription.xml) (User-Agent: FDSSDP)
3.3138: FbMediaServer::CheckAuthentication(397)/5236: INFO: received LAN request: http://127.0.0.1:56923/DeviceDescription.xml (http://127.0.0.1:56923/DeviceDescription.xml) (User-Agent: Microsoft-Windows/6.1 UPnP/1.0 Windows-Media-Player-DMS/12.0.7601.17514 DLNADOC/1.50)
loaded Media Library tree in 3.823s
4.4689: PLT_UPnP::Stop(191)/6344: INFO: Stopping UPnP...
4.4739: PLT_HttpListenTask::DoRun(491)/2668: WARNING: PLT_HttpListenTask exiting with -20021 (NPT_ERROR_CANCELLED)
4.4739: PLT_HttpServerSocketTask::Read(195)/6680: WARNING: NPT_CHECK failed, result=-20021 (NPT_ERROR_CANCELLED) [(res)]
4.4739: PLT_HttpServerSocketTask::Read(195)/2208: WARNING: NPT_CHECK failed, result=-20021 (NPT_ERROR_CANCELLED) [(res)]
4.4842: PLT_HttpListenTask::DoRun(491)/3548: WARNING: PLT_HttpListenTask exiting with -20021 (NPT_ERROR_CANCELLED)
4.4842: PLT_HttpServerSocketTask::Read(195)/6796: WARNING: NPT_CHECK failed, result=-20021 (NPT_ERROR_CANCELLED) [(res)]
4.4842: PLT_HttpServerSocketTask::Read(195)/5804: WARNING: NPT_CHECK failed, result=-20021 (NPT_ERROR_CANCELLED) [(res)]
4.4895: PLT_HttpServerSocketTask::Read(195)/6888: WARNING: NPT_CHECK failed, result=-20021 (NPT_ERROR_CANCELLED) [(res)]
Title: foo_upnp
Post by: joaquim_bs on 2012-11-28 08:19:02
Hello!

Another kind of bug:

You are playing a song through Controller, put Pause and then, from foobar2000 playlist you right-click to a different song -> UPnP Controller -> Play on UPNP_DEVICE and what you get is a resume from old song in Pause instead of a Play of the new selected song.

Bye!
Title: foo_upnp
Post by: bubbleguuum on 2012-11-28 17:35:30
When you select a Music Render from de Controller, it automatically subscribes to RenderingControl service. Well, it would be nice that when you close Controller (or exits foobar) it unsubscribe from all active subscriptions, just to keep the house clean.


It does already that. Subscriptions are unsubscribed on renderer change, panel removal or exiting the app.
Title: foo_upnp
Post by: bubbleguuum on 2012-11-28 17:43:09
Hello,

I hope I'm posting this on the right thread. I'm next to illiterate when it comes to streaming / server stuff.
I was using Foobar2000 with the upnp component to stream music (including FLACs) to my WDTV Live Hub from my PC (Win 7 64bit). It worked fine for over a year, but now, with no apparent reason, it stopped working. I've installed newer versions of all software to no avail.


Even if you do not have that exact model, there's a bug with the latest WDTV Live Streaming firmware that prevents FLAC to play (bug report (http://community.wdc.com/t5/WD-TV-Live-Streaming-Issue/Can-t-use-bubblesoftupnp-or-WDTVMediaHD-on-latest-firmware/idi-p/501588#M4372))
The only solution is to revert to the previous firmware.

You can also try the previous version (0.99.40) of the plugin and report if it works (link (http://bubbleguuum.free.fr/foo_upnp/0.99.40/foo_upnp.zip))

Title: foo_upnp
Post by: bubbleguuum on 2012-11-28 17:44:04
You are playing a song through Controller, put Pause and then, from foobar2000 playlist you right-click to a different song -> UPnP Controller -> Play on UPNP_DEVICE and what you get is a resume from old song in Pause instead of a Play of the new selected song.


Ok, thanks for reporting.
Title: foo_upnp
Post by: HMHS on 2012-11-30 13:07:09
Thanks a lot for the info! It seems that I had only been trying with FLACs since I know noticed that streaming MP3s works fine. I hope WDTV fixes the problem.

Cheers



Hello,

I hope I'm posting this on the right thread. I'm next to illiterate when it comes to streaming / server stuff.
I was using Foobar2000 with the upnp component to stream music (including FLACs) to my WDTV Live Hub from my PC (Win 7 64bit). It worked fine for over a year, but now, with no apparent reason, it stopped working. I've installed newer versions of all software to no avail.


Even if you do not have that exact model, there's a bug with the latest WDTV Live Streaming firmware that prevents FLAC to play (bug report (http://community.wdc.com/t5/WD-TV-Live-Streaming-Issue/Can-t-use-bubblesoftupnp-or-WDTVMediaHD-on-latest-firmware/idi-p/501588#M4372))
The only solution is to revert to the previous firmware.

You can also try the previous version (0.99.40) of the plugin and report if it works (link (http://bubbleguuum.free.fr/foo_upnp/0.99.40/foo_upnp.zip))

Title: foo_upnp
Post by: skace on 2012-11-30 14:20:16
Bubbleguum, is there a place/preference/setting where I can feed foo_upnp a path to non-embedded artwork for album art streaming?
Title: foo_upnp
Post by: mrkazoodle on 2012-12-02 11:20:57
When playing music from my NAS on PC 1 and controlling playback from PC2, I can change the volume, pause and play, but I cannot skip to the next track.
It would also be handy if I could minimize foobar without minimizing the upnp control window along with it.
Title: foo_upnp
Post by: Borisz on 2012-12-02 23:43:59
Suggestion: make the http:// or https:// prefix a dropdown box on the "add remote UPnP server" page. It took me hours to figure out that I couldn't connect with just my domain:port alone, I went through practically every single network related option before I noticed that the example mentions a http:// prefix.
Title: foo_upnp
Post by: Borisz on 2012-12-03 02:04:34
Also, would it be possible to make the playlist entries load on-the-fly instead all-at-once? For example, in increments of 100 entries as I scroll down? Loading my bigger playlists (15k entries) through internet takes many minutes, even with the server machine having a fast cpu and 25mbit upload.
Title: foo_upnp
Post by: joaquim_bs on 2012-12-03 16:20:11
When you select a Music Render from de Controller, it automatically subscribes to RenderingControl service. Well, it would be nice that when you close Controller (or exits foobar) it unsubscribe from all active subscriptions, just to keep the house clean.


It does already that. Subscriptions are unsubscribed on renderer change, panel removal or exiting the app.


Ok, it's weird because I only get unsubscribed on render change; panel removal or FB2K exit does not unsubscribe me from anywhere. I cheked it on FB2K 1.1.16 and foo_upnp 0.99.41.

I'll do more testing ASAP.

Thanks!
Title: foo_upnp
Post by: SpyGuy on 2012-12-07 18:04:40
I'm having problems using this plugin with Xbox 360. My library is 50% Apple Lossless and 50% MP3, there are only a handful of songs in WMA or AAC. The xbox sees the library just fine and will play anything that is not lossless. The only way I can get my Apple Lossless to play, is to set up Foobar to always transcode to MP3. If I try the whole "always decode to LPCM" and except WMA, MP3 and AAC, the lossless will not play. Any suggestions?
Title: foo_upnp
Post by: sanyigz on 2012-12-10 00:55:35
hi

since the last plugin update i have some problems with this plugin. I try to use it with an android device. Before the update, it just worked. But now, if i start the upnp server, and then check it from the android device(using upnplay app), the server isn't in list. But if i stop and start the server, it immediately appears in the app, and works as is should. But if i quit from the upnp client, and start it again, i need to restart the upnp server in foobar too, to make it appear. It seems this server plugin only broadcasts once that "im here", when the server is started.

Why is this? Is there a fix for it?
Title: foo_upnp
Post by: DerJohannes on 2012-12-10 06:39:33
The UPnP Media Server could not be started. Port 56923 *might* be in use by another application or foo_upnp instance.

I am still facing this error message, almost on every start of foobar2000. foobar2000 (v1.1.16) / foo_upnp (v0.99.41) is started on my computer automatically at boot time. When this message appears, the foo_upnp server cannot be started, and therefore foobar2000 is not found by UPNP clients like "BubbleUPnP".

I already reported this phenomenon in posting 69664/813221 (http://www.hydrogenaudio.org/forums/index.php?showtopic=69664&pid=813221&mode=threaded&start=1600#entry813221) of Nov 4 2012.

Does anyone have a hint how I can solve this problem? Am I the only person facing this problem?

Interestingly, the error message text slightly changed in the very last version of the foo_upnp plugin:

v0.99.40: "UPnP Media Server could not be started. Port 56923 might be in use by another application"
v0.99.41: "The UPnP Media Server could not be started. Port 56923 *might* be in use by another application or foo_upnp instance."
Title: foo_upnp
Post by: sanyigz on 2012-12-11 01:58:57
now i've found the problem... the junk Cisco EPC3925 cable modem/route, which block the mulicast packets between lan and wlan.
Title: foo_upnp
Post by: sanyigz on 2012-12-11 17:50:04
Can you make a workaround for this problem? A lot of users have the same problems around the world with this modem-router, and cisco don't cares about it as usual.
But as i wrote, the server appears on clients when it's started, i don't know how it's work, but it would be nice if we have an option that advertises the server with that method, instead of the standard multicast method.
Title: foo_upnp
Post by: bsauvage on 2012-12-13 14:09:33
Guys, need some help here, quite new at this. Using foobar2000 on my pc to see the music stored on my NAS (no problem). then using upnp to stream it to my Oppo BDP-105.
Setup all ok, seeing the Oppo from foobar, selecting playback stream capture, then Oppo has screen with neverending wheel saying 'buffering' and never actually plays any music...
Any thoughts on what I may have done wrong ?

Btw, from the oppo I can see
Title: foo_upnp
Post by: bsauvage on 2012-12-13 14:29:49
Guys, need some help here, quite new at this. Using foobar2000 on my pc to see the music stored on my NAS (no problem). then using upnp to stream it to my Oppo BDP-105.
Setup all ok, seeing the Oppo from foobar, selecting playback stream capture, then Oppo has screen with neverending wheel saying 'buffering' and never actually plays any music...
Any thoughts on what I may have done wrong ?

Btw, from the oppo I can see

Actually IT WORKS (after a restart of the Oppo). BUT the playback stream capture can only be streamed in LPCM (anybody knows why?)

Title: foo_upnp
Post by: xeroxcat on 2012-12-17 01:41:26
bubbleguum,

I haven't tried this plugin recently due to the issues that I'd been having with the PS3, but for whatever reason I decided to give it a shot today. I'm using the newest (9.6.8) release of Foobar and the most recent release (.99.6) of the plugin. I am using the Playstation 3 preset on the plugin. My PS3 seems to connect to the server just fine, but when I go to playlists and select one of my playlists (all of which appear as they should), the PS3 spends a long time working, then says that there are no titles. The same thing happens when I go to albums on the PS3. Before, I could at least view the music and attempt to play it, but with some skipping when streaming PCM. Transcoding to MP3 yielded an unsupported format error on the PS3. I know that last I'd seen, you didn't have a PS3 to troubleshoot on, but just wondered if you had an idea of what was going on.

Thanks!
Rick



It is likely I introduced some regressions at 0.99.4 (or maybe earlier) concerning the PS3. The fact that I don't have a PS3 to test doesn't help...

Try 0.99.3 here and tell me if it works better: http://bubbleguuum.free.fr/foo_upnp/0.99.3/foo_upnp.dll (http://bubbleguuum.free.fr/foo_upnp/0.99.3/foo_upnp.dll)

I am having the same problem as dr_rick and was curious if you have a copy of 0.99.3 I could try. additionally the original dl link on the component page doesnt link to a .dll file it seems
Title: foo_upnp
Post by: mtr on 2012-12-20 14:52:07
I'm having a problem with foo_upnp and UPnPlay (on android) that I can't figure out. Even made this new account since I can't seem to login to my old one (haven't been around for ages, sorry  ). Any help is appreciated.
The problem is I can't listen to FLAC files via UPnPlay on a tablet but mp3's work just fine. The odd thing is I tried BubbleUPnP on the same tablet and that works just fine. Reinstalled foobar (1.1.8) and checked for updated plugin (0.99.40). I tried making the default stream profile the same as the BubbleUPnP one to no avail. Nothing seems to work while I know the combination has worked before. It looks to me like it is a stream profile issue where FLAC's are not decoded & streamed, but i do not see any errors i the (debug) console. I must be missing something obvious but don't see it.

Also (minor issue): when foobar is already running at UPnPlay startup, it is not recognized as library/device. On restarting foobar it is immediately.
Title: foo_upnp
Post by: ImAlive on 2012-12-22 10:48:09
Hi there, great plugin! :-D

Playback streaming via UPnP works perfect between foobar instances. But now, I'm trying to set up the 'internet access' feature.
However, when I enter my URL
http://user:pass@192.168.11.10:56923/content/psc.wav (http://user:pass@192.168.11.10:56923/content/psc.wav)

into VLC or my Squeezebox radio, it gives a 404 error. Streaming is set to always decode playback to wav for the default profile, and also, if I open the url in Firefox, some kind of Quicktime player/icon opens, but no stream is actually played. I also tried .mp3 and .lpcm without success. Navigating to '/content' gives an empty page, so the server delivers something, but the PSC stream doesn't work.
This is foobar 1.1.16 and foo_upnp 0.99.41.

Any help would be very appreciated! 
Title: foo_upnp
Post by: bubbleguuum on 2012-12-22 11:39:28
I'm having a problem with foo_upnp and UPnPlay (on android) that I can't figure out. Even made this new account since I can't seem to login to my old one (haven't been around for ages, sorry  ). Any help is appreciated.
The problem is I can't listen to FLAC files via UPnPlay on a tablet but mp3's work just fine. The odd thing is I tried BubbleUPnP on the same tablet and that works just fine. Reinstalled foobar (1.1.8) and checked for updated plugin (0.99.40). I tried making the default stream profile the same as the BubbleUPnP one to no avail. Nothing seems to work while I know the combination has worked before. It looks to me like it is a stream profile issue where FLAC's are not decoded & streamed, but i do not see any errors i the (debug) console. I must be missing something obvious but don't see it.


I've just checked and it worked on my Nexus7. UPnPlay uses the default profile which unmodified will transcode FLAC to WAV. Maybe your tablet has problems playing WAV.
Even if excluding FLAC to be decoded as WAV in the default profile, UPnPlay still pick up the compat WAV stream over the FLAC one for whatever reason (probably because it considers WAV to be better than FLAC).
So it doesn't seem possible to stream straight unmodified FLAC to UPnPlay, unless I add an option to not add compat WAV and LPCM stream URLs, which I've added for the next version.

Quote
Also (minor issue): when foobar is already running at UPnPlay startup, it is not recognized as library/device. On restarting foobar it is immediately.


I cannot reproduce this
Title: foo_upnp
Post by: bubbleguuum on 2012-12-22 11:44:17
Hi there, great plugin! :-D

Playback streaming via UPnP works perfect between foobar instances. But now, I'm trying to set up the 'internet access' feature.
However, when I enter my URL
http://user:pass@192.168.11.10:56923/content/psc.wav (http://user:pass@192.168.11.10:56923/content/psc.wav)

into VLC or my Squeezebox radio, it gives a 404 error. Streaming is set to always decode playback to wav for the default profile, and also, if I open the url in Firefox, some kind of Quicktime player/icon opens, but no stream is actually played. I also tried .mp3 and .lpcm without success. Navigating to '/content' gives an empty page, so the server delivers something, but the PSC stream doesn't work.
This is foobar 1.1.16 and foo_upnp 0.99.41.

Any help would be very appreciated! 


Do you want to access the PSC stream for playing on the LAN or the Internet ?
There is a bug (fixed in next version) that prevents the PSC stream URL to work (it will give a 404) if the server is restarted (it is automatically restarted when changing its settings) and you try to play the PSC stream afterwards. So make sure to restart foobar before playing the PSC stream if you change server settings.
Also you do not need user:pass  in the URL, when playing on the LAN.
Seems obvious but for the PSC stream to play anything in the client you use (VLC, ...), foobar must be playing some audio.
Title: foo_upnp
Post by: ImAlive on 2012-12-22 12:14:10
Excellent! With that in mind, restarting foobar and not touching the settings, it now works across all LAN clients!

Many thanks, you just made a 90s party more awesome with one more multiroom client
Title: foo_upnp
Post by: Lurker on 2012-12-22 16:15:19
I try to use this plug-in with my Onkyo PR-SC5509. Works almost fine. The problems are:

Gapless is shown under the renderer properties, but the playback stops after the first track. I tried to direct the playback from this plug-in to the AV processor using your BubbleUPnP on Android, and foobar2000 crashed in your plug-in near the end of the first track played. So, even if Onkyo would be considered buggy, the plug-in is also not that perfect... I just hope that you could sort the problems out because I can't believe Onkyo would fix its firmware

By the way: there is an Android application to control Onkyo devices, official and 3rd party. So, you could try to implement something special for it, e.g. to switch it to the NET input for UPnP playback. Haven't you implemented something special for Lynn?  Why not for Onkyo then?

When Onkyo pulls the tracks from your controller (i.e. I select tracks from its interface for playing), all works OK, apart from missing album arts, and gaps between tracks. Though I understand that gapless playback is possible only in controller push mode.

Playback of the captured stream works fine and, of course, gapless, but I want to be able to control playback without touching the PC.

In general, thanks a lot for this plug-in and keep this work! Combined with BubbleUPnP, it looks very promising... if it would work as expected.
Title: foo_upnp
Post by: bsauvage on 2012-12-23 05:40:03
Thanks bubbleguuum for the great plugin. I have questions about its usage (maybe some power users know the answers that I don't).
My setup: all music on a NAS, renderer OPPO BDP-105 ;foobar2000 on the PC, iPad2 remote.
Questions:
-is there any other way to send the music to the renderer apart from the 'Stream Capture"? Ideally I think the plugin should allow to override the output of foobar2000 to the specified renderer (Preference->Playback->Output->Device), which would then allow to use the iPad apple Remote program to control the music sent to the renderer (otherwise the ipad only controls the music played by foobar2000 on the local pc or on the selected sound output, not on the renderer...)
-is there a way to add random play within  the uPnP renderer playlist? This could also be solved if the uPnP streaming could be selected as default sound output for foobar2000

Thank you!
Title: foo_upnp
Post by: Sandrine on 2012-12-23 13:51:36
Using your plug-in, I'm able to stream my media library to my Pioneer BDP-450 Universal Player. However, I've run into a limitation that, for example JRiver Media Center doesn't have: Each list is limited to 111 entries. My library is much bigger than that so most list show only a fraction of what I have. Possibly a bug.
Title: foo_upnp
Post by: bubbleguuum on 2012-12-23 15:58:00
Using your plug-in, I'm able to stream my media library to my Pioneer BDP-450 Universal Player. However, I've run into a limitation that, for example JRiver Media Center doesn't have: Each list is limited to 111 entries. My library is much bigger than that so most list show only a fraction of what I have. Possibly a bug.


What list ?
Title: foo_upnp
Post by: bubbleguuum on 2012-12-23 16:02:34
Thanks bubbleguuum for the great plugin. I have questions about its usage (maybe some power users know the answers that I don't).
My setup: all music on a NAS, renderer OPPO BDP-105 ;foobar2000 on the PC, iPad2 remote.
Questions:
-is there any other way to send the music to the renderer apart from the 'Stream Capture"? Ideally I think the plugin should allow to override the output of foobar2000 to the specified renderer (Preference->Playback->Output->Device), which would then allow to use the iPad apple Remote program to control the music sent to the renderer (otherwise the ipad only controls the music played by foobar2000 on the local pc or on the selected sound output, not on the renderer...)
-is there a way to add random play within  the uPnP renderer playlist? This could also be solved if the uPnP streaming could be selected as default sound output for foobar2000



Yes there is another way: using an UPnP Controller app on your iPad from your (UPnP Server ?) NAS and play it to your renderer.
If you want to override the foobar2000 output, foo_out_upnp that has been just released do just that. It's like playback stream capture
but implemented as a foobar2000 output and generally better (if it works with your hardware).
Title: foo_upnp
Post by: bubbleguuum on 2012-12-23 16:11:25
I try to use this plug-in with my Onkyo PR-SC5509. Works almost fine. The problems are:
  • Album artwork is never shown.
  • Gapless streaming does not work.

Gapless is shown under the renderer properties, but the playback stops after the first track. I tried to direct the playback from this plug-in to the AV processor using your BubbleUPnP on Android, and foobar2000 crashed in your plug-in near the end of the first track played. So, even if Onkyo would be considered buggy, the plug-in is also not that perfect... I just hope that you could sort the problems out because I can't believe Onkyo would fix its firmware

By the way: there is an Android application to control Onkyo devices, official and 3rd party. So, you could try to implement something special for it, e.g. to switch it to the NET input for UPnP playback. Haven't you implemented something special for Lynn?  Why not for Onkyo then?

When Onkyo pulls the tracks from your controller (i.e. I select tracks from its interface for playing), all works OK, apart from missing album arts, and gaps between tracks. Though I understand that gapless playback is possible only in controller push mode.

Playback of the captured stream works fine and, of course, gapless, but I want to be able to control playback without touching the PC.

In general, thanks a lot for this plug-in and keep this work! Combined with BubbleUPnP, it looks very promising... if it would work as expected.


"gapless" is reported in the renderer properties is not at guarantee *at all* that gapless works. It just says that the renderer bear the command necessary for gapless. It doesn't mean that it is implemented though, just that it it present. I will probably remove reporting "gapless" to avoid confusion.
For the track advance not working problem, make sure to disable "Tools > UPnP > Controller > Enable gapless control...", just in case it gets in the way.

As for album art, you did not mention where it doesn't show. I suppose you meant the Oppo's display but that's...supposition. In any case, "WHAI MY ALBUMS ARTZ NOT SHOWING!!" is a classic with UPnP and it can have 50 different causes.

As for the plugin crashing, I've recently fixed a bug that can rarely cause it to crash.

For controlling (non gaplessly) your Oppo without touching your PC, you can do that with your favorite Android controller app (provided the plugin doesn't crash repeatedly of course).
Title: foo_upnp
Post by: Sandrine on 2012-12-23 17:00:38
Using your plug-in, I'm able to stream my media library to my Pioneer BDP-450 Universal Player. However, I've run into a limitation that, for example JRiver Media Center doesn't have: Each list is limited to 111 entries. My library is much bigger than that so most list show only a fraction of what I have. Possibly a bug.
  What list ?


On the renderer, the media library is presented in list form... artists, albums, etc.... each list ist maxxed out at 111 entries on the Pio.
Title: foo_upnp
Post by: bsauvage on 2012-12-23 23:32:12
Thanks bubbleguuum for the great plugin. I have questions about its usage (maybe some power users know the answers that I don't).
My setup: all music on a NAS, renderer OPPO BDP-105 ;foobar2000 on the PC, iPad2 remote.
Questions:
-is there any other way to send the music to the renderer apart from the 'Stream Capture"? Ideally I think the plugin should allow to override the output of foobar2000 to the specified renderer (Preference->Playback->Output->Device), which would then allow to use the iPad apple Remote program to control the music sent to the renderer (otherwise the ipad only controls the music played by foobar2000 on the local pc or on the selected sound output, not on the renderer...)
-is there a way to add random play within  the uPnP renderer playlist? This could also be solved if the uPnP streaming could be selected as default sound output for foobar2000



Yes there is another way: using an UPnP Controller app on your iPad from your (UPnP Server ?) NAS and play it to your renderer.
If you want to override the foobar2000 output, foo_out_upnp that has been just released do just that. It's like playback stream capture
but implemented as a foobar2000 output and generally better (if it works with your hardware).

Thank you for your answer.
The other way you describe with another app wouldn't really suit me, as I find for very large music libraries, the Remote apple app is hard to beat (its search function works the best among all apps I've tried; others *Plug Player...etc) are messy)
but your foo_out_upnp is GREAT NEWS!
I'll try that and revert, that may just be the very best solution for me!
Title: foo_upnp
Post by: bsauvage on 2012-12-24 09:46:45
Thanks bubbleguuum for the great plugin. I have questions about its usage (maybe some power users know the answers that I don't).
My setup: all music on a NAS, renderer OPPO BDP-105 ;foobar2000 on the PC, iPad2 remote.
Questions:
-is there any other way to send the music to the renderer apart from the 'Stream Capture"? Ideally I think the plugin should allow to override the output of foobar2000 to the specified renderer (Preference->Playback->Output->Device), which would then allow to use the iPad apple Remote program to control the music sent to the renderer (otherwise the ipad only controls the music played by foobar2000 on the local pc or on the selected sound output, not on the renderer...)
-is there a way to add random play within  the uPnP renderer playlist? This could also be solved if the uPnP streaming could be selected as default sound output for foobar2000



Yes there is another way: using an UPnP Controller app on your iPad from your (UPnP Server ?) NAS and play it to your renderer.
If you want to override the foobar2000 output, foo_out_upnp that has been just released do just that. It's like playback stream capture
but implemented as a foobar2000 output and generally better (if it works with your hardware).

Thank you for your answer.
The other way you describe with another app wouldn't really suit me, as I find for very large music libraries, the Remote apple app is hard to beat (its search function works the best among all apps I've tried; others *Plug Player...etc) are messy)
but your foo_out_upnp is GREAT NEWS!
I'll try that and revert, that may just be the very best solution for me!

I tried and it doesn't recognise my OPPO... left msg in the decidated forum thread!
But it looks very promising... fingers crossed the next versions will bring increased compatibility!
Thanks and merry Christmas to all
Title: foo_upnp
Post by: bubbleguuum on 2012-12-26 12:37:58
foo_upnp 0.99.42 is available (download (http://www.foobar2000.org/components/view/foo_upnp))


0.99.42

- browser: added ability to play videos .
  To play a video, browse to the files with the UPnP Browser and double-click the video in the UPnP Browser Selection playlist.
  On Windows Vista and higher this will open a popup to select a video player like VLC.
  Note that double clicking will work only in the UPnP Browser Selection playlist. In other playlists, video upnp items
  can still be opened using Context Menu > UPnP Controller > Open...


- browser: when playing tracks from a remote Internet foo_upnp or BubbleUPnP Server, transcode settings can now be overriden
on the client
in Preferences > Tools > UPnP > Browser > Remote Internet Servers.

To work, these settings require foo_upnp 0.99.42+ or any version of BubbleUPnP Server as remote Internet server:

"Override remote server transcode settings": if enabled, client settings are used to override some transcoding settings. Otherwise server settings apply
"Lossless transcode bitrate": Lossless files are transcoded to this bitrate. Lossy files are not affected and it is not possible to override transcode settings for lossy files (eg, server settings apply for these files)
"Video transcoding": Only works with BubbleUPnP Server 0.6.4 (which is not available yet) to specify video transcoding

- controller: fixed several Xbox 360 issues preventing it to be controllable. Playback Stream Capture also works. Known issue: Controller window do not display info for  LPCM streams (including PSC), due to Xbox360 issue.

- browser: added "Reload root" in the context menu of the root node of a Media Server. Reinitialize the root node as it if it was browsed for the first time

- added Preferences > Tools > UPnP > Server > Basic settings > Add WAV and LPCM 44.1/16 compatibility streams.

By default, for each streaming profile there are 3 streaming URLs per item:
the first one correspond to what is specified by the profile
the second and third one are WAV and LPCM 44.1/16 compatibility URLs, which are important if the browsing device is a Control Point playing to a different renderer (ex: Android CP playing to Xbox 360).

If disabled, option "Add WAV and LPCM 44.1/16 compatibility streams" will omit second and third compat URLs.

- browser: fixed autoreconnecting remote server on start not working anymore
- server: fixed search not working if request comes from remote Internet client
- server: fixed Playback Stream Capture not working after a server restart
- server: added UPnPlay profile
- fixed rare random crash
Title: foo_upnp
Post by: bubbleguuum on 2012-12-26 18:53:36
0.99.43 is available, fixing a couple of crashes.
Title: foo_upnp
Post by: saltatrix on 2012-12-27 02:48:14
Im having issues sorting output from foo_upnp_tree.xml  Im using the following bit of code from the foo_upnp changelog ver 0.99.31 as a guide

<SubTree label="Last 4 weeks tracks descending" query="%last_modified% DURING LAST 4 WEEKS SORT DESCENDING BY %last_modified%"/>
<SubTree label="Last 4 weeks albums" query="%last_modified% DURING LAST 4 WEEKS">
   <spec type="object.container.album.musicAlbum">%album%[ '['%album artist%']']</spec>
</SubTree>

Im trying to filter a section of my library output for podcasts.  Using the default sorting within foobar the podcasts are ordered backwards with the oldest first, id like to have the newest first.  Below is my original code which works like a charm for filtering out only Podcasts.

<SubTree label="Podcasts" query="genre IS Podcast">
      <spec type="object.container.album.musicAlbum">%album%</spec>
   </SubTree>

Using the bit from the changelog as a guide i can get as far as label="Podcasts" query="genre IS Podcast AND %last_modified% DURING LAST 2 WEEKS">  However, when i try and sort i lose podcasts completely on all of my clients making me think something about my context is off.  For clients im using a WD HD Live, Android phone with Bubble UPnP and a remote install of Foobar.  For what its worth here is what im trying including the sort instruction

label="Podcasts" query="genre IS Podcast AND %last_modified% DURING LAST 2 WEEKS SORT DESCENDING BY %last_modified%">

Any help would be much appreciated.
Title: foo_upnp
Post by: bubbleguuum on 2012-12-27 12:14:51
Im having issues sorting output from foo_upnp_tree.xml  Im using the following bit of code from the foo_upnp changelog ver 0.99.31 as a guide

<SubTree label="Last 4 weeks tracks descending" query="%last_modified% DURING LAST 4 WEEKS SORT DESCENDING BY %last_modified%"/>
<SubTree label="Last 4 weeks albums" query="%last_modified% DURING LAST 4 WEEKS">
   <spec type="object.container.album.musicAlbum">%album%[ '['%album artist%']']</spec>
</SubTree>

Im trying to filter a section of my library output for podcasts.  Using the default sorting within foobar the podcasts are ordered backwards with the oldest first, id like to have the newest first.  Below is my original code which works like a charm for filtering out only Podcasts.

<SubTree label="Podcasts" query="genre IS Podcast">
      <spec type="object.container.album.musicAlbum">%album%</spec>
   </SubTree>

Using the bit from the changelog as a guide i can get as far as label="Podcasts" query="genre IS Podcast AND %last_modified% DURING LAST 2 WEEKS">  However, when i try and sort i lose podcasts completely on all of my clients making me think something about my context is off.  For clients im using a WD HD Live, Android phone with Bubble UPnP and a remote install of Foobar.  For what its worth here is what im trying including the sort instruction

label="Podcasts" query="genre IS Podcast AND %last_modified% DURING LAST 2 WEEKS SORT DESCENDING BY %last_modified%">

Any help would be much appreciated.


Try this for the whole SubTree definition:

Code: [Select]
<SubTree label="Podcasts" query="genre IS Podcast AND %last_modified% DURING LAST 2 WEEKS SORT DESCENDING BY %last_modified%"/>


The thing being that when there is a sort order specified with SORT in the query, the resulting node will be a list of tracks (here, podcasts) and there is no further splitting possible (if you put <spec> nodes, the SubTree will not appear at all in the browse tree).
Title: foo_upnp
Post by: saltatrix on 2012-12-27 18:43:54
Code: [Select]
<SubTree label="Podcasts" query="genre IS Podcast AND %last_modified% DURING LAST 2 WEEKS SORT DESCENDING BY %last_modified%"/>


The thing being that when there is a sort order specified with SORT in the query, the resulting node will be a list of tracks (here, podcasts) and there is no further splitting possible (if you put <spec> nodes, the SubTree will not appear at all in the browse tree).



Thank you, that worked.  Is it possible though to sort within a spec such that the podcasts are still broken up by source?
Title: foo_upnp
Post by: jens on 2012-12-27 18:54:51
no problems so far, i just want to say thanks  i've tried to use my internet wlan radio to stream my music to the audio system (nothing special, it#s called albrecht dr460W from alan electronics and was bought as an internet radio but is also a dlna renderer) and got no success.. first i used windows media player 12, streaming stops after the first track; and accessing the media library from the wlan radio skips in 90% every second track..  then i've tried twonky media, the same issues, skipping tracks and can not stream more than one track to the device.. so it must be a bug with the wlan radio i think. i'm using foobar since a long time but did not know the upnp plugin, i found it by accident when i googled for my problems, and it works perfect, now i can stream my files with a few clicks and listen with my sound system. great.
Title: foo_upnp
Post by: BenB on 2012-12-27 20:43:36
Is it possible though to sort within a spec such that the podcasts are still broken up by source?

No, (hopefully I'm understanding this correctly) because...
The thing being that when there is a sort order specified with SORT in the query, the resulting node will be a list of tracks (here, podcasts) and there is no further splitting possible (if you put <spec> nodes, the SubTree will not appear at all in the browse tree).

To be able to use "spec", you would need to change this:
Code: [Select]
<SubTree label="Podcasts" query="genre IS Podcast AND %last_modified% DURING LAST 2 WEEKS SORT DESCENDING BY %last_modified%"/>

to this:
Code: [Select]
<SubTree label="Podcasts" query="genre IS Podcast AND %last_modified% DURING LAST 2 WEEKS"/>

and use title formatting in your "specs" to achieve the structure and sort that you want.
Title: foo_upnp
Post by: ppienter on 2012-12-28 01:15:01
If you want to override the foobar2000 output, foo_out_upnp that has been just released do just that. It's like playback stream capture but implemented as a foobar2000 output and generally better (if it works with your hardware).


Hi bubbleguum, I really love your plug-in which is working very good with my hardware (Denon).
The only issue  that prevents me from switching completely to foobar is that I can not control my streaming with my iPad (in preference with iTunes remote with is a very good interface to control foobar)

I can use the ipad app from my hardware but it's not the same like the remote app.

I tried the foo_out_upnp but it's not working with my hardware. Also I like your transcoding options.

Is there a possibility that you could implement this dlna output as part of your plug-in?
Title: foo_upnp
Post by: mtr on 2012-12-28 17:01:25
I'm having a problem with foo_upnp and UPnPlay (on android) that I can't figure out. Even made this new account since I can't seem to login to my old one (haven't been around for ages, sorry  ). Any help is appreciated.
The problem is I can't listen to FLAC files via UPnPlay on a tablet but mp3's work just fine. The odd thing is I tried BubbleUPnP on the same tablet and that works just fine. Reinstalled foobar (1.1.8) and checked for updated plugin (0.99.40). I tried making the default stream profile the same as the BubbleUPnP one to no avail. Nothing seems to work while I know the combination has worked before. It looks to me like it is a stream profile issue where FLAC's are not decoded & streamed, but i do not see any errors i the (debug) console. I must be missing something obvious but don't see it.


I've just checked and it worked on my Nexus7. UPnPlay uses the default profile which unmodified will transcode FLAC to WAV. Maybe your tablet has problems playing WAV.
Even if excluding FLAC to be decoded as WAV in the default profile, UPnPlay still pick up the compat WAV stream over the FLAC one for whatever reason (probably because it considers WAV to be better than FLAC).
So it doesn't seem possible to stream straight unmodified FLAC to UPnPlay, unless I add an option to not add compat WAV and LPCM stream URLs, which I've added for the next version.

Quote
Also (minor issue): when foobar is already running at UPnPlay startup, it is not recognized as library/device. On restarting foobar it is immediately.


I cannot reproduce this

Thanks for the detailed response. I've been able to do a few more tests over the holidays and I think it must be a configuration issue either on the tablet or on my music PC since I had no issues streaming FLAC to my phone. Will try another tablet soon to verify. The foobar library not showing up when running occurs on both devices though. After a server stop/restart it is immediately recognized as a media server. I will try installing foobar on another pc to see if I can duplicate.
Title: foo_upnp
Post by: bubbleguuum on 2012-12-31 14:24:40
0.99.44 is available (http://www.foobar2000.org/components/view/foo_upnp)

This is a small bugfix release:

- (regression) fix the foo_upnp renderer not working properly when being controlled gaplessly by foo_upnp (the default)
- fix the foo_upnp renderer possibly playing first track twice on some systems when being controlled gaplessly
Title: foo_upnp
Post by: Calabi-Yau on 2013-01-01 18:33:45
0.99.44 is available (http://www.foobar2000.org/components/view/foo_upnp)

This is a small bugfix release:

- (regression) fix the foo_upnp renderer not working properly when being controlled gaplessly by foo_upnp (the default)
- fix the foo_upnp renderer possibly playing first track twice on some systems when being controlled gaplessly

At first I would like to thank you for this marvellous plugin, I'm using it to stream music to my Linn ADSM.

Until release 0.99.40 everything was fine.

Unfortunately, the newer releases don't show up at my control points (BubbleDS on Android and Kinsky on Windows 7) after a wake-up from Windows-standby, I have to manually stop/start UPnP Media Server or restart foobar2000.

I hope it will be possible to correct this behaviour in a future release.

Thank you very much in advance
Title: foo_upnp
Post by: swimmer on 2013-01-02 17:47:37
I've got an interesting problem, and I can't pinpoint when it started since I update my foobar plugins more often than I use foo_upnp. Here's the general setup:

foobar2k (v 1.2), foo_upnp (latest version through component updater)

Windows 7 comp with foobar2k -> Wireless network -> Xbox360 native music player

The 360 isn't compatible with FLAC, which is fine. I've always had the auto-transcode to WAV functionality enabled. However, for some reason, that functionality of the plugin is no longer working for me. .flac hasn't been inadvertently added to the list of exceptions. When I select any FLAC files on the Xbox, it provides an unsupported format error.

My only thought is perhaps a new feature was added that makes the sound incompatible. I noticed settings for the bit depth/sample rate output that I don't recall being there before, perhaps the Xbox only plays files at 48kHz? But unless the plugin was doing this conversion natively before, I can't think that it'd suddenly stop working at 44.1kHz now.

Also am I crazy or did gapless playback of MP3s stop working? Just had a stutter at the end of a track I'm testing now.

Any help would be much appreciated
Title: foo_upnp
Post by: BenB on 2013-01-02 22:45:52
I had a similar problem with a PS3 the other day after updating to 0.99.42. Although it was set to "Decode always to lpcm except mp3", foo_upnp would only decode to wave regardless of the settings.

The 'fix' for me was to uninstall and reinstall the component. I haven't used it since then so I guess I should check to make sure it's still working after the recent updates.
Title: foo_upnp
Post by: bubbleguuum on 2013-01-03 11:37:44
I've got an interesting problem, and I can't pinpoint when it started since I update my foobar plugins more often than I use foo_upnp. Here's the general setup:

foobar2k (v 1.2), foo_upnp (latest version through component updater)

Windows 7 comp with foobar2k -> Wireless network -> Xbox360 native music player

The 360 isn't compatible with FLAC, which is fine. I've always had the auto-transcode to WAV functionality enabled. However, for some reason, that functionality of the plugin is no longer working for me. .flac hasn't been inadvertently added to the list of exceptions. When I select any FLAC files on the Xbox, it provides an unsupported format error.


Streaming LPCM to Xbox360 is indeed broken since a few versions of the plugin (it worked in my debug build of the plugin, but not the release build!).

Now fixed in 0.99.45 available here (http://www.foobar2000.org/components/view/foo_upnp).



Title: foo_upnp
Post by: frutis on 2013-01-04 19:40:01
Hello,

I'm trying to play some music files on my Bravia TV using UPnP Controller. TV supports LPCM (L16) and MP3 formats.
I can play mp3 files without any problems but when I'm trying to play flac files (converted to lpcm, wav or mp3) foobar hangs up (foo_upnp logs (http://www.sendspace.com/file/ct1q5v)).

Regards
frutis
Title: foo_upnp
Post by: BenB on 2013-01-05 04:21:03
foo_upnp incorrectly splits any tag containing a comma (,) when using %<TAG>%. I see in the changelog that this was a problem before but was remedied. Unfortunately, it seems to be back, but I'm not aware of when it happened. I'm using 0.99.45.
Title: foo_upnp
Post by: Cyaneyes on 2013-01-05 12:55:21
Just a suggestion: under the Playstation profile, the "Can decode HTTP and MMS streams directly" should be checked by default (at least it works on my 2009 PS3 slim). I don't know if this changed with an update at some point, or if I accidentally unchecked it, but I was having problems streaming a foobar playlist of radio station steam URLs and checking this option fixed the issue. Thanks for a great component!
Title: foo_upnp
Post by: bobbel on 2013-01-05 22:05:10
This is a very nice plugin.
Unfortunatly I'm not able to stream a cue-sheet refering to a single dts-file out of foobar to my popcornhour (A-110 or A-200 or A-300):
Upnp-controler tries buffering, stops and goes to the next song with same result...
It works fine with single dts-files w/o cue.
Title: foo_upnp
Post by: myvision on 2013-01-07 14:02:23
Maybe a stupid question but I noticed this only here:

For covers I use the following string: $replace(%album artist% - %album%,:,_,.,_,?,_,/,_,",_).jpg

This works fine in foobar. But when using foo_upnp all covers with ":" and "/" and "," e.g.: "Beastie Boys - Anthology: The Sounds of Science" don't get broadcasted. Covers with a point "." show up.

Anyone know the solution? Thank you.

Edit:
Just noticed that this problem exists with all "forbidden letters" like \ / : * ? " < > |
Title: foo_upnp
Post by: Tuupmeister on 2013-01-08 08:51:24
Flac wont play with upnp 0.99.45 and WD TV Live. I don't know if it worked with previous versions. Problem is that i cant test because i can't find any older versions of foo_upnp. The WD TV Live is suppose to read the Flac format.

Edit: PCM won't play either 

I also have a problem with radio streams. I can play them in foobar but they wont play with the upnp controller to wd tv live. Does anyone recognize these problems and is there a fix?
Title: foo_upnp
Post by: Tuupmeister on 2013-01-08 10:45:17
More problems occur  ....I found different versions of the component and tested them. Nothing resolved the problem. So i went back to the latest version (0.99.45). But now after playing a mp3 song, the rest of the playlist will not play. The program simply stops. How is that possible?

A small remark about the flac files that won't play: In the statusbar it says: "stopped". In other words, it is not buffering.

Title: foo_upnp
Post by: DonJuape on 2013-01-08 15:43:22
I have an Arctic Audio Relay device connected to my local network. This is a DLNA/UPnP device. I can access it through it's IP address and I can push audio to it with JRiver Media Center, probably also with the "Play to" feature in WMP12 but I do not have that because I run XP. Anyway, to me this means the device seems to working fine.

Next I installed Foobar2000 and the foo_upnp component.

Now, I can not see the Arctic Audio Relay under view, UPnP browser. How can I get Foobar and/or foo_upnp to "add" it? Is there somewhere where I can specify the IP address?

I appreciate your replie(s).
Title: foo_upnp
Post by: Moglie on 2013-01-12 15:01:42
Hello 

First i want to say that this plugin is very nice, but i got some questions to it while iam not an "foo_upnp pro" yet.

Informations about my setup:

1. My music collection in foobar2000 contains mostly; FLAC (in 16/44 + 24/96) + mp3 files.
2. As renderer I got an Onkyo TX-8050 it works very nice. Here are the Supported Audio File Formats (sorry for the long list) of my Onkyo TX-8050.

Quote
MP3 (.mp3 or .MP3)
• MP3 files must be MPEG-1/MPEG-2 Audio Layer 3
format with a sampling rate of 8 kHz, 11.025 kHz,
12 kHz, 16 kHz, 22.05 kHz, 24 kHz, 32 kHz,
44.1 kHz, 48 kHz and bitrates of between 8 kbps and
320 kbps. Incompatible files cannot be played.

WMA (.wma or .WMA)
WMA stands for Windows Media Audio and is an audio
compression technology developed by Microsoft
Corporation. Audio can be encoded in WMA format by
using Windows Media
®
Player.
• WMA files must have the copyright option turned off.
• Sampling rates of 8 kHz, 11.025 kHz, 12 kHz,
16 kHz, 22.05 kHz, 24 kHz, 32 kHz, 44.1 kHz,
48 kHz, bitrates of between 5 kbps and 320 kbps, and
WMA DRM are supported.
• WMA Pro/Voice formats are not supported.

WMA Lossless (.wma or .WMA)
• Sampling rates of 44.1 kHz, 48 kHz, 88.2 kHz,
96 kHz are supported.
• Quantization bit: 16 bit, 24 bit

WAV (.wav or .WAV)
WAV files contain uncompressed PCM digital audio.
• Sampling rates of 8 kHz, 11.025 kHz, 12 kHz,
16 kHz, 22.05 kHz, 24 kHz, 32 kHz, 44.1 kHz,
48 kHz, 64 kHz, 88.2 kHz, and 96 kHz are supported.
• Quantization bit: 8 bit, 16 bit, 24 bit

AAC
(.aac/.m4a/.mp4/.3gp/.3g2/.AAC/.M4A/.MP4/ .3GP or
.3G2) AAC stands for MPEG-2/MPEG-4 Audio.
• Sampling rates of 8 kHz, 11.025 kHz, 12 kHz,
16 kHz, 22.05 kHz, 24 kHz, 32 kHz, 44.1 kHz,
48 kHz, 64 kHz, 88.2 kHz, 96 kHz and bitrates of
between 8 kbps and 320 kbps are supported.

FLAC (.flac or .FLAC)
FLAC is a file format for lossless audio data compression.
• Sampling rates of 8 kHz, 11.025 kHz, 12 kHz,
16 kHz, 22.05 kHz, 24 kHz, 32 kHz, 44.1 kHz,
48 kHz, 64 kHz, 88.2 kHz, and 96 kHz are supported.
• Quantization bit: 8 bit, 16 bit, 24 bit

Ogg Vorbis (.ogg or .OGG)
• Sampling rates of 8 kHz, 11.025 kHz, 12 kHz,
16 kHz, 22.05 kHz, 24 kHz, 32 kHz, 44.1 kHz,
48 kHz and bitrates of between 48 kbps and 500 kbps
are supported. Incompatible files cannot be played.

LPCM (Linear PCM)
• Sampling rates of 8 kHz, 11.025 kHz, 12 kHz,
16 kHz, 22.05 kHz, 24 kHz, 32 kHz, 44.1 kHz,
48 kHz, 64 kHz, 88.2 kHz, and 96 kHz are supported.
• Quantization bit: 8 bit, 16 bit, 24 bit
* Only for playback via network.



Questions:

1. In the following picture you can see how my "foo_upnp settings" look like, can someone tell me if its optimized for my Onkyo TX-8050?

[a href="http://www.abload.de/image.php?img=foo6qk25.png" target="_blank"]
Title: foo_upnp
Post by: sorth on 2013-01-13 13:14:20
Hi,

I have Sony SA-NS410 wifi speaker, and I'm not able to see it in the device list of UPnP Controller window. It does work with 'Play to' feature of Windows Media Player. Is it possible to make it work?

The speaker shows in the debug log of foo_upnp but does not show in the combobox:

Code: [Select]
foo_upnp: 4104.4104333: PLT_CtrlPoint::InspectDevice(1269)/5576: INFO: Inspecting device "5f9ec1b3-ed59-1900-4530-5453ed14bf79" detected @ http://192.168.0.101:8080/description.xml
foo_upnp: 4105.4105078: PLT_CtrlPoint::ProcessGetDescriptionResponse(1394)/4524: INFO: Device "5f9ec1b3-ed59-1900-4530-5453ed14bf79" is now known as "SA-NS410"
foo_upnp: 4105.4105181: LinnDsRendererController::Create(117)/6680: INFO: couldn't find urn:av-openhome-org:service:Product:1 service


You can find description.xml here if it helps: description.xml (http://txtup.net/tdCZT)

Thanks
Title: foo_upnp
Post by: Lurker on 2013-01-13 13:39:20
2. Iam very happy that "foo_upnp" allows me to use DSPs (I use the Equalizer, thats what i missed at the Onkyo TX8050), so i activated it in the options as you can see on the screenshot above. The bad thing is; if DSPs are active it forces always PCM output so it converts all FLACs to PCM (no native playback anymore?) Does this converting-process make lose audio-quality?

Because FLAC is lossless format, quality speaking, it does not matter who converts it to PCM: foobar or Onkyo. It is only a matter of network load, because, being packed with FLAC, the amount of data to transfer is smaller. But it should not create any problems even if you have very old 10Mbps network hardware at home.

What does really affect the quality is DSP plug-in  But that's the distortion you like!
Title: foo_upnp
Post by: Moglie on 2013-01-14 01:07:27
2. Iam very happy that "foo_upnp" allows me to use DSPs (I use the Equalizer, thats what i missed at the Onkyo TX8050), so i activated it in the options as you can see on the screenshot above. The bad thing is; if DSPs are active it forces always PCM output so it converts all FLACs to PCM (no native playback anymore?) Does this converting-process make lose audio-quality?

Because FLAC is lossless format, quality speaking, it does not matter who converts it to PCM: foobar or Onkyo. It is only a matter of network load, because, being packed with FLAC, the amount of data to transfer is smaller. But it should not create any problems even if you have very old 10Mbps network hardware at home.

What does really affect the quality is DSP plug-in  But that's the distortion you like!


Hello and thanks for your explainment the amount of data to transfer isnt that important while i have a 1Gbit Network here, but the Onkyo TX8050 only is able to use 100Mbit. Its nice to know that it does not lose quality by converting FLAC to PCM by foobar2000.

Well does it lose audio-quality while i use the DSP Equalizer for real? I only want warmer sound and i do the mids +3db (200hz-600hz), hmm thats not nice to know.
Title: foo_upnp
Post by: MrEnergizer on 2013-01-14 11:50:27
I have the TX8050 and found it to be quite a clinical amp. One way to make the sound warmer/fuller is to keep the volume lower and increase the 'Intellivolume'  in the source setup by a couple of db.
Which sound mode do you use? ie Pure audio, stereo etc
Title: foo_upnp
Post by: Moglie on 2013-01-14 16:05:36
I have the TX8050 and found it to be quite a clinical amp. One way to make the sound warmer/fuller is to keep the volume lower and increase the 'Intellivolume'  in the source setup by a couple of db.
Which sound mode do you use? ie Pure audio, stereo etc


Yes same feeling for me here, i use stereo modus with "Intellivolume" +3db and this EQ settings, maybe try them for me they are very good.

[a href="http://www.abload.de/image.php?img=eqhbooc.png" target="_blank"]
Title: foo_upnp
Post by: Tuupmeister on 2013-01-14 19:52:30
More problems occur  ....I found different versions of the component and tested them. Nothing resolved the problem. So i went back to the latest version (0.99.45). But now after playing a mp3 song, the rest of the playlist will not play. The program simply stops. How is that possible?

A small remark about the flac files that won't play: In the statusbar it says: "stopped". In other words, it is not buffering.


Resolved!!! I've made a firmware downgrade of de WD TV Live to 1.11.14. Now the renderer does play the flacs!
Title: foo_upnp
Post by: Tuupmeister on 2013-01-15 08:56:56
Lyric Show Panel 3.

This is a nice component, but how come it does't work with the foo_upnp? It only starts when i do not use a renderer like wdtv live.
Title: foo_upnp
Post by: MrEnergizer on 2013-01-15 10:08:58
I have the TX8050 and found it to be quite a clinical amp. One way to make the sound warmer/fuller is to keep the volume lower and increase the 'Intellivolume'  in the source setup by a couple of db.
Which sound mode do you use? ie Pure audio, stereo etc


Yes same feeling for me here, i use stereo modus with "Intellivolume" +3db and this EQ settings, maybe try them for me they are very good.

[a href="http://www.abload.de/image.php?img=eqhbooc.png" target="_blank"]

Thanks, but to be honest I don't like using the foobar eq.  I sometimes use compressor/limiter vst plugins in my dsp line and I prefer setting the eqs on this. I also use the bass and treble controls on my tx8050. My greatest disappointment with this amp is that you cannot add an eq to it as I have a very good azden graphic eq. I recently changed my speakers to some 20 year old TDL Studio 0.5 transmission line speakers and it has made a great difference to the sound. I find you need to be careful with this amp as to which speakers you pair it with. If they are bright speakers then the sound will be grating.
Title: foo_upnp
Post by: bsw11 on 2013-01-16 00:32:41
I just want to use my Galaxy Note 2 phone as a stream receiver for the exact sound coming from my FB2K that is playing out the main system.

I would like it to have my DSP inline as well - I don't care about if it changes format.

So I need to know:

What I need to setup on the FB2K side in the settings of UPnP.?

What player I should use to playback the stream in my phone?

I have tired a few players but they all crash FB2K when I go to try and play the stream.

btw - the reason this is all I need is I use the Foobar2000 Player on android to browse and control FB2k perfectly!
Title: foo_upnp
Post by: Miracle1980 on 2013-01-16 07:13:29
Guys i need your help. What is the ''procedure'' to remote control foobar2000 from another notebook where i have installed another instance of foobar? I need to have the library showed up. I tried it with but i was not able to get the playback on the computer(server). I got the playback (wrongly) on the notebook in streaming...

Can you help me?
Title: foo_upnp
Post by: dag0 on 2013-01-19 17:05:12
Guys i need your help. What is the ''procedure'' to remote control foobar2000 from another notebook where i have installed another instance of foobar? I need to have the library showed up. I tried it with but i was not able to get the playback on the computer(server). I got the playback (wrongly) on the notebook in streaming...


The best way to show your library on your notebook should be to create a network share on your PC and load it in the foobar media Library on your Notebook. In foobar on your NB select Main Menu/View/UPnP Controller, select "foobar2000 Renderer" (it should show up from your PC). Media Renderer should be started in Preferences/UPnP/Server/Basic Settings on your PC.
Title: foo_upnp
Post by: dag0 on 2013-01-19 17:13:57
I am using Bubble Upnp on my Android to control my foobar-installation on my PC. Works fine, but I notice some strange behaviour. Lyrics of the curently played track are loaded and shown in "lyrics Show3"-Panel, but are not saved in my tags as it does normaly (it is configured this way). Even if I manually click "save" in the lyrics-panel nothing happens!

Less tragic: The Album-art of the currently played track is not shown up and there seems to be no possibility to see which track is currently played in foobar when it is remote-controlled (eg by double-clicking in the status bar as i normally do)? The playlists "UpnP-controller playback queue" and "upnp browser selection" are empty.
Title: foo_upnp
Post by: CyberTootie on 2013-01-20 03:17:08
In foobar on your NB select Main Menu/View/UPnP Controller, select "foobar2000 Renderer" (it should show up from your PC). Media Renderer should be started in Preferences/UPnP/Server/Basic Settings on your PC.

I'm having issues with this. I get to the point you're describing, and I can see what my desktop is playing on my laptop, however I cannot perform every function. For example I cannot skip to the next track or it will stop playback. I cannot show controller playlist. I cannot start playback when it is stopped, however I can pause and resume playback and adjust the volume.

I am seeing this in the console:

Code: [Select]
foo_upnp: Denied WAN request (ip: 192.168.1.68, User Agent: UPnP/1.0 DLNADOC/1.50 Platinum/1.0.3.0-bb / foobar2000)

If it thinks I am a WAN user for some commands, why not for the others? I'll point out that my desktop PC is a DMZ client on my internet router.
Title: foo_upnp
Post by: dag0 on 2013-01-20 09:56:14
What exactly do you want to do? Listen music on your stereo wich is connected to your PC? Remote controlled with by your NB? On your PC can you select "foobar playback stream capture" in Upnp Controller? This is the way I do it: Select "foobar stream capture" on my fantech media-player connected to my stereo. The music played on my PC-foobar (remote controlled by my Smartphone or not) is played on my stereo. Cant say anything about your network problems...
Title: foo_upnp
Post by: bebopfreak on 2013-01-24 18:19:33
Even if excluding FLAC to be decoded as WAV in the default profile, UPnPlay still pick up the compat WAV stream over the FLAC one for whatever reason (probably because it considers WAV to be better than FLAC).
So it doesn't seem possible to stream straight unmodified FLAC to UPnPlay, unless I add an option to not add compat WAV and LPCM stream URLs, which I've added for the next version.


Alternatively add some DLNA notation: CI=0 for non-transcoded files, as those are preferred.
Title: foo_upnp
Post by: bgunn on 2013-01-30 01:37:27
New to the forum, couldn't get the search to return what I'm looking for, so I'll ask here. I'm trying to stream from a Win7 laptop w/foobar200 UPnP controller and have had some mixed results. The FLACs are being pushed to an Oppo 105.

Two things:

(http://i365.photobucket.com/albums/oo93/justbgunn/foo2_zpsf25d45ac.gif)[/li][/list]

(http://i365.photobucket.com/albums/oo93/justbgunn/foo1_zps80e0e930.gif)[/li][/list]

Thanks in advance!
Title: foo_upnp
Post by: Jonbooi on 2013-02-08 16:27:45
Is there any way to get upnp controller to scrobble flac tracks that I am streaming to my Marantz? I can get the tracks to scrobble with foo_audioscrobbler when I play them to my PC speakers and also when I use the playback stream capture. My problem with the playback tream capture is that it plays the music out of sync with my speakers and Marantz. 
Title: foo_upnp
Post by: Kazeyomi on 2013-02-10 08:25:43
Hello, great thanks for the great plugins. I am using BubbleUPnP on android and it works fine expect for two small issues:

I've set the server profile for BubbleUPnP to transfer FLAC audio to my phone without decoding it to WAV, when I play a track added by an FLAC file, it works, I see audio type FLAC on my phone. But if I play a track indexed by a CUE file, it turns out that the track will be decoded to wav. I see audio type WAV on my phone.
Similarly, a track in an archive will always be decoded to WAV, even if it's a archive of MP3 files.

I hope this two issues could be fixed, thank you.
Title: foo_upnp
Post by: simi8 on 2013-02-15 08:52:34
Hi, I've a problem with the last version of foo_upnp plugin. I use it to play music from my NAS(upnp) to my WD TV LIVE, it works but it stop after every song, seem like that it can't read the "UPNP Controller Playback Queue" playlist. With the earlier version I don't remember this problem.
Someone have a solution ?
Thanks in advance
Title: foo_upnp
Post by: MaxPower on 2013-02-17 15:53:28
The UPnP Media Server could not be started. Port 56923 *might* be in use by another application or foo_upnp instance.

I am still facing this error message, almost on every start of foobar2000. foobar2000 (v1.1.16) / foo_upnp (v0.99.41) is started on my computer automatically at boot time. When this message appears, the foo_upnp server cannot be started, and therefore foobar2000 is not found by UPNP clients like "BubbleUPnP".

I already reported this phenomenon in posting 69664/813221 (http://www.hydrogenaudio.org/forums/index.php?showtopic=69664&pid=813221&mode=threaded&start=1600#entry813221) of Nov 4 2012.

Does anyone have a hint how I can solve this problem? Am I the only person facing this problem?

Interestingly, the error message text slightly changed in the very last version of the foo_upnp plugin:

v0.99.40: "UPnP Media Server could not be started. Port 56923 might be in use by another application"
v0.99.41: "The UPnP Media Server could not be started. Port 56923 *might* be in use by another application or foo_upnp instance."


I don't know if you're still having this problem, but Google brought me here for the same reason and I haven't seen a solution anywhere. In my case, the problem began when I re-installed windows on an SSD, which caused programs to start before the network was connected. I solved it by creating a batch file which delays foobar by 30 seconds, and inserted a shortcut to the .bat in my list of startup programs, in place of a direct shortcut to foobar.  Here is the .bat I use:

@echo off

rem for 30 sec delay..

timeout /t 30 > nul

rem starting delayed start programs

start /d "C:\Program Files (x86)\foobar2000" foobar2000.exe

The cmd window appears for 30 seconds, foobar launches with no errors, and cmd closes. May require modification to match your file path. Hope this helps!
Title: foo_upnp
Post by: R1200CL on 2013-02-21 02:53:13
Can Foobar play flac 192/24 without any conversion ?

The question is only relevant for DNLA / UPNP, as I'm feeding a Oppo player (Actually it's a Theta Compli Blu 3D) over my home network.

The reason for me to be doubt this, is that the Oppo 95 feeds a receiver (Theta CB III HD) over HDMI, and it is not suppose to play Hi Res files, but I'm still getting sound.
The Oppo, yes should play 192/24, but not the CB III HD. I suspect the "error" may be the foobar, or my foobar setting. I'm able to get PCM, WAW and Flac on the display of the Oppo,and all plays well.

Im 100% sure the file is a 192/24 file, cause that is stated by foobar, og also the file is bought at HD Tracks.

I suppose these settings are correct. (At least, they give flac).
(http://img545.imageshack.us/img545/9596/screenshot002nal.jpg)
Title: foo_upnp
Post by: litolf on 2013-02-22 12:17:58
Hi Mr. bubbleguuum

First of all, congrats to you, the Developer.
For years i enjoy my daily hour of classical music with foo_upnp feeding my ONKYO 3007 with 2ch|44,1kHz|16bit flacs.
It always worked like a charm.

Thinking it's worth to try some high-res files, i had to recognize that neither the ONKYO nor any other receiver on the market is capable to playback multichannel delivered through network (neither flac nor lpcm).
Current AVR's are only able, to play multichannel delivered to them as lpcm via HDMI. (if some one wants to correct me, i would be happy and buy the stuff)

I thought, i was lucky, owning an OPPO-BDP83, which can deliver multichannel via HDMI.
But............


I try to list, what works and what fails.(all files 24bit, 96kHz)

a.) OPPO as "client" browsing the upnp-tree and initializing the playback
   5.0 ch -> works == arrives at AVR as 5.0
   5.1 ch -> fails == arrives at AVR as 5.1 but channelmapping messed up (played like vinyl with 2* rpm)

b.) OPPO as "slave" listening to playback-streamcapture, fb-ui initializing the playback
   5.0 ch -> fails == arrives at AVR as 2ch (played like vinyl with 1/2 rpm)
   5.1 ch -> fails == arrives at AVR as 2ch (played like vinyl with 1/2 rpm)


My streaming profile:
Renderer Capabilities, 44100 to 192000, 24 bit, stereo only unchecked
Decoding to PCM, always to lpcm
Playback Stream Capture, lpcm 96000 16bit(can't change < greyed out)


Failing playback 5.1 seems to be a problem of the OPPO firmware, that won't be fixed any more.
So my question to the Developer are these:

1.)Is it possible (and are you willing) to implement a solution, which enables the user, to set parameters of your Component to workaround the OPPO's 5.1 bug?

2.)Why does 5.0 work in a.) and not in b.)

3.)Should 5.0/5.1 work with a non buggy renderer listening to PLAYBACK STREAM CAPTURE ?

4.)Why is Playback stream capture always limited to 16 bits by the ui when set to stream as LPCM ?


PS:
For the future i hope there will be an AVR dealing with MCH via upnp.
For the present, it will be nice, if 5.0/96kHz/24bit via Playback Stream Capture will work, because handling a large library with the fb-ui works much better than with the poor ui of upnp-renderer/player and gapless is only possible via Playback Stream Capture to.
Title: foo_upnp
Post by: R1200CL on 2013-02-24 23:37:17


My Compli Blu 3D, that is an Oppo 95. Foobar with the setting in my privious post work just fine. I have verified that these settings gives 192/24 out.
Maybee time to upgrade your Oppe 
Title: foo_upnp
Post by: Geo_log on 2013-02-26 09:22:58
Is it possible .. to implement a solution, which enables the user, to set parameters of your Component to workaround the OPPO's 5.1 bug?
- already implemented. Try "Streaming Profiles" -> "Audio Procesing" and add  Matrix Mixer DSP (http://skipyrich.com/wiki/Foobar2000:Matrix_Mixer). Then make configuration (5.0) that is  suitable for your OPPO.
Title: foo_upnp
Post by: Malcolm80 on 2013-02-27 16:21:21
I hope someone can help me with a problem. I use foobar with uPnP to stream music stored on my laptop wirelessly to a wd tv live media player. It works like a charm, with one exception. I cant stream wav-files.
Why? I can play them in foobar locally with no problem, and using windows media player I can stream the files with the "Play To"-feature so the problem is not with the wd.

Everything else works fine, Flac, mp3, u name it..but not wav.

Why?
Title: foo_upnp
Post by: mpuckett on 2013-03-03 00:12:33
I must be overlooking something regarding how to do this but I cannot figure it out and would appreciate if anyone can tell me how to do this using foo_upnp.

Is there any way to have foo_upnp send a shuffled playlist to a upnp renderer? I would like to be able to select content and then using the right click context menu send it to the renderer shuffled.

Is it possible for foo_upnp to shuffle content before sending it to the renderer?
Title: foo_upnp
Post by: ziekke on 2013-03-05 20:40:24
I am using foo_upnp on a foobar2000 client, and a foobar2000 server.

I am using the *default* "Streaming Profile" settings on the server, and attempting to do an override on the transcoding settings for lossless files on the client. It never seems to recognize this setting and I am still being streamed the full FLAC file.

The only way I could get it to transcode is to go into the server config for the user-agent foobar2000 and set it to always transcode, and uncheck lossless.

I don't want all foobar2k clients to be transcoded, only the ones that override. Any ideas why this could be happening?
Title: foo_upnp
Post by: Stefan0815 on 2013-03-07 21:21:26
Sorry that i post directly in a conversation.

Since i change my System from Win 7 to Windows Server 2012 i got massive problems with the UPNP Play Plugin.
First i thought it was a hardware problem, because Foobar stoped working from time to time. Because the problem didn't occur very often, it was hard to find the Problem. If foobar stoped working, it was not possible to "shoot out" the process (even with very agressiv tools). Finally i had to restart my homeserver everytime Foobar stopped working.
Finally i noticed that Foobar didn't close as it should (needs a lot of time).
I removed the UPNP Plugin, and now my Foobar seems to be working fine. I already updated the UPNP Plugin, but it didn't helped out.

Strange isn't it?

Id like to use UPNP again 
Title: foo_upnp
Post by: Topology on 2013-03-08 23:40:25
Hi,

I'm having a problem with foo_upnp. When I first start foobar and the upnp server starts, everything works great. Instant detection by all my different devices, Nexus 7, PS3, Samsung Phone, three computers. However, when I put my computer to sleep overnight and resume it, on resume foo_upnp starts taking 2/3 minutes to be detected by any of my devices, if it gets detected at all. My guess is that it stops sending alive messages properly. Stopping and starting the upnp server fixes the problem.

It seems to be a problem that I can consistently reproduce on my setup. Running Windows 7 x64 SP1, foo_upnp 0.99.45 + foobar v1.1.18.

I've provided a log. At line 481 you can see where my computer resumes from sleeping, as evidenced by the timestamp difference.

Pastebin: http://pastebin.com/D3PwJGhz (http://pastebin.com/D3PwJGhz)

Regards
Title: foo_upnp
Post by: DerJohannes on 2013-03-09 20:19:55
[Feature request] Access other file types (than audio) via foo_upnp

foobar2000 is a pure audio player, and that is good.

However, when accessing my audio library over UPNP (foo_upnp), letting foobar2000 act as a UNPN server, I miss the possibility to also access scanned image data (mostly .jpg) and pdf's contained in the album folders.

When I transcode a music CD into MP3, I use to also scan the booklet (resulting in multipe .jpg files in the album folder). When I find an interesting article on a certain album (on Wikipedia or at another place), I also save this article as .pdf in the album folder.

It would be great to get this meta-information files accessible via foo_upnp (especially in the "folder perspective").


"Use Case perspective":

You start to hear to your favorite album, accessing your foobar2000 library via foo_upnp, controling it with your Tablet computer and an UPNP controller app like BubbleUPnP.

Meanwhile, you use the UPNP controller app (BubbleUPnP) to also watch the .jpg and .pdf data in the same media folder.

Title: foo_upnp
Post by: litolf on 2013-03-14 09:24:12
does anyone know, wether Playback stream capture is limited to stereo.

I tried to playback multichannel tracks on a client-PC(with foo_upnp as renderer ) served by a server-PC (with foo_upnp_server) .
When the client played tracks accessed from upnp-Librarytree all worked fine.
When the client played back the streamcapture, output was 2channel only. (no matter wav or lpcm was checked in streamingprofile).

So, is this a limitation by design or the upnp-spec or a bug ?





PS: I wanted to try it by controlling the client-PC from the Controlpoint on the server, but the client-PC wasn't shown in the Dropdownbox ???
Title: foo_upnp
Post by: GregoryJ on 2013-03-22 20:23:29
When my music library reaches a certain size the UPnP Browser will no longer list the contents under the Music folder. It displays "loading..." for about a second and then does nothing. Consequently I'm unable to access any music content on my media server.

Does anyone know if this problem is being addressed?

Thanks,
Greg

Client:
foobar2000 1.2.3 w/ UPnP plugin

Media server(s):
Windows Media player (library)
BubbleUPnP Server 0.6.4 (Internet access)

OS:
Windows 7 Ultimate

Media library size:
55.7 GB
12,751 files
Title: foo_upnp
Post by: NEMO7538 on 2013-03-24 21:56:51
I have a problem, here is a short description :

This is embarrassing because scrobbling is only feasible on the renderer if I want to benefit from the OpenHome renderer playlist persistence when my tablet is powered off. As well, last fm bio does not work on the renderer for compilations.
If that could help, I have also noticed that when using a controler on the server, in the "UPnP controller playback queue" playlist is updated the same way (%artist% is transformed to %artist%; %album artist%) when a track is played.
I hope it is clear enough.


Additional questions and comments :

Congratulations for you work, bravo ...  and thanks for your support.

Edit: Additional information, annoyance reporting and feature requests.
Title: foo_upnp
Post by: gjweb on 2013-03-31 18:41:32
Hi,

Is it possible to hide an artist from the Artists list in the MediaLibraryTree when "Album Artists" is "Various Artist" ?
Title: foo_upnp
Post by: BenB on 2013-04-01 00:25:10
Hi,

Is it possible to hide an artist from the Artists list in the MediaLibraryTree when "Album Artists" is "Various Artist" ?

That can be accomplished by modifying the foo_upnp_ml_tree.xml file located in foobar's configuration folder. If you can elaborate a bit more on what you want to display and how you want it to display, I may be willing to help you further if what you want is possible. If not, I'll let you know.
Title: foo_upnp
Post by: gjweb on 2013-04-01 20:52:05
Hi,

Is it possible to hide an artist from the Artists list in the MediaLibraryTree when "Album Artists" is "Various Artist" ?

That can be accomplished by modifying the foo_upnp_ml_tree.xml file located in foobar's configuration folder. If you can elaborate a bit more on what you want to display and how you want it to display, I may be willing to help you further if what you want is possible. If not, I'll let you know.


Ok I'll try to explain it better (I'm sorry english isn't my native language)

I want to hide from the artists list the artists who appear only in a compilation, they all have the "Various Artists"  tag in the "Album Artist" field.

This option is present in XBMC. That allow to not display the artists who have only one or two tracks for example. In XBMC with this option activated they only appear as "Various Artists" in the artist list.
Title: foo_upnp
Post by: BenB on 2013-04-02 07:02:06
I want to hide from the artists list the artists who appear only in a compilation, they all have the "Various Artists"  tag in the "Album Artist" field.

This option is present in XBMC. That allow to not display the artists who have only one or two tracks for example. In XBMC with this option activated they only appear as "Various Artists" in the artist list.

This cannot be done as there is no way to check the quantity of tracks by a particular artist in the media library using foobar's title formatting. Such a feature would have to be implemented by foo_upnp's developer, if it is even possible.

What is possible is to modify the pertinent spec in the foo_upnp_ml_tree.xml file so that any track having an album artist tag of "Various Artists" is listed under Various Artists and all others are listed under their artist tags.
Title: foo_upnp
Post by: bubbleguuum on 2013-04-02 20:34:26
I have a problem, here is a short description :
  • Until now I had two machines on my LAN with fb2k, one acting as the server and the controller and the other as the renderer. Fine !
  • I bought myself a tablet and the excellent BubbleUpnp which I use as the controller with one machine as the server (with BubleUPnPServer as a proxy but that does not matter I think), the other one as the renderer.
    Generally speaking it works very well, except that in this configuration, metadata for compilations (I use %album artist% to tag them) are not passed the same way and on the renderer, instead of getting the artist in the %artist% tag I get this combination: %artist%; %album artist%. I tried to get rid of the ; %album artist% part after %artist% but with no success.

This is embarrassing because scrobbling is only feasible on the renderer if I want to benefit from the OpenHome renderer playlist persistence when my tablet is powered off. As well, last fm bio does not work on the renderer for compilations.
If that could help, I have also noticed that when using a controler on the server, in the "UPnP controller playback queue" playlist is updated the same way (%artist% is transformed to %artist%; %album artist%) when a track is played.
I hope it is clear enough.


I reproduced and fixed this bug, which made album artist appended to %artist% as you describe, in some cases.
Thanks for reporting.

Additional questions and comments :
  • From the playlist view in BubbleUpnp, the option "Show Album in Library" does not seem to work.
  • Feature request #1: Do you foresee any possibility that I could use BubbleUPnP to rate tracks and pass that information to the server ?
  • Feature request #2: It would be nice to search only in the playlist on BubbleUPnP (e.g. make the search function contextual depending on whether it is used from the playlist view or the library view)


1. It works here. Are you sure foobar2000 is the current Media Server selected in the Library tab when you initiate "Show Album in Library"
2. Not possible with regular UPnP AV
3. Not likely to be implemented as I do not imagine many users wanting to search the Playlist tab
Title: foo_upnp
Post by: bubbleguuum on 2013-04-02 20:39:37
When my music library reaches a certain size the UPnP Browser will no longer list the contents under the Music folder. It displays "loading..." for about a second and then does nothing. Consequently I'm unable to access any music content on my media server.

Does anyone know if this problem is being addressed?

Thanks,
Greg

Client:
foobar2000 1.2.3 w/ UPnP plugin

Media server(s):
Windows Media player (library)
BubbleUPnP Server 0.6.4 (Internet access)

OS:
Windows 7 Ultimate

Media library size:
55.7 GB
12,751 files


Are you accessing the foo_upnp server through  BubbleUPnP Server ?
What folder is showing this behaviour ?
How many subfolders do you estimate this folder contains ?
Title: foo_upnp
Post by: bubbleguuum on 2013-04-02 20:45:10
does anyone know, wether Playback stream capture is limited to stereo.

I tried to playback multichannel tracks on a client-PC(with foo_upnp as renderer ) served by a server-PC (with foo_upnp_server) .
When the client played tracks accessed from upnp-Librarytree all worked fine.
When the client played back the streamcapture, output was 2channel only. (no matter wav or lpcm was checked in streamingprofile).

So, is this a limitation by design or the upnp-spec or a bug ?


It is limited to stereo for compatibility and simplicity. And multichannel would only apply to WAV (even if multichannel exists, there's virtually no UPnP device able to play it).
Title: foo_upnp
Post by: NEMO7538 on 2013-04-04 21:23:33
I have a problem, here is a short description :
metadata for compilations (I use %album artist% to tag them) are not passed the same way and on the renderer, instead of getting the artist in the %artist% tag I get this combination: %artist%; %album artist%. I tried to get rid of the ; %album artist% part after %artist% but with no success.
I reproduced and fixed this bug, which made album artist appended to %artist% as you describe, in some cases.
Thanks for reporting.
Thanks ... it's fixed now with V1.6.7 of Bubble UPNP

Additional questions and comments :
  • From the playlist view in BubbleUpnp, the option "Show Album in Library" does not seem to work.
1. It works here. Are you sure foobar2000 is the current Media Server selected in the Library tab when you initiate "Show Album in Library"
yes I am sure (although it's not in the library tab but on the device tab). I also use BubbleUpnpServer as a proxy.

Another issue I have is that when trying to load large playlist or library portions of the library within BubbleUpnp (and after moving to the playlist tab and playing some tracks) it results in the renderer (foo_upnp) becoming unresponsive [reporting; Unable to open item for playback (error decoding proxy stream path request)], and then I have to restart the renderer and even the server. Should I report it in the xda forum?
Title: foo_upnp
Post by: bubbleguuum on 2013-04-04 23:30:49
Thanks ... it's fixed now with V1.6.7 of Bubble UPNP


In fact, it is a foo_upnp bug. This bug (album artist appended to artist) triggers only when the renderer plays a tagless format like WAV or LPCM, or tagless mp3 transcode.
For all other formats, foobar2000 reads the real file tag from the stream instead of using the metadata supplied by foo_upnp.
It is probable you were streaming WAV or LPCM when you observed this bug.

Another issue I have is that when trying to load large playlist or library portions of the library within BubbleUpnp (and after moving to the playlist tab and playing some tracks) it results in the renderer (foo_upnp) becoming unresponsive [reporting; Unable to open item for playback (error decoding proxy stream path request)], and then I have to restart the renderer and even the server. Should I report it in the xda forum?


Ok, this is a BubbleUPnP Server bug that can trigger if you browse more than 10000 items (they do not need to be all in the same playlist).
I will fix it in the next version of BubbleUPnP Server, removing that silly limitation. Can you confirm you browsed a massive number of items ?
For example if you loaded a 12K items playlist, the first 2K items would trigger that error when being played in foobar2000.
Title: foo_upnp
Post by: NEMO7538 on 2013-04-05 02:38:32
In fact, it is a foo_upnp bug. This bug (album artist appended to artist) triggers only when the renderer plays a tagless format like WAV or LPCM, or tagless mp3 transcode.
For all other formats, foobar2000 reads the real file tag from the stream instead of using the metadata supplied by foo_upnp.
It is probable you were streaming WAV or LPCM when you observed this bug.
uh ... probably yes.
In fact it took me some time to adjust the streaming profiles to be able to stream mp3/flac/ogg, because it seems that, strangely, is it determined by the controler and not the renderer, and I had to find the actual match with the renderer capabilities of my Nexus 10 (e.g. 11 025 Hz to 192 kHz) otherwise it would decode to PCM before streaming.

Another issue I have is that when trying to load large playlist or library portions of the library within BubbleUpnp (and after moving to the playlist tab and playing some tracks) it results in the renderer (foo_upnp) becoming unresponsive [reporting; Unable to open item for playback (error decoding proxy stream path request)], and then I have to restart the renderer and even the server. Should I report it in the xda forum?

Ok, this is a BubbleUPnP Server bug that can trigger if you browse more than 10000 items (they do not need to be all in the same playlist).
I will fix it in the next version of BubbleUPnP Server, removing that silly limitation. Can you confirm you browsed a massive number of items ?
For example if you loaded a 12K items playlist, the first 2K items would trigger that error when being played in foobar2000.
Yes that's what happens but I was trying to load around 5 000 items IIRC. Let me know if you need more testing.

Additional questions and comments :
  • From the playlist view in BubbleUpnp, the option "Show Album in Library" does not seem to work.
1. It works here. Are you sure foobar2000 is the current Media Server selected in the Library tab when you initiate "Show Album in Library"
I have customized foo_upnp.xml. Is there any requirements on how it should be formatted for the search to work? If I search manually it works well.
Title: foo_upnp
Post by: bubbleguuum on 2013-04-05 10:16:05
In fact it took me some time to adjust the streaming profiles to be able to stream mp3/flac/ogg, because it seems that, strangely, is it determined by the controler and not the renderer, and I had to find the actual match with the renderer capabilities of my Nexus 10 (e.g. 11 025 Hz to 192 kHz) otherwise it would decode to PCM before streaming.



Yes, the profile used is determined by the browsing client, in your case BubbleUPnP. So the BubbleUPnP profile is used, even if you browse with it to play on another renderer (not the the BubbleUPnP renderer). That's why for each browsed item, there is the primary stream URL specified by the matching profile and foo_upnp adds a WAV and LPCM  compat stream URLs, one of which is always guaranteed to be playable by any renderer. BubbleUPnP (or most other control points) will use the first stream URL if it is deemed playable by the renderer or otherwise use one of the compat URL.


Yes that's what happens but I was trying to load around 5 000 items IIRC. Let me know if you need more testing.


This can happen with less than 10K items. Since each item has 3 stream URLs (see above) this can happen with 10000/3 = 3333 items.
So this really needs fixing.

Quote
I have customized foo_upnp.xml. Is there any requirements on how it should be formatted for the search to work? If I search manually it works well.


Yes, I forgot that for album search to work, the first SubTree of foo_upnp_ml_tree.xml must be left to what it is by default:

Code: [Select]
<SubTree label="Albums">
    <spec type="object.container.album.musicAlbum">%album%[ '['%album artist%']']</spec>
</SubTree>
Title: foo_upnp
Post by: NEMO7538 on 2013-04-05 16:52:15
Yes, I forgot that for album search to work, the first SubTree of foo_upnp_ml_tree.xml must be left to what it is by default:

Code: [Select]
<SubTree label="Albums">
    <spec type="object.container.album.musicAlbum">%album%[ '['%album artist%']']</spec>
</SubTree>
Thanks ... It works now.

Another issue I have is that when trying to load large playlist or library portions of the library within BubbleUpnp (and after moving to the playlist tab and playing some tracks) it results in the renderer (foo_upnp) becoming unresponsive [reporting; Unable to open item for playback (error decoding proxy stream path request)], and then I have to restart the renderer and even the server. Should I report it in the xda forum?

Ok, this is a BubbleUPnP Server bug that can trigger if you browse more than 10000 items (they do not need to be all in the same playlist).
I will fix it in the next version of BubbleUPnP Server, removing that silly limitation. Can you confirm you browsed a massive number of items ?
For example if you loaded a 12K items playlist, the first 2K items would trigger that error when being played in foobar2000.

Well ... I made an additional test of loading a playlist of 5 000 tracks, bypassing BubbleUpnpServer and using directly the foobar media server. Although it was very long (I even had to kill BubbleUpnp which became unresponsive) I finally managed (in two batches) to get a full playlist which was not corrupted. I could save the playlist locally and after that it's working basically ok ...
I don't know if you plan any performance improvement apart from fixing the BubbleUpnp bug.

PS: It's probably normal but I have noticed that if I untick the "Add WAV/LPCM compatibility stream" in the foo_upnp server basic settings options I only get one stream (e.g. mp3) when sourced directly from foobar, but two streams  (stream #2: LPCM) when sourcing from BubbleUpnpServer.

Thanks for your support.

Title: foo_upnp
Post by: bubbleguuum on 2013-04-05 20:51:21
Well ... I made an additional test of loading a playlist of 5 000 tracks, bypassing BubbleUpnpServer and using directly the foobar media server. Although it was very long (I even had to kill BubbleUpnp which became unresponsive) I finally managed (in two batches) to get a full playlist which was not corrupted. I could save the playlist locally and after that it's working basically ok ...
I don't know if you plan any performance improvement apart from fixing the BubbleUpnp bug.


Maybe this can be improved but for 5K items it will still be slow. Let alone take a lot of RAM.
What are you trying to achieve with playlists that big ?

Quote
PS: It's probably normal but I have noticed that if I untick the "Add WAV/LPCM compatibility stream" in the foo_upnp server basic settings options I only get one stream (e.g. mp3) when sourced directly from foobar, but two streams  (stream #2: LPCM) when sourcing from BubbleUpnpServer.


BubbleUPnP Server always add a compat LPCM stream to proxy media servers (if there is no such stream already). This is part of the proxy feature making proxified servers more DLNA compliant. This LPCM stream is only used if the target renderer does not support the original (first) stream (and supports LPCM which is mandatory for any DLNA renderer).
What are you using a proxy media server of foo_upnp for ? On a LAN it is not really required. Proxy servers on a LAN can be useful to fix broken servers or to provide some non-exhaustive DLNA compliance for audio.


Btw BubbleUPnP 1.7.6.1 (available within a few hours on Google Play) fixes the %artist% problem on tagless streams. I thought the bug was in foo_upnp but it was in BubbleUPnP.
Title: foo_upnp
Post by: NEMO7538 on 2013-04-05 21:46:03
What are you trying to achieve with playlists that big ?

Just random playing a large set of files (e.g. for a given genre)

What are you using a proxy media server of foo_upnp for ?

I thought it was needed for Internet access and also to continue playing when the tablet is shut down (the open home feature IIRC).
Title: foo_upnp
Post by: bubbleguuum on 2013-04-07 13:13:05
What are you trying to achieve with playlists that big ?

Just random playing a large set of files (e.g. for a given genre)


Ok

What are you using a proxy media server of foo_upnp for ?

I thought it was needed for Internet access and also to continue playing when the tablet is shut down (the open home feature IIRC).


Yes of course. I was just asking because sometimes people use BubbleUPnP Server for no good reason, thinking it is absolutely required to operate Android BubbleUPnP.
Title: foo_upnp
Post by: posledniksimon on 2013-04-08 08:57:51
Hi everyone,

First, sorry for my english but it's not my native language and I know it's not my best skill...

I tried to use this component to play music from foobar (on my labtop) to a Wifi speaker (Sony SA NS-510) in my wifi network... But I didn't succeed...

The functionaly "Play to" from Windows 7 works fine...
With Itunes, i can select my devices easily (Airplay)

But I don't want to be forced to use WMP and Itunes... I love my foobar !!!!

My problem is that no redender are detected in the Upnp Controller box... The combobox stay disabled...

Does anyone have a clue to help me ?

Thanks

S.
Title: foo_upnp
Post by: posledniksimon on 2013-04-08 19:14:17
For information, when starting foobar, i see in console that my devices is detected but not present in "Select a device" Combobox...

Code: [Select]
foo_upnp: 0.056: PLT_CtrlPoint::InspectDevice(1269)/7348: INFO: Inspecting device "5f9ec1b3-ed59-1900-4530-5453edc2a17d" detected @ http://192.168.1.2:8080/description.xml
foo_upnp: 0.826: PLT_CtrlPoint::ProcessGetDescriptionResponse(1394)/6720: INFO: Device "5f9ec1b3-ed59-1900-4530-5453edc2a17d" is now known as "SA-NS510 C2A17D"


Thanks

S.
Title: foo_upnp
Post by: posledniksimon on 2013-04-13 19:51:17
... Nobody's here ?
Please, I'm don't bare using Itunes to listen music...

Title: foo_upnp
Post by: posledniksimon on 2013-04-13 19:57:16
... Nobody's here ?
Please, I'm don't bare using Itunes to listen music...

Title: foo_upnp
Post by: NEMO7538 on 2013-04-17 21:31:25
Good evening ... I have a feature request.

One of my favorite scenario is to "push" audio from computer A (in my office) to computer B (hidden in my living room and connected to my stereo), using the playback stream capture option, and to control foobar on computer A with foo_http_control and a client such as foobarcon (https://play.google.com/store/apps/details?id=com.wan.FooController&hl=fr) on an android device.

The user experience is fantastic, but the limitation in that situation is that I cannot change the volume of computer B, as my android client is connected to computer A.

So I would like an option to synchronize volumes between the two machines. I guess that it could be achieved by synchronizing the volume slider in the controller windows (on computer A) with foobar main volume (e.g. reflect the changes in foobar main volume control in the controller window).

I have a workaround using Jamcast (http://getjamcast.com/) (virtual soundcard) but it is not ideal for other reasons and I would prefer to stick to native foobar components.

Do you think it's feasible, or do you see any solution to synchronize volumes ?

Thanks for your reply.
Title: foo_upnp
Post by: swimmer on 2013-04-18 01:26:48
Current setup:
foobar 1.2.4
foo_upnp 0.99.45
Xbox360 system music player

Streaming FLAC and MP3 is currently working perfectly. I do, however, still have a subsection of my library still encoded as ALAC from my misguided iTunes days. I've made sure that decode to PCM is set to "always" with the type as a WAV stream and the only exceptions being mp3/wma. However, it doesn't seem to convert the ALAC files. They display with no times in the playlist on the Xbox and get skipped with an error about incompatible format when I attempt to play them.

While I could batch convert everything to FLAC, I'd rather avoid that unless I have a pressing reason to do so. Is there a reason it wouldn't be compatible with foobar's native ALAC decoder?
Title: foo_upnp
Post by: BenB on 2013-04-18 03:03:09
I've made sure that decode to PCM is set to "always" with the type as a WAV stream and the only exceptions being mp3/wma.

Try setting it to LPCM instead of WAV.
Title: foo_upnp
Post by: bubbleguuum on 2013-04-23 14:05:39
foo_upnp 0.99.46 is available (see first post of this topic for download link).

It is recommended to upgrade, as this version fixes a braindead bug that can cause high ping every 50s (thanks to the the user who reported that one)

As I also updated Platinum UPnP, let me know if you find any regression (stuff that worked in previous version but not in this one)

0.99.46



Title: foo_upnp
Post by: DutchDoctor on 2013-04-23 14:57:43
foo_upnp 0.99.46 is available (see first post of this topic for download link).

It is recommended to upgrade, as this version fixes a braindead bug that can cause high ping every 50s (thanks to the the user who reported that one)

As I also updated Platinum UPnP, let me know if you find any regression (stuff that worked in previous version but not in this one)

0.99.46

  • updated Platinum UPnP to 1.0.4.2
  • compiled with speed optimizations (should make browsing slightly faster)
  • fixed UPnP device search requests emited every 50s by mistake, flooding the network with unecessary SSDP trafic and potentially causing high ping spikes every 50s
  • server: fixed opened files for streaming not closed
  • server: fixed foo_upnp sometimes misidentified as WMP in BubbleUPnP
  • browser: fixed lock on UPnP Browser Selection playlist lost if moving the playlist
  • server: "can decode http streams" set to true for PS3 profile


Thanks for fixing this so promptly.

- Dutchy
Title: foo_upnp
Post by: mmattes on 2013-04-27 13:44:29
Good plugin I love it, at least it does what want and that is to play musik from my NAS. But I do have one request which would be very handy for me. I dont like if programms cant be controlled via keyboard and I think that the UPnP Browser doesnt support any keyboard actions instead of up and down right now. The keyboard actions I would love to have are:

CTRL+F > That the cursor jumps into the search field
Enter > To open a path in the tree structure or to add a album to the playlist
Up/Down/Left/Right Cursor > To navigate through the tree structure. Up/Down works already but right only works if you once clicked on the entry to retrieve the subfolder structure

Title: foo_upnp
Post by: Calabi-Yau on 2013-04-28 12:39:34
At first I would like to thank you for this marvellous plugin, I'm using it as UPnP/DLNA server for my Linn ADSM.

I am still using release 0.99.40 - which works just fine - because newer releases don't show up at my control points (BubbleDS on Android and Kinsky on Windows 7) after wake-up from Windows stand-by and hibernate, I would have to everytime manually stop/start UPnP Media Server or restart foobar2000 to correct this behaviour.

Is there anything I do wrong?

Thank you very much in advance!
Title: foo_upnp
Post by: bubbleguuum on 2013-04-30 10:57:45
Good plugin I love it, at least it does what want and that is to play musik from my NAS. But I do have one request which would be very handy for me. I dont like if programms cant be controlled via keyboard and I think that the UPnP Browser doesnt support any keyboard actions instead of up and down right now. The keyboard actions I would love to have are:

CTRL+F > That the cursor jumps into the search field
Enter > To open a path in the tree structure or to add a album to the playlist
Up/Down/Left/Right Cursor > To navigate through the tree structure. Up/Down works already but right only works if you once clicked on the entry to retrieve the subfolder structure


You can use + and - keys to expand/close a folder. Additionally, + will execute the action assigned to left-click when entering a folder containing items.
Title: foo_upnp
Post by: bubbleguuum on 2013-04-30 11:01:22
At first I would like to thank you for this marvellous plugin, I'm using it as UPnP/DLNA server for my Linn ADSM.

I am still using release 0.99.40 - which works just fine - because newer releases don't show up at my control points (BubbleDS on Android and Kinsky on Windows 7) after wake-up from Windows stand-by and hibernate, I would have to everytime manually stop/start UPnP Media Server or restart foobar2000 to correct this behaviour.

Is there anything I do wrong?

Thank you very much in advance!


I could reproduce this issue.
It is explained by the fact that when the computer wake-up from hibernate, network interfaces are down, then up, and foo_upnp doesn't detect network interface up/down changes anymore since 0.99.40 (I removed it because it required some changes to work with newer Platinum UPnP).
I never knew until now that network interface up/down monitoring was required for waking  from hibernate to work properly.
I'll try to have it working again in the the next release.
Title: foo_upnp
Post by: myskin on 2013-04-30 18:25:16
Hi Bubbleguuum, best complimento and thank you very much for this amazing plugin. I'm using it with two dlna devices: Yamaha RX-V2067 and Xbmc for iPad.

I've only three issues:

1) some albums are displayed with a casual track order and others are displayed ordered by track number; it seems to me that both of them are correctly tagged and I can't figure out wich is the cause of this different behaviour

2) it seems that the plugin sends always the first %albumartist% tag even if I put %artis% in the "format track artist using" parameter

3) when I use the folder node (file system), at the third level all nodes are hidden and I can't select them

Any answer will be appreciate
Thanks
Title: foo_upnp
Post by: therobin on 2013-04-30 21:56:28
I am having problems loading playlist on PS3. Some playlist will cause foobar2000 to crash. I can reproduce the issue consistently, but cannot narrow the cause.

It seems that some items in the list can cause the crash consistently (Some tracks, loaded via playlist or media library, will crash it). But some items that don't in some playlists, can in others. There appears to be no consistency in the items that crash fooba200 when loading the playlist on the PS3 (tags, format, etc.). This only happens on PS3. Other DNLA apps and hardware work fine with all items.

I tried tweaking just about every option in UPnP plugin and it is still happening. This did not happen in earlier versions (I think pre 0.99.4x).
Title: foo_upnp
Post by: bubbleguuum on 2013-05-01 09:32:22
Hi Bubbleguuum, best complimento and thank you very much for this amazing plugin. I'm using it with two dlna devices: Yamaha RX-V2067 and Xbmc for iPad.

I've only three issues:

1) some albums are displayed with a casual track order and others are displayed ordered by track number; it seems to me that both of them are correctly tagged and I can't figure out wich is the cause of this different behaviour

2) it seems that the plugin sends always the first %albumartist% tag even if I put %artis% in the "format track artist using" parameter

3) when I use the folder node (file system), at the third level all nodes are hidden and I can't select them

Any answer will be appreciate
Thanks


1. What does casual track order mean ? Do you observe unusual track order in several Control Points ?

2.  Did you notice that when displaying individual tracks in your control point ?
For tracks, Album Artist is indeed always sent, alongside track artist set with "format track artist using" titleformat string.
I can see how some control points could favor album artist over track artist when both are sent.

3. Not sure I understand that. Please explain
Title: foo_upnp
Post by: bubbleguuum on 2013-05-01 09:33:16
I am having problems loading playlist on PS3. Some playlist will cause foobar2000 to crash. I can reproduce the issue consistently, but cannot narrow the cause.

It seems that some items in the list can cause the crash consistently (Some tracks, loaded via playlist or media library, will crash it). But some items that don't in some playlists, can in others. There appears to be no consistency in the items that crash fooba200 when loading the playlist on the PS3 (tags, format, etc.). This only happens on PS3. Other DNLA apps and hardware work fine with all items.

I tried tweaking just about every option in UPnP plugin and it is still happening. This did not happen in earlier versions (I think pre 0.99.4x).


I will look into it. Can you confirm it only crash when browsing on the PS3 and not while playing ?
Title: foo_upnp
Post by: therobin on 2013-05-03 01:09:19
I am having problems loading playlist on PS3. Some playlist will cause foobar2000 to crash. I can reproduce the issue consistently, but cannot narrow the cause.

It seems that some items in the list can cause the crash consistently (Some tracks, loaded via playlist or media library, will crash it). But some items that don't in some playlists, can in others. There appears to be no consistency in the items that crash fooba200 when loading the playlist on the PS3 (tags, format, etc.). This only happens on PS3. Other DNLA apps and hardware work fine with all items.

I tried tweaking just about every option in UPnP plugin and it is still happening. This did not happen in earlier versions (I think pre 0.99.4x).


I will look into it. Can you confirm it only crash when browsing on the PS3 and not while playing ?


Yes, it crashes when browsing on PS3 only. If you are referring to foobar2000 player itself, it does not matter whether it is playing or not. The PS3 throws error 80710736 and DNLA 2101. From what I googled, it looks like those are pretty general error codes.
Title: foo_upnp
Post by: myskin on 2013-05-05 12:05:57
[quote name='bubbleguuum' date='May 1 2013, 09:32' post='832963']
Hi bubbleguuum, sorry to disturbed you!

I found that they are all constraints of yamaha rx-v2067 dlna receiver; it always use these tag informations regardless the xml configuration: director -> artist -> album artist
I resolved removing director tag and exchanging artist with album artist information. After these changes also the order is based on track number.

The third issue means that the navigation of the tree is limited to the fifth level of zooming, but it is also e constraint of the dlna receiver.

A last question: could you post the syntax rules of the "query" keyword ? I mean, is it possible for example use "IS NOT" o "ORDER BY" directives ?

Tahnk you very much
Title: foo_upnp
Post by: therobin on 2013-05-09 23:43:37
Good news. Due to an unrelated problem, I was forced to format my system. Even though I restored my foobar2000 appdata folder from my backups, the issue no longer occurs on PS3.

Only difference is I installed 1.2.6 then restored the appdata (which was backed upped from 1.2.5).
Title: foo_upnp
Post by: Sandrine on 2013-05-11 20:31:16
On my system, the media renderer part of foo_upnp 0.99.46 causes horrible latency. When foobar is not running, latency oscillates somewhere between 60 and 250 us (checked with LatencyMon). When foobar starts with the media render running, I get spikes of sometimes over 10.000 (!) us every few seconds. Stopping the media renderer solves it - this can be reproduced every time. Obviously, this puts a strain on playback and produces more or less audible pops and stuff on local playback.

Since the foobar component download page only exposes the last version (even though 0.99.46 is marked as beta, so there should be the last stable version as well for download), I cannot test if the problem existed in previous versions. Thanks for looking into this!
Title: foo_upnp
Post by: thals1992 on 2013-05-17 15:58:43
Thanks for the epic plugin, but I'm seeming to have several issues with using foobar2000 as the server and my windows phone 7 as the client.
Using the htc connected media app, I cant seem to set a profile up for it.
It uses User-Agent: Windows CE 7.10 UPnP control point DLNADOC/1.50 for listing the files, but then it uses User-Agent: NSPlayer/07.00.0000.0000 WMFSDK/07.00.0000.0000 when playing music.

How would I need to enter this info into a new streaming profile if I just need Windows CE 7, NSPlayer and WMFSDK to use it on other Windows Phone apps? (not just the htc verison, but maybe nokia's DLNA app or even windows phone 8 devices (making the string generic to accept any windows phone)

Also I will playing any file from the server and it will randomly stop (stating unable to connect media server while on foobar it says,
Code: [Select]
PLT_HttpServerSocketTask::Write(465)/548: WARNING: NPT_CHECK failed, result=-20400 (NPT_ERROR_CONNECTION_RESET) [(SendResponseBody(response, *output_stream, abort))]

I'm not sure if this is an issue with the app on the phone or if foobar is just dropping the connection, but I can just press play on the phone and it will continue streaming without buffering/loading.
Title: foo_upnp
Post by: ControllingTheUniverse on 2013-05-18 16:09:10
Great Plugin bubbleguuum! Thanks. I use it with my SynologyNAS + BubbleUPnP Server.

I use BubbleUPnP App on my Android Phone, works great. But for some reasons I want to use a PC Application to Access Music.

Two small questions, sorry I didn't find an answer that satisfied me:

1) I want to connect a PC from a friend to my BubbleUPnP Musc Database:

    do I have to use
      Libary/Tools/UPnP/Server/Internet Access or View/Add remote Internet UPnP Server... ? Or both? :/

2) Is there any chance to integrate the UPnP Browser into the main Program? I use the Standard-Layout "Album List + Properties + Visualisations"

Thanks in advance!!
Title: foo_upnp
Post by: ControllingTheUniverse on 2013-05-18 20:02:02
Great Plugin bubbleguuum! Thanks. I use it with my SynologyNAS + BubbleUPnP Server.

I use BubbleUPnP App on my Android Phone, works great. But for some reasons I want to use a PC Application to Access Music.

Two small questions, sorry I didn't find an answer that satisfied me:

1) I want to connect a PC from a friend to my BubbleUPnP Musc Database:

    do I have to use
      Libary/Tools/UPnP/Server/Internet Access or View/Add remote Internet UPnP Server... ? Or both? :/

2) Is there any chance to integrate the UPnP Browser into the main Program? I use the Standard-Layout "Album List + Properties + Visualisations"

Thanks in advance!!



EDIT: "Problem1 solved" RTFM was a good idea

Problem 2 is still actual...
Title: foo_upnp
Post by: ControllingTheUniverse on 2013-05-25 13:11:49
I also found another interesting thing with the UPnP-Controller:

(https://imageshack.us/a/img442/5642/16771566.jpg)

The tracks which have been played can't be chosen and played again. They will be skipped to the fist unplayed track.
Title: foo_upnp
Post by: Sniperwolf on 2013-05-27 19:24:56
Hey guys, I'm new here!

My Setup looks like this :
Local Network with several Computers/Laptops running foobar + foo_upnp.
Windows 2012 Server running foobar 1.2.6 + foo_upnp.

Everything is working as intended as I'm able to browse through my libary using the UPnP Browser.
Now i'm not certain if this question has already been asked (and answered ) but is it possible to completely embed the UPnP Browser into foobar?
The browserpopup (View -> UPnP Mediabrowser) hinders the usability for me and m gf.


Greets
Wolf

/e oh i just noticed that this question has already been asked here : http://www.hydrogenaudio.org/forums/index....st&p=834655 (http://www.hydrogenaudio.org/forums/index.php?showtopic=69664&view=findpost&p=834655)
No answer though
Title: foo_upnp
Post by: thals1992 on 2013-05-27 21:40:59
Thanks for the epic plugin, but I'm seeming to have several issues with using foobar2000 as the server and my windows phone 7 as the client.
Using the htc connected media app, I cant seem to set a profile up for it.
It uses "User-Agent: Windows CE 7.10 UPnP control point DLNADOC/1.50" for listing the files, but then it uses User-Agent: "NSPlayer/07.00.0000.0000 WMFSDK/07.00.0000.0000" when playing music.

How would I need to enter this info into a new streaming profile if I just need Windows CE 7, NSPlayer and WMFSDK to use it on other Windows Phone apps? (not just the htc verison, but maybe nokia's DLNA app or even windows phone 8 devices (making the string generic to accept any windows phone)

Also I will playing any file from the server and it will randomly stop (stating unable to connect media server while on foobar it says,
Code: [Select]
PLT_HttpServerSocketTask::Write(465)/548: WARNING: NPT_CHECK failed, result=-20400 (NPT_ERROR_CONNECTION_RESET) [(SendResponseBody(response, *output_stream, abort))]

I'm not sure if this is an issue with the app on the phone or if foobar is just dropping the connection, but I can just press play on the phone and it will continue streaming without buffering/loading.


Well, I have dug around a bit and it seams that windows phone 7/8 and windowsmediaplayer uses similar useragents. It still seems to choose the default profile when I play the Playback Stream Capture.
I currently have two diffferent profiles for it, because it seems to use two different agents. Profile 1 is WP7 and profile 2 is WP7-2.
Profile 1's settings are
Code: [Select]
use profile when [b]User-Agent[/b] contain [b]Windows CE[/b]

Profile 2's settings are
Code: [Select]
use profile when [b]User-Agent[/b] contain [b]NSPlayer|WMFSDK[/b]

Any help?
Title: foo_upnp
Post by: BenB on 2013-05-28 16:04:42
Is there any chance to integrate the UPnP Browser into the main Program?

... embed the UPnP Browser into foobar?


View > Layout > Enable layout editing mode

Right-click in the area you want it and select Replace UI element.... Then you'll probably want to choose a Tabs container or a splitter.

If you choose a Tabs container, whatever is at that location will automatically be added to the first tab. Right-click on the tab and click on Add New Tab. Then click on the new tab and right-click on the empty space below and click on Add New UI element.... Select UPnP Browser to embed it. You'll probably want to rename the tabs to something more descriptive. Exit layout editing mode and you're finished.

If the above is confusing, you can always go to View > Layout > Create scratchbox and build a custom layout before applying it. You apply it through the scratchbox's Edit menu.
Title: foo_upnp
Post by: saikon on 2013-05-31 07:25:17
I think I encountered a bug in the plugin. The port which the client uses for playback seems to get mixed up with the server side port. So, here is the situation:

I have a server behind NAT listening at <IP_LAN>:55555, then my router is configured to forward all requests from <IP_NET>:55666 to <IP_LAN>:55555. I use my remote foobar-client to connect to <IP_NET>:55666 and this works. I get the playlists, libraries and what have you just fine. The problem occurs when I try to playback some audio. The remote client for some reason wants to connect using port 55555 like this:
Code: [Select]
Unable to open item for playback (Could not connect to host):
"http://<IP_NET>:55555/content/85684c81638f2c75f869304d575ee4a0.mp3"

When I change the port to the right internet side port 55666 then that file plays back just fine. This problem makes it impossible to play files through the remote foobar UPnP Browser though.
Title: foo_upnp
Post by: Sniperwolf on 2013-06-01 11:54:22
Is there any chance to integrate the UPnP Browser into the main Program?

... embed the UPnP Browser into foobar?


View > Layout > Enable layout editing mode

Right-click in the area you want it and select Replace UI element.... Then you'll probably want to choose a Tabs container or a splitter.

If you choose a Tabs container, whatever is at that location will automatically be added to the first tab. Right-click on the tab and click on Add New Tab. Then click on the new tab and right-click on the empty space below and click on Add New UI element.... Select UPnP Browser to embed it. You'll probably want to rename the tabs to something more descriptive. Exit layout editing mode and you're finished.

If the above is confusing, you can always go to View > Layout > Create scratchbox and build a custom layout before applying it. You apply it through the scratchbox's Edit menu.


not at all confusing.
Thank you very much :-).

Everything is working now as intended.

greets
Title: foo_upnp
Post by: 2diabolos on 2013-06-02 16:44:22
Thank you for this nice plugin.
I have 2 questions :

1)
The server media list is limited to the "my music" directory.
Even if I told Foobar and also Windows 7 that my music in on another directory on another disk, the UPnP server seem to ignore that completely.
And I've not seen any path configuration in the server preference.

it seems obvious that we need a option for that, no ?
does everyone have it's music in "C:/users/user/Music" ?

2)
could we change the browser interface ? I mean could we have a column UI kind of interface instead of the actual simple tree ?
Title: foo_upnp
Post by: bubbleguuum on 2013-06-04 22:16:41
I think I encountered a bug in the plugin. The port which the client uses for playback seems to get mixed up with the server side port. So, here is the situation:

I have a server behind NAT listening at <IP_LAN>:55555, then my router is configured to forward all requests from <IP_NET>:55666 to <IP_LAN>:55555. I use my remote foobar-client to connect to <IP_NET>:55666 and this works. I get the playlists, libraries and what have you just fine. The problem occurs when I try to playback some audio. The remote client for some reason wants to connect using port 55555 like this:
Code: [Select]
Unable to open item for playback (Could not connect to host):
"http://<IP_NET>:55555/content/85684c81638f2c75f869304d575ee4a0.mp3"

When I change the port to the right internet side port 55666 then that file plays back just fine. This problem makes it impossible to play files through the remote foobar UPnP Browser though.



It is not a bug, but a design limitation which requires that the same port must be used in the NAT rule and on the server.
Title: foo_upnp
Post by: bubbleguuum on 2013-06-04 22:18:05
Thank you for this nice plugin.
I have 2 questions :

1)
The server media list is limited to the "my music" directory.
Even if I told Foobar and also Windows 7 that my music in on another directory on another disk, the UPnP server seem to ignore that completely.
And I've not seen any path configuration in the server preference.

it seems obvious that we need a option for that, no ?
does everyone have it's music in "C:/users/user/Music" ?

2)
could we change the browser interface ? I mean could we have a column UI kind of interface instead of the actual simple tree ?


1. The media server uses the sames folders than defined for the foobar2000 Media Library

2. No
Title: foo_upnp
Post by: Cebolla on 2013-06-10 14:23:24
Is it possible to differentiate between alac & aac codecs in an m4a container file when selecting the exceptions within the Decoding to PCM section of the Streaming profiles? Adding either 'alac' or 'aac' to the edit box gets ignored and when 'm4a' is added, files of both codecs are used as exceptions.

Also if decoding to wav is selected for a lossless file, is the decoding bit perfect if the produced wav stream's bit depth & sample rate matches that of the original lossless file?

Many thanks.
Title: foo_upnp
Post by: bubbleguuum on 2013-06-11 09:46:41
Is it possible to differentiate between alac & aac codecs in an m4a container file when selecting the exceptions within the Decoding to PCM section of the Streaming profiles? Adding either 'alac' or 'aac' to the edit box gets ignored and when 'm4a' is added, files of both codecs are used as exceptions.


Not possible to make the distinction as both file types use the same file extension.

Also if decoding to wav is selected for a lossless file, is the decoding bit perfect if the produced wav stream's bit depth & sample rate matches that of the original lossless file?


Yes, it uses the foobar2000 APIs to do the decoding to PCM.
Title: foo_upnp
Post by: Cebolla on 2013-06-11 11:05:05
Oh that's excellent news about it being bit perfect, especially for ALAC -> WAV. I've been searching for ages to find server that can do this, many thanks for providing this ability!

Only very slight downer in that it has to do AAC -> WAV at the same time, as my renderer natively supports AAC. Why did Apple not design a seperate container for itunes lossless & lossy downloads?

Would you consider providing a way for the user to set codec preference for a container file in the Decoding to PCM settings, in a future build, especially with iTunes downloads being so common?
Title: foo_upnp
Post by: b0br0ck on 2013-06-19 18:26:44
Hi, I'm slowly changing over to foobar from iTunes and I'm getting a little stuck when using 'streaming profiles'
I want to stream to my Onkyo receiver, my PS3 and iPhone

The default streaming profile works fine on the onkyo, but if I select the 'ps3 profile' nothing happens - the apply button stays greyed out. Only if I change on of the settings of the ps3 profile am I able to apply. The thing is when I click apply the server seems to stop working. On all 3 devices the foobar server disappears.

When this happens I need to restart foobar to get the server working again, but on start up it goes back to the 'default' setting. I've tried stopping and restarting the server but that makes no difference, only closing foobar and restarting gets it working again.

I'm pretty sure when I last tinkered with the streaming profiles a few months ago it would automatically restart for changes to take effect, but that's not happening, and as i say closing foobar goes back to the default setting.

Ps it will remember changes I make to the default setting, so at the moment rather than choosing the ps3 profile, I change the default to the sample rate of 48 which is friendly to the ps3, but it would be nicer just be able to choose which saved profile I want without having to tinker each time I want to stream to a different device


Cheers


Title: foo_upnp
Post by: BenB on 2013-06-20 00:09:54
You seem to be misunderstanding how the component works. You do not "apply" a device profile. The component automatically chooses the profile to use depending upon the device communicating with it.

As far as the server stopping and not restarting, try stopping and then starting the server yourself when that happens. You shouldn't need to restart foobar.
Title: foo_upnp
Post by: b0br0ck on 2013-06-20 08:00:08
You seem to be misunderstanding how the component works. You do not "apply" a device profile. The component automatically chooses the profile to use depending upon the device communicating with it.

As far as the server stopping and not restarting, try stopping and then starting the server yourself when that happens. You shouldn't need to restart foobar.



I think I understand; the Onkyo avr will pick up the default setting which I've set to the sample rate of 44.1, 320kb mp3 - this shows up on the onkyo display so I know it's using this profile. But the ps3 will pick up the 'streaming profile ps3' and use the sample rate 48khz (to avoid stuttering).

Out of a matter of interest how does the device communicate with the upnp plugin to ensure it receives the correct stream? Or is there a user guide I can read through relating to streaming profiles that I can read through?

Ps I can stop and start the server, but if I make changes to the profile eg bit rate or sample rate etc the server disappears from showing up on devices, restarting the server makes no effect only a restart of foobar and it will then show back up straight away

Cheers
Title: foo_upnp
Post by: b0br0ck on 2013-06-22 20:11:03
Ah, after messing about with the settings and doing a bit of trial and error I now understand a bit more.

I'm new to all this streaming, previously an iPod dock would suffice,  but I'm learning fast.

The 'Client' (avr receiver, ps3, iPhone etc...) talks to foobar and picks up the correct streaming profile if the section after "User-Agent" is filled in correctly, as the examples you have some already done, eg PS3.
Originally I though that you had to choose and apply a streaming profile on foobar and your 'client' would then use the chosen profile, like choosing a setting or eq that you would play music directly from your pc.

When you get into it it's amazing how configurable the upnp add-in to foobar actually is.

A couple of things to list that may help other users and enable them to tweak their own settings.....

On my iPhone I tried a couple of apps and through trial and error worked out the user-agent header for them to go in the box next to 'user-agent. (If you want to change the settings from the default)

Using Moliplayer, I put in the box 'Moliplayer'
Using 8player, I put in the box 'Player'

For streaming to my Onkyo tx-nr3008 I put in 'DLNADOC'

I can then check in 'view, console' and see that it picks up the new profile I have created rather than 'default'.

Depending on which upnp client/player you are using some list album tracks alphabetically, the iPhone apps did, which is frustrating as your album plays in the wrong order, so I added the code under tools,upnp,server,content in the box Format track titles using: I put    [%tracknumber%] - [%title%]    This makes on your upnp client/player songs show up like
01 - Enter Sandman
02 - Sad But True
Eliminating the problem of tracks being played in the wrong order.

I haven't found any other streaming program that is as user configurable as this Totally Brilliant and most of all IT'S FREE!
Title: foo_upnp
Post by: eevan on 2013-06-22 21:19:45
I have an incomming PPTP RAS connection set up on my home Win7 machine.
I use my Win7 laptop to make a VPN connection to a home network.
Both machines are runnung foobar2000 1.2.8 and foo_upnp 0.99.46.

When I establish the VPN connection on my laptop, UPnP browser does not discover
the server on the desktop machine. It's interesting that at the same time Windows Media Player discovers it, and is able to browse the media library. It's the same if I start foo_upnp server on a laptop and browse from a desktop. It discovers only Windows Media Player server. So I suppose that it's not some closed firewall port issue, It seems that foo_upnp does not sets a multicast interface on the laptop's PPP VPN adapter. Here are the logs from both client (laptop) and server (desktop) machine.


Laptop log:
Code: [Select]
0.000: foo_upnp::on_init(199)/1312: INFO: foo_upnp: version 0.99.46
0.006: PLT_UPnP::Start(150)/1312: INFO: Starting UPnP...
0.019: NPT_BsdSocket::Bind(1202)/1312: FINE: setting SO_REUSEADDR option on socket
0.019: NPT_BsdUdpMulticastSocket::LeaveGroup(1788)/1312: FINE: leaving multicast addr 192.168.10.106 group 239.255.255.250
0.019: NPT_BsdUdpMulticastSocket::LeaveGroup(1796)/1312: FINE: setsockopt error -32049
0.019: NPT_BsdUdpMulticastSocket::JoinGroup(1746)/1312: FINE: joining multicast addr 192.168.10.106 group 239.255.255.250
initialized in 0.020s
5.5968: PLT_UPnP::AddCtrlPoint(266)/1312: INFO: Starting Ctrlpoint...
5.5985: PLT_HttpServer::Start(127)/1312: INFO: HttpServer listening on 0.0.0.0:1404
5.5988: NPT_BsdUdpMulticastSocket::SetInterface(1823)/1312: FINE: setting multicast interface 192.168.10.106  [color=#FF0000]<-- Wireless LAN[/color]
5.5989: NPT_BsdUdpMulticastSocket::SetTimeToLive(1856)/1312: FINE: setting multicast TTL to 4
5.5993: NPT_BsdUdpMulticastSocket::SetInterface(1823)/1312: FINE: setting multicast interface 127.0.0.1
5.5993: NPT_BsdUdpMulticastSocket::SetTimeToLive(1856)/1312: FINE: setting multicast TTL to 4

Desktop log (On the laptop, PPP adapter's IP address is 192.168.1.11):
Code: [Select]
0.000: foo_upnp::on_init(199)/5780: INFO: foo_upnp: version 0.99.46
0.000: PLT_UPnP::Start(150)/5780: INFO: Starting UPnP...
0.000: NPT_BsdSocket::Bind(1202)/5780: FINE: setting SO_REUSEADDR option on socket
0.000: NPT_BsdUdpMulticastSocket::LeaveGroup(1788)/5780: FINE: leaving multicast addr 192.168.1.10 group 239.255.255.250
0.000: NPT_BsdUdpMulticastSocket::LeaveGroup(1796)/5780: FINE: setsockopt error -32049
0.000: NPT_BsdUdpMulticastSocket::JoinGroup(1746)/5780: FINE: joining multicast addr 192.168.1.10 group 239.255.255.250
0.000: NPT_BsdUdpMulticastSocket::LeaveGroup(1788)/5780: FINE: leaving multicast addr 192.168.1.4 group 239.255.255.250
0.000: NPT_BsdUdpMulticastSocket::LeaveGroup(1796)/5780: FINE: setsockopt error -32049
0.000: NPT_BsdUdpMulticastSocket::JoinGroup(1746)/5780: FINE: joining multicast addr 192.168.1.4 group 239.255.255.250
0.000: NPT_BsdUdpMulticastSocket::LeaveGroup(1788)/5780: FINE: leaving multicast addr 169.254.237.132 group 239.255.255.250
0.000: NPT_BsdUdpMulticastSocket::LeaveGroup(1796)/5780: FINE: setsockopt error -32049
0.000: NPT_BsdUdpMulticastSocket::JoinGroup(1746)/5780: FINE: joining multicast addr 169.254.237.132 group 239.255.255.250
0.000: standard_media_tree_root_node_t::load_ml_filters(574)/5780: INFO: loaded Media Library filters from C:\Users\eevan\AppData\Roaming\foobar2000\foo_upnp_ml_tree.xml
0.016: PLT_UPnP::AddDevice(224)/5780: INFO: Starting Device...
0.016: NPT_BsdSocket::Bind(1202)/5780: FINE: setting SO_REUSEADDR option on socket
0.031: PLT_HttpServer::Start(127)/5780: INFO: HttpServer listening on 0.0.0.0:56923
initialized in 0.031s
0.047: NPT_BsdUdpMulticastSocket::SetInterface(1823)/4668: FINE: setting multicast interface 192.168.1.10 [color=#FF0000]<-- RAS Dial In Interface[/color]
0.047: NPT_BsdUdpMulticastSocket::SetTimeToLive(1856)/4668: FINE: setting multicast TTL to 4
0.047: NPT_BsdUdpMulticastSocket::SetInterface(1823)/4668: FINE: setting multicast interface 192.168.1.4 [color=#FF0000]<-- Ethernet adapter[/color]
0.047: NPT_BsdUdpMulticastSocket::SetTimeToLive(1856)/4668: FINE: setting multicast TTL to 4
0.047: NPT_BsdUdpMulticastSocket::SetInterface(1823)/4668: FINE: setting multicast interface 169.254.237.132 [color=#FF0000]<-- VirtualBox Ethernet adapter[/color]
0.047: NPT_BsdUdpMulticastSocket::SetTimeToLive(1856)/4668: FINE: setting multicast TTL to 4
0.265: NPT_BsdUdpMulticastSocket::SetInterface(1823)/4668: FINE: setting multicast interface 192.168.1.10
0.265: NPT_BsdUdpMulticastSocket::SetTimeToLive(1856)/4668: FINE: setting multicast TTL to 4
created 30677 path registry entries in 0.483s
0.718: NPT_BsdUdpMulticastSocket::SetInterface(1823)/4668: FINE: setting multicast interface 192.168.1.4
0.718: NPT_BsdUdpMulticastSocket::SetTimeToLive(1856)/4668: FINE: setting multicast TTL to 4
1.1155: NPT_BsdUdpMulticastSocket::SetInterface(1823)/4668: FINE: setting multicast interface 169.254.237.132
1.1155: NPT_BsdUdpMulticastSocket::SetTimeToLive(1856)/4668: FINE: setting multicast TTL to 4
3.3370: PLT_HttpHelper::ToLog(432)/1556: FINE: PLT_HttpServer::SetupResponse GET request from 192.168.1.11:50498 for "http://192.168.1.10:56923/DeviceDescription.xml"
GET /DeviceDescription.xml HTTP/1.1                                                              [color=#FF0000]^Request comes through the VPN tunnel[/color]
Cache-Control: no-cache
Connection: Close
Pragma: no-cache
Accept: text/xml, application/xml
Host: 192.168.1.10:56923
User-Agent: Microsoft-Windows/6.1 UPnP/1.0 Windows-Media-Player-DMS/12.0.7601.17514 DLNADOC/1.50

3.3370: FbMediaServer::CheckAuthentication(401)/1556: INFO: received LAN request: [url=http://192.168.1.10:56923/DeviceDescription.xml]http://192.168.1.10:56923/DeviceDescription.xml[/url] (User-Agent: Microsoft-Windows/6.1 UPnP/1.0 Windows-Media-Player-DMS/12.0.7601.17514 DLNADOC/1.50)
3.3370: PLT_HttpHelper::ToLog(530)/1556: FINE: PLT_HttpServerSocketTask::Write
HTTP/1.1 200 OK
Date: Sat, 22 Jun 2013 13:48:27 GMT
Content-Length: 3347
Content-Type: text/xml; charset="utf-8"
Connection: close
Server: UPnP/1.0 DLNADOC/1.50 Platinum/1.0.4.2-bb

3.3370: PLT_HttpServerSocketTask::SendResponseBody(428)/1556: FINE: sending body stream, 3347 bytes
loaded Media Library tree in 119.434s

Maybe somebody has an idea what's wrong here?

Cheers

Title: foo_upnp
Post by: PeterMac on 2013-06-27 18:46:52
I noticed problem with DLNA Media Server, the problem is with Monkey's Audio APE files (struture CUE+APE), The list of files is not generate and Media Server is back to begin of list of my all DLNA servers in my network.

I tried to re-encode this APE files again decompres to WAV and decode again with newest version of Monkey's Audio 4.12 decoder and then is no problem, list of files from CUE is generate correct.
Where is the problem  why is problem with files decoded with older version of Monkeys' Audio.

With structure CUE+FLAC I don't have any problem, everything is working perfect.
Btw. Thank you for this great plugin is almost perfect.
Title: foo_upnp
Post by: LinkSatonaka on 2013-07-07 20:44:08
Would it be possible for you to allow us to configure a permanent port for the renderer and perhaps the server? I have figured out how to control the renderer over a cellular connection, except it binds to a random port every time you start it up. Port forwarding nightmare.

(Couldn't get the server to work over cellular though, not sure why).

Thanks
Title: foo_upnp
Post by: anderslynge on 2013-07-24 09:42:24
Hi.

I'm getting some errors on more or less random times when using my phone to stream to the UPnP controller.

The error is:
Decoding failure at 3:31.023 (Connection error):
"http://entmedia.vo.llnwd.net/e1//thr/data65/MOBILE/091000-091999/559E5D6AC61E0F0FE040010A0B064796.mp4.mp4?s=1374637759&e=1374672319&h=4372acbff494dfa6cf373a52bb36ff7c&sid=231932789&d=1&file=file.mp3"

I have disabled the "Gapless control", but it makes no difference.
Title: foo_upnp
Post by: anfromme on 2013-07-24 22:13:48
I've been using foo_upnp with a Denon DNP-720AE for over a year at this point, without much trouble at all.
However, this recently changed - this may have been to do with a firmware upgrade that happened on the Denon, but I'm not 100% sure on that.
Anyway - using Airplay, I can still stream fine to the Denon, but using foo_upnp, I get no joy. Worse - after I try it seems that foo_upnp actually sends the Denon into something like an infinite loop, i.e. it's unusable until I do a cold restart.

On the foobar side, what I see is "Buffering..." for a good minute or so, and then it changes to "Stopped".
At the same time, the Denon actually shows the track title and artist correctly, with 0:00 as the unchanging time code.

Here's the log excerpt:

Code: [Select]
foo_upnp: 0.082: PLT_UPnP::AddCtrlPoint(266)/10024: INFO: Starting Ctrlpoint...
foo_upnp: 0.083: PLT_HttpServer::Start(127)/10024: INFO: HttpServer listening on 0.0.0.0:1638
foo_upnp: initialized in 0.087s
Startup time : 0:01.275896
foo_upnp: 0.199: PLT_CtrlPoint::InspectDevice(1269)/5128: INFO: Inspecting device "00e0fc37-2525-2828-2500-2469a58c905f" detected @ http://192.168.1.1:37215/upnpdev.xml
foo_upnp: 0.334: PLT_CtrlPoint::InspectDevice(1269)/5128: INFO: Inspecting device "8d1155f5-11dc-6043-d497-c3372b3bfcba" detected @ http://192.168.1.1:1990/WFADevice.xml
foo_upnp: 0.453: PLT_CtrlPoint::InspectDevice(1269)/5128: INFO: Inspecting device "00e0fc37-2626-2828-2600-2469a58c905f" detected @ http://192.168.1.1:37215/tr064dev.xml
foo_upnp: created 23036 path registry entries in 0.610s
foo_upnp: 1.1227: PLT_CtrlPoint::ProcessGetDescriptionResponse(1394)/8100: INFO: Device "00e0fc37-2525-2828-2500-2469a58c905f" is now known as "Huawei Home Gateway"
foo_upnp: 1.1282: PLT_CtrlPoint::ProcessGetDescriptionResponse(1394)/3436: INFO: Device "8d1155f5-11dc-6043-d497-c3372b3bfcba" is now known as "WFADevice"
foo_upnp: 1.1390: PLT_CtrlPoint::ProcessGetDescriptionResponse(1394)/7908: INFO: Device "00e0fc37-2626-2828-2600-2469a58c905f" is now known as "Huawei Home Gateway"
foo_upnp: 1.1589: LinnDsRendererController::Create(117)/10024: INFO: couldn't find urn:av-openhome-org:service:Product:1 service
foo_upnp: 3.3083: PLT_CtrlPoint::InspectDevice(1269)/5128: INFO: Inspecting device "5f9ec1b3-ff59-19bb-8530-0005cd26baa7" detected @ http://192.168.1.84:8080/description.xml
foo_upnp: 3.3668: PLT_CtrlPoint::ProcessGetDescriptionResponse(1394)/5560: INFO: Device "5f9ec1b3-ff59-19bb-8530-0005cd26baa7" is now known as "DENON:[DNP-720AE]"
foo_upnp: 3.3932: LinnDsRendererController::Create(117)/10024: INFO: couldn't find urn:av-openhome-org:service:Product:1 service
foo_upnp: 3.3932: RendererController::Create(25)/10024: INFO: Created UPnPAv Controller for device: DENON:[DNP-720AE]
foo_upnp: loaded Media Library tree in 4.894s
foo_upnp: 47.47673: controller_window::set_track_info_string(1112)/10024: INFO: track info display: Stopped
foo_upnp: 47.47674: PLT_CtrlPoint::Subscribe(1562)/10024: INFO: Subscribing to service "urn:upnp-org:serviceId:RenderingControl" of device "DENON:[DNP-720AE]"
foo_upnp: 47.47685: PLT_CtrlPoint::ProcessSubscribeResponse(1666)/3352: INFO: Creating new subscriber "uuid:6c4ad49f-9a32-18bf-ad33-cfa70a293c0e" for service "urn:upnp-org:serviceId:RenderingControl" of device "DENON:[DNP-720AE]" (timeout = 300)
foo_upnp: 47.47748: controller_window::set_track_info_string(1112)/10024: INFO: track info display:
foo_upnp: 47.47800: UPnPAVRendererController::OnGetPositionInfoResponse(671)/10024: INFO: failure: InstanceID=0
foo_upnp: 67.67991: UPnPAVRendererController::set_transport_state(232)/10024: INFO: No local playing item
foo_upnp: 67.67992: RendererController::GetNearestResource(188)/10024: INFO: matching resource url to target ip 192.168.1.84: http://192.168.1.25:56923/content/422b02ac7edf79412808c6b828613cb8.mp3
foo_upnp: 69.69704: controller_window::set_track_info_string(1112)/10024: INFO: track info display: Stopped
foo_upnp: 70.70758: controller_window::set_track_info_string(1112)/10024: INFO: track info display: Buffering...
foo_upnp: 170.170334: UPnPAVRendererController::set_transport_state(232)/10024: INFO: No local playing item
foo_upnp: 170.170335: controller_window::set_track_info_string(1112)/10024: INFO: track info display: Stopped
foo_upnp: 260.260111: PLT_CtrlPoint::ProcessSubscribeResponse(1690)/320: SEVERE: Subscription failed of sub "Unknown" for service "urn:upnp-org:serviceId:RenderingControl" of device "DENON:[DNP-720AE]"


Not sure if it has anything to do with the "Huawei Home Gateway", as that is a new device in the mix - although it doesn't seem to affect anything else on the network. I've no idea, though, how to try and have foo_upnp ignore that (or why it would pick it up to begin with...).

Any help would be greatly appreciated!
Title: foo_upnp
Post by: anfromme on 2013-07-24 22:47:59
On the foobar side, what I see is "Buffering..." for a good minute or so, and then it changes to "Stopped".
At the same time, the Denon actually shows the track title and artist correctly, with 0:00 as the unchanging time code.


Eventually solved it - the issue was the Windows firewall. (D'oh)
What' cued me in on it was that the log said the local playback location had not been found.

Here's what happened: We got a new router (as we finally got connected to broadband that's quicker than 3Mbs), and with that came a new home network. On my PC, though, that network was somehow identified as a public network by Windows, i.e. the system applied the much more restrictive "public network" firewall settings.
I changed the network type to private (using gpedit.msc), and - presto!
Title: foo_upnp
Post by: Anakunda on 2013-08-18 08:54:51
Hi!
Anybody can help me convert this album list view string to foo_upnp xml profile?
Code: [Select]
$swapprefix(%album artist%)|$if($or($stricmp(%album artist%,'<various artists>'),$not($or($meta_test(artist),$meta_test(album artist)))),,[$year($if2(%date%,%releasedate%)) - ])%album%|[Disc $num(%discnumber%,2)[ - $if3(%discsubtitle%,%disctitle%,%discname%)]|][%tracknumber%. ][%track artist% - ]%title%
Title: foo_upnp
Post by: BenB on 2013-08-18 14:24:13
It can't be adapted as written because you can't have conditional levels in the xml tree like you can in Album List. If you want the discs returned individually, you'll have to split the album.

Also, < and > are "predefined entities" (http://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references#Predefined_entities_in_XML) in xml which means they'll break your tree if you don't reference them correctly.

I can adapt your script, but can you explain the your reasoning behind this bit:
Code: [Select]
$if($or($stricmp(%album artist%,'<various artists>'),$not($or($meta_test(artist),$meta_test(album artist)))),,
Title: foo_upnp
Post by: Anakunda on 2013-08-18 14:30:01
It can't be adapted as written because you can't have conditional levels in the xml tree like you can in Album List. If you want the discs returned individually, you'll have to split the album.

Also, < and > are "predefined entities" (http://en.wikipedia.org/wiki/List_of_XML_and_HTML_character_entity_references#Predefined_entities_in_XML) in xml which means they'll break your tree if you don't reference them correctly.

I can adapt your script, but can you explain the your reasoning behind this bit:
Code: [Select]
$if($or($stricmp(%album artist%,'<various artists>'),$not($or($meta_test(artist),$meta_test(album artist)))),,


Yep, I want to have albums by single artist or group sorted by year while albums for various artists have sorted alphabetically, it's more logical. While I have more than 400 VA albums it's very hard to look up an album by year of release. I'd prefer to transfer this sorting scheme also to UPnP browser if possible.
Title: foo_upnp
Post by: BenB on 2013-08-18 15:12:23
You've misunderstood me. I meant explain why you used the title formatting that you used, esp. in the part I referenced.

Regardless, try inserting this into your tree:
Code: [Select]
<SubTree label="PUT A NAME HERE">
        <spec type="object.container.person.musicArtist">$swapprefix(%album artist%)</spec>
        <spec type="object.container.album.musicAlbum">$if($stricmp(%album artist%,'&lt;various artists&gt;'),%album%,[$year($if2(%date%,%releasedate%)) - ]%album%)[ | Disc $num(%discnumber%,2)[ - $if3(%discsubtitle%,%disctitle%,%discname%)]]</spec>
</SubTree>

EDIT 1: not sure why the code is being wrapped like that

EDIT 2:

Here's a slightly more simplified version of the above:
Code: [Select]
<SubTree label="PUT A NAME HERE">
        <spec type="object.container.person.musicArtist">$swapprefix(%album artist%)</spec>
        <spec type="object.container.album.musicAlbum">$if($not($stricmp(%album artist%,'&lt;various artists&gt;')),[$year($if2(%date%,%releasedate%)) - ])%album%[ | Disc $num(%discnumber%,2)[ - $if3(%discsubtitle%,%disctitle%,%discname%)]]</spec>
</SubTree>
Title: foo_upnp
Post by: Anakunda on 2013-08-18 16:58:02
Regardless, try inserting this into your tree:


Thanks, trying it now, but in device remote browser I still only see the default menu (Albums, Artists, Album Artists, Geners, Years, Compilations, Codecs, Folders)

This is my current foo_upnp_ml_tree.xml:
Code: [Select]
<MediaLibraryTree>
    <SubTree label="PUT A NAME HERE">
        <spec type="object.container.person.musicArtist">$swapprefix(%album artist%)</spec>
        <spec type="object.container.album.musicAlbum">$if($not($stricmp(%album artist%,'&lt;various artists&gt;')),[$year($if2(%date%,%releasedate%)) - ])%album%[ | Disc $num(%discnumber%,2)[ - $if3(%discsubtitle%,%disctitle%,%discname%)]]</spec>
    </SubTree>
    <SubTree label="Albums">
        <spec type="object.container.album.musicAlbum">%album%[ '['%album artist%']']</spec>
    </SubTree>
    <SubTree label="Genres">
        <spec type="object.container.genre.musicGenre">%&lt;genre&gt;%</spec>
        <spec type="object.container.album.musicAlbum">[%album artist% - ]%album%[' ('%date%')']</spec>
    </SubTree>
    <SubTree label="Years">
        <spec>%date%</spec>
        <spec type="object.container.album.musicAlbum">[%album artist% - ]%album%</spec>
    </SubTree>
    <SubTree label="Compilations" query="compilation PRESENT">
        <spec type="object.container.album.musicAlbum">$if($or($stricmp(%album artist%,'<various artists>'),$stricmp(%album artist%,'VA'),$stricmp(%album artist%,'various'),$stricmp(%album artist%,'r?zní um?lci'),$stricmp(%album artist%,'Various Artists')),,[$trim(%album artist%) - ])%album%</spec>
    </SubTree>
    <SubTree label="Codecs">
        <spec>%codec%</spec>
        <spec type="object.container.album.musicAlbum">$if($or($stricmp(%album artist%,'<various artists>'),$stricmp(%album artist%,'VA'),$stricmp(%album artist%,'various'),$stricmp(%album artist%,'r?zní um?lci'),$stricmp(%album artist%,'Various Artists')),,[$trim(%album artist%) - ])%album%</spec>
    </SubTree>
    <SubTree label="Folders" type="filesystem"/>
</MediaLibraryTree>


Also I don't know how to setup the streaming profile for BubbleUPnP so  that it's automatically choosen (it seems a different profile is used). The device still plays everything as  WAV even when transcoding is not necessary (supported format).
Title: foo_upnp
Post by: BenB on 2013-08-18 17:50:34
Thanks, trying it now, but in device remote browser I still only see the default menu (Albums, Artists, Album Artists, Geners, Years, Compilations, Codecs, Folders)

Did you stop and restart the foo_upnp servers after updating the tree? Did you double-check the tree for reserved characters and bad title formatting? One of these likely explains why you see the default tree.

I remember reading in this thread that this subtree must be the topmost subtree of the xml tree:
Code: [Select]
    <SubTree label="Albums">
        <spec type="object.container.album.musicAlbum">%album%[ '['%album artist%']']</spec>
    </SubTree>

Your inserting what I gave you at the top could also be why you're seeing the default tree. Correct the order.


Also, may I suggest that you consider adding a compilation tag of some kind to your various artists albums so you can do away with needlessly complex strings. foobar recognizes and can use the iTunes compilation tag. It's accessed by foobar with ITUNESCOMPILATION with a value of 1 meaning 'yes' and 0 meaning 'no'; however, for practical purposes you can add it to only those that are compilations. Then you only need to use this:
Code: [Select]
$if(%itunescompilation%,

instead of this:
Code: [Select]
$if($or($stricmp(%album artist%,'<various artists>'),$stricmp(%album artist%,'VA'),$stricmp(%album artist%,'various'),$stricmp(%album artist%,'r?zní um?lci'),$stricmp(%album artist%,'Various Artists')),

in your strings, but you could also use a custom tag to achieve the same thing.


Also I don't know how to setup the streaming profile for BubbleUPnP so  that it's automatically choosen (it seems a different profile is used). The device still plays everything as  WAV even when transcoding is not necessary (supported format).

I'm unfamiliar with BubbleUPnP.

Also, you were supposed to change this part of the code that I gave you to whatever you wanted to name the subtree, lol:
Code: [Select]
PUT A NAME HERE
Title: foo_upnp
Post by: powerpan on 2013-08-19 12:57:43
below is what I got from the foobar upnp in renderer log.

OnSetAV, uri:http://192.168.5.6:56923/content/aa26c86f9c5141d513d27c3063ccb33b.wav?profile_id=0&convert=wav&samplerate=44100

meta:<DIDL-Lite xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/" xmlns:pv="http://www.pv.com/pvns/" xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/"><item id="0/2/0I" parentID="0" childCount="0" restricted="1" searchable="0"><dc:title>Playback Stream Capture</dc:title><upnp:artist>foobar2000</upnp:artist><upnp:album>?</upnp:album><res size="44" duration="0:00:00.000" bitrate="264600" protocolInfo="http-get:*:audio/wav:*">http://192.168.5.6:56923/content/aa26c86f9c5141d513d27c3063ccb33b.wav?profile_id=0&convert=wav&samplerate=44100</res><upnp:class>object.item.audioItem.musicTrack</upnp:class></item></DIDL-Lite>

setting in foobar stream profile sets like
profile select foobar 2k
sample rate range: 44100->192000 depth 24
can decode HTTP (checked)

transcoding to MP3(never without exception and unchecked lossless)
decoding to PCM set to never to wav
------------------------------------------------------------------------------------------------
but in fact, the HTTP file is in FLAC format...... setting not transcode is always headache.
Title: foo_upnp
Post by: Shoujo Pi on 2013-08-20 18:25:33
Hi,

I am trying this foo_upnp component with PlugPlayer (iOS): Playback Stream Capture doesn't seem to work. I always receive "Error 2". Browsing through the Media Library itself works fine, but it doesn't suit my needs since I need the Playback Stream Capture. Please help me resolve this, as PlugPlayer should be able to work with this component if using the component page as reference. foo_upnp setting is as per default, with a default streaming profile for PlugPlayer as well.

I have tried foo_upnp with the following too.
ArkMC Lite in iOS can stream use the Playback Stream Capture, but the app itself doesn't support background audio, practically making it unusable to me.
Using BubbleUPnP in Android can use the Playback Stream Capture as well, albeit sometimes a bit lagging. I find using foo_out_upnp has faster response for Android compared to foo_upnp.

Thanks in advance.
Title: foo_upnp
Post by: r1huber on 2013-08-22 13:22:41
Hi there!

Does anybody know where this plugin gets the Icon, which (as I understand) usually gets delivered to the Controller/renderer?
I use multiple instances of foobar for multiroom and it would be nice if I could discern the rooms by Icon (I use BubbleUPnP on Andrid).

Already tried to modify several Icons in foobar2000.exe with Resource Hacke, but Icon in upnp-applications remains the same...

Thanks!
Roman
Title: foo_upnp
Post by: ArKay74 on 2013-08-23 19:19:30
I am using 0.99.46 with an Onkyo TX-NR616 and I can't get the plugin to play all of the songs in the "UPnP Controller Playback Queue".
It always plays 1 song, advances in the playlist and stops playback so I have to hit the play button again.  Doing
that for each song gets annoying fast.

What's causing this?
Title: foo_upnp
Post by: Shoujo Pi on 2013-08-28 13:43:41
Hi Developers,

Is it possible to have security (username/password) for local broadcast as well? I am sharing my Internet with other people so I prefer for it to be more secure.
Thanks.

Also, is there anyone can help me to resolve the below issue?

Hi,

I am trying this foo_upnp component with PlugPlayer (iOS): Playback Stream Capture doesn't seem to work. I always receive "Error 2". Browsing through the Media Library itself works fine, but it doesn't suit my needs since I need the Playback Stream Capture. Please help me resolve this, as PlugPlayer should be able to work with this component if using the component page as reference. foo_upnp setting is as per default, with a default streaming profile for PlugPlayer as well.

I have tried foo_upnp with the following too.
ArkMC Lite in iOS can stream use the Playback Stream Capture, but the app itself doesn't support background audio, practically making it unusable to me.
Using BubbleUPnP in Android can use the Playback Stream Capture as well, albeit sometimes a bit lagging. I find using foo_out_upnp has faster response for Android compared to foo_upnp.

Thanks in advance.

Title: foo_upnp
Post by: DavidHB on 2013-09-07 14:19:48
I hope that adding to this general topic, rather than starting a new one, is the right thing to do.

The documentation for foo_unp contains the following:
[blockquote]Customizing the browse tree
----------------------------
...
Edit foo_upnp_ml_tree.xml in either your foobar install directory or in <Document and settins>/<login>/Application Data/foobar2000
[/blockquote]The file path provided is for Windows XP. On my Windows 7 system, I cannot find the file either in the install folder or in %Appdata%\Roaming\foobar200, which is where the application data for foobar2000 seems to reside. Do I need to create this file from scratch? If so, would it need to contain anything other than the XML in the documentation (for example a suitable container)?

The %Appdata%\... folder does contain a foo_upnp.xml file, which does not appear to contain the data referred to in the section on customising the browse tree. It does however contain a series of server profiles, but not one for MinimServer, which is the server I am using.Would there be any advantage in creating such a profile, and, if so, how do I do it? Or is this one for the developer to do?

The context of this query is that MinimServer provides an 'nn Albums' list which in my case is set to be ordered by composer and album title. Other control points and renderers display this list correctly as sent. Foobar2000/foo_upnp only displays it as an alphabetical list of album titles. I should like to display the list as provided by MinimServer.

Thank you for any help.

David
Title: foo_upnp
Post by: ArKay74 on 2013-09-16 14:31:05
Yo developer, you out there?
Title: foo_upnp
Post by: redwald on 2013-09-17 04:31:39
Please help me with configuration of Linksys wrt610n router.

I have a Nexus 7 running latest 1.7.2.2 client with latest Foobar2000 v1.2.9 uPnP media server. It works great with my old wrt54gs router. I use all the same settings for wireless on the 610n as the 54gs, (except I turn off the 5ghz wireless N on the 610n because the Nexus doesn't support N). All I get on Nexus Bubbleupnp is the local renderer with the 610n.

If I then plug in my 54gs router and connect the Nexus wifi to the 54gs, the Foobar media server is immediately recognized and all is well.

I read in the Bubble "known issues" notes that some Cisco routers don't support UDP multicast at all. Could this be the problem? I have the latest (and only) F/W on the 610n. Maybe dd-wrt would solve this? Or is it some other issue? I tried using port forwarding http port 56923, but I don't know if I'm doing it correctly. The 610n works great with the Nexus7 and for every other wireless and wired connection otherwise.

Does anyone have a wrt610n that can help me out?
Title: foo_upnp
Post by: redwald on 2013-09-17 20:33:07
So I finally found out what was wrong with the wrt610n.

Apparently many people have had this same issue with the 610n and certain wireless applications/hardware. It requires that you not use the same wireless security protocols for both the 2.4ghz and 5ghz channels. (See picture) Notice that the N-band is configured with WPA-2 and the G-band is configured with WPA. But even this didn't solve the no connect issue with BubbleUpnp. I also could not use anything other than AES for encryption. TKIP wouldn't work at all.

(http://img.claspics.com/myxbgg5/hlpi9umy/1379445634-785.PNG_m.jpg)

This second picture just shows the channel widths & frequencies. These settings worked well for me but they could be different for you.

(http://img.claspics.com/myxbgg5/hlpi9umy/1379445638-952.PNG_m.jpg)

Thanks to Bubbleguuum for developing this fine app and all those who have experimented with it and posted their experiences.
Title: foo_upnp
Post by: pinkgold on 2013-10-08 01:10:56
Hi, Thank you for brilliant work!

I just found UPNP DMR player on Linux, it works greatly with this plugin.

So I suggest to add DoP (DSD over PCM) feature in your plugin so that my Linux UPNP DMR can play DSD.

Is'n it AMAZING??

You can find more info about Linux UPNP DMR at

https://github.com/hzeller/gmrender-resurrect (https://github.com/hzeller/gmrender-resurrect)

Thank you~
Title: foo_upnp
Post by: RYoda on 2013-10-08 13:04:37
Hi,

At first I want to say thank you for this great foobar plugin.

I use this for stereo and for multichannel tracks and all tracks are playing without problems on an Oppo BDP-93.
With one exception.
If I choose 'Playback Stream Capture' (PSC) I can't stream multichannel tracks (5.1 Ch Flac) because the plugin always tries to send stereo tracks. Chooosing the same track within the 'media library' streams without problems.

But for me it's more simple to choose the tracks within foobar and not via the Oppo GUI. Because of this I like to choose PSC.

Is it correct to say that the PSC is designed as a 2-channel stream or is there somewhere a switch which I have not recognized ?

Any ideas of what I can do to solve this problem?

Update : When reading this thread more in detail I found out that other users have the same problem.
So I think it is made by design.
Is there any chance that a future version will accept 5.1 tracks with the Playback Stream Capture ?

RYoda
Title: foo_upnp
Post by: noxx on 2013-10-31 17:05:35
hi

i need a download link. the link on the foobar page dont work

regard
Title: foo_upnp
Post by: eahm on 2013-10-31 17:07:38
hi

i need a download link. the link on the foobar page dont work

regard

It works here.
Title: foo_upnp
Post by: noxx on 2013-10-31 18:26:14
Now it works, THX.

A question. Is it possible to run foobar as Windows service?
Title: foo_upnp
Post by: alainbryden on 2013-11-13 17:00:16
Is this on github? I wouldn't mind making a pull request to try and fix a few bugs that are really getting under my skin, like how it hangs then crashes foobar every time there's a hiccup in your internet connection while streaming.
Title: foo_upnp
Post by: Jan S. on 2013-11-13 17:01:12
It seems 5.1 files fail if you try to transcode to mp3:
Could not read info (Unsupported format or corrupted file) from:

Source:
Sample rate : 48000 Hz
Channels : 5: FL FR FC BL BR
Bits per sample : 24
Bitrate : 3164 kbps
Codec : FLAC

Using "Convert 5.1 to stereo" doesn't change anything.


If I try to use "Convert 5.1 to stereo" without transcoding I get a wav file that plays but it is 5 channels... So it seems the "Convert 5.1 to stereo" DSP doesn't really do anything... Or am I doing something wrong?
My poor internet connection here cannot keep up with the 3164 kbps bitrate
Title: foo_upnp
Post by: Jan S. on 2013-11-14 10:54:37
Another thing. Enabling "Convert 5.1 to stereo" forces transcoding to mp3 or decoding to wav. Would it be possible to only force this when the DSP actually does something? That is if it is stereo and only "Convert 5.1 to stereo" is enabled then supply the original file.
Title: foo_upnp
Post by: bubbleguuum on 2013-11-14 13:32:47
It seems 5.1 files fail if you try to transcode to mp3:
Could not read info (Unsupported format or corrupted file) from:

Source:
Sample rate : 48000 Hz
Channels : 5: FL FR FC BL BR
Bits per sample : 24
Bitrate : 3164 kbps
Codec : FLAC

Using "Convert 5.1 to stereo" doesn't change anything.


If I try to use "Convert 5.1 to stereo" without transcoding I get a wav file that plays but it is 5 channels... So it seems the "Convert 5.1 to stereo" DSP doesn't really do anything... Or am I doing something wrong?
My poor internet connection here cannot keep up with the 3164 kbps bitrate


I briefly tested streaming a 88.1/24 multichannel FLAC transcoded to 320K mp3 and it worked.
Make sure you have modified the foobar2000 streaming profile mp3 section with

- "transcode" set to "never"
- "except" set to empty string
- "lossless and" checked
- "internet" checked

This will only transcode lossless to mp3 when streaming over the Internet (uncheck "internet" if you want to test transcoding on the LAN)

Transcoding to mp3 forces stereo so there is no need  to use DSPs.
Title: foo_upnp
Post by: bubbleguuum on 2013-11-14 13:34:22
Another thing. Enabling "Convert 5.1 to stereo" forces transcoding to mp3 or decoding to wav. Would it be possible to only force this when the DSP actually does something? That is if it is stereo and only "Convert 5.1 to stereo" is enabled then supply the original file.



Not possible as it is not possible for the plugin to know in advance how a DSP chain is going to modify channel count, samplerate etc.
So PCM (WAV or LPCM) is always forced when there is a DSP chain associated to a profile.
Title: foo_upnp
Post by: bubbleguuum on 2013-11-14 13:36:11
Is this on github? I wouldn't mind making a pull request to try and fix a few bugs that are really getting under my skin, like how it hangs then crashes foobar every time there's a hiccup in your internet connection while streaming.


It is not open source thus not github.
Title: foo_upnp
Post by: Jan S. on 2013-11-14 14:45:04
It seems 5.1 files fail if you try to transcode to mp3:
Could not read info (Unsupported format or corrupted file) from:

Source:
Sample rate : 48000 Hz
Channels : 5: FL FR FC BL BR
Bits per sample : 24
Bitrate : 3164 kbps
Codec : FLAC

Using "Convert 5.1 to stereo" doesn't change anything.


If I try to use "Convert 5.1 to stereo" without transcoding I get a wav file that plays but it is 5 channels... So it seems the "Convert 5.1 to stereo" DSP doesn't really do anything... Or am I doing something wrong?
My poor internet connection here cannot keep up with the 3164 kbps bitrate


I briefly tested streaming a 88.1/24 multichannel FLAC transcoded to 320K mp3 and it worked.
Make sure you have modified the foobar2000 streaming profile mp3 section with

- "transcode" set to "never"
- "except" set to empty string
- "lossless and" checked
- "internet" checked

This will only transcode lossless to mp3 when streaming over the Internet (uncheck "internet" if you want to test transcoding on the LAN)

Transcoding to mp3 forces stereo so there is no need  to use DSPs.


That is what I tried.

I get
Code: [Select]
Could not read info (Unsupported format or corrupted file) from: "XXXXXXXXXXX.mp3?profile_id=1&convert=mp3"
Unable to open item for playback (Unsupported format or corrupted file):
"http://XXXXXXXXXXXX.mp3?profile_id=1&convert=mp3"


Can I supply you with a sample file? Or how should I proceed to find the problem?



Another thing. Enabling "Convert 5.1 to stereo" forces transcoding to mp3 or decoding to wav. Would it be possible to only force this when the DSP actually does something? That is if it is stereo and only "Convert 5.1 to stereo" is enabled then supply the original file.



Not possible as it is not possible for the plugin to know in advance how a DSP chain is going to modify channel count, samplerate etc.
So PCM (WAV or LPCM) is always forced when there is a DSP chain associated to a profile.

May I suggest a transcoding exception then: "multichannel" or similar. Since I guess often if you stream you are using a limited device and not a full surround environment anyway.
Title: foo_upnp
Post by: bubbleguuum on 2013-11-14 16:21:38
Can I supply you with a sample file? Or how should I proceed to find the problem?


Yes, send me a link (bubbleguuum@free.fr) where I can download your FLAC.

Quote
May I suggest a transcoding exception then: "multichannel" or similar. Since I guess often if you stream you are using a limited device and not a full surround environment anyway.


Can you explain your exact use case (expected behaviour, streaming to what device, on which network connection, ...) ?
On the LAN, even if stereo files are streamed as PCM even if not necessary, this doesn't have an impact on SQ. It just uses a bit more bandwidth.
Title: foo_upnp
Post by: Jan S. on 2013-11-14 16:50:59
Link is in your mail.

Quote
May I suggest a transcoding exception then: "multichannel" or similar. Since I guess often if you stream you are using a limited device and not a full surround environment anyway.


Can you explain your exact use case (expected behaviour, streaming to what device, on which network connection, ...) ?
On the LAN, even if stereo files are streamed as PCM even if not necessary, this doesn't have an impact on SQ. It just uses a bit more bandwidth.


Right now I am streaming to foobar on another computer or through bubbleUPNP to a tablet. All through internet ATM.

I would like to stream directly if possible. Mainly to preserve tags. Of course saving precious BW is a bonus.
Only problem with this setup is multi-channel files where my BW is too low to stream. So to get tags to pass through when at all possible I would like a way to only transcode if it is needed due to BW considerations basically.
Another idea would be to transcode based on a maximum bitrate.
Title: foo_upnp
Post by: bubbleguuum on 2013-11-14 17:33:20
Link is in your mail.


Thanks, could reproduce the problem.

To transcode to mp3, foo_upnp must first generate a stereo PCM stream (using foobar2000 decoding APIs)  that is fed to libmp3lame.
In that scenario, it knows how to convert mono to stereo or 5.1 to stereo (using internally the "convert mono to stereo" and "convert 5.1 to stereo" DSPs),
but not any other channel count to stereo. Since your FLAC is 5 channels, it cannot convert it to stereo and fails (when console logging is enabled on the server, there's a mention of the failure). I tested with a 5.1 FLAC and that's why it worked.
This can be made to work adding the "Channel mixer" DSP in the profile to force prior conversion to stereo, but then it will force PCM on all tracks, probably not what you want from your previous messages.

short version: transcoding to mp3 is only compatible with  mono, stereo and 5.1 files unless using "Channel mixer" and its side effects (more bandwidth) are acceptable.

It can probably be fixed but I have to think more about how. Probably without relying on DSPs for converting to stereo.




Right now I am streaming to foobar on another computer or through bubbleUPNP to a tablet. All through internet ATM.

I would like to stream directly if possible. Mainly to preserve tags. Of course saving precious BW is a bonus.
Only problem with this setup is multi-channel files where my BW is too low to stream. So to get tags to pass through when at all possible I would like a way to only transcode if it is needed due to BW considerations basically.
Another idea would be to transcode based on a maximum bitrate.


Ok thanks for the details. No promise but I'll think on what can be done (which is also linked to problem above).
Title: foo_upnp
Post by: BenB on 2013-11-14 18:10:58
In that scenario, it knows how to convert mono to stereo or 5.1 to stereo (using internally the "convert mono to stereo" and "convert 5.1 to stereo" DSPs


As of 1.2.7, the "Convert 5.1 to stereo" DSP was replaced with the "Downmix channels to stereo" DSP which supports more channel configurations, although I don't know exactly which additional configurations that support includes (yet).
Title: foo_upnp
Post by: bubbleguuum on 2013-11-14 18:22:56
In that scenario, it knows how to convert mono to stereo or 5.1 to stereo (using internally the "convert mono to stereo" and "convert 5.1 to stereo" DSPs


As of 1.2.7, the "Convert 5.1 to stereo" DSP was replaced with the "Downmix channels to stereo" DSP which supports more channel configurations, although I don't know exactly which additional configurations that support includes (yet).



Thanks, this is the thing I need.
Title: foo_upnp
Post by: Jan S. on 2013-11-14 20:52:14
I can confirm that v1.2.9 works when adding "Downmix channels to stereo" as DSP.

Wouldn't it do what I need if the "stereo only" restriction in the renderer capabilities used the new DSP?
Title: foo_upnp
Post by: bubbleguuum on 2013-11-15 11:56:03
Update : When reading this thread more in detail I found out that other users have the same problem.
So I think it is made by design.
Is there any chance that a future version will accept 5.1 tracks with the Playback Stream Capture ?


No, as the PSC channel count must be constant as long as it is streaming to the target renderer.
Since most audio is stereo, it is forced to stereo.
If I added the ability to make it 5.1 (which I will not do), then all audio would have to be converted to 5.1.
Title: foo_upnp
Post by: bubbleguuum on 2013-11-15 12:09:18
I can confirm that v1.2.9 works when adding "Downmix channels to stereo" as DSP.


I have uploaded v0.99.47 on the components site.
It now uses the "Downmix channels to stereo" DSP internally when transcoding to mp3, which means all channel counts are supported.
So you do not need to add this DSP manually and some files are not forced to PCM due to the presence of the DSP chain.

Also in this new version:

- transmit composer and year in album containers (both are displayed in BubbleUPnP in album lists, in Large mode)

Quote
Wouldn't it do what I need if the "stereo only" restriction in the renderer capabilities used the new DSP?

No, this setting is only used when there is no transcoding to mp3 (which is always stereo).
Title: foo_upnp
Post by: Jan S. on 2013-11-15 12:43:27
With the new version I get:
Code: [Select]
Failed to load DLL: foo_upnp..dll
Reason: This component is missing a required dependency, or was made for different version of foobar2000.

Running foobar v1.3 b5
Title: foo_upnp
Post by: fuffi on 2013-11-15 12:53:33
foobar 1.3b5, windows7, ntfs

Hi, I get the above message too...

I updated today within foobar after checking for updatable components.

After restarting foobar,
I now have two folders in my foobar's user-components path, named

"foo_upnp"
and
"foo_upnp."

When foobar starts, i get the message:
Quote
Failed to load DLL: foo_upnp..dll
Reason: This component is missing a required dependency, or was made for different version of foobar2000.


I cannot delete/rename the "foo_upnp." folder. (also not after a Reboot) also, I cannot go into the folder. So the "broken" component is hidden inside this folder, which I cannot delete/move, so foobar always gives the error-message at start.

For testing
I downloaded the "foo_upnp.fb2k-component" from the website and it contains a file "foo_upnp..dll"

maybe thats the failure origin ?

Any Help on how to delete this "foo_upnp." folder would be very appreceated.
Title: foo_upnp
Post by: bubbleguuum on 2013-11-15 12:58:18
The .fb2k-component was bad containing foo_upnp..dll instead of  foo_upnp.dll .  I've uploaded a fixed version.
You may have to remove manually foo_upnp..dll in the components dir.

Title: foo_upnp
Post by: fuffi on 2013-11-15 13:02:11
You may have to remove manually foo_upnp..dll in the components dir.
It seems that is not possible, because I cannot delete that folder, nor can I move into that folder to delete the file.
strange!
Windows tells me, that the folder does not exists, if I try to delete or rename it (after telling me, that I should be careful to rename the extension of the folder...)
Title: foo_upnp
Post by: Jan S. on 2013-11-15 13:30:22
Same here. cannot enter the foo_upnp. folder. nor delete it.
Title: foo_upnp
Post by: bubbleguuum on 2013-11-15 13:40:10
Make sure to exit foobar2000 ?
Reboot ?

Title: foo_upnp
Post by: Jan S. on 2013-11-15 13:59:53
Reboot doesn't help.


The only way to solve it is:
* copy all other folders from user-components to somewhere else
* Run cmd as administrator. go to the foobar folder and run "rmdir /S user-components"
* then re-create user-components dir and copy folders back.

Et voilà
Title: foo_upnp
Post by: Jan S. on 2013-11-15 14:04:09
Quote
Wouldn't it do what I need if the "stereo only" restriction in the renderer capabilities used the new DSP?

No, this setting is only used when there is no transcoding to mp3 (which is always stereo).

But that is what I want
Never transcode. Unless it needs to because of multiple channels. "stereo only" seems to do what I want now with all DSPs off. I get lossless directly, unless it is multichannel. And I can force 44.1/16 which apparently is enough to allow streaming on my connection even uncompressed.

edit: Thanks btw! Works nicely now.
Title: foo_upnp
Post by: BenB on 2013-11-15 14:09:40
It might be necessary to delete the folder containing the bad dll by an elevated command prompt, with elevated meaning run command prompt as an administrator.

Here's a how-to for those using Vista or newer: http://www.sevenforums.com/tutorials/55721...and-prompt.html (http://www.sevenforums.com/tutorials/55721-folder-delete-command-prompt.html)

EDIT:

Looks like I got caught taking a catnap, lol.
Title: foo_upnp
Post by: bubbleguuum on 2013-11-15 14:13:09
Quote
Wouldn't it do what I need if the "stereo only" restriction in the renderer capabilities used the new DSP?

No, this setting is only used when there is no transcoding to mp3 (which is always stereo).

But that is what I want
Never transcode. Unless it needs to because of multiple channels. "stereo only" seems to do what I want now with all DSPs off. I get lossless directly, unless it is multichannel. And I can force 44.1/16 which apparently is enough to allow streaming on my connection even uncompressed.

edit: Thanks btw! Works nicely now.


Ok, then for this use case (if you didn't already did it):

- disable mp3 transcoding entirely
- enable "Stereo only"
- if necessary (to save bandwidth), set "max bit depth" to 16

Such settings will also apply on the LAN if you ever use that.

EDIT: the new version also fixes channel conversion when "Stereo only"  is enabled and channel count is something else than 1,2,6.
Title: foo_upnp
Post by: Jan S. on 2013-11-15 14:17:12
Yes that is exactly what I did.

For now I don't need it for LAN. If so I guess I will go with the mp3 way for internet streaming and no processing on LAN.
Title: foo_upnp
Post by: fuffi on 2013-11-15 16:14:04
* Run cmd as administrator. go to the foobar folder and run "rmdir /S user-components"

It might be necessary to delete the folder containing the bad dll by an elevated command prompt, with elevated meaning run command prompt as an administrator.
Here's a how-to for those using Vista or newer
Hi,
I'm sorry to bother this thread again, but all the suggestions (here and the ones google throw out) did not work on windows7.

I installed "Unlocker", "LockHunter". Those programs suggested to delete the folder after a reboot, but the folder is not deleted after a reboot.
I tried cmd.exe as an Administrator, but cmd.exe says, that the folder cannot be found:
(http://www.bilder-hochladen.net/files/big/hcyg-2k-8613.png)
(http://www.bilder-hochladen.net/files/hcyg-2h-c7e1.png)
(http://www.bilder-hochladen.net/files/hcyg-2i-2a38.png)

could there be any other way (beside formatting!) to remove/delete/kill/nuke that folder, so I won't have that error-message on every foobar2000 start?

again, I'm sorry to bother this thread...
Title: foo_upnp
Post by: marc2003 on 2013-11-15 16:29:21
have you tried killing explorer from task manager before attempting to use the command prompt?

edit: just read your post again to see the command prompt doesn't even see the folder so it probably won't do any good. 

also, there is step3 on the page BenB linked to about booting from your windows install media to access the command prompt outside of windows.
Title: foo_upnp
Post by: Jan S. on 2013-11-15 17:24:37
I made sure to have permissions before I did the above procedure. I don't know if it made any different.

right-click --> security --> make sure your account has "full control" of user-components.
Title: foo_upnp
Post by: bubbleguuum on 2013-11-18 13:23:24
v0.99.48 available fixing wrong folder content for albums of artists exposed by the media server
Title: foo_upnp
Post by: alucard506 on 2013-11-22 13:35:25
Quote
Wouldn't it do what I need if the "stereo only" restriction in the renderer capabilities used the new DSP?

No, this setting is only used when there is no transcoding to mp3 (which is always stereo).

But that is what I want
Never transcode. Unless it needs to because of multiple channels. "stereo only" seems to do what I want now with all DSPs off. I get lossless directly, unless it is multichannel. And I can force 44.1/16 which apparently is enough to allow streaming on my connection even uncompressed.

edit: Thanks btw! Works nicely now.


Ok, then for this use case (if you didn't already did it):

- disable mp3 transcoding entirely
- enable "Stereo only"
- if necessary (to save bandwidth), set "max bit depth" to 16

Such settings will also apply on the LAN if you ever use that.

EDIT: the new version also fixes channel conversion when "Stereo only"  is enabled and channel count is something else than 1,2,6.


hi, where can I find those settings?
Title: foo_upnp
Post by: Jan S. on 2013-11-22 23:38:05
Foobar2000 --> preferences --> tools --> UPnP --> server --> streaming profiles

Make sure to select the profile that fits the client you are connecting with. Otherwise your changes won't be applied.
Title: foo_upnp
Post by: alucard506 on 2013-11-23 00:40:01
Foobar2000 --> preferences --> tools --> UPnP --> server --> streaming profiles

Make sure to select the profile that fits the client you are connecting with. Otherwise your changes won't be applied.


very appreciated.

another case to me now, i use network player device. UPnP has been connected successfully. I use Foobar UPnP controller to control that network device to play back.
What I see from UPnP controller interface is foobar transcode my 192/24 lossless to 44.1/16 I think. Any idea to disable this transcode. I tried streaming profiles but it seems not for my case.

(http://i772.photobucket.com/albums/yy3/jiwei911/111_zps42c1b82e.jpg)
Title: foo_upnp
Post by: bubbleguuum on 2013-11-24 12:19:17
Foobar2000 --> preferences --> tools --> UPnP --> server --> streaming profiles

Make sure to select the profile that fits the client you are connecting with. Otherwise your changes won't be applied.


very appreciated.

another case to me now, i use network player device. UPnP has been connected successfully. I use Foobar UPnP controller to control that network device to play back.
What I see from UPnP controller interface is foobar transcode my 192/24 lossless to 44.1/16 I think. Any idea to disable this transcode. I tried streaming profiles but it seems not for my case.

(http://i772.photobucket.com/albums/yy3/jiwei911/111_zps42c1b82e.jpg)


Probably because it uses the Default streaming profile that is set to 44.1Khz/16 by default. Modify the Default profile to make it look like the foobar2000 profile.
Alternatively you can create a new profile matching your renderer but you have to know its User-Agent stream for that.
Title: foo_upnp
Post by: Pastim on 2013-11-29 15:06:42
Profiles can be confusing because there are apps or client that use 2 different User-Agent for http requests: one for Browsing and one for streaming.

The more important one is the one used for Browsing.....

I seem to have 2 devices with the same user-agent string (KnOS/3.2 bridgeCo-DMP/3.0 DLNADOC/1.50 INTEL_NMPR/2.0)

Is there any way to use any other fields for the profile check?  The string 'User-Agent' can be changed in the configuration, but I have failed to find any other match (eg to friendlyName etc).

I appreciate that the default method you proposed may be the easiest fix, but I'd like to see if I can be more precise with my profiles.
Title: foo_upnp
Post by: kelvin1969 on 2013-12-02 13:44:08
hello.
I am alessandro from Italy (sorry for my bad english) and I wish to say you Hello because this is my first post in this forum. I Have a pc with Foobar/foo_upnp, a sinology has (DS112+) a m2tech young dac, Unison research simply two amplifier (El34 single ended 10Wpc) and a couple of fostex BLH speakers made by myself (20cm full range cones).

Now let's go to my problem:
I use a sinology has with upnp server installed that stream music to a computer with foobar and foo_upnp that works as a renderer.
The synology server (upnp)  adds automatically to the music library all the available Shoutcast links. This makes me possible to select a radio station from the DSaudio app (Synology control point software for iphone/ipad) that sends  to the renderer (foo_upnp) a shout cast string to open a radio.

What happens is that if i send this stream with the Dsaudio app (Ipod control software) to foo_upnp, Foobar console tells me: unable to open item for playback(unsupported file format):"http://yp.shoutcast.com/sbin/tunein-station.pls?id=648483"

If I copy the above link to file/open in foobar it works!

If I use the foo_upnp control point (directly from the computer)  and I search in the synology upnp server the radio station it works also.

Can you help me for this strange behaviour?

Thanks
Alessandro
Title: foo_upnp
Post by: thiers.prive on 2013-12-03 12:27:35
Hello,

I use Foobar and the plug in UPNP, n'Stream and Naim: it is parfect.
I want now to improve the Media Library and I need to have a new folder in wich the Album are classified by the register on the Nas.
The classification could be Album (Album/Artist) from the newest to the oldest.
Where and How can I create this new folder.
Thanks for your help
Title: foo_upnp
Post by: Pastim on 2013-12-03 14:00:48
Hello,

I use Foobar and the plug in UPNP, n'Stream and Naim: it is parfect.
I want now to improve the Media Library and I need to have a new folder in wich the Album are classified by the register on the Nas.
The classification could be Album (Album/Artist) from the newest to the oldest.
Where and How can I create this new folder.
Thanks for your help

You need to create an entry in foo_upnp_ml_tree.xml.  You will need a little knowledge of xml, at least enough to copy existing entries and modify them to suit your needs without making the file invalid, but you don't have to have an xml editor provided you are careful in preserving the correct syntax.

The file is in your user's "Application Data"  folder for foobar2000.  It can be editted directly from the foobar menu: library, configure, then find  the entry for Tools, UPnP, Server, Content and hit the "Customize Media Library Tree" button.

I have had problems making my changes appear on occasions.  I usually found that if I uninstall foo_upnp, make sure my modified foo_upnp_ml_tree.xml is present and correct, reinstall foo_upnp and view it using the "Customize Media Library Tree" button, my changes then appear in the library.

Having said all the above, I have no idea what the 'register' is on your NAS.  However, providing it is something foobar can see and has the equivalent of a tag for, you can modify the library pretty much as you wish.  I have customised my library using other tags in my files, such as %Work% (for classical music).

If you View the Console in foobar when the upnp server starts you will see whether the xml format is correct or not.
Title: foo_upnp
Post by: nrgch on 2013-12-04 07:04:45
The "foo_upnp." folder can be removed using this:
Code: [Select]
rd "\\?\c:\Program Files (x86)\foobar2000\user-components\foo_upnp." /s
Title: foo_upnp
Post by: thiers.prive on 2013-12-07 13:41:01
Hi,
I read and tried to apply the solution write by Bubbleguuum on post 938. I do that with XML the result is that:
<?xml version="1.0" encoding="UTF-8"?>

-<MediaLibraryTree>


-<SubTree label="Albums">

<spec type="object.container.album.musicAlbum">%album%[ '['%album artist%']']</spec>

</SubTree>


-<SubTree label="Albums by added date">

<spec type="(%last_modified%)">[%album artist% - ]%album%</spec>

<spec type="Tracks by added date">%last_modified%)</spec>

</SubTree>


</SubTree>

<SubTree label="Folders" type="filesystem"/>

</MediaLibraryTree>

But the sub tree classified by added date doesn't work? And i dont know why. Somebody can help me?

Thank's
Title: foo_upnp
Post by: Pastim on 2013-12-07 16:57:28
Hi,
I read and tried to apply the solution write by Bubbleguuum on post 938. I do that with XML the result is that:
<?xml version="1.0" encoding="UTF-8"?>

-<MediaLibraryTree>

.....

-<SubTree label="Albums by added date">

<spec type="(%last_modified%)">[%album artist% - ]%album%</spec>

<spec type="Tracks by added date">%last_modified%)</spec>

</SubTree>

....

But the sub tree classified by added date doesn't work? And i dont know why. Somebody can help me?

Thank's

There's a stray ')' in the 2nd <spec type>, but I'm more worried about the whole structure, and I'm not really quite sure what you are trying to achieve.  I believe the <spec type> has to be a known type of object (object.container.....), so I don't think your method will work.

The following is valid, showing a list of modified dates, then artist/albums.  You can then select tracks as usual.

Code: [Select]
    <SubTree label="Albums by added date">
        <spec>%last_modified%</spec>
        <spec type="object.container.album.musicAlbum">[%album artist% - ]%album%</spec>
    </SubTree>


I don't know if there's a way to sort them in descending order.

If you stop the upnp server, restart foobar, view the console, and then start the upnp server, it should give you a clue as to what is wrong. 

Note also that 'last modified' means what it says - if you edit the track tags the 'last modified' date may change, depending on how you configure your tag editor (some allow you to modify tags without changing the date).
Title: foo_upnp
Post by: Pastim on 2013-12-07 18:21:26
Hi,
I read and tried to apply the solution write by Bubbleguuum on post 938. I do that with XML the result is that:
<?xml version="1.0" encoding="UTF-8"?>

-<MediaLibraryTree>

.....

-<SubTree label="Albums by added date">

<spec type="(%last_modified%)">[%album artist% - ]%album%</spec>

<spec type="Tracks by added date">%last_modified%)</spec>

</SubTree>

....

But the sub tree classified by added date doesn't work? And i dont know why. Somebody can help me?

Thank's

There's a stray ')' in the 2nd <spec type>, but I'm more worried about the whole structure, and I'm not really quite sure what you are trying to achieve.  I believe the <spec type> has to be a known type of object (object.container.....), so I don't think your method will work.

The following is valid, showing a list of modified dates, then artist/albums.  You can then select tracks as usual.

Code: [Select]
    <SubTree label="Albums by added date">
        <spec>%last_modified%</spec>
        <spec type="object.container.album.musicAlbum">[%album artist% - ]%album%</spec>
    </SubTree>


I don't know if there's a way to sort them in descending order.

If you stop the upnp server, restart foobar, view the console, and then start the upnp server, it should give you a clue as to what is wrong. 

Note also that 'last modified' means what it says - if you edit the track tags the 'last modified' date may change, depending on how you configure your tag editor (some allow you to modify tags without changing the date).

I found a way to list tracks in descending order for the last few weeks (eg 8), but you don't get the album/artist names.  This is a single line entry:
Code: [Select]
    <SubTree label="Tracks sorted by modified date" query="%last_modified% DURING LAST 8 WEEKS SORT DESCENDING BY %last_modified%"/>


See the release notes for foo_upnp.

To do something cleverer still you need to create a playlist in foobar and play that.  I'm no expert on playlist creation (I hardly ever do it).
Title: foo_upnp
Post by: thiers.prive on 2013-12-08 12:55:45
Hi PASTIM,

realy thank's it is what I want, I replace Tracks by Album. I have a bug because on some albums it gives me two or three view. But it is the spirit!
You can fined above the code:
</SubTree>
<SubTree label="Albums by added date">
<spec type="object.container.album.musicAlbum">"Albums sorted by modified date" query="%last_modified% DURING LAST 8 WEEKS SORT DESCENDING BY %last_modified%"</spec>

I progress with your help: thanks again!
Title: foo_upnp
Post by: Pastim on 2013-12-08 15:23:16
Hi PASTIM,

realy thank's it is what I want, I replace Tracks by Album. I have a bug because on some albums it gives me two or three view. But it is the spirit!
You can fined above the code:
</SubTree>
<SubTree label="Albums by added date">
<spec type="object.container.album.musicAlbum">"Albums sorted by modified date" query="%last_modified% DURING LAST 8 WEEKS SORT DESCENDING BY %last_modified%"</spec>

I progress with your help: thanks again!

I suspect that this may not be giving you what you want.  I believe the SORT has to be on the SubTree label line, as in my example, but I may be wrong.  See http://bubbleguuum.free.fr/foo_upnp/changelog.txt (http://bubbleguuum.free.fr/foo_upnp/changelog.txt) , release 0.99.31.

Title: foo_upnp
Post by: Pastim on 2013-12-11 15:51:08
Is there any chance that the 'Playback Stream Capture' facility might be extended to output 24 bit LPCM? 

This specific facility has changed the way I listen to music, but I'd really like to use it with no loss of quality if at all possible.  The fact that it is inherently gapless, and can even be used on more than one device at once, is fantastic.
Title: foo_upnp
Post by: Corrodias on 2013-12-11 18:45:43
I'm using Columns UI, and i have set custom colors in both the Default UI and Columns UI configs (the same colors). When i open the UPnP Browser in its own window, it uses the configured colors. When i add a UPnP Browser panel to the layout, it is black text on white background. I was hoping it would use the colors.
Title: foo_upnp
Post by: hyfeng18 on 2013-12-12 12:55:23
hi bubbleguuum,

I am developing an audio player in an embedded device.
I want support upnp in my audio player, but I do not how develop the MediaRenderer to support foobar upnp server.

Could give me some advise for how to develop the mediarenderer to support the foobar upnp server.
thank you very much.

Title: foo_upnp
Post by: NerdWhisperer on 2013-12-14 02:39:48
I made a newbie mistake.  I posted this to the general forum, but meant to have it in the foo_upnp thread.  This is the same message:

Hi,

I regularly use foo_upnp on a Windows 7 32 machine to stream to a DLNA renderer. I wanted to have a similar setup at home. I've installed foobar 1.2.9. and foo_upnp 0.99.48. Discovery works fine. However, after selecting my player there is no action when trying to play a file. It just sits there, until I try another action. Then I get a not responding message and subsequent crash. I tried disabling virus protection. The only thing different in the two systems is my home computer uses Vista. So, I wondered if the plugin is compatible with my old operating system. If so, could I get some advice on what to try. I looked at the log file, and at a wireshark trace, but unfortunately, I'm not experienced enough to catch anything but the simplest problems with those tools.

Thanks for any help.

Dave

ps -- the usual apologies if this has been covered. I looked through several of the 75 pages of history, but didn't run across anything.
Title: foo_upnp
Post by: jonnyz on 2013-12-24 19:54:22
I understand with this plugin you can control foobar2000 on one computer (Computer A where my library is stored) from another instance of foobar2000 on another computer (Computer B).

So what's the best method of doing this?

The way I have this working at the moment is by loading the UPnP browser on Computer B, copying the whole library of Computer A into the "UPnP Controller Playback Queue" playlist and playing files with normally with the UPnP Controller open.

However, track information is a little slow loading into the UPnP controller, I can't use the previous/next track buttons and the playlist search is slow and sometimes crashes.

Am I doing things correctly or is there a better way? I basically want to have the whole library of Computer A showing in foobar2000 on Computer B, so I control playback from Computer B and have everything output to Computer A.


EDIT: Okay, I'm now doing things as described in http://www.hydrogenaudio.org/forums/index....st&p=821223 (http://www.hydrogenaudio.org/forums/index.php?showtopic=69664&view=findpost&p=821223) and selecting "Playback Stream Capture" from the UPnP Controller which seems to work better. The only downside is the 5 second buffer - is there any way to reduce this?
Title: foo_upnp
Post by: Pastim on 2013-12-24 20:33:36
I understand with this plugin you can control foobar2000 on one computer (Computer A where my library is stored) from another instance of foobar2000 on another computer (Computer B).

So what's the best method of doing this?

The way I have this working at the moment is by loading the UPnP browser on Computer B, copying the whole library of Computer A into the "UPnP Controller Playback Queue" playlist and playing files with normally with the UPnP Controller open.

However, track information is a little slow loading into the UPnP controller, I can't use the previous/next track buttons and the playlist search is slow and sometimes crashes.

Am I doing things correctly or is there a better way? I basically want to have the whole library of Computer A showing in foobar2000 on Computer B, so I control playback from Computer B and have everything output to Computer A.


EDIT: Okay, I'm now doing things as described in http://www.hydrogenaudio.org/forums/index....st&p=821223 (http://www.hydrogenaudio.org/forums/index.php?showtopic=69664&view=findpost&p=821223) and selecting "Playback Stream Capture" from the UPnP Controller which seems to work better. The only downside is the 5 second buffer - is there any way to reduce this?

How are you listening to the music?  Direct from Computer A, or via UPnP to a media player of some description?  If the latter, this is how I do it:

a) start both the UPnP server and renderer on foobar2000 on Computer A
b) set the media device to listen to Playback Stream Capture from foobar2000 on Computer A (which means it will be gapless)
c) use foobar2000 on Computer B to browse the Media Library of foobar2000 on Computer A and create playlists in the Controller Playback Queue
d) on Computer B set the renderer for the UPnP Controller to be the foobar2000 renderer on Computer A
e) play using the Controller on Computer B

I'm unclear why you need to load the whole library into the browser window on Computer B - why not just search for those you want as you need them?  You certainly shouldn't be trying to move the actual audio files from Computer A to B and back again, just control what A does using B and the media list from A.  You can tailor the media list on A if you can handle a bit of xml, and also create playlists on A that you simply pick using the browser on B and tell A to play them.
Title: foo_upnp
Post by: Daeron on 2013-12-24 20:34:45
You could just leave the library exposed on the main PC. The other foobar instance running on the secondary PC can browse and play from it separately. That way you can have separate playbacks on each PC and I'd imagine the delay will be minimal as well.
Title: foo_upnp
Post by: jonnyz on 2013-12-25 01:36:32
How are you listening to the music?  Direct from Computer A, or via UPnP to a media player of some description?  If the latter, this is how I do it:

a) start both the UPnP server and renderer on foobar2000 on Computer A
b) set the media device to listen to Playback Stream Capture from foobar2000 on Computer A (which means it will be gapless)
c) use foobar2000 on Computer B to browse the Media Library of foobar2000 on Computer A and create playlists in the Controller Playback Queue
d) on Computer B set the renderer for the UPnP Controller to be the foobar2000 renderer on Computer A
e) play using the Controller on Computer B

I'm unclear why you need to load the whole library into the browser window on Computer B - why not just search for those you want as you need them?  You certainly shouldn't be trying to move the actual audio files from Computer A to B and back again, just control what A does using B and the media list from A.  You can tailor the media list on A if you can handle a bit of xml, and also create playlists on A that you simply pick using the browser on B and tell A to play them.


I'm listening to the music direct from Computer A, so no other media device involved, just the 2 computers if I understand correctly. Computer A is my main PC which is connected to a nice amp and some speakers. Computer B is my laptop. So, I'd like to browse and listen to my main PC's music library from my laptop, but also output the sound to my main PC.

I wanted to add my whole library because I'm used to having it in a playlist and leaving it on shuffle, plus I can also quickly search using Ctrl+F. But as you said, the method I posted above is not an ideal solution as it uses unnecessary bandwidth.

So basically I am now browsing Computer A's exposed library from the UPnP Browser on Computer B, adding tracks to the controller playback queue. I was initially getting unresponsiveness during the first 10 seconds of playback of any track, but disabling "allow album art streaming" from UPnP > Server > Content on the main PC seems to have resolved this. Will also experiment with Playback Stream Capture.
Title: foo_upnp
Post by: Pastim on 2013-12-25 09:22:37
How are you listening to the music?  Direct from Computer A, or via UPnP to a media player of some description?  If the latter, this is how I do it:

a) start both the UPnP server and renderer on foobar2000 on Computer A
b) set the media device to listen to Playback Stream Capture from foobar2000 on Computer A (which means it will be gapless)
c) use foobar2000 on Computer B to browse the Media Library of foobar2000 on Computer A and create playlists in the Controller Playback Queue
d) on Computer B set the renderer for the UPnP Controller to be the foobar2000 renderer on Computer A
e) play using the Controller on Computer B

I'm unclear why you need to load the whole library into the browser window on Computer B - why not just search for those you want as you need them?  You certainly shouldn't be trying to move the actual audio files from Computer A to B and back again, just control what A does using B and the media list from A.  You can tailor the media list on A if you can handle a bit of xml, and also create playlists on A that you simply pick using the browser on B and tell A to play them.


I'm listening to the music direct from Computer A, so no other media device involved, just the 2 computers if I understand correctly. Computer A is my main PC which is connected to a nice amp and some speakers. Computer B is my laptop. So, I'd like to browse and listen to my main PC's music library from my laptop, but also output the sound to my main PC.

I wanted to add my whole library because I'm used to having it in a playlist and leaving it on shuffle, plus I can also quickly search using Ctrl+F. But as you said, the method I posted above is not an ideal solution as it uses unnecessary bandwidth.

So basically I am now browsing Computer A's exposed library from the UPnP Browser on Computer B, adding tracks to the controller playback queue. I was initially getting unresponsiveness during the first 10 seconds of playback of any track, but disabling "allow album art streaming" from UPnP > Server > Content on the main PC seems to have resolved this. Will also experiment with Playback Stream Capture.

From the sound of it you don't really need UPnP at all.  If your method works for you, fine.  If not, there are alternatives.

For listening to sound from Computer A, have you considered just using a remote desktop (eg TeamViewer) from your laptop to control Computer A?  There's also a rather ancient option at https://code.google.com/p/foo-httpcontrol/ (https://code.google.com/p/foo-httpcontrol/) for controlling foobar remotely.

For listening to music on Computer B, you could set up foobar2000 on your laptop to have its own Media Library configured to access a shared drive on Computer A (I'm not sure whether you are already be doing this).
Title: foo_upnp
Post by: Borisz on 2014-01-06 03:42:29
Hi,

I have a small problem with foo_upnp. I have it set up to stream FLAC or MP3 directly, and encode anything else to mp3 (I listen to a lot of chiptunes). This works flawlessly, with one exception: 24bit or multichannel FLAC files. I have playback restricted to 16bit stereo, as anything higher would be way too large to stream directly. This works on AC3 and DTS files, but not on FLAC, which are played back as PCM.
Using DSPs does not help, instead it just causes normal stereo FLAC content to be played back as PCM as well.

How should I set up the streaming profile so it streams all mp3 and flac up to 48khz 16bit stereo, and convert anything else to mp3 (including FLAC if it is of too high quality)?
Title: foo_upnp
Post by: McConnor on 2014-01-06 21:56:18
Hello to the pros and a happy new year!

Thank you very much for this nice Plugin! I am pretty new to foobar2000. I installed it as together with this plugin it appeared to be a nice method to control my Pioneer AV Reviever VSX 923 which acts as a DLNA Media Device. The plugin correctly detects it and I am able to play back files - but there it ends: when multiple files are in the controllers playlist playback will stopp after the first one. I also cannot skip to the next song - playback will stopp the. I can however manually start each song but that contradicts the purpose of the playlist somehow. Am I doing something wrong here or missing the magic switch. If the playlist thing and skipping songs would work this would be perfect. I hope you can help me...

Greets.
Title: foo_upnp
Post by: Pastim on 2014-01-07 08:33:51
Hello to the pros and a happy new year!

Thank you very much for this nice Plugin! I am pretty new to foobar2000. I installed it as together with this plugin it appeared to be a nice method to control my Pioneer AV Reviever VSX 923 which acts as a DLNA Media Device. The plugin correctly detects it and I am able to play back files - but there it ends: when multiple files are in the controllers playlist playback will stopp after the first one. I also cannot skip to the next song - playback will stopp the. I can however manually start each song but that contradicts the purpose of the playlist somehow. Am I doing something wrong here or missing the magic switch. If the playlist thing and skipping songs would work this would be perfect. I hope you can help me...

Greets.

Check under Preferences, Tools, UPnP, Controller.  If the 'Enable gapless control...' is ticked, try turning it off.

If you are playing tracks from foobar2000 (rather than using it as a UPnP controller) then there are other options that can affect this (under Preferences, Playback).
Title: foo_upnp
Post by: McConnor on 2014-01-07 09:13:02
Thanks for getting back...

I tried to untick the checkbox yesterday night. But It seemed not to have any effect...

I also tried the Windows media player which can also act as a DLNA Control Point. There I can jump forward or backward in a Playlist and the Receiver will do as I ask 

So I suspect there is something amiss with the Foobar DLNA Plugin... Perhaps there is something else I did miss?
Title: foo_upnp
Post by: Pastim on 2014-01-07 09:49:55
Thanks for getting back...

I tried to untick the checkbox yesterday night. But It seemed not to have any effect...

I also tried the Windows media player which can also act as a DLNA Control Point. There I can jump forward or backward in a Playlist and the Receiver will do as I ask 

So I suspect there is something amiss with the Foobar DLNA Plugin... Perhaps there is something else I did miss?

Works fine for me providing I don't try to use it as a gapless controller.  What media server are you using?

My experience of DLNA is pretty dire - all sorts of problems with different software servers and hardware players.  The foobar plugin is about the best controller I have yet found, even running it on linux under Wine.
Title: foo_upnp
Post by: McConnor on 2014-01-07 11:07:16
I use Universal Media Server in its newest incarnation...

Die files I tried to enqeue reside on this media server.
Title: foo_upnp
Post by: Pastim on 2014-01-07 11:20:01
I use Universal Media Server in its newest incarnation...

Die files I tried to enqeue reside on this media server.

Sorry - as a mere humble user I've no further ideas. 

UMS looks interesting - I'll try it.  I've been using MinimServer which I like a lot.
Title: foo_upnp
Post by: Pastim on 2014-01-07 13:39:39
I use Universal Media Server in its newest incarnation...

Die files I tried to enqeue reside on this media server.

Sorry - as a mere humble user I've no further ideas. 

UMS looks interesting - I'll try it.  I've been using MinimServer which I like a lot.

I just tried UMS on mu Ubuntu system.  In foo_upnp (and on the media device itself) I get 3 of every track, which is very strange.  They seem to be 2 of one transcoding and one of another which is at a different pitch.  I'll stick to MinimServer, which incidentally has the best menu system I've seen for flac audio.
Title: foo_upnp
Post by: enstine86 on 2014-01-08 16:53:23
Hello,

I have a question.  Is it possible to blacklist or block certain IP addresses from accessing the the media server?
Title: foo_upnp
Post by: Daeron on 2014-01-08 23:02:58
Probably not, at least not using the plugin alone. You could probably check your firewall/router settings and filter the IP from there. What's wrong with just using a password however?
Title: foo_upnp
Post by: starmike on 2014-01-13 21:29:48
Metadata not sending with foo_upnp

Hi all,
I'm having a puzzling problem with foo_upnp. I set fb2k up to stream to my Oppo BDP-93 and it's working perfectly except for one thing - it's not sending any metadata at all for my FLAC files. The metadata is there because it's showing up on the app's UI on my Windows machine, but on my Oppo and even on VLC, the metadata doesn't fill in at all. The only thing I get is the track name. I've been searching for a solution to this problem and came up empty. Plex streams the metadata just fine, but I can't use Plex because of its limitations on music formats. I'm just mentioning Plex because metadata streaming DOES work with Plex and those clients, it just doesn't seem to with foo_upnp. Any ideas?

Thanks
Title: foo_upnp
Post by: Pastim on 2014-01-13 21:43:08
Metadata not sending with foo_upnp

Hi all,
I'm having a puzzling problem with foo_upnp. I set fb2k up to stream to my Oppo BDP-93 and it's working perfectly except for one thing - it's not sending any metadata at all for my FLAC files. The metadata is there because it's showing up on the app's UI on my Windows machine, but on my Oppo and even on VLC, the metadata doesn't fill in at all. The only thing I get is the track name. I've been searching for a solution to this problem and came up empty. Plex streams the metadata just fine, but I can't use Plex because of its limitations on music formats. I'm just mentioning Plex because metadata streaming DOES work with Plex and those clients, it just doesn't seem to with foo_upnp. Any ideas?

Thanks

If you are using 'playback stream capture' I'm not surprised, since foobar is playing the flacs on your PC and just copying the music data to a continuous stream.  I don't see any metadata when playing streams.

If, however, you are using the media library to select and play tracks, I've no idea why that would be.
Title: foo_upnp
Post by: starmike on 2014-01-13 22:11:22
Metadata not sending with foo_upnp

Hi all,
I'm having a puzzling problem with foo_upnp. I set fb2k up to stream to my Oppo BDP-93 and it's working perfectly except for one thing - it's not sending any metadata at all for my FLAC files. The metadata is there because it's showing up on the app's UI on my Windows machine, but on my Oppo and even on VLC, the metadata doesn't fill in at all. The only thing I get is the track name. I've been searching for a solution to this problem and came up empty. Plex streams the metadata just fine, but I can't use Plex because of its limitations on music formats. I'm just mentioning Plex because metadata streaming DOES work with Plex and those clients, it just doesn't seem to with foo_upnp. Any ideas?

Thanks

If you are using 'playback stream capture' I'm not surprised, since foobar is playing the flacs on your PC and just copying the music data to a continuous stream.  I don't see any metadata when playing streams.

If, however, you are using the media library to select and play tracks, I've no idea why that would be.


I'm using the media library.
Title: foo_upnp
Post by: enstine86 on 2014-01-17 04:09:30
Probably not, at least not using the plugin alone. You could probably check your firewall/router settings and filter the IP from there. What's wrong with just using a password however?



Password won't work for local network.  That's what I was concerned about.  Keeping my Kids from accessing the music collection via their Xbox 360's, etc.
Title: foo_upnp
Post by: stefanKoeln on 2014-01-17 21:58:42
Hi all,

I have trouble streaming songs from my PC using foobar to my WD TV Live in the correct order. Whenever I select a song in the playlist the song following the selected one will be streamed next (and not the song following the currently streamed one). It's like the "Playback follows cursor" option. I activated the "Cursor follows playback" option and it works fine with local playing but as I said not with streaming.

Any ideas how to fix that?

Thank you!
Stefan
Title: foo_upnp
Post by: elenhil on 2014-01-26 16:10:14
I wish there was documentation on Browser xml customization. I want to make it display a particular remote folder as root.
Title: foo_upnp
Post by: Telefonmann on 2014-02-05 06:45:09
Hi there,

I'd first of all like to thank the developer for his work. It is allmost doing everything I need

I have only one question for which I haven't found any exlpanation so far on this forum. I successfully stream my mp3 music files to my Onkyo TX-NR609 AVR from my Windows 7 operated notebook via WLAN. The only thing that doesn't work is streaming AAC files (*.m4a). When I have mp3 and m4a in my controller playback queue, the music plays continously until the first AAC file and stops. I've tried several settings in the streaming profile section but have not yet found any setting that works.

The Onkyo AVR should be able to decode AAC natively since I can send the file via the Windows 7 "play on ...." function. Why doesn't it work from fb2k with UpNP? What am I doing wrong or what settings are recommended for ACC playback on my AVR (the renderer properties show that it's capable of decoding AAC).

Many thanks in advance for any hint or idea.

Regards
Title: foo_upnp
Post by: mauritsivs on 2014-02-06 15:04:19
Hi, this add-on is great, except i miss one essential thing:
to be able to select my upnp device directly as an output device, just like the simple "UPnP MediaRenderer Output 1.0 beta 4" plugin.
right now its quite annoying that i cannot just have my AV-receiver as the standard output device when double clicking a song.
(i know this should work with the other plugin, but just my luck is that my receiver (marantz) is not supported, and it seems that plugin is no longer under development...)
Title: foo_upnp
Post by: Enigma776 on 2014-02-06 16:04:50
Can some one point out why I would use this over the UPNP plugin and BubbleUPNP server? Or is it suppose to be used in tandem with these things?
Title: foo_upnp
Post by: Telefonmann on 2014-02-10 12:24:01
Hey there,

I've found some kind of solution (not really a solution but a workaround) for my specific issue.

I have only one question for which I haven't found any exlpanation so far on this forum. I successfully stream my mp3 music files to my Onkyo TX-NR609 AVR from my Windows 7 operated notebook via WLAN. The only thing that doesn't work is streaming AAC files (*.m4a). When I have mp3 and m4a in my controller playback queue, the music plays continously until the first AAC file and stops. I've tried several settings in the streaming profile section but have not yet found any setting that works.

The Onkyo AVR should be able to decode AAC natively since I can send the file via the Windows 7 "play on ...." function. Why doesn't it work from fb2k with UpNP? What am I doing wrong or what settings are recommended for ACC playback on my AVR (the renderer properties show that it's capable of decoding AAC).


I've set "Decoding to PCM" to "always to lpcm exept mp3" in my default streaming profile. That is still not working with the Onkyo AVR but with my Pioneer BDP-160. Well, I have to switch on another device, but it's convenient enough.

Strange thing that the Onkyo is now able to stream prepared playlists, no matter which format the music file are.

Regards Dirk
Title: foo_upnp
Post by: Uoppi on 2014-02-26 09:06:20
Apologies if this has been discussed already but foo_upnp seems to reset to default settings with an unexpected power outage. I wonder why that is (and if it somehow could be fixed) because other foobar2000 settings/components seem not to do that?
Title: foo_upnp
Post by: Uoppi on 2014-02-27 18:11:03
I hope someone could help me with this problem. I can't get remote access from the browser nor via UPnPlay Android.

1) In UPnPlay I've set the following WAN Server settings but it's not connecting:

Name: Whatever Server name
Host: DDNS address:56923
Descr: /login password (same as in foobar2000's Server > Internet Access page)
UDN: foobar2000 Media Server UDN found in the DeviceDescription.xml file
Other fields left blank

2) In the browser, when I type LANip:56923 I get an error "Not found. The requested URL was not found on this server." Same result with DDNS:56923. The foobar2000 server is running and everything is enabled under Internet Access. There is no firewall or antivirus on the HTPC running the server. Port 56923 has been opened in the router.
Title: foo_upnp
Post by: Uoppi on 2014-02-27 20:16:27
Well, the UPnPlay part I think I have (presumably) solved by cloning the LAN server settings to WAN server. However, I still can't access LANip:56923 in the browser and UPnPlay doesn't connect to the WAN server (in LAN tbere's no problem).

I'm also unsure whether foo_upnp "Internet Access" needs to be enabled for basic music streaming or if it's enough to just open the 56923 port in the router.

EDIT: Solved! UPnPlay and foo_upnp are now communicating. Found the solution in post #1232 written by bubbleguum: "change the UDN field to something else than the LAN UDN." So basically I just changed one number in the UDN to something else. 
Title: foo_upnp
Post by: skoma1 on 2014-02-28 19:57:38
Hey there,

I've found some kind of solution (not really a solution but a workaround) for my specific issue.

I have only one question for which I haven't found any exlpanation so far on this forum. I successfully stream my mp3 music files to my Onkyo TX-NR609 AVR from my Windows 7 operated notebook via WLAN. The only thing that doesn't work is streaming AAC files (*.m4a). When I have mp3 and m4a in my controller playback queue, the music plays continously until the first AAC file and stops. I've tried several settings in the streaming profile section but have not yet found any setting that works.

The Onkyo AVR should be able to decode AAC natively since I can send the file via the Windows 7 "play on ...." function. Why doesn't it work from fb2k with UpNP? What am I doing wrong or what settings are recommended for ACC playback on my AVR (the renderer properties show that it's capable of decoding AAC).


I've set "Decoding to PCM" to "always to lpcm exept mp3" in my default streaming profile. That is still not working with the Onkyo AVR but with my Pioneer BDP-160. Well, I have to switch on another device, but it's convenient enough.

Strange thing that the Onkyo is now able to stream prepared playlists, no matter which format the music file are.

Regards Dirk

I've recently set up Foobar2000 on my Windows 7 PC, and am having the same issue when trying to stream .aac and .m4a files to my Onkyo TX-NR809 and Oppo BDP-93. I can get MP3, WAV, and FLAC files to stream natively to both devices, but have to decode the AAC files to 44.1/16 PCM to get them to work. When I try to stream these natively, the Onkyo won't play them and they don't even appear in the Oppo. The AAC files play as such within Foobar and every other audio player I have on my PC. Since both the Onkyo and Oppo show as being able to accept AAC from a server, I'm guessing there's some setting or file in the foo_upnp component that needs to be tweaked. However, I can't seem to figure out what it is.

I'm running the latest firmware on both devices, and the latest version of Foobar2000 including components. The Renderer Capabilities samplerate range is 44.1 to 96 (192 on the Oppo) with a bit depth of 24. Decoding to PCM is set to “Always to Wav”, with the exceptions being mp3, wma, wav, and flac. I've removed aac and m4a from the exceptions list at this point. Would anyone know how to fix this? Thanks.
Title: foo_upnp
Post by: lalaka on 2014-03-03 13:31:33
Hi,

I'm using foo_upnp in the following setup:
- Twonky running on NAS as media server
- Roku Soundbridge M1001 as media renderer
- foobar2000 with foo_upnp
  * as media server for content stored locally on the notebook (to be played on the Soundbridge)
  * as local media renderer on the notebook (for playing media stored on Twonky)
  * and as control point
- BubbleUPnP on an Android tablet as alternate control point

Depending on my needs, this worked fine in every possible combination.

Now I can't play any music from Twonky on the Soundbridge anymore, if the playback is started from the foo_upnp control point. Soundbridge just says 'Can't play "UPnP Song'"'.
Starting the same track with the Soundbridge remote control (integrated control point) works fine, though, as well as starting the same track from BubbleUPnP.
Also, streaming music from foobar/foo_upnp media server to the Soundbridge (started in foo_upnp control point) works fine.

I'm 99% percent sure that this did in fact work until I upgraded fb2k to current version 1.3.1. Previously I used some 1.1 version as far as I remember. Parallel to the update I installed the latest Column UI and upgraded foo_upnp to version 0.99.48 (was some earlier 0.99, I think 0.99.25).
I also remember Soundbridge always displayed the correct metadata (name) for the track it was about to play instead of "UPnP Song".

Is there any known problem with the combination of current foobar2000 and foo_upnp versions?
Does anybody have a similar setup working?
Title: foo_upnp
Post by: sebbe605 on 2014-03-08 15:58:52
Very nice program. Tho i have one question, is there any settings that will enable me to play music directly from clicking on it in a folder. The way i play my music is by browsing through the files in windows and the i simply double click on them. This works tho i need to press play on the file after its been added in the UPnP Controller Playback Queue, it there any way i can get it to autoplay directly?
Title: foo_upnp
Post by: lalaka on 2014-03-12 21:30:08
Switched back to fb2k 1.1.18 and current foo_upnp 0.99.48. 1.1.8 seems to be the last version working correctly with foo_upnp.
Too bad, no one seems to care 
Title: foo_upnp
Post by: Cutter on 2014-03-15 13:19:02
I'm using Bubble UPnP on Android to control playback on foobar2000.

-Is it possible to connect from Bubble UPnP to foobar2000 without interrupting the currently playing track when playback has been started from foobar2000? It seems that BubbleUPnP can only send commands, not receive information about the currently playing track nor populate its playlist from foobar's active playlist. It would be great though, to be able to take control of an already running playback session.
-The choice of the streaming profile seems to depend on the control point's user-agent, not the renderer. This leads foo_upnp to assume that it has to downsample audio to 44100Hz if it is rendered locally by foobar but controlled by the Android app.
Title: foo_upnp
Post by: Fabien on 2014-03-17 14:37:54
Hello,

i tried to connect via BubbleUPnP on my android device to UPnP foobar server (Win8 version). Everything works nice on my LAN but not WAN with internet access.
I set a remote server in my BubbleUPnP settings which point to foobar server, it can connect but authentification failed! Login/password are ok in both sides.

Whats wrong?
Title: foo_upnp
Post by: JohnByrne on 2014-03-27 13:45:35
[quote name='bubbleguuum' date='Feb 20 2009, 18:57' post='616680']
Download latest version of plugin 0.99.48 (http://www.foobar2000.org/components/view/foo_upnp) [BETA] [Changelog (http://bubbleguuum.free.fr/foo_upnp/changelog.txt)]
Documentation (http://bubbleguuum.free.fr/foo_upnp/foo_upnp.txt) (work in progress)

Media Server Browser (UPnP Browser)

I'm confused. I've installed this plugin but can't get foobar to see any twonky, Asset or Logitech media servers, all of which should be findable on my wireless network. Am I missing something?
Title: foo_upnp
Post by: Philnick on 2014-04-08 16:28:17
I just learned about this at the AVS Forum thread on UPnP/DLNA streaming. I'm using an Oppo BDP-93 with oShare running on my to PC to let the Oppo browse my music library (the 93 is not a renderer - it can pull but not be pushed to), but I can't get gapless playback with this arrangement other than by creating a combined file.

I heard there about your plugin for Foobar 2000 being a solution for this - so I downloaded version 1.3.1 of Foobar2000 and your plugin, but what I got was not called foo-upnp.dll but foo_upnp.fb2k-component - and simply renaming it to foo-upnp.dll just gets a complaint from Foobar 2000 that it couldn't load it because it's an unsupported format or corrupted file.

What do I need to do with foo_upnp.fb2k-component to get the working dll?
Title: foo_upnp
Post by: Pastim on 2014-04-08 17:24:51
I just learned about this at the AVS Forum thread on UPnP/DLNA streaming. I'm using an Oppo BDP-93 with oShare running on my to PC to let the Oppo browse my music library (the 93 is not a renderer - it can pull but not be pushed to), but I can't get gapless playback with this arrangement other than by creating a combined file.

I heard there about your plugin for Foobar 2000 being a solution for this - so I downloaded version 1.3.1 of Foobar2000 and your plugin, but what I got was not called foo-upnp.dll but foo_upnp.fb2k-component - and simply renaming it to foo-upnp.dll just gets a complaint from Foobar 2000 that it couldn't load it because it's an unsupported format or corrupted file.

What do I need to do with foo_upnp.fb2k-component to get the working dll?

What I did was leave the file name as it was when downloaded and install the component using foobar.  Doesn't that work?
Title: foo_upnp
Post by: Philnick on 2014-04-09 00:52:11
I just learned about this at the AVS Forum thread on UPnP/DLNA streaming. I'm using an Oppo BDP-93 with oShare running on my to PC to let the Oppo browse my music library (the 93 is not a renderer - it can pull but not be pushed to), but I can't get gapless playback with this arrangement other than by creating a combined file.

I heard there about your plugin for Foobar 2000 being a solution for this - so I downloaded version 1.3.1 of Foobar2000 and your plugin, but what I got was not called foo-upnp.dll but foo_upnp.fb2k-component - and simply renaming it to foo-upnp.dll just gets a complaint from Foobar 2000 that it couldn't load it because it's an unsupported format or corrupted file.

What do I need to do with foo_upnp.fb2k-component to get the working dll?

What I did was leave the file name as it was when downloaded and install the component using foobar.  Doesn't that work?


That worked: I clicked the install button on Foobar's Components page, and pointed the file browser it brought up at the downloaded file. Foobar then asked if it should apply changes and restart. So I clicked Apply - it quit, and when nothing else happened I restarted it manually, navigated back to that page and it was there.

So the installation instructions in foo_upnp's documentation file need to be completely rewritten.

Here's what that section says, in full:
___________________________________________________________________________________________

Installation
============

Just copy foo_upnp.dll in the components subdirectory of your foobar2000 installation and restart foobar2000.
If loaded, the plugin will appear in File->Preference->Components, with the version number.
___________________________________________________________________________________________

As I am not familiar with Foobar, these instructions led me completely astray.
Title: foo_upnp
Post by: eahm on 2014-04-09 02:02:10
Just copy foo_upnp.dll in the components subdirectory of your foobar2000 installation and restart foobar2000.

Actually it's better if you never do that and install them from the normal Components window. Components that are in that folder are included in the foobar2000 setup and get never checked for updates.
Title: foo_upnp
Post by: Philnick on 2014-04-09 04:28:25
After reading the FAQ I'm beginning to have second thoughts about this.

It would seem that Media Server functionality is ground-level stuff that ought to be documented before the more sophisticated stuff like pushing to renderers and browsing from one Foobar to another.

And my pet peeve of pet peeves is the insistence of most media servers on forcing users to use tags rather than folder structures to get at their media. I use "junction" folders - essentially aliases - to file albums in multiple places with only one actual copy of the music needed: I can file by bandleader, by well-known players, and by composers. There are many albums that I file under the names of multiple people.

This is essentially applying "relational database" thinking to filing music tracks. Go explore the AllMusic web site, which is organized similarly to IMDB, to get an idea of how many people are associated with an album and are legitimate entry points to find it.

So - what happens when a library set up using junction folders is served up by reference to tags?

Each track from a cross-filed album shows up in the list multiple times before going on to the next track!

That's no way to listen to an album.

As an inevitable result, any media server that does not support browsing by folder is useless to anyone who uses junctions to  cross-file their music.

Title: foo_upnp
Post by: Philnick on 2014-04-10 04:48:58
Not being one to toss aside a potentially-useful tool just because it doesn't fit my preconceptions, I did an experiment.

I had Foobar add my source folder tree (as opposed to my index folder tree) to its library and saw that it at least seems to keep albums in playable sequence.

I decided to use it as an internet server transcoding to mp3 for listening remotely with my phone. That's something that the visually-beautiful Plex has scorned doing for audio, though Plex does downsample video for phones.

Orb had that ability, but it never worked with my Android phone, even though it did with my old Windows Mobile phone.

I keep my library in FLAC, to avoid quality loss, but it's too expensive to stream that over my phone. foo_upnp's ability to transcode to mp3 on the fly avoids having to create separate mp3 copies of everything.

It's a real kludge, but here's what I'm doing:

1) I use bVNC on my Android phone to connect to my UltraVNC server on my PC to bring up Foobar.

2) I use the shortcut I've created in Firefox on the phone to log in to the foo_upnp stream.

3) Once that's running, I go back to my bVNC session and and find the album I want to listen to using Foobar's search function, or by scrolling down the list (I've set Foobar to Artist/Album format) and start the album running.

At that point I can turn off the screen and put the phone in my pocket -  or into its windshield mount - and listen either through my headset when walking or through my car stereo when driving.

I've successfully had this setup transcode to mp3 everything from standard CD rips to 192/24 downloads.

I would like to know what bitrate foo_upnp is using - it sounds very good. Does it vary according to the client's capability - cellphone data versus wifi?
Title: foo_upnp
Post by: Pastim on 2014-04-10 08:11:28
I would like to know what bitrate foo_upnp is using - it sounds very good. Does it vary according to the client's capability - cellphone data versus wifi?

You should be able to configure the bit rate.  If you go to File, Preferences, look at Tools, UPnP, Server, Streaming Profiles.  There's a section on Transcoding to MP3.
Title: foo_upnp
Post by: Philnick on 2014-04-10 13:37:52
I would like to know what bitrate foo_upnp is using - it sounds very good. Does it vary according to the client's capability - cellphone data versus wifi?

You should be able to configure the bit rate.  If you go to File, Preferences, look at Tools, UPnP, Server, Streaming Profiles.  There's a section on Transcoding to MP3.


Thanks! I'm a 5.1 96 (or 192)/24 guy in my listening room, but I find that for walk-around, and drive-around, listening through my phone, 96kbps mp3 is the "sweet spot" - capable of 44khz-sampled stereo but also less susceptible to "buffering dropouts" from cell-tower handoffs, and less-expensive when it comes to bandwidth than higher bit rates. The 320kbps foo_upnp comes set to by default sounds excellent but isn't optimal for those reasons.

PS I see that keeping foobar2k and foo_upnp running is not very resource-hungry, so I can just tap on my shortcut to start the stream player and then use bVNC to choose what I want to listen to.

PPS I do run across repeated tracks when I choose a cross-filed album - I'm not sure how I'll work around that.
Title: foo_upnp
Post by: Pastim on 2014-04-10 14:18:37
Even though I try to avoid Windows, foobar2000 is essential for me, so I run it under Wine on Linux.  There's a load of things it can do easily that other tools either can't do or struggle with.  Playing FLACS gapless via UPnP is just one.

Another UPnP server I've had some success with is MinimServer, but that's mainly because it has a very good UI using standard and custom FLACS tags.  I don't know what it would make of your folder-based indexing method (which I have to admit had never occurred to me - I might have saved a lot of time in  setting up non-standard tags for classical music).
Title: foo_upnp
Post by: Philnick on 2014-04-10 18:17:44
Hooray-ooray-ooray!

I just found how to browse by folder inside of Foobar! (At the bottom of the Album List, you choose View: by folder structure.)

That solves the problem of repeating tracks caused by my junction-based index system.

Now if it were possible to do that from a standard UPnP client - like my Oppo - rather than by remote-controlling Foobar, I'd use it in my listening room instead of oShare.

As it is, it'll be my "home-away-from-home" server.

PS The next tip I'll give you is to make up a folder heirarchy like this:

"My Music Index" - Sub-folders:
"A - G"
"H - M"
"N - S"
"T - Z"

Under "A - G" you set up a subfolder for each of those letters, and so on.

That way, you aren't scrolling down an endless list all the time, but drilling down through the heirarchy, which is much quicker. When an individual letter's list gets very long, you can subdivide it the way an encyclopedia does: "S-Sn" "So-Sz"

Foobar has finished importing my Music Index folder, which I'll use instead of my Music Library (the source folders), because the Index has all of my cross-referencing set up.

At 1280x960, I can keep open all of the "letter range" folders, so that the individual letters are all there to be seen at once. Much less drilling needed this way.
Title: foo_upnp
Post by: Philnick on 2014-04-10 18:35:40
And right next to the View by box at the bottom is a search box! I'm in heaven!
Title: foo_upnp
Post by: Pastim on 2014-04-10 20:31:19
And right next to the View by box at the bottom is a search box! I'm in heaven!

My Classical music is filed by Composer 1st letter, composer, work and main artist.  What this doesn't do is cross-index the flacs, but my tags do that well enough.

Foobar really is rather good  I have a load of different filters set up to filter by various combinations of standard and custom tags, and can do exactly what I want.  Foobar is almost unique in that respect.

I also have an old laptop that I sometimes use as a controller of my remote foobar UPnP server.  This acts is a backup for my Logitech Squeezebox system.
Title: foo_upnp
Post by: Philnick on 2014-04-11 00:31:13
I'm hoping that when I connect to the foo_upnp server from my Oppo, that it will see my folders and let me browse and play from them - if so, I'll set up stream capture for gapless playback, and say goodbye to oShare.
Title: foo_upnp
Post by: Philnick on 2014-04-11 04:35:18
Well, my Oppo can browse folders through foo_upnp, but not the Index folder - it appears to be browsing the Library folder that I added yesterday and removed in favor of the Index folder.

It doesn't get the benefit of my heirarchical alphabet structure, and goes only by first name, not last names, and doesn't show my cross-filing, so it will have to be a backup for oShare that I'll use only for playing gaplessly

foo_upnp also doesn't send the album cover art that I've put in as tags, the way oShare does.
Title: foo_upnp
Post by: Moglie on 2014-04-11 17:02:33
First i want to say that this plugin is very nice!

My Setup:
1. My music collection in foobar2000 contains mostly; FLAC (in 16/44 + 24/96) + mp3 files.
2. As renderer I got an Onkyo TX-8050 it works very nice.

The "Playback Stream Capture" is a very nice function, so i can click on the songs in foobar2000 and the Onkyo TX8050 plays them. But it seems iam not able to combine it with the DSPs (for example the Equalizer) right? I try WAV and LPCM as Codec yet but both dont work with the DSP function.

So my question is how can i combine "Playback Stream Capture" function with "DSP" (Equalizer)?
Is there any way?

(http://abload.de/thumb/upnpauunp.png) (http://abload.de/image.php?img=upnpauunp.png)
Title: foo_upnp
Post by: Philnick on 2014-04-11 19:54:00
First i want to say that this plugin is very nice!

My Setup:
1. My music collection in foobar2000 contains mostly; FLAC (in 16/44 + 24/96) + mp3 files.
2. As renderer I got an Onkyo TX-8050 it works very nice.

The "Playback Stream Capture" is a very nice function, so i can click on the songs in foobar2000 and the Onkyo TX8050 plays them. But it seems iam not able to combine it with the DSPs (for example the Equalizer) right? I try WAV and LPCM as Codec yet but both dont work with the DSP function.

So my question is how can i combine "Playback Stream Capture" function with "DSP" (Equalizer)?
Is there any way?

(http://abload.de/thumb/upnpauunp.png) (http://abload.de/image.php?img=upnpauunp.png)


Do you realize that your linked image is not viewable, as it is completely obscured by a pop-up foreign-language ad for a video game, with no way to get rid of it other than closing your link?
Title: foo_upnp
Post by: Moglie on 2014-04-13 01:26:46
Do you realize that your linked image is not viewable, as it is completely obscured by a pop-up foreign-language ad for a video game, with no way to get rid of it other than closing your link?


For me it works. You dont use Adblock or something else?
Title: foo_upnp
Post by: Philnick on 2014-04-13 03:42:51
Do you realize that your linked image is not viewable, as it is completely obscured by a pop-up foreign-language ad for a video game, with no way to get rid of it other than closing your link?


For me it works. You dont use Adblock or something else?


I seriously doubt that Adblock or anything of that sort would insert an obnoxious popup ad over a page - the purpose of those programs is to prevent that kind of thing!
Title: foo_upnp
Post by: Philnick on 2014-04-13 04:40:50
Well, I've got my remote play over the phone all set up, thanks to foo_upnp and two other programs by Bubbleguum:

The BubbleUPnP Server running on my Windows machine, and Android BubbleUPnP, the only part of this that costs any money - about $5.

Inside Foobar2000, I set my Music Index folder, which ties into the original files with the junction folder process that allows cross-filing, as the folder for Foobar2000 to look at, and at the bottom set to show the album list by folder structure, which allows my junction folders to control things, rather than the tags written into the files.

I then went looking for a UPnP or DLNA client for my Android phone that would allow me to contact foo_upnp's internet server.

Imagine my delight to find Android Bubble UPnP - which by rights should be able to connect directly to foo_upnp, but doesn't want to.

But I discovered that there's a companion server program, BubbleUPnP Server, which acts as a link to any UPnP server on your system. It wouldn't work with oShare,  but works fine with Foobar2000 and foo_upnp. You configure it through your browser - it brings up a tab that has tabs within it in which you select which of your UPnP servers it should connect to, along with the kinds of addressing and login things that you set within foo_upnp. It uses a different set of ports, so they don't conflict, and it uses your entry of your WAN address to test whether it can find itself on the internet!

To avoid burning up my cellphone bandwidth, I went to the Settings inside Android BubbleUPnP and under Networks and Settings, set a Mobile Max Bitrate of 128 Kbps, to be applied only to Lossless files. This doesn't apply when on WiFi.

This lets me listen to my 96/24 and 192/24 files transcoded by the BubbleUPnP server to 128 Kbps mp3's.

Its Local Renderer section enables gapless playback without need for Playback Stream Capture, so you still get track access and display, and you can even enable "inside a track" seeking.

Interestingly, my 5.1 96/24 files sound amazing this way - clearer than the stereo 96/24 versions from the same DVD-As. I haven't set anything to downmix to stereo, so it must be that FL and FR contain enough surround information to create at least a convincing illusion of the whole thing in my headset.

And it does show the album art on the phone.
Title: foo_upnp
Post by: Pastim on 2014-04-13 08:40:51
Well, I've got my remote play over the phone all set up, thanks to foo_upnp and two other programs by Bubbleguum: ....

I wonder why your BubbleUPnP client doesn't see foobar2000 as a UPnP server?  Mine certainly does over wifi - I haven't tried it over the Internet.  If it isn't a firewall issue it must be a setting either in foobar or the client  I too tried the BubbleUPnP server but decided I didn't need it.
Title: foo_upnp
Post by: Philnick on 2014-04-13 11:55:33
Well, I've got my remote play over the phone all set up, thanks to foo_upnp and two other programs by Bubbleguum: ....

I wonder why your BubbleUPnP client doesn't see foobar2000 as a UPnP server?  Mine certainly does over wifi - I haven't tried it over the Internet.  If it isn't a firewall issue it must be a setting either in foobar or the client  I too tried the BubbleUPnP server but decided I didn't need it.


It sees it, and lets me browse into it somewhat before saying that it can't go any further - the same with my oShare server if I have BubbleUPnP Server set up an internet proxy for oShare.

Another advantage of the BubbleUPnP Server is the degree of control the Android client is given over how the server transcodes.
Title: foo_upnp
Post by: Pastim on 2014-04-13 12:47:32
It sees it, and lets me browse into it somewhat before saying that it can't go any further - the same with my oShare server if I have BubbleUPnP Server set up an internet proxy for oShare.

Strange.  Mine works perfectly with CD quality over wifi.  I do have a BubbleUPnP Android licence.  I also have 'Add WAV and LPCM 44.1/16 compatibility streams' set in foobar, since not all my fixed renderers can do 192/24 (or even 96/24).  Maybe it's that?

Still, if the extra server does the job, that's what matters.
Title: foo_upnp
Post by: Philnick on 2014-04-13 15:05:32
It sees it, and lets me browse into it somewhat before saying that it can't go any further - the same with my oShare server if I have BubbleUPnP Server set up an internet proxy for oShare.

Strange.  Mine works perfectly with CD quality over wifi.  I do have a BubbleUPnP Android licence.  I also have 'Add WAV and LPCM 44.1/16 compatibility streams' set in foobar, since not all my fixed renderers can do 192/24 (or even 96/24).  Maybe it's that?

Still, if the extra server does the job, that's what matters.


I bought the Android license also, but that made no difference. I have that setting also, but find that on my WiFi-G access point, playing 44/16 WAV or LPCM takes for-ever  to start. I can wait 12 seconds for 128 k mp3, or 18 seconds for 192 k, but 320 takes almost a minute, and 44/16 WAV takes several minutes. (The track-to-track times are fine, since it seems to do read-ahead caching.)
Title: foo_upnp
Post by: Pastim on 2014-04-13 15:39:48
I bought the Android license also, but that made no difference. I have that setting also, but find that on my WiFi-G access point, playing 44/16 WAV or LPCM takes for-ever  to start. I can wait 12 seconds for 128 k mp3, or 18 seconds for 192 k, but 320 takes almost a minute, and 44/16 WAV takes several minutes. (The track-to-track times are fine, since it seems to do read-ahead caching.)
  On my in-house wifi it's pretty well instant for flacs at CD quality from my foobar server to my mobile on wifi, so that's a little strange.  I can't imagine what is delaying it.  I just tried again to make sure - turned on the mobile, turned on wifi, started bubble, selected a track on the server, and it played immediately.

I'm not transcoding the flacs, since I don't try to play anything away from home I don't need to reduce the bandwidth down to mp3.  In principle one can set up different profiles for different devices in foobar.  In practice I never quite made that work reliably since I think both my main renderers identify themselves in the same way to the server, so I gave up. 

There's also an option to transcode only when streaming over the Internet, which I never tried.
Title: foo_upnp
Post by: Philnick on 2014-04-18 03:14:41
The remote access I set up through my phone using Android BubbleUPnP is working fine using the BubbleUPnP server as an internet proxy for the foo_upnp server, which may actually be an advantage over connecting directly to foo_upnp, since that allows me to specify an mp3 bitrate for internet connections over Mobile Data, conserving my Mobile Data bandwidth.

Encouraged by this, I put foobar2000 and foo_upnp on my laptop so I could listen in even higher quality, but I don't seem to be able to use that to browse my main machine the way my phone can.

In fact, I don't seem to be able to connect to my main machine at all. I've pointed it (under Edit/Preferences/Tools/UPnP/Browser/Remote Internet Servers), in turn at my main machine's foobar2000 foo_upnp internet server and at its BubbleUPnP internet server, but I'm not asked for the password for either one, and the music on my main machine doesn't seem to appear in the laptop copy of foobar2000's main music browser or its foo_upnp browser, so I'm totally at a loss.

It's unclear whether that's where I should be putting in the remote server's address or whether the remote server's address should go under Edit/Preferences/Networking "Specify proxy address" - and which of those two places to put in an address should be left blank! I've tried every permutation I can think of.

Is there a step-by-step reference for making that connection available anywhere?
Title: foo_upnp
Post by: Philnick on 2014-04-18 04:30:25
To quote Saturday Night Live's Emily Litella, "Nevermind."

I went back to the download page for foo_upnp and found the link to the documentation - which did explain how to add a remote server - by right-clicking inside the UPnP Browser window, which was nowhere mentioned inside the program.

There really should be some indication that you can do that inside foo_upnp, like a legend at the bottom of that UPnP Browser window saying "Right-click to add a remote server."

So I've got it working.
Title: foo_upnp
Post by: Pastim on 2014-04-18 16:17:17
So I've got it working.

The documentation is a bit thin (and old).  It'd be nice if it was completed one day.....
Title: foo_upnp
Post by: Philnick on 2014-04-20 07:10:53
Is there a client program like the version of BubbleUPnP that runs on Android that can be installed on an OS X Mac without having to go the VM route?

It doesn't have to be a full-blown copy of foobar2000 + foo_UPnP, since all it would need to do is browse my BubbleUPnP server over the internet and play music it finds there.

Displaying embedded album covers would be nice but not necessary.
Title: foo_upnp
Post by: lhan on 2014-04-22 08:51:46
Hello,
I have some trouble with foo_upnp.

I want to setup VPN with "New Incoming Connection" in "Network Connection" on Windows 7 for my android when outside.
Just after I setup that, Foobar2000 will not response after few minute, or freeze immediately when manually stop server in Foobar2000's Library menu. Also upnp server disappear and won't show up no matter what is done.
Need to delete Incoming Connection and reboot computer to works again.

But when I use the same process to set "Incoming Connection" on Windows XP(in VMs), it works flawless just as thought.
I tried install newly Windows 7 in VMs too, and it stay unresponse like host's, so I think it is nothing to do with other software or OS settings.

All the effects goes to made by "New Incoming Connection" in Windows 7.

Here is some log:
http://i.imgur.com/mnAyWaQ.png (http://i.imgur.com/mnAyWaQ.png)

Any ideas? or is there any alternative way like other VPN or something compatible. Currently I'm trying foo_out_upnp + foo_httpcontrol, seems ok with Windows 7 Incoming Connection.
Thanks!
Title: foo_upnp
Post by: ringen00 on 2014-04-22 13:32:21
Hi!
This is probably a really fast one :-) :

In Foobar 1.3.1 I just activated in Preferences > Context Menu the entry for UPnP Controler.
(Btw: a typo there, right?!: 'Controler' should be 'Controller')

Where do I find this Context Menu entry now?!?
Couldn't find it anywhere back in the foobar interface. . .

regards ringen00
Title: foo_upnp
Post by: lhan on 2014-04-22 13:50:55
Hello,
I have some trouble with foo_upnp.

I want to setup VPN with "New Incoming Connection" in "Network Connection" on Windows 7 for my android when outside.
Just after I setup that, Foobar2000 will not response after few minute, or freeze immediately when manually stop server in Foobar2000's Library menu. Also upnp server disappear and won't show up no matter what is done.
Need to delete Incoming Connection and reboot computer to works again.

But when I use the same process to set "Incoming Connection" on Windows XP(in VMs), it works flawless just as thought.
I tried install newly Windows 7 in VMs too, and it stay unresponse like host's, so I think it is nothing to do with other software or OS settings.

All the effects goes to made by "New Incoming Connection" in Windows 7.

Here is some log:
http://i.imgur.com/mnAyWaQ.png (http://i.imgur.com/mnAyWaQ.png)

Any ideas? or is there any alternative way like other VPN or something compatible. Currently I'm trying foo_out_upnp + foo_httpcontrol, seems ok with Windows 7 Incoming Connection.
Thanks!

Reply myself.

I ended up using Softether to build VPN, works like a charm easily... 
Title: foo_upnp
Post by: Pastim on 2014-04-22 14:33:10
Hi!
This is probably a really fast one :-) :

In Foobar 1.3.1 I just activated in Preferences > Context Menu the entry for UPnP Controler.
(Btw: a typo there, right?!: 'Controler' should be 'Controller')

Where do I find this Context Menu entry now?!?
Couldn't find it anywhere back in the foobar interface. . .

regards ringen00

A context menu is normally what you see if you right click on an item.  However, I'm not quite sure where this would apply for the UPnP Controller.

I view the UPnP Controller using the main 'View' menu.
Title: foo_upnp
Post by: icedtea on 2014-05-11 03:42:03
I am trying to use foobar2000 to stream audio to my Bravia TV and downloaded this component. I can play music using the PlayTo feature of windows and it can see my TV but the UPnP controller cannot. Is there something else I need to configure?
Title: foo_upnp
Post by: ringen00 on 2014-05-11 10:42:25
Hi!
This is probably a really fast one :-) :

In Foobar 1.3.1 I just activated in Preferences > Context Menu the entry for UPnP Controler.
(Btw: a typo there, right?!: 'Controler' should be 'Controller')

Where do I find this Context Menu entry now?!?
Couldn't find it anywhere back in the foobar interface. . .

regards ringen00

A context menu is normally what you see if you right click on an item.  However, I'm not quite sure where this would apply for the UPnP Controller.

I view the UPnP Controller using the main 'View' menu.


Thanks! Precisely what I'm doing :-)
Title: foo_upnp
Post by: Falcopop on 2014-05-19 13:54:16
Hi!

First of all, thanks a lot for your work on this plugin.

But I unfortunately have a serious problem with it.

My computer (windows 7 + Soubd Blaster Z) crashes (BSOD) and restart (after having dumping memory) when I launch Foobar with your plugin (0.99.48). Sometimes at start up, sometimes at closure, sometimes during Foobar use, but extremly frequently.
I have a Synology as a NAS and a Samsung TV and Sony Blu-ray disc player as renders.
I tried it with Foobar 1.3.2 and 1.1.18 with the same issue.

Foobar works perfectly when the plugin is removed.

So please, help me because I didn't find any other plugin of Foobar which can control the NAS to play on my renders.
Tnanks
Title: foo_upnp
Post by: rutmang on 2014-05-20 00:54:19
Hello All!

I've spent several days searching and trying this and that.  I am able to connect on my home network with my Samsung Note 2 with BubbleUPnP.

In the app, if I select its "Local Renderer" and the Foobar Media Library, I am able to browse and play with no issue.  GREAT PLUGIN with this alone I am impressed!

But, if I push it and I select the Foobar Renderer instead of the BubbleUPnP local one and connect to the Foobar Media Library, it tries to play the first second of the track and then stops, regardless of media type (mp3, FLAC, WAV, etc.)

When I look at the Foobar application on the Windows 7 box I am serving it from, I see an "Unrecoverable playback error: UPnP device error: could not connect" error window.

Same results with Windows firewall on or off.

In the logs, I see errors like these: 

Code: [Select]
	Line 5: 0.013: NPT_BsdUdpMulticastSocket::LeaveGroup(1796)/6744: FINE: setsockopt error -32049
Line 5873: 15.15446: NPT_HttpRequest::Parse(773)/3376: FINER: NPT_CHECK failed, result=-20302 (NPT_ERROR_EOS) [(stream.ReadLine(line, NPT_HTTP_PROTOCOL_MAX_LINE_LENGTH))]
Line 9164: 52.52169: NPT_HttpRequest::Parse(773)/3432: FINER: NPT_CHECK failed, result=-20302 (NPT_ERROR_EOS) [(stream.ReadLine(line, NPT_HTTP_PROTOCOL_MAX_LINE_LENGTH))]
Line 10612:        <allowedValue>ERROR_OCCURRED</allowedValue>
Line 11234:        <allowedValue>ERROR_OCCURRED</allowedValue>
Line 15031:        <allowedValue>ERROR_OCCURRED</allowedValue>
Line 17888:        <allowedValue>ERROR_OCCURRED</allowedValue>
Line 19567: 61.61424: NPT_HttpRequest::Parse(773)/6968: FINER: NPT_CHECK failed, result=-20014 (NPT_ERROR_TIMEOUT) [(stream.ReadLine(line, NPT_HTTP_PROTOCOL_MAX_LINE_LENGTH))]
Line 19724: 62.62404: NPT_HttpRequest::Parse(773)/3840: FINER: NPT_CHECK failed, result=-20014 (NPT_ERROR_TIMEOUT) [(stream.ReadLine(line, NPT_HTTP_PROTOCOL_MAX_LINE_LENGTH))]
Line 23544:        <allowedValue>ERROR_OCCURRED</allowedValue>
Line 24783: 76.76822: NPT_HttpRequest::Parse(773)/6460: FINER: NPT_CHECK failed, result=-20302 (NPT_ERROR_EOS) [(stream.ReadLine(line, NPT_HTTP_PROTOCOL_MAX_LINE_LENGTH))]
Line 27905: 94.94448: NPT_HttpRequest::Parse(773)/2576: FINER: NPT_CHECK failed, result=-20302 (NPT_ERROR_EOS) [(stream.ReadLine(line, NPT_HTTP_PROTOCOL_MAX_LINE_LENGTH))]
Line 28021: 94.94735: NPT_HttpRequest::Parse(773)/6904: FINER: NPT_CHECK failed, result=-20302 (NPT_ERROR_EOS) [(stream.ReadLine(line, NPT_HTTP_PROTOCOL_MAX_LINE_LENGTH))]
Line 28346: 96.96895: NPT_HttpRequest::Parse(773)/288: FINER: NPT_CHECK failed, result=-20302 (NPT_ERROR_EOS) [(stream.ReadLine(line, NPT_HTTP_PROTOCOL_MAX_LINE_LENGTH))]
Line 28407: 96.96924: NPT_HttpRequest::Parse(773)/5272: FINER: NPT_CHECK failed, result=-20302 (NPT_ERROR_EOS) [(stream.ReadLine(line, NPT_HTTP_PROTOCOL_MAX_LINE_LENGTH))]
Line 28468: 96.96973: NPT_HttpRequest::Parse(773)/6220: FINER: NPT_CHECK failed, result=-20302 (NPT_ERROR_EOS) [(stream.ReadLine(line, NPT_HTTP_PROTOCOL_MAX_LINE_LENGTH))]
Line 30982: 105.105821: NPT_HttpRequest::Parse(773)/3724: FINER: NPT_CHECK failed, result=-20302 (NPT_ERROR_EOS) [(stream.ReadLine(line, NPT_HTTP_PROTOCOL_MAX_LINE_LENGTH))]
Line 30983: 105.105821: NPT_HttpRequest::Parse(773)/5600: FINER: NPT_CHECK failed, result=-20302 (NPT_ERROR_EOS) [(stream.ReadLine(line, NPT_HTTP_PROTOCOL_MAX_LINE_LENGTH))]
Line 30984: 105.105821: NPT_HttpRequest::Parse(773)/5524: FINER: NPT_CHECK failed, result=-20302 (NPT_ERROR_EOS) [(stream.ReadLine(line, NPT_HTTP_PROTOCOL_MAX_LINE_LENGTH))]
Line 32002: 115.115096: NPT_HttpRequest::Parse(773)/5084: FINER: NPT_CHECK failed, result=-20014 (NPT_ERROR_TIMEOUT) [(stream.ReadLine(line, NPT_HTTP_PROTOCOL_MAX_LINE_LENGTH))]
Line 32269: 117.117063: NPT_HttpRequest::Parse(773)/1228: FINER: NPT_CHECK failed, result=-20014 (NPT_ERROR_TIMEOUT) [(stream.ReadLine(line, NPT_HTTP_PROTOCOL_MAX_LINE_LENGTH))]
Line 32809: 120.120441: NPT_HttpRequest::Parse(773)/5260: FINER: NPT_CHECK failed, result=-20014 (NPT_ERROR_TIMEOUT) [(stream.ReadLine(line, NPT_HTTP_PROTOCOL_MAX_LINE_LENGTH))]
Line 33793: 123.123277: NPT_HttpRequest::Parse(773)/5744: FINER: NPT_CHECK failed, result=-20302 (NPT_ERROR_EOS) [(stream.ReadLine(line, NPT_HTTP_PROTOCOL_MAX_LINE_LENGTH))]
Line 37661: 149.149876: PLT_HttpListenTask::DoRun(491)/6368: WARNING: PLT_HttpListenTask exiting with -20021 (NPT_ERROR_CANCELLED)
Line 37664: 149.149876: NPT_HttpRequest::Parse(773)/596: FINER: NPT_CHECK failed, result=-20021 (NPT_ERROR_CANCELLED) [(stream.ReadLine(line, NPT_HTTP_PROTOCOL_MAX_LINE_LENGTH))]
Line 37666: 149.149877: PLT_HttpServerSocketTask::Read(195)/596: WARNING: NPT_CHECK failed, result=-20021 (NPT_ERROR_CANCELLED) [(res)]
Line 37668: 149.149877: NPT_HttpRequest::Parse(773)/5392: FINER: NPT_CHECK failed, result=-20021 (NPT_ERROR_CANCELLED) [(stream.ReadLine(line, NPT_HTTP_PROTOCOL_MAX_LINE_LENGTH))]
Line 37670: 149.149877: NPT_HttpRequest::Parse(773)/6976: FINER: NPT_CHECK failed, result=-20021 (NPT_ERROR_CANCELLED) [(stream.ReadLine(line, NPT_HTTP_PROTOCOL_MAX_LINE_LENGTH))]
Line 37671: 149.149877: PLT_HttpServerSocketTask::Read(195)/5392: WARNING: NPT_CHECK failed, result=-20021 (NPT_ERROR_CANCELLED) [(res)]
Line 37672: 149.149877: PLT_HttpServerSocketTask::Read(195)/6976: WARNING: NPT_CHECK failed, result=-20021 (NPT_ERROR_CANCELLED) [(res)]
Line 37988: 150.150047: PLT_HttpListenTask::DoRun(491)/4064: WARNING: PLT_HttpListenTask exiting with -20021 (NPT_ERROR_CANCELLED)
Line 37992: 150.150048: NPT_HttpRequest::Parse(773)/6632: FINER: NPT_CHECK failed, result=-20021 (NPT_ERROR_CANCELLED) [(stream.ReadLine(line, NPT_HTTP_PROTOCOL_MAX_LINE_LENGTH))]
Line 37993: 150.150048: NPT_HttpRequest::Parse(773)/5748: FINER: NPT_CHECK failed, result=-20021 (NPT_ERROR_CANCELLED) [(stream.ReadLine(line, NPT_HTTP_PROTOCOL_MAX_LINE_LENGTH))]
Line 37994: 150.150048: PLT_HttpServerSocketTask::Read(195)/6632: WARNING: NPT_CHECK failed, result=-20021 (NPT_ERROR_CANCELLED) [(res)]
Line 37995: 150.150048: PLT_HttpServerSocketTask::Read(195)/5748: WARNING: NPT_CHECK failed, result=-20021 (NPT_ERROR_CANCELLED) [(res)]
Line 38243: 150.150114: NPT_HttpRequest::Parse(773)/3144: FINER: NPT_CHECK failed, result=-20021 (NPT_ERROR_CANCELLED) [(stream.ReadLine(line, NPT_HTTP_PROTOCOL_MAX_LINE_LENGTH))]
Line 38244: 150.150114: PLT_HttpServerSocketTask::Read(195)/3144: WARNING: NPT_CHECK failed, result=-20021 (NPT_ERROR_CANCELLED) [(res)]

I'd really like to use the Foobar Renderer for its Replay Gain and DSP.

Is anyone using BubbleUPnP with the Foobar Media Library and its Renderer? 

I haven't bought the BubbleUPnP license yet.  Is that the issue?

Thanks in advance for any help!
Title: foo_upnp
Post by: eevan on 2014-05-20 07:48:46
If you have uPnP enabled on your router, try to switch it off. I had similar problems and switching the uPnP on the router fixed it.

But maybe it's something else in your setup...

Cheers
Title: foo_upnp
Post by: rutmang on 2014-05-20 15:28:58
Thanks for the suggestion, eevan.  Unfortunately, there was no change in the behavior.

I've taken all default options in my setup, even turning off the replay gain and dsp I wish to use in the BubbleUPnP profile.

If folks are able to use the library and renderer without issue, at least I know I'm not beating my head against a wall.

Thanks again!
Title: foo_upnp
Post by: Pastim on 2014-05-20 16:52:40
Thanks for the suggestion, eevan.  Unfortunately, there was no change in the behavior.

I've taken all default options in my setup, even turning off the replay gain and dsp I wish to use in the BubbleUPnP profile.

If folks are able to use the library and renderer without issue, at least I know I'm not beating my head against a wall.

Thanks again!

I use both library and renderer with no problems, albeit with both on linux, not windows, with bubbleupnp on android as controller.
Title: foo_upnp
Post by: rutmang on 2014-05-20 17:12:06
Interesting!  I'll try it on an LXLE laptop I have going!  If it works, it may take my router/network/wifi out of the picture.

Thanks Pastim!
Title: foo_upnp
Post by: Pastim on 2014-05-20 17:18:39
Interesting!  I'll try it on an LXLE laptop I have going!  If it works, it may take my router/network/wifi out of the picture.

Thanks Pastim!

To be clear, I'm running foobar 1.3 under Wine on linux on a desktop PC, with my mobile android controller connected via wif-fi to my wired home network.  Foobar is one of the best behaved applications running under the this Windows simulation on linux.
Title: foo_upnp
Post by: Marnes on 2014-05-21 16:29:25
This is the most awesome thing since sliced bread  It works gloriously. Takes no time at all to learn how it works and how to set it up. I can browse Foobar's folders and playlists in realtime from my Android, see the album art and title formatted tags, listen to whatever track I want while my laptop plays something different and people are listening online to the laptop's output stream. It's such a logical, basic system but it works so gloriously. A great example of technology finally being done right.
Title: foo_upnp
Post by: puzzler on 2014-05-22 09:33:43
I have a problem with profiles to use. I did setup profile for DreamBox, and every time I start to play upnp selects Default profile. I can see at logs, it selects DreamBox profile, but apply Default profile for track. Why?

Code: [Select]
User-Agent: Dream Multimedia Dreambox Enigma2 Mediaplayer
foo_upnp: 158.158667: RendererController::GetNearestResource(188)/4960: INFO: matching resource url to target ip 192.168.0.10: [url="http://192.168.0.19:56923/content/3941e5a8dae09cabecf8d3f56dac96e9.wav?profile_id=0&convert=wav"]http://192.168.0.19:56923/content/3941e5a8...amp;convert=wav[/url]
foo_upnp: 158.158822: upnp_server_conf::get_profile(937)/2448: INFO: using profile 'DreamBox', matching header (User-Agent:Dream Multimedia Dreambox Enigma2 Mediaplayer)
foo_upnp: opened 'file://\\diskstation\music\#Chillout\6th Sense - Sleepless (BVCP-21321) - FLAC\08 - Keep On Walking.flac' for streaming, profile: Default, WAV / 44100 Hz / 16 bits / 2 channels, replaygain: off, DSP chain: off
foo_upnp: 158.158991: controller_window::set_track_info_string(1112)/4960: INFO: track info display: 6th Sense - By My Side | PCM | 1411 kbps | 44100 Hz
foo_upnp: 159.159410: controller_window::set_track_info_string(1112)/4960: INFO: track info display: 6th Sense - Keep On Walking | PCM | 1411 kbps | 44100 Hz
foo_upnp: 160.160466: controller_window::set_track_info_string(1112)/4960: INFO: track info display: 6th Sense - Keep On Walking | PCM | 1411 kbps | 44100 Hz
foo_upnp: 161.161281: UPnPAVRendererController::set_transport_state(232)/4960: INFO: No local playing item
foo_upnp: 161.161282: controller_window::set_track_info_string(1112)/4960: INFO: track info display: Stopped
Title: foo_upnp
Post by: Pastim on 2014-05-24 10:31:49
I'm using foobar2000 upnp as a controller.  It seems to impose its own sort order on the library.  This is a nuisance.  I've spent quite a bit of time getting my server to deliver the library list in the order I want, only for foobar to change it.

Is there a way to turn off foobar's own sorting of such lists?
Title: foo_upnp
Post by: mindbomb on 2014-05-24 23:27:32
Hi everyone. I absolutely love this plugin, but I can't figure out how the mp3 transcoding works. I'm using two computers with foobar on each over a lan. I don't need bandwidth savings, but I was just curious what it would look like if mp3 transcoding was enabled. However, upon editing the foobar streaming profile, and having it set to always transcode, the computer still reports pcm being played back. It would say mp3 if transcoding was enabled, right?
Title: foo_upnp
Post by: guywithprtzl on 2014-05-25 06:43:08
Hi there. I'm new to these forums and just made an account to post this. I'm trying to use the playback capture stream with plugplayer( from foobar but the stream is very slow. Not laggy. Just slow, like deep voices and such. It is terrifying to listen to. Browsing playlists however work fine and the audio plays normally. I was wondering if anyone had a fix for this.
I had done about 2 hours of searching before i decided to post this. I only saw one other user with this problem but there was no answer for him.
I have isolated that it is indeed foobar that is the problem. I have different apps on the ipod but they all have the symptoms that plugplayer has. So then I got XBMC for my desktop(same desktop) and then rendered it from there and it was the same issue.
The settings in foobar are as follows(although I've tried changing everything at least once):(http://i59.tinypic.com/28hfmv7.png)
I feel as though I am missing something very basic. Hopefully someone can lend me a hand. Thank you in advance!
Title: foo_upnp
Post by: Psycho_Dad on 2014-05-28 07:46:00
I'm using the plugin to access my media library from work using a foobar instance. Everything works as expected however playback stops between tracks - after a song is finished the playback stops for several seconds and then the next track starts.

Is this intended? Is there something I can do about this?

What I've done is select a playlist from the UPnP Browser, right click it, click Send to New playlist and press play on the first item and I've selected "Default" playback mode.

Thanks for the input!
Title: foo_upnp
Post by: Xcaliber on 2014-06-04 19:17:43
Hi,

I use this plugin frequently with my large music collection. It´s really a great functional upgrade for foobar and works perfectly with android bubbleupnp. I really admire the work that has been done so far on this software. However, I have found that the application has limitations that often prevents me to use it in certain scenarios. So I thought that it might be useful to mention these limitations here and make some suggestions for new feature implementation:

For example, implementation of user access restrictions on local network would be very useful function. My suggestion is that the plugin would allow access only to a previously defined list of IP or MAC addresses. In my case, this feature would allow me to use foobar at work and to grant access to my library only to some people.

Second, transcoding for upnp sharing would be much more useful if it could employ the internal convertor pipeline from foobar2000 including the choice of different codecs. Currently the transcoding is limited to mp3 and PCM, which doesn´t cover what is necessary for many cases. For example, transcoding to aac or ogg would more useful than mp3 when low bitrates (80-128kbps) are required. Re-sampling to 44kHz and transcoding to flac would be useful when higher quality is needed but the network is not fast enough for streaming high definition audio (96kHz/24bit).

It would be great if these functions could be implemented in the future although I understand that writing code requires a lot of personal time and effort

Thanks

David
Title: foo_upnp
Post by: cmg on 2014-06-07 19:55:19
Hi
I don't know if this issue has already been asked and answered or if this is the right place 
I'm using foobar with foo_upnp to send music via wifi to a Pioneer n30.
I would like to know how to change the data that is sent (name, artist, date, genre, etc..) and how to make the covers appear in the Pioneer display. 
thanks in advance 
Regards
Title: foo_upnp
Post by: aardvarkk on 2014-06-11 00:45:15
Hi there! Great component here -- got my TV (a Panasonic Viera ST30) playing music off my network drive in minutes after I struggled for a while trying to get Windows Media Player to do anything useful. I had two things I wanted to inquire about:

1. Under the UPnP Controller Playback Queue, the "Sort" option is greyed out. I wanted to randomize the entire list so it plays back on my TV in a random order, but I can't seem to do that. My workaround was to drag the whole playlist to the Default playlist, randomize the order there, then drag it back to the Controller Playback Queue. It would obviously be nice if this weren't necessary.

2. The playback works fine, but transfer of Artist/Album/Track information does not seem to occur after the TV has started playing a track. If I stop the playback, then re-start it, the proper information is shown on the TV screen. However, once the first track is done playing and it continues onto the next, the original information from the first track remains on screen. Strangely, the album art DOES change correctly, but the album/artist/track information does not. Would love to have this fixed so I know what's playing without having to look back at the computer!

Thanks for the hard work on this. It's certainly an improvement over what I had running!
Title: foo_upnp
Post by: bluto on 2014-06-16 21:23:40
Hello,

I have a problem with audio dropouts using Foobar 1.3.2 with foo_upnp and a Marantz MCR603 hifi. All connections are wired (I have no wireless connections anywhere).

It is hard to diagnose because the dropouts occur roughly every 10 minutes or so... The sound cuts out for a split second before continuing as normal. It might be fine for another 15 minutes, or another 5 - no pattern at all as far as I can tell. My music files are all Flac files.

I had no trouble at all for a couple of months, and now over the last few days it's been playing up.

I have Windows 7 Ultimate and have tried the following with no success:

1) swapped router for a spare one
2) used external hard disk for music library (i.e. copied all Flac files to external HD and pointed Foobar to this)
3) disabled all shields on my virus checker (Avast)
4) checked DPC latency with freeware meter ("dpclat.exe"), but no spikes on graph to indicate a problem
5) logged off from ISP so that the only network traffic was on my home network (just my PC, router and hifi)
6) tried to do system restore from 1 week ago, but it gives an error and won't complete...

My hifi doesn't suffer dropouts when playing the same files from a USB stick plugged directly in, or when playing CDs.

Any ideas gratefully received. As the dropouts are so infrequent, testing is very time consuming and frustrating. I don't remember installing any new software on my PC recently. I also can't manually reproduce the problem by downloading/uploading data (e.g. with speedtest website).

Bluto
Title: foo_upnp
Post by: chrome_waves on 2014-06-18 05:57:20
forgive my ignorance folks, but am i understanding that this plugin can be used to access/play/stream whatever, my foobar music library remotely, over my phone's data connection? if so that would be quite cool, and if someone would be good enough to point me in the direction of learning how to set it up, id be most appreciative 
Title: foo_upnp
Post by: bluto on 2014-06-18 12:44:13
I have a problem with audio dropouts using Foobar 1.3.2 with foo_upnp and a Marantz MCR603 hifi. All connections are wired (I have no wireless connections anywhere).

It is hard to diagnose because the dropouts occur roughly every 10 minutes or so... The sound cuts out for a split second before continuing as normal. It might be fine for another 15 minutes, or another 5 - no pattern at all as far as I can tell. My music files are all Flac files.

I had no trouble at all for a couple of months, and now over the last few days it's been playing up.
......
<snip>
......
Bluto



Problem sorted - should have thought of this earlier. In case it helps anyone else:

My Marantz has "Network Standby" turned ON. This allows it to remember the network connection to my PC, so it finds the Foobar music server very quickly (just a few seconds) when it is switched on. Something must have got slightly corrupted/messed up with the networking recently: not bad enough to stop it working, but enough to cause the occasional stutter as described above. I turned off my Marantz at the mains, and restarted it. This forced it to go through the full network initialising process (normally takes 1 minute or so to connect), but sound has been rock steady since, with no dropouts over about 3 hours of audio playing during the last 2 days. Hooray!

I must say I am deeply impressed with both Foobar and the foo_upnp plug-in - superb, non-bloated pieces of software.

To chrome_waves - I'm afraid I don't have a smart phone, so can't help you here. Hope you get it sorted.

Bluto
Title: foo_upnp
Post by: Viper73 on 2014-06-19 22:14:18
Hello,

i use the "UPnP/DLNA Renderer, Server, Control Point v0.99.48" for foobar2000 v1.3.2 (on Windows7 64bit).

When i choose the song i want to play from my Denon AVR X1000 (so i use my Denon as "remote control" and foobar is just the "server") i can see the cover of the current mp3 song and the track title.

But when i use the "UPNP Controller" and click on "Playback Stream Caputre" in foobar2000 from my PC then i see only "foobar2000 steam capure" instead of the track title and there is also no cover showed on my Denon.

Is it possible to see the track title and the cover when i use stream caputre?

Greets, Viper
Title: foo_upnp
Post by: Seasider on 2014-06-20 13:04:00
Hello,

i use the "UPnP/DLNA Renderer, Server, Control Point v0.99.48" for foobar2000 v1.3.2 (on Windows7 64bit).

When i choose the song i want to play from my Denon AVR X1000 (so i use my Denon as "remote control" and foobar is just the "server") i can see the cover of the current mp3 song and the track title.

But when i use the "UPNP Controller" and click on "Playback Stream Caputre" in foobar2000 from my PC then i see only "foobar2000 steam capure" instead of the track title and there is also no cover showed on my Denon.

Is it possible to see the track title and the cover when i use stream caputre?

Greets, Viper


Hi, this is the same problem I am trying to get around - see my post

http://www.hydrogenaud.io/forums/index.php?showtopic=106065 (http://www.hydrogenaud.io/forums/index.php?showtopic=106065).

If you have any luck perhaps you would be able to copy me in.  I have installed the plugin component 'Now Playing Simple' from Skipyrich, but it doesn't work for me - may work for you ?

Cheers
Title: foo_upnp
Post by: Viper73 on 2014-06-29 14:44:47
Doesn't work for me, too. But thank you for your answer.
If you can solve this problem please let me know, i will let you know if i can find a solution, too...
Title: foo_upnp
Post by: Kalnoc on 2014-06-29 21:19:53
Im having a little difficulty setting up a profile to transcode my FLAC files to MP3. I'm running the latest version of Foobar2000 and streaming to BubbleUPNP on my android phone. It seems no matter what I try it always says  WAV  |44.1kHz |16 bits under the album art on the Buble UPNP Now Playing screen. Everything plays fine, but doesn't appear to transcode. Below is a screenshot of the streaming profile settings I'm trying to setup/use. What do I need to fix here?

(http://i1066.photobucket.com/albums/u410/Kalnoc/streaming_profile1_zpsad745926.jpg)

Thanks
Title: foo_upnp
Post by: Kalnoc on 2014-06-30 05:29:06
Im having a little difficulty setting up a profile to transcode my FLAC files to MP3. I'm running the latest version of Foobar2000 and streaming to BubbleUPNP on my android phone. It seems no matter what I try it always says  WAV  |44.1kHz |16 bits under the album art on the Buble UPNP Now Playing screen. Everything plays fine, but doesn't appear to transcode. Below is a screenshot of the streaming profile settings I'm trying to setup/use. What do I need to fix here?

(http://i1066.photobucket.com/albums/u410/Kalnoc/streaming_profile1_zpsad745926.jpg)

Thanks


I got FLAC to MP3 working but m4a is still showing as WAV how do I just play the m4a?
Title: foo_upnp
Post by: Kalnoc on 2014-06-30 16:14:57
(http://i1066.photobucket.com/albums/u410/Kalnoc/TranscodeforBubbleUPNP_zps8bb27eb7.png) (http://s1066.photobucket.com/user/Kalnoc/media/TranscodeforBubbleUPNP_zps8bb27eb7.png.html)

The above are my settings. Transcoding FLAC to MP3 is working but aac and MP3 files are playing as WAV. How do I prevent that?
Title: foo_upnp
Post by: SmartOne on 2014-07-14 06:59:26
I can't get ADX files (nor XA) to stream using the vgmstream component.  On the Renderer I get a console error saying access denied for the file, but the Server's console says that streaming has started.  I want to stream these files without transcoding.  What's wrong?
Title: foo_upnp
Post by: Snowknight26 on 2014-07-17 20:38:01
I presume there's no way to optimize seeking for non-transcoded MP3s when one instance of foobar2000 is connected to another (both via foo_upnp)?

Currently when seeking the whole track has to be transferred up until the seek location, which is really inefficient, especially when dealing with really long MP3s or connections with limited throughput.
Title: foo_upnp
Post by: magowiz on 2014-07-19 15:29:57
Hello,

  I needed to set up a UPNP Dlna DMR to permanently run in the background on a windows 7 based PC, and the best solution I found was to set up foobar with foo_upnp, and then create a task under system administration to launch foobar at stortup.

Everything seems to work fine, but after a few hours I see the foobar UPNP renderer disappear from DLNA announces, and all staps working. If I look at foobar'd folder KI can see the "running" file flag there, so it seems that foobar is still playing, but no player is available on the netwok anymore.

Any ideas? Could it be the foo_upnp to stop working?
Title: foo_upnp
Post by: speakers_86 on 2014-08-01 21:34:51
This would be cool if the lag wasn't so high.
Title: foo_upnp
Post by: adamo83 on 2014-08-30 10:38:53
Hello.

I have problem to stream music form my Foobar through Onkyo TX-NR626 amplituner using UPnP plugin on Windows 7 64 bit.

After I turn on Foobar, amplituner sees DLNA server immediately. I can go to DLNA -> Foobar2000 -> Playlist -> Default and I can see all track right there on my amplituner and I can play them, but I want to operate everything on my PC, not from amplituner level.
I know that it's possible to just stream everything directly from Foobar to amplituner using DLNA -> Foobar2000 -> Playbacks -> Playback Stream Capture, but this doesn't work for me. When I drag audio track on my playlist and double click on it or just hit Play button, the music starts playing only on my computer.
I can play music by selecting in Foobar: View -> IPnP Controller
Then new window pop up. I can choose my amplituner from the scroll list and after I drag audio file to UPnP Controller window, the track starts to play on my collumns.
This is not however streaming and I gotta have this additional UPnP window open all the time or music stop playing.
I am just looking for the way to stream music directly.

There is a lot of options in F2k configuration Servers -> Streaming profiles, but all I can do is only to edit DEFAULT profile. When I change to some other profile, hit ok and open configuration window, there is stil DEFAULT profile.
Donb't know exactly what and how to change some options to make it works.

I am using WASAPI plugin and I configured it according to some information on internet, but I can't hear any difference even on FLAC files. But thats a different story.

I hope you guys can help me to configure this streaming. I can provide screenshots, movies or anything you want to handle the problem.

Title: foo_upnp
Post by: s3bang on 2014-09-13 19:33:03
nice plugin, nice standy function (context menu)..
would by nice when standy function is called if foobar will be closed; Like enable on startup
Title: foo_upnp
Post by: D.Sync on 2014-09-14 19:18:10
Hi guys, I noticed a bug caused by foo_upnp component that will cause foobar2k to hang (not responding) when shutting down. It even takes a while for the OS to kill the process when forcefully killing it. Upon further inspection on the process I noticed it is caused by wandered thread as attached in the screenshot. FYI I noticed this similar behaviour even on older version of both foobar2k and the plugin itself.

Tested on foobar2k v1.3.3 and foo_upnp version 0.99.48 under Windows 7 x64 bit.

(http://i60.tinypic.com/2vdiow3.jpg)

Title: foo_upnp
Post by: SmartOne on 2014-10-01 04:48:11
Here's another question:

Has anyone been able to get this to work in Wine?  On server startup, I see an "err:" in the Wine console about CLSCTX_REMOTE_SERVER not being implemented.  The server appears to start, but it's not listening on the specified port.
Title: foo_upnp
Post by: SmartOne on 2014-10-04 00:59:57
Never mind.  Wine 1.6.whatever seems to work.
Title: foo_upnp
Post by: Audio on 2014-10-05 17:44:35
Does anybody have an older version of this file? I'm still on Foobar2000 v 0.9.5.5 (I don't how the new versions don't allow context menu re-arranging) and the latest foo_upnp does not work.

I'd like to find the last version that worked with 0.9.5.5, haven't been able to find anything on Google.
Title: foo_upnp
Post by: Cutter on 2014-10-18 18:02:15
Hi!

My Freebox can't access to content exposed by foo_UPnP. It can list folders but not the files inside them. It works fine with another server such as FreeMI (http://freemiupnp.fr/index.php/presentation). I've tried tweaking the streaming profile (always convert to PCM), but it didn't solve the problem. What else can I try?

Thanks.

Here's the log of UPnP while the Freebox is accessing it:
http://pastebin.com/1bEdzgZ8 (http://pastebin.com/1bEdzgZ8)
Title: foo_upnp
Post by: D.Sync on 2014-10-27 16:26:16
Seems like developer no longer support this? The hang bug is pretty annoying :-(
Title: foo_upnp
Post by: peterjuv on 2014-11-14 20:14:35
I'm experiencing a similar problem with Windows 2008 Standard 32 bit. Strange, it works fine with Windows 2003 Server. Any idea what causes the crash and how to overcome this problem?

Cheers, Peter

Seems like developer no longer support this? The hang bug is pretty annoying :-(

Title: foo_upnp
Post by: blackice24 on 2014-11-19 20:21:12
Hello. I am having an issue browsing my music with foobar via upnp over the internet. My server is setup with bubbleupnp (which works fine when streaming to my Android) serving my WMP library. I am able to browse and play my playlists without issues, but when I attempt to browse any music directly, I see "loading" in parenthesis for a moment and then it disappears and nothing happens. I am unable to attempt browsing on that node again unless I "reload root" in the upnp browser. Any help or advice would be greatly appreciated.
Title: foo_upnp
Post by: orbtwin on 2014-11-19 22:49:55
Well...
i having issues too with my foobar2000 upnp server.
i have a PC with a portable instance of foobar2000 + foo_upnp and bubbleupnp server running.
All is working fine...i can acces my music in my WiFi at home and outside my house...but.

* how is transfered album art ? i have checked correctly the option i think : into foobar2000 running as a server / preferences / UPnP / server / content / allow album art streaming.
but sometimes album art is not correctly shown or missing in the android app bubbleupnp.
i have a large collection, where ALL my album folder have a folder.jpg file and folder_cover.png. i don't use, embedded art a priori.
but ...to be sure. first of all...how can i completely erase embedded art in mp3, wav, flac, mpc etc...? thereby only external art in bubbleupnp android will be shown ?...
* there somekind of filesize limitation for album art size in bubbleupnp ? ...
* in other instances of foobar2000 accesing the remote one, album art in not shown at all.

please somehelp!
thanks
Title: foo_upnp
Post by: zeremy on 2014-11-20 06:53:16
Well...
i having issues too with my foobar2000 upnp server.
i have a PC with a portable instance of foobar2000 + foo_upnp and bubbleupnp server running.
All is working fine...i can acces my music in my WiFi at home and outside my house...but.

* how is transfered album art ? i have checked correctly the option i think : into foobar2000 running as a server / preferences / UPnP / server / content / allow album art streaming.
but sometimes album art is not correctly shown or missing in the android app bubbleupnp.
i have a large collection, where ALL my album folder have a folder.jpg file and folder_cover.png. i don't use, embedded art a priori.
but ...to be sure. first of all...how can i completely erase embedded art in mp3, wav, flac, mpc etc...? thereby only external art in bubbleupnp android will be shown ?...
* there somekind of filesize limitation for album art size in bubbleupnp ? ...
* in other instances of foobar2000 accesing the remote one, album art in not shown at all.

please somehelp!
thanks


Glad to see you got it up running.

I recommend to all having problems to enable debuging to console and log ALL.
Then try to identify the cause of your problem.

(http://i.imgur.com/0wbCGxZ.png)

To remove embedded artwork , select file in playlist > right click > Tagging > Remove all pictures.
Title: foo_upnp
Post by: rboss on 2014-11-29 12:05:45
Hello bubblegum and foo_upnp forum users.

I have a question regarding UPnP browser tree, and would like some help for it.

Some context:
I have fb 1.3.5 and foo_upnp 0.99.48, all working well for my needs. I have customized the foo_upnp_ml_tree.xml file to my needs and is working well.
This means I can access my library remotely using the UPnP Browser from a portable installation (I have it on a thumbdrive) or in my LAN.

I'm currently trying to create a new Media Library entry in the .xml file using the following criteria:

- my music has a custom metadata entry called "_tag"; which I use to add moods to my collection.
Example:
- track 1 > [properties]> _tag: "cool"
- track 2 > _tag: "ambient"
- track 3 > _tag: "chillout"

and some compound tags:

- track 4 > _tag: "ambient chillout"  --> 2 words on the same tag field
...
...

Some cases I can have 3+ words.

Using a query, I can find music by mood:
Query 1: _tag HAS ambient
Query 2: _tag HAS cool AND _tag HAS chillout
...
...

What I want to do in the tree .xml file is to make a "Tags" library, in which a similar query as above is run, so as I can have each mood as a separate sub entry. Currently I have this code:

   <SubTree label="Tags" query="_tag PRESENT">
      <spec>$meta(_tag)</spec>
      <spec type="object.container.album.musicAlbum">%album artist%[ - %album%]</spec>
   </SubTree>

which yields this output in the browser window:
UPnP Servers > foobar > Media Library >Tags >
- ambient
- ambient chillout
- ambient (some other composed entry)
- cool
- cool (come other composed value)
- chillout

Which is not what I want; what I want is:

UPnP Servers > foobar > Media Library >Tags >
- ambient (simple and composed entry)
- cool (simple and composed entry)
- chillout (simple and composed entry)

For that, I understand I need to run a query in <spec>, something in the likes of

<SubTree label="Tags" query="_tag PRESENT">
<spec>query= "QUERY TO SEPARATE ENTRIES IN _TAG"</spec>
<spec type="object.container.album.musicAlbum">%album artist%[ - %album%]</spec>
</SubTree>

but I don't know how to, and existing documentation only refers to queries in <SubTree>, which would work, but my browser tree would look like :

UPnP Servers > foobar > Media Library >
> Tagged w\ "ambient"
> Tagged w\ "chillout"
> Tagged w\ "cool"

without the main "Tags" library, which isn't really what I'd like.
Also I would need to set the query term to "ambient", or "cool", etc,  for each Library; and I'd like the code to be flexible, i.e. query term as a variable (and I know I might be asking too much with this last one).

My attempts have been unsuccessful so far; and my coding skills are self-learned.

Can someone help me?
Title: foo_upnp
Post by: Marnes on 2014-11-29 12:51:13
I could swear I remember there being a way to see how many people are currently listening to your playback stream, but I can't find anything about it anymore. Did I imagine it or am I overlooking something?
Title: foo_upnp
Post by: Northpack on 2014-12-03 15:12:43
First of all thank you very much for providing this plugin. It works like a charm with the cheap $30 DNLA streaming device I just received from China (it's called SoudMate and besides having SPDIF out it features a Wolfson DAC producing a perfectly transparent analog output!).

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).
Title: foo_upnp
Post by: Northpack on 2014-12-06 10:59:22
Oh, well, I actually have another request 

I like to play back music with foobar while falling asleep. Usually, the laptop goes to standby some minutes after the playlist has been finished. This does not work, however, when the UPnP Controller is active, which is a pitty. It would be great if the controler wouldn't interfere with idling.

I hope this great and very useful component is still being developed...
Title: foo_upnp
Post by: SpaceAgeHero on 2014-12-20 19:27:40
I also have problems with Album Art streaming. Is it in any way limited?
I have 400+ Albums, all as disc image flac files with embedded cuesheets.
All my album art is stored in an external folder, separated from my audio files and configured in foobar2000 with the following search pattern:
Code: [Select]
c:\Users\SpaceAgeHero\Pictures\Artwork\%album%_Front.*
.
In foobar2000's Album Art viewer everything is fine but when browsing my music from another computer with foobar2000 + UPnP Browser only the very first image in the folder is shown for every album.

The weird thing is, when I tested this previously with only about 20 albums everything was fine too.
Title: foo_upnp
Post by: Cutter on 2015-01-12 21:20:45
Hi Bubblegum,

Would you consider implementing the features of OpenHome (especially renderer-side playlists) in foo_upnp ? I know they're in BubbleUPnP Server, but I'd rather not install it and Java just for that feature.

Thanks.
Title: foo_upnp
Post by: jams on 2015-01-14 21:48:48
Hi, i have a Marantz mcr510. I installed foo_upnp but the hifi cant find the foobar stream.
It displays 2 other servers that i have but no foobar.
I'm running windows 8.1 if that helps.
Have i done something wrong? should i install something else first?

Thanks for any help in advance, Nmjams
Title: foo_upnp
Post by: jacobacci on 2015-01-26 12:25:17
Hi all
I have started using foo_upnp to stream music to my Revo AXIS upnp renderer. I got it to work, but not quite all the way yet.

1. The Revo AXIS crashes and reboots sometimes, when I try to play a stream. Unless someone has an idea what might cause this, I will take this up with Revo.

2. I am trying to use a DSP chain to downsample hirez files
    - downsample 88200 and 176400 to 44100
    - downsample 96000 and 192000 to 48000
I do this using two entries of SOX mod2 in the dsp chain. One to downsample ONLY 88200 and 176400 and one to downsample ONLY 96000 and 192000. In reality the hirez files all downsample to the samplerate which is defined in the first entry of SOX mod2. None get downsampled to the samplerate which is defined in the second entry.
What could be the issue here? In my view the DSP chain should first process the first entry, then the second.

Thanks a lot for any help

Title: foo_upnp
Post by: BenB on 2015-01-26 17:32:40
My guess is that because the use of audio processing forces MP3 or PCM, the process is automatically resampling to 44100. The developer will have to comment to confirm/deny.
Title: foo_upnp
Post by: jacobacci on 2015-01-27 17:37:13
That would explain it, but kinda defeats the purpose of the resampling.
Title: foo_upnp
Post by: BenB on 2015-01-27 19:10:55
I just had a look at the settings instead of going by memory.

There is a "samplerate range" setting under Renderer Capabilities which notes that the settings can force PCM. If you haven't created a profile for your device, it will use the Default profile which has a range of 44100 only.

Obviously, foo_upnp does automatically resample when it encounters a file whose sample rate is outside of the range of that setting. I assume the resampling is always to 44100, but you could try changing the range from 44100 to 44100 to 44100 to 48000 in the Default profile to check whether it resamples to other sample rates.
Title: foo_upnp
Post by: rednoise on 2015-01-30 00:50:26
Is it written anywhere what the new version 0.99.49 dated Jan, 13 2015 is about? The changelog still lists version 0.99.48 as the latest.
Title: foo_upnp
Post by: aethelberht on 2015-02-01 12:22:14
Hi guys, I noticed a bug caused by foo_upnp component that will cause foobar2k to hang (not responding) when shutting down. It even takes a while for the OS to kill the process when forcefully killing it. Upon further inspection on the process I noticed it is caused by wandered thread as attached in the screenshot. FYI I noticed this similar behaviour even on older version of both foobar2k and the plugin itself.

Tested on foobar2k v1.3.3 and foo_upnp version 0.99.48 under Windows 7 x64 bit.


Getting the same shutdown hang issue as this poster, with the latest versions (fb2k 1.3.7, foo_upnp 0.99.49) on Win 8.1 x64.
Title: foo_upnp
Post by: eevan on 2015-02-08 08:48:40
I am facing the strange issue with remote connecting my server runnung on the foo_upnp 0.99.49, with the BubbleUPnPServer 0.9 Update4 on Win7 x86.
Everything is set up correctly because I can connect remotely to the server just fine using android BubbleUPnP app, but the problem shows when I try to connect from the foobar2000.

Here is the extract from the client log:

Code: [Select]
foo_upnp: 574.574598: PLT_CtrlPoint::InspectDevice(1269)/6544: INFO: Inspecting device "93e41c6e-2091-1b9b-36bc-7ce94edc677e" detected @ [url=https://xxxxxx.minidns.net:58051/DeviceDescription.xml]https://xxxxxx.minidns.net:58051/DeviceDescription.xml[/url]
foo_upnp: 574.574598: NPT_HttpClient::SendRequestOnce(1707)/6544: FINE: requesting URL [url=https://xxxxxx.minidns.net:58051/DeviceDescription.xml]https://xxxxxx.minidns.net:58051/DeviceDescription.xml[/url]
foo_upnp: 574.574598: NPT_HttpClient::SendRequestOnce(1734)/6544: FINE: calling connector (proxy:no) (http 1.1:yes) (url:https://xxxxxx.minidns.net:58051/DeviceDescription.xml)
foo_upnp: 575.575269: NPT_HttpTlsConnector::Connect(1113)/6544: FINE: looking for a connection to reuse
foo_upnp: 575.575269: NPT_HttpTlsConnector::Connect(1122)/6544: FINE: TLS connector will connect to xxxxxx.minidns.net:58051
foo_upnp: 577.577593: NPT_HttpClient::SendRequestOnce(1740)/6544: FINE: got connection (reused: false)
foo_upnp: 577.577999: NPT_HttpClient::SendRequest(2119)/6544: FINE: redirecting to [url=https://xxxxxx.minidns.net:58051/SuperMediaServer/DeviceDescription.xml]https://xxxxxx.minidns.net:58051/SuperMedia...Description.xml[/url]
foo_upnp: 577.577999: NPT_HttpClient::SendRequestOnce(1707)/6544: FINE: requesting URL [url=https://xxxxxxx.minidns.net:58051/SuperMediaServer/DeviceDescription.xml]https://xxxxxxx.minidns.net:58051/SuperMedi...Description.xml[/url]
foo_upnp: 577.577999: NPT_HttpClient::SendRequestOnce(1734)/6544: FINE: calling connector (proxy:no) (http 1.1:yes) (url:https://xxxxxx.minidns.net:58051/SuperMediaServer/DeviceDescription.xml)
foo_upnp: 577.577999: NPT_HttpTlsConnector::Connect(1113)/6544: FINE: looking for a connection to reuse
foo_upnp: 577.577999: NPT_HttpTlsConnector::Connect(1116)/6544: FINE: reusing connection
foo_upnp: 577.577999: NPT_HttpClient::SendRequestOnce(1740)/6544: FINE: got connection (reused: true)
[color=#FF0000]foo_upnp: 578.578435: PLT_DeviceData::SetDescription(488)/6544: INFO: root namespace is invalid: null
foo_upnp: 578.578435: PLT_DeviceData::SetDescription(509)/6544: SEVERE: NPT_CHECK failed, result=-1 (FAILURE) [((-1))][/color]
foo_upnp: 578.578435: PLT_CtrlPoint::ProcessGetDescriptionResponse(1394)/6544: INFO: Device "f3ad985f-d4bc-655b-3d9a-cbe20a0e086d" is now known as ""

I have also tried using HTTP instead of HTTPS, but the issue remains. Connection dialog just closes and the server is not showed in the tree.
Tests are made with the Windows firewall disabled, so no blocking of traffic.

Any suggestions?

Cheers!
Title: foo_upnp
Post by: eevan on 2015-02-08 14:02:15
Forget the question I asked, I'm stupid.
The problem was WRONG PASSWORD! 

Although, it could be nice to see some feedback when the password one entered was wrong...

Cheers!
Title: foo_upnp
Post by: janci_sk on 2015-02-13 11:05:12
hi all, can anybody please advise regarding seeking, ive gont through all the posts but didnt find the relevant info.

i am using a serviio + bubble upnp server
seeking is enabled on the server
there is no transcoding
seeking WORKS on other renderers
seeking DOESNT WORK in foobar.

any help greatly appreciated.
cheers.

Title: foo_upnp
Post by: hbuus on 2015-02-18 03:09:30
I'm trying to stream music to my TV with DLNA using this plug-in but I can't make it work.

First I go into View->UPnP Controller.
After a few seconds I'm able to select my TV in the drop-down menu in the "UPnP Controller"-window, and then the "UPnP Controller Playback Queue"-tab is displayed in the main window of Foobar2000.
I drag and drop an audio file here and hit Playback / Play.
I can see the audio file starts playing in Foobar2000, however the music do not get transmitted to my TV.
Then I hit Play in the "UPnP Controller"-window.
Now both the main window of Foobar2000 and the "UPnP Controller"-window stops responding.
Then after a little while they start responding again.
But still, no music gets transmitted to my TV.

Am I doing something wrong?

Hope someone can help.
Thanks.

Best,
Henrik
Title: foo_upnp
Post by: slyman on 2015-02-19 08:21:44
pretty sure this isn't related to the plugin but does anyone know why i can't get any folders other than my public folders to show up? i have my music folder shared. i get the same issue sharing to my xbox360 while just using the windows dlna server... used to work before i upgraded to win7 64.

edit: just realized that i had to add the folder to my libraries... kind of stupid, any other way to do it?

also, if i want to play a song from the browser under the internet settings it says to go http://<username>:<password>@<ip><port>/content/psc(?).[format]

this doesn't really work for me if i put like /content/songname.mp3. do i not have to put the folder it's in or anything like that?

and plugplayer would allow me to connect to my server over the internet when i'm not home? are there any free ios apps that do this? or is the only way to play music over the internet through foobar?
Title: foo_upnp
Post by: slyman on 2015-02-22 09:09:06
figured out my issue in the browser. foobar has been giving me a crash message every time i close it since i installed this plugin though.
Title: foo_upnp
Post by: glebbi on 2015-02-27 14:21:58
Hello!
I have a following problem: I can't play all items in upnp controller playback queue on my airDAC. The first song plays as expected, but when foobar moves to the next one it shows "stopped" status, and I have to play it manually.
Does anybody know the solution? Thanks!
Title: foo_upnp
Post by: tberman333 on 2015-03-07 20:07:15
Hi... thanks for this great component.  I think I have everything setup correctly, but there are two things that are not working the way I expected and I am wondering if it is just my setup.

1.  If I use BubbleUPnp on my Android to play a track the playback statistics are not updated.  I have "Submit playback statistics checked, but it still does nothing.  There are no messages in my console about updating the stats on the track at all.

2.  I have the option "Swap 'The' and 'A' prefix in artist name", however all of the artists that state with "The" are still grouped together.  I was thinking this would stop that from happening (I know I could just code for this in the Library tree, but was hoping this check box would just take care of it.

If there is any other information that is needed to help troubleshoot this, please let me know...

Thanks!
Title: foo_upnp
Post by: alexinc on 2015-03-13 21:36:20
what kind of object.container can i choose from? i noticed when having a tag called series i would list all albums of that compilation series (album.musicAlbum), but bubbleupnp than shows me the artist of the first track underneath the series name. i can use person.musicArtist for letting it Show only the series Name, but i get the Artist Icon next to it. i guess genre.musicGenre would work as well... so what type of containers can i choose from and how do they seperate from each other?
Title: foo_upnp
Post by: tberman333 on 2015-03-14 18:01:33
Hi... thanks for this great component.  I think I have everything setup correctly, but there are two things that are not working the way I expected and I am wondering if it is just my setup.

1.  If I use BubbleUPnp on my Android to play a track the playback statistics are not updated.  I have "Submit playback statistics checked, but it still does nothing.  There are no messages in my console about updating the stats on the track at all.

2.  I have the option "Swap 'The' and 'A' prefix in artist name", however all of the artists that state with "The" are still grouped together.  I was thinking this would stop that from happening (I know I could just code for this in the Library tree, but was hoping this check box would just take care of it.

If there is any other information that is needed to help troubleshoot this, please let me know...

Thanks!


So I think I solved problem 1...  I had "Playback Statistics Custom" installed so my play count info got written to specific tags (this was because the old playback stats had issues if the location of your music changed.  Since the playback stats component works better than it did a few years ago (when I added the custom one), I have removed Playback Statistics Custom and it is now working as expected.

The Swap The and A issue still exists though... I guess I will just get around this by manually editing the tree xml.

Title: foo_upnp
Post by: Oakenheart on 2015-03-14 20:12:10
Hello!
I have a following problem: I can't play all items in upnp controller playback queue on my airDAC. The first song plays as expected, but when foobar moves to the next one it shows "stopped" status, and I have to play it manually.
Does anybody know the solution? Thanks!


In preferences for Controller uncheck enable gapless control. Worked for me.
Title: foo_upnp
Post by: sopparus on 2015-03-18 22:15:38
is it possible to add like an output device or something and use "play to (kodi or any other target"? like foo_upnp_put which is a bit outdated.
Title: foo_upnp
Post by: GeSomeone on 2015-03-20 11:12:08
is it possible to add like an output device or something and use "play to (kodi or any other target"?

You can do that with the UPnP Controller (part of foo_upnp). See View -> UPnP Controller.
You can choose your destination (DMR) and then set "Enable on startup" so it will be remembered.
Title: foo_upnp
Post by: sopparus on 2015-03-21 08:39:55
is it possible to add like an output device or something and use "play to (kodi or any other target"?

You can do that with the UPnP Controller (part of foo_upnp). See View -> UPnP Controller.
You can choose your destination (DMR) and then set "Enable on startup" so it will be remembered.


Sure, but you need to keep sending songs to that playlist right? it isnt quite as smooth as just setting an output device and forget it.
Title: foo_upnp
Post by: HiddenUser on 2015-03-25 13:44:47
Hello all,

I've registered to send a bug report for foo_upnp when used with OptimFROG files. foobar2000 always crashes when I try to play an OptimFROG (.OFR) file transcoded to WAV from an iPad with the nPlayer 2.6.5 app (using UPnP/DLNA). This issue ONLY exists when the transcoding to WAV option is ON and only with the OptimFROG codec. The foo_upnp logging was enabled with WARNING level and the log is very short (no error is shown):
Quote
initialized in 0.078s
created 2 path registry entries in 0.000s
loaded Media Library tree in 0.031s
opened 'file://H:\FLAC_MUSIC\Ambient\Raphael-Angels_Of_The_Deep\07-raphael-gnossienne_no._3_(satie).ofr' for streaming, profile: Default, WAV / 44100 Hz / 16 bits / 2 channels, replaygain: off, DSP chain: off

Below you can read the foobar2000 crash report (sorry for the huge length, I didn't find any option to attach files):

I hope this helps and thank you in advance,
HU

Code: [Select]
foobar2000 crash report
=======================

Illegal operation:
Code: C0000005h, flags: 00000000h, address: C25DE58Bh
Access violation, operation: read, address: C25DE58Bh

Call path:
FbMediaWavInputStream::queue_fill=>input_decoder::run

Stack (02F5FA60h):
02F5FA40h:  0000041C 000003F4 00000000 00000000
02F5FA50h:  0295FD20 00012047 0295FD38 000000F8
02F5FA60h:  00505E22 02F5FA90 0050C52F 01724DA8
02F5FA70h:  02F5FA90 0050C54A 01724DA8 00004000
02F5FA80h:  02C60CA8 000927C0 00001000 01724DA8
02F5FA90h:  02F5FAA8 016B3B3D 01724DA8 00004000
02F5FAA0h:  02F5FC9C 01365BAC 00000000 016EF21F
02F5FAB0h:  01736580 01724DA8 00004000 00000001
02F5FAC0h:  01708FE4 00000001 01724DA8 02D1E2A0
02F5FAD0h:  00001F80 02D1E8A0 0000000C 00000100
02F5FAE0h:  016EF2BC 01724DA8 00004000 02B60060
02F5FAF0h:  02C31008 7C9209F5 0000057D 02063418
02F5FB00h:  01BA0000 016E352F 01724DA8 00004000
02F5FB10h:  00000001 01724A90 02B600C4 02B60060
02F5FB20h:  02B600C4 016E3784 00000001 0000647A
02F5FB30h:  01724AC0 016E3944 000001FA 00000002
02F5FB40h:  02B600C4 01724AC0 016E3ACC 02B600C4
02F5FB50h:  000001FA 01724A90 02C31010 02B600C4
02F5FB60h:  027F09B8 00000007 00000000 01720178
02F5FB70h:  00000000 02F5FC48 00EA0178 02F5FC48

Registers:
EAX: 016963C8, EBX: 02C60CA8, ECX: 02F5FC9C, EDX: 00000000
ESI: 00003000, EDI: 01365BAC, EBP: 02F5FA70, ESP: 02F5FA60

Unable to identify crash location!

Loaded modules:
foobar2000   loaded at 00400000h - 005CC000h
ntdll loaded at 7C910000h - 7C9C8000h
kernel32 loaded at 7C800000h - 7C903000h
COMCTL32 loaded at 773A0000h - 774A3000h
msvcrt   loaded at 77BE0000h - 77C38000h
ADVAPI32 loaded at 77DA0000h - 77E4C000h
RPCRT4   loaded at 77E50000h - 77EE3000h
Secur32   loaded at 77FC0000h - 77FD1000h
GDI32 loaded at 77EF0000h - 77F39000h
USER32   loaded at 7E390000h - 7E421000h
SHLWAPI   loaded at 77F40000h - 77FB6000h
WINMM loaded at 76B00000h - 76B2E000h
DSOUND   loaded at 73E90000h - 73EEC000h
ole32 loaded at 774B0000h - 775EE000h
VERSION   loaded at 77BD0000h - 77BD8000h
UxTheme   loaded at 5AD70000h - 5ADA8000h
SHELL32   loaded at 7E6A0000h - 7EEC2000h
zlib1 loaded at 62E80000h - 62E9F000h
shared   loaded at 10000000h - 1002D000h
imagehlp loaded at 76C50000h - 76C78000h
dbghelp   loaded at 5D4B0000h - 5D551000h
COMDLG32 loaded at 76360000h - 763AA000h
CRYPT32   loaded at 77A50000h - 77AE6000h
MSASN1   loaded at 77AF0000h - 77B02000h
gdiplus   loaded at 4EBA0000h - 4ED4B000h
WINHTTP   loaded at 4D550000h - 4D5A9000h
IMM32 loaded at 76340000h - 7635D000h
MSCTF loaded at 746B0000h - 746FC000h
msctfime loaded at 75160000h - 7518E000h
foo_freedb2   loaded at 014A0000h - 014EF000h
foo_dsp_delta loaded at 01500000h - 0151F000h
foo_fileops   loaded at 01540000h - 0158D000h
foo_rgscan   loaded at 015B0000h - 0160E000h
foo_dsp_eq   loaded at 01630000h - 01666000h
foo_input_ofr loaded at 01690000h - 016CF000h
OptimFROG loaded at 016E0000h - 0171D000h
foo_input_std loaded at 01740000h - 0189B000h
MSACM32   loaded at 77BB0000h - 77BC5000h
avcodec-fb2k-56   loaded at 669C0000h - 66B94000h
avutil-fb2k-54   loaded at 6B540000h - 6B5AC000h
foo_verifier loaded at 018C0000h - 01902000h
foo_upnp loaded at 01930000h - 01B37000h
IPHLPAPI loaded at 76D20000h - 76D39000h
WS2_32   loaded at 71A30000h - 71A47000h
WS2HELP   loaded at 71A20000h - 71A28000h
foo_cdda loaded at 01BB0000h - 01C00000h
foo_albumlist loaded at 01C20000h - 01C7A000h
foo_dsp_std   loaded at 01CA0000h - 01CD6000h
foo_input_monkey loaded at 01D00000h - 01D48000h
foo_ui_std   loaded at 01D70000h - 01E7D000h
MSIMG32   loaded at 76330000h - 76335000h
mswsock   loaded at 719D0000h - 71A10000h
hnetcfg   loaded at 66740000h - 66799000h
wshtcpip loaded at 71A10000h - 71A18000h
OLEAUT32 loaded at 770F0000h - 7717B000h
appHelp   loaded at 77B10000h - 77B32000h
CLBCATQ   loaded at 76F90000h - 7700F000h
COMRes   loaded at 77010000h - 770E0000h
cscui loaded at 779F0000h - 77A45000h
CSCDLL   loaded at 765B0000h - 765CD000h
browseui loaded at 75F30000h - 7602D000h
USERENV   loaded at 76630000h - 766E5000h
SETUPAPI loaded at 778F0000h - 779E7000h
ntshrui   loaded at 76950000h - 76976000h
ATL   loaded at 76AE0000h - 76AF1000h
NETAPI32 loaded at 597F0000h - 59846000h
MPR   loaded at 71AA0000h - 71AB2000h
drprov   loaded at 75F10000h - 75F17000h
ntlanman loaded at 71BB0000h - 71BBE000h
NETUI0   loaded at 71C70000h - 71C87000h
NETUI1   loaded at 71C30000h - 71C70000h
NETRAP   loaded at 71C20000h - 71C27000h
SAMLIB   loaded at 71B90000h - 71BA3000h
davclnt   loaded at 75F20000h - 75F2A000h
MLANG loaded at 75DD0000h - 75E61000h
shdocvw   loaded at 7E210000h - 7E383000h
CRYPTUI   loaded at 76890000h - 76914000h
WININET   loaded at 77180000h - 7722B000h
WINTRUST loaded at 76BF0000h - 76C1E000h
WLDAP32   loaded at 76F20000h - 76F4D000h

Stack dump analysis:
Address: 00505E22h (foobar2000+105E22h)
Address: 0050C52Fh (foobar2000+10C52Fh)
Address: 0050C54Ah (foobar2000+10C54Ah)
Address: 016B3B3Dh (foo_input_ofr+23B3Dh)
Address: 016EF21Fh (OptimFROG+F21Fh)
Address: 01708FE4h (OptimFROG+28FE4h)
Address: 016EF2BCh (OptimFROG+F2BCh)
Address: 7C9209F5h (ntdll+109F5h), symbol: "wcsncpy" (+41Ch)
Address: 016E352Fh (OptimFROG+352Fh)
Address: 016E3784h (OptimFROG+3784h)
Address: 016E3944h (OptimFROG+3944h)
Address: 016E3ACCh (OptimFROG+3ACCh)
Address: 016E3D2Ch (OptimFROG+3D2Ch)
Address: 016EAE75h (OptimFROG+AE75h)
Address: 016EB1D0h (OptimFROG+B1D0h)
Address: 7C91E920h (ntdll+E920h), symbol: "strchr" (+113h)
Address: 7C9201E0h (ntdll+101E0h), symbol: "RtlAllocateHeap" (+11Ch)
Address: 7C9201DBh (ntdll+101DBh), symbol: "RtlAllocateHeap" (+117h)
Address: 01707470h (OptimFROG+27470h)
Address: 016E1AA2h (OptimFROG+1AA2h)
Address: 01706CA0h (OptimFROG+26CA0h)
Address: 016E2258h (OptimFROG+2258h), symbol: "OptimFROG_read" (+18h)
Address: 016925A4h (foo_input_ofr+25A4h)
Address: 016966BAh (foo_input_ofr+66BAh)
Address: 016963C8h (foo_input_ofr+63C8h)
Address: 01695A1Ah (foo_input_ofr+5A1Ah)
Address: 019C7D23h (foo_upnp+97D23h)
Address: 01A54869h (foo_upnp+124869h)
Address: 0199A4D8h (foo_upnp+6A4D8h)
Address: 719D597Ch (mswsock+597Ch)
Address: 01A64AE8h (foo_upnp+134AE8h)
Address: 01A54519h (foo_upnp+124519h)
Address: 01997464h (foo_upnp+67464h)
Address: 01A5CC54h (foo_upnp+12CC54h)
Address: 7C8024C7h (kernel32+24C7h), symbol: "ReleaseMutex" (+10h)
Address: 01A53E50h (foo_upnp+123E50h)
Address: 01997C78h (foo_upnp+67C78h)
Address: 01A0A780h (foo_upnp+DA780h)
Address: 019F5085h (foo_upnp+C5085h)
Address: 01A58ED3h (foo_upnp+128ED3h)
Address: 019F5298h (foo_upnp+C5298h)
Address: 01A4C578h (foo_upnp+11C578h)
Address: 019F42A8h (foo_upnp+C42A8h)
Address: 7C802601h (kernel32+2601h), symbol: "WaitForSingleObjectEx" (+B1h)
Address: 01A58D1Bh (foo_upnp+128D1Bh)
Address: 019D897Ah (foo_upnp+A897Ah)
Address: 01A369DFh (foo_upnp+1069DFh)
Address: 01A31B45h (foo_upnp+101B45h)
Address: 019FAD2Ah (foo_upnp+CAD2Ah)
Address: 01A0542Fh (foo_upnp+D542Fh)
Address: 01A33E46h (foo_upnp+103E46h)
Address: 01A2D4D0h (foo_upnp+FD4D0h)
Address: 01A33ED0h (foo_upnp+103ED0h)
Address: 7C80B729h (kernel32+B729h), symbol: "GetModuleFileNameA" (+1BAh)
Address: 7C839A90h (kernel32+39A90h), symbol: "ValidateLocale" (+2B0h)
Address: 7C80B730h (kernel32+B730h), symbol: "GetModuleFileNameA" (+1C1h)
Address: 01A33E6Ch (foo_upnp+103E6Ch)
Address: 01708D6Ch (OptimFROG+28D6Ch)

Environment:
App: foobar2000 v1.3.7
UI: Default User Interface 0.9.5

Components:
Core (2015-01-14 10:28:10 UTC)
foobar2000 core 1.3.7
foo_albumlist.dll (2015-01-14 10:22:14 UTC)
Album List 4.5
foo_cdda.dll (2015-01-14 10:20:12 UTC)
CD Audio Decoder 3.0
foo_dsp_delta.dll (2015-02-19 15:01:12 UTC)
Noise Sharpening DSP 1.0.0
foo_dsp_eq.dll (2015-01-14 10:22:30 UTC)
Equalizer 1.0
foo_dsp_std.dll (2015-01-14 10:21:54 UTC)
Standard DSP Array 1.3.1
foo_fileops.dll (2015-01-14 10:21:20 UTC)
File Operations 2.2.1
foo_freedb2.dll (2015-01-14 10:21:36 UTC)
Online Tagger 0.7
foo_input_monkey.dll (2015-03-01 17:57:50 UTC)
Monkey's Audio Decoder 2.1.7
foo_input_ofr.dll (2011-02-11 09:47:20 UTC)
OptimFROG Lossless/DualStream Decoder 1.30
foo_input_std.dll (2015-01-14 10:28:10 UTC)
Standard Input Array 1.0
foo_rgscan.dll (2015-01-14 10:26:12 UTC)
ReplayGain Scanner 2.2.1
foo_ui_std.dll (2015-01-14 10:28:10 UTC)
Default User Interface 0.9.5
foo_upnp.dll (2015-03-19 13:25:00 UTC)
UPnP/DLNA Renderer, Server, Control Point 0.99.49
foo_verifier.dll (2015-01-17 20:01:30 UTC)
File Integrity Verifier 1.1.2

Recent events:
Pre component load
Loading DLL: F:\foobar2000\components\foo_freedb2.dll
Loading DLL: F:\foobar2000\user-components\foo_dsp_delta\foo_dsp_delta.dll
Loading DLL: F:\foobar2000\components\foo_fileops.dll
Loading DLL: F:\foobar2000\components\foo_rgscan.dll
Loading DLL: F:\foobar2000\components\foo_dsp_eq.dll
Loading DLL: F:\foobar2000\user-components\foo_input_ofr\foo_input_ofr.dll
Loading DLL: F:\foobar2000\components\foo_input_std.dll
Loading DLL: F:\foobar2000\user-components\foo_verifier\foo_verifier.dll
Loading DLL: F:\foobar2000\user-components\foo_upnp\foo_upnp.dll
Loading DLL: F:\foobar2000\components\foo_cdda.dll
Loading DLL: F:\foobar2000\components\foo_albumlist.dll
Loading DLL: F:\foobar2000\components\foo_dsp_std.dll
Loading DLL: F:\foobar2000\user-components\foo_input_monkey\foo_input_monkey.dll
Loading DLL: F:\foobar2000\components\foo_ui_std.dll
Components loaded in: 0:00.542612
Pre config read
Configuration read in: 0:00.049899
Starting playlist loading
Album List refreshed in: 0:00.007058
User Interface initialized in: 0:00.232818
Processing commandline
initquit::init entry
foo_upnp: succesfully loaded file F:\foobar2000\foo_upnp.xml
foo_upnp: initialized in 0.078s
initquit::init exit
Startup time : 0:01.009450
foo_upnp: created 2 path registry entries in 0.000s
foo_upnp: loaded Media Library tree in 0.031s
foo_upnp: opened 'file://H:\FLAC_MUSIC\Ambient\Raphael-Angels_Of_The_Deep\07-raphael-gnossienne_no._3_(satie).ofr' for streaming, profile: Default, WAV / 44100 Hz / 16 bits / 2 channels, replaygain: off, DSP chain: off


Machine specifications:
OS: Windows 5.1.2600 Service Pack 3 x86
CPU: AMD Phenom™ II X4 955 Processor, features: 3DNow!ex MMX SSE SSE2 SSE3
CPU threads: 4
Audio: Realtek HD Audio output
Title: foo_upnp
Post by: d_cypher on 2015-03-25 19:38:59
I'm having an issue with playing wav with .cue albums transcoded to a PS3, even flac or wavpack albums with a cue embedded as well. The files play and transcode  fine, but half a second gets cut off until the next track starts. It's weird as it's only an issue on the PS3 and works excellent on my android phone.

Has this issue happened with anyone else?

LOG:
Range: bytes=44-52743643
foo_upnp: opened 'file://F:\02 - R&B Soul\Janet Jackson - Rhythm Nation 1814.cue' for streaming, profile: Default, WAV / 44100 Hz / 16 bits / 2 channels, replaygain: off, DSP chain: off
foo_upnp: 1405.1405388: PLT_HttpHelper::ToLog(530)/3204: FINE: PLT_HttpServerSocketTask::Write
HTTP/1.1 206 Partial Content
Accept-Ranges: bytes
TransferMode.DLNA.ORG: Streaming
Content-Range: bytes 44-52743643/52743644
Date: Wed, 25 Mar 2015 19:39:35 GMT
Content-Length: 52743600
Content-Type: audio/wav
Server: UPnP/1.0 DLNADOC/1.50 Platinum/1.0.4.2-bb
foo_upnp: 1405.1405388: PLT_HttpServerSocketTask::SendResponseBody(428)/3204: FINE: sending body stream, 52743600 bytes

It looks like the Content-Range: bytes 44-52743643/52743644 is read, but sends the ps3 FINE: sending body stream, 52743600 bytes which a couple bytes are off.
Title: foo_upnp
Post by: a3aan on 2015-03-25 19:45:44
Sure, but you need to keep sending songs to that playlist right? it isnt quite as smooth as just setting an output device and forget it.

I would appreciate that too. It seems that foo_upnp supports more DMRs then foo_out_upnp.
Title: foo_upnp
Post by: HiddenUser on 2015-03-26 11:03:39
No offense, but is bubbleguuum currently supporting this plugin? He does not answer in this thread since november, 2013 (http://www.hydrogenaud.io/forums/index.php?showtopic=69664&view=findpost&p=851055) (16 months ago).

No pun intended, of course, but also I'd like to know if this thread is for solving problems among users and not for reporting bugs to the developer.

Thanks and specially to bubbleguuum for its fabulous plugin.
Title: foo_upnp
Post by: Northpack on 2015-04-01 07:39:35
I hope bubbleguuum is still reading this topic...

Since updating to 0.99.49 the UPnP controller streams all music as PCM, regardless of correctly identifying the device capababilities (MP3, FLAC etc.). With 0.99.48 streaming the supported formats worked. Now I get severe dropouts as the the Wifi signal isn't very good where the device stands and PCM just takes too much bandwith. I'd like to go back to 0.99.48 but can't find it anywhere 
Title: foo_upnp
Post by: HiddenUser on 2015-04-03 13:52:12
I hope bubbleguuum is still reading this topic...

Since updating to 0.99.49 the UPnP controller streams all music as PCM, regardless of correctly identifying the device capababilities (MP3, FLAC etc.). With 0.99.48 streaming the supported formats worked. Now I get severe dropouts as the the Wifi signal isn't very good where the device stands and PCM just takes too much bandwith. I'd like to go back to 0.99.48 but can't find it anywhere 
Are you sure? I think you can choose what formats you don't want to transcode on Server > Streaming Profiles > Decoding to PCM > Except text box. You can include the extensions which they will NOT be transcoded when streaming. For example, if you want to exclude the TAK format, type in 'tak' on that text box (comma-separated values).

On a side note, can you test if the OptimFROG codec works when the transcoding option is ON? You can download the codec here (http://www.losslessaudio.org/). If you don't have any OptimFROG file, please transcode one first. You can do that by typing the following:
Code: [Select]
ofr --encode WAV_file

This will create an OFR file on the same directory. Now install the foo_ofr_input plugin into foobar and start the test. Please tell me if you get a crash when the transcoding process begins. It's a shame this media server crashes specifically with this codec (it does not crash with FLAC, APE, MP3, WMA... but it does with OFR).

Thank you very much in advance.

PS. I think bubbleguuum has dropped out this project.
Title: foo_upnp
Post by: g725s on 2015-04-07 18:23:01
Using Foobar2000 as your DNLA server for FLAC, does it transcode to WAV?  What if any loss of audio quality is there?
Title: foo_upnp
Post by: HiddenUser on 2015-04-07 22:36:38
Using Foobar2000 as your DNLA server for FLAC, does it transcode to WAV?  What if any loss of audio quality is there?
What loss of audio quality? Don't you know that transcoding between lossless formats (WAV is lossless) do not decrease audio quality? Think it as a format change. All audio information is transferred, bit-per-bit.
Title: foo_upnp
Post by: g725s on 2015-04-07 23:33:57
Using Foobar2000 as your DNLA server for FLAC, does it transcode to WAV?  What if any loss of audio quality is there?
What loss of audio quality? Don't you know that transcoding between lossless formats (WAV is lossless) do not decrease audio quality? Think it as a format change. All audio information is transferred, bit-per-bit.


I asked if it transcodes to WAV.  So I guess your saying that Foobar2000 with this component does indeed transcode to WAV.  Not some other format where there would be loss of quality, like with Plex where their DNLA server transcodes to MP3.
Title: foo_upnp
Post by: HiddenUser on 2015-04-08 00:16:43
Quote
I asked if it transcodes to WAV.  So I guess your saying that Foobar2000 with this component does indeed transcode to WAV.
Yes, it does (by default), but you can disable it by choosing 'never' in Tools > UPnP > Server > Streaming Profiles > Decoding to PCM > Decode (always/never) to wav/lpcm .
Quote
Not some other format where there would be loss of quality, like with Plex where their DNLA server transcodes to MP3.
Also you can transcode to MP3 by using LAME (the best MP3 encoder). You can select which formats will (not) be transcoded or/and transmitted as are (in Tools > UPnP > Server > Streaming Profiles > Transcoding to MP3 > Transcode (always/never) ).

I hope this helps.

On a side note: Would you mind to test if the OptimFROG codec crashes foobar when the transcoding option is ON? (see THIS (http://www.hydrogenaud.io/forums/index.php?showtopic=69664&view=findpost&p=893452) post). Thanks a lot in advance.
Title: foo_upnp
Post by: raykovski on 2015-04-09 00:34:34
Hello!
I have a following problem: I can't play all items in upnp controller playback queue on my airDAC. The first song plays as expected, but when foobar moves to the next one it shows "stopped" status, and I have to play it manually.
Does anybody know the solution? Thanks!


In preferences for Controller uncheck enable gapless control. Worked for me.

Thank you!
Title: foo_upnp
Post by: lite104me on 2015-04-09 18:45:46
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.
Title: foo_upnp
Post by: g725s on 2015-04-13 01:34:11
I've asked (http://www.hydrogenaud.io/forums/index.php?showtopic=108905) 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/ (http://www.wegotserved.com/2011/11/01/automatically-start-applications-windows-home-server-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/ (http://web.archive.org/web/20130718172744/http://forum.wegotserved.com/index.php/tutorials/article/55-how-to-automatically-start-program-when-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?
Title: foo_upnp
Post by: g725s on 2015-04-13 05:16:06
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.
Title: foo_upnp
Post by: Wally Walters on 2015-04-24 20:41:26
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.
Title: foo_upnp
Post by: strangeluck on 2015-05-04 23:34:13
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.
Title: foo_upnp
Post by: Blackbot on 2015-05-15 14:49:51
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)?
Title: foo_upnp
Post by: belphegore on 2015-06-02 19:59:11
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?
Title: foo_upnp
Post by: Tomas Valusek on 2015-06-10 06:45:57
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.
Title: foo_upnp
Post by: Hidrojen on 2015-06-21 20:01:29
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 (http://cl.ly/image/3t3e2P2q211v)

This is my Server options: http://cl.ly/image/1b0C3o131J0z (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.
Title: foo_upnp
Post by: Hidrojen on 2015-06-21 22:30:09
Update on my last post since I can't edit it anymore: http://cl.ly/image/153V3K3o472A (http://cl.ly/image/153V3K3o472A)

I installed Universal Media Server and it just worked without doing any configuration at all.
Title: foo_upnp
Post by: suur13 on 2015-06-27 11:20:58
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.
Title: foo_upnp
Post by: Reflection on 2015-07-02 00:22:14
Anyone having luck streaming to the new PS4 media player?
Title: foo_upnp
Post by: K_R_L on 2015-07-15 14:39:17
Good day.

As for 16 bit files to get the output is 24 bits ?
Title: foo_upnp
Post by: MordredKLB on 2015-07-27 21:15:06
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.
Title: foo_upnp
Post by: stualden on 2015-08-23 11:28:51
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 (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
Title: foo_upnp
Post by: nugava on 2015-08-23 18:48:56
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.
(http://img15.hostingpics.net/pics/457566Foobar1.png)

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"
(http://img15.hostingpics.net/pics/293952Foobar2.png)
Any idea on how to fix that issue ?

Thanks.
Title: foo_upnp
Post by: nugava on 2015-08-23 21:38:41
Nevermind, I solved the issue by disabling the gapless stuff in "Preferences". Too bad gapless does not work with UPnP in foobar.
Title: foo_upnp
Post by: spindle on 2015-09-16 08:42:35
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.
Title: foo_upnp
Post by: ebugusey on 2015-09-18 11:40:15
I have some maybe minor concern. You are statically linking with GPL code. Shouldn't you release your source code or something?
Title: foo_upnp
Post by: vavan on 2015-09-28 07:53:58
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?
Title: foo_upnp
Post by: spindle on 2015-09-30 08:53:42
...

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!
Title: foo_upnp
Post by: vavan on 2015-10-01 08:29:10
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
Title: foo_upnp
Post by: vavan on 2015-10-05 11:03:33
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
Title: foo_upnp
Post by: imeszaros on 2015-10-07 15:46:42
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.
Title: foo_upnp
Post by: bubbleguuum on 2015-10-11 14:53:20
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 ?
Title: foo_upnp
Post by: imeszaros on 2015-10-11 22:54:57
File > Preferences > Tools > UPnP > Browser > Remote Internet Servers > HTTP Proxy ?



Yes, i specified there the exact same string that works for the general foobar2000 proxy that is used for streaming. Does not work unfortunately.

The format is like:

user:pass@host:port

When i try to connect it hangs for about 5 secs and tells it's unable to connect.
Title: foo_upnp
Post by: alkasar on 2015-10-25 19:46:06
@bubbleguuum
Any chance for foo_unp to support streaming to Chromecast audio ?
Title: foo_upnp
Post by: bubbleguuum on 2015-10-27 13:15:25
@bubbleguuum
Any chance for foo_unp to support streaming to Chromecast audio ?


No. This plugin is not actively developed and there's no Chromecast SDK for desktop programs (only Android, iOS and Chrome)
Title: foo_upnp
Post by: alkasar on 2015-10-27 16:30:34
@bubbleguuum
Any chance for foo_unp to support streaming to Chromecast audio ?
No. This plugin is not actively developed and there's no Chromecast SDK for desktop programs (only Android, iOS and Chrome)
Merci

Google trying to build their own -locked- ecosystem
Title: foo_upnp
Post by: voldemarz on 2015-12-05 20:10:42
Since this plugin is not being developed, any chance it will be open sourced?

My Sony STR-DN860 receiver is not being detected. Here's the log (https://www.dropbox.com/s/qdarcynh45jnfrf/foo_upnp.log?dl=0). The receiver name is AVREC, IP 192.168.1.76.
Is it something solvable?

From what I can gather, the relevant lines in the log are:
Code: [Select]
19.19769: PLT_CtrlPoint::InspectDevice(1269)/11484: INFO: Inspecting device "88ad8cb4-96f7-2a1d-0ac5-994816b4caa8" detected @ http://192.168.1.76:8008/ssdp/device-desc.xml
20.20275: PLT_CtrlPoint::ProcessGetDescriptionResponse(1394)/1600: INFO: Device "88ad8cb4-96f7-2a1d-0ac5-994816b4caa8" is now known as "AVREC"
20.20516: PLT_CtrlPoint::ProcessGetSCPDResponse(1476)/10448: SEVERE: Bad SCPD response for device "AVREC":
20.20516: PLT_CtrlPoint::CleanupDevice(1158)/10448: INFO: Removing 88ad8cb4-96f7-2a1d-0ac5-994816b4caa8 from device list

20.20625: PLT_CtrlPoint::InspectDevice(1269)/11484: INFO: Inspecting device "00000000-0000-1010-8000-ac9b0a4f745d" detected @ http://192.168.1.76:52323/dmr.xml
21.21139: PLT_CtrlPoint::ProcessGetDescriptionResponse(1394)/12084: INFO: Device "00000000-0000-1010-8000-ac9b0a4f745d" is now known as "AVREC"
21.21471: PLT_CtrlPoint::InspectDevice(1269)/11484: INFO: Inspecting device "00000003-0000-1010-8000-ac9b0a4f745d" detected @ http://192.168.1.76:50001/Ircc.xml
21.21769: PLT_CtrlPoint::InspectDevice(1269)/11484: INFO: Inspecting device "88ad8cb4-96f7-2a1d-0ac5-994816b4caa8" detected @ http://192.168.1.76:8008/ssdp/device-desc.xml
22.22274: PLT_CtrlPoint::ProcessGetDescriptionResponse(1394)/3708: INFO: Device "88ad8cb4-96f7-2a1d-0ac5-994816b4caa8" is now known as "AVREC"
22.22519: PLT_CtrlPoint::ProcessGetSCPDResponse(1476)/10760: SEVERE: Bad SCPD response for device "AVREC":
22.22519: PLT_CtrlPoint::CleanupDevice(1158)/10760: INFO: Removing 88ad8cb4-96f7-2a1d-0ac5-994816b4caa8 from device list
Title: foo_upnp
Post by: voldemarz on 2015-12-07 21:51:49
If anyone else is having similar issue, take look at BubbleUPnP Server (http://www.bubblesoftapps.com/bubbleupnpserver/#openhome_configuration). I installed it on my Synology NAS and now I can use Foobar2000 and Kazoo to control receiver playback.
Here's my related post (http://forums.linn.co.uk/bb/showthread.php?tid=32013&pid=377914#pid377914) on Linn forums regarding Kazoo player issue.
Title: foo_upnp
Post by: refried on 2015-12-16 09:05:13
This is such a great plugin. But, I wish you would add a way to stream to a icecast or shoutcast server (like the DSP plugin through winamp, etc), then it would be the ultimate tool for foobar.

Title: foo_upnp
Post by: atek120 on 2015-12-21 09:33:51
Hello!
I have a following problem: I can't play all items in upnp controller playback queue on my airDAC. The first song plays as expected, but when foobar moves to the next one it shows "stopped" status, and I have to play it manually.
Does anybody know the solution? Thanks!


I have the same problem with foobar2000 v1.3.2 and YAMAHA HTR-4068 AV receiver.
Disabling Tools->UPnP->Controller gapless control doesn't solve it just makes it occuring less.
No log entries at INFO level.
Title: foo_upnp
Post by: atek120 on 2015-12-21 11:31:45
Hello!
I have a following problem: I can't play all items in upnp controller playback queue on my airDAC. The first song plays as expected, but when foobar moves to the next one it shows "stopped" status, and I have to play it manually.
Does anybody know the solution? Thanks!


I have the same problem with foobar2000 v1.3.2 and YAMAHA HTR-4068 AV receiver.
Disabling Tools->UPnP->Controller gapless control doesn't solve it just makes it occuring less.
No log entries at INFO level.


I'm sorry I've just realized log is updated only after exiting foobar2000.
I will attach a log as soon as I will experience the problem again.
Title: foo_upnp
Post by: atek120 on 2015-12-21 12:26:16
Hi bubbleguuum,

I found a problem that occurs when playing a specific mp3 album.
I import the songs to the UPnP Controller Playback Queue and when I press the 'skip to next' button it stops playing.
I attached two files from this album and also the foo_upnp.log contents.

two files (http://infinit.io/_/CQbcRUw)

Code: [Select]
0.000: foo_upnp::on_init(199)/4288: INFO: foo_upnp: version 0.99.49
0.016: PLT_UPnP::Start(150)/4288: INFO: Starting UPnP...
0.016: standard_media_tree_root_node_t::load_ml_filters(590)/4288: INFO: loaded Media Library filters from D:\Users\feki\Programs\foobar2000\foo_upnp_ml_tree.xml
0.063: PLT_UPnP::AddDevice(224)/4288: INFO: Starting Device...
0.078: PLT_HttpServer::Start(127)/4288: INFO: HttpServer listening on 0.0.0.0:56923
initialized in 0.094s
0.515: FbMediaServer::CheckAuthentication(401)/3156: INFO: received LAN request: http://192.168.100.107:56923/DeviceDescription.xml (User-Agent: None)
0.905: FbMediaServer::CheckAuthentication(401)/2828: INFO: received LAN request: http://192.168.100.107:56923/DeviceDescription.xml (User-Agent: Network_Module/1.0 (HTR-4068))
1.1139: FbMediaServer::CheckAuthentication(401)/4976: INFO: received LAN request: http://192.168.100.107:56923/DeviceDescription.xml (User-Agent: Linux/3.0.13 UPnP/1.0 LGE_DLNA_SDK/1.6.0 [TV][LG]55UB830V-ZG/04.11.22 DLNADOC/1.50)
1.1422: FbMediaServer::OnAction(295)/4012: INFO: received action 'GetSortCapabilities', args = {  }
1.1422: FbMediaServer::OnAction(323)/4012: INFO: action 'GetSortCapabilities' response: args = { SortCaps= }
1.1425: FbMediaServer::CheckAuthentication(401)/4116: INFO: received LAN request: http://192.168.100.107:56923/ContentDirectory/baf06952-b3c7-e51f-7bb8-97cfbb577b24/scpd.xml (User-Agent: Linux/3.0.13 UPnP/1.0 LGE_DLNA_SDK/1.6.0 [TV][LG]55UB830V-ZG/04.11.22 DLNADOC/1.50)
1.1488: FbMediaServer::CheckAuthentication(401)/3296: INFO: received LAN request: http://192.168.100.107:56923/DeviceDescription.xml (User-Agent: Microsoft-Windows/6.1 UPnP/1.0 Windows-Media-Player-DMS/12.0.7601.17514 DLNADOC/1.50)
1.1722: FbMediaServer::CheckAuthentication(401)/3080: INFO: received LAN request: http://192.168.100.107:56923/ConnectionManager/baf06952-b3c7-e51f-7bb8-97cfbb577b24/scpd.xml (User-Agent: Linux/3.0.13 UPnP/1.0 LGE_DLNA_SDK/1.6.0 [TV][LG]55UB830V-ZG/04.11.22 DLNADOC/1.50)
1.1831: FbMediaServer::CheckAuthentication(401)/4108: INFO: received LAN request: http://192.168.100.107:56923/X_MS_MediaReceiverRegistrar/baf06952-b3c7-e51f-7bb8-97cfbb577b24/scpd.xml (User-Agent: Linux/3.0.13 UPnP/1.0 LGE_DLNA_SDK/1.6.0 [TV][LG]55UB830V-ZG/04.11.22 DLNADOC/1.50)
1.1925: FbMediaServer::CheckAuthentication(401)/720: INFO: received LAN request: http://192.168.100.107:56923/Control/baf06952-b3c7-e51f-7bb8-97cfbb577b24/scpd.xml (User-Agent: Linux/3.0.13 UPnP/1.0 LGE_DLNA_SDK/1.6.0 [TV][LG]55UB830V-ZG/04.11.22 DLNADOC/1.50)
2.2221: FbMediaServer::OnAction(295)/1308: INFO: received action 'GetSystemUpdateID', args = {  }
2.2221: FbMediaServer::OnAction(323)/1308: INFO: action 'GetSystemUpdateID' response: args = { Id=0 }
created 39241 path registry entries in 3.952s
4.4093: FbMediaServer::CheckAuthentication(401)/1412: INFO: received LAN request: http://192.168.100.107:56923/DeviceDescription.xml (User-Agent: Microsoft-Windows/6.1 UPnP/1.0 Windows-Media-Player-DMS/12.0.7601.17514 DLNADOC/1.50)
4.4265: FbMediaServer::OnAction(295)/3836: INFO: received action 'GetSearchCapabilities', args = {  }
4.4265: FbMediaServer::OnAction(323)/3836: INFO: action 'GetSearchCapabilities' response: args = { SearchCaps=upnp:class,dc:title,upnp:artist }
4.4296: FbMediaServer::OnAction(295)/152: INFO: received action 'Browse', args = { ObjectID=0, BrowseFlag=BrowseDirectChildren, Filter=res@resolution,res@nrAudioChannels,res@sampleFrequency,res@bitrate,dc:creator,res@dlna:cleartextSize,dc:date,upnp:genre,res,res@duration,res@size,upnp:albumArtURI,upnp:originalTrackNumber,upnp:album,upnp:artist,upnp:author, StartingIndex=0, RequestedCount=100, SortCriteria= }
4.4296: FbMediaServer::on_browse_direct_children(1409)/152: INFO: Server not ready
4.4296: FbMediaServer::OnAction(323)/152: INFO: action 'Browse' response: args = { ObjectID=0, BrowseFlag=BrowseDirectChildren, Filter=res@resolution,res@nrAudioChannels,res@sampleFrequency,res@bitrate,dc:creator,res@dlna:cleartextSize,dc:date,upnp:genre,res,res@duration,res@size,upnp:albumArtURI,upnp:originalTrackNumber,upnp:album,upnp:artist,upnp:author, StartingIndex=0, RequestedCount=100, SortCriteria= }
4.4296: PLT_DeviceHost::ProcessHttpPostRequest(599)/152: WARNING: Error while processing action Browse: 503 Service Unavailable
loaded Media Library tree in 34.276s
40.40472: controller_window::set_track_info_string(1112)/4288: INFO: track info display:
40.40472: PLT_UPnP::AddCtrlPoint(266)/4288: INFO: Starting Ctrlpoint...
40.40476: PLT_HttpServer::Start(127)/4288: INFO: HttpServer listening on 0.0.0.0:1854
40.40487: PLT_CtrlPoint::InspectDevice(1269)/1808: INFO: Inspecting device "6B8B4567-23C6-9869-E4F5-0418D6AE6D0A" detected @ http://192.168.100.254:54969/rootDesc.xml
40.40579: PLT_CtrlPoint::InspectDevice(1269)/1808: INFO: Inspecting device "9ab0c000-f668-11de-9976-00a0ded0160f" detected @ http://192.168.100.115:49154/MediaRenderer/desc.xml
41.41014: PLT_CtrlPoint::ProcessGetDescriptionResponse(1394)/4412: INFO: Device "6B8B4567-23C6-9869-E4F5-0418D6AE6D0A" is now known as "OpenWRT router"
41.41117: PLT_CtrlPoint::ProcessGetDescriptionResponse(1394)/4988: INFO: Device "9ab0c000-f668-11de-9976-00a0ded0160f" is now known as "HTR-4068 D0160F"
41.41314: LinnDsRendererController::Create(117)/4288: INFO: couldn't find urn:av-openhome-org:service:Product:1 service
41.41314: RendererController::Create(25)/4288: INFO: Created UPnPAv Controller for device: HTR-4068 D0160F
41.41497: PLT_CtrlPoint::InspectDevice(1269)/1808: INFO: Inspecting device "b7e01e12-db36-115d-bf85-b35b0c58135c" detected @ http://192.168.100.110:1647/
41.41557: PLT_CtrlPoint::InspectDevice(1269)/2980: INFO: Inspecting device "060b7353-fca6-4070-85f4-1fbfb9add62c" detected @ http://192.168.0.1:1900/igd.xml
41.41706: PLT_CtrlPoint::InspectDevice(1269)/1808: INFO: Inspecting device "3662dceb-a4f7-3ad5-8d03-104520c4fe90" detected @ http://192.168.100.148:8895/deviceDescription/3662dceb-a4f7-3ad5-8d03-104520c4fe90
42.42018: PLT_CtrlPoint::ProcessGetDescriptionResponse(1394)/3048: INFO: Device "b7e01e12-db36-115d-bf85-b35b0c58135c" is now known as "[TV][LG]55UB830V-ZG"
42.42186: LinnDsRendererController::Create(117)/4288: INFO: couldn't find urn:av-openhome-org:service:Product:1 service
42.42187: RendererController::Create(25)/4288: INFO: Created UPnPAv Controller for device: [TV][LG]55UB830V-ZG
42.42229: PLT_CtrlPoint::ProcessGetDescriptionResponse(1394)/4208: INFO: Device "3662dceb-a4f7-3ad5-8d03-104520c4fe90" is now known as "Serviio (FEKIDESKTOP)"
42.42375: LinnDsRendererController::Create(117)/4288: INFO: couldn't find urn:av-openhome-org:service:Product:1 service
43.43879: controller_window::set_track_info_string(1112)/4288: INFO: track info display: Stopped
43.43880: PLT_CtrlPoint::Subscribe(1562)/4288: INFO: Subscribing to service "urn:upnp-org:serviceId:RenderingControl" of device "HTR-4068 D0160F"
43.43886: PLT_CtrlPoint::ProcessSubscribeResponse(1666)/4308: INFO: Creating new subscriber "uuid:9ab0c000-f668-11de-9976-6412572b7c8e" for service "urn:upnp-org:serviceId:RenderingControl" of device "HTR-4068 D0160F" (timeout = 300)
43.43892: UPnPAVRendererController::OnEventNotifyCallback(413)/4288: INFO: <<<< HTR-4068 D0160F: EVENT Mute=0
43.43892: UPnPAVRendererController::OnEventNotifyCallback(413)/4288: INFO: <<<< HTR-4068 D0160F: EVENT Volume=72
43.43894: UPnPAVRendererController::OnEventNotifyCallback(413)/4288: INFO: <<<< HTR-4068 D0160F: EVENT PresetNameList=FactoryDefaults
43.43928: UPnPAVRendererController::set_transport_state(232)/4288: INFO: No local playing item
43.43929: controller_window::set_track_info_string(1112)/4288: INFO: track info display: Stopped
47.47485: RendererController::GetNearestResource(188)/4288: INFO: matching resource url to target ip 192.168.100.115: http://192.168.100.107:56923/content/7c1ceae8ca251af97272bd4a3e23c8e4.mp3
47.47542: RendererController::GetNearestResource(188)/4288: INFO: matching resource url to target ip 192.168.100.115: http://192.168.100.107:56923/content/6a8b310c4eb22e0b913d89985b69f5d0.mp3
47.47552: FbMediaServer::CheckAuthentication(401)/3204: INFO: received LAN request: http://192.168.100.107:56923/content/7c1ceae8ca251af97272bd4a3e23c8e4.mp3 (User-Agent: Network_Module/1.0 (HTR-4068))
47.47553: PLT_HttpHelper::ToLog(432)/3204: INFO: FbMediaServer::ProcessFileRequest
GET /content/7c1ceae8ca251af97272bd4a3e23c8e4.mp3 HTTP/1.1
Host: 192.168.100.107:56923
User-Agent: Network_Module/1.0 (HTR-4068)
Accept: */*
transferMode.dlna.org: Streaming
Content-Length: 0

opened 'file://\\fekidesktop\d$\.backup musiccd\musiccd061\QUEEN04\TRACK10.MP3' for streaming
48.48186: controller_window::set_track_info_string(1112)/4288: INFO: track info display:
48.48260: controller_window::set_track_info_string(1112)/4288: INFO: track info display: Queen - Good Company | MP3 | 112 kbps | 44100 Hz
49.49340: controller_window::set_track_info_string(1112)/4288: INFO: track info display: Queen - Good Company | MP3 | 112 kbps | 44100 Hz
50.50394: controller_window::set_track_info_string(1112)/4288: INFO: track info display: Queen - Good Company | MP3 | 112 kbps | 44100 Hz
51.51446: controller_window::set_track_info_string(1112)/4288: INFO: track info display: Queen - Good Company | MP3 | 112 kbps | 44100 Hz
52.52493: controller_window::set_track_info_string(1112)/4288: INFO: track info display: Queen - Good Company | MP3 | 112 kbps | 44100 Hz
53.53543: controller_window::set_track_info_string(1112)/4288: INFO: track info display: Queen - Good Company | MP3 | 112 kbps | 44100 Hz
54.54595: controller_window::set_track_info_string(1112)/4288: INFO: track info display: Queen - Good Company | MP3 | 112 kbps | 44100 Hz
55.55645: controller_window::set_track_info_string(1112)/4288: INFO: track info display: Queen - Good Company | MP3 | 112 kbps | 44100 Hz
56.56695: controller_window::set_track_info_string(1112)/4288: INFO: track info display: Queen - Good Company | MP3 | 112 kbps | 44100 Hz
57.57745: controller_window::set_track_info_string(1112)/4288: INFO: track info display: Queen - Good Company | MP3 | 112 kbps | 44100 Hz
58.58794: controller_window::set_track_info_string(1112)/4288: INFO: track info display: Queen - Good Company | MP3 | 112 kbps | 44100 Hz
59.59846: controller_window::set_track_info_string(1112)/4288: INFO: track info display: Queen - Good Company | MP3 | 112 kbps | 44100 Hz
60.60894: controller_window::set_track_info_string(1112)/4288: INFO: track info display: Queen - Good Company | MP3 | 112 kbps | 44100 Hz
61.61807: UPnPAVRendererController::set_transport_state(232)/4288: INFO: No local playing item
61.61809: controller_window::set_track_info_string(1112)/4288: INFO: track info display: Stopped
63.63058: NPT_HttpClient::SendRequestOnce(1739)/4356: WARNING: NPT_CHECK failed, result=-20014 (NPT_ERROR_TIMEOUT) [(m_Connector->Connect(request.GetUrl(), *this, use_proxy?&proxy:0, http_1_1, connection))]
63.63059: PLT_CtrlPoint::ProcessGetDescriptionResponse(1373)/4356: FATAL: NPT_CHECK failed, result=-20014 (NPT_ERROR_TIMEOUT) [(res)]
63.63059: PLT_CtrlPoint::ProcessGetDescriptionResponse(1414)/4356: SEVERE: Bad Description response @ http://192.168.0.1:1900/igd.xml:
83.83555: PLT_CtrlPoint::InspectDevice(1269)/2980: INFO: Inspecting device "060b7353-fca6-4070-85f4-1fbfb9add62c" detected @ http://192.168.0.1:1900/igd.xml
88.88550: PLT_CtrlPoint::Subscribe(1588)/4288: INFO: Unsubscribing subscriber "uuid:9ab0c000-f668-11de-9976-6412572b7c8e" for service "urn:upnp-org:serviceId:RenderingControl" of device "HTR-4068 D0160F"
88.88555: NPT_HttpClient::SendRequestOnce(1739)/2248: WARNING: NPT_CHECK failed, result=-20021 (NPT_ERROR_CANCELLED) [(m_Connector->Connect(request.GetUrl(), *this, use_proxy?&proxy:0, http_1_1, connection))]
88.88555: PLT_CtrlPoint::ProcessGetDescriptionResponse(1373)/2248: FATAL: NPT_CHECK failed, result=-20021 (NPT_ERROR_CANCELLED) [(res)]
88.88555: PLT_CtrlPoint::ProcessGetDescriptionResponse(1414)/2248: SEVERE: Bad Description response @ http://192.168.0.1:1900/igd.xml:
88.88704: PLT_HttpListenTask::DoRun(491)/2776: WARNING: PLT_HttpListenTask exiting with -20021 (NPT_ERROR_CANCELLED)
88.88707: PLT_UPnP::Stop(191)/4288: INFO: Stopping UPnP...
88.88757: PLT_HttpListenTask::DoRun(491)/4612: WARNING: PLT_HttpListenTask exiting with -20021 (NPT_ERROR_CANCELLED)
88.88771: PLT_HttpServerSocketTask::Read(195)/2980: WARNING: NPT_CHECK failed, result=-20021 (NPT_ERROR_CANCELLED) [(res)]
Title: foo_upnp
Post by: atek120 on 2015-12-21 15:26:46
Hello!
I have a following problem: I can't play all items in upnp controller playback queue on my airDAC. The first song plays as expected, but when foobar moves to the next one it shows "stopped" status, and I have to play it manually.
Does anybody know the solution? Thanks!

I have the same problem with foobar2000 v1.3.2 and YAMAHA HTR-4068 AV receiver.
Disabling Tools->UPnP->Controller gapless control doesn't solve it just makes it occuring less.
No log entries at INFO level.

I'm sorry I've just realized log is updated only after exiting foobar2000.
I will attach a log as soon as I will experience the problem again.

Log:
Code: [Select]
11682.11682175: RendererController::GetNearestResource(188)/4472: INFO: matching resource url to target ip 192.168.100.115: [url=http://192.168.100.107:56923/content/f9daec0a75d8f02fad1377deb367e4db.mp3]http://192.168.100.107:56923/content/f9dae...7deb367e4db.mp3[/url]
11682.11682237: RendererController::GetNearestResource(188)/4472: INFO: matching resource url to target ip 192.168.100.115: [url=http://192.168.100.107:56923/content/065c3fa37cd66d8ad7e37cc2f7619d90.mp3]http://192.168.100.107:56923/content/065c3...cc2f7619d90.mp3[/url]
11682.11682581: FbMediaServer::CheckAuthentication(401)/4480: INFO: received LAN request: [url=http://192.168.100.107:56923/content/f9daec0a75d8f02fad1377deb367e4db.mp3]http://192.168.100.107:56923/content/f9dae...7deb367e4db.mp3[/url] (User-Agent: Network_Module/1.0 (HTR-4068))
11682.11682581: PLT_HttpHelper::ToLog(432)/4480: INFO: FbMediaServer::ProcessFileRequest
GET /content/f9daec0a75d8f02fad1377deb367e4db.mp3 HTTP/1.1
Host: 192.168.100.107:56923
User-Agent: Network_Module/1.0 (HTR-4068)
Accept: */*
transferMode.dlna.org: Streaming
Content-Length: 0

opened 'file://\\fekidesktop\d$\music\12 - Chosen Lords (2006)\04. AFX - Crying in Your Face.mp3' for streaming
11682.11682643: UPnPAVRendererController::OnEventNotifyCallback(413)/4472: INFO: <<<< HTR-4068 D0160F: EVENT Mute=0
11682.11682643: UPnPAVRendererController::OnEventNotifyCallback(413)/4472: INFO: <<<< HTR-4068 D0160F: EVENT Volume=39
11682.11682643: UPnPAVRendererController::OnEventNotifyCallback(413)/4472: INFO: <<<< HTR-4068 D0160F: EVENT PresetNameList=FactoryDefaults
11686.11686044: FbMediaServer::CheckAuthentication(401)/2644: INFO: received LAN request: [url=http://192.168.100.107:56923/DeviceDescription.xml]http://192.168.100.107:56923/DeviceDescription.xml[/url] (User-Agent: Network_Module/1.0 (HTR-4068))
11686.11686169: FbMediaServer::OnAction(295)/3884: INFO: received action 'GetSortCapabilities', args = {  }
11686.11686169: FbMediaServer::OnAction(323)/3884: INFO: action 'GetSortCapabilities' response: args = { SortCaps= }
11691.11691832: controller_window::set_track_info_string(1112)/4472: INFO: track info display: Volume 40
11692.11692019: controller_window::set_track_info_string(1112)/4472: INFO: track info display: Volume 41
11692.11692409: controller_window::set_track_info_string(1112)/4472: INFO: track info display: Volume 42
11692.11692612: controller_window::set_track_info_string(1112)/4472: INFO: track info display: Volume 43
11692.11692658: controller_window::set_track_info_string(1112)/4472: INFO: track info display: Volume 44
11692.11692736: controller_window::set_track_info_string(1112)/4472: INFO: track info display: Volume 45
11692.11692830: controller_window::set_track_info_string(1112)/4472: INFO: track info display: Volume 46
11692.11692877: controller_window::set_track_info_string(1112)/4472: INFO: track info display: Volume 47
11692.11692939: controller_window::set_track_info_string(1112)/4472: INFO: track info display: Volume 48
11693.11693095: PLT_CtrlPoint::InspectDevice(1269)/2772: INFO: Inspecting device "060b7353-fca6-4070-85f4-1fbfb9add62c" detected @ [url=http://192.168.0.1:1900/igd.xml]http://192.168.0.1:1900/igd.xml[/url]
11693.11693095: controller_window::set_track_info_string(1112)/4472: INFO: track info display: Volume 48
11693.11693142: UPnPAVRendererController::OnEventNotifyCallback(413)/4472: INFO: <<<< HTR-4068 D0160F: EVENT Mute=0
11693.11693142: UPnPAVRendererController::OnEventNotifyCallback(413)/4472: INFO: <<<< HTR-4068 D0160F: EVENT Volume=48
11693.11693142: UPnPAVRendererController::OnEventNotifyCallback(413)/4472: INFO: <<<< HTR-4068 D0160F: EVENT PresetNameList=FactoryDefaults
11694.11694062: controller_window::set_track_info_string(1112)/4472: INFO: track info display: Volume 49
11694.11694109: controller_window::set_track_info_string(1112)/4472: INFO: track info display: Volume 50
11694.11694109: controller_window::set_track_info_string(1112)/4472: INFO: track info display: Volume 51
11694.11694250: controller_window::set_track_info_string(1112)/4472: INFO: track info display: Volume 52
11694.11694452: controller_window::set_track_info_string(1112)/4472: INFO: track info display: Volume 52
11694.11694499: UPnPAVRendererController::OnEventNotifyCallback(413)/4472: INFO: <<<< HTR-4068 D0160F: EVENT Mute=0
11694.11694515: UPnPAVRendererController::OnEventNotifyCallback(413)/4472: INFO: <<<< HTR-4068 D0160F: EVENT Volume=52
11694.11694515: UPnPAVRendererController::OnEventNotifyCallback(413)/4472: INFO: <<<< HTR-4068 D0160F: EVENT PresetNameList=FactoryDefaults
11695.11695966: controller_window::set_track_info_string(1112)/5076: INFO: track info display:
11714.11714654: NPT_HttpClient::SendRequestOnce(1739)/2364: WARNING: NPT_CHECK failed, result=-20014 (NPT_ERROR_TIMEOUT) [(m_Connector->Connect(request.GetUrl(), *this, use_proxy?&proxy:0, http_1_1, connection))]
11714.11714654: PLT_CtrlPoint::ProcessGetDescriptionResponse(1373)/2364: FATAL: NPT_CHECK failed, result=-20014 (NPT_ERROR_TIMEOUT) [(res)]
11714.11714654: PLT_CtrlPoint::ProcessGetDescriptionResponse(1414)/2364: SEVERE: Bad Description response @ [url=http://192.168.0.1:1900/igd.xml:]http://192.168.0.1:1900/igd.xml:[/url]
11735.11735102: PLT_CtrlPoint::InspectDevice(1269)/2772: INFO: Inspecting device "060b7353-fca6-4070-85f4-1fbfb9add62c" detected @ [url=http://192.168.0.1:1900/igd.xml]http://192.168.0.1:1900/igd.xml[/url]
11756.11756661: NPT_HttpClient::SendRequestOnce(1739)/4496: WARNING: NPT_CHECK failed, result=-20014 (NPT_ERROR_TIMEOUT) [(m_Connector->Connect(request.GetUrl(), *this, use_proxy?&proxy:0, http_1_1, connection))]
11756.11756661: PLT_CtrlPoint::ProcessGetDescriptionResponse(1373)/4496: FATAL: NPT_CHECK failed, result=-20014 (NPT_ERROR_TIMEOUT) [(res)]
11756.11756661: PLT_CtrlPoint::ProcessGetDescriptionResponse(1414)/4496: SEVERE: Bad Description response @ [url=http://192.168.0.1:1900/igd.xml:]http://192.168.0.1:1900/igd.xml:[/url]
11777.11777097: PLT_CtrlPoint::InspectDevice(1269)/2772: INFO: Inspecting device "060b7353-fca6-4070-85f4-1fbfb9add62c" detected @ [url=http://192.168.0.1:1900/igd.xml]http://192.168.0.1:1900/igd.xml[/url]
11798.11798657: NPT_HttpClient::SendRequestOnce(1739)/2788: WARNING: NPT_CHECK failed, result=-20014 (NPT_ERROR_TIMEOUT) [(m_Connector->Connect(request.GetUrl(), *this, use_proxy?&proxy:0, http_1_1, connection))]
11798.11798657: PLT_CtrlPoint::ProcessGetDescriptionResponse(1373)/2788: FATAL: NPT_CHECK failed, result=-20014 (NPT_ERROR_TIMEOUT) [(res)]
11798.11798657: PLT_CtrlPoint::ProcessGetDescriptionResponse(1414)/2788: SEVERE: Bad Description response @ [url=http://192.168.0.1:1900/igd.xml:]http://192.168.0.1:1900/igd.xml:[/url]
11819.11819093: PLT_CtrlPoint::InspectDevice(1269)/2772: INFO: Inspecting device "060b7353-fca6-4070-85f4-1fbfb9add62c" detected @ [url=http://192.168.0.1:1900/igd.xml]http://192.168.0.1:1900/igd.xml[/url]
11840.11840636: NPT_HttpClient::SendRequestOnce(1739)/1052: WARNING: NPT_CHECK failed, result=-20014 (NPT_ERROR_TIMEOUT) [(m_Connector->Connect(request.GetUrl(), *this, use_proxy?&proxy:0, http_1_1, connection))]
11840.11840636: PLT_CtrlPoint::ProcessGetDescriptionResponse(1373)/1052: FATAL: NPT_CHECK failed, result=-20014 (NPT_ERROR_TIMEOUT) [(res)]
11840.11840636: PLT_CtrlPoint::ProcessGetDescriptionResponse(1414)/1052: SEVERE: Bad Description response @ [url=http://192.168.0.1:1900/igd.xml:]http://192.168.0.1:1900/igd.xml:[/url]
11861.11861103: PLT_CtrlPoint::InspectDevice(1269)/2772: INFO: Inspecting device "060b7353-fca6-4070-85f4-1fbfb9add62c" detected @ [url=http://192.168.0.1:1900/igd.xml]http://192.168.0.1:1900/igd.xml[/url]
11874.11874395: FbMediaServer::CheckAuthentication(401)/4872: INFO: received LAN request: [url=http://192.168.100.107:56923/DeviceDescription.xml]http://192.168.100.107:56923/DeviceDescription.xml[/url] (User-Agent: Microsoft-Windows/6.1 UPnP/1.0 Windows-Media-Player-DMS/12.0.7601.17514 DLNADOC/1.50)
11876.11876142: PLT_CtrlPoint::ProcessSubscribeResponse(1666)/3940: INFO: Updating timeout for subscriber "uuid:9ab0c000-f668-11de-9976-6412572b7ca1" for service "urn:upnp-org:serviceId:RenderingControl" of device "HTR-4068 D0160F" (timeout = 300)
11882.11882663: NPT_HttpClient::SendRequestOnce(1739)/3968: WARNING: NPT_CHECK failed, result=-20014 (NPT_ERROR_TIMEOUT) [(m_Connector->Connect(request.GetUrl(), *this, use_proxy?&proxy:0, http_1_1, connection))]
11882.11882663: PLT_CtrlPoint::ProcessGetDescriptionResponse(1373)/3968: FATAL: NPT_CHECK failed, result=-20014 (NPT_ERROR_TIMEOUT) [(res)]
11882.11882663: PLT_CtrlPoint::ProcessGetDescriptionResponse(1414)/3968: SEVERE: Bad Description response @ [url=http://192.168.0.1:1900/igd.xml:]http://192.168.0.1:1900/igd.xml:[/url]
11903.11903099: PLT_CtrlPoint::InspectDevice(1269)/2772: INFO: Inspecting device "060b7353-fca6-4070-85f4-1fbfb9add62c" detected @ [url=http://192.168.0.1:1900/igd.xml]http://192.168.0.1:1900/igd.xml[/url]
11924.11924674: NPT_HttpClient::SendRequestOnce(1739)/4284: WARNING: NPT_CHECK failed, result=-20014 (NPT_ERROR_TIMEOUT) [(m_Connector->Connect(request.GetUrl(), *this, use_proxy?&proxy:0, http_1_1, connection))]
11924.11924674: PLT_CtrlPoint::ProcessGetDescriptionResponse(1373)/4284: FATAL: NPT_CHECK failed, result=-20014 (NPT_ERROR_TIMEOUT) [(res)]
11924.11924674: PLT_CtrlPoint::ProcessGetDescriptionResponse(1414)/4284: SEVERE: Bad Description response @ [url=http://192.168.0.1:1900/igd.xml:]http://192.168.0.1:1900/igd.xml:[/url]
11945.11945094: PLT_CtrlPoint::InspectDevice(1269)/2772: INFO: Inspecting device "060b7353-fca6-4070-85f4-1fbfb9add62c" detected @ [url=http://192.168.0.1:1900/igd.xml]http://192.168.0.1:1900/igd.xml[/url]
11966.11966669: NPT_HttpClient::SendRequestOnce(1739)/2860: WARNING: NPT_CHECK failed, result=-20014 (NPT_ERROR_TIMEOUT) [(m_Connector->Connect(request.GetUrl(), *this, use_proxy?&proxy:0, http_1_1, connection))]
11966.11966669: PLT_CtrlPoint::ProcessGetDescriptionResponse(1373)/2860: FATAL: NPT_CHECK failed, result=-20014 (NPT_ERROR_TIMEOUT) [(res)]
11966.11966669: PLT_CtrlPoint::ProcessGetDescriptionResponse(1414)/2860: SEVERE: Bad Description response @ [url=http://192.168.0.1:1900/igd.xml:]http://192.168.0.1:1900/igd.xml:[/url]
11987.11987089: PLT_CtrlPoint::InspectDevice(1269)/2772: INFO: Inspecting device "060b7353-fca6-4070-85f4-1fbfb9add62c" detected @ [url=http://192.168.0.1:1900/igd.xml]http://192.168.0.1:1900/igd.xml[/url]
11994.11994156: PLT_CtrlPoint::ProcessSsdpNotify(1039)/2772: SEVERE: @@@ NULL pointer parameter
12008.12008664: NPT_HttpClient::SendRequestOnce(1739)/2844: WARNING: NPT_CHECK failed, result=-20014 (NPT_ERROR_TIMEOUT) [(m_Connector->Connect(request.GetUrl(), *this, use_proxy?&proxy:0, http_1_1, connection))]
12008.12008664: PLT_CtrlPoint::ProcessGetDescriptionResponse(1373)/2844: FATAL: NPT_CHECK failed, result=-20014 (NPT_ERROR_TIMEOUT) [(res)]
12008.12008664: PLT_CtrlPoint::ProcessGetDescriptionResponse(1414)/2844: SEVERE: Bad Description response @ [url=http://192.168.0.1:1900/igd.xml:]http://192.168.0.1:1900/igd.xml:[/url]
12029.12029100: PLT_CtrlPoint::InspectDevice(1269)/2772: INFO: Inspecting device "060b7353-fca6-4070-85f4-1fbfb9add62c" detected @ [url=http://192.168.0.1:1900/igd.xml]http://192.168.0.1:1900/igd.xml[/url]
12050.12050675: NPT_HttpClient::SendRequestOnce(1739)/2752: WARNING: NPT_CHECK failed, result=-20014 (NPT_ERROR_TIMEOUT) [(m_Connector->Connect(request.GetUrl(), *this, use_proxy?&proxy:0, http_1_1, connection))]
12050.12050675: PLT_CtrlPoint::ProcessGetDescriptionResponse(1373)/2752: FATAL: NPT_CHECK failed, result=-20014 (NPT_ERROR_TIMEOUT) [(res)]
12050.12050675: PLT_CtrlPoint::ProcessGetDescriptionResponse(1414)/2752: SEVERE: Bad Description response @ [url=http://192.168.0.1:1900/igd.xml:]http://192.168.0.1:1900/igd.xml:[/url]
12071.12071095: PLT_CtrlPoint::InspectDevice(1269)/2772: INFO: Inspecting device "060b7353-fca6-4070-85f4-1fbfb9add62c" detected @ [url=http://192.168.0.1:1900/igd.xml]http://192.168.0.1:1900/igd.xml[/url]
12086.12086461: PLT_CtrlPoint::ProcessSubscribeResponse(1666)/3108: INFO: Updating timeout for subscriber "uuid:9ab0c000-f668-11de-9976-6412572b7ca1" for service "urn:upnp-org:serviceId:RenderingControl" of device "HTR-4068 D0160F" (timeout = 300)
Title: foo_upnp
Post by: selios on 2015-12-31 16:57:43
Hello,
First of all thanks for this plugin, I use it quite a lot.
I was wondering, though: would it be hard to make it work with third party transcoders, a bit like Subsonic?
I was thinking of using Opus for streaming, but I figure it might be simpler to implement interaction with third party command line encoders rather than hard coding everyone's favourite encoder into the plugin.

(I hope I'm not breaking any rules by making suggestions in this thread. I'm new around here.)
Title: Re: foo_upnp
Post by: jer1956 on 2016-01-24 14:59:33
I am feeding the upnp player capture with the pcm from the sacd plugin.  Your code must specify a specific file size for the capture file on the upnp server. This problem i have is the higher the bandwidth, the shorter the duration. So yes, a 1.5 mbps cd quality stream won't require a reconnect (drop out) for 6 hours, but an 8.8 mbps sacd quality wave only gets 1 hour 7 mins.  Is there any possibility of changing the size of the virtual file mapped to the stream, to give a bit longer?
Title: Re: foo_upnp
Post by: objc0 on 2016-01-24 20:33:40
Hello,
I found a problem that is the renderer capabilities sample rate range only to 2822400, so I can not play DSD128 or higher quality music with my iPhone(App name is 8 player or bubbleupnp). When I sat on the sofa,I had to run to the front of the computer and chose what I want :[ .    Is there a way to solve this problem? My DAC support DSD 128.    thanks.
Title: Re: foo_upnp
Post by: kode54 on 2016-01-25 02:07:54
The actual input reports that as the sample rate, and only reports the true sample rate through the decoded chunks, which have been downsampled from the original signal.
Title: Re: foo_upnp
Post by: Brown Sound on 2016-01-26 05:19:16
The downsampling is exactly why I built a mini PC for my main audio rack. The downsampled hi-res files are okay for listening on the iPhone or Android but not cool on the main system. But by using a mini PC running foobar and linking it to the music share on the server (or NAS, if that's your setup), the hi-res files get decoded as intended and output to the DAC as 24/88.2, 24/192, DSD64, whatever. I am loving it. While I love the foo_upnp plug-in for simple listening, but in my use, hi-res streaming seemed just a bit out of reach. YMMV.
Title: Re: foo_upnp
Post by: jer1956 on 2016-01-26 12:17:48
Hello,
I found a problem that is the renderer capabilities sample rate range only to 2822400, so I can not play DSD128 or higher quality music with my iPhone(App name is 8 player or bubbleupnp). When I sat on the sofa,I had to run to the front of the computer and chose what I want :[ .    Is there a way to solve this problem? My DAC support DSD 128.    thanks.


If your dac supports native dsd why are you using the upnp plugin? You need the sacd plugin and the dacs asio driver.  If you need remote control you use the http plugin to load the actual foobar player with the dsd track.

http://www.anamon.eu/index.php?cat=c5_foobar-iPhone-remotes.html
Title: Re: foo_upnp
Post by: jer1956 on 2016-01-27 15:03:25
I'm using Player Capture to exploit the players gapless features.  That has to have a fixed bitdepth becuase  you only set it once per client connection. I have left it on 24 becuase i don't want to keep swapping. But what does the conversion from 16 to 24 when the file being played is 16 bit? There is no active dsp shown when this is being done.
Title: Re: foo_upnp
Post by: kode54 on 2016-01-28 01:48:29
Files are always converted to 32 bit floating point by the decoders, then converted back down to whatever integer format the output wants, if necessary. The playback capture would be pulling 32 bit floating point, then converting it down to 24 bit integer, as you have configured.

Effective result, 16 bit samples are padded to 24 bits with zeroes in all eight least significant bits.
Title: Re: foo_upnp
Post by: jer1956 on 2016-01-28 11:28:50

[/quote]
Files are always converted to 32 bit floating point by the decoders, then converted back down to whatever integer format the output wants, if necessary. The playback capture would be pulling 32 bit floating point, then converting it down to 24 bit integer, as you have configured.

Effective result, 16 bit samples are padded to 24 bits with zeroes in all eight least significant bits.
Thank you for your reply. Similar question. What changes the rate from say, 44.1 , to 88.2, if the latter is the specified capture rate? If i add my preffered resampler to playback itself, will the upnp plugin get a fixed 88.2 from the player, and bypass whatever it does normally? I appologise if this information has been given out before.
Title: Re: foo_upnp
Post by: Cutter on 2016-02-09 22:00:14
Hello,

I can't connect to foo_upnp server from the Internet using Bubble UPnP because of an authentication problem. When I try to connect, Bubble UPnP displays a message saying that it could reach the server but the authentication was unsuccessful. foobar2000's console displays the following message:
"foo_upnp: Denied WAN request (ip: 80.12.43.141, User Agent: BubbleUPnP UPnP/1.1)"

I've checked the login and password on both sides. What could be the problem?

(http://i.imgur.com/Dx0EWlD.png)
(http://i.imgur.com/ru0Aynz.png?1)

Thanks.
Title: Re: foo_upnp
Post by: bubbleguuum on 2016-02-10 09:14:54
I can't connect to foo_upnp server from the Internet using Bubble UPnP because of an authentication problem.

You cannot connect directly (direct connection is only possible from another foobar2000 instance).
You have to connect through BubbleUPnP Server (http://bubblesoftapps.com/bubbleupnpserver/)
Title: Re: foo_upnp
Post by: Cutter on 2016-02-11 20:31:13
OK, thank you.
Title: Re: foo_upnp
Post by: HiddenUser on 2016-02-16 17:56:07
Hello bubbleguuum,

I'd like to send a bug report for foo_upnp when used with OptimFROG files. foobar2000 ALWAYS crashes when I try to play an OptimFROG (.OFR) file transcoded to WAV from an iPad with the nPlayer 2.6.5 app (using UPnP/DLNA). This issue ONLY exists when the transcoding to WAV option is ON and only with the OptimFROG codec. The foo_upnp logging was enabled with WARNING level and the log is very short (no error is shown):
Quote
initialized in 0.078s
created 2 path registry entries in 0.000s
loaded Media Library tree in 0.031s
opened 'file://H:\FLAC_MUSIC\Ambient\Raphael-Angels_Of_The_Deep\07-raphael-gnossienne_no._3_(satie).ofr' for streaming, profile: Default, WAV / 44100 Hz / 16 bits / 2 channels, replaygain: off, DSP chain: off

Below you can read the foobar2000 crash report (sorry for the huge length, I didn't find any option to attach files):

I hope this helps and thank you in advance,
HU

Code: [Select]
foobar2000 crash report
=======================

Illegal operation:
Code: C0000005h, flags: 00000000h, address: C25DE58Bh
Access violation, operation: read, address: C25DE58Bh

Call path:
FbMediaWavInputStream::queue_fill=>input_decoder::run

Stack (02F5FA60h):
02F5FA40h:  0000041C 000003F4 00000000 00000000
02F5FA50h:  0295FD20 00012047 0295FD38 000000F8
02F5FA60h:  00505E22 02F5FA90 0050C52F 01724DA8
02F5FA70h:  02F5FA90 0050C54A 01724DA8 00004000
02F5FA80h:  02C60CA8 000927C0 00001000 01724DA8
02F5FA90h:  02F5FAA8 016B3B3D 01724DA8 00004000
02F5FAA0h:  02F5FC9C 01365BAC 00000000 016EF21F
02F5FAB0h:  01736580 01724DA8 00004000 00000001
02F5FAC0h:  01708FE4 00000001 01724DA8 02D1E2A0
02F5FAD0h:  00001F80 02D1E8A0 0000000C 00000100
02F5FAE0h:  016EF2BC 01724DA8 00004000 02B60060
02F5FAF0h:  02C31008 7C9209F5 0000057D 02063418
02F5FB00h:  01BA0000 016E352F 01724DA8 00004000
02F5FB10h:  00000001 01724A90 02B600C4 02B60060
02F5FB20h:  02B600C4 016E3784 00000001 0000647A
02F5FB30h:  01724AC0 016E3944 000001FA 00000002
02F5FB40h:  02B600C4 01724AC0 016E3ACC 02B600C4
02F5FB50h:  000001FA 01724A90 02C31010 02B600C4
02F5FB60h:  027F09B8 00000007 00000000 01720178
02F5FB70h:  00000000 02F5FC48 00EA0178 02F5FC48

Registers:
EAX: 016963C8, EBX: 02C60CA8, ECX: 02F5FC9C, EDX: 00000000
ESI: 00003000, EDI: 01365BAC, EBP: 02F5FA70, ESP: 02F5FA60

Unable to identify crash location!

Loaded modules:
foobar2000    loaded at 00400000h - 005CC000h
ntdll loaded at 7C910000h - 7C9C8000h
kernel32 loaded at 7C800000h - 7C903000h
COMCTL32 loaded at 773A0000h - 774A3000h
msvcrt    loaded at 77BE0000h - 77C38000h
ADVAPI32 loaded at 77DA0000h - 77E4C000h
RPCRT4    loaded at 77E50000h - 77EE3000h
Secur32   loaded at 77FC0000h - 77FD1000h
GDI32 loaded at 77EF0000h - 77F39000h
USER32    loaded at 7E390000h - 7E421000h
SHLWAPI   loaded at 77F40000h - 77FB6000h
WINMM loaded at 76B00000h - 76B2E000h
DSOUND    loaded at 73E90000h - 73EEC000h
ole32 loaded at 774B0000h - 775EE000h
VERSION   loaded at 77BD0000h - 77BD8000h
UxTheme   loaded at 5AD70000h - 5ADA8000h
SHELL32   loaded at 7E6A0000h - 7EEC2000h
zlib1 loaded at 62E80000h - 62E9F000h
shared    loaded at 10000000h - 1002D000h
imagehlp loaded at 76C50000h - 76C78000h
dbghelp   loaded at 5D4B0000h - 5D551000h
COMDLG32 loaded at 76360000h - 763AA000h
CRYPT32   loaded at 77A50000h - 77AE6000h
MSASN1    loaded at 77AF0000h - 77B02000h
gdiplus   loaded at 4EBA0000h - 4ED4B000h
WINHTTP   loaded at 4D550000h - 4D5A9000h
IMM32 loaded at 76340000h - 7635D000h
MSCTF loaded at 746B0000h - 746FC000h
msctfime loaded at 75160000h - 7518E000h
foo_freedb2   loaded at 014A0000h - 014EF000h
foo_dsp_delta loaded at 01500000h - 0151F000h
foo_fileops   loaded at 01540000h - 0158D000h
foo_rgscan    loaded at 015B0000h - 0160E000h
foo_dsp_eq    loaded at 01630000h - 01666000h
foo_input_ofr loaded at 01690000h - 016CF000h
OptimFROG loaded at 016E0000h - 0171D000h
foo_input_std loaded at 01740000h - 0189B000h
MSACM32   loaded at 77BB0000h - 77BC5000h
avcodec-fb2k-56   loaded at 669C0000h - 66B94000h
avutil-fb2k-54    loaded at 6B540000h - 6B5AC000h
foo_verifier loaded at 018C0000h - 01902000h
foo_upnp loaded at 01930000h - 01B37000h
IPHLPAPI loaded at 76D20000h - 76D39000h
WS2_32    loaded at 71A30000h - 71A47000h
WS2HELP   loaded at 71A20000h - 71A28000h
foo_cdda loaded at 01BB0000h - 01C00000h
foo_albumlist loaded at 01C20000h - 01C7A000h
foo_dsp_std   loaded at 01CA0000h - 01CD6000h
foo_input_monkey loaded at 01D00000h - 01D48000h
foo_ui_std    loaded at 01D70000h - 01E7D000h
MSIMG32   loaded at 76330000h - 76335000h
mswsock   loaded at 719D0000h - 71A10000h
hnetcfg   loaded at 66740000h - 66799000h
wshtcpip loaded at 71A10000h - 71A18000h
OLEAUT32 loaded at 770F0000h - 7717B000h
appHelp   loaded at 77B10000h - 77B32000h
CLBCATQ   loaded at 76F90000h - 7700F000h
COMRes    loaded at 77010000h - 770E0000h
cscui loaded at 779F0000h - 77A45000h
CSCDLL    loaded at 765B0000h - 765CD000h
browseui loaded at 75F30000h - 7602D000h
USERENV   loaded at 76630000h - 766E5000h
SETUPAPI loaded at 778F0000h - 779E7000h
ntshrui   loaded at 76950000h - 76976000h
ATL   loaded at 76AE0000h - 76AF1000h
NETAPI32 loaded at 597F0000h - 59846000h
MPR   loaded at 71AA0000h - 71AB2000h
drprov    loaded at 75F10000h - 75F17000h
ntlanman loaded at 71BB0000h - 71BBE000h
NETUI0    loaded at 71C70000h - 71C87000h
NETUI1    loaded at 71C30000h - 71C70000h
NETRAP    loaded at 71C20000h - 71C27000h
SAMLIB    loaded at 71B90000h - 71BA3000h
davclnt   loaded at 75F20000h - 75F2A000h
MLANG loaded at 75DD0000h - 75E61000h
shdocvw   loaded at 7E210000h - 7E383000h
CRYPTUI   loaded at 76890000h - 76914000h
WININET   loaded at 77180000h - 7722B000h
WINTRUST loaded at 76BF0000h - 76C1E000h
WLDAP32   loaded at 76F20000h - 76F4D000h

Stack dump analysis:
Address: 00505E22h (foobar2000+105E22h)
Address: 0050C52Fh (foobar2000+10C52Fh)
Address: 0050C54Ah (foobar2000+10C54Ah)
Address: 016B3B3Dh (foo_input_ofr+23B3Dh)
Address: 016EF21Fh (OptimFROG+F21Fh)
Address: 01708FE4h (OptimFROG+28FE4h)
Address: 016EF2BCh (OptimFROG+F2BCh)
Address: 7C9209F5h (ntdll+109F5h), symbol: "wcsncpy" (+41Ch)
Address: 016E352Fh (OptimFROG+352Fh)
Address: 016E3784h (OptimFROG+3784h)
Address: 016E3944h (OptimFROG+3944h)
Address: 016E3ACCh (OptimFROG+3ACCh)
Address: 016E3D2Ch (OptimFROG+3D2Ch)
Address: 016EAE75h (OptimFROG+AE75h)
Address: 016EB1D0h (OptimFROG+B1D0h)
Address: 7C91E920h (ntdll+E920h), symbol: "strchr" (+113h)
Address: 7C9201E0h (ntdll+101E0h), symbol: "RtlAllocateHeap" (+11Ch)
Address: 7C9201DBh (ntdll+101DBh), symbol: "RtlAllocateHeap" (+117h)
Address: 01707470h (OptimFROG+27470h)
Address: 016E1AA2h (OptimFROG+1AA2h)
Address: 01706CA0h (OptimFROG+26CA0h)
Address: 016E2258h (OptimFROG+2258h), symbol: "OptimFROG_read" (+18h)
Address: 016925A4h (foo_input_ofr+25A4h)
Address: 016966BAh (foo_input_ofr+66BAh)
Address: 016963C8h (foo_input_ofr+63C8h)
Address: 01695A1Ah (foo_input_ofr+5A1Ah)
Address: 019C7D23h (foo_upnp+97D23h)
Address: 01A54869h (foo_upnp+124869h)
Address: 0199A4D8h (foo_upnp+6A4D8h)
Address: 719D597Ch (mswsock+597Ch)
Address: 01A64AE8h (foo_upnp+134AE8h)
Address: 01A54519h (foo_upnp+124519h)
Address: 01997464h (foo_upnp+67464h)
Address: 01A5CC54h (foo_upnp+12CC54h)
Address: 7C8024C7h (kernel32+24C7h), symbol: "ReleaseMutex" (+10h)
Address: 01A53E50h (foo_upnp+123E50h)
Address: 01997C78h (foo_upnp+67C78h)
Address: 01A0A780h (foo_upnp+DA780h)
Address: 019F5085h (foo_upnp+C5085h)
Address: 01A58ED3h (foo_upnp+128ED3h)
Address: 019F5298h (foo_upnp+C5298h)
Address: 01A4C578h (foo_upnp+11C578h)
Address: 019F42A8h (foo_upnp+C42A8h)
Address: 7C802601h (kernel32+2601h), symbol: "WaitForSingleObjectEx" (+B1h)
Address: 01A58D1Bh (foo_upnp+128D1Bh)
Address: 019D897Ah (foo_upnp+A897Ah)
Address: 01A369DFh (foo_upnp+1069DFh)
Address: 01A31B45h (foo_upnp+101B45h)
Address: 019FAD2Ah (foo_upnp+CAD2Ah)
Address: 01A0542Fh (foo_upnp+D542Fh)
Address: 01A33E46h (foo_upnp+103E46h)
Address: 01A2D4D0h (foo_upnp+FD4D0h)
Address: 01A33ED0h (foo_upnp+103ED0h)
Address: 7C80B729h (kernel32+B729h), symbol: "GetModuleFileNameA" (+1BAh)
Address: 7C839A90h (kernel32+39A90h), symbol: "ValidateLocale" (+2B0h)
Address: 7C80B730h (kernel32+B730h), symbol: "GetModuleFileNameA" (+1C1h)
Address: 01A33E6Ch (foo_upnp+103E6Ch)
Address: 01708D6Ch (OptimFROG+28D6Ch)

Environment:
App: foobar2000 v1.3.7
UI: Default User Interface 0.9.5

Components:
Core (2015-01-14 10:28:10 UTC)
foobar2000 core 1.3.7
foo_albumlist.dll (2015-01-14 10:22:14 UTC)
Album List 4.5
foo_cdda.dll (2015-01-14 10:20:12 UTC)
CD Audio Decoder 3.0
foo_dsp_delta.dll (2015-02-19 15:01:12 UTC)
Noise Sharpening DSP 1.0.0
foo_dsp_eq.dll (2015-01-14 10:22:30 UTC)
Equalizer 1.0
foo_dsp_std.dll (2015-01-14 10:21:54 UTC)
Standard DSP Array 1.3.1
foo_fileops.dll (2015-01-14 10:21:20 UTC)
File Operations 2.2.1
foo_freedb2.dll (2015-01-14 10:21:36 UTC)
Online Tagger 0.7
foo_input_monkey.dll (2015-03-01 17:57:50 UTC)
Monkey's Audio Decoder 2.1.7
foo_input_ofr.dll (2011-02-11 09:47:20 UTC)
OptimFROG Lossless/DualStream Decoder 1.30
foo_input_std.dll (2015-01-14 10:28:10 UTC)
Standard Input Array 1.0
foo_rgscan.dll (2015-01-14 10:26:12 UTC)
ReplayGain Scanner 2.2.1
foo_ui_std.dll (2015-01-14 10:28:10 UTC)
Default User Interface 0.9.5
foo_upnp.dll (2015-03-19 13:25:00 UTC)
UPnP/DLNA Renderer, Server, Control Point 0.99.49
foo_verifier.dll (2015-01-17 20:01:30 UTC)
File Integrity Verifier 1.1.2

Recent events:
Pre component load
Loading DLL: F:\foobar2000\components\foo_freedb2.dll
Loading DLL: F:\foobar2000\user-components\foo_dsp_delta\foo_dsp_delta.dll
Loading DLL: F:\foobar2000\components\foo_fileops.dll
Loading DLL: F:\foobar2000\components\foo_rgscan.dll
Loading DLL: F:\foobar2000\components\foo_dsp_eq.dll
Loading DLL: F:\foobar2000\user-components\foo_input_ofr\foo_input_ofr.dll
Loading DLL: F:\foobar2000\components\foo_input_std.dll
Loading DLL: F:\foobar2000\user-components\foo_verifier\foo_verifier.dll
Loading DLL: F:\foobar2000\user-components\foo_upnp\foo_upnp.dll
Loading DLL: F:\foobar2000\components\foo_cdda.dll
Loading DLL: F:\foobar2000\components\foo_albumlist.dll
Loading DLL: F:\foobar2000\components\foo_dsp_std.dll
Loading DLL: F:\foobar2000\user-components\foo_input_monkey\foo_input_monkey.dll
Loading DLL: F:\foobar2000\components\foo_ui_std.dll
Components loaded in: 0:00.542612
Pre config read
Configuration read in: 0:00.049899
Starting playlist loading
Album List refreshed in: 0:00.007058
User Interface initialized in: 0:00.232818
Processing commandline
initquit::init entry
foo_upnp: succesfully loaded file F:\foobar2000\foo_upnp.xml
foo_upnp: initialized in 0.078s
initquit::init exit
Startup time : 0:01.009450
foo_upnp: created 2 path registry entries in 0.000s
foo_upnp: loaded Media Library tree in 0.031s
foo_upnp: opened 'file://H:\FLAC_MUSIC\Ambient\Raphael-Angels_Of_The_Deep\07-raphael-gnossienne_no._3_(satie).ofr' for streaming, profile: Default, WAV / 44100 Hz / 16 bits / 2 channels, replaygain: off, DSP chain: off


Machine specifications:
OS: Windows 5.1.2600 Service Pack 3 x86
CPU: AMD Phenom™ II X4 955 Processor, features: 3DNow!ex MMX SSE SSE2 SSE3
CPU threads: 4
Audio: Realtek HD Audio output
Title: Re: foo_upnp
Post by: YuriG on 2016-03-17 16:21:16
Hey bubbleguuum. Thanks for the great app!

There is an issue with foobar2000 extension. It streams media files via http rather than HTTPS even when it is configured to use secure connection. Is that a known issue? Is there a workaround?

Thanks,
Yuri
Title: Re: foo_upnp
Post by: Givafokker on 2016-03-18 15:27:28
Hello,
Can someone point me to a tutorial that will instruct me how to configure foo_upnp in Foobar?  I've added the plugin, but have not been able to locate/create an "address".  I want to install plugplayer on my iphone to listen remotely, but apparently don't know enough about upnp to pull it off.  Thanks in advance.  Gino
Title: Re: foo_upnp
Post by: ebr9999 on 2016-03-23 15:46:51
Hello,
Can someone point me to a tutorial that will instruct me how to configure foo_upnp in Foobar?  I've added the plugin, but have not been able to locate/create an "address".  I want to install plugplayer on my iphone to listen remotely, but apparently don't know enough about upnp to pull it off.  Thanks in advance.  Gino
I have installed it right now, but I have had your same issue. Solved by renaming the downloaded file to .zip and extracted the .dll to the foobar component directory
Title: Re: foo_upnp
Post by: ebr9999 on 2016-03-23 16:45:16
Very useful component :) .
I want to use it to control a Connector from Raumfeld. The issue I have is that this device creates two control points, that have different names and unique identifiers, but same serial, IP and MAC address. Through this component I can see only of them :( .

Note that using RCP-Audionet I can see both of them.
Of these two end-control point, one of them streams gapless, unluckily we one I cannot see through this component.
To be honest also KODI has exactly the same issue.
Title: Re: foo_upnp
Post by: Givafokker on 2016-03-23 16:49:02
Hello,
Can someone point me to a tutorial that will instruct me how to configure foo_upnp in Foobar?  I've added the plugin, but have not been able to locate/create an "address".  I want to install plugplayer on my iphone to listen remotely, but apparently don't know enough about upnp to pull it off.  Thanks in advance.  Gino
I have installed it right now, but I have had your same issue. Solved by renaming the downloaded file to .zip and extracted the .dll to the foobar component directory
Sorry, I'm a newbie...  Could you explain your solution a little bit?  Thanks
Title: Re: foo_upnp
Post by: ebr9999 on 2016-03-23 23:01:40
Sorry, I have misunderstood you. Foo_upnp is a plugin of Foobar2000, which is a PC application. Does not work neither on Iphone nor on Android.
   

Title: Re: foo_upnp
Post by: kode54 on 2016-03-24 04:53:17
Why even do that? .fb2k-component is associated with non-portable installations by default, and even if it's a portable install, or if you don't want to use associations, you can install it from the Components page of the Preferences page, as-is, no need to extract it first.
Title: Re: foo_upnp
Post by: ebr9999 on 2016-03-24 06:52:44
Why even do that? .fb2k-component is associated with non-portable installations by default, and even if it's a portable install, or if you don't want to use associations, you can install it from the Components page of the Preferences page, as-is, no need to extract it first.
You are right, but I have just done the first thing it come to my mind when I have had a problem with instructions at http://bubbleguuum.free.fr/foo_upnp/foo_upnp.txt:
Just copy foo_upnp.dll in the components subdirectory of your foobar2000 installation and restart foobar2000.
Title: Re: foo_upnp
Post by: kode54 on 2016-03-24 07:14:44
Those directions have been obsolete since version 1.1 of foobar2000 was released, since the introduction of the user components directory, which allows the player to install and update components for you, assuming they are available from www.foobar2000.org/components, the official repository it polls for updates.
Title: Re: foo_upnp
Post by: ebr9999 on 2016-03-24 09:37:43
Very useful component :) .
I want to use it to control a Connector from Raumfeld. The issue I have is that this device creates two control points, that have different names and unique identifiers, but same serial, IP and MAC address. Through this component I can see only of them :( .

Note that using RCP-Audionet I can see both of them.
Of these two end-control point, one of them streams gapless, unluckily we one I cannot see through this component.
To be honest also KODI has exactly the same issue.
Another piece of info: if I use UPnP MediaRenderer output, I can see both both Raumfeld Connector control points.
Title: Re: foo_upnp
Post by: viones on 2016-03-30 06:43:14
Hello,
You know indicate the setup to send sound ( stream ) from foobar to daphile PCs in a local network .
thank you so much
Title: Re: foo_upnp
Post by: ebr9999 on 2016-03-30 08:29:39
Hello,
You know indicate the setup to send sound ( stream ) from foobar to daphile PCs in a local network .
thank you so much

I am not 100% sure I have got your question, Anyhow I have attached what I I see in my network. In UpNp controller I can see only two (Soggiorno and DMR-BWT735) of them
Title: Re: foo_upnp
Post by: gebla on 2016-04-02 16:07:59
Is it possible to show artwork in the upnp browser window? Sometimes it is easier to see the actual artwork for finding specific albums.
Title: Re: foo_upnp
Post by: ebr9999 on 2016-04-03 08:44:31
Is it possible to show artwork in the upnp browser window? Sometimes it is easier to see the actual artwork for finding specific albums.
If it is possible (using this component), I have not found the way. Have a look to the screenshot I have attached: when browsing a specific UPnP server, when I select an item I can get the artwork, but only after having selected an item in the "Main" view.
Title: Re: foo_upnp
Post by: gebla on 2016-04-05 09:06:36
Is it possible to show artwork in the upnp browser window? Sometimes it is easier to see the actual artwork for finding specific albums.
If it is possible (using this component), I have not found the way. Have a look to the screenshot I have attached: when browsing a specific UPnP server, when I select an item I can get the artwork, but only after having selected an item in the "Main" view.

I am using the same solution. Unfortunately it seems not to be possible to show artwork during browsing.
Title: Re: foo_upnp
Post by: ebr9999 on 2016-04-05 13:10:52
Is it possible to show artwork in the upnp browser window? Sometimes it is easier to see the actual artwork for finding specific albums.
If it is possible (using this component), I have not found the way. Have a look to the screenshot I have attached: when browsing a specific UPnP server, when I select an item I can get the artwork, but only after having selected an item in the "Main" view.

I am using the same solution. Unfortunately it seems not to be possible to show artwork during browsing.
It appears this component does not get the Artwork rendered by Server, but you can get the artworks embedded into the track (in the Playlist window). So try, if important to you, to embed the artwork into the track.

PS: For Browsing and Pushing I use instead of Foobar AUDIONET-RCP, that in this respect is very good.
Title: Re: foo_upnp
Post by: RBoug on 2016-04-13 17:40:14
Hi ,
I  play  music with an Advance Acoustics X-Uni media player with Flac albums mainly .
I play my playlists on the X-uni working as Digital Media Player (DMP). Metadata appears on X-Uni  screen (artist, album, tracks, cover album).
I would like to know if the following sentence published in 2011 (found in the forum at reply #1097) is still the rule about foobar UPNP plugin ??

"The content of playlists is static once it has been browsed by a client. The ML content is loaded at foobar2000 launch and never
updated afterwards. To update you need to restart the server."

Thanks in advance
BR
RBoug
Title: Re: foo_upnp
Post by: thorazine on 2016-04-13 22:47:02
Hello:

Is the server supposed to bind to all ip addresses on a machine? I got a computer with 1 physical network adapter and 2 virtual network adapters (from VMware), and it seems the server is binding to all of them, including the vmware adapters, I'm not sure if thats correct? Sometimes it looks like the server disappears from the network and I dont know if it could related to that...
Can you choose which ip or network the server will listen on?
Also, is it possible to remove the hardcoded [%computername%] tag that is always added to the server name you choose on the options?
Title: Re: foo_upnp
Post by: wiregrind on 2016-05-11 03:12:30
This plugin is amazing, I'm using it to stream my library and copy files to my PS3. At first it didn't work well, but I figured out that the "bitmapping" setting on the PS3 was the one causing problems; I disabled it, and everything just started working. It wasn't the plugin's fault!

I found there's an issue with M4A files, though: The foo_upnp server plugin can't distinguish an ALAC file from an AAC file; it sees them both as "m4a" so it reports ALAC files to the client as if they were AAC but with ~900 kbps bitrate. Of course, I can work around this by setting the plugin to decode everything to PCM.
Title: Re: foo_upnp
Post by: gebla on 2016-05-12 20:16:43
Is it possible to show artwork in the upnp browser window? Sometimes it is easier to see the actual artwork for finding specific albums.
If it is possible (using this component), I have not found the way. Have a look to the screenshot I have attached: when browsing a specific UPnP server, when I select an item I can get the artwork, but only after having selected an item in the "Main" view.

I am using the same solution. Unfortunately it seems not to be possible to show artwork during browsing.
It appears this component does not get the Artwork rendered by Server, but you can get the artworks embedded into the track (in the Playlist window). So try, if important to you, to embed the artwork into the track.

PS: For Browsing and Pushing I use instead of Foobar AUDIONET-RCP, that in this respect is very good.

Thanks for the tip. Moving to Audionet-RCP as well. It does exactly what I need
Title: foobar2000 hangs when attempting to exit - only when foo_upnp is installed
Post by: stualden on 2016-05-15 23:38:57
I'm a very long-time user of foobar2000, and in particular I love the way foo_upnp extends its usefulness.  I have some problems, though,when I run it with foo_upnp with more modern Windows:

--Win 7 and earlier - generally okay
--Windows Server 2008 and Windows 10 - if you try to exit foobar2000, it hangs, and you either have to wait a LONG time, or kill it with Task Manager (and even then it doesn't die easily).
--Windows Server 2012 R2 - same problem, but now I can't even make any changes to the foo_upnp settings page - the program freezes up tight.

Without the foo_upnp plugin, everything works just fine.

Is anyone else having this problem?  Found a solution?  I love this software and would like to do my best to keep using it.  I have tried various compatibility modes but they don't seem to help.
Title: Re: foo_upnp
Post by: ebr9999 on 2016-05-18 00:02:44
I remember having had this problem with Win10. Now it works fine. Sorry I don't remember how I have fixed it.
I remember I was doing some testing using also http://www.foobar2000.org/components/view/foo_out_upnp (i.e. having both installed).
Does start/stop server work fine (both for media server and render). With both stopped there shoudl not be any reason for hanging up when exiting.
Title: Re: foo_upnp
Post by: stualden on 2016-05-18 01:55:50
I'm only using the server, not the renderer, but even trying to stop the server on win 2012 causes a hang. 

Glad to see I'm not the only one, though - thanks.  I'll keep experimenting - this is too good to do without.
Title: Re: foo_upnp
Post by: vanhoivanbinh on 2016-05-20 06:47:40
Dear all
Since Foobar2000 now available on Android and iOS
Can you tell me how to configure foo_UPNP so that I can listerning my library on my android phone remotely
The basic configuration works well when my computer and my phone in the same network
But I cannot access to my library via internet when I go outside of my home network
Please help!!!!!
Title: Re: foo_upnp
Post by: Daeron on 2016-05-20 06:56:41
You can try 'File/Preferences/Tools/UPnP/Server/Internet access'. If that doesn't work you could also look into VPN solutions which would allow you to be virtually part of your home network from elsewhere.
Title: Re: foo_upnp
Post by: GaryM44 on 2016-05-30 00:59:20
I posted this on the foobar "3rd party plugins" subthread 2 days ago,  got no replies so far, so posting it here.

I have two clients drawing files from my PC (running Win 10) via UPnP --- a Kindle Fire HDX and a Grace Digital Primo network player. I also have three server packages running on the PC --- WMP, UMS, and fb2k.

The Primo and Fire HDX see all three servers and can connect with all of them. But for some reason the Primo will not display cover art for songs retrieved via fb2k's UPnP plugin. For any song played, it reports "Artwork not provided." When connected via WMP or UMS, the Primo displays the cover art. All three servers are sending the same files, of course.

The Primo will only display cover art embedded in the files (these are all FLAC or WAV files, not mp3s). The cover art IS embedded in those files, which I've confirmed with a hex editor.  The checkbox in the UPnP plugin setup screen for "Allow album art streaming" is checked.

The Fire HDX, on the other hand, does display art for files sent by fb2k. So the plugin is sending the artwork. But somehow it is handling it differently from the other two servers --- a difference that makes it invisible to the Primo.

Each album folder also contains a cover image for the album named "cover.jpg." I know that if a file has no art embedded, foobar will search the folder for an image. I thought perhaps foobar was sending that image to the clients, and confusing the Primo (which will not display external art). So I renamed those "cover.jpg" files for a couple of albums --- one with embedded art, one without,  so that fb2k cannot recognize them as image files. The files with no embedded art now show no cover art on the Fire HDX, the files with embedded art do. So fb2k is streaming the embedded art.  But it is streaming it in some way that the Primo cannot recognize.

Anyone have any idea what might be the difference between the way that the fb2k plugin streams artwork and the way other players do it?

UPDATE: Today I installed 3 additional media servers on the PC --- Plex, Media Monkey, and Minimserver. The Primo displays the cover art when connected to all of them. What's the prob with foobar? I'd suspect I'd overlooked some setting, except that the Fire HDX DOES display cover art via foobar.

???

PS: That Grace Digital Primo is a very cool little streamer. It's wifi connection is rock-solid and the interface and color display make it easy to navigate a large music library. And it's cheap --- about $120 at Amazon.
Title: Re: foo_upnp
Post by: ebr9999 on 2016-05-30 10:46:43
It looks like this kind of issues that requires analyzing what's happening on the interfaces and (most important) having somebody committed to solve your issues. I doubt you are going to find such a commitment foo_upnp authors. You shoudl try with Primo product owner.

From the above post, it is not clear to me whether Primo shows album arts during DLNA directory displaying or only when you play related songs. As suggestion: have a look at Foobar album art (in advanced preferences). Default looks Prefer external. Try with embedded. It may have some impact on server rendering.
Title: Re: foo_upnp
Post by: GaryM44 on 2016-05-30 15:12:14
 > . . . . it is not clear to me whether Primo shows album arts during DLNA directory displaying or only when you play related songs.

The Primo shows art only when a song is playing. There is no room on its 3.5" screen for multiple images. And (I assume) until a song is selected and loaded it has no art to display.

Foobar is set to display embedded art only, not external art. When running locally it displays no art for files without embedded art. The UPnP server appears to observe that restriction, since the Fire HDX only displays art from foobar when it is embedded in the file. Unlike the Primo, the Fire will display external art if the server sends it.
Title: Re: foo_upnp
Post by: ebr9999 on 2016-05-30 17:31:00
I agree it is quite bizarre. Anyhow for a Primo product owner it should not be an issue to debug this case.
From my side I can tell that none of my clients (PC based Audionet RCP and Raumfeld Connector) have such an issue.
Title: Re: foo_upnp
Post by: lea1974 on 2016-06-01 21:09:26
I have foobar2000v1.3.10 and foo_upnp 0.99.49. I stream audio from a FritzBox DLNA server and play it locally in foobar2000. For some odd reason, the seekbar does not work with mp3 files, it's just grayed out. Windows media player does not have that problem. With aac files, however, the seekbar does work even in foobar2000. Please let me know your comments.
Title: Re: foo_upnp
Post by: arbingordon on 2016-06-02 08:06:51
Seeking in MP3 should work, it should just be (relatively) slow - foobar has to decode all of the samples up to the point where you're trying to seek to (IIRC to actually build the entire seektable, or just build it far enough to seek to that position).
Title: Re: foo_upnp
Post by: lea1974 on 2016-06-02 17:06:57
Well, seeking works just fine if I copy the same mp3 file onto my local hard disk. Only if I play it from the DLNA server, the seekbar is grayed out. Other apps (e. g. BubbleUPNP on my mobile phone) and players (e. g. Windows Media Player or Linux Rhythmbox) seek fine with the same files via DLNA.
Title: Streaming profiles /User-agent
Post by: GaryM44 on 2016-06-12 02:57:03
I use foobar to stream to several renderers. Most of them can handle only low-rez files (up to 48/24). One can handle hi-rez files. I've tried to create a new profile for that device, but no matter what I put in the User-agent field, foo_upnp uses the default profile.

I've checked the device with UPnP Inspector, and there is no user-agent field or string in the device description it returned. It shows a Model name, Friendly Name, UDN, and several other descriptive strings. I've tried putting all of those field names and their values in my new UPnP streaming profile, but foobar persists in using the default profile.

I've also found lists of user-agent strings on the web, but they're mostly for web browsers and not for hardware. I've also checked the foobar console, but foobar reports no information about the renderer requesting the file. It only logs info about the file.

If my device (a Grace Digital internet radio) has a user-agent string, how do I find it? If it doesn't, what other identifying tag and value should go in those fields?

Does the field name have to be entered in XML format (i.e. <FriendlyName>) or in some other special format?

Aaargh!

Thx!
Title: Re: foo_upnp
Post by: Daeron on 2016-06-12 08:20:46
What are the requirements for the [All Tracks] item to be generated for the media library nodes on the upnp server?

I tried editing the spec types within foo_upnp_ml_tree.xml hoping if all of them are defined as an object.container.album.musicAlbum (or similar) I could force it to show up on all levels. That did not work. Perhaps it's a combination of items on that level not having any more expendable child items + the parent node's type (as I noticed it does not always show up even on the last level)?

If it's not easily editable like that, can we get a checkbox in preferences that says 'generate [All Tracks] item on every level'?
Title: Re: foo_upnp
Post by: ebr9999 on 2016-06-15 17:28:27
I have foobar2000v1.3.10 and foo_upnp 0.99.49. I stream audio from a FritzBox DLNA server and play it locally in foobar2000. For some odd reason, the seekbar does not work with mp3 files, it's just grayed out. Windows media player does not have that problem. With aac files, however, the seekbar does work even in foobar2000. Please let me know your comments.
I understand that seeking (other DLNA) is a client feature requiring support in the server. Looking to the other comments it looks like this feature is not implemented in this plugins. From my side I have tried with Raumfeld Connector server, and seeking does not work for both flac and mp3 file.
Title: Re: foo_upnp
Post by: chronomitch2 on 2016-07-15 01:01:34
I have a strange problem. I'm using a Foobar2000 as a server at home (Windows 10 box) and a Foobar2000 as a client at work (Macbook via Wineskin). I recently upgraded my Macbook to El Capitan and decided to completely delete and recreate my Foobar2000 app. It works fine, except that tracks never end. The track time just continues on and the song repeats endlessly until I stop or advance to the next track manually.

This problem only happens when attempting to play UPnP content from my Foobar2000 server at home. When I try to play local MP3 files on my Macbook, track advance works fine.
Title: Re: foo_upnp
Post by: ebr9999 on 2016-07-15 07:25:39
I have a strange problem. I'm using a Foobar2000 as a server at home (Windows 10 box) and a Foobar2000 as a client at work (Macbook via Wineskin). I recently upgraded my Macbook to El Capitan and decided to completely delete and recreate my Foobar2000 app. It works fine, except that tracks never end. The track time just continues on and the song repeats endlessly until I stop or advance to the next track manually.

This problem only happens when attempting to play UPnP content from my Foobar2000 server at home. When I try to play local MP3 files on my Macbook, track advance works fine.
Where is the Control Point (i.e. are you pushing content from Windows on pulling from Mac/Windows)?
Title: Re: foo_upnp
Post by: chronomitch2 on 2016-07-15 19:01:23
I have a strange problem. I'm using a Foobar2000 as a server at home (Windows 10 box) and a Foobar2000 as a client at work (Macbook via Wineskin). I recently upgraded my Macbook to El Capitan and decided to completely delete and recreate my Foobar2000 app. It works fine, except that tracks never end. The track time just continues on and the song repeats endlessly until I stop or advance to the next track manually.

This problem only happens when attempting to play UPnP content from my Foobar2000 server at home. When I try to play local MP3 files on my Macbook, track advance works fine.
Where is the Control Point (i.e. are you pushing content from Windows on pulling from Mac/Windows)?
I am pulling content from my Mac instance. I added my home Windows Foobar2000 instance as a remote Internet UPnP server to the list of UPnP Servers available to the Mac instance.
Title: Re: foo_upnp
Post by: ebr9999 on 2016-07-16 07:40:51
I have a strange problem. I'm using a Foobar2000 as a server at home (Windows 10 box) and a Foobar2000 as a client at work (Macbook via Wineskin). I recently upgraded my Macbook to El Capitan and decided to completely delete and recreate my Foobar2000 app. It works fine, except that tracks never end. The track time just continues on and the song repeats endlessly until I stop or advance to the next track manually.

This problem only happens when attempting to play UPnP content from my Foobar2000 server at home. When I try to play local MP3 files on my Macbook, track advance works fine.
Where is the Control Point (i.e. are you pushing content from Windows on pulling from Mac/Windows)?
I am pulling content from my Mac instance. I added my home Windows Foobar2000 instance as a remote Internet UPnP server to the list of UPnP Servers available to the Mac instance.
I can tell I can use Foobar as UPnP client of another external Media Server (Raumfeld Media Server) without such an issue. The only related issues is that it is 'pure streaming', i.e. no seeking, but i goes to the next track. This of course on a Windows system.
With another windows system you may exclude unlikely interworking issues between Foobar server and client.

PS: as a shortcut, if you can refer your music directories as network file on the top of Wineskin, you can run 'pure' Foobar, that by the way is much more convenient to use (i.e. library scanning always active)
Title: Re: foo_upnp
Post by: chronomitch2 on 2016-07-16 22:21:51
I have a strange problem. I'm using a Foobar2000 as a server at home (Windows 10 box) and a Foobar2000 as a client at work (Macbook via Wineskin). I recently upgraded my Macbook to El Capitan and decided to completely delete and recreate my Foobar2000 app. It works fine, except that tracks never end. The track time just continues on and the song repeats endlessly until I stop or advance to the next track manually.

This problem only happens when attempting to play UPnP content from my Foobar2000 server at home. When I try to play local MP3 files on my Macbook, track advance works fine.
Where is the Control Point (i.e. are you pushing content from Windows on pulling from Mac/Windows)?
I am pulling content from my Mac instance. I added my home Windows Foobar2000 instance as a remote Internet UPnP server to the list of UPnP Servers available to the Mac instance.
I can tell I can use Foobar as UPnP client of another external Media Server (Raumfeld Media Server) without such an issue. The only related issues is that it is 'pure streaming', i.e. no seeking, but i goes to the next track. This of course on a Windows system.
With another windows system you may exclude unlikely interworking issues between Foobar server and client.

PS: as a shortcut, if you can refer your music directories as network file on the top of Wineskin, you can run 'pure' Foobar, that by the way is much more convenient to use (i.e. library scanning always active)
I didn't have this problem before I upgraded to El Capitan and recreated my Wineskin. Everything worked perfectly before, so I'm thinking there must be some kind of bug in Wine with this OS.

As far as your suggestion, is there an easy was to do that across the Internet between a Windows box and a Mac? That would be one way to fix the problem, but it would also take up a bunch of bandwidth because my FLAC files wouldn't be transcoded to MP3s.
Title: Re: foo_upnp
Post by: poletim on 2016-07-20 00:55:58
I have a foobar2000 upnp server and also using foobar2000 as upnp browser on another windows computer.
Versions of foobar2000 is 1.3.10, vesrion of UPnP renderer is 0.99.49

The problem is that I am trying to open a massive playlist of  47056 tracks. When it is finally open I only have just 35000 tracks in my upnp foobar2000 browser. The rest tracks are not there. Has anyone faced anything like that?
Thanks.
Title: Re: foo_upnp
Post by: ebr9999 on 2016-07-20 17:26:42
I have a foobar2000 upnp server and also using foobar2000 as upnp browser on another windows computer.
Versions of foobar2000 is 1.3.10, vesrion of UPnP renderer is 0.99.49

The problem is that I am trying to open a massive playlist of  47056 tracks. When it is finally open I only have just 35000 tracks in my upnp foobar2000 browser. The rest tracks are not there. Has anyone faced anything like that?
Thanks.
I have tried using a different Control Point (Radionet-RCP) and up to 72000 playlist items it worked. So it looks like a limit in Foobar client. Going beyond is critical. Being this a Control Point you have then to push items to a renderer (it might be your foobar client). Typically it sends tracks one by one, and even if they don't appear in the renderer windows, the renderer continues playing them.
Title: Re: foo_upnp
Post by: tipar on 2016-07-22 23:03:21
Crash report (http://help.foobar2000.org/problem/5355291bb1d24eca81599349a9d1c28e)

Quote
Problem caused by: foo_upnp.dll : UPnP/DLNA Renderer, Server, Control Point
Known buggy component
Download the latest version...

See also: Help: foobar2000 has crashed.
Have the 0.99.49 but on the first page I have seen another one (https://hydrogenaud.io/index.php/topic,69664.0.html); maybe that the problem?
Title: Re: foo_upnp
Post by: ebr9999 on 2016-07-24 07:12:11
I understand this one is the last version:
http://www.foobar2000.org/components/view/foo_upnp
Title: Re: foo_upnp
Post by: floydophile on 2016-07-26 22:21:22
Hello, I am new to this Forum.

So far, I had no problems in using foo_upnp (UPnP/DLNA Renderer, Server, Control Point, Version .99.49, released on 2015-01-13) in order to run the foobar media server and to stream from my Windows PC to my Onkyo-AV (TX-Nr1007) and / or stream hi-rez or multi-channel recordings to my Notebook (which is hooked to the same Onkyo-AV via HDMI).

A few days ago and all of a sudden this became impossible. Via many trial and error attempts (re-installing foobar, it's plugins and also the Windows media Player) I could partially recover from that disaster:

Using foo_upnp Version 0.99.45 rather than the latest one, I am now at least able to use on my PC and the Notebook the UPnP Browser again, where I can connect to my Windows Media Servers (both, the PC and the Notebook ones) and to my Bose Soundtouch Media Servers, However, I cannot see any foobar media Server(s) under the UPnP Server node, Also, my Onkyo-AV does not see the foobar Media server anymore.

Windows-Firewall and Ports (via Fritz-Router) seem to be OK.

Any idea, what I could do else or whom I could ask  for further advise?

In advance, thanks a lot for any help.        
Title: Re: foo_upnp
Post by: ebr9999 on 2016-07-26 23:51:36
Not for appearing trivial, but I assume you start the the Foobar UpNP media server-
Another thing I would try would have tried (if desperate - not happened yet) is a reset all (in preferences) - Everything shoudl be back to default.
I have had the same problems when browsing Foobar Media server (I was browsing a huge playlist => no more media server could be detected by my various media clients). It was on the same PC and the one way to get back was restarting the PC (even log out/log in did not work)
Title: Re: foo_upnp
Post by: floydophile on 2016-07-27 21:25:12
Thank you for your fast response and your suggestions!  :)

Yes, I had started (stopped and started again) the UpnP-Media Server and I also followed your suggestion to reset everything in foobar. Unfortunately, no improvement at all   :o

Would it make sense to post here the log from my foobar console? 

 
Title: Re: foo_upnp
Post by: ebr9999 on 2016-07-27 23:24:23
Would it make sense to post here the log from my foobar console? 
You can try. I can compare with what happens when I start my foobar server.

PS: I would do a trial with last version of the plugin. I understand the reason you rolled back, but who knows, maybe now it works at least as the previous version.
Title: Re: foo_upnp
Post by: vanhoivanbinh on 2016-07-28 08:42:15
Dear developer
I am using Foo_upnp without any problem for long time.
Just recently, I try the new function on that
It is download the decoded MP3 from my computer (original FLAC files with tags) (act as media server) to my phone.
The issue is the tags on downloaded (using wifi) files have only title while the artist etc field is "unknown"
This cause big problem when listening music on my phone and sync to Last.fm as the artist field is "unknown"

Do I miss something on the "download on the fly" function??
Title: Re: foo_upnp
Post by: vanhoivanbinh on 2016-07-28 10:02:38
it is noted that I browse the UPNP server by artist/album etc without any problem
It means my tags are OK
Maybe something related to the setting in
CONTENT
Format track artist using: %artist%
I have try different thing like %albumartist%; %album artist%;
but no success. Still the downloaded tracks are with correct titles only, and the artist field is still "unknown"
Title: Re: foo_upnp
Post by: ebr9999 on 2016-07-28 12:27:35
Does it work if you don't transcode to mp3 (i.e. using native flac)?
Is Artist populated in your tags? I would also make a test setting %artist% with same value of %album artist% ....
Title: Re: foo_upnp
Post by: floydophile on 2016-07-28 13:11:11
Would it make sense to post here the log from my foobar console? 
You can try. I can compare with what happens when I start my foobar server.

PS: I would do a trial with last version of the plugin. I understand the reason you rolled back, but who knows, maybe now it works at least as the previous version.

Thanks again for your attention.

I have re-tried several times now with the latest version of the component, but if I do so I don't see any Server at all under the node in the upnp browser window  ... (which is very obscure to me, since I have used that component without any trouble, before all these issues appeared ...)

Here is the log from the foobar console (info level). It does not look critical to me

Components loaded in: 0:00.023591
Configuration read in: 0:00.001957
Watching: D:\Music\All New Music
Watching: D:\Music\Downloads Active
Watching: J:\Others
Watching: J:\iTunes\iTunes Media\Music
Watching: D:\OneDrive\Musik
Album List refreshed in: 0:00.128575
User Interface initialized in: 0:00.232426
foo_upnp: succesfully loaded file C:\Users\floyd\AppData\Roaming\foobar2000\foo_upnp.xml
foo_upnp: initialized in 0.016s
LOAD
Startup time : 0:00.385520
foo_upnp: created 40779 path registry entries in 0.832s


foo_upnp: loaded Media Library tree in 2.745s


Btw: I have the same issues with my notebook, i.e. it does not matter whether I try to locate the foobar unpnp media server (which I had started on my notebook) from the Desktop PC or vice versa (seeking from my notebook the foobar upnp media server, which I started on the Desktop PC) ...

Could it be, that WMP Settings are causing these issues? Maybe, it has also something to do with Java or other applications run on my PCs ....?


Aaaarghhhhh

Perhaps, I should post the 'foo_upnp.xml'-file here as well?!     
Title: Re: foo_upnp
Post by: ebr9999 on 2016-07-28 15:36:53
Would it make sense to post here the log from my foobar console? 
You can try. I can compare with what happens when I start my foobar server.

PS: I would do a trial with last version of the plugin. I understand the reason you rolled back, but who knows, maybe now it works at least as the previous version.

Thanks again for your attention.

I have re-tried several times now with the latest version of the component, but if I do so I don't see any Server at all under the node in the upnp browser window  ... (which is very obscure to me, since I have used that component without any trouble, before all these issues appeared ...)

Here is the log from the foobar console (info level). It does not look critical to me

Components loaded in: 0:00.023591
Configuration read in: 0:00.001957
Watching: D:\Music\All New Music
Watching: D:\Music\Downloads Active
Watching: J:\Others
Watching: J:\iTunes\iTunes Media\Music
Watching: D:\OneDrive\Musik
Album List refreshed in: 0:00.128575
User Interface initialized in: 0:00.232426
foo_upnp: succesfully loaded file C:\Users\floyd\AppData\Roaming\foobar2000\foo_upnp.xml
foo_upnp: initialized in 0.016s
LOAD
Startup time : 0:00.385520
foo_upnp: created 40779 path registry entries in 0.832s


foo_upnp: loaded Media Library tree in 2.745s


Btw: I have the same issues with my notebook, i.e. it does not matter whether I try to locate the foobar unpnp media server (which I had started on my notebook) from the Desktop PC or vice versa (seeking from my notebook the foobar upnp media server, which I started on the Desktop PC) ...

Could it be, that WMP Settings are causing these issues? Maybe, it has also something to do with Java or other applications run on my PCs ....?


Aaaarghhhhh

Perhaps, I should post the 'foo_upnp.xml'-file here as well?!     
You should change log level(in server basic settings) to see something else, but I don't know if I would be able to help you.
I have only one PC with win10 (and external clients).  From WMP I can see foobar server (and viceversa), as all the server I have locally and in my network. 
A couple of doubts: is upnp enabled on your router? Is server port number 56923?
I would try with Audionet RCP: it is free share, does no requires any setting, and when it starts it scans the network looking for uonp servers and renderers ..... only for having a second opinion ...
Title: Re: foo_upnp
Post by: floydophile on 2016-07-28 17:16:51
Would it make sense to post here the log from my foobar console? 
You can try. I can compare with what happens when I start my foobar server.

PS: I would do a trial with last version of the plugin. I understand the reason you rolled back, but who knows, maybe now it works at least as the previous version.

Thanks again for your attention.

I have re-tried several times now with the latest version of the component, but if I do so I don't see any Server at all under the node in the upnp browser window  ... (which is very obscure to me, since I have used that component without any trouble, before all these issues appeared ...)

Here is the log from the foobar console (info level). It does not look critical to me

Components loaded in: 0:00.023591
Configuration read in: 0:00.001957
Watching: D:\Music\All New Music
Watching: D:\Music\Downloads Active
Watching: J:\Others
Watching: J:\iTunes\iTunes Media\Music
Watching: D:\OneDrive\Musik
Album List refreshed in: 0:00.128575
User Interface initialized in: 0:00.232426
foo_upnp: succesfully loaded file C:\Users\floyd\AppData\Roaming\foobar2000\foo_upnp.xml
foo_upnp: initialized in 0.016s
LOAD
Startup time : 0:00.385520
foo_upnp: created 40779 path registry entries in 0.832s


foo_upnp: loaded Media Library tree in 2.745s


Btw: I have the same issues with my notebook, i.e. it does not matter whether I try to locate the foobar unpnp media server (which I had started on my notebook) from the Desktop PC or vice versa (seeking from my notebook the foobar upnp media server, which I started on the Desktop PC) ...

Could it be, that WMP Settings are causing these issues? Maybe, it has also something to do with Java or other applications run on my PCs ....?


Aaaarghhhhh

Perhaps, I should post the 'foo_upnp.xml'-file here as well?!     
You should change log level(in server basic settings) to see something else, but I don't know if I would be able to help you.
I have only one PC with win10 (and external clients).  From WMP I can see foobar server (and viceversa), as all the server I have locally and in my network. 
A couple of doubts: is upnp enabled on your router? Is server port number 56923?
I would try with Audionet RCP: it is free share, does no requires any setting, and when it starts it scans the network looking for uonp servers and renderers ..... only for having a second opinion ...


Oooups, I forgot to enable debug info.

Here comes a bi more of Information:

Components loaded in: 0:00.013602
Configuration read in: 0:00.001416
Watching: D:\Music\All New Music
Watching: D:\Music\Downloads Active
Watching: J:\Others
Watching: J:\iTunes\iTunes Media\Music
Watching: D:\OneDrive\Musik
Album List refreshed in: 0:00.138466
User Interface initialized in: 0:00.331565
foo_upnp: succesfully loaded file C:\Users\floyd\AppData\Roaming\foobar2000\foo_upnp.xml
foo_upnp: 0.000: foo_upnp::on_init(199)/5292: INFO: foo_upnp: version 0.99.45
foo_upnp: 0.001: PLT_UPnP::Start(150)/5292: INFO: Starting UPnP...
foo_upnp: 0.002: PLT_UPnP::Start(166)/5292: SEVERE: NPT_CHECK failed, result=-32042 (UNKNOWN) [(ips.ApplyUntil(PLT_SsdpInitMulticastIterator(socket), NPT_UntilResultNotEquals(0)))]
foo_upnp: 0.002: media_tree_root_node_t::load_ml_filters_from_file(188)/5292: INFO: file C:\Users\floyd\AppData\Roaming\foobar2000\foo_upnp_ml_tree.xml do not exists
foo_upnp: 0.002: standard_media_tree_root_node_t::load_ml_filters(579)/5292: INFO: loaded default Media Library filters
foo_upnp: initialized in 0.012s
LOAD
foo_upnp: 0.013: PLT_CtrlPoint::InspectDevice(1269)/13784: INFO: Inspecting device "fa095ecc-e13e-40e7-8e6c-3481c41e659c" detected @ http://192.168.178.1:49000/MediaServerDevDesc.xml
foo_upnp: 0.015: PLT_CtrlPoint::InspectDevice(1269)/13784: INFO: Inspecting device "95802409-bccb-40e7-8e6c-3481C41E659C" detected @ http://192.168.178.1:49000/l2tpv3.xml
foo_upnp: 0.015: PLT_CtrlPoint::InspectDevice(1269)/13784: INFO: Inspecting device "123402409-bccb-40e7-8e6c-3481C41E659C" detected @ http://192.168.178.1:49000/fboxdesc.xml
foo_upnp: 0.015: PLT_CtrlPoint::InspectDevice(1269)/13784: INFO: Inspecting device "75802409-bccb-40e7-8e6c-3481C41E659C" detected @ http://192.168.178.1:49000/igddesc.xml
foo_upnp: 0.016: PLT_CtrlPoint::InspectDevice(1269)/13784: INFO: Inspecting device "75802409-bccb-40e7-9f6c-3481C41E659C" detected @ http://192.168.178.1:49000/igd2desc.xml
foo_upnp: 0.016: PLT_CtrlPoint::InspectDevice(1269)/13784: INFO: Inspecting device "fa095ecc-e13e-40e7-8e6e-3481c41e659c" detected @ http://192.168.178.1:49000/TMediaCenterDevDesc.xml
foo_upnp: 0.017: PLT_CtrlPoint::ProcessSsdpSearchResponse(966)/13784: SEVERE: @@@ NULL pointer parameter
foo_upnp: 0.018: PLT_CtrlPoint::ProcessSsdpSearchResponse(966)/13784: SEVERE: @@@ NULL pointer parameter
Startup time : 0:00.451067
foo_upnp: 0.184: PLT_CtrlPoint::InspectDevice(1269)/9132: INFO: Inspecting device "556b0326-63f0-4740-9117-70b35bcf927c" detected @ http://127.0.0.1:2869/upnphost/udhisapi.dll?content=uuid:556b0326-63f0-4740-9117-70b35bcf927c
foo_upnp: 0.447: PLT_CtrlPoint::InspectDevice(1269)/13784: INFO: Inspecting device "BO5EBO5E-F00D-F00D-FEED-EC24B8E39517" detected @ http://192.168.178.37:8091/XD/BO5EBO5E-F00D-F00D-FEED-EC24B8E39517
foo_upnp: created 22109 path registry entries in 0.513s
foo_upnp: 0.543: PLT_CtrlPoint::ProcessGetDescriptionResponse(1394)/4608: INFO: Device "fa095ecc-e13e-40e7-8e6c-3481c41e659c" is now known as "PinkAtHome Mediaserver"
foo_upnp: 0.586: PLT_CtrlPoint::ProcessGetDescriptionResponse(1394)/7684: INFO: Device "95802409-bccb-40e7-8e6c-3481C41E659C" is now known as "PinkAtHome"
foo_upnp: 0.588: PLT_CtrlPoint::ProcessGetDescriptionResponse(1394)/12896: INFO: Device "123402409-bccb-40e7-8e6c-3481C41E659C" is now known as "FritzBox UPnP/1.0 AVM"
foo_upnp: 0.589: PLT_CtrlPoint::ProcessGetDescriptionResponse(1394)/13952: INFO: Device "75802409-bccb-40e7-9f6c-3481C41E659C" is now known as "InternetGatewayDeviceV2 - PinkAtHome"
foo_upnp: 0.589: PLT_CtrlPoint::ProcessGetDescriptionResponse(1394)/11080: INFO: Device "75802409-bccb-40e7-8e6c-3481C41E659C" is now known as "PinkAtHome"
foo_upnp: 0.590: PLT_CtrlPoint::ProcessGetDescriptionResponse(1394)/9096: INFO: Device "fa095ecc-e13e-40e7-8e6e-3481c41e659c" is now known as "MagentaCLOUD"
foo_upnp: 0.647: PLT_CtrlPoint::InspectDevice(1269)/9132: INFO: Inspecting device "12b34fa2-2482-4901-9a14-b8eebfff21db" detected @ http://127.0.0.1:2869/upnphost/udhisapi.dll?content=uuid:12b34fa2-2482-4901-9a14-b8eebfff21db
foo_upnp: 0.746: PLT_CtrlPoint::ProcessGetDescriptionResponse(1394)/400: INFO: Device "556b0326-63f0-4740-9117-70b35bcf927c" is now known as "DESKTOP-LQBAHU1"
foo_upnp: 0.747: PLT_CtrlPoint::InspectDevice(1269)/13784: INFO: Inspecting device "57476674-f20e-754b-f6bc-069bdca976c5" detected @ http://192.168.178.34:8085/XD/57476674-f20e-754b-f6bc-069bdca976c5
foo_upnp: 0.790: browser_window::OnMSAdded(832)/5292: INFO: Added new server name=PinkAtHome Mediaserver, uuid=fa095ecc-e13e-40e7-8e6c-3481c41e659c, url=http://192.168.178.1:49000/ to browser tree
foo_upnp: 0.792: PLT_CtrlPoint::CreateAction(642)/5292: SEVERE: NPT_CHECK failed, result=-1 (FAILURE) [(FindActionDesc(device, service_type, action_name, action_desc))]
foo_upnp: 0.792: PLT_MediaBrowser::GetSearchCapabilities(225)/5292: SEVERE: NPT_CHECK failed, result=-1 (FAILURE) [(m_CtrlPoint->CreateAction( device, "urn:schemas-upnp-org:service:ContentDirectory:1", "GetSearchCapabilities", action))]
foo_upnp: 0.828: browser_window::OnMSAdded(832)/5292: INFO: Added new server name=MagentaCLOUD, uuid=fa095ecc-e13e-40e7-8e6e-3481c41e659c, url=http://192.168.178.1:49000/ to browser tree
foo_upnp: 0.986: PLT_CtrlPoint::ProcessGetDescriptionResponse(1394)/13600: INFO: Device "BO5EBO5E-F00D-F00D-FEED-EC24B8E39517" is now known as "SoundTouch 10 - Musiquarium"
foo_upnp: 1.1151: PLT_CtrlPoint::ProcessGetDescriptionResponse(1394)/6184: INFO: Device "12b34fa2-2482-4901-9a14-b8eebfff21db" is now known as "DESKTOP-LQBAHU1: floydophile@hotmail.de_Desktop:"
foo_upnp: 1.1335: PLT_CtrlPoint::ProcessGetDescriptionResponse(1394)/5752: INFO: Device "57476674-f20e-754b-f6bc-069bdca976c5" is now known as "SoundTouch Music Server"
foo_upnp: 1.1347: browser_window::OnMSAdded(832)/5292: INFO: Added new server name=DESKTOP-LQBAHU1: floydophile@hotmail.de_Desktop:, uuid=12b34fa2-2482-4901-9a14-b8eebfff21db, url=http://127.0.0.1:2869/upnphost/ to browser tree
foo_upnp: 1.1701: browser_window::OnMSAdded(832)/5292: INFO: Added new server name=SoundTouch Music Server, uuid=57476674-f20e-754b-f6bc-069bdca976c5, url=http://192.168.178.34:8085/XD/ to browser tree
foo_upnp: 2.2724: PLT_CtrlPoint::InspectDevice(1269)/13784: INFO: Inspecting device "40b0f92b-6af9-2bb9-b1f0-2b096ab963da" detected @ http://192.168.178.29:8888/upnp_descriptor_0
foo_upnp: 3.3239: PLT_CtrlPoint::ProcessGetDescriptionResponse(1394)/14024: INFO: Device "40b0f92b-6af9-2bb9-b1f0-2b096ab963da" is now known as "TX-NR1007"
foo_upnp: loaded Media Library tree in 3.615s
 
Title: Re: foo_upnp
Post by: ebr9999 on 2016-07-28 18:46:26
Here what I see when I start the server (log level all). I hope it helps.
Spoiler (click to show/hide)
Title: Re: foo_upnp
Post by: floydophile on 2016-08-01 22:17:18
Here what I see when I start the server (log level all). I hope it helps.
Spoiler (click to show/hide)


Still trying to figure out whats wrong :-((

I am just wondering whether the settings of my Windows processes could be wrong. Both, the UpnP-Host and the SSDP-search Services are running as local services, to start automatically 
Title: Re: foo_upnp
Post by: ebr9999 on 2016-08-02 07:42:52
Here what I see when I start the server (log level all). I hope it helps.
Spoiler (click to show/hide)


Still trying to figure out whats wrong :-((

I am just wondering whether the settings of my Windows processes could be wrong. Both, the UpnP-Host and the SSDP-search Services are running as local services, to start automatically 
To me they are both localservice manually started. I have set anything to start them (a part the advanced sharing settings). I think you know you can restart them to check if anything changes
Title: Re: foo_upnp
Post by: floydophile on 2016-08-03 07:34:37
Here what I see when I start the server (log level all). I hope it helps.
Spoiler (click to show/hide)


Still trying to figure out whats wrong :-((

I am just wondering whether the settings of my Windows processes could be wrong. Both, the UpnP-Host and the SSDP-search Services are running as local services, to start automatically 
To me they are both localservice manually started. I have set anything to start them (a part the advanced sharing settings). I think you know you can restart them to check if anything changes

So I spent so much time on that, basically trying everything I could (incl. your suggestions), but I failed.

In the end, I decided to entirely re-install Windows (!), an option I assumed to be less time consuming and less frustrating, and now, voila, it works again.

Anyway, thanks for your help!!
Title: Re: foo_upnp
Post by: ebr9999 on 2016-08-03 13:44:51
Here what I see when I start the server (log level all). I hope it helps.
Spoiler (click to show/hide)


Still trying to figure out whats wrong :-((

I am just wondering whether the settings of my Windows processes could be wrong. Both, the UpnP-Host and the SSDP-search Services are running as local services, to start automatically 
To me they are both localservice manually started. I have set anything to start them (a part the advanced sharing settings). I think you know you can restart them to check if anything changes

So I spent so much time on that, basically trying everything I could (incl. your suggestions), but I failed.

In the end, I decided to entirely re-install Windows (!), an option I assumed to be less time consuming and less frustrating, and now, voila, it works again.

Anyway, thanks for your help!!
You are welcome. Hopefully one day somebody with your same problem will read all that and use windows re-installation as first choice!
Title: Re: foo_upnp
Post by: PaulK on 2016-09-24 12:06:53
Hello to this forum
Title: Re: foo_upnp
Post by: PaulK on 2016-09-24 12:10:22
I use the foo_upnp composant, mainly the UPnP controller. One detail bothers me: it does not keep the volume settings between to tracks. Ie, no matter how I set it, for instance 12%, when the following track begins, its playback volume is actually 100%, eventhough the glider stays on its 12% position.

Any idea of sthg I do wrong?
Or is it a known issue?

Tia and regards.
Title: Re: foo_upnp
Post by: ebr9999 on 2016-09-24 16:12:30
I don't think you are doing anything wrong. Try another controller (I suggest RCP) to check whether it is an issue with your player.
Title: Re: foo_upnp
Post by: ebr9999 on 2016-09-27 08:42:25
I use the foo_upnp composant, mainly the UPnP controller. One detail bothers me: it does not keep the volume settings between to tracks. Ie, no matter how I set it, for instance 12%, when the following track begins, its playback volume is actually 100%, eventhough the glider stays on its 12% position.

Any idea of sthg I do wrong?
Or is it a known issue?

Tia and regards.

Also done a quick test using as Player Connector 2 from Raumfeld .... No issue with volume
Title: Re: foo_upnp
Post by: goddog on 2016-10-10 21:02:45
Hello, new to this forum. Sorry if this have been asked before. I wonder if anyone knows if there is a way to get foo_upnp to show song info in the "live stream"? IE like when one playing a live stream from certain radio stations there is info in the stream about song title, artist and album.
Title: Re: foo_upnp
Post by: SonosUser on 2016-10-22 15:49:37
Hello,

I am trying to browse my foobar library in Sonos with foo_upnp. It works very well, except for one thing: I can only add the tracks one by one. Impossible to queue an entire album for instance. I am missing the "Play all" option. This is something I manage to do with all other upnp/dlna softs (eg WMP, spotify or google music) but not with foobar/foo_upnp. Any idea?
Title: Re: foo_upnp
Post by: ebr9999 on 2016-10-22 17:20:49
I thought Sonos was quite limited in term of other media server browsing (i.e. only a couple officially supported).
I have tried foo_upnp with my Viera TV and Raunfeld Connector: No problem with playing album.
Title: Re: foo_upnp
Post by: SonosUser on 2016-10-22 21:32:38
I thought Sonos was quite limited in term of other media server browsing (i.e. only a couple officially supported).
I have tried foo_upnp with my Viera TV and Raunfeld Connector: No problem with playing album.

I agree there are limitations with Sonos and DLNA. However Sonos IS able in this case to see the foobar server, I can browse my library perfectly but for some reason cannot send a whole album or artist to Sonos which is quite frustrating... Anything I could do about that?
Title: Re: foo_upnp
Post by: ebr9999 on 2016-10-23 00:01:34
I am afraid there are some DLNA server they support ... Quite difficult you can ask fixes over other ones not in their list.
I understand it is frustrating, but I see no way,
Title: Re: foo_upnp
Post by: junagel on 2016-10-27 17:53:55
Hello , I´m using foorbar as controlpoint for LINN DSM.
Since Davaar 50 the only device available in foobar is LINN:UpnpAv, so gapless streaming is not possible anymore.
Controlpoint KAZOO is working fine, device playlist is still available.
Has anyone the same problems?
Title: Re: foo_upnp
Post by: andre_sy on 2016-10-28 16:10:43
Yes, I have the same issue on an Akurate DS :  since the Davaar 50, the LINN:Playlist is no more available. And the situation remains  the same with the last version of Davaar (version 52). It's not only that the gapless streaming is no more available, but the quality of the sound is better when we use the "playlist" option on a LINN DS. And why not using KAZOO ? Because the search functionality in KAZOO is pretty limited.
Title: Re: foo_upnp
Post by: grimson on 2016-10-30 21:17:11
Hello,

Unfortunately, my new DENON X4300H Receiver cannot be used as an uPNP output device
My replaced Denon AVR-3311 could be used as a output device so I attached (i think) the uPNP capabilities of the X4300H.
I think it's missing the <serviceType>urn:schemas-upnp-org:service:RenderingControl:1</serviceType>.
Can someone verify or point me in the right directions to verify this for me?
Thanks!
Title: Re: foo_upnp
Post by: haseluenne on 2016-11-02 22:04:46
Hi together,
first i would like to thank for the nice plugin!

Im using a Synology NAS and a pioneer network audio player N-50A. I'm using my laptop on my sofa to control all the music stuff.

While using the software, I encountered the following questions:

1.) Right click
I have several playlist (ordered by format (flac), genre etc.). I just want to double click on a song and listen to it, how is this possible? This right-click--> upnp controller --> Play on N-50A is kinda annoying. When i double click on a song, it plays it through my laptop speakers.

2.) playlists
I just want to choose a song out of my already existing playlists, double click on it and let it play, like if there is a soundcard connected. If the song has ended, it should play the next one. Why this special Controller Playback queue? I already have playlists!

3.) cover art on player This could be an error in the software or in my config, I don't know. I have mostly flac files and a folder.jpg cover art inside the corresponding album folder. When I play a file from my NAS via my "Y:\" network drive, foobar´2k as well as the Pioneer shows the cover art (in it's display). When I play the same piece via the UPnP browser, foobar shows the cover, but the cover icon on the Pioneer stays blank. It not even shows the default "music note"-icon, when it does not have any cover art present. It's a plain black area. Checkboxes regarding upnp cover art stuff in the Config are all checked.


Thanks for your ideas!
Title: Re: foo_upnp
Post by: erogegarden on 2016-11-25 14:33:11
Hey, I'm kinda new to both this forum and foobar, audio processing and so on.

Me and a friend played around with a discord bot we wrote in c# and got a stream working using your plugin for foobar.
Now we'd really like to know how to access whats currently playing and also the current album art via the media server.

Is there a way to do that ?

Regards, Eroge
Title: Re: foo_upnp
Post by: kode54 on 2016-11-28 03:28:56
Hi, I'm brand new to Foobar having installed it purely for its Playback Stream Capture function. I've been disapointed to see that when streaming, my music player (a Roberts 83i) does not display ID3 tag info. It simply says Title: Foobar2000 Playback Stream Capture, Artist: Foobar2000

Is it possible to have the correct artist & title info displayed when in stream capture mode. The tags are displayed correctly in normal uPnP mode but I have other issues with uPnP playback - namely the Roberts freezes up all the time when trying to load tracks (this happens with WMP, Twonky, TVersity as well as Foobar). But it plays fine all day long with Foobar and Playback Stream Capture, but with no artist, title info.

Any ideas??

Thanks

Repeating this for a friend, since it seems to have gone ignored.
Title: Re: foo_upnp
Post by: Michael Sargent on 2016-11-28 14:52:38
I'm using foobar2000 upnp as a controller.  It seems to impose its own sort order on the library.  This is a nuisance.  I've spent quite a bit of time getting my server to deliver the library list in the order I want, only for foobar to change it.

Is there a way to turn off foobar's own sorting of such lists?

I didn't see a  response to this.

Is there a way to turn of sorting? AssetUPnP already returns the results in the correct order, and the sorting just messes things up.

Thanks,
Mike
Title: Re: foo_upnp
Post by: MojoBass on 2016-11-29 19:35:11
Also done a quick test using as Player Connector 2 from Raumfeld .... No issue with volume
Hello ebr9999,
I try to use Raumfeld Connector2 as Renderer for Foobar with foo_upnp. I want to use playback stream capture, which works well for one title, but gets disconnected ('stopped') usually when switching to next title in playlist (not really reproducable, somtimes runs for 3/4 titles).
I did not change the standard settings of foo_upnp, so strem capture runs with wav and 44,1 kHz.
Do you see the same issue with Connector 2. Or any suggestion for a fix of this behavoiur?
Thanks,
MojoBass
Title: Re: foo_upnp
Post by: Case on 2016-12-03 10:09:40
Sorry to bring bad news but bubbleguuum has said this project is abandoned.
Title: Re: foo_upnp
Post by: grimson on 2016-12-04 16:22:20
Sorry to bring bad news but bubbleguuum has said this project is abandoned.
Unfortunately but thanks for the info!
Title: Re: foo_upnp
Post by: alb_qwerti on 2017-06-26 16:20:04
Hi everybody, this is my first post.
I don't know if this topic has stil some interest (last post more than a year ago) but I make a try because I can't make the thing working even if normally should work.
My aim is simply to play Foobar2000 from my main Windows XP desktop to a DLNA receiver in the kitchen through the wifi network.
The receiver is a DLink Music Everywhere DCH M225, is in the same wifi network and is perfectly running AirPlay and DLNA from a mobile phone. I configured foo_upnp as described on Bubbleguuum main site and as in other internet pages.
Many thanks for the support if still someone use this software.
Alberto
Title: Re: foo_upnp
Post by: MojoBass on 2017-06-27 08:04:26
Did you try foo_upnp_out, see here (https://hydrogenaud.io/index.php/topic,98370.0.html)? Works well for me.
Title: Re: foo_upnp
Post by: alb_qwerti on 2017-06-27 08:19:28
Hi, I tried it but it is different in design.

It's only an output to another device, not a real server.
Anyway it didn't work too, there was an errore message. Today I'll try again and I let you know.
Maybe there are some ports to open in the router?

Thanks,
Alberto
Title: Re: foo_upnp
Post by: bmcelvan on 2017-07-03 16:59:29
Hi, I'm not sure if this goes here or in tech support (where I've also posted this). Can someone please tell me and I'll delete accordingly.

I am wondering if there is code that can be used in the foo_upnp_ml_tree.xml file that will essentially not display any mp3 files if there is a flac file of the same song with the same tag and/or same file me (obviously except for the extension).

I have two folders for my music. My (mostly portable) mp3/lossy folder that contains all of the music that I own and my archive quality flac folder (mostly from my Audio CD rips). Over the last 15 years however I have accumulated many mp3s that I don't have a flac for through various purchases, etc.

I'd like to be able to add both folders to my music library however in specific cases, like when playing a genre (I have made a custom "Ben's Hits" genre with about 2100 songs) I'd like to be able to weed out the mp3s if there is a high quality version available. In this specific case it'll keep my "Bens Hits" genre at 2100 versus about 3200 if both copies are included.

My current genre .xml code:

</SubTree>
   <SubTree label="Genres ALL TRACKS">
      <spec type="object.container.genre.musicGenre">%&lt;genre&gt;%</spec>
   </SubTree>

&

<SubTree label="Genres (Artist)">
      <spec type="object.container.genre.musicGenre">%&lt;genre&gt;%</spec>
      <spec type="object.container.person.musicArtist">%artist%</spec>
      <spec type="object.container.album.musicAlbum">%album%</spec>
Title: Re: foo_upnp
Post by: bmcelvan on 2017-07-15 00:31:43
Hi, I tried it but it is different in design.

It's only an output to another device, not a real server.
Anyway it didn't work too, there was an errore message. Today I'll try again and I let you know.
Maybe there are some ports to open in the router?

Thanks,
Alberto

Alberto...did you ever get this working? A way to check if it is working is setup the server on one PC and then use foobar on another PC to see if you can find the server and play music on the 2nd PC from the 1st foobar music server. Or use the foobar app on an android phone...that will work too. That way you'll know that the foo_upnp server is working before you try to diagnose the DLink.

I personally use the BubbleuPnp app on my phone to play music (and everything else) on my phone or even stream thru my phone from the server to my phone to another destination like my smart TV, my 7.1 receiver connected to my home theater, other computers, my bluray players, etc.

I think there is a free version of BubbleUpnp that you can test out on at least a few songs.
Title: Re: foo_upnp
Post by: yahya69 on 2017-08-27 07:29:30
I try to use the component in order to stream onto Libratone Zipp device. It seems to work only for formats directly supported by the devince which unfortunately does not support ogg.

Actually, transcoding to mp3 is enabled in the config and it does work when streaming to other renderers, but for some strange reason, I can't get it to work with my Libratone zip (which does however work with other servers such as bubble UPN, also it plays the transcoded http stream from mpd just fine)

Here is the log file:

0.001: foo_upnp::on_init(199)/13532: INFO: foo_upnp: version 0.99.49
0.004: PLT_UPnP::Start(150)/13532: INFO: Starting UPnP...
0.006: media_tree_root_node_t::load_ml_filters_from_file(189)/13532: INFO: file C:\Users\jr\AppData\Roaming\foobar2000\foo_upnp_ml_tree.xml do not exists
0.006: standard_media_tree_root_node_t::load_ml_filters(595)/13532: INFO: loaded default Media Library filters
0.008: PLT_UPnP::AddDevice(224)/13532: INFO: Starting Device...
0.009: PLT_HttpServer::Start(127)/13532: INFO: HttpServer listening on 0.0.0.0:56923
0.012: PLT_UPnP::AddDevice(224)/13532: INFO: Starting Device...
0.013: PLT_HttpServer::Start(127)/13532: INFO: HttpServer listening on 0.0.0.0:1060
initialized in 0.029s
created 7012 path registry entries in 0.125s
0.336: FbMediaServer::CheckAuthentication(401)/10000: INFO: received LAN request: http://192.168.30.23:56923/DeviceDescription.xml (User-Agent: AVM UPnP/1.0 Client 1.0)
0.347: FbMediaServer::CheckAuthentication(401)/11628: INFO: received LAN request: http://192.168.30.23:56923/ContentDirectory/38fb1eca-b337-6b39-a27f-26ea36254941/scpd.xml (User-Agent: AVM UPnP/1.0 Client 1.0)
0.365: FbMediaServer::CheckAuthentication(401)/10500: INFO: received LAN request: http://192.168.30.23:56923/ConnectionManager/38fb1eca-b337-6b39-a27f-26ea36254941/scpd.xml (User-Agent: AVM UPnP/1.0 Client 1.0)
0.379: FbMediaServer::CheckAuthentication(401)/6080: INFO: received LAN request: http://192.168.30.23:56923/X_MS_MediaReceiverRegistrar/38fb1eca-b337-6b39-a27f-26ea36254941/scpd.xml (User-Agent: AVM UPnP/1.0 Client 1.0)
0.393: FbMediaServer::CheckAuthentication(401)/18824: INFO: received LAN request: http://192.168.30.23:56923/Control/38fb1eca-b337-6b39-a27f-26ea36254941/scpd.xml (User-Agent: AVM UPnP/1.0 Client 1.0)
loaded Media Library tree in 0.703s
27.27800: controller_window::set_track_info_string(1112)/13532: INFO: track info display:
27.27800: PLT_UPnP::AddCtrlPoint(266)/13532: INFO: Starting Ctrlpoint...
27.27801: PLT_HttpServer::Start(127)/13532: INFO: HttpServer listening on 0.0.0.0:1082
27.27806: PLT_CtrlPoint::InspectDevice(1269)/3096: INFO: Inspecting device "4d696e69-444c-164e-9d41-b827ebb0ac65" detected @ http://192.168.30.2:8200/rootDesc.xml
27.27806: PLT_CtrlPoint::InspectDevice(1269)/3096: INFO: Inspecting device "4cfdd855-67fd-480d-9147-632c3a9d7153" detected @ http://10.8.0.1:49153/description.xml
27.27807: PLT_CtrlPoint::InspectDevice(1269)/3096: INFO: Inspecting device "95802409-bccb-40e7-8e6c-C80E144F5BF8" detected @ http://192.168.30.1:49000/l2tpv3.xml
27.27807: PLT_CtrlPoint::InspectDevice(1269)/3096: INFO: Inspecting device "123402409-bccb-40e7-8e6c-C80E144F5BF8" detected @ http://192.168.30.1:49000/fboxdesc.xml
27.27808: PLT_CtrlPoint::InspectDevice(1269)/3096: INFO: Inspecting device "75802409-bccb-40e7-8e6c-C80E144F5BF8" detected @ http://192.168.30.1:49000/igddesc.xml
27.27810: PLT_CtrlPoint::InspectDevice(1269)/3096: INFO: Inspecting device "75802409-bccb-40e7-9f6c-C80E144F5BF8" detected @ http://192.168.30.1:49000/igd2desc.xml
27.27998: PLT_CtrlPoint::InspectDevice(1269)/3096: INFO: Inspecting device "3e5d42cf-9370-4fba-a07e-030a61a85517" detected @ http://192.168.30.98:49152/description.xml
28.28321: PLT_CtrlPoint::ProcessGetDescriptionResponse(1394)/19384: INFO: Device "4cfdd855-67fd-480d-9147-632c3a9d7153" is now known as "Mediatomb"
28.28364: PLT_CtrlPoint::ProcessGetDescriptionResponse(1394)/9988: INFO: Device "95802409-bccb-40e7-8e6c-C80E144F5BF8" is now known as "Digitalsarg"
28.28366: PLT_CtrlPoint::ProcessGetDescriptionResponse(1394)/13320: INFO: Device "4d696e69-444c-164e-9d41-b827ebb0ac65" is now known as "ReadyMedia auf Raspberrypi"
28.28368: PLT_CtrlPoint::ProcessGetDescriptionResponse(1394)/16144: INFO: Device "75802409-bccb-40e7-8e6c-C80E144F5BF8" is now known as "Digitalsarg"
28.28370: PLT_CtrlPoint::ProcessGetDescriptionResponse(1394)/12576: INFO: Device "75802409-bccb-40e7-9f6c-C80E144F5BF8" is now known as "InternetGatewayDeviceV2 - Digitalsarg"
28.28378: PLT_CtrlPoint::ProcessGetDescriptionResponse(1394)/16524: INFO: Device "123402409-bccb-40e7-8e6c-C80E144F5BF8" is now known as "Digitalsarg"
28.28443: LinnDsRendererController::Create(117)/13532: INFO: couldn't find urn:av-openhome-org:service:Product:1 service
28.28513: LinnDsRendererController::Create(117)/13532: INFO: couldn't find urn:av-openhome-org:service:Product:1 service
28.28528: LinnDsRendererController::Create(117)/13532: INFO: couldn't find urn:av-openhome-org:service:Product:1 service
28.28529: PLT_CtrlPoint::ProcessGetDescriptionResponse(1394)/9844: INFO: Device "3e5d42cf-9370-4fba-a07e-030a61a85517" is now known as "Heikes Lauti"
28.28541: LinnDsRendererController::Create(117)/13532: INFO: couldn't find urn:av-openhome-org:service:Product:1 service
28.28704: LinnDsRendererController::Create(117)/13532: INFO: couldn't find urn:av-openhome-org:service:Product:1 service
28.28704: RendererController::Create(25)/13532: INFO: Created UPnPAv Controller for device: Heikes Lauti
31.31163: PLT_CtrlPoint::InspectDevice(1269)/18772: INFO: Inspecting device "bdbb0834-469f-4e64-a8a6-63768bf6653a" detected @ http://127.0.0.1:2869/upnphost/udhisapi.dll?content=uuid:bdbb0834-469f-4e64-a8a6-63768bf6653a
31.31675: PLT_CtrlPoint::ProcessGetDescriptionResponse(1394)/5980: INFO: Device "bdbb0834-469f-4e64-a8a6-63768bf6653a" is now known as "TOMMY"
31.31786: LinnDsRendererController::Create(117)/13532: INFO: couldn't find urn:av-openhome-org:service:Product:1 service
32.32211: controller_window::set_track_info_string(1112)/13532: INFO: track info display: Stopped
32.32211: PLT_CtrlPoint::Subscribe(1562)/13532: INFO: Subscribing to service "urn:upnp-org:serviceId:RenderingControl" of device "Heikes Lauti"
32.32218: PLT_CtrlPoint::ProcessSubscribeResponse(1666)/17148: INFO: Creating new subscriber "uuid:795f126c-1dd2-11b2-8f76-d9f3c7015134" for service "urn:upnp-org:serviceId:RenderingControl" of device "Heikes Lauti" (timeout = 300)
32.32226: UPnPAVRendererController::OnEventNotifyCallback(413)/13532: INFO: <<<< Heikes Lauti: EVENT Volume=40
32.32227: UPnPAVRendererController::OnEventNotifyCallback(413)/13532: INFO: <<<< Heikes Lauti: EVENT Mute=0
32.32227: UPnPAVRendererController::OnEventNotifyCallback(413)/13532: INFO: <<<< Heikes Lauti: EVENT PresetNameList=FactoryDefaults
32.32235: UPnPAVRendererController::set_transport_state(232)/13532: INFO: No local playing item
32.32235: controller_window::set_track_info_string(1112)/13532: INFO: track info display: Stopped
41.41752: RendererController::GetNearestResource(188)/13532: INFO: matching resource url to target ip 192.168.30.98: http://192.168.30.23:56923/content/5dd0e90ac53f19019ca1570895fcdc81.mp3?profile_id=0&convert=mp3
41.41773: FbMediaServer::CheckAuthentication(401)/15732: INFO: received LAN request: http://192.168.30.23:56923/content/5dd0e90ac53f19019ca1570895fcdc81.mp3?profile_id=0&convert=mp3 (User-Agent: Lavf/55.19.104)
41.41773: PLT_HttpHelper::ToLog(432)/15732: INFO: FbMediaServer::ProcessFileRequest
GET /content/5dd0e90ac53f19019ca1570895fcdc81.mp3?profile_id=0&convert=mp3 HTTP/1.1
User-Agent: Lavf/55.19.104
Accept: */*
Connection: close
Host: 192.168.30.23:56923
transferMode.dlna.org: Streaming

46.46859: upnp_server_conf::get_profile(943)/15732: INFO: using default profile (User-Agent:Lavf/55.19.104)
opened 'file://H:\data\music\Achim Reichel\Regenballade\09 John Maynard.ogg' for streaming, profile: Default, MP3 / VBR -V2, replaygain: off, DSP chain: off
46.46862: PLT_HttpServerSocketTask::Write(465)/15732: WARNING: NPT_CHECK failed, result=-20401 (NPT_ERROR_CONNECTION_ABORTED) [(SendResponseBody(response, *output_stream, abort))]
51.51323: PLT_CtrlPoint::Subscribe(1588)/13532: INFO: Unsubscribing subscriber "uuid:795f126c-1dd2-11b2-8f76-d9f3c7015134" for service "urn:upnp-org:serviceId:RenderingControl" of device "Heikes Lauti"
51.51324: PLT_SsdpSearchTask::DoRun(484)/3096: WARNING: PLT_SsdpSearchTask got an error (-20021) waiting for response
51.51324: PLT_SsdpSearchTask::DoRun(484)/18772: WARNING: PLT_SsdpSearchTask got an error (-20021) waiting for response
52.52279: PLT_HttpListenTask::DoRun(491)/16856: WARNING: PLT_HttpListenTask exiting with -20021 (NPT_ERROR_CANCELLED)
52.52281: PLT_UPnP::Stop(191)/13532: INFO: Stopping UPnP...
52.52332: PLT_HttpListenTask::DoRun(491)/10492: WARNING: PLT_HttpListenTask exiting with -20021 (NPT_ERROR_CANCELLED)
52.52440: PLT_HttpListenTask::DoRun(491)/1276: WARNING: PLT_HttpListenTask exiting with -20021 (NPT_ERROR_CANCELLED)
52.52459: PLT_HttpServerSocketTask::Read(195)/6092: WARNING: NPT_CHECK failed, result=-20021 (NPT_ERROR_CANCELLED) [(res)]


It seems that "NPT_CHECK failed, result=-20401 " is where things start going wrong, but I hav no idea what it means and what I can do about it. Can someone drop me a hint?
Title: Re: foo_upnp
Post by: yahya69 on 2017-08-27 07:45:02
For comparison, I have inspected the log of a successful streaming to another device, and it still says "NPT_CHECK failed" and "NPT_ERROR_CANCELLED". Here is end of the file. It looks quite similar, only that in this case, playback actually works.


76.76547: upnp_server_conf::get_profile(943)/13044: INFO: using default profile (User-Agent:Kodi/17.3 (X11; Linux armv7l) LibreELEC/8.0 HW_RaspberryPi/1.0 App_Bitness/32 Version/17.3-Git:147cec4)
opened 'file://H:\data\music\Achim Reichel\Regenballade\04 Regenballade.ogg' for streaming, profile: Default, MP3 / VBR -V2, replaygain: off, DSP chain: off
76.76560: controller_window::set_track_info_string(1112)/9108: INFO: track info display: Achim Reichel - John Maynard | MP3 | ? kbps | ? Hz
76.76622: controller_window::set_track_info_string(1112)/9108: INFO: track info display: Achim Reichel - John Maynard | MP3 | ? kbps | ? Hz
77.77681: controller_window::set_track_info_string(1112)/9108: INFO: track info display: Achim Reichel - Regenballade | MP3 | ? kbps | ? Hz
78.78498: FbMediaServer::OnAction(295)/17760: INFO: received action 'Browse', args = { ObjectID=0/1/0, BrowseFlag=BrowseDirectChildren, Filter=res@resolution,res@nrAudioChannels,res@sampleFrequency,res@bitrate,dc:creator,res@dlna:cleartextSize,dc:date,upnp:genre,res,res@duration,res@size,upnp:albumArtURI,upnp:originalTrackNumber,upnp:album,upnp:artist,upnp:author, StartingIndex=570, RequestedCount=30, SortCriteria= }
78.78498: upnp_server_conf::get_profile(943)/17760: INFO: using default profile (User-Agent:Linux/3.16.0-61.beehive4tv.3 UPnP/1.0 LGE WebOS TV LGE_DLNA_SDK/1.6.0/04.05.56 DLNADOC/1.50)
78.78500: FbMediaServer::OnAction(323)/17760: INFO: action 'Browse' response: args = { ObjectID=0/1/0, BrowseFlag=BrowseDirectChildren, Filter=res@resolution,res@nrAudioChannels,res@sampleFrequency,res@bitrate,dc:creator,res@dlna:cleartextSize,dc:date,upnp:genre,res,res@duration,res@size,upnp:albumArtURI,upnp:originalTrackNumber,upnp:album,upnp:artist,upnp:author, StartingIndex=570, RequestedCount=30, SortCriteria=, NumberReturned=30, TotalMatches=862, UpdateID=0 }
78.78738: controller_window::set_track_info_string(1112)/9108: INFO: track info display: Achim Reichel - Regenballade | MP3 | ? kbps | ? Hz
79.79794: controller_window::set_track_info_string(1112)/9108: INFO: track info display: Achim Reichel - Regenballade | MP3 | ? kbps | ? Hz
80.80851: controller_window::set_track_info_string(1112)/9108: INFO: track info display: Achim Reichel - Regenballade | MP3 | ? kbps | ? Hz
81.81544: FbMediaServer::OnAction(295)/6724: INFO: received action 'Browse', args = { ObjectID=0/1/0, BrowseFlag=BrowseDirectChildren, Filter=res@resolution,res@nrAudioChannels,res@sampleFrequency,res@bitrate,dc:creator,res@dlna:cleartextSize,dc:date,upnp:genre,res,res@duration,res@size,upnp:albumArtURI,upnp:originalTrackNumber,upnp:album,upnp:artist,upnp:author, StartingIndex=600, RequestedCount=30, SortCriteria= }
81.81545: upnp_server_conf::get_profile(943)/6724: INFO: using default profile (User-Agent:Linux/3.16.0-61.beehive4tv.3 UPnP/1.0 LGE WebOS TV LGE_DLNA_SDK/1.6.0/04.05.56 DLNADOC/1.50)
81.81547: FbMediaServer::OnAction(323)/6724: INFO: action 'Browse' response: args = { ObjectID=0/1/0, BrowseFlag=BrowseDirectChildren, Filter=res@resolution,res@nrAudioChannels,res@sampleFrequency,res@bitrate,dc:creator,res@dlna:cleartextSize,dc:date,upnp:genre,res,res@duration,res@size,upnp:albumArtURI,upnp:originalTrackNumber,upnp:album,upnp:artist,upnp:author, StartingIndex=600, RequestedCount=30, SortCriteria=, NumberReturned=30, TotalMatches=862, UpdateID=0 }
81.81905: controller_window::set_track_info_string(1112)/9108: INFO: track info display: Achim Reichel - Regenballade | MP3 | ? kbps | ? Hz
82.82963: controller_window::set_track_info_string(1112)/9108: INFO: track info display: Achim Reichel - Regenballade | MP3 | ? kbps | ? Hz
84.84021: controller_window::set_track_info_string(1112)/9108: INFO: track info display: Achim Reichel - Regenballade | MP3 | ? kbps | ? Hz
84.84610: FbMediaServer::OnAction(295)/17760: INFO: received action 'Browse', args = { ObjectID=0/1/0, BrowseFlag=BrowseDirectChildren, Filter=res@resolution,res@nrAudioChannels,res@sampleFrequency,res@bitrate,dc:creator,res@dlna:cleartextSize,dc:date,upnp:genre,res,res@duration,res@size,upnp:albumArtURI,upnp:originalTrackNumber,upnp:album,upnp:artist,upnp:author, StartingIndex=630, RequestedCount=30, SortCriteria= }
84.84611: upnp_server_conf::get_profile(943)/17760: INFO: using default profile (User-Agent:Linux/3.16.0-61.beehive4tv.3 UPnP/1.0 LGE WebOS TV LGE_DLNA_SDK/1.6.0/04.05.56 DLNADOC/1.50)
84.84613: FbMediaServer::OnAction(323)/17760: INFO: action 'Browse' response: args = { ObjectID=0/1/0, BrowseFlag=BrowseDirectChildren, Filter=res@resolution,res@nrAudioChannels,res@sampleFrequency,res@bitrate,dc:creator,res@dlna:cleartextSize,dc:date,upnp:genre,res,res@duration,res@size,upnp:albumArtURI,upnp:originalTrackNumber,upnp:album,upnp:artist,upnp:author, StartingIndex=630, RequestedCount=30, SortCriteria=, NumberReturned=30, TotalMatches=862, UpdateID=0 }
85.85076: controller_window::set_track_info_string(1112)/9108: INFO: track info display: Achim Reichel - Regenballade | MP3 | ? kbps | ? Hz
86.86134: controller_window::set_track_info_string(1112)/9108: INFO: track info display: Achim Reichel - Regenballade | MP3 | ? kbps | ? Hz
86.86650: FbMediaServer::OnAction(295)/6724: INFO: received action 'Browse', args = { ObjectID=0/1/0, BrowseFlag=BrowseDirectChildren, Filter=res@resolution,res@nrAudioChannels,res@sampleFrequency,res@bitrate,dc:creator,res@dlna:cleartextSize,dc:date,upnp:genre,res,res@duration,res@size,upnp:albumArtURI,upnp:originalTrackNumber,upnp:album,upnp:artist,upnp:author, StartingIndex=660, RequestedCount=30, SortCriteria= }
86.86650: upnp_server_conf::get_profile(943)/6724: INFO: using default profile (User-Agent:Linux/3.16.0-61.beehive4tv.3 UPnP/1.0 LGE WebOS TV LGE_DLNA_SDK/1.6.0/04.05.56 DLNADOC/1.50)
86.86653: FbMediaServer::OnAction(323)/6724: INFO: action 'Browse' response: args = { ObjectID=0/1/0, BrowseFlag=BrowseDirectChildren, Filter=res@resolution,res@nrAudioChannels,res@sampleFrequency,res@bitrate,dc:creator,res@dlna:cleartextSize,dc:date,upnp:genre,res,res@duration,res@size,upnp:albumArtURI,upnp:originalTrackNumber,upnp:album,upnp:artist,upnp:author, StartingIndex=660, RequestedCount=30, SortCriteria=, NumberReturned=30, TotalMatches=862, UpdateID=0 }
87.87194: controller_window::set_track_info_string(1112)/9108: INFO: track info display: Achim Reichel - Regenballade | MP3 | ? kbps | ? Hz
88.88249: controller_window::set_track_info_string(1112)/9108: INFO: track info display: Achim Reichel - Regenballade | MP3 | ? kbps | ? Hz
89.89305: controller_window::set_track_info_string(1112)/9108: INFO: track info display: Achim Reichel - Regenballade | MP3 | ? kbps | ? Hz
89.89706: FbMediaServer::OnAction(295)/17760: INFO: received action 'Browse', args = { ObjectID=0/1/0, BrowseFlag=BrowseDirectChildren, Filter=res@resolution,res@nrAudioChannels,res@sampleFrequency,res@bitrate,dc:creator,res@dlna:cleartextSize,dc:date,upnp:genre,res,res@duration,res@size,upnp:albumArtURI,upnp:originalTrackNumber,upnp:album,upnp:artist,upnp:author, StartingIndex=690, RequestedCount=30, SortCriteria= }
89.89706: upnp_server_conf::get_profile(943)/17760: INFO: using default profile (User-Agent:Linux/3.16.0-61.beehive4tv.3 UPnP/1.0 LGE WebOS TV LGE_DLNA_SDK/1.6.0/04.05.56 DLNADOC/1.50)
89.89709: FbMediaServer::OnAction(323)/17760: INFO: action 'Browse' response: args = { ObjectID=0/1/0, BrowseFlag=BrowseDirectChildren, Filter=res@resolution,res@nrAudioChannels,res@sampleFrequency,res@bitrate,dc:creator,res@dlna:cleartextSize,dc:date,upnp:genre,res,res@duration,res@size,upnp:albumArtURI,upnp:originalTrackNumber,upnp:album,upnp:artist,upnp:author, StartingIndex=690, RequestedCount=30, SortCriteria=, NumberReturned=30, TotalMatches=862, UpdateID=0 }
90.90359: controller_window::set_track_info_string(1112)/9108: INFO: track info display: Achim Reichel - Regenballade | MP3 | ? kbps | ? Hz
submitted statistics for 'file://H:\data\music\Achim Reichel\Regenballade\04 Regenballade.ogg'
91.91451: controller_window::set_track_info_string(1112)/9108: INFO: track info display: Achim Reichel - Regenballade | MP3 | ? kbps | ? Hz
92.92506: controller_window::set_track_info_string(1112)/9108: INFO: track info display: Achim Reichel - Regenballade | MP3 | ? kbps | ? Hz
92.92754: FbMediaServer::OnAction(295)/6724: INFO: received action 'Browse', args = { ObjectID=0/1/0, BrowseFlag=BrowseDirectChildren, Filter=res@resolution,res@nrAudioChannels,res@sampleFrequency,res@bitrate,dc:creator,res@dlna:cleartextSize,dc:date,upnp:genre,res,res@duration,res@size,upnp:albumArtURI,upnp:originalTrackNumber,upnp:album,upnp:artist,upnp:author, StartingIndex=720, RequestedCount=30, SortCriteria= }
92.92755: upnp_server_conf::get_profile(943)/6724: INFO: using default profile (User-Agent:Linux/3.16.0-61.beehive4tv.3 UPnP/1.0 LGE WebOS TV LGE_DLNA_SDK/1.6.0/04.05.56 DLNADOC/1.50)
92.92763: FbMediaServer::OnAction(323)/6724: INFO: action 'Browse' response: args = { ObjectID=0/1/0, BrowseFlag=BrowseDirectChildren, Filter=res@resolution,res@nrAudioChannels,res@sampleFrequency,res@bitrate,dc:creator,res@dlna:cleartextSize,dc:date,upnp:genre,res,res@duration,res@size,upnp:albumArtURI,upnp:originalTrackNumber,upnp:album,upnp:artist,upnp:author, StartingIndex=720, RequestedCount=30, SortCriteria=, NumberReturned=30, TotalMatches=862, UpdateID=0 }
93.93563: controller_window::set_track_info_string(1112)/9108: INFO: track info display: Achim Reichel - Regenballade | MP3 | ? kbps | ? Hz
94.94457: UPnPAVRendererController::set_transport_state(232)/9108: INFO: No local playing item
94.94458: controller_window::set_track_info_string(1112)/9108: INFO: track info display: Stopped
95.95982: FbMediaServer::OnAction(295)/17760: INFO: received action 'Browse', args = { ObjectID=0/1/0, BrowseFlag=BrowseDirectChildren, Filter=res@resolution,res@nrAudioChannels,res@sampleFrequency,res@bitrate,dc:creator,res@dlna:cleartextSize,dc:date,upnp:genre,res,res@duration,res@size,upnp:albumArtURI,upnp:originalTrackNumber,upnp:album,upnp:artist,upnp:author, StartingIndex=750, RequestedCount=30, SortCriteria= }
95.95983: upnp_server_conf::get_profile(943)/17760: INFO: using default profile (User-Agent:Linux/3.16.0-61.beehive4tv.3 UPnP/1.0 LGE WebOS TV LGE_DLNA_SDK/1.6.0/04.05.56 DLNADOC/1.50)
95.95991: FbMediaServer::OnAction(323)/17760: INFO: action 'Browse' response: args = { ObjectID=0/1/0, BrowseFlag=BrowseDirectChildren, Filter=res@resolution,res@nrAudioChannels,res@sampleFrequency,res@bitrate,dc:creator,res@dlna:cleartextSize,dc:date,upnp:genre,res,res@duration,res@size,upnp:albumArtURI,upnp:originalTrackNumber,upnp:album,upnp:artist,upnp:author, StartingIndex=750, RequestedCount=30, SortCriteria=, NumberReturned=30, TotalMatches=862, UpdateID=0 }
97.97481: PLT_CtrlPoint::Subscribe(1588)/9108: INFO: Unsubscribing subscriber "uuid:a68f68c6-c73c-852e-b68c-f443a13d0f6a" for service "urn:upnp-org:serviceId:RenderingControl" of device "Kodi (LibreELEC)"
97.97682: PLT_HttpListenTask::DoRun(491)/19068: WARNING: PLT_HttpListenTask exiting with -20021 (NPT_ERROR_CANCELLED)
97.97684: PLT_UPnP::Stop(191)/9108: INFO: Stopping UPnP...
97.97785: PLT_HttpListenTask::DoRun(491)/17624: WARNING: PLT_HttpListenTask exiting with -20021 (NPT_ERROR_CANCELLED)
97.97787: PLT_HttpServerSocketTask::Read(195)/6724: WARNING: NPT_CHECK failed, result=-20021 (NPT_ERROR_CANCELLED) [(res)]
97.97787: PLT_HttpServerSocketTask::Read(195)/17760: WARNING: NPT_CHECK failed, result=-20021 (NPT_ERROR_CANCELLED) [(res)]
97.97950: PLT_HttpListenTask::DoRun(491)/1296: WARNING: PLT_HttpListenTask exiting with -20021 (NPT_ERROR_CANCELLED)
97.97972: PLT_HttpServerSocketTask::Read(195)/17996: WARNING: NPT_CHECK failed, result=-20021 (NPT_ERROR_CANCELLED) [(res)]
Title: Re: foo_upnp
Post by: sonci on 2017-09-09 15:45:53
Hi,
Does anybody have an old version of this plugin? I stream to a Sony device that supports most of the playback formats, but even if configured to not convert or transcode, it still convert ape or dsd files to lpcm. I remember streaming native dsd iso with the old version of the plugin..
Title: Re: foo_upnp
Post by: Steve Forte Rio on 2017-09-10 17:22:00
Does anyone know why my UPNP server is not seen from other foobar2000 installations on my local network computers? Computer discovering is enabled, UPNP service is enabled. What could be the problem?
Title: Re: foo_upnp
Post by: wharfinger on 2017-09-24 15:56:12
Hello everybody
I set up my foobar2000 with foo_upnp for streaming and downloading over the internet to foobar2000 mobile on my phone. The connection and navigation works fine but there are a few problems I couldn't fix:

The streaming profile is set to: transcode 'never' only if lossless. So if I'm on my phone and want to download a M4A track foobar2000 on my PC would convert the track to WAV.
If it is lossless, the track would be converted to MP3. Just like it set it up. But why is the M4A track converted to WAV at all?
So I set it to: transcode 'always'. This means that FLAC or ALAC and also M4A tracks are getting converted. Okay. But I think M4A doesn't need to be transcoded, a transcode of lossless files would be enough.

Next and bigger problem: if I download some transcoded MP3 files, all the metadata is missing. The metadata is all there in playback, but after downloading it all is gone. Does anyone know how to solve this problems?

Best regards
Title: Re: foo_upnp
Post by: tsk7mde on 2018-03-18 15:17:24
Add Support for:

DSD128, DSD512 (DSF)

---
The Files are not detect correct.
The UPNP System Play 284400 bit 24bit ????
----

 :o  :o  :o  :o  :o  :o
Title: Re: foo_upnp
Post by: wolfsong on 2018-04-12 05:27:18
I have BubbleUNPN setup on my phone and I'm able to stream over the internet to my phone without issue.

Is there a way I can install Foobar on my work laptop and stream that way as well? I've never used F2K as a client for streaming so I don't know how this works at all.
Title: Re: foo_upnp
Post by: artman on 2018-06-16 15:55:36
I just installed foo_upnp to stream audio from foobar2000 on my Windows 10 laptop to my Roku Ultra. Basic functionality worked right out of the box, but I still have issues.

(1) I don't seem to be able to select a folder and have all the audio within that folder play sequentially (or randomly). When a file finishes playing, it just finishes and doesn't go on to the next file. (If I select "Next" and hold the button down, it will advance to the next file, but I want it to just play track 2 after finishing track 1 without human intervention.)

(2) If I can get the above problem solved, is there a way to select multiple folders (or subdirectories) for continuous playback? Probably obvious, but it's eluding me.

(3) It -- and I say "it" because I'm not sure if the fault is with foo_upnp or Roku -- doesn't seem to recognize all playlists. For example, I have two m3u playlists in one directory, but only one of them shows up on screen.

Or is there a better solution than foo_upnp? I know Plex is popular, but I have some concerns about their privacy policies. I don't download pirated material; I just find it creepy that outsiders might learn of my fondness for 1920s jazz or French accordion or whatnot.

Thank you.
Artman

PS - Apologies if these questions have been asked an answered here. I tried to search but didn't find what I was looking for. Please be gentle!  Thanks.
Title: Re: foo_upnp
Post by: bmcelvan on 2018-07-13 14:21:55
I just installed foo_upnp to stream audio from foobar2000 on my Windows 10 laptop to my Roku Ultra. Basic functionality worked right out of the box, but I still have issues.

(1) I don't seem to be able to select a folder and have all the audio within that folder play sequentially (or randomly). When a file finishes playing, it just finishes and doesn't go on to the next file. (If I select "Next" and hold the button down, it will advance to the next file, but I want it to just play track 2 after finishing track 1 without human intervention.)

(2) If I can get the above problem solved, is there a way to select multiple folders (or subdirectories) for continuous playback? Probably obvious, but it's eluding me.

(3) It -- and I say "it" because I'm not sure if the fault is with foo_upnp or Roku -- doesn't seem to recognize all playlists. For example, I have two m3u playlists in one directory, but only one of them shows up on screen.

Or is there a better solution than foo_upnp? I know Plex is popular, but I have some concerns about their privacy policies. I don't download pirated material; I just find it creepy that outsiders might learn of my fondness for 1920s jazz or French accordion or whatnot.

Thank you.
Artman

PS - Apologies if these questions have been asked an answered here. I tried to search but didn't find what I was looking for. Please be gentle!  Thanks.

The answer to most of these are: does that app you are using support this. The media server just serves the files. You'll need an app to "add to playlist" or something like that to add lots of folders\songs. The foobar media server literally only "shows" what's available. The app is responsible for doing all the playing/sorting/adding/etc.

I had a roku for a while but I couldn't find a good app to use as a media\music renderer - they all seemed very limited to me. Got an Amazon firestick and there are literally hundreds if not thousands of great apps.

However I believe a good workaround for this is don't use the Roku/Firestick as the controller...just use it as the renderer. Use your phone or tablet as the controller...I use BubbleUpnp and it works like a charm. You tell it to send the signal to whatever (Roku) and you control the volume/fast forward/etc. from the phone.
Title: Re: foo_upnp
Post by: Jack Schmaltz on 2018-07-27 08:01:00
Hey. It seems since upgrading to Windows 10 I am unable to save changes I make. I've tried changing file permissions on the foo_upnp.xml to no success. Has anyone else had this issue & able to help?

Thanks
Title: Re: foo_upnp
Post by: Tropoje on 2018-08-02 16:58:31
I noticed a problem with playing files through UPnP to my network player Pioneer N-70AE. I have created a profile for my player (Pioneer N-70AE) but unfortunately it is not loaded when streaming my music.

(https://i.imgur.com/I3M5JMq.jpg)

On the previous version of foobar it worked very well but today I checked it (foobar2000 v1.4) and unfortunately it does not work.
Here is the log from the console
Code: [Select]
Components loaded in: 0:00.180123
Configuration read in: 0:00.038960
foobar2000 v1.4 [standard]
Watching: I:\Lossless (Track)
Watching: I:\mp3
Album list panel: initialised in 0.170 s
Columns UI/Tab stack: Warning: Playlist Organizer panel was visible on creation! This usually indicates a bug in this panel.
Refresh visuals
JScript Panel v2.1.6 (Library Tree v1.4.0.2 by WilB): initialised in 131 ms
Playlist view initialised in: 0.161 s
Seekbar: taking GDI path.
Seekbar: Frontend initialized.
User Interface initialized in: 0:01.551120
foo_upnp: succesfully loaded file C:\Users\Andrzej\AppData\Roaming\foobar2000\foo_upnp.xml
foo_upnp: 0.000: foo_upnp::on_init(199)/6528: INFO: foo_upnp: version 0.99.49
foo_upnp: 0.004: PLT_UPnP::Start(150)/6528: INFO: Starting UPnP...
foo_upnp: 0.041: standard_media_tree_root_node_t::load_ml_filters(590)/6528: INFO: loaded Media Library filters from C:\Users\Andrzej\AppData\Roaming\foobar2000\foo_upnp_ml_tree.xml
foo_upnp: 0.053: PLT_UPnP::AddDevice(224)/6528: INFO: Starting Device...
foo_upnp: 0.055: PLT_HttpServer::Start(127)/6528: INFO: HttpServer listening on 0.0.0.0:56923
foo_upnp: 0.059: PLT_UPnP::AddDevice(224)/6528: INFO: Starting Device...
foo_upnp: 0.062: PLT_HttpServer::Start(127)/6528: INFO: HttpServer listening on 0.0.0.0:1893
foo_upnp: initialized in 0.073s
foo_upnp: 0.224: PLT_Service::ProcessCancelSubscription(699)/6708: WARNING: Cancelling subscription for unknown subscriber uuid:5371c547-8508-8c7f-c8b9-a75d37995ade!
foo_upnp: 0.381: FbMediaServer::CheckAuthentication(401)/6708: INFO: received LAN request: http://192.168.0.8:56923/DeviceDescription.xml (User-Agent: dLeyna/0.5.0 GUPnP/0.20.13 DLNADOC/1.50)
foo_upnp: 0.411: FbMediaServer::OnAction(295)/4688: INFO: received action 'GetSearchCapabilities', args = {  }
foo_upnp: 0.411: FbMediaServer::OnAction(323)/4688: INFO: action 'GetSearchCapabilities' response: args = { SearchCaps=upnp:class,dc:title,upnp:artist }
foo_upnp: 0.435: FbMediaServer::OnAction(295)/4020: INFO: received action 'GetSortCapabilities', args = {  }
foo_upnp: 0.435: FbMediaServer::OnAction(323)/4020: INFO: action 'GetSortCapabilities' response: args = { SortCaps= }
foo_upnp: created 4620 path registry entries in 0.582s
Autoplaylists initialized in: 0:01.968322
"Albumy wielopłytowe" : 0:00.082377
"Biblioteka (auto playlista)" : 0:00.815257
"DIRE STRAITS" : 0:00.061857
"DZEM" : 0:00.050534
Startup time : 0:04.378154
foo_upnp: 2.2502: NPT_HttpClient::SendRequestOnce(1739)/6820: WARNING: NPT_CHECK failed, result=-20014 (NPT_ERROR_TIMEOUT) [(m_Connector->Connect(request.GetUrl(), *this, use_proxy?&proxy:0, http_1_1, connection))]
foo_upnp: 2.2502: PLT_HttpClientSocketTask::ProcessResponse(175)/6820: WARNING: NPT_CHECK failed, result=-20014 (NPT_ERROR_TIMEOUT) [(res)]
foo_upnp: loaded Media Library tree in 8.562s
When I streaming music through BubbleUPnP, everything works fine and the BubbleUPnP profile is loaded (I see it in the console). Can something disturbing be read from the log I posted ?


Title: Re: foo_upnp
Post by: Tropoje on 2018-08-03 07:09:55
I noticed a problem with playing files through UPnP to my network player Pioneer N-70AE. I have created a profile for my player (Pioneer N-70AE) but unfortunately it is not loaded when streaming my music.

(https://i.imgur.com/I3M5JMq.jpg)

On the previous version of foobar it worked very well but today I checked it (foobar2000 v1.4) and unfortunately it does not work.
Here is the log from the console
Code: [Select]
Components loaded in: 0:00.180123
Configuration read in: 0:00.038960
foobar2000 v1.4 [standard]
Watching: I:\Lossless (Track)
Watching: I:\mp3
Album list panel: initialised in 0.170 s
Columns UI/Tab stack: Warning: Playlist Organizer panel was visible on creation! This usually indicates a bug in this panel.
Refresh visuals
JScript Panel v2.1.6 (Library Tree v1.4.0.2 by WilB): initialised in 131 ms
Playlist view initialised in: 0.161 s
Seekbar: taking GDI path.
Seekbar: Frontend initialized.
User Interface initialized in: 0:01.551120
foo_upnp: succesfully loaded file C:\Users\Andrzej\AppData\Roaming\foobar2000\foo_upnp.xml
foo_upnp: 0.000: foo_upnp::on_init(199)/6528: INFO: foo_upnp: version 0.99.49
foo_upnp: 0.004: PLT_UPnP::Start(150)/6528: INFO: Starting UPnP...
foo_upnp: 0.041: standard_media_tree_root_node_t::load_ml_filters(590)/6528: INFO: loaded Media Library filters from C:\Users\Andrzej\AppData\Roaming\foobar2000\foo_upnp_ml_tree.xml
foo_upnp: 0.053: PLT_UPnP::AddDevice(224)/6528: INFO: Starting Device...
foo_upnp: 0.055: PLT_HttpServer::Start(127)/6528: INFO: HttpServer listening on 0.0.0.0:56923
foo_upnp: 0.059: PLT_UPnP::AddDevice(224)/6528: INFO: Starting Device...
foo_upnp: 0.062: PLT_HttpServer::Start(127)/6528: INFO: HttpServer listening on 0.0.0.0:1893
foo_upnp: initialized in 0.073s
foo_upnp: 0.224: PLT_Service::ProcessCancelSubscription(699)/6708: WARNING: Cancelling subscription for unknown subscriber uuid:5371c547-8508-8c7f-c8b9-a75d37995ade!
foo_upnp: 0.381: FbMediaServer::CheckAuthentication(401)/6708: INFO: received LAN request: http://192.168.0.8:56923/DeviceDescription.xml (User-Agent: dLeyna/0.5.0 GUPnP/0.20.13 DLNADOC/1.50)
foo_upnp: 0.411: FbMediaServer::OnAction(295)/4688: INFO: received action 'GetSearchCapabilities', args = {  }
foo_upnp: 0.411: FbMediaServer::OnAction(323)/4688: INFO: action 'GetSearchCapabilities' response: args = { SearchCaps=upnp:class,dc:title,upnp:artist }
foo_upnp: 0.435: FbMediaServer::OnAction(295)/4020: INFO: received action 'GetSortCapabilities', args = {  }
foo_upnp: 0.435: FbMediaServer::OnAction(323)/4020: INFO: action 'GetSortCapabilities' response: args = { SortCaps= }
foo_upnp: created 4620 path registry entries in 0.582s
Autoplaylists initialized in: 0:01.968322
"Albumy wielopłytowe" : 0:00.082377
"Biblioteka (auto playlista)" : 0:00.815257
"DIRE STRAITS" : 0:00.061857
"DZEM" : 0:00.050534
Startup time : 0:04.378154
foo_upnp: 2.2502: NPT_HttpClient::SendRequestOnce(1739)/6820: WARNING: NPT_CHECK failed, result=-20014 (NPT_ERROR_TIMEOUT) [(m_Connector->Connect(request.GetUrl(), *this, use_proxy?&proxy:0, http_1_1, connection))]
foo_upnp: 2.2502: PLT_HttpClientSocketTask::ProcessResponse(175)/6820: WARNING: NPT_CHECK failed, result=-20014 (NPT_ERROR_TIMEOUT) [(res)]
foo_upnp: loaded Media Library tree in 8.562s
When I streaming music through BubbleUPnP, everything works fine and the BubbleUPnP profile is loaded (I see it in the console). Can something disturbing be read from the log I posted ?
Everything works correctly. Sorry for the confusion  :-[
Title: Re: foo_upnp
Post by: drstee on 2018-08-08 08:49:52
Hi,

Anyone used this with a Cambridge Audio CXN. Also, can you use this with other DSPs enabled e.g. MathAudio for room correction?

Cheers.
Title: Re: foo_upnp
Post by: GalaxyGe on 2018-08-29 23:02:05
I got "Playback Stopped" error, always after a few seconds of playing a song, with the Plugin installed.

This did not occurr, when I stopped the Renderer Server in the UPnP settings.

Title: Re: foo_upnp
Post by: ksio89 on 2019-02-22 17:15:32
Just found about this component, it's simply brilliant, thanks a lot to the devs. The only issue I had was that the stable app didn't show all playlists and music folders on Media Library/Folders, but I managed to fix it by joining foobar2000 Beta program on Play Store and installing a beta build (1.1.30). Now everything is working like a charm, thanks.
Title: Re: foo_upnp
Post by: shinyc on 2019-03-24 15:52:28
Hi,

I am sure many people succeed doing something similar to the below:

roon => squeeze2upnp => foobar2000 => jplayfemto => dac

The followings are the components I used:

foobar 2000 v1.4.3
UPnP MediaRenderer Output v1.2 (foo_out_upnp)
UPnP/DLNA Renderer, Server, Control Point v0.99.49 (foo_upnp)
squeeze2upnp v1.9.1
roon v1.6
jplayfemto v7D


As soon as I play the music, I get an error message from foobar2000 saying the following:

Unable to open item for playback (Unsupported format or corrupted file):
"http://192.168.219.106:49153/bridge-1.flac"


I changed my setting on the squeeze2upnp to force it output to "always 16bit". Then, problem solved. I would like to know if I can somehow enable 24bit playback throughout the playback chain. BTW, at 16bit the whole thing is running pretty reliably.

I am inserting the foobar2000 in the chain so that I can run a VST plugin, namely forthcoming Dirac 2.0 VST plugin. I would be interested to know if there is an easier way to put a VST host in the playback chain.
Title: Re: foo_upnp
Post by: Mamoles on 2020-01-21 16:42:53
Hello everyone,
I've setup my BubbleUpnP server on my NAS in order to access my music over the internet with BubbleUpnP.
I does work.
But i can not do the same with Foobar for W10.
I use the very same Host Adress, my server is accessible over the internet.
I've installed foo_upnp
In the "view menu" i don't have the "Add remote Internet UPnP Server"
Please help.



Title: Re: foo_upnp
Post by: jimbo70 on 2020-02-17 01:39:54
Using foobar2000 with foo_upnp as a DLNA renderer, and BubbleUPnP or Allcast as phone apps for control.  Can't skip forward when playing a track.  Press on the timeline bar but it does nothing, just keeps playing at the current location.  Skip does work when using the foobar Android app for direct control, but that's not using the DLNA renderer component, so seems like the issue is with foo_upnp.  Any suggestions?

Thanks.
Title: Re: foo_upnp
Post by: wcs13 on 2020-02-28 19:51:49
Hi, UPnP beginner here asking for some help :)
Goal : stream my foobar library over the internet to my Android phone
Current steps :
What must I do on BubbleUPnP (or any other equivalent app) for this to work ?
On BubbleUPnP prefs > Cloud, I see a number of services (Qobuz, TIDAL, etc.), but nothing that'd allow me to connect to my foo_upnp server.
Thank you.
Title: Re: foo_upnp
Post by: flattedfifth on 2020-10-27 21:25:37
Tracks with multiple artists in the Media Library Tree?

In the Media Library Tree, I'd like to split up the %artist% or %album artist% tag if it contains multiple values. In foo_upnp_ml_tree.xml, I'm using the following code to try and achieve this:

Code: [Select]
	<SubTree label="Artists" query="muco PRESENT">
<spec type="object.container.genre.musicGenre">%&lt;genre&gt;%</spec>
<spec type="object.container.person.musicArtist">%&lt;album artist&gt;%</spec>
<spec type="object.container.album.musicAlbum">%album%</spec>
</SubTree>

%muco% is a custom tag that I use.
%&lt;genre&gt;% works fine for splitting up the %genre% tag, but at the moment I'm only using single word genre names.
%&lt;album artist&gt;% is giving me problems. It works, but it sees not only semicolons but also regular commas as a delimiter. So if I have an album with Davis, Miles; Coltrane, John as artist value, it gets split up like this:

   Coltrane
   Davis
   John
   Miles

Does somebody know how I can make the tree treat only the semicolon as a delimiter?
Title: Re: foo_upnp
Post by: starmike on 2020-11-09 00:15:16
Good afternoon,
  I'm working on a tvOS uPnP client since there doesn't seem to be a client that does:

tvOS support
proper gapless playback
multichannel support

So far, I've gotten the bulk of the work done, but there are two issues I can't seem to find documentation about:

Splitting multiple instances of the same album (and splitting SACD tracks from the same ISO)
I have two copies of Genesis - Abacab (as well as multiples of other albums). One is from my old CD, and the other is an SACD rip. The SACD rip has both 6-ch and 2-ch versions from the same ISO. So what I get from FB2K is the following in the <item> tag:

[Track 1, 2ch, old CD]
[Track 2, 2ch, old CD]
[Track 3, 2ch, old CD]
etc..
[Track 1, 6ch, SACD]
[Track 1, 2ch, SACD]
[Track 2, 6ch, SACD]
[Track 2, 2ch, SACD]
etc..

There are two problems here - FB2k doesn't identify the difference between the two versions of the physical discs in any way. The two discs are obviously different files, so why can't FB2k give some kind of unique ID to the albums in a tag? I can use the ID from the URL, but a proper tag would be cleaner, and is there a guarantee that the ID would actually be unique?

http://192.168.1.2:56923/content/f4557594d62b188b25172817843101aa.wav?profile_id=0&amp;convert=wav&amp;subsong=9

Also, I can't find a preference in the app or plugin setting to split the SACD tracks by channel number. I can do that in code (and already have), but I would think this could be done by the server.

In the end, I could force a split using a title change like "Abacab (CD)" and "Abacab (SACD)".

Why are there three <res> tags for each track?
This is another thing I can't find docs for.

This is what I get for Track 1 of the SACD of "Abacab"

                        <res duration="0:06:57.000" size="1238387756" bitrate="33868800" bitsPerSample="16"
                            sampleFrequency="2822400" nrAudioChannels="6" protocolInfo="http-get:*:audio/wav:*">
                            http://192.168.1.2:56923/content/f4557594d62b188b25172817843101aa.wav?profile_id=0&amp;convert=wav&amp;subsong=9
                        </res>
                        <res duration="0:06:57.000" size="73558844" bitrate="176400" bitsPerSample="16"
                            sampleFrequency="44100" nrAudioChannels="2" protocolInfo="http-get:*:audio/wav:*">
                            http://192.168.1.2:56923/content/f4557594d62b188b25172817843101aa.wav?profile_id=1000&amp;convert=wav&amp;samplerate=44100&amp;subsong=9
                        </res>
                        <res duration="0:06:57.000" size="73558800" bitrate="176400" bitsPerSample="16"
                            sampleFrequency="44100" nrAudioChannels="2"
                            protocolInfo="http-get:*:audio/L16;rate=44100;channels=2:DLNA.ORG_PN=LPCM">
                            http://192.168.1.2:56923/content/f4557594d62b188b25172817843101aa.l16?profile_id=1001&amp;convert=lpcm&amp;samplerate=44100&amp;subsong=9
                        </res>


Is there some reason there needs to be three versions of this track? I get that the second one is more of a 44k downsample, but I don't understand the reason for the third one. Both the FB2K iPhone app and VLC seem to ignore the second and third <res> tags.
Title: Re: foo_upnp
Post by: IL on 2020-12-24 22:55:52
Hi,
Does anyone know how to add album art (CD Cover) in the file Folders view?

<SubTree label="Folders" type="filesystem" />

(http://C:\Users\Admin\Downloads\folder.jpg)
(http://C:\Users\Admin\Downloads\artist.jpg)
Title: Re: foo_upnp
Post by: prann on 2021-01-03 18:05:25
Hello,
I the foo_upnp_ml_tree.xml file there is the Sub Tree "Years". Does anyone how to make it display in descending order? I'm using the Bubble android app and would like the latest music (2020) at the top instead of scrolling down 50 years or so to reach the latest music.

<SubTree label="Years">
<spec>$left(%date%,4)</spec>
<spec type="object.container.album.musicAlbum">[%album artist% - ]%album%</spec>
</SubTree>
Title: Re: foo_upnp
Post by: f.andriulli@tin.it on 2021-01-18 17:01:57
Hello,
is there a way to view the upnp server status (started/stopped) in the status bar or elsewhere in the fb2k GUI? Thanks!
Title: Re: foo_upnp
Post by: MrOtto on 2021-04-11 10:59:05
foo_upnp problem: UPnP Media Server could not be started. Port 56923 might be in use by another application

foobar2000 (v1.1.15) / foo_upnp (v0.99.40)  is started on my computer automatically at boot time.

However, I frequently get the message "UPnP Media Server could not be started. Port 56923 might be in use by another application", which prevents the server from starting.

The interesting thing is, that it's foobar2000/foo_upnp itself that is occupying this port! If I do a "netstat -anob", I get the following:

###
  TCP    0.0.0.0:56923          0.0.0.0:0              ABHOEREN         3268
 [foobar2000.exe]
###

I assume that it's the foo_upnp server that is occupying this port, because: Which other component of foobar2000 should be doing this instead?

A simple shutdown and restart of foobar2000/foo_upnp usually fixes this kind of situation.

If it's foobar2000/foo_upnp itself that is blocking that port, then foobar2000/foo_upnp should somehow be able to solve this problem without the need of user interaction.

What do you think?


Thank you very much for this great software!

Kind regards,
Johannes

I have the same problem. I have added foobar2000.exe to my start-up folder, and when Windows starts I get 56923 port might be in use, and foobar2000 media server is not available on my phone until I restart foobar2000 in Windows.

The only other process according to netstat, using this port is javaw.exe which BubbleUPnP needs.
Title: Re: foo_upnp
Post by: MrOtto on 2021-04-13 07:36:20
I have the same problem. I have added foobar2000.exe to my start-up folder, and when Windows starts I get 56923 port might be in use, and foobar2000 media server is not available on my phone until I restart foobar2000 in Windows.

The only other process according to netstat, using this port is javaw.exe which BubbleUPnP needs.

I solved it by removing the shortcut to foobar2000.exe in the start-up folder, and made a scheduled task til task scheduler instead. Run foobar2000.exe at login with 30 seconds delay, now foobar2000 starts after BubbleUPnP and there is no error message port 56923 in use, just a normal start and foobar2000 media server works in BubbleUPnP.
Title: Re: foo_upnp
Post by: hesperian on 2021-05-03 02:46:10
Hi everyone

Ive been using foo_upnp to upload to my iphone for probably 4 years without a single issue but suddenly it has stopped detecting the server. Apart from restarting the server (to no avail) I really don't know where to begin... Could one of you good people give me an idea on where I should start?

Thank you!
Title: Re: foo_upnp
Post by: typecrazy789 on 2021-05-18 18:08:55
I understand this plug-in is more or less abandoned at this point, but just asking - I've been unable to get this to work with our iphones, despite the same URL opening on computers around the house and so on using the external ip address. I get all the way to the stream loading interface in Safari, and then it instantly goes to a play icon with a line through it. If I change the extension to wav it appears to be willing to play, but just spins and no audio ever streams. I'm trying to stream the now-playing content from Foobar2k.

Also, when the stream loads on computers, I am not getting any metadata - ideally I'd get artist and title passed via the stream, is this possible with this plug-in?
Title: Re: foo_upnp
Post by: kyungjin on 2021-06-04 07:55:24
Hi everyone

Ive been using foo_upnp to upload to my iphone for probably 4 years without a single issue but suddenly it has stopped detecting the server. Apart from restarting the server (to no avail) I really don't know where to begin... Could one of you good people give me an idea on where I should start?

Thank you!

I just had the same issue on Android, I changed the port number in the server settings (56923 by default, I modified randomly by 56920), and it works again...
Title: Re: foo_upnp
Post by: hawksley on 2021-06-10 17:09:56
On my server I'm using bubbleupnp server (for OpenHome) on OSX with the Asset UPnP DLNA server.  I'm using the foo_upnp renderer in foobar on Windows.  Everything is working to bitstream dsd (.dsf files) fine.  One issue is that I cannot seek/scrub .dsf files in any controller including linn kazoo, mconnect, lumin...etc.  It restarts the track at the beginning.

FLAC works fine. 

Is this a known bug?
Title: Re: foo_upnp
Post by: typecrazy789 on 2021-06-18 16:12:19
I realize support for this plug-in is non-existent now but I'm wondering if anybody has the answer to this one...I'm using the Logitech Media Server UPnP/DLNA bridge to connect it to Foobar2k using foo_upnp, and it works flawlessly to crossfade until I get a short track less than 10 seconds or so, and it won't crossfade. The log on the LMS side normally shows gapless but with a very short length it returns "gapped" instead, which I presume is triggered by foo_upnp. Is there some buffer setting that might cause this behavior? The same tracks played directly in Foobar2k work perfectly, so it definitely seems to be a bridge issue.
Title: Re: foo_upnp
Post by: AndreaT on 2021-09-03 07:16:35
Hello,
I am running FB 1.6.7 and I am trying to install this plug-in, but FB reports unexpected error (see attachment) and the component is not current (2015 dated).

Do you know of any alternative?

I just need a solution to stream audio from another PC to my Foobar PC input (so to have Foobar playing that stream).

Thanks and regards
Andrea
Title: Re: foo_upnp
Post by: dspn on 2021-10-10 17:16:08
Has anyone successfully connect to Huawei Sound (in partnership with Devialet)?
The speaker is detected as DLNA in Windows and in the foo_upnp component, but the attempt to play ends up with an error message "Unrecoverable playback error: Device does not appear to support this audio stream format."
In the console:
Code: [Select]
Opening track for playback: "http://stream.radioparadise.com/flac"
[UPnP] Opening device:
[UPnP] manufacturer=Huawei
[UPnP] model=HuaweiModeName
[UPnP] name=HUAWEI Sound-2158
[UPnP] Stream format: 24-bit 44100Hz 2ch
[UPnP] Device protocol info:
[UPnP] http-get:*:audio/mpeg:*, http-get:*:audio/flac:*, http-get:*:audio/aac:*,http-get:*:audio/ogg:*, http-get:*:audio/wav:*, http-get:*:audio/basic:*
Unrecoverable playback error: Device does not appear to support this audio stream format
[UPnP] Detached transport op failure: Action Failed
[UPnP] == LAST REPLY XML ==
[UPnP] <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<s:Body>
<s:Fault>
<faultcode>s:Client</faultcode>
<faultstring>UPnPError</faultstring>
<detail>
<UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
<errorCode>501</errorCode>
<errorDescription>Action Failed</errorDescription>
</UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>
[UPnP] == XML END ==
Title: Re: foo_upnp
Post by: Xunkar on 2022-04-26 14:55:57
Is this component still active? I'm having weird random client crashes. When I tried to investigate I noticed something very strange, as soon as I start the UPnP server it is flooded with requests like such:

Code: [Select]
foo_upnp: 2118.2118534: FbMediaServer::CheckAuthentication(401)/1652: INFO: received WAN request: http://192.168.1.3:60010/DeviceDescription.xml (User-Agent: Unspecified, UPnP/1.0, SoftAtHome)
foo_upnp: Denied WAN request (ip: <redacted>, User Agent: Unspecified, UPnP/1.0, SoftAtHome)

I have no idea where those are coming from. 192.168.1.3 is actually localhost in this case, and the WAN IP is the remote IP of the server so… the server seems to be sending request to itself. Dozens per seconds, too. What the hell does that mean? I've already checked every machine on my LAN, actually only had the server running to make sure a client wasn't doing this but no. I have no idea what SoftAtHome even is.
Title: Re: foo_upnp
Post by: Xunkar on 2022-05-07 12:34:33
Is this component still active? I'm having weird random client crashes. When I tried to investigate I noticed something very strange, as soon as I start the UPnP server it is flooded with requests like such:

Code: [Select]
foo_upnp: 2118.2118534: FbMediaServer::CheckAuthentication(401)/1652: INFO: received WAN request: http://192.168.1.3:60010/DeviceDescription.xml (User-Agent: Unspecified, UPnP/1.0, SoftAtHome)
foo_upnp: Denied WAN request (ip: <redacted>, User Agent: Unspecified, UPnP/1.0, SoftAtHome)

I have no idea where those are coming from. 192.168.1.3 is actually localhost in this case, and the WAN IP is the remote IP of the server so… the server seems to be sending request to itself. Dozens per seconds, too. What the hell does that mean? I've already checked every machine on my LAN, actually only had the server running to make sure a client wasn't doing this but no. I have no idea what SoftAtHome even is.

I don't why but it seems this plugin is causing the issue itself. Connections keeps trying to establish themselves on every single remote port

Code: [Select]
TCP    0.0.0.0:8899           0.0.0.0:0              LISTENING
TCP    192.168.1.3:8899       XX.XX.XX.XXX:50044    TIME_WAIT
TCP    192.168.1.3:8899       XX.XX.XX.XXX:50046    TIME_WAIT
TCP    192.168.1.3:8899       XX.XX.XX.XXX:50048    TIME_WAIT
TCP    192.168.1.3:8899       XX.XX.XX.XXX:50049    TIME_WAIT
TCP    192.168.1.3:8899       XX.XX.XX.XXX:50050    TIME_WAIT
TCP    192.168.1.3:8899       XX.XX.XX.XXX:50051    TIME_WAIT
TCP    192.168.1.3:8899       XX.XX.XX.XXX:50052    TIME_WAIT
TCP    192.168.1.3:8899       XX.XX.XX.XXX:50053    TIME_WAIT
TCP    192.168.1.3:8899       XX.XX.XX.XXX:50054    TIME_WAIT
TCP    192.168.1.3:8899       XX.XX.XX.XXX:50055    TIME_WAIT
TCP    192.168.1.3:8899       XX.XX.XX.XXX:50056    TIME_WAIT

Port 8899 is the one reserved for the UPnP server (I tried switching from 60010). It's open in the firewall with a TCP 8899 local from any remote. The redacted IP is the external IP of the server. And it goes on and on, and every time I'm seeing the Denied WAN request from above for each of those ports. No idea why this is happening or why it's only happening to me.

Would anyone have an idea of a plugin that can do what foo_upnp but up to date?
Title: Options for filesystem in media library tree?
Post by: Henry66 on 2022-07-22 22:16:39
Is it possible to configure how the file system contents are presented?
Code: [Select]
	<SubTree label="Folders" type="filesystem"/>
I have every album in a folder, and the client sorts the tracks by title.
I would like to sort by track number.
I thought sorting by filename would work, since the filenames begin with the track number, but it does not work.
Title: Re: foo_upnp
Post by: papavlos on 2022-09-01 18:24:02
Hi everyone,

I've been using this component since ages and now my concern is about recompiling it to support 64-bit fb2k_v2. The last version of the component comes from January 2015. Is it possible?

If this wouldn't be possible, could you please recommend any more recent replacement for it?

Otherwise I will not go for the 64-bit version of fb2k_v2, hoping that 32-bit version will still support such old components... But for how long?...
Title: Re: foo_upnp
Post by: fooball on 2022-09-02 07:24:42
Otherwise I will not go for the 64-bit version of fb2k_v2, hoping that 32-bit version will still support such old components... But for how long?...
There is no compulsion to update.  I never update software unless there is a good reason, the expression is "if it ain't broke don't fix it".  I have things doing (mostly) what I need them to do in FB2K 1.6.11, so that's good enough for me (although I might test 1.6.12).

One beauty of FB2K is the ability to install it "portable", and in fact as many separate portable installations as you like.  That means it is easy to try out a new version without disturbing the working installation.
Title: Re: foo_upnp
Post by: papavlos on 2022-09-02 21:10:36
There is no compulsion to update.  I never update software unless there is a good reason
Believe me, there is a reason for me. I run fb2k under wine and I'd love to have it 64-bit in order to not to cope with missing different 32-bit libraries in my 64-bit Linux installation. Clean is simply simpler...
Title: Re: foo_upnp
Post by: Jan S. on 2022-10-16 19:05:43
I'd like to move to foobar2000 v2 too but can't leave v1 behind completely without this.
Title: Re: foo_upnp
Post by: servimo on 2023-03-01 00:52:23
Nice to have this component  ported 64-bits.
Title: Re: foo_upnp
Post by: LouCypher on 2023-03-05 08:51:21
Yes, please provide a 64 bit version of this plugin. And if the plugin isn't maintained anymore by the owner it would be great to provide access to the sources so that others can take over maintenance.
Title: Re: foo_upnp
Post by: lokilin on 2023-03-31 20:09:24
Really need 64 bit version for v2!
Can't leave v1 for media server......
Title: Re: foo_upnp
Post by: pstrg on 2023-04-01 03:48:09
Really need 64 bit version for v2!
Can't leave v1 for media server......
Updating this very fine component seems not to be a simple task.
It's based on an old UPnP library that is not even Unicode aware (in addition, uppercase and lowercase letters appear separate when sorting).
In fact, its developer recommends MinimServer as replacement - not a good option, since it lacks the true beauty of foo_upnp: the ability to use foobar2000 title formatting functions (a must-have in my view).
A pity.
Title: Re: foo_upnp
Post by: SimBun on 2023-04-01 08:29:22
The licensed MinimServer product is amazing. Whilst it's not going to support foobar's title formatting it has its own tag formatting (https://minimserver.com/ug-library.html#Tag%20formatting) that is very powerful.
Coupled with the BubbleUPnP control point it's the gold standard in UPnP.
Title: Re: foo_upnp
Post by: iangk on 2023-04-01 11:33:48
Really need 64 bit version for v2!
Can't leave v1 for media server......
Updating this very fine component seems not to be a simple task.
It's based on an old UPnP library that is not even Unicode aware (in addition, uppercase and lowercase letters appear separate when sorting).
In fact, its developer recommends MinimServer as replacement - not a good option, since it lacks the true beauty of foo_upnp: the ability to use foobar2000 title formatting functions (a must-have in my view).
A pity.
Agreed - having tried many UPnP servers nothing comes close in terms of flexibility.
A workaround I have come to is have 1.6 portable with foo_upnp running minimized at startup, then have a seperate v2 portable as my "listening" instance.
The benefit of that is the server is always running while the computer is on, not just when FB2K is open.
Title: Re: foo_upnp
Post by: lokilin on 2023-04-02 00:02:45
Really need 64 bit version for v2!
Can't leave v1 for media server......
Updating this very fine component seems not to be a simple task.
It's based on an old UPnP library that is not even Unicode aware (in addition, uppercase and lowercase letters appear separate when sorting).
In fact, its developer recommends MinimServer as replacement - not a good option, since it lacks the true beauty of foo_upnp: the ability to use foobar2000 title formatting functions (a must-have in my view).
A pity.
Agreed - having tried many UPnP servers nothing comes close in terms of flexibility.
A workaround I have come to is have 1.6 portable with foo_upnp running minimized at startup, then have a seperate v2 portable as my "listening" instance.
The benefit of that is the server is always running while the computer is on, not just when FB2K is open.
Yeah I just run V1 and V2 in same time now XD.
Title: Re: foo_upnp
Post by: pstrg on 2023-04-02 22:25:52
foo_upnp stopped working on a single computer

Windows 10
Just verified that foo_upnp is not working anymore (is grayed out on Devices and Printers and renderers do not find it on the network).
Of course, server is started and - AFAIK - nothing has been changed on foobar2000 configuration.
On another computer, it works as usual; that computer has the same settings as those on the main computer.
Applied Network reset on the computer with the problem - did not resolve the issue.
Computer contibues to be reachable, has no other network problem to my knowledge.

Where to look in order to see what's happening?
Title: Re: foo_upnp
Post by: pstrg on 2023-04-02 22:32:58
Agreed - having tried many UPnP servers nothing comes close in terms of flexibility.
A workaround I have come to is have 1.6 portable with foo_upnp running minimized at startup, then have a seperate v2 portable as my "listening" instance.
The benefit of that is the server is always running while the computer is on, not just when FB2K is open.
Interesting.
Any reason to run v2 portable instead of installable?
Title: Re: foo_upnp
Post by: iangk on 2023-04-03 14:22:18
Agreed - having tried many UPnP servers nothing comes close in terms of flexibility.
A workaround I have come to is have 1.6 portable with foo_upnp running minimized at startup, then have a seperate v2 portable as my "listening" instance.
The benefit of that is the server is always running while the computer is on, not just when FB2K is open.
Interesting.
Any reason to run v2 portable instead of installable?

It makes running more than one instance easy. Haven't tried running portable + installed instances together.
Title: Re: foo_upnp
Post by: pstrg on 2023-04-03 15:44:09
It makes running more than one instance easy. Haven't tried running portable + installed instances together.
Works fine.
I usually did that in order to listen to something while tagging something else.
Now, with the imminent incompatibility of foo_upnp will run it with 1.x portable.
Title: Re: foo_upnp
Post by: Pete82 on 2023-05-05 10:46:53
there is x64 for 2.0?
Title: Re: foo_upnp
Post by: suur13 on 2023-05-05 23:56:23
I'm running 0.99.49 on media PC fine, but only as renderer (not server). Problem is that renderer is not visible remotely after PC goes to sleep and wakes. Does not mater f I use other computer as remote of smartphone (Linn app for example). Foobar itself runs and plays music after waking from sleep, if I interact from media PC itself, but remotely it is not visible. I have to Stop and Start it from preferences OR restart Foobar. Then it appears on other devices immediatly. Does not matter if I use WiFi or Ethernet. PC itself is available (via RDP or Samba) after sleep, so network/IP is not a problem. Any clue ?
Title: Re: foo_upnp
Post by: servimo on 2023-06-08 17:59:29
I run a portable instalation of Foobar2000 v.2.0 32bits in wine and the best for me is that I can make playlists and access in my foobar2000 in a Android TV.
Title: Re: foo_upnp
Post by: PES on 2023-06-11 19:34:35
Hello,
I also use only the UPNP renderer.
I send my music from my mobile like this to FB2K , which works as I am used to including visualizations and Waveform Minibar. I have FB2K displayed on my TV. That's the way I like it.

But I don't let the computer fall asleep. When I'm not using it, I turn it off. I usually don't have a problem logging my cell phone to UPNP render in FB2K.

I would say that the foo_upnp component is already outdated as a UPNP server.

But if it could be converted to the current Renderer form, I would be very happy. Something like UPnP MediaRenderer Input (+control point).

Regards PES
Title: Re: foo_upnp
Post by: Ibanezz on 2023-07-02 13:17:05
Hello, i have an issue with this great plugin. i use Bubbbleupnp on phone and server on pc, Phone > Foobar upnp > dephonica >DAC

If i play songs of same samplerate foobar plays till i stop, if have an playlist with different samplerates ,it will stop if next song have antoher samplerate, and it does not matter if it higher or lower, it just stops, and i need manually to pres play on Bubbleupnp on phone to restart it. And i need to press two times, the first time it just stops.
And i have tried diferent buufers both in foobar and on bubbleupnp..
I have used id before on an Marantz SR7010, and i did not have this issue back then.
I have tested this config with Jriver, and it works, only flaw there is that i cant get rid of problem with missing the first 2-7 seconds of every track. Therefore i wantted to use foobar upnp instead, like it much better, the whole program and layout is just my style.
Windows 11
Foobar 1.1.16 with foo_upnp server, controller latest.
Dephonica crossover for activer system playback.
DAC Antelope Audio Orion Studio Syrergy Core
Teamviwer linked to an Tab A8 so i can use the PC if i need to surf.
HDMI Dummyplug to get a good resolution to the tablet.

PC Spec:
AMD 5800x
Corsair 32GB Pro SL
Strix x-570E-gaming, almost the latest bios
Sapphire 5700XT
Sandisk 250gb SSD
Samsung 980PRO game disk

I cant figure this one out, it should not stop with samplerate change.

Thanks in advance
Best regards




Title: Re: foo_upnp
Post by: MafizozForever on 2023-07-19 20:31:11
Good evening!  :)
Has anyone encountered such a problem: on a PC, foobar2000 plays tracks in the playlist "UPnP Controller Playback Queue" on the streamer, the track ends and the next one starts automatically, while in the status bar of UPnP Controller it can be seen that the track is played as mp3  :-\  and it is audible in low quality. However, if the same track is restarted via Stop/Play or by double-clicking, then it starts again in its original quality.
I'm confused!..  :'(
Title: Re: foo_upnp
Post by: Wlodek74 on 2023-08-14 02:18:16
Hello everyone,  to all + especially to developer @bubbleguuum .
Related to plugin functionality: when Foobar stats BOTH server and render of Foobar start automatically. Is it possible to change settings that way to it start either/or? Perhaps modify some plugin config file?
Please help!
Best Regards
WW
Title: Re: foo_upnp
Post by: iangk on 2023-08-14 12:30:34
@Wlodek74 : I believe the plugin will automatically remember that previous state selected at startup. So if you wanted only the server but not the renderer to automatically start, just click "Stop server" on the renderer.
Title: Re: foo_upnp
Post by: Wlodek74 on 2023-08-14 18:21:31
@Wlodek74 : I believe the plugin will automatically remember that previous state selected at startup. So if you wanted only the server but not the renderer to automatically start, just click "Stop server" on the renderer.

@iangk Amazing!! Works. So simple that I even didn't check this possibility before asking question :) :)
Title: Re: foo_upnp
Post by: VEG on 2023-08-27 17:00:12
How to set a password for local connections too? Seems like it allows to set a password for the case when source IP is not in local network only.
Title: Re: foo_upnp
Post by: SimBun on 2023-08-27 21:17:22
How to set a password for local connections too? Seems like it allows to set a password for the case when source IP is not in local network only.
There's no way to secure UPnP on the LAN.
When connecting to a remote server it must be using a different protocol.
Title: Re: foo_upnp
Post by: Wlodek74 on 2023-08-27 23:18:43
Hi All,
Perhaps this topic was already discussed but it's over my to read 88 pages  ;)
This is important topic if we speak about high end audio:
HARDWARE:
I am planning to run barebone, max stripped Win10 (nothing but Edge, about 120 processes in background) and of course Foobar2000 + foo_upnp on ATOM D525 motherboard - duo core/quad threads, 1,8MHz CPU (which happens to be laying around). 4Gb RAM, 2Tb SSD
Source for Foobar library will be mentioned 2Tb SSD disk.
Network 1Gb (real, measured speed 1,1Gb)
Computer will be headless ONLY for this purpose. Playback will be on other machine
I have quite lot 192kHz FLAC files in my collection if it matters.
QUESTION: Is this hardware "strong" enough to make sure stream will be uninterrupted and original quality?
PS. I tested Win10 on it and it runs nicely (not a speed daemon but just OK)
Title: Re: foo_upnp
Post by: SimBun on 2023-08-28 10:42:21
Hi All,
Perhaps this topic was already discussed but it's over my to read 88 pages  ;)
This is important topic if we speak about high end audio:
HARDWARE:
I am planning to run barebone, max stripped Win10 (nothing but Edge, about 120 processes in background) and of course Foobar2000 + foo_upnp on ATOM D525 motherboard - duo core/quad threads, 1,8MHz CPU (which happens to be laying around). 4Gb RAM, 2Tb SSD
Source for Foobar library will be mentioned 2Tb SSD disk.
Network 1Gb (real, measured speed 1,1Gb)
Computer will be headless ONLY for this purpose. Playback will be on other machine
I have quite lot 192kHz FLAC files in my collection if it matters.
QUESTION: Is this hardware "strong" enough to make sure stream will be uninterrupted and original quality?
PS. I tested Win10 on it and it runs nicely (not a speed daemon but just OK)
Is there really no other media server out there that meets your requirements? foo_upnp has been abandoned long ago now, and running Windows like this just doesn't seem like a sensible idea.

With reference to your question, even a Raspberry Pi is capable of serving 192kHz FLAC files, as all it's doing is serving files over http.
Title: Re: foo_upnp
Post by: Wlodek74 on 2023-08-28 14:15:38
@SimBun  Thank you for your answer. Just for my understanding - why "running Windows like this just doesn't seem like a sensible idea" ? It wouldn't be sensible indeed, if I have to buy hardware or software. But since I have it "in the drawer" and cost me nothing why it doesn't makes sense? What am I miss?
Long story short - since Atom processor is "stronger" then RsbPi I may assume it should work flawlessly ?

PS regarding foo_upnp - I just found it to organize my library on remote device best. I tested many and didn't like it. Any recommendation from your side?
Title: Re: foo_upnp
Post by: SimBun on 2023-08-28 16:32:56
Just for my understanding - why "running Windows like this just doesn't seem like a sensible idea" ? It wouldn't be sensible indeed, if I have to buy hardware or software. But since I have it "in the drawer" and cost me nothing why it doesn't makes sense? What am I miss?
I just mean that it's a whole lot of OS for a media server really.

Long story short - since Atom processor is "stronger" then RsbPi I may assume it should work flawlessly ?
If you're not doing anything to the audio itself (upsampling, transcoding e.t.c.) then CPU load will be minimal, and given even 192kHz files are tiny in terms of bandwidth usage (<10Mbps) there'll be almost no load from the media server.

PS regarding foo_upnp - I just found it to organize my library on remote device best. I tested many and didn't like it. Any recommendation from your side?
I personally use the paid version of MinimServer which is probably the closest thing you'll get to foo_upnp, but if you haven't customised foo_upnp the free version of MinimServer will do much the same.
I haven't used foo_upnp much, just enough to know some of its foibles (alphabetical ordering and strange track numbering for 2 and 3 disc albums), but I know it's very powerful, and having used BubbleUPnP for years (the same author) know that if development had continued it would almost certainly have been the best.
Title: Re: foo_upnp
Post by: VEG on 2023-08-28 21:56:22
How to set a password for local connections too? Seems like it allows to set a password for the case when source IP is not in local network only.
There's no way to secure UPnP on the LAN.
When connecting to a remote server it must be using a different protocol.

That might sound crazy, but I added it using nginx that proxifies all the requests to foo_upnp and adds basic authentication. I expose it indirectly to the internet afterwards, and I trust nginx more for this purpose =)
Title: Re: foo_upnp
Post by: Snowknight26 on 2023-09-23 21:55:56
I personally use the paid version of MinimServer which is probably the closest thing you'll get to foo_upnp, but if you haven't customised foo_upnp the free version of MinimServer will do much the same.

Depending on your use case, though, there doesn't seem to be a equivalent to foobar2000 + foo_upnp. In my case, for example, I have playlists set up in foobar2000 and basically have BubbleUPnP on my phone set up connect to that foobar2000 instance where all my playlists are accessible as-is. Any dynamic playlists (recently added, recently played) that are specific to that foobar2000 instance carry over perfectly. Using another UPnP server like MinimServer means you now have to maintain separate playlists or find a way to automate syncing of playlists from foobar2000 to MinimServer. But you're right, if your goal is simply to library separately from foobar2000, then MinimServer sounds like it fits the bill. For everything else, foo_upnp was a godsend since effectively presented everything you had in foobar2000 remotely.
Title: Re: foo_upnp
Post by: Arjestin on 2024-02-12 09:36:22
Without the source code, foo_upnp cannot be updated to include new foobar2000 features such as dark mode and x64 architecture. Unfortunately, bubbleguuum, the developer of foo_upnp, is offline on hydrogenaud since 2021. Unless someone can contact bubbleguuum on github or other channels, foo_upnp will likely never be updated.