HydrogenAudio

Hosted Forums => foobar2000 => General - (fb2k) => Topic started by: Peter on 2012-12-17 13:11:56

Title: UPnP MediaRenderer output | discussion
Post by: Peter on 2012-12-17 13:11:56
Description:
This component presents any UPnP MediaRenderer devices present on your home network as foobar2000 output devices.

Link:
http://www.foobar2000.org/components/view/foo_out_upnp (http://www.foobar2000.org/components/view/foo_out_upnp)

Successfully tested so far with:
* Linn DS players
* Samsung TV
* WDTV [limited success, WDTV firmware is extremely buggy]
* BubbleUPnP
* foo_upnp
* dBpowramp uPlayer
* Kodi
* Sony TV

Tested unsuccessfully:
* Windows Media Player's renderer [doesn't work - attempts to preload whole LPCM stream?]

Update (beta 2):
* Better error message when attempting to run on pre-1.2 fb2k
* Prevented the component from running on Windows XP (where it crashes due to Windows XP bugs)
* No functional changes
Update (beta 3):
* Fixed rare random crash when shutting down.
* No functional changes.
Update (beta 4)
* Now compatible with Windows XP
* Option to log debug information to foobar2000 console
* Improved compatibility with specific renderers
* Now sets title of the stream (but no actual song titles)
Update (beta 6)
* Fixed Kodi incompatibility, possibly other renderers too.
Update (beta 7)
* Lagging renderer no longer stalls foobar2000 when stopping playback or manually changing tracks.
* Worked around a reported incompatibility with certain Windows configurations (most likely firewall/anti-virus related) causing our stream to be presented with a localhost IP. Nope, still doesn't work as of beta 7. Get the latest.
Updates (beta 8-15)
* Attempting to work-around system-specific bugs [work in progress]
* Improved compatibility with Sony devices

Incompatibility with various devices will be addressed in later updates.
Title: UPnP MediaRenderer output | discussion
Post by: Sandrine on 2012-12-17 13:40:43
Great, just testing it with some devices. Looks like it's limited to stereo for the moment (it might also be a limitation of my Yamaha RX-V3067). Will it have some bells and whistles, like enumerating target capabilities? Does it have a settings dialogue yet? Couldn't find anything.
Title: UPnP MediaRenderer output | discussion
Post by: BenB on 2012-12-17 15:29:10
This component presents any UPnP MediaRenderer devices present on your home network as foobar2000 output devices.

Couldn't find anything.


If there are any that it "sees", you will find them at:

Preferences > Playback > Output > Device

or shift-click on

Playback > Device

EDIT:

BTW, I'm not addressing this to you, Sandrine. This is for those who are scratching their heads and wondering where to find what the component does  . I didn't find any settings in regard to the component either.
Title: UPnP MediaRenderer output | discussion
Post by: joedimagio on 2012-12-17 21:32:38
Hi Peter,

I was excited when I saw the UPnP MediaRenderer output component. I updated my Foobar2000 to version 1.2 beta 1 and I installed the UPnP MediaRenderer output component using the Preferences > Install and Apply buttons.

I turned on my Samsung C TV and eventually I saw TV-46C6400 show up in the Output Device drop down. I selected it and clicked the Apply and OK buttons.

Then I put a song in the active playlist and clicked the Play button. I got a "Playback error" popup window with the following text "Unrecoverable playback error: UPnP device error: No contents".

From what I have described, can you help understand what I have not done correctly so that I can get it working?

Just for information, the Samsung TV is on an ethernet cable not wi-fi.

Thanks,
Rob
Title: UPnP MediaRenderer output | discussion
Post by: Sandrine on 2012-12-17 21:43:56
@joedimagico

You may have to set your Samsung TV to a special input regardless. I have to switch my Receiver to "NET/PC" for it to be able to be controlled.
Title: UPnP MediaRenderer output | discussion
Post by: Emerelle on 2012-12-17 22:04:30
I received an internal error upon install - had to remove it in safe mode in order to get foobar running again.
Title: UPnP MediaRenderer output | discussion
Post by: akispavlopoulos on 2012-12-17 22:09:21
It doesn't work on LG LM620 smart tv(2012 model). It sees my tv, I select it, but when I choose a file to play (mp3) it says "Unrecoverable playback error: UPnP device error: Transition not available".
Title: UPnP MediaRenderer output | discussion
Post by: Emerelle on 2012-12-17 22:26:59
Ok, my mistake - after upgrading to the latest beta it works. Sorry for that.
My device is listed, but due to the late hour I cannot test it right away
Title: UPnP MediaRenderer output | discussion
Post by: a3aan on 2012-12-17 22:27:38
Nice. Works on my Philips TV.
Title: UPnP MediaRenderer output | discussion
Post by: rowi on 2012-12-17 23:01:23
Tested unsuccessfully:
* Windows Media Player's renderer [doesn't work - attempts to preload whole LPCM stream?]


The same with the Onkyo TX-8050 Receiver, after pressing the Play Button sounds only a white Noise and the networkstack in the receiver crashed...
Title: UPnP MediaRenderer output | discussion
Post by: joedimagio on 2012-12-18 16:55:08
@ Sandrine: Thanks for your suggestion. I tried all different modes with the same results, then I took a walk for a for couple of hours and came back. When I clicked the dropdown my TV showed up so I selected it and played something and it worked. I don't know what the magic bullet is...yet.

@ All: I am trying to use this component and TouchRemote DACP server for Foobar so that I can control what music is being played with my iPad and have the music played on my Samsung TV. The TouchRemote DACP server for Foobar lets the Apple Remote app on my iPad see and control Foobar and the UPnP MediaRenderer output enables Foobar push the music to my Samsung TV.

To this end, I have been able to do this successfully, but it takes several taps on the song in the Remote app before it plays successfully when I just choose songs manually one after another. The error message in the popup window is "Unrecoverable playback error: UPnP device error: network error". I suspect that a playlist would play songs just fine.

As you can see by my comment to Sandrine, I have yet to have consistent success. I want be clear I am NOT complaining about the component, I am overjoyed that Peter has created it. I am looking for tips and things I should consider to make my "Frankenstein" work consistently and as well as possible.


Rob
Title: UPnP MediaRenderer output | discussion
Post by: tominffm on 2012-12-18 22:00:48
works wunderful with a denon dnp-720ae network player with windows 8, both renderer and media server. no comparison to wmp.
Title: UPnP MediaRenderer output | discussion
Post by: Emerelle on 2012-12-18 22:34:29
Does not work with my WDTV (latest firmware). Bummer.
Title: UPnP MediaRenderer output | discussion
Post by: Midiman on 2012-12-19 07:32:27
Some testing I have done:

UPnP Renderer - foo_upnp 0.99.40 - sending AND streaming to:

foobar2000 - foo_upnp 0.00.40 - renderer can send FLAC or MP3 - can also use Playback Stream Capture(PSC) with FLAC or MP3
JRiver Media Centre 17 - renderer can send FLAC or MP3 - will accept MP3 or FLAC as PSC
XBMC 11.0 - renderer can send FLAC or MP3 - will only accept MP3 as PSC

foobar2000 1.2 beta1 - streaming to:

foobar2000 - foo_upnp 0.99.40 - accepts FLAC or MP3 - receiver always says STREAM ? 44100 KHz
JRiver Media Centre 17 - does not work
XBMC 11.0 - does not work

Thus, it appears that the new UPnP component is streaming only - and there is no way to tell it to stream MP3 for those devices which cannot handle FLAC/WAV? I am guessing here - based on what works and does not ;-) Speaking personally, I think that streaming as opposed to sending files across the network is the preferred option as this is the only way to support "gapless playback".

foo_upnp 0.99.40 has the option to stream FLAC/WAV as MP3 - and this seems to work fine. Peter, do you think it might be a good idea to allow your new component to do this?

Mike

PS Thanks for writing this new component


Title: UPnP MediaRenderer output | discussion
Post by: BrainDedd on 2012-12-19 12:01:41
Hey all ... got this showing my Galaxy S3 via Bubble, but when I play files nothing happens? Am I missing something?
Title: UPnP MediaRenderer output | discussion
Post by: meDveD.spb on 2012-12-19 16:17:22
win7 64 sp1 + foobar2000 v1.2 beta 2 + foo_upnp-0.99.41+ UPnP-Output

after every restart an error:
Failed to load DLL: foo_run.dll
Failed to load DLL: foo_input_monkey.dll
...
each time the different  plugin

win7 64 sp1 + foobar2000 v1.2 beta 2 + foo_upnp-0.99.41:
no errors

win7 64 sp1 + foobar2000 v1.2 beta 2 + UPnP-Output:
no errors
Title: UPnP MediaRenderer output | discussion
Post by: sld on 2012-12-19 18:28:09
Hey all ... got this showing my Galaxy S3 via Bubble, but when I play files nothing happens? Am I missing something?

Create a Homegroup and specifically allow the S3 under devices.
Title: UPnP MediaRenderer output | discussion
Post by: shelbster on 2012-12-20 04:12:37
It does not see the Yamaha RX-V473 Networked Receiver which works with Windows Media Player perfectly.  I'd like to use foobar - Why isn't it working?  HELP!

I have windows 7 with home theatre networked in. components properly plugged in.
Title: UPnP MediaRenderer output | discussion
Post by: duddie on 2012-12-20 13:19:18
Hi,

I have self made embedded linux box that acts as my DLNA client in my living room. When I discovered your plugin I wanted to add media renderer capability by utilizing this: http://gmrender.nongnu.org/ (http://gmrender.nongnu.org/) unfortunatelly I get XML response error. Can you look at this or maybe you can open source code for your component because I am willing to contribute.

Title: UPnP MediaRenderer output | discussion
Post by: mtr on 2012-12-21 11:54:25
Peter,if you ever get this to work on the Samsung SMT-G7400 (UPC Horizon mediabox) I know a lot of people will be very exited. So far I haven't had any luck getting it detected as an output device, but will have time to do more testing after Xmas.
Title: UPnP MediaRenderer output | discussion
Post by: Lurker on 2012-12-23 08:58:40
Peter, as a WinXP user, I'm curious: which bug prevents you to keep compatibility with WinXP. I'm a programmer, and I hope I can understand the tech details
Title: UPnP MediaRenderer output | discussion
Post by: savantique on 2012-12-23 17:59:01
So just so we're clear, this cannot be used to stream music to an Xbox 360?
Title: UPnP MediaRenderer output | discussion
Post by: bsauvage on 2012-12-24 09:40:27
Peter, I tried this and my OPPO BDP-105 player is not seen as a renderer (while it is perfectly seen by the uPnP controller window and the stream playback is fine).
Title: UPnP MediaRenderer output | discussion
Post by: ppienter on 2012-12-24 20:48:52
This is a fantastic plug-in ! I would love to control foobar with my iPad streaming to my UPnP devices !

I tried the plug-in with Windows 7 and foobar 1.2 beta 2 with a Denon AVR-4311 and a Marantz CR-602 but in both cases I get following error :
"Unrecoverable playback error: UPnP device error: invalid server response"

Though both devices are recognized.

Also, Is there a possibility to add some transcoding options ?
e.g. downsample to 24bit/96kHz for HD Audio and transcode ALAC to WAV or FLAC

Thanks upfront!
Title: UPnP MediaRenderer output | discussion
Post by: Midiman on 2012-12-24 22:22:17
For those with problems such as "does not work" - can I suggest that you try the foo_upnp component?

http://www.foobar2000.org/components/view/foo_upnp (http://www.foobar2000.org/components/view/foo_upnp)

This component has a gazillion options and individual options for different upnp clients. If you experiment with this component you will discover what works and what does not with your upnp client. Then you will be able to provide better information for problem diagnosis. As I said earlier, Peter's component appears to be streaming only - and maybe your client does not support this?

PS As requested above - foo_upnp does support transcoding.

Title: UPnP MediaRenderer output | discussion
Post by: ppienter on 2012-12-27 13:31:22
For those with problems such as "does not work" - can I suggest that you try the foo_upnp component?

http://www.foobar2000.org/components/view/foo_upnp (http://www.foobar2000.org/components/view/foo_upnp)

This component has a gazillion options and individual options for different upnp clients. If you experiment with this component you will discover what works and what does not with your upnp client. Then you will be able to provide better information for problem diagnosis. As I said earlier, Peter's component appears to be streaming only - and maybe your client does not support this?


Actually I'm using the foo_upnp component and I like the multiple options you can configure. Only minor point for me with this plug-in is that I can not use my iPad to control what I stream. I have to use the pc. This is why I love the option to select a UPNP device as output.

If this would work then I can abandon iTunes completely.

PS As requested above - foo_upnp does support transcoding.

Great ! Could you explain how it works ? Unless you mean the foo_upnp I'm already using...
Title: UPnP MediaRenderer output | discussion
Post by: Midiman on 2012-12-28 03:43:03
Yes - I mean using the current foo_upnp:

File > Preferences > Tools > UPnP > Server > Streaming Profiles

Options for Transcoding to MP3 - and Playback Stream Capture to MP3
Title: UPnP MediaRenderer output | discussion
Post by: alkasar on 2012-12-29 00:29:04
I may miss the point : why build this component as the excellent foo_upnp component already exists with many more capabilities ?
Title: UPnP MediaRenderer output | discussion
Post by: shakey_snake on 2012-12-29 03:17:25
I may miss the point : why build this component as the excellent foo_upnp component already exists with many more capabilities ?

1. This is many degrees simpler and more specific to use than the foo_upnp renderer.

2. If this can be dependably used with most devices without issue, parts of it could be integrated into the core, which could then be exposed to other components via API.
Title: UPnP MediaRenderer output | discussion
Post by: bsauvage on 2012-12-29 08:04:41
I may miss the point : why build this component as the excellent foo_upnp component already exists with many more capabilities ?

1. This is many degrees simpler and more specific to use than the foo_upnp renderer.

2. If this can be dependably used with most devices without issue, parts of it could be integrated into the core, which could then be exposed to other components via API.

It also has a huge benefit for users of foo_remote: once the renderer is selected as an output, you can use your ipad with Apple Remote app to control what you play on your network renderer (otherwise, with foo_upnp, you can only control what plays on the output device, which is typically your PC).
Title: UPnP MediaRenderer output | discussion
Post by: Pico1965 on 2012-12-29 09:09:05
@Peter

I take you my feedback on use your component.

Scenario:

PC WIN7 2b
Foobar 1.2
UPnP MRO 1. beta 3

Ampli Yamaha RX-V1067

Turn on my ampli and select the PC input

In foobar select Playback -->Output--> Device --> RX-V1067

Play a song in foobar.

No errors show
The timeline increase
The peak meter not work

On the TV the ampli recognise the incoming data and show "the player"
After 15 seconds of silence "the player" disapper.

On PC foobar continues to play the song.
Title: UPnP MediaRenderer output | discussion
Post by: alkasar on 2012-12-29 09:54:59
thanks for response. Ok, I guess a less functional solution can always be called simpler to use

Upnp streaming is not as universal at it claims to be. Make it work with many devices is a challenge. Bubblegumm spent a lot of time and energy into that for foo_upnp. Hope Peter will do the same.

The side benefit seems to be that output device selection is now exposed in the foobar API.

@bsauvage: switch to android  with upnp control app, you can select the media server (foo_upnp for example) and the renderer (your upnp player of choice). You control the playback from the app. These apps act as universal upnp remote.
foo_remote is a simple remote control for foobar. It benefits from the output device selection now available.


What would really be fun and new, is to be able to play music in scync on multiple Upnp players at the same time.

Title: UPnP MediaRenderer output | discussion
Post by: bkh on 2013-01-02 09:14:47
Hello Peter,

first of all many thx for your great job on foobar.

I installed the MRO. But I couldn't find any new device under Playback -> Outout -> Device.
I don't know what's going wrong.

W7 - SP1 - ...

Greetings

bkh
Title: UPnP MediaRenderer output | discussion
Post by: bsauvage on 2013-01-02 22:44:31
thanks for response. Ok, I guess a less functional solution can always be called simpler to use

Upnp streaming is not as universal at it claims to be. Make it work with many devices is a challenge. Bubblegumm spent a lot of time and energy into that for foo_upnp. Hope Peter will do the same.

The side benefit seems to be that output device selection is now exposed in the foobar API.

@bsauvage: switch to android  with upnp control app, you can select the media server (foo_upnp for example) and the renderer (your upnp player of choice). You control the playback from the app. These apps act as universal upnp remote.
foo_remote is a simple remote control for foobar. It benefits from the output device selection now available.


What would really be fun and new, is to be able to play music in scync on multiple Upnp players at the same time.


Thanks for the suggestion, maybe I should consider...  ....
Meanwhile, I hope the next version will bring compatibility improvements!
Title: UPnP MediaRenderer output | discussion
Post by: probedb on 2013-01-02 23:07:32
Just tried this with my TV for kicks. It's a Panasonic 42GT50. It works and the TV switches to playback, however after maybe 10 seconds it stops and just switches back to the TV as if it's stopped receiving audio or something?
Title: UPnP MediaRenderer output | discussion
Post by: alkasar on 2013-01-03 00:26:20
anyone managed to use this with foo_upnp as a player on another pc running foobar ?
Title: UPnP MediaRenderer output | discussion
Post by: PeterMac on 2013-01-06 02:28:26
I tried with my TV Bravia 46HX850 as render, work very good, but only can stream/play MP3 files, FLAC do not work (TV native can't read this format) but would be nice to add something to transcode/encode in fly to MP3.
Title: UPnP MediaRenderer output | discussion
Post by: Sandrine on 2013-01-07 18:25:15
With beta3 volume control doesn't work anymore with the Yamaha RX-V3067. Instead of changing the volume accordingly, any click on + or - sets it to the lowest value.
Title: UPnP MediaRenderer output | discussion
Post by: Tuupmeister on 2013-01-11 08:47:11
Error with WD TV Live latest firmware.

I get the error: Unrecoverable playback error: UPnP device error: Invalid Arguments

How to solve this problem? With Foo_Upnp i can't get flac files to play. So i want to give Foo_out_upnp a try. Basicly it is just what i'm looking for.
Title: UPnP MediaRenderer output | discussion
Post by: swayzak on 2013-01-13 18:32:37
I tried with my TV Bravia 46HX850 as render, work very good, but only can stream/play MP3 files, FLAC do not work (TV native can't read this format) but would be nice to add something to transcode/encode in fly to MP3.


I just tried with my Sony 55" HX853 & get following message:

"Unrecoverable playback error: UPnP device error: Action Failed"

If there is a setting on the TV responsible for this, I can't find it. Any ideas anyone ?
Title: UPnP MediaRenderer output | discussion
Post by: bwat47 on 2013-01-15 16:58:48
thanks for response. Ok, I guess a less functional solution can always be called simpler to use

Upnp streaming is not as universal at it claims to be. Make it work with many devices is a challenge. Bubblegumm spent a lot of time and energy into that for foo_upnp. Hope Peter will do the same.

The side benefit seems to be that output device selection is now exposed in the foobar API.

@bsauvage: switch to android  with upnp control app, you can select the media server (foo_upnp for example) and the renderer (your upnp player of choice). You control the playback from the app. These apps act as universal upnp remote.
foo_remote is a simple remote control for foobar. It benefits from the output device selection now available.


What would really be fun and new, is to be able to play music in scync on multiple Upnp players at the same time.

Yeah I use foo_upnp on foobar2000 on my desktop and bubbleupnp on my nexus 7, works perfectly
Title: UPnP MediaRenderer output | discussion
Post by: bsauvage on 2013-01-20 12:00:09
Peter, here's a weird one.

I recently switched from PC to Mac, and I'm trying to run foobar2000 in Wine/Crossover, a PC emulator within the mac.
I put foobar2000 within a windows Vista 'bottle' (i.e. an environment where vista programs are supposed to feel good).
Foobar2000 works like acharm, problem is with UPnP MediaRenderer Output: foo_out-upnp: it complains that it can only be run in vista, not xp... so something weird is happening here!

Do you have any clue ? You may not be willing to entertain fixing this, as the plugin is probably still a bit buggy, but just in case you keep a tab of stuff to fix, I hope one day it makes the cut...!

Thank you!

PS: despite being on a Mac now, I'd still like to use foobar2000 as it's the most versatile and powerful player out there, especially with all the plugins around!
Title: UPnP MediaRenderer output | discussion
Post by: ZhuGeLiang on 2013-01-20 18:00:59
Tested with a Bang & Olufsen BeoSound 5. Getting the following error:

Unrecoverable playback error: UPnP device error: No response
Title: UPnP MediaRenderer output | discussion
Post by: washu on 2013-01-20 19:12:17
On my Yamaha RX-A820 with the latest firmware I get the following error when I try to start playback:

Unrecoverable playback error: UPnP device error: invalid server response

The consle also shows:

UPnP volume get failure: invalid server response

Foo_upnp works fine, but I would like the simplicity of just changing the output device.
Title: UPnP MediaRenderer output | discussion
Post by: Anakunda on 2013-01-24 09:05:53
Hello, I feel like needing help with sharing my foobar's library to my cell phone.
I have started both media server and renderer service but unfortunately don't know how to browse and play the library on connected device.
The phone seems to access shared drives per-file via LAN without problem but builtin player and Poweramp seem to only see phone's local storage, don't know if even possible see my PC's library from these players...
I leave Windows Media Player Network Sharing Service disabled because of this introduced occasional high CPU utilization in the past, don't know if this service is necessary for UPNP sharing functionality.
Title: UPnP MediaRenderer output | discussion
Post by: probedb on 2013-01-24 09:19:41
Is anyone actually reading the feedback in this thread?
Title: UPnP MediaRenderer output | discussion
Post by: Anakunda on 2013-01-24 09:25:32
I am sorry this probably should I ask in UPnP controller thread ^^
Title: UPnP MediaRenderer output | discussion
Post by: bwat47 on 2013-01-27 15:22:17
Is there a way to get this working over the internet? I have the pro version of bubbleupnp on my nexus 7, and I have bubbleupnp server running on my desktop pc, and am using no-ip for dynamic dns. I can access the music on my pc over the internet fine on my nexus 7, but I have no idea how (or if it will work) to get it to work with foobar.
Title: UPnP MediaRenderer output | discussion
Post by: NEMO7538 on 2013-01-27 21:02:13
Works fine here with foo_upnp on another machine but metadata is not available on the renderer (it does, including albumart, when i use foo_upnp as the controller). Is it normal ?
Title: UPnP MediaRenderer output | discussion
Post by: Peter on 2013-01-28 12:18:18
Thanks for all your feedback.
Is anyone actually reading the feedback in this thread?

I do read the thread, but I do not have the resources to help most of you guys at the moment as I do not have access to the problematic hardware models; only validated the renderer against all devices that I own.

Metadata forwarding is not currently supported (feature request acknowledged).
Title: UPnP MediaRenderer output | discussion
Post by: probedb on 2013-01-28 12:39:10
Thanks for the reply Peter. Is it possible to get the plugin to go into debug mode and spew out what's happening at all?

Might be useful for more detailed feedback without needing the devices.
Title: UPnP MediaRenderer output | discussion
Post by: Xenion on 2013-01-28 16:53:04
Thanks for the plugin. Works very good with the Linn Majik DSM. The Majik DSM has a preamp built in and the volume buttons in foobar2000 remote-control the preamp-volume. That's really great.
However there are some flaws: If you change anything to the playback specs it results in a loud noise that sound similar to white noise.

Example 1:
select "primary sound driver"
start playback of song
change output to the linn renderer
=> noise (stop/start of playback fixes the problem)

Example 2:
select linn renderer with 16bit output format
start playback of a song
change output format to 24bit
=> noise (stop/start of playback fixes the problem and the linn plays in 24bit just fine)

Same for resampling changes etc.

It's probably because foobar2000 live-updates the playback-specs/format without interrupting the playback. The renderer plays a file named http://ip:port/stream.wav (http://ip:port/stream.wav) and needs a stop/start of the playback if the format changes to see the new format.

Note that the noise can be very loud and may harm your speakers or ears if you try to reproduce the error.
Title: UPnP MediaRenderer output | discussion
Post by: Peter on 2013-01-30 16:40:55
New version (beta 4) up.
Title: UPnP MediaRenderer output | discussion
Post by: it_manager on 2013-02-03 12:38:36
I tried to stream over network to my Marantz NA7004, but have received error message from Foobar 1.2:
Unrecoverable playback error: UPnP device error: invalid server response
Please, help to solve it.
Title: UPnP MediaRenderer output | discussion
Post by: Xenion on 2013-02-04 12:37:46
Thanks for the update. The "loud noise" issues mentioned above have been fixed in some parts in beta4. Going from 16bit to 24bit is now possible without any noise. But still when changing sample rates in the resampler dsp it <sometimes> produces this noise. If i change the sample rates (only supported ones by the Linn DSM) let's say 10 times it results in this noise. Also the following procedure results in noise:
1. Set output format to 24bit.
2. Start playback
3. Change output format to 32 bit => Playback now stops without error message
4. Change output format back to 24bit => Noise

I know that my renderer is not capable of accepting 32bit audio but perhaps it might be possible to let this result in an error message instead of noise.

The following procedure also results reproducible in noise:
1. Start playback a ripped CD for example (so every file has the same specs => 44.1kHz/16bit)
2. Let it play until the last song of this playlist stops the playback automatically.
3. Start playback again with any song of the same playlist. => Noise

Another issue is that you can stop the playback with the Linn Hardware IR-Remote but cannot make it start again but this is probably intended or not possible i guess.

Thanks
Title: UPnP MediaRenderer output | discussion
Post by: bsauvage on 2013-02-04 15:09:35
New version (beta 4) up.

Hi Peter!

Well, it seems it still cannot see my OPPO BDP-105.

Touching wood for some further compatibility improvements in the upcoming versions.

Good luck!

Thanks
Title: UPnP MediaRenderer output | discussion
Post by: washu on 2013-02-05 04:52:42
Still having the same issue with beta 4: Unrecoverable playback error: UPnP device error: invalid server response

Peter, would a packet capture between the PC and the UPnP receiver be of any use to you?
Title: UPnP MediaRenderer output | discussion
Post by: lwizard on 2013-02-05 16:05:02
I would like to notify that
it DOESN'T work with CocktailAudio X10 UPnP renderer.
It says:
Unrecoverable playback error: UPnP device error: invalid server response

Thanks!
Title: UPnP MediaRenderer output | discussion
Post by: hellraiza on 2013-02-21 20:32:36
same problem with marantz:[NR1602].......
Unrecoverable playback error: UPnP device error: invalid server response
need help
Title: UPnP MediaRenderer output | discussion
Post by: bulache on 2013-02-21 23:08:57
I also have the same problem trying to output to my Pioneer SC-2022.
Already tried all possible settings: buffer size, output data format (16, 24 and 32)

Here the console entries:
Code: [Select]
Opening track for playback: "Track01.wav" / index: 1
[UPnP] transport op: Play
[UPnP] transport op "Play" fail: invalid server response
[UPnP] transport op: Stop
[UPnP] transport op "Stop" fail: invalid server response
Unrecoverable playback error: UPnP device error: invalid server response
Title: UPnP MediaRenderer output | discussion
Post by: amir on 2013-02-22 12:54:47
Same problem here
foobar2000 ver 1.2.3

trying to output to my Pioneer SC-LX56
I see the SC-LX56 available in the device list
but when i try to play something i get the:
"Unrecoverable playback error: UPnP device error: invalid server response"

foo_upnp by bubbleguuum does stream without problem
Title: UPnP MediaRenderer output | discussion
Post by: joedimagio on 2013-02-22 13:49:00
Unrecoverable playback error: UPnP device error: network error  OR  Unrecoverable playback error: UPnP device error: No contents

With:
Foobar2000 v1.2.3
Output Device selected is TV-46C6400 (Samsung TV)
Title: UPnP MediaRenderer output | discussion
Post by: bulache on 2013-02-22 22:49:37
Here another console output while trying to play to my MED600X3D:

Code: [Select]
Opening track for playback: "Track01.wav"
[UPnP] Device protocol info:
[UPnP] http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_SM,http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_MED,http-get:*:audio/L16;channels=1;rate=44100:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;channels=2;rate=44100:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;channels=1;rate=48000:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;channels=2;rate=48000:DLNA.ORG_PN=LPCM,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_PS_NTSC,http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_PS_PAL,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_NA,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_NA_T,http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_HD_NA_T,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/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:*:audio/mpegurl:*,http-get:*:audio/mp3:*,http-get:*:audio/mpeg:*,http-get:*:audio/x-ms-wma:*,http-get:*:audio/wma:*,http-get:*:audio/vnd.dlna.adts:*,http-get:*:audio/mp4:*,http-get:*:audio/mpeg3:*,http-get:*:video/mpeg:*,http-get:*:video/x-ms-wmv:*,http-get:*:video/x-ms-asf:*,http-get:*:video/x-ms-avi:*,http-get:*:video/x-msvideo:*,http-get:*:video/mpeg4:*,http-get:*:video/avi:*,http-get:*:video/h264:*,http-get:*:video/mp4:*,http-get:*:video/3gpp:*,http-get:*:video/flv:*,http-get:*:video/x-matroska:*,http-get:*:video/quicktime:*,http-get:*:application/x-ndsvgdrm:*,http-get:*:application/vnd.rn-realmedia:*,http-get:*:image/jpeg:*,http-get:*:image/png:*,http-get:*:image/tiff:*,http-get:*:image/gif:*
[UPnP] Stream address: http://192.168.1.15:52345/stream.l16
[UPnP] HTTP request: GET /stream.l16
[UPnP] Source: 192.168.1.16:49992
[UPnP] Accept: */*
[UPnP] Accept-Ranges: bytes
[UPnP] Connection: Keep-Alive
[UPnP] contentFeatures.dlna.org: 1
[UPnP] Host: 192.168.1.15:52345
[UPnP] Keep-Alive: 300
[UPnP] Range: bytes=0-
[UPnP] transferMode.dlna.org: Streaming
[UPnP] User-Agent: RealtekVOD/1.0.0 (Linux)
[UPnP] Serving LPCM
[UPnP] Connection: close
[UPnP] Content-Type: audio/L16;rate=44100;channels=2
[UPnP] TransferMode.dlna.org: Streaming
[UPnP] User-Agent: Windows/7.0 UPnP/1.1 foobar2000/1.x
[UPnP] transport op: Play
[UPnP] HTTP request: GET /stream.l16
[UPnP] Source: 192.168.1.16:49993
[UPnP] Accept: */*
[UPnP] Accept-Ranges: bytes
[UPnP] Connection: Keep-Alive
[UPnP] contentFeatures.dlna.org: 1
[UPnP] Host: 192.168.1.15:52345
[UPnP] Keep-Alive: 300
[UPnP] Range: bytes=0-
[UPnP] transferMode.dlna.org: Streaming
[UPnP] User-Agent: RealtekVOD/1.0.0 (Linux)
[UPnP] Serving LPCM
[UPnP] Connection: close
[UPnP] Content-Type: audio/L16;rate=44100;channels=2
[UPnP] TransferMode.dlna.org: Streaming
[UPnP] User-Agent: Windows/7.0 UPnP/1.1 foobar2000/1.x
[UPnP] transport op OK
[UPnP] transport op: Stop
[UPnP] transport op "Stop" fail: network timeout
Unrecoverable playback error: UPnP device error: network timeout


It works just fine with Kinsky...
Title: UPnP MediaRenderer output | discussion
Post by: amir on 2013-02-23 11:59:00
If it helps

first message from the foo_out_upnp, ver 1.0 beta 4
second message from foo_upnp by bubbleguuum, ver 0.99.45 (and Pioneer receiver SC-LX56 is playing the song)

here is the console output:
Code: [Select]
Opening track for playback: "D:\Audio\Music\My Music\MP3\Kool And The Gang\Kool And The Gang - Celebration.mp3"
Unrecoverable playback error: UPnP device error: invalid server response

foo_upnp: opened 'file://D:\Audio\Music\My Music\MP3\Kool And The Gang\Kool And The Gang - Celebration.mp3' for streaming
Title: UPnP MediaRenderer output | discussion
Post by: maddman on 2013-02-23 15:07:10
I just wanted to add a quick note to let everyone know the 1.2.3 release and UPnP Controller continue to work well with WD TV Live Plus.  I have 6 of these now sprinkled between various systems in my house and offices and FooBar works great, just select a target depending upon where you are and you're good to go.  If you have a number of older, non-networked, but nice receivers these units make a cheap, quality audio solution.  I'm running Win8 and the DLNA support is simply dysfunctional with these units so FB to the rescue!
Title: UPnP MediaRenderer output | discussion
Post by: ppienter on 2013-02-23 19:53:28
This is a fantastic plug-in ! I would love to control foobar with my iPad streaming to my UPnP devices !

I tried the plug-in with Windows 7 and foobar 1.2 beta 2 with a Denon AVR-4311 and a Marantz CR-602 but in both cases I get following error :
"Unrecoverable playback error: UPnP device error: invalid server response"

Though both devices are recognized.

Also, Is there a possibility to add some transcoding options ?
e.g. downsample to 24bit/96kHz for HD Audio and transcode ALAC to WAV or FLAC

Thanks upfront!


I tried the beta 4 with foobar 1.2.3 and I still have the same result...

It's strange that it's reported to be working with a Denon DNP-720 AE.
My hifidealer tried this and had the same error like me.

Looking forward to the next release!
Title: UPnP MediaRenderer output | discussion
Post by: angelus1969 on 2013-03-13 10:56:17
As foo_upnp works with my T+A Cala with not much editing of the settings, I was hopefull that it would also work with the UPnP MediaRenderer output, but alas, I get the "Unrecoverable playback error: UPnP device error: invalid server response" error. My Dune HD Smart D1 isn't even seen as a renderer. Would have been great if it would be able to work with my T+A.......

Angelo
Title: UPnP MediaRenderer output | discussion
Post by: Bobbins on 2013-04-13 23:13:09
Hey all ... got this showing my Galaxy S3 via Bubble, but when I play files nothing happens? Am I missing something?


I'm having exactly the same trouble, also Galaxy S3, also using the BubbleUPnP app.

The phone shows up on Playback > Output in FooBar, and the volume controls in FooBar alter the phone volume - but when playing, the song progress bar in Foobar moves for the first couple of seconds, then just twitches a bit and halts.

There's nothing played through the phone at all.

Can anyone help?

(Someone replied to the quoted user suggesting setting up a home group, that didn't help me).
Title: UPnP MediaRenderer output | discussion
Post by: NEMO7538 on 2013-04-14 08:14:17
Two comments / questions :
Is there an explanation?
Title: UPnP MediaRenderer output | discussion
Post by: Bobbins on 2013-04-16 23:35:57
I'm having exactly the same trouble, also Galaxy S3, also using the BubbleUPnP app.
The phone shows up on Playback > Output in FooBar, and the volume controls in FooBar alter the phone volume - but when playing, the song progress bar in Foobar moves for the first couple of seconds, then just twitches a bit and halts.
There's nothing played through the phone at all.

Still having the same problem - does anyone know any Android alternatives to Bubble UPnP that would let me find out if it's the foobar2000 component or Bubble?

Although I suppose the other option some kind of network connectivity issue, does anyone know whether that is likely or possible given the volume buttons work?

Really stuck for a way to narrow the problem down...
Title: UPnP MediaRenderer output | discussion
Post by: bubbleguuum on 2013-04-17 07:41:38
I'm having exactly the same trouble, also Galaxy S3, also using the BubbleUPnP app.
The phone shows up on Playback > Output in FooBar, and the volume controls in FooBar alter the phone volume - but when playing, the song progress bar in Foobar moves for the first couple of seconds, then just twitches a bit and halts.
There's nothing played through the phone at all.

Still having the same problem - does anyone know any Android alternatives to Bubble UPnP that would let me find out if it's the foobar2000 component or Bubble?

Although I suppose the other option some kind of network connectivity issue, does anyone know whether that is likely or possible given the volume buttons work?

Really stuck for a way to narrow the problem down...


Works perfectly fine for me on a Nexus 4.

If you wish you can send me a BubbleUPnP log file, streaming with foobar2000.
See first post of this thread (http://forum.xda-developers.com/showthread.php?t=1118891) for instructions on logging.
Title: UPnP MediaRenderer output | discussion
Post by: Ritsl on 2013-05-04 20:41:26
I'm having exactly the same trouble, also Galaxy S3, also using the BubbleUPnP app.
The phone shows up on Playback > Output in FooBar, and the volume controls in FooBar alter the phone volume - but when playing, the song progress bar in Foobar moves for the first couple of seconds, then just twitches a bit and halts.
There's nothing played through the phone at all.

Still having the same problem - does anyone know any Android alternatives to Bubble UPnP that would let me find out if it's the foobar2000 component or Bubble?

Although I suppose the other option some kind of network connectivity issue, does anyone know whether that is likely or possible given the volume buttons work?

Really stuck for a way to narrow the problem down...


Works perfectly fine for me on a Nexus 4.

If you wish you can send me a BubbleUPnP log file, streaming with foobar2000.
See first post of this thread (http://forum.xda-developers.com/showthread.php?t=1118891) for instructions on logging.

I see exactly the same problem, tried this on a LG Nexus 4 and a HTC Wildfire S. On the Nexus I created a log, here's a link to my dropbox: http://db.tt/YuaaKCMZ (http://db.tt/YuaaKCMZ)
Note: Playing from the Nexus 4 to the HTC using BubbleUPnP worked excellent.
Title: UPnP MediaRenderer output | discussion
Post by: mejogid on 2013-05-05 16:58:53
Thanks for the brilliant component. I'm new to Foobar, so sorry if this is stupid - the volume control works absolutely fine in Default UI mode. However, with columns UI, the volume slider doesn't work, either in a toolbar or in the standard columns UI. The mute button still works, and there are no errors in the console.

Edit: Additionally, it works regardless with keyboard shortcuts, but never with the Android emote control ("foobar2000 controller").
Title: UPnP MediaRenderer output | discussion
Post by: dennis_k85 on 2013-05-21 14:48:16
Is there any way you can fill in the metadata? Like the title and album? And possibly a pointer to the cover art?
Dennis
Title: UPnP MediaRenderer output | discussion
Post by: buckaroo on 2013-06-02 13:09:05
Tried it with my Denon AVR-1912.
No success.
"Unrecoverable playback error: UPnP device error: invalid server response" is all I got.
Using foobar 1.2.6.

Code: [Select]
Opening track for playback: "xxx.mp3"
[UPnP] transport op: Play
[UPnP] transport op "Play" fail: invalid server response
[UPnP] transport op: Stop
[UPnP] transport op "Stop" fail: invalid server response
Unrecoverable playback error: UPnP device error: invalid server response
Title: UPnP MediaRenderer output | discussion
Post by: joeg on 2013-08-31 14:29:27
Marantz AV8801... invalid server response.

Is it possible to add Denon/Marantz support?

Title: UPnP MediaRenderer output | discussion
Post by: joeg on 2013-09-15 02:14:28
Marantz AV8801... invalid server response.

Is it possible to add Denon/Marantz support?



Just curious... Is this plugin still under active development?
Title: UPnP MediaRenderer output | discussion
Post by: Jesper Holm on 2013-10-05 01:04:52
Works perfectly on Denon 1912.

I only needed to remove my DNS for IP4 once, and then another router-port was opened for fb2k.

Streaming 24bit 96kHz  Rock on!
Title: UPnP MediaRenderer output | discussion
Post by: joeg on 2013-10-05 02:42:33
Works perfectly on Denon 1912.

I only needed to remove my DNS for IP4 once, and then another router-port was opened for fb2k.

Streaming 24bit 96kHz  Rock on!


Can you elaborate on that?
Title: UPnP MediaRenderer output | discussion
Post by: mauritsivs on 2014-02-06 12:47:46
Works perfectly on Denon 1912.

I only needed to remove my DNS for IP4 once, and then another router-port was opened for fb2k.

Streaming 24bit 96kHz  Rock on!


Can you elaborate on that?


yes please explain! i cant get it to work on my Marantz 6007
Title: UPnP MediaRenderer output | discussion
Post by: le_chat on 2014-02-08 22:52:41
Hi all,

I use this components with buble upnp (on android), and it works perfectly.
I just encounter 1 problem with visualization in foobar : they don't work when I select my renderer output (they work with the local soundcards)

Any idea ?

Thanks !
Title: UPnP MediaRenderer output | discussion
Post by: Jochen2069 on 2014-02-26 20:40:06
Works perfectly on Denon 1912.

I only needed to remove my DNS for IP4 once, and then another router-port was opened for fb2k.

Streaming 24bit 96kHz  Rock on!


Hallo Jesper,

I have encountered the same problem as several others using this plugin (using a Pioneer XW-SMA1-W speaker).
I always get the answer : Unrecoverable playback error: UPnP device error: invalid server response

please can you explain any details on "needed to remove my DNS for IP4 once, and then another router-port was opened for fb2k".

Thank you very much in advance.

To Peter:
It would be great if foobar could support a native DLNA 1.5 compatibility.
I am using this media player all the time !!! - Great work !!!

Best regards

  Jochen
Title: UPnP MediaRenderer output | discussion
Post by: Xinos on 2014-02-26 23:44:25
I am trying to use this plugin to output to xbmc which is installed on a raspberry pi (xbian). At first it would start playing but I got no audio. And on my Z906 hub the led lights for Decode and Stero configuration would cycle in an animation (Never seen it do that before). Anybody have experience getting this to work?

I read somewhere that it might be a 5.1 problem and that it can only handle stereo. I tried playing video from XBMC to make sure the audio was working,  but now whenever I try to play something in foobar I get the "UPnP device error: network timeout" error.
Title: UPnP MediaRenderer output | discussion
Post by: kap on 2014-03-06 00:19:19
Unrecoverable playback error: UPnP device error: network timeout

Hi,
I can't convince foobar to stream anything to my external DAC - PS Audio PWD. I have no problems streaming from jRiver or eLyric Music MAnager, but foobar has been my favorite player for last 10 years.... Don't want no river! Pleeeeease update the plugin


I run Win7/64, foobar2000 latest built, hardware: PS Audio PWD DAC MkII.
Title: UPnP MediaRenderer output | discussion
Post by: stevem2 on 2014-05-09 04:26:42
Unrecoverable playback error: UPnP device error: network timeout

Hi,
I can't convince foobar to stream anything to my external DAC - PS Audio PWD. I have no problems streaming from jRiver or eLyric Music MAnager, but foobar has been my favorite player for last 10 years.... Don't want no river! Pleeeeease update the plugin


I run Win7/64, foobar2000 latest built, hardware: PS Audio PWD DAC MkII.


kap, I have been streaming from a Windows 7 PC to a PWD (and now a PS Audio Direct Stream) using the PSA Bridge for quite some time with no major issues, as have several other members of the PS Audio forums. It's the best way to get gapless play using the Bridge. I suggest you post there asking for help as I know the plug-in works with your DAC. (You didn't say anything about the Bridge but I assuming you are using one.)
Title: UPnP MediaRenderer output | discussion
Post by: stevem2 on 2014-05-09 04:31:29
Speaking of PS Audio DACs and their Bridge, is it possible to use this component and foobar2000 to stream DSD?
Title: UPnP MediaRenderer output | discussion
Post by: LouW on 2014-05-09 20:37:54
Speaking of PS Audio DACs and their Bridge, is it possible to use this component and foobar2000 to stream DSD?


Yes, I have a PS Audio PWD dac with Bridge, and this plugin allows for full gapless.
Title: UPnP MediaRenderer output | discussion
Post by: stevem2 on 2014-05-10 03:13:21
Speaking of PS Audio DACs and their Bridge, is it possible to use this component and foobar2000 to stream DSD?


Yes, I have a PS Audio PWD dac with Bridge, and this plugin allows for full gapless.


Thanks LouW.  I understand that.  I've been using foobar2000 with this plug-in to stream PCM files to the PWD and Bridge for some time now. But have you found a way to stream DSD files to the Bridge using the new Direct Stream DAC?
Title: UPnP MediaRenderer output | discussion
Post by: a3aan on 2014-07-22 17:12:56
I'm in the market for a network player to use with this plugin. But many devices (with a price point below $1k) do not seem to work. I was wondering if we could start compiling a list with devices that do work with this plugin (including under what conditions)? Maybe in a new thread?

Cheers,
Adriaan.
Title: UPnP MediaRenderer output | discussion
Post by: speakers_86 on 2014-08-01 21:33:21
This is exactly what I am looking for, except that it does not work with my Sony receiver.  I am getting an invalid server response.
Title: UPnP MediaRenderer output | discussion
Post by: mindbomb on 2014-08-23 22:19:38
This plugin works fine for me in general, but if I pause in the middle of a song, it's a bit of a crapshoot to have it play smoothly upon resuming. If I increase the network buffer, I can solve this, but then the times on the players start getting desynced pretty largely. I'm creating the renderer with the other upnp plugin, and using this one to do the output, so I suppose it could be the fault of the other plugin, idk.
Title: UPnP MediaRenderer output | discussion
Post by: EpicForever on 2014-12-15 18:53:23
Question:
Does this component rely on any Widnows serice like "UPnP Host" "SSDP Discovery" "Browser" "Server" etc?
Title: UPnP MediaRenderer output | discussion
Post by: raykovski on 2015-04-09 00:01:20
Did anybody find plugin for upnp streaming that works?
Title: UPnP MediaRenderer output | discussion
Post by: g725s on 2015-04-13 05:35:01
Description:
This component presents any UPnP MediaRenderer devices present on your home network as foobar2000 output devices.

Link:
http://www.foobar2000.org/components/view/foo_out_upnp (http://www.foobar2000.org/components/view/foo_out_upnp)


Peter,
I would like foobar2000 to be an always on DLNA server on my WHS2011 machine.  I can get DNLA to work using the UPnP/DLNA Renderer, Server, Control Point (http://www.foobar2000.org/components/view/foo_upnp) component only when logged in.

So I tried running a task scheduler to have Foobar2000 run at boot so that Foobar2000/DNLA might be available without logging in.  Hoping then that the DNLA server component I used above would be available to my Onkyo receiver without having to login to my WHS2011 box. 

Question: How is this component that you developed different from the one by bubbleguuum above that I used?  Do you always have to be logged in to a user account to get DNLA to work?

If I logged into my WHS2011 box and did not have Foobar2000 installed then I would see on my Onkyo receiver a DNLA server instance for the WHS2011 Shared Folders.  Adding Foobar2000 w/DNLA component while logged in, I can see Foobar2000 DNLA as well.  But as soon as I try to schedule Foobar2000 to run at boot so that it will be active without logging in, it kills both DNLA instances and on my Onkyo receiver.  And I see no DNLA servers on my Onkyo receiver when logged in on WHS2011 also when I have Foobar2000 scheduled to run at boot. 

I posted also seeking some suggestions over on the bubbleguuum component thread here: http://www.hydrogenaud.io/forums/index.php...st&p=895522 (http://www.hydrogenaud.io/forums/index.php?s=&showtopic=69664&view=findpost&p=895522)
Title: UPnP MediaRenderer output | discussion
Post by: Joepee on 2015-10-25 23:50:06
Did anybody find plugin for upnp streaming that works?


Unresolved problems with streaming have been reported more often in this forum, but the problem could be related on using a wireless accespoint in-between


Streaming from Foobar (with foo_out_upnp.dll) to (A) my Onkyo TX NR515 or (B) to another PC running foobar (with foo_upnp.dll) works fine via my wired home network, but it fails as soon as I try to do it with a wireless access point link in-between.
In both cases (wired & wireless) Foobar sees all mediarenderers involved.

In case (A) via wireless, Foobar reports: "Unrecoverable playback error: UPnP device error: Resource not found" and stops playing

In case (B) via wireless, Foobar on the streaming PC does not report anything but Foobar as renderer on the other PC reports "Unable to open item for playback (Could not connect to host): http://127.0.0.1:50363/stream.l16" (http://127.0.0.1:50363/stream.l16&quot;)

In case (B) via wired, the console of Foobar reports "Opening track for playback: "http://192.168.1.172:49600/stream.l16" and everything works well

In case (B) via wireless , the console of Foobar reports:
   Opening track for playback: "http://127.0.0.1:50363/stream.l16"
   Unable to open item for playback (Could not connect to host):
   "http://127.0.0.1:50363/stream.l16"

I tried several options but non of them helped:
- Disabling the firewalls on both PCs.
- Toggling settings on the wireless access point "enabling UPnP" and "Enabling IGMP proxy".
- Changing to a wireless accion point from another brand did not work either.

Some other details:
- The streaming PC uses "Windows 7 starter" and the other PC is windows 7 as well.
- the wired network has only switches in-between
- Windows media player cannot stream anymore to my Onkyo TX NR515. It worked once while debugging the issue but after disabling WMP and enabling it agian it fails as well


Has anybody a clou what is going wrong here?
Title: UPnP MediaRenderer output | discussion
Post by: Ickam on 2015-11-07 11:06:13
Hi,
I tried using the plugin with Samsung ue40h6400ak. Allshare  recognizes foobar but when I try streaming foobar playback, I get a message "Check your network connection" on the TV. I tried both default port of the plugin, and port 80, with disabled as well as enabled firewall. I stream films with allshare no problem, so I guess it's either a misconfiguration of the plugin or some bug in it.
Can you help?
Title: Re: UPnP MediaRenderer output | discussion
Post by: Peter on 2016-03-09 15:12:35
Beta 6 has been released.
Infamous Kodi incompatibility bug is now gone.
Title: Re: UPnP MediaRenderer output | discussion
Post by: Devocalypse on 2016-03-10 18:03:38
Glad to see this project isn't abandoned Peter.
I recently got a Sony HT-XT3 and when I try to play anything on it I'm getting:
Code: [Select]
UPnP volume get failure: Action Failed
Opening track for playback: "E:\MUSIC\BIFRONTE~公界島奇譚~ オリジナルサウンドトラック\01 - 暗がり篭ノ鳥.flac"
[UPnP] transport op: Play
[UPnP] transport op "Play" fail: user abort after 0:00.010585
Unrecoverable playback error: UPnP device error: Action Failed
[UPnP] Detached transport op failure: Action Failed
So far only bubbleUPNP and Windows' own Cast to Device (Windows Digital Media Controller) are working as expected. Everything else including foo_upnp, foo_out_upnp, even mediamonkey seem to be using some UPNP implementation that fails miserably. I experimented a bit with a c# ManagedUPNP library and it works but I'd rather not reinvent the wheel and the whole cart (player). Nothing beats foobar2k.

Other things I tried:
- emulating a DLNA renderer using the cast functionality via BubbleUPnP Server - crashes the renderer
- open home renderer - foobar cannot see it

Some function definitions as found out by ManagedUPNP:
Code: [Select]
AVTransport:1 on Sony HT-XT3

SetAVTransportURI {
    Argument: [in] InstanceID => A_ARG_TYPE_InstanceID
    Argument: [in] CurrentURI => AVTransportURI
    Argument: [in] CurrentURIMetaData => AVTransportURIMetaData
}
SetNextAVTransportURI {
    Argument: [in] InstanceID => A_ARG_TYPE_InstanceID
    Argument: [in] NextURI => NextAVTransportURI
    Argument: [in] NextURIMetaData => NextAVTransportURIMetaData
}
Let me know if I can help out with a dump of the XMLs or anything.
Title: Re: UPnP MediaRenderer output | discussion
Post by: Peter on 2016-03-15 14:10:29
Thanks for the bug report.

For reference, the players that you've mentioned, they do not use the same UPnP implementation.
foo_upnp uses Platinum UPnP stack, foo_out_upnp uses my own UPnP stack, so this cannot be blamed on a bug in a specific library, as foo_upnp and foo_out_upnp are completely different animals.

It would be most helpful if you could install wireshark (http://"www.wireshark.org") and post a dump of both successful (Cast to Device) and unsuccessful (foo_out_upnp) requests sent to your device.
Title: Re: UPnP MediaRenderer output | discussion
Post by: Devocalypse on 2016-03-15 16:15:14
Thanks for clarifying Peter.
It seems the hardware players are the ones not following the spec properly.
I attached my attempt at a wireshark dump with capture filter set to the UPNP renderer's IP and here are the steps I took:

Setup information:
Controller (Windows 10) IP:  192.168.1.100
Renderer (HT-XT3) IP: 192.168.1.119
Music file: same file is used in all tests - 16 bit 44.100 Khz flac

Cast to Device (Windows Digital Media Controller)
Step1: Right click media file in Explorer -> triggers device enumeration
Step2: Right click file -> cast to device -> htxt3 -> controller window appears -> starts playing (stopped sniffing after a few seconds)

foo_out_upnp
Step1: foobar Preferences -> Output - triggers device enumeration
Step2: after selecting the upnp: HT-XT3 as output - when restarted, foobar does a sort of handshake
Step3&4:  attempt at playing the same file

I'd gladly provide more information if needed. I'm also currently attempting to do wifi packet capture of my phone's bubbleUPNP controller from the mikrtotik router to wireshark.

EDIT: dump rar includes both scenarios. Ignore the title.
Title: Re: UPnP MediaRenderer output | discussion
Post by: Devocalypse on 2016-03-15 17:42:22
Here is a packet dump streamed from my router > wireshark, filtered on the MACs of my android phone (using BubbleUPNP) and Sony device.
Due to the possibility that it might include third party connections containing sensitive information it is password protected. I'm sending Peter the password via PM.

1: Start foobar with foo_upnp in server mode.
2: Start bubbleUPNP on my android phone
3: Browse the foobar server and load some files in the renderer's playlist and play them
4. Send stop

I'm not sure if the router is properly forwarding 100% of the packets so some of them might be lost in transit.
Title: Re: UPnP MediaRenderer output | discussion
Post by: bubbleguuum on 2016-03-16 14:59:33
Here is a packet dump streamed from my router > wireshark, filtered on the MACs of my android phone (using BubbleUPNP) and Sony device.
Due to the possibility that it might include third party connections containing sensitive information it is password protected. I'm sending Peter the password via PM.

1: Start foobar with foo_upnp in server mode.
2: Start bubbleUPNP on my android phone
3: Browse the foobar server and load some files in the renderer's playlist and play them
4. Send stop

I'm not sure if the router is properly forwarding 100% of the packets so some of them might be lost in transit.

Can you email me a BubbleUPnP log file doing the same actions (ideally playing a track stored on your Android device so the renderer http requests appear) ? It will be a lot easier than raw wireshark traces. I will pass the relevant info to Peter to help troubleshoot this issue.
See end of the first post of this thread for logging instructions: http://forum.xda-developers.com/showthread.php?t=1118891.

Also: are you able to successfully change volume of this renderer in BubbleUPnP ? or if using foo_upnp ?
 
Title: Re: UPnP MediaRenderer output | discussion
Post by: Devocalypse on 2016-03-16 18:18:25
Can you email me a BubbleUPnP log file doing the same actions (ideally playing a track stored on your Android device so the renderer http requests appear) ? It will be a lot easier than raw wireshark traces. I will pass the relevant info to Peter to help troubleshoot this issue.
See end of the first post of this thread for logging instructions: http://forum.xda-developers.com/showthread.php?t=1118891.
Also: are you able to successfully change volume of this renderer in BubbleUPnP ? or if using foo_upnp ?
 

foo_upnp cannot see the soundbar renderer at all - only my TV.
foo_out_upnp can see and select the soundbar renderer but all functions fail including volume control.
bubbleUPNP (Android) - playback, seeking and volume control is working flawlessly for the soundbar.

The renderer accepts 24bit 96khz flac at 4.7mbit bitrate without a problem as indicated by the sony renderer (app?) on the devices HDMI port while a stream is being rendered.
Playing to my TV is not an option, although it's connected to the soundbar via HDMI ARC, as the screen has to be turned on while it's playing.

I'm attaching bubble's log and here are the steps I went through:

I hope this helps. Thank you both for all you've done.
Title: Re: UPnP MediaRenderer output | discussion
Post by: Peter on 2016-03-17 09:20:01
Thanks for the logs. Strangely it did not register the relevant requests in the wireshark log though...

Anyway, it turns out that my own Sony TV has a similar issue. I've done a thorough comparison of requests being sent, my code vs bubbleupnp, and beaten the TV into working.
For anyone interested in the details-
Apparently Sony devices require the following part of SOAP request to be set:
s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"

Beta 10 has been posted, Sony devices should now work.

<cue trolololo.mp3 playing on living room TV>
Title: Re: UPnP MediaRenderer output | discussion
Post by: Devocalypse on 2016-03-17 15:15:44
Sadly still a no-go on my Soundbar. It does work with the TV however.

On the TV:

On the soundbar:

From the log I deduced that 44.1khz is served as PCM and 96khz is served as WAV - doesn't work.
Bubble controller chooses 24bit 96khz LPCM - works.
Sony's own streaming android controller Songpal (which is at the same time a buggy bloated mess) serves it as 24bit 96khz FLAC - works.
Afaik there are no streaming device profiles in foo_out_upnp. Is there any chance we can tell it to send the native format without transcoding?

Forgot to add: Browsing the foo_upnp server from the device properly selects the 96khz FLAC stream after I made a custom profile for the renderer and allowed higher resolution audio.
Title: Re: UPnP MediaRenderer output | discussion
Post by: Peter on 2016-03-19 13:14:59
Thanks for the logs.

It looks like the Sony player at least understands some of our commands now, that's progress.

Have you been able to control volume with another app? It would be most useful to see wireshark logs, our unsuccessful volume control vs another app that works. About the logs, to make sure that relevant info is included, search the log (in notepad or alike) for User-Agent line that includes the name of the app that you're working with. Also narrowing down to TCP traffic only will exclude lots of stuff that we don't care about.

Other than that, it looks like they're trying to read our data stream and open more than one HTTP GET connection at once for some reason. We do not support this right now and opening another GET request before terminating the last one fails. I'll look into rewriting relevant part of the component to allow this.
Title: Re: UPnP MediaRenderer output | discussion
Post by: Devocalypse on 2016-03-19 14:12:16
Here is the dump. It's from windows' own Cast to device - fiddled with it's volume controls a bit.
You can find all the relevant info in the log.

EDIT1: Mute and Unmute is working fine from foo_upnp btw. Forgot to test it previously.
EDIT2: Monitoring in wireshark: moving the volume slider does not trigger any xml request or response to the player as opposed to muting.
EDIT3: It's most probably related to the volume slider. I created keyboard shortcuts for Vol up and down and they work. Could be a columns UI thing. Will clone my config and use the standard UI to test from now on.
EDIT4: Standard UI does not have a vol slider but has vol + / - buttons. They work but trigger a change every two clicks as the device only accepts even numbers up to 100 which translates to 100 on the TV and 50 on the soundbar. Talk about a pointless inconsistency.

Last EDIT: It seems the stream is the only remaining thing failing right now. I've attached the latest play attempt wireshark dump of just the soap communication XMLs.
Title: Re: UPnP MediaRenderer output | discussion
Post by: bigCstyle on 2016-03-20 06:36:15
any way to seemlessly transition from pc to android? it would be nice to be able to play music on my pc then switch to my android and back to pc without changing the output device.

ie: listening on pc, pick up my phone and play on bubble, then stop playback on bubble and it switches playback to primary sound on my pc
Title: Re: UPnP MediaRenderer output | discussion
Post by: OpaJo0 on 2016-03-21 23:35:23
tested UPnP MediaRenderer output v1.0 beta 10 on foobar2000 v1.3.10 beta 2 with Kodi 16.0 (both on windows 7 64bit) --> does still not work, (no sound, after 4 seconds progress-bar stops)

any way to seemlessly transition from pc to android? it would be nice to be able to play music on my pc then switch to my android and back to pc without changing the output device.

ie: listening on pc, pick up my phone and play on bubble, then stop playback on bubble and it switches playback to primary sound on my pc
You can set keyboard shortcuts to the UPnP : output devices and DS : primary sounddriver. So you can switch nearly seamless between them.

Problem is, that when the UPnP device goes offline, the shortcut has to be set again, because name changes and it cannot be recognized. Any solution possible here?
Title: Re: UPnP MediaRenderer output | discussion
Post by: Peter on 2016-03-22 12:03:04
Here is the dump. It's from windows' own Cast to device - fiddled with it's volume controls a bit.
You can find all the relevant info in the log.

EDIT1: Mute and Unmute is working fine from foo_upnp btw. Forgot to test it previously.
EDIT2: Monitoring in wireshark: moving the volume slider does not trigger any xml request or response to the player as opposed to muting.
EDIT3: It's most probably related to the volume slider. I created keyboard shortcuts for Vol up and down and they work. Could be a columns UI thing. Will clone my config and use the standard UI to test from now on.
EDIT4: Standard UI does not have a vol slider but has vol + / - buttons. They work but trigger a change every two clicks as the device only accepts even numbers up to 100 which translates to 100 on the TV and 50 on the soundbar. Talk about a pointless inconsistency.

Last EDIT: It seems the stream is the only remaining thing failing right now. I've attached the latest play attempt wireshark dump of just the soap communication XMLs.
Thanks for testing, this clears many mysterious issues.

I guess I owe you an explanation about the inconsistency of volume control between different UIs.
By design, foobar2000 originally supported slider style volume control operation. However, a slider makes it possible to accidentally max the volume out; with many UPnP devices this extremely undesirable. Hence at the point the UPnP output component was introduced (foobar2000 v1.2, 2012), foobar2000 architecture was extended to allow plus minus style volume control and disregard potentially dangerous slider input; existing menu commands & keyboard shortcuts to manipulate volume step by step are compatible with this scheme. However, any old user interfaces that present volume sliders will act erratically when UPnP output is selected and must be updated to detect plus/minus mode and show something else instead. All my UI components were updated at that time, I guess not all third parties have yet caught up with this change by now.
Title: Re: UPnP MediaRenderer output | discussion
Post by: Peter on 2016-03-22 12:19:26
tested UPnP MediaRenderer output v1.0 beta 10 on foobar2000 v1.3.10 beta 2 with Kodi 16.0 (both on windows 7 64bit) --> does still not work, (no sound, after 4 seconds progress-bar stops)

(...)

You can set keyboard shortcuts to the UPnP : output devices and DS : primary sounddriver. So you can switch nearly seamless between them.

Problem is, that when the UPnP device goes offline, the shortcut has to be set again, because name changes and it cannot be recognized. Any solution possible here?

Re Kodi
Things should get better with beta 11 (coming soon). This component presents foobar2000's output as a live non-seekable stream, and cannot possibly behave 100% sanely if the renderer opens multiple connections - which unfortunately many renderers do. The solution until now has been to stall concurrent connections (broke Kodi badly, before beta 6), or to reply with 403 Denied (beta 6 and up). Since beta 11, I'm going to allow concurrent connections reading our data stream, and drop connections that lag behind, I'm hoping that this will properly fix Kodi as well as remaining Sony devices.

Re keyboard shortcuts
Problem acknowledged. Keyboard shortcuts require that the internal device ID remains unchanged; it is currently derived from device's URL on your network. I'll look into using something else that remains constant across device restarts. At least the current approach appears to work fine with Android/BubbleUPnP here.
Title: Re: UPnP MediaRenderer output | discussion
Post by: Devocalypse on 2016-03-22 13:06:38
Thanks for all the info Peter.
I tried beta11 and am getting the same Corrupted or Unsupported message on the device.
I'm wondering if I can somehow proxy the device so you can control it directly. Will experiment with l2tp on my router to see if I can open a proper tunnel.

On the other hand I think the performance of playing to the TV has increased with b11. It feels snappier now and commands seem to execute a bit faster for some reason. Could be my imagination tho.

See attached logs.
Title: Re: UPnP MediaRenderer output | discussion
Post by: Peter on 2016-03-22 14:14:21
OK so it's not a concurrency problem after all, thanks for the logs.
They're accessing our stream 3 times yet refusing to play, there must be something wrong with the HTTP headers we give to them.

Regarding L2TP - thanks for the offer but no need to bother with that, I'm not yet out of other options, I'll get back to you with another version to test soon.
Title: Re: UPnP MediaRenderer output | discussion
Post by: Peter on 2016-03-22 14:58:02
Beta 12:
Adjusted HTTP headers somewhat
Added an override to specifically prefer WAV over LPCM streaming, that might fix Sony which seems to hate our LPCM stream
Title: Re: UPnP MediaRenderer output | discussion
Post by: Devocalypse on 2016-03-22 19:35:04
beta12: again corrupted or unsupported format with both WAV and LPCM.
Also LPCM is working on the TV while WAV is not.

I did some more experiments with http://192.168.1.100:currentport/stream.wav
Playing wav url in opera: plays a few seconds and stops
Attempting to download stream: failed with reported file size 512 GB
Attempting to stream via Android VLC: plays a few seconds and stops.

I suppose the stream is cut because the device does not respond properly in time.
The stream is not interrupted while playing to the TV with the above methods.
Could it be that the renderer does not support endless streams and requires a size to be set in the metadata?

I also get ICMP port unreachable a lot in wireshark.
Title: Re: UPnP MediaRenderer output | discussion
Post by: OpaJo0 on 2016-03-23 03:25:24
Same behaviour with beta 12 and Kodi.
Don't know if this helps: The "Playback Stream Capture" of foo_upnp by bubbleguuum works with Kodi
Since foo_upnp_out works perfect with another foobar2000 client maybe the problem is simply on Kodi side?

Title: Re: UPnP MediaRenderer output | discussion
Post by: Peter on 2016-03-23 13:35:25
Beta 13 posted.

Re: Kodi
Further Kodi lag fixes have been added. During my tests I could no longer make it lag. It seems Kodi's user interface turns unresponsive as soon as the remote end of some UPnP operation is lagging. This is a pretty bad design and is bound to cause issues.

Re: Sony
HTTP headers have been tweaked some more.
WAV stream is now presented as 4GB not 512GB - the bad side is that playback will terminate after having transferred 4GB of data (a couple of hours depending of stream specification), but various software seems to prefer it this way.
LPCM stream is the preferred way - the only legitimate way to present an infinite-length stream. I added 3 alternate modes so we can find out which it is that Sony does not like: plain infinite-length but not chunked, infinite-length chunked and finite-length. I hope at least one of those works.

Additionally, I made our minimalist HTTP server continue to run after playback has been stopped, just to serve some 404 to anyone asking for our stream (so they don't run into a closed port); should address some more responsiveness issues.
Title: Re: UPnP MediaRenderer output | discussion
Post by: Devocalypse on 2016-03-23 14:26:27
Seems 13 is my lucky number! I'm extremely grateful Peter, bubbleguuum as well for helping from the sidelines.

Finite length fixed it immediately on the Sony HT-XT3.
Both WAV and LPCM work flawlessly in finite mode in both 16bit and 24bit output modes.
The device doesn't seem to like Chunked infinite and Plain infinite modes at all.

4GB sounds quite reasonable. It's around 25 tracks of around 4 minutes on high res so it's good.
Wouldn't that limitation be lifted if foo_out_upnp instructed the renderer at the end of the track to load the next one in the playlist (like what happens when we double click another track) and thus reset the starting stream position to the new track and tell the renderer to start the stream as if it's a new one? The header for length could be the actual playing track length in that case. Of course we would lose gapless playback but it might be worth it in some scenarios and would allow proper metadata for track fields.

EDIT: I've set playback thread priority to 7 in advanced settings but I'm getting some interrupt choppiness several times per track at random (both 16bit and 24bit output). Renderer is on a 100mbit lan connected via UTP cable (not wireless) - <1ms latency. Playing from a Quad core i7 2600k. When streaming from foo_upnp I don't have any hiccups.
I'll experiment with buffer levels to see if it can be alleviated with them.


Title: Re: UPnP MediaRenderer output | discussion
Post by: Peter on 2016-03-23 16:07:37
Thanks for confirming Sony being fixed.

Beta 14 has been posted - fixed Linn not working regression, made Sony finite length fix applied by default.

As for choppyness, I doubt thread priority will have anything to do with it, I'll look into it.
Title: Re: UPnP MediaRenderer output | discussion
Post by: OpaJo0 on 2016-03-23 20:40:25
I was just about to write "still not working" ... BUT  then I found the Advanced Preferences :-)
By selecting "Prefer WAV", UPnP Out to Kodi works perfectly! Maybe it worked already in earlier versions.

Also the keyboard shortcuts can be used with Kodi, because identifier stay the same.
So the problem is caused by foo_upnp Media "Renderer" (not "Server"). If it stops and starts again the shortcut is lost.

Anyway, thanks for the great work !!!
Title: Re: UPnP MediaRenderer output | discussion
Post by: Peter on 2016-03-24 12:23:21
Beta 15:
Worked around 127.0.0.1 stream bug once again - hopefully properly this time.
Worked around more Kodi bugs.


Re LPCM not working with Kodi
Please clarify. I can't reproduce this issue, all LPCM scenarios work fine with Kodi here. What Kodi version are you using?
Title: Re: UPnP MediaRenderer output | discussion
Post by: OpaJo0 on 2016-03-24 22:48:20
Kodi: found the problem is caused by the output data format (under preferences: output): with LPCM only 16-bit works.
Title: Re: UPnP MediaRenderer output | discussion
Post by: Finiderire on 2016-03-26 15:26:25
Hi,

I was searching an alternative to Windows Media Player to stream music to my QED uPlay Stream device with my beloved Foobar2000. It wasn't long thanks to your component. Thank you very much. You can add QED uPlay Stream to successfull devices.

a+,=)
-=Finiderire=-

Configuration:
Hardware: QED uPlay Stream v01.00.04 configured in Wi-Fi
Operating System: Windows 10
Foobar2000 v1.3.10
Foobar2000 component: UPnP MediaRenderer Output v1.0 beta 15, released on 2016-03-24, configured as output 16-bit, default buffer size 1000ms.
Title: Re: UPnP MediaRenderer output | discussion
Post by: minx_man on 2016-04-11 18:33:44
Hi Folks I have this successfully sending a stream to my Samsung S5 mini smartphone using Bubble Upnp on the phone. I was previously using foo_upnp at the foobar end but for some reason it stopped working for me a while back so I'm glad this is working for me.

Is there any way we could add a feature to allow foobar to send audio to the local PC soundcard as well as the Upnp device at the same time? I'm not necessarily concerned about having these in perfect sync (i suspect having local and streamed playback in perfect sync would be v hard to do anyway) but it would be very handy to be able to stream to a Upnp client whilst having the PC speakers still playing music albeit with a few millieseconds of drift. Thanks again for an ace product.
Title: Re: UPnP MediaRenderer output | discussion
Post by: svp on 2016-04-20 01:41:55
I am using the UPnP Media Renderer Output component, the version 1.0 Beta 15 and I consistently get the following error the first time I try to play the first track after starting foobar and after selecting the DLNA Output in Preferences/Playback/Output... The error is: "Unrecoverable playback error: UPnP device error: launch receiver already in progress".

After I try to play again any track, there is no error anymore. So this only happens only once and immediately after I start my PC and Foobar and not anymore. Did anyone notice this?

Thank you!
Title: Re: UPnP MediaRenderer output | discussion
Post by: bubbleguuum on 2016-04-22 15:34:41
I am using the UPnP Media Renderer Output component, the version 1.0 Beta 15 and I consistently get the following error the first time I try to play the first track after starting foobar and after selecting the DLNA Output in Preferences/Playback/Output... The error is: "Unrecoverable playback error: UPnP device error: launch receiver already in progress".

After I try to play again any track, there is no error anymore. So this only happens only once and immediately after I start my PC and Foobar and not anymore. Did anyone notice this?

Thank you!

That error is an error specific to Chromecast wrapped as DLNA renderer by BubbleUPnP Server. It is benign but I will see what I can so it does not trigger on first play.
Title: Re: UPnP MediaRenderer output | discussion
Post by: helohe on 2016-05-20 10:59:20
The plugin does not seem to work nicely together with RaspberryPi + upmpdcli (http://www.lesbonscomptes.com/upmpdcli/ (http://www.lesbonscomptes.com/upmpdcli/)). I tried changing the setting from LPCM to WAV with no effect. I can only hear static on the output which means there seems to be some problem with decoding/ understanding the proper format of the data in the upmpdcli side.
Title: Re: UPnP MediaRenderer output | discussion
Post by: kode54 on 2016-05-21 07:48:50
You are probably thinking of foo_upnp?
Title: Re: UPnP MediaRenderer output | discussion
Post by: helohe on 2016-05-21 09:23:28
You are probably thinking of foo_upnp?

No I want it to work with foo_upnp_out. It works just fine with foo_upnp but is unpractical. I prefer just to set the output device to my upnp renderer and done instead of having to struggle with the extra playlist and so on of the foo_upnp plugin.
Title: Re: UPnP MediaRenderer output | discussion
Post by: kode54 on 2016-05-21 23:49:47
But in the case of the software you linked to, it isn't doing the rendering at all. It is farming the whole connect and render process out to MPD.

E: I just tested. It works just fine, so long as you set the bit depth to 16.
Title: Re: UPnP MediaRenderer output | discussion
Post by: Stony on 2016-06-05 14:00:23
There is a problem. Install an extension, start playback on the Yamaha CD-N500, hit the volume control (the default value was 50), the sound is switched off completely. The problem is that after the Yamaha sound is not output from any network resource or the USB. HELP ME PLEASE!
It seems to me, in some way, the volume was set to 0 and it stuck. it is impossible to return in any way.
Title: Re: UPnP MediaRenderer output | discussion
Post by: jonnybee on 2016-06-23 16:00:50
Thanks for confirming Sony being fixed.

Beta 14 has been posted - fixed Linn not working regression, made Sony finite length fix applied by default.

As for choppyness, I doubt thread priority will have anything to do with it, I'll look into it.

I am also using Sony HT-XT3 as output device in foobar2000 with foo_out_upnp 1.0 beta 15 and experience several problems:
- playback stops (for FLAC 16/44.1 files) before reaching the end of the file; the relevant message that appears in the console window is:
[UPnP] forcePlay() called
[UPnP] Returned time: 00:03:20
[UPnP] Transport state: PLAYING
[UPnP] HTTP request #4 finished
[UPnP] HTTP concurrency: 0
[UPnP] Returned time: 00:03:20
[UPnP] Transport state: STOPPED
[UPnP] forcePlay in effect + getLatency() zero
[UPnP] Detached transport op failure: Action Stop failed

- the playback controls on the physical remote don't work
- there is a 1:2 ratio between the change in volume on the physical device and in the foobar volume control (e.g., if Sony HT-XT3 displays a volume of 8, then foobar2000 displays a volume of 16), which has a negative impact when changing the volume from foobar2000 (it is very hard to control, the volume continues to change even when I stopped working with the foobar controls).


Title: Re: UPnP MediaRenderer output | discussion
Post by: jonnybee on 2016-07-13 21:57:50
Thanks for confirming Sony being fixed.

Beta 14 has been posted - fixed Linn not working regression, made Sony finite length fix applied by default.

As for choppyness, I doubt thread priority will have anything to do with it, I'll look into it.

I am also using Sony HT-XT3 as output device in foobar2000 with foo_out_upnp 1.0 beta 15 and experience several problems:
- playback stops (for FLAC 16/44.1 files) before reaching the end of the file; the relevant message that appears in the console window is:
[UPnP] forcePlay() called
[UPnP] Returned time: 00:03:20
[UPnP] Transport state: PLAYING
[UPnP] HTTP request #4 finished
[UPnP] HTTP concurrency: 0
[UPnP] Returned time: 00:03:20
[UPnP] Transport state: STOPPED
[UPnP] forcePlay in effect + getLatency() zero
[UPnP] Detached transport op failure: Action Stop failed

- the playback controls on the physical remote don't work
- there is a 1:2 ratio between the change in volume on the physical device and in the foobar volume control (e.g., if Sony HT-XT3 displays a volume of 8, then foobar2000 displays a volume of 16), which has a negative impact when changing the volume from foobar2000 (it is very hard to control, the volume continues to change even when I stopped working with the foobar controls).




Any answer? Thank you!
Title: Re: UPnP MediaRenderer output | discussion
Post by: tipar on 2016-07-14 18:55:34
Thanks, it works perfectly sending my library to my Android device with MediaHouse.
Title: Re: UPnP MediaRenderer output | discussion
Post by: tipar on 2016-07-14 18:59:04
I do not know what this component does exactly, I mean the list is long but when installing on v1.3.10 it causes that when I want to close my F2K the software stuck on "No responding". In order to make it work I had to uninstall the complement and erase it from the folder components. With the other UPnP or whatever it works perfectly. Sorry. Regards.
Title: Re: UPnP MediaRenderer output | discussion
Post by: SauronKN on 2016-08-20 12:55:14
Hi,
I use the plugin with a Sony SRS-X88 and with Kodi on a Minix Neo-X5.

At Sony I have to set Output Data Format to 24 bit, but when I change to the Minix, I hear nothing - there I have to configure 16 bit. If I then return to the Sony, I hear nothing again - only with 24 bit.

Is it possible to save the renderer specific data format so I only have to select it?
And it is possible to do the device selection at the Foobar UI, not in the configuration? Sometimes I change the room and want to hear it there...

Thx
Stefan
Title: Re: UPnP MediaRenderer output | discussion
Post by: denon on 2016-08-20 14:39:43
Heya. Got a problem! I'm using this mediarenderer with my Denon amplifier. It stops working when I skip a track. Then I must restart Foobar2000 to get sound again. Can this be fixed plix?

Note: This bug was fixed in the other upnp controller - "disable gapless playback if track advance stops working". However the other upnp controller is a pain. I rather want to use this one.
Title: Re: UPnP MediaRenderer output | discussion
Post by: ferdicharms on 2016-08-25 15:41:38
The plugin have a strange problem together with my RaspberryPi runs Archphile with upmpdcli.
All runs fine on my RaspberryPi, including UPnP/DLNA Renderer, Server, Control Point 0.99.49, works good.
But using the plugin UPnP MediaRenderer Output 1.0 beta 15 the channels are reversed on my RaspberryPi.
Title: Re: UPnP MediaRenderer output | discussion
Post by: jonnybee on 2016-09-07 11:19:28
Thanks for confirming Sony being fixed.

Beta 14 has been posted - fixed Linn not working regression, made Sony finite length fix applied by default.

As for choppyness, I doubt thread priority will have anything to do with it, I'll look into it.

I am also using Sony HT-XT3 as output device in foobar2000 with foo_out_upnp 1.0 beta 15 and experience several problems:
- playback stops (for FLAC 16/44.1 files) before reaching the end of the file; the relevant message that appears in the console window is:
[UPnP] forcePlay() called
[UPnP] Returned time: 00:03:20
[UPnP] Transport state: PLAYING
[UPnP] HTTP request #4 finished
[UPnP] HTTP concurrency: 0
[UPnP] Returned time: 00:03:20
[UPnP] Transport state: STOPPED
[UPnP] forcePlay in effect + getLatency() zero
[UPnP] Detached transport op failure: Action Stop failed

- the playback controls on the physical remote don't work
- there is a 1:2 ratio between the change in volume on the physical device and in the foobar volume control (e.g., if Sony HT-XT3 displays a volume of 8, then foobar2000 displays a volume of 16), which has a negative impact when changing the volume from foobar2000 (it is very hard to control, the volume continues to change even when I stopped working with the foobar controls).




In comparison, using BubbleUPNP on an Android device plays back without problems on the same output device (except for the scale in the volume change which is similar)
Title: Re: UPnP MediaRenderer output | discussion
Post by: Cebolla on 2016-09-08 12:40:42
Peter

If you are still actively developing this plugin, I've got a suggestion for providing support to those (usually) older UPnP/DLNA streamers that as Digital Media Player only devices (as opposed to also being Digital Media Renderers), cannot be used by UPnP/DLNA control points and therefore won't appear as a foo_out_upnp foobar2000 output device.

It would be very useful if you could provide a dummy or unlisted UPnP player option as an output device, which when selected and play is pressed, exposes its corresponding foo_out_upnp pcm stream as a track on an appropriate foobar2000 playlist tab. Since the foo_upnp plugin can now be reliably used alongside foo_out_upnp, it would be very straight forward to use the foo_upnp's UPnP media server to allow that playlist 'track' to be selected by the DMP's (internal) controller and thus give the DMP access to foo_out_upnp's current pcm stream.

Of course the icing on the cake would be to be to expose foo_out_upnp's own UPnP media server on the network with the current pcm stream selectable on it, so no need to go through foo_upnp's media server!

I look forward to reading your thoughts on these suggestions.

John

Title: Re: UPnP MediaRenderer output | discussion
Post by: Freaquence on 2016-09-09 15:29:50
Cannot get this to work on Kodi (16).
It looks like it's playing, but there is no sound from the Kodi device.

With Windows Media Player ("play to device") it works fine.

Title: Re: UPnP MediaRenderer output | discussion
Post by: Freaquence on 2016-09-10 09:53:15
All of a sudden, without having changed anything, it works!
Title: Re: UPnP MediaRenderer output | discussion
Post by: bubbleguuum on 2016-09-10 12:09:09
Peter

If you are still actively developing this plugin, I've got a suggestion for providing support to those (usually) older UPnP/DLNA streamers that as Digital Media Player only devices (as opposed to also being Digital Media Renderers), cannot be used by UPnP/DLNA control points and therefore won't appear as a foo_out_upnp foobar2000 output device.

It would be very useful if you could provide a dummy or unlisted UPnP player option as an output device, which when selected and play is pressed, exposes its corresponding foo_out_upnp pcm stream as a track on an appropriate foobar2000 playlist tab. Since the foo_upnp plugin can now be reliably used alongside foo_out_upnp, it would be very straight forward to use the foo_upnp's UPnP media server to allow that playlist 'track' to be selected by the DMP's (internal) controller and thus give the DMP access to foo_out_upnp's current pcm stream.

Of course the icing on the cake would be to be to expose foo_out_upnp's own UPnP media server on the network with the current pcm stream selectable on it, so no need to go through foo_upnp's media server!

I look forward to reading your thoughts on these suggestions.

John



Hi Cebolla,

You can already sort of do that with foo_upnp, as it exposes 'Playback Stream Capture' (PSC) via its media server.
For example, from a PS3 (not a PS4 as it neither support WAV or LPCM!) which has just DMP capability, you can browse foo_upnp and trigger playback of PSC from here. Now, foo_out_upnp could do exactly the same for these kind of devices (DMP), which is what you are asking for.

Title: Re: UPnP MediaRenderer output | discussion
Post by: PaulK on 2016-09-24 12:12:11
Hello to this forum
Title: Re: UPnP MediaRenderer output | discussion
Post by: PaulK on 2016-09-24 12:15:26
I have installed this component, but I can't get it to work (more than 2 minutes).
My device is an XBox, connected to a RJ45 LAN, not a wifi. Its DLNA works quite well with other controllers.

With this component, in foobar, it finds the Xbox in the output list, I can start playing, which is cool, but roughly 2 minutes after start, foobar keeps on reading but the sound stops and does not come back. It happens with any track, any encoding.

I've tried tweeking the buffer size, but it doesn't change anything.
Any suggestion, idea?
Title: Re: UPnP MediaRenderer output | discussion
Post by: grimson on 2016-11-06 18:20:01
Hello,

I have replaced my Denon AVR-3311 and could successfully use both the foo_upnp and foo_upnp_out preferring the foo_out_upnp plugin.
The replacement AVR-X4300H doesn't unfortunately get detected as a an upnp target in bot plugins.

I tried 'devicespy' to obtain the uPNP characteristisc and maybe I found the 'problem'.

the X4300H has 2 uPNP detections with a nested declaration for mediarenderer. My guess this nested thing does not work for the uPNP plugins?
How can one validate the uPNP capabilities needed for the uPNP plugins? :)

Thank you for this excellent uPNP plugin!



Title: Re: UPnP MediaRenderer output | discussion
Post by: limniscate on 2016-11-11 21:58:33
The plugin have a strange problem together with my RaspberryPi runs Archphile with upmpdcli.
All runs fine on my RaspberryPi, including UPnP/DLNA Renderer, Server, Control Point 0.99.49, works good.
But using the plugin UPnP MediaRenderer Output 1.0 beta 15 the channels are reversed on my RaspberryPi.

I have the same problem on my microRendu.  I also get a pop every time I start a song, and when I play a song with 24-bit output selected I get white noise.
Title: Re: UPnP MediaRenderer output | discussion
Post by: rob0809 on 2016-12-12 19:01:32
Hi.  I have one DLNA receiver and one Raspberry Pi connected to a different receiver in a different room.  I would like to stream whatever is playing in FB2K to either (or both) of these devices.  I would control what is playing via an Android tablet running the app Foobar Remote Controller.  Is this possible?  Is this the plugin I need to do that?
Title: Re: UPnP MediaRenderer output | discussion
Post by: Fairy on 2016-12-23 20:11:37
The plugin have a strange problem together with my RaspberryPi runs Archphile with upmpdcli.
All runs fine on my RaspberryPi, including UPnP/DLNA Renderer, Server, Control Point 0.99.49, works good.
But using the plugin UPnP MediaRenderer Output 1.0 beta 15 the channels are reversed on my RaspberryPi.

I have the same problem on my microRendu.  I also get a pop every time I start a song, and when I play a song with 24-bit output selected I get white noise.

I have exactly the same problem. The pop at the start is not present every time and sound about the same. With the old version the pop was there but every time a bit different. 24 bit I always had noise. You can only hear very quit parts, but louder volumes there is only noise.

Would love to see a fix for the popping problem. Is there a plugin for foobar to keep the signal on? Pregap is no solution, the pop is still there but the music is delayed.

I use Foobar2000 and a Raspberry with Moode. Dac is a VDACII via USB.

Edit: Just tried Archphile. Problem is exactly the same. The click is the same, but changes wen you select a resampler. When I resample to 176400 the pop is less loud, but still there. On a very low freq like 8000 it is a lot louder. Looks like a bit of buffer that is emptied to the audio stream.
Title: Re: UPnP MediaRenderer output | discussion
Post by: limniscate on 2016-12-28 05:50:44
The plugin have a strange problem together with my RaspberryPi runs Archphile with upmpdcli.
All runs fine on my RaspberryPi, including UPnP/DLNA Renderer, Server, Control Point 0.99.49, works good.
But using the plugin UPnP MediaRenderer Output 1.0 beta 15 the channels are reversed on my RaspberryPi.

I have the same problem on my microRendu.  I also get a pop every time I start a song, and when I play a song with 24-bit output selected I get white noise.

I have exactly the same problem. The pop at the start is not present every time and sound about the same. With the old version the pop was there but every time a bit different. 24 bit I always had noise. You can only hear very quit parts, but louder volumes there is only noise.

Would love to see a fix for the popping problem. Is there a plugin for foobar to keep the signal on? Pregap is no solution, the pop is still there but the music is delayed.

I use Foobar2000 and a Raspberry with Moode. Dac is a VDACII via USB.

Edit: Just tried Archphile. Problem is exactly the same. The click is the same, but changes wen you select a resampler. When I resample to 176400 the pop is less loud, but still there. On a very low freq like 8000 it is a lot louder. Looks like a bit of buffer that is emptied to the audio stream.

I hope these issues are fixed because I hate HQPlayer and JRiver.
Title: Re: UPnP MediaRenderer output | discussion
Post by: Kn on 2017-01-06 10:41:39
I tried to select Jplaystreamer - Jplay6.2 as UPnP renderer on fb2k v1.3.13 and foo_out_upnp v1.0 beta15 but it didn't work. :'(
I mean Jplaystreamer isn't shown on the output device in the preferences of fb2k.

Does anyone success on that ?
Title: Re: UPnP MediaRenderer output | discussion
Post by: benshr on 2017-01-31 14:08:56
Hi!

The foobar2000 stops with "format error" when I try to stream to my Yamaha R-N301 stereo reciever a 192/24 FLAC file. The recciever supports the format. 44/16 works well. What is the problem. The pause function also doesn't work.

thanks


Title: Re: UPnP MediaRenderer output | discussion
Post by: Kn on 2017-01-31 14:46:47
Hi,

Before that, I can't select the media renderer -  JPLAYStreamer at the Device in fb2k.

Preferences > Playback > Output > Device

I can see other ASIO drivers, DS drivers and renderers. However JPLAYStreamer isn't shown on the drop-down list.

Regards
Title: Re: UPnP MediaRenderer output | discussion
Post by: zacklin on 2017-03-01 23:11:29
Hi,
another raspberry pi 3 user here XD
I tried capture some packets between "foobar2000 + foo_out_upnp" and "mpd + upmpdcli",
when foobar2000 output format set to 32bit,
it seems like stream.wav in captured packet contain noise output.
But if output format set to 16bit, the sound is fine.

Could you possibly support 32bit output...?
Thank you!!
Title: Re: UPnP MediaRenderer output | discussion
Post by: kode54 on 2017-03-02 01:09:21
It does support 32 bit output, floating point, but not the pointless integer format, where 24 bit is more than sufficient to carry all that inaudible noise.
Title: Re: UPnP MediaRenderer output | discussion
Post by: zacklin on 2017-03-02 12:51:36
Hi,
maybe it could be some bugs when set to 24 / 32bit output..
At first I thought it was the audio decoder issue on upnp renderer side, I assumed 32bit floating format cannot be decoded on the fly, so it was only noise sound. But the MPD developer suggested capturing some data sent by foobar2000, and the results indicated audio data was noisy before decoding...
Title: Re: UPnP MediaRenderer output | discussion
Post by: rain_dog on 2017-04-21 21:25:15
I second the request for allowing 24 and 32 bit output format. It does not work for me also  :(
Title: Re: UPnP MediaRenderer output | discussion
Post by: voltagex on 2017-05-03 05:49:16
Reporting success on the Xbox One and a Sony KD series "smart" TV.

Few requests:

* Some indication that the plugin is working, but hasn't found any output devices.

* Ability to stream the raw audio instead of transcoding to PCM.

* Track info?

* Add a link to this discussion thread in the "about" box so I don't keep losing it
Title: Re: UPnP MediaRenderer output | discussion
Post by: Denis33333 on 2017-05-08 20:17:58
Works like a charm on Win7x64 fb1.3.15 and Pioneer VSX-924 receiver
The only issue is PAUSE btn [II] wich stops with: "Unrecoverable playback error: UPnP device error: Action Failed"
Title: Re: UPnP MediaRenderer output | discussion
Post by: ab111 on 2017-05-13 10:39:15
English.
The module is constantly crashing.
Tested it on two different computers and different devices for playback.
Win7 (32 bit)
Foobar v 1.3.15

Playback devices:
Panasinic Viera TV
-Network receiver ONKYO tx nr 737

Network connections:
Wi-Fi, wired Ethernet.
Wired and wireless connection are made router D-LINK DIR-615

Playing music on the network devices were tested for both types of connections.

In all variants of connection or playback problem occurs.
After the start of the track, the device switches to the network correctly playback. The track begins to play on the network device.

After some time (it can be from 10-15 seconds to 1-1, 5 minutes), the track suddenly stops. And the device via 3-4 seconds disconnects from the network play.

Configuring the module options ("buffer length", "Dither", "output data format") does not solve the problem.

If anyone knows how to solve this problem (or is it you can't fix), please write to my e-mail address and in this forum.

Thank you!

РУССКИЙ:
Модуль постоянно дает сбои.
Проверял на двух разных компьютерах и разных устройствах воспроизведения.
Win7 (32 bit)   с Foobar v1.3.15

Устройства воспроизведения:
-TV Panasinic Viera
-Сетевой ресивер ONKYO tx nr 737

Сетевые соединения: Wi-Fi, проводная Ethernet.
Проводное и беспроводное соединение производятся роутером D-LINK DIR-615

Воспроизведение музыки на сетевые устройства проверялись во всех вариантах.

Во всех вариантах соединения или воспроизведения возникает проблема.
После старта трека, устройство корректно переключается в режим  сетевого воспроизведения.  Трек начинает воспроизводится на сетевом устройстве.

Через некоторое время (это может быть от 10-15 секунд до 1-1,5 минут) трек внезапно останавливается. И устройство через 3-4 секунды отключается  из режима сетевого воспроизведения.

Конфигурирование опций модуля ("buffer length", "Dither", "output data format") не решают на эту проблему.

Если кто-нибудь знает, как это исправить (или это невозможно), прошу написать на мой e-mail  и в этот форум.

Спасибо!

ab111@mail.ru
Title: Re: UPnP MediaRenderer output | discussion
Post by: denis1 on 2017-05-24 15:50:34
24bit transmission doesn't work on current version 1.0 beta 15, released on 2016-03-24.
White noise comes from speakers. This is reported several times by different users in this thread.

When will it be resolved?
Title: Re: UPnP MediaRenderer output | discussion
Post by: doc_jochim on 2017-07-02 18:42:11
Hi there,

I just tried to install foo_out_upnp in my foobar2000 to stream chosen songs or playlists to my DLNA-AV-Receiver Yamaha RX-V3067.

After switching to 'RX-V3067' in 'Preferences > playback > output > device' I immediately was able to hear my songs using my Receiver.

But in contrast to a streaming of flac-files using microsoft's media player, using foobar's added streaming-ability, no information about artist, album or title to be displayed reaches the receiver. Only the song's name 'foobar2000 audio stream' is displayed, none of the other informations given by microsoft's media player.

Why?

Is there any hidden configuration, where I'd be able to stream further informations to be displayed at my receiver? Album-name? Artist-name? Song-Name?

André

In addition to that:
When I click on pause at the yamaha, foobar pauses. But if I click on paust at foobar200, I get the following error:
Quote
Unrecoverable playback error: UPnP device error: Transition not available

Closing the error message and clicking on play again is starting the song from the beginning. I cannot use the pause-button in foobar2000 while streaming to a dlna-device.

Why? Is there any possibility to take influence on this behaviour?
Title: Re: UPnP MediaRenderer output | discussion
Post by: wil85 on 2017-07-04 19:01:20

Hello,
Is the project abandoned?
cordially
Title: Re: UPnP MediaRenderer output | discussion
Post by: Case on 2017-07-05 07:54:50
It is not. Peter is busy with mobile foobar2000 and other paying work though.
Title: Re: UPnP MediaRenderer output | discussion
Post by: wil85 on 2017-07-06 12:33:57
Thank you,
As reported several times, 24bit and 32 bit transmission doesn't work on current version 1.0 beta 15. White noise comes from speakers.
Title: Re: UPnP MediaRenderer output | discussion
Post by: xerces8 on 2017-07-25 20:27:49
Also apparently pausing does not work, as reported several times.

My case:
- Windows 8.1 64 bit
- foobar2000 1.3.16
-  foo_out_upnp plugin (1.0 beta 15)
- Sony Bravia TV KDL-50W829

Playback works, pause gives "Unrecoverable playback error: UPnP device error: Action Pause failed"

Regards and thanks for the great plugin,
David

PS:
But in contrast to a streaming of flac-files using microsoft's media player, using foobar's added streaming-ability, no information about artist, album or title to be displayed reaches the receiver. Only the song's name 'foobar2000 audio stream' is displayed, none of the other informations given by microsoft's media player.
I see this too. Is this a bug or not implemented at all? Would be nice to have.
Title: Re: UPnP MediaRenderer output | discussion
Post by: fuggi on 2017-08-04 12:31:41
Hello folks,
I'm not quite sure if my topic belongs here, but I'll give it a try. So, please bear with me!

I've been using fb2k on a Windows HTPC for quite a long time now. Recently, I set up a DLNA speaker (Libratone Zipp Mini) and used this component (UPnP MediaRenderer Output) to stream the music to the speaker. However, after a few minutes the music always begins to pause for a few seconds and it becomes worse until the music eventually stops at all - regardless of the WiFi signal qualities, WMM settings and so forth. At the end of a series of test in order to find the reason of this issue (which involved checking all WiFi/LAN settings), I switched to another streaming software (StreamWhatYouHear) which works just fine - even together with regular fb2k output. Therefore, the issue must be related to this UPnP MediaRenderer Output component IMHO. Has anybody experienced similar issues or might have a clue what the reason could be and how to fix it?

BTW: I tried changing the output buffer, too. But that didn't help neither.

Best regards,
fuggi
Title: Re: UPnP MediaRenderer output | discussion
Post by: fuggi on 2017-08-04 12:47:35
Addendum:
I shall mention that I found the settings of this component only after submitting my first post. If I understood correctly, it only supports WAV or PCM streaming formats. That might be the reason since I use MP3 with StreamWhatYouHear. Anyways, I'll try the LPCM streaming tweaks the next days and let you you if it has any effect.

Best regards,
fuggi
Title: Re: UPnP MediaRenderer output | discussion
Post by: fuggi on 2017-08-06 06:31:54
Hi folks,
here are the results: Though the LPCM streaming tweaks slightly affected the time to failure, the stream still stopped eventually. Hence, I guess it is the missing MP3 streaming format which is the cause of this issue.

Luckily, StreamWhatYouHear offers it and works well. Only drawback of this alternative is that it allows me to stream to only one output device from a computer.

Best regards,
fuggi
Title: Re: UPnP MediaRenderer output | discussion
Post by: xerces8 on 2017-08-06 12:10:21
visualizations don't work when this output plugin is selected?

I thought they use data before it reaches the output renderer.
Title: Re: UPnP MediaRenderer output | discussion
Post by: yahya69 on 2017-08-26 13:14:41
For me, I use the plugin to stream to a Libratone Zipp box. After some seconds, output either gets interrupted or stops completely. Unfortunenate, the other Foobar component also doesn't work, for other reasons. Is there something one can do to extract debug messages from the component?
Title: Re: UPnP MediaRenderer output | discussion
Post by: xerces8 on 2017-09-06 18:51:52
When I play a 24 bit 96kHz FLAC, it is played too slow. I guess the samples are played 44100 per second.

The destination is a Sony Bravia KDL-50W828B TV.

Playing the same file (with foobar2k) over "Primary Sound Driver" (main board audio) works fine.
Also streaming it with WMP to the same TV works OK (after install MFFLAC so WMP can play FLAC files).

MFFLAC page: https://sourceforge.net/projects/mfflac/
Title: Re: UPnP MediaRenderer output | discussion
Post by: puosua on 2017-09-26 11:34:51
Reporting success on Cyrus Lyric 09.
Test environment: Win8.1 (64bit), Foobar2000 v1.3.16, UPnP MediaRenderer Output 1.0 beta 15
Cyrus Lyric 09 with firmware 2.3 as UPnP Renderer
Music source: HQ internet radio 320kbps MP3

Output data format: OK for all 16/24/32-bit
Issue: After changed to other output data format, connection between Cyrus Lyric 09 and foobar upnp output is lost (Unrecoverable playback error: UPnP device error: could not connect), need to power off/power on Cyrus Lyric 09 to get work again

Wish: Cyrus Lyric 09 only shows "foobar2000 audio stream", while foobar can show Title & Artist information. Hope UPnP Renderer site can get synced with foobar.
Title: Re: UPnP MediaRenderer output | discussion
Post by: saulgoodman on 2017-10-01 22:19:59
Hi,

I've installed properly the compenent but my DLNA Arcam Solo Music doesn't appear in the devices selection (Preferences > Playback > Output > Device)...
Anyone could advice me on how to check that ? Please ?
Title: Re: UPnP MediaRenderer output | discussion
Post by: saulgoodman on 2017-10-06 13:50:33
Hi, I hate do emphasise this but anyone could help me please ? I really don't understand what could be wrong . So if anyone is having an idea ....I've tried so much forums and done so much researches with no results I don't understand :/
Title: Re: UPnP MediaRenderer output | discussion
Post by: alpha centauri on 2017-11-01 11:49:04
Hello

I'm very satisfied by the plugin and use it for months now.My media renderer is a Denon DRA 100 and it works perfectly

Is there a way to have the stream title to display dynamic information like %title% or %artist% or both ?

In the panel of parameters, only a static value seems to be valid

Thanks in advance for your help.

Great plugin
Title: Re: UPnP MediaRenderer output | discussion
Post by: onirwai on 2017-11-05 18:47:47
visualizations don't work when this output plugin is selected?

I thought they use data before it reaches the output renderer.

Came here to report this. Any workarounds?
Thanks!
Title: Re: UPnP MediaRenderer output | discussion
Post by: kode54 on 2017-11-07 04:59:17
The problem is, visualizations require somewhat precise latency information. UPnP renderers don't really report this information, so visualizations would be horribly imprecise, possibly way ahead of what you actually hear.
Title: Re: UPnP MediaRenderer output | discussion
Post by: alpha centauri on 2017-11-13 22:21:46
Hello

I'm very satisfied by the plugin and use it for months now.My media renderer is a Denon DRA 100 and it works perfectly

Is there a way to have the stream title to display dynamic information like %title% or %artist% or both ?

In the panel of parameters, only a static value seems to be valid

Thanks in advance for your help.

Great plugin

Hello,

Any possibility to have and answer to this question or an evolution made to the component ?

Thanks in advance
Title: Re: UPnP MediaRenderer output | discussion
Post by: alpha centauri on 2017-11-20 23:04:51
Hello

I'm very satisfied by the plugin and use it for months now.My media renderer is a Denon DRA 100 and it works perfectly

Is there a way to have the stream title to display dynamic information like %title% or %artist% or both ?

In the panel of parameters, only a static value seems to be valid

Thanks in advance for your help.

Great plugin

Hello,

Any possibility to have and answer to this question or an evolution made to the component ?

Thanks in advance

Hi,

Anyone hoping a new version of this component ?
Requested functionnality : to have the stream title to display dynamic information like %title% or %artist% or both ?

Thanks in advance
Title: Re: UPnP MediaRenderer output | discussion
Post by: Peter on 2017-11-29 13:05:52
New version posted. Issues with specific devices have been addressed.

No title display yet. I'll investigate the possibility of doing so for a future update, but I'm not sure if this can be done at all without adverse side effects such as introducing gaps between tracks.

@saulgoodman
An attempted fix for Arcam incompatibility has been added - please enable the ssdp:all option in advanced preferences and see if it helps - as the Arcam device is clearly not responding to our searches for MediaRenderer devices. If this doesn't help, I'll try to come up with another workaround.
Title: Re: UPnP MediaRenderer output | discussion
Post by: pmar999 on 2017-11-29 20:08:38
Hi Peter,
I have been a new foobar2000 user for 6 months now, great software; (I switched from MediaMonkey). I use foobar2000 as PC audio server, serving audio to a Yamaha RN602 player (also a great product). Works well. YES I would be delighted also if UPnP Output plugin can dispatch the usual title formating like "$if2(%title%-%artist%,foobar2000 stream)". If you decide to study it, may be have a look also at returning also the selected audio artwork (embedded/separated) to any device linked to the UPnP playing device;
I explain the situation case: PC foobar2000 to UPnP playing device (Yamaha), and smartphone connected app (MusicCast app) showing updated track (title + artwork) would be ideal... thanks for the excellent work already achieved.
Title: Re: UPnP MediaRenderer output | discussion
Post by: alpha centauri on 2017-11-29 21:24:22
New version posted. Issues with specific devices have been addressed.

No title display yet. I'll investigate the possibility of doing so for a future update, but I'm not sure if this can be done at all without adverse side effects such as introducing gaps between tracks.

@saulgoodman
An attempted fix for Arcam incompatibility has been added - please enable the ssdp:all option in advanced preferences and see if it helps - as the Arcam device is clearly not responding to our searches for MediaRenderer devices. If this doesn't help, I'll try to come up with another workaround.
Peter,
Many thanks to have restarted the development.
Hope there will be no side effect. Worth a try from my point of view
Impatient to have the hapiness to download another new version
Many thanks for all your effort
Best regards
Title: Re: UPnP MediaRenderer output | discussion
Post by: alpha centauri on 2017-12-04 22:41:41
New version posted. Issues with specific devices have been addressed.

No title display yet. I'll investigate the possibility of doing so for a future update, but I'm not sure if this can be done at all without adverse side effects such as introducing gaps between tracks.

@saulgoodman
An attempted fix for Arcam incompatibility has been added - please enable the ssdp:all option in advanced preferences and see if it helps - as the Arcam device is clearly not responding to our searches for MediaRenderer devices. If this doesn't help, I'll try to come up with another workaround.
Peter,
Many thanks to have restarted the development.
Hope there will be no side effect. Worth a try from my point of view
Impatient to have the hapiness to download another new version
Many thanks for all your effort
Best regards


Peter

"so far so good" with the lastest version downloaded a few days back and installed

My DLNA renderer is a DENON DRA 100

I waitng impateintly for the title display

Thanks in advance for your progress on this functionnality

Best regards

Title: Re: UPnP MediaRenderer output | discussion
Post by: antares on 2017-12-07 19:27:48
Hi,
I have tried out UPnP MediaRenderer output and I'm really impressed. So far, it works perfect except playing dsf-files. Needless to say, that I have installed Super Audio CD Decoder.
When I choose in preferences > SACD > output mode: DSD and start playing, the seekbar button starts, but there is no output. UPnP Renderer is a Bricasti M1, which is displayed in output as DSD : UPnP : M1 an which is able to playback DSD, which is done wit DoP. If I choose in preferences > SACD > output mode: PCM, it works. But I dont want a DSD to PCM conversion, as DoP is true DSD. Will output mode: DSD be supported in the future?

Martin
Title: Re: UPnP MediaRenderer output | discussion
Post by: alpha centauri on 2017-12-18 22:12:20
New version posted. Issues with specific devices have been addressed.

No title display yet. I'll investigate the possibility of doing so for a future update, but I'm not sure if this can be done at all without adverse side effects such as introducing gaps between tracks.

@saulgoodman
An attempted fix for Arcam incompatibility has been added - please enable the ssdp:all option in advanced preferences and see if it helps - as the Arcam device is clearly not responding to our searches for MediaRenderer devices. If this doesn't help, I'll try to come up with another workaround.
Peter,
Many thanks to have restarted the development.
Hope there will be no side effect. Worth a try from my point of view
Impatient to have the hapiness to download another new version
Many thanks for all your effort
Best regards


Peter

"so far so good" with the lastest version downloaded a few days back and installed

My DLNA renderer is a DENON DRA 100

I waitng impateintly for the title display

Thanks in advance for your progress on this functionnality

Best regards



Hello

When can we expect news on the dynamic title display version ?

Thanks in advance

Best regards
Title: Re: UPnP MediaRenderer output | discussion
Post by: doc_jochim on 2018-01-06 21:50:40
Hi there,

I just downloaded the new beta 1.0beta16.

But the pause-funcionality while streaming to my Yamaha RX-V3067 still doesn't work. Microsoft MediaPlayer is able to pause without any problems.

Also title- and album-information cannot be displayed at the Yammi nor a cover-picture is shown at the connected TV. Using Microsoft MediaPlayer shows all these informations.

Is there any chance to successfully wait for the implementation of these desired features?

Yours

André
Title: Re: UPnP MediaRenderer output | discussion
Post by: alpha centauri on 2018-01-08 22:43:05
Peter,

Any chance to have a version in january ?
How can we help ?

Thanks in advance for the work done

Best regards

Title: Re: UPnP MediaRenderer output | discussion
Post by: foca on 2018-01-09 11:01:28
Hi, thanks for the plugin it's a great concept.
But...it is not working for me =)

My Sonos players are not showing up. They show up on my network folder but not in the output list. I enabled the console and I see
"[UPnP] UPnP begin enum devices
[UPnP] UPnP end enum devices" when I open the preferences output page.
I enabled "Search for all UPnP devices", issue persists.

Windows 7 64 bit
Foobar 1.3.16

I'm a programmer so let me know if I can help debug.
Title: Re: UPnP MediaRenderer output | discussion
Post by: MaCs on 2018-01-09 16:16:53
I have a Raspberry Pi with an Allo Boss DAC (https://www.allo.com/sparky/boss-player.html). It is installed with the Max2play operating sytem. I can see Max2play in the output devices but nothing happens when I try to play a file.
Title: Re: UPnP MediaRenderer output | discussion
Post by: alpha centauri on 2018-01-14 22:32:11
Hello

I download the latest version and it works well

Still expect the dynamic title display capability
Any idea when we will have an update with this functionality ?

Thanks in advance

Best regards
Title: Re: UPnP MediaRenderer output | discussion
Post by: doc_jochim on 2018-01-16 11:55:25
I just downloaded the new beta 1.0beta17.

But foo's pause-funcionality while streaming to my Yamaha RX-V3067 still doesn't work.

Trying to push foo's pause-button immediately leads to the following error:

-------------------------------------------------------------------------------------
Unrecoverable playback error: UPnP device error: Transition not available
-------------------------------------------------------------------------------------

Yours

André
Title: Re: UPnP MediaRenderer output | discussion
Post by: MaCs on 2018-01-18 13:12:11
I have a Raspberry Pi with an Allo Boss DAC (https://www.allo.com/sparky/boss-player.html). It is installed with the Max2play operating sytem. I can see Max2play in the output devices but nothing happens when I try to play a file.

Fixed. The problem was on the Raspberry Pi side.
Title: Re: UPnP MediaRenderer output | discussion
Post by: alpha centauri on 2018-01-22 22:38:26
Hello

I'm very satisfied by the plugin and use it for months now.My media renderer is a Denon DRA 100 and it works perfectly

Is there a way to have the stream title to display dynamic information like %title% or %artist% or both ?

In the panel of parameters, only a static value seems to be valid

Thanks in advance for your help.

Great plugin

Hello,

Any possibility to have and answer to this question or an evolution made to the component ?

Thanks in advance

Hello

Any chance to have the dynamic title format to be implemented ?

I would very like it

Thanks in advance

Best regards
Title: Re: UPnP MediaRenderer output | discussion
Post by: ooops on 2018-01-23 12:31:29
Hello everyone

Please tell me

My environment:
PC Windows 10 pro 64bit
Foobar 1.3.7
UPnP MediaRenderer output 1.0 beta 17 (foo_out_upnp)
Raspberry Pi 2 B with Volumio 2.348
ES9023 DAC (I2S connection)
STAX headphone Driver and Ear speaker

PC (foobar, foo_out_upnp)> LAN> Raspberry Pi (Volumio)> I2S > ES 9023 DAC> STAX

sound source:
https://www.youtube.com/watch?v=kg4HaZjsHgE
Save downloaded sound file in PC

Playback test:
1, play with foobar, the output is the primary sound driver
2, using foo_out_upnp with foobar to play, output is upnp volumio
3, Play with Volumio (sound source file in PC as NAS)

Other than the test of 1, the equipment after raspberry Pi is the same.
It is the difference whether to play with foobar using foo_out_upnp or Volumio.

result:
1, right and left from PC speaker, normal playback
2, the sound that the left and right were swapped was played from Ear speaker
3, Normal playback from the Ear speaker to the left and right

Only when playing with foobar using foo_out_upnp, it was played with the left and right phases reversed.
I installed Reverse stereo channels with foobar's settings, but I am not using it.

I tested with other sound sources Michael Jackson Thriller:
https://www.youtube.com/watch?v=dLrKCBxdlco

2, walking from the left to the right
3, walk from right to left

Is there anything I should review as a solution to these phenomena?
Thank you

Title: Re: UPnP MediaRenderer output | discussion
Post by: ooops on 2018-01-25 12:13:27
Hello everyone

I found out that the problem was with raspberry pi.
It is normal when playing with raspberry pi.
When playing from foobar and using raspberry pi as renderer it became abnormal

After this, I will explore the problem of raspberry pi

Thank you
Title: Re: UPnP MediaRenderer output | discussion
Post by: alpha centauri on 2018-01-29 22:13:27
Hello

I'm desesperately waiting forthe dynamic title format to be implemented ?
I would very like it
Anyone like me ?

Thanks in advance

Best regards
Title: Re: UPnP MediaRenderer output | discussion
Post by: ooops on 2018-02-13 12:28:56
Hello

I still have problems.

When raspberry pi is renderer, left and right sounds are reversed.
This is the result of several people testing.
Problems will occur regardless of software or DAC.

Report of other tests

foobar with UPnP MediaRenderer output> RaspberryPi (Volumio or Rune) = reverse
iTunes with AirPlay> RaspberryPi (Volumio or Rune) = Normal
foobar with UPnP MediaRenderer output> other NMP = normal
Play music files in PC with RspberryPi (NAS) = Normal
Play with foobar (SPDIF) = Normal

Does anyone have the same problem?

My environment:
PC Windows 10 pro 64bit
Foobar 1.3.7
UPnP MediaRenderer output 1.0 beta 17 (foo_out_upnp)
Raspberry Pi 2 B with Volumio 2.348
ES9023 DAC (I2S connection)
STAX headphone Driver and Ear speaker

Title: Re: UPnP MediaRenderer output | discussion
Post by: alpha centauri on 2018-02-19 22:16:44
Hello

I'm still waiting for the dynamic title format to be implemented
I would very like it

Any chance of a new version with it ?

Thanks in advance

Best regards
Title: Re: UPnP MediaRenderer output | discussion
Post by: mach128x on 2018-02-20 01:50:25
Hi,

I am testing foo_out_upnp, 1.0 beta 17. Using an Onkyo TX-NR1007 as the renderer.
I am getting this error:
"Unrecoverable playback error: UPnP device error: Resource not found"

Windows 10's "Cast to Device" functions correctly.
Title: Re: UPnP MediaRenderer output | discussion
Post by: Tropoje on 2018-02-26 17:22:15
Hi
With Pioneer N-70AE works without any problems
Thanks
Title: Re: UPnP MediaRenderer output | discussion
Post by: ruebennase56 on 2018-02-27 05:56:27
Hi,
Since yesterday my Bitdefender antivirus scanner complains, that there is a virus. Here's the message:

https://www.foobar2000.org/getcomponent/358600bd9b5b925a508a61e4f0b1dfe7/7964bae24ef2ee56858b6dc096b484d9/UPnP%20MediaRenderer%20Output.fb2k-component is infected.
Virusname: Gen:Variant.Graftor.470141
Title: Re: UPnP MediaRenderer output | discussion
Post by: Case on 2018-02-27 06:43:34
Yet another false positive. A few weeks back their database was in better shape as it was known to be clean. I reported the mistake to two AV companies so the detection will likely get fixed soon.
Title: Re: UPnP MediaRenderer output | discussion
Post by: Case on 2018-02-28 20:23:21
Virustotal report shows that the Bitdefender false positive issue is fixed.
Title: Re: UPnP MediaRenderer output | discussion
Post by: onirwai on 2018-03-03 20:22:41
I'm getting UPnP volume set failure: network timeout all of a sudden. Get, set, query, whatever. All timing out or not connecting.

It was fussy before, with a lot of lag and you could put it past 100... Casting to Dayton Audio WFA-02 if it matters... Turned off firewall, but none of that changed so why would it break?
I was just trying to turned it down in Foobar to turn the amp way up to clean the pot. When I was done I couldn't turn the music back up. Frustrating!
Title: Re: UPnP MediaRenderer output | discussion
Post by: sakuya on 2018-03-22 06:17:39
Hi,
I use Marantz NR 1608 for DMR.
But, it doesn't appear in the devices selection (output).
Environment : Win10(64bit) + foobar2000 v1.3.17 + MediaRenderer output v1.0 beta 18

On the other hand, it appears as a media renderer in "devices and printers" window on windows10.
And Windows Media Player can "Cast to Device" to NR1608 and plays music.

Is there anything I shuld check else?
Title: Re: UPnP MediaRenderer output | discussion
Post by: jotti on 2018-04-03 10:06:25
Hi,
is it possibile somehow to download previous versions of this component?
Before the last upgrade it was working fine, now the sound is always lagging...
Just to give it a try.
Thank you

Title: Re: UPnP MediaRenderer output | discussion
Post by: hummel124 on 2018-04-04 13:26:56
Hi,
I really like this plugin. Works perfectly with Teufel Raumfeld devices (Raumfeld Connector and Teufel One S).

I would really appreciate an enhancement to be able to send the stream simultaneously to different upnp renderers and also to have it on the default sound device of the Computer.
Nice to have would be an option to set the stream delay per device to get all the devices synchronized.

What do you think?

KR
Chris
Title: Re: UPnP MediaRenderer output | discussion
Post by: alpha centauri on 2018-04-04 20:45:53
Hello

I'm very satisfied by the plugin and use it for months now.My media renderer is a Denon DRA 100 and it works perfectly

Is there a way to have the stream title to display dynamic information like %title% or %artist% or both ?

In the panel of parameters, only a static value seems to be valid

Thanks in advance for your help.

Great plugin
Title: Re: UPnP MediaRenderer output | discussion
Post by: onirwai on 2018-04-26 08:27:38
I would like to turn off UPnP at the router because of security concerns (https://serverfault.com/a/529027).
But if I try to disable UPnP in the router administration interface playing to DLNA renderer stars breaking. Looking in foobar's console reveals:

Code: [Select]
Unrecoverable playback error: UPnP device error: could not connect

How can configure my network to avoid using UPnP? Is it possible?
The DLNA Renderer is dumb, I can't set up anything in it. I can only see its IP and MAC address.
Title: Re: UPnP MediaRenderer output | discussion
Post by: alpha centauri on 2018-06-11 21:20:58
Hello

Is this component dead ?
Very satisfied by the plugin. Would just to have the stream title to display dynamic information like %title% or %artist% or both ?

Thanks in advance for probably coding for a couple of hours.

Best regards

Title: Re: UPnP MediaRenderer output | discussion
Post by: bengo on 2018-07-20 13:14:25
Hi Peter,

Thanks for your hard work on this plugin!

I'm using to play CDs (direct from disc, not rips) to Pioneer N-P01. For the most part, it works perfectly.

When I choose 'pause' in foobar, an error appears about an unsupported operation.
Since I cannot do anything about this, it would be nice to have an option to suppress the error.
A bit more annoying issue: foobar does not remember the paused position, it will start the track again from the beginning.
Title: Re: UPnP MediaRenderer output | discussion
Post by: alpha centauri on 2018-07-31 21:26:33
Hello

Do you have some times after Foobar R1.4 to look at how to have the stream title to display dynamic informations like %title% or %artist% or both ?

Thanks in advance

Best regards
Title: Re: UPnP MediaRenderer output | discussion
Post by: Devocalypse on 2018-08-01 14:43:32
Is it possible to refresh the generated internal UPNP tree list automatically after adding, removing or rearranging items or playlists inside foobar.
At the moment there is no other way to make a refresh without restarting either foobar or the UPNP server itself.

Using reload on the remote client (BubbleUPNP) just seems to re-fetch the cached tree instance from foo-upnp when last the UPNP server was started.
Title: Re: UPnP MediaRenderer output | discussion
Post by: drstee on 2018-08-06 08:38:39
Hi Everyone,

Quick question about the UPNP plugin. Does it work with other active DSPs? So for example, MathAudio Room EQ? Basically I am thinking about replacing my USB DAC with a Cambridge CXN Network Streamer. So I was hoping to be able to stream directly from Foobar to the streamer and still be able to use MathAudio Room EQ.

Thanks for reading.
Title: Re: UPnP MediaRenderer output | discussion
Post by: alpha centauri on 2018-08-14 18:36:25
Hello

I have an issue

I change of Internet provider and so the box change and my network passed from 192.168.0.xxx to192.168.1.xxx

The component doesn't work anymore

The trace in console window is here under

Any help will be appreciated

Thanks in advance


Trace
[UPnP] UPnP begin enum devices
[UPnP] UPnP device: Denon DRA-100 :: http://192.168.1.22:8080/description.xml
[UPnP] UPnP end enum devices
Opening track for playback: "D:\Musique\DISCOTHEQUE\The Valley.flac"
[UPnP] Device protocol info:
[UPnP] http-get:*:audio/L16;rate=44100;channels=1:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=44100;channels=2:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=48000;channels=1:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=48000;channels=2:DLNA.ORG_PN=LPCM,http-get:*:audio/mpeg:DLNA.ORG_PN=MP3,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMABASE,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMAFULL,http-get:*:audio/mp4:DLNA.ORG_PN=AAC_ISO,http-get:*:audio/mp4:DLNA.ORG_PN=AAC_ISO_320,http-get:*:audio/3gpp:DLNA.ORG_PN=AAC_ISO,http-get:*:audio/3gpp:DLNA.ORG_PN=AAC_ISO_320,http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=AAC_ADTS,http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=AAC_ADTS_320,http-wavetunes:*:audio/x-ms-wma:*,http-get:*:audio/wav:*,http-get:*:audio/x-wav:*,http-get:*:audio/flac:*,http-get:*:audio/x-flac:*,http-get:*:audio/x-m4a:*,http-get:*:audio/x-mp4:*,http-get:*:audio/aiff:*,http-get:*:audio/x-aiff:*,http-get:*:audio/dsd:*,http-get:*:audio/x-dsd:*
[UPnP] Listening on: 192.168.1.12:56098
[UPnP] Stream address: http://192.168.1.12:56100/1/stream.wav
[UPnP] transport op: Play
[UPnP] transport op OK, took 0:00.050162
[UPnP] Returned time: 0:00:00
[UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 0:00:00
[UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 0:00:00
[UPnP] Transport state: TRANSITIONING
infinite loop on those 2 last lines
Title: Re: UPnP MediaRenderer output | discussion
Post by: WhistleChips on 2018-08-14 22:02:12
Hi Everyone,

Quick question about the UPNP plugin. Does it work with other active DSPs? So for example, MathAudio Room EQ? Basically I am thinking about replacing my USB DAC with a Cambridge CXN Network Streamer. So I was hoping to be able to stream directly from Foobar to the streamer and still be able to use MathAudio Room EQ.

Thanks for reading.

I am able to stream from FB2K to an Outlaw RR 2160 while using several DSP's.
Title: Re: UPnP MediaRenderer output | discussion
Post by: alpha centauri on 2018-08-16 11:43:58
Problem solved. Root cause was some rules in the Window firewall

Apologies for the anoyance

Hello

I have an issue

I change of Internet provider and so the box change and my network passed from 192.168.0.xxx to192.168.1.xxx

The component doesn't work anymore

The trace in console window is here under

Any help will be appreciated

Thanks in advance


Trace
[UPnP] UPnP begin enum devices
[UPnP] UPnP device: Denon DRA-100 :: http://192.168.1.22:8080/description.xml
[UPnP] UPnP end enum devices
Opening track for playback: "D:\Musique\DISCOTHEQUE\The Valley.flac"
[UPnP] Device protocol info:
[UPnP] http-get:*:audio/L16;rate=44100;channels=1:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=44100;channels=2:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=48000;channels=1:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=48000;channels=2:DLNA.ORG_PN=LPCM,http-get:*:audio/mpeg:DLNA.ORG_PN=MP3,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMABASE,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMAFULL,http-get:*:audio/mp4:DLNA.ORG_PN=AAC_ISO,http-get:*:audio/mp4:DLNA.ORG_PN=AAC_ISO_320,http-get:*:audio/3gpp:DLNA.ORG_PN=AAC_ISO,http-get:*:audio/3gpp:DLNA.ORG_PN=AAC_ISO_320,http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=AAC_ADTS,http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=AAC_ADTS_320,http-wavetunes:*:audio/x-ms-wma:*,http-get:*:audio/wav:*,http-get:*:audio/x-wav:*,http-get:*:audio/flac:*,http-get:*:audio/x-flac:*,http-get:*:audio/x-m4a:*,http-get:*:audio/x-mp4:*,http-get:*:audio/aiff:*,http-get:*:audio/x-aiff:*,http-get:*:audio/dsd:*,http-get:*:audio/x-dsd:*
[UPnP] Listening on: 192.168.1.12:56098
[UPnP] Stream address: http://192.168.1.12:56100/1/stream.wav
[UPnP] transport op: Play
[UPnP] transport op OK, took 0:00.050162
[UPnP] Returned time: 0:00:00
[UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 0:00:00
[UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 0:00:00
[UPnP] Transport state: TRANSITIONING
infinite loop on those 2 last lines
Title: Re: UPnP MediaRenderer output | discussion
Post by: marabundo on 2018-08-27 10:16:50
Hi,
is it possibile somehow to download previous versions of this component?
Before the last upgrade it was working fine, now the sound is always lagging...
Just to give it a try.
Thank you
i have similar problem—0.5-1 sec. interruption after 20-30 minutes playback
but with any component versions
Title: Re: UPnP MediaRenderer output | discussion
Post by: EpicForever on 2018-08-28 14:56:55
Hi,
Questions to @Peter :
What is the list of OS system services that this plugin relies on?
What settings are mandatory on router to make this plugin work? (ports forwarding, ports triggering, whatever else?)

I never managed to make this work with my Pioneer AV amplituner and BR. But I tend to disable some services if I don't use their functionalities. Wonder what I could set do be disables that it doesn't work...
Title: Re: UPnP MediaRenderer output | discussion
Post by: GalaxyGe on 2018-08-29 23:08:32
Thanks for this nice plugin, works well on Windows 10 - foobar 1.4
Tested with DENON AVR-X4000, also seems to support all my other devices.

I agree with some other users that transferring some tags like Artist, Title, Album, to the renderer would be great!  ;)

Does anybody know of UI column applet or something to switch the Output device from the GUI rather than in preferences?
Title: Re: UPnP MediaRenderer output | discussion
Post by: alpha centauri on 2018-08-29 23:40:27
Hello

Thanks to second me on requesting to have tags displayed

For avoiding to go to Preferences, I just defined buttons by using right click on the tool bar and Customize button
Then Main / playback device/ my selected device in the right list

I have two buttons. One to switch to my PC audio card, once to reach to my DLNA renderer Denon DRA 100

Hope this get you the solution you are looking for

Bye
Title: Re: UPnP MediaRenderer output | discussion
Post by: GalaxyGe on 2018-08-30 22:54:26
@alpha centauri, thanks so much, found the Toolbar setting and added some buttons for my AVR and Soundcard.  :)

There I also sighted another option (in foobar 1.4) called "Output Switcher", providing a value list with all devices which I added for the occassional switch to other players!

Yvw for backing tags request. Would really be a nice feature.
Title: Re: UPnP MediaRenderer output | discussion
Post by: Ge0rge42 on 2018-09-08 05:29:13
Tested on Foobar 1.4, Raspberry pi 3 b+ with Archphile and Mamboberry DAC (ES9023).

Cannot do more than 16bits, also when playing flac at 352KHz it downsamples it to 192KHz, but I am not sure if the downsampling is due to the plug-in.

Great plug in, thank you!
Title: Re: UPnP MediaRenderer output | discussion
Post by: jotti on 2018-09-09 13:47:24

What would really be fun and new, is to be able to play music in scync on multiple Upnp players at the same time.

Thanks for the suggestion, maybe I should consider...  ....
Meanwhile, I hope the next version will bring compatibility improvements!

Hi, any developements or workarounds on this idea?


Title: Re: UPnP MediaRenderer output | discussion
Post by: lev777 on 2018-09-15 23:05:47
This is awesome!  I had to set my ancient tx-nr-609 to NET - DLNA other wise it said transport locked, but it works fine after doing that.  Thanks so much!
Title: Re: UPnP MediaRenderer output | discussion
Post by: hidn on 2018-10-03 16:40:00
What it can be?
Code: [Select]
Opening track for playback: "song.mp3"
[UPnP] Device protocol info:
[UPnP] http-get:*:audio/mp3:*,http-get:*:audio/x-mp3:*,http-get:*:audio/mpeg:*,http-get:*:audio/mpeg3:*,http-get:*:audio/x-ms-wma:*,http-get:*:audio/wma:*,http-get:*:audio/wav:*,http-get:*:audio/x-wav:*,http-get:*:audio/ogg:*,http-get:*:audio/x-ogg:*,http-get:*:application/octet-stream:*,http-get:*:audio/flac:*,http-get:*:audio/x-flac:*,http-get:*:audio/musepack:*,http-get:*:audio/x-musepack:*,http-get:*:audio/wavpack:*,http-get:*:audio/x-wavpack:*,http-get:*:audio/ape:*,http-get:*:audio/x-ape:*,http-get:*:audio/mp4:*,http-get:*:audio/m4a:*,http-get:*:audio/x-alac:*,http-get:*:audio/3gpp:*,http-get:*:audio/aiff:*,http-get:*:audio/x-aiff:*,http-get:*:audio/aif:*,http-get:*:audio/x-aif:*,http-get:*:audio/x-caf:*,http-get:*:audio/dsf:*,http-get:*:audio/dff:*,http-get:*:audio/basic:*
[UPnP] Listening on: 192.168.88.10:58591
[UPnP] Stream address: http://192.168.88.10:52550/4/stream.wav
[UPnP] HTTP request #4: HTTP/1.1 GET /4/stream.wav
[UPnP] HTTP concurrency: 1
[UPnP] Source: 192.168.88.14:35293
[UPnP] Accept: */*
[UPnP] Host: 192.168.88.10:52550
[UPnP] Serving WAV
[UPnP] Accept-Ranges: none
[UPnP] Connection: close
[UPnP] Content-Type: audio/wav
[UPnP] Server: Windows, UPnP/1.0 DLNADOC/1.50, foobar2000/1.x
[UPnP] TransferMode.dlna.org: Streaming
[UPnP] transport op: Play
[UPnP] transport op "Play" fail: user abort after 0:00.004894
Unrecoverable playback error: UPnP device error: XML error
[UPnP] Detached transport op failure: XML error
[UPnP] HTTP request #4 finished
[UPnP] HTTP concurrency: 0
Title: Re: UPnP MediaRenderer output | discussion
Post by: Tone_Deaf on 2018-10-08 01:26:43
Just what I needed, mostly works with KEF LS50W.  However two issues:

1) After the transition 'Pause->Play' I get white noise (!);  Stop, Next, or Previous are required before next successful Play. I get an intermittent "Unrecoverable playback error: UPnP device error: Action Failed". Spotify app driving the speakers does not have this issue.

Any thing you can do?

2) When there are two sources (say Foobar and Spotify) and one target (Speakers), playing each source preempts the other - which is great. On preempt, Spotify pauses its playlist but Foobar ends its playlist and on Play gives a message "Unrecoverable playback error: UPnP device error: Transition not available".

Enhancement request: the action on transition due to another source would be Pause (like Spotify app).

[Windows 10, Foobar 1.4 , foo_outupnp 1.0 ]     Foobar 1.3 had same white noise issue.
Title: Re: UPnP MediaRenderer output | discussion
Post by: doc_jochim on 2018-10-25 22:25:36
Hi,

I just downloaded the new version 1.0, as I read that it is no longer beta.

But the pause-funcionality while streaming to my Yamaha RX-V3067 still doesn't work. Microsoft MediaPlayer is able to pause without any problems.


Furthermore neither title- and album-information can be displayed at the Yammi nor a cover-picture is shown at the connected TV. Using Microsoft MediaPlayer shows all these informations.

Is there any chance to successfully wait for the implementation of these desired features? I gave the information about this buggy behaviour already more than one year ago...
 
Yours

André
Title: Re: UPnP MediaRenderer output | discussion
Post by: afalout on 2018-11-07 07:51:58
Hello Peter,

first, thank you very much for sharing your work with us!

I am wondering if it is possible to use your plugin to stream DSD audio to DLNA renderers, such as Sony STR-DN1080 - which are capable of receiving native DSD streams?

Thanks,
Andrej
Title: reverse stereo channels
Post by: antares on 2018-11-11 22:18:06
Hi,

just by accident I found out, that stereo channels are reverse when I play via UPnP MediaRenderer Output 1.0. I did several dedicated tests with special audio files, containing channel checks (Accuphase Special Sound Selection Track 18), installed UPnP/DLNA Renderer, Server, Control Point 0.99.49, did the same tests and also used other UPnP renderer. Beyond doupt: UPnP MediaRenderer Output 1.0 has reverse channels.

Please could somebody else check this?

Martin
Title: Re: reverse stereo channels
Post by: doc_jochim on 2018-11-17 08:55:17
Beyond doupt: UPnP MediaRenderer Output 1.0 has reverse channels.
Please could somebody else check this?

Hi,
I just checked it by playing dedicated L- and R-signals one after the other via UPnP MediaRenderer Output 1.0 using my Yamaha RX-V3067. But my signals are definitely not reversed.

How did you check it? Using an external Player? Perhaps the analog CD<=>Amp-Connection  a n d  speaker-cables are reversed, so you don't get the reverse-channel-effect using the player in contrast to the use of the UPnP MediaRenderer Output 1.0?

André
Title: Re: UPnP MediaRenderer output | discussion
Post by: antares on 2018-11-21 11:10:17
Hi,

Quote
How did you check it? Using an external Player?

I use A Bricasti M1 DAC as external player. It has a network-input as well as USB and other digital inputs. And I can definitely exclude, that the reverse channels are caused by hardware!
Why? When I install the older plugin "UPnP/DLNA Renderer, Server, Control Point 0.99.49" and play via network, channels are ok. When I play via USB, channels are ok. When I use PlugPlayer on my android-tablet and stream from my NAS or my SSD, channels are ok.
But when I use "UPnP MediaRenderer Output 1.0" (Device>UPnP : M1 or DSD : UPnP : M1), channels are reverse.

This is a matter of fact!

Martin
Title: Re: reverse stereo channels
Post by: ragg987 on 2018-12-10 10:18:18
Hi, first time on this forum. Long-time fb2k user just getting to grips with UPnP rendering. And many thanks to Peter for this plug-in.

I can confirm the stereo channel reversing issue with UPnP MediaRenderer Output 1.0. Using fb2k 1.41 on Windows 2008R2, my external music renderer is a SoTM SMS-200 Ultra connected to USB DAC built into my pre-processor.

To check, I have tried the following:

In all examples the audio chain downstream of the SoTM was identical. Pre-processor to power amp to speakers. And I used 2 identical music files to test this - a 44.1/16 and 88.2/24 flac stereo file.
Title: Re: UPnP MediaRenderer output | discussion
Post by: jaro_kr on 2018-12-10 17:30:01
Hello,
my first post here on this thread and forum as well.

My configuration is:
W10Pro with fb2k 1.4.1 with foo_out_upnp 1.0
I can confirm that it works flawlessly with Primare PRE32 wit MM30 card and also with old Denon AVR-4311, but my problem is that it not recognize Marantz AV8805 with Heos.
Question is - is it possible to add support for this Marantz av processor?

thank you in advance for answer
Do you know why isn't possibile 
Title: Re: reverse stereo channels
Post by: ragg987 on 2018-12-11 15:17:19
Ref reversed channels, my workaround (for now) is to use the reverse channels option in DSP.

In case it helps, I attach the console output as well as the description.xml from from the SoTM SMS-200.
192.168.1.187 is the SoTM renderer
192.168.1.11 is the Windows host
Title: Re: UPnP MediaRenderer output | discussion
Post by: antares on 2018-12-11 17:43:28
Hi rag987,

Quote
I can confirm the stereo channel reversing issue with UPnP MediaRenderer Output 1.0

thanks for confirming that UPnP MediaRenderer Output 1.0 has reverse stereo channels! I hope, Peter will read our discussion and go into this bug.

Martin
Title: Re: UPnP MediaRenderer output | discussion
Post by: Peter on 2018-12-21 10:56:52
Thanks for the bug reports about reversed stereo and for the console log.
Discussion continued here-
https://hydrogenaud.io/index.php/topic,117065
Title: Re: UPnP MediaRenderer output | discussion
Post by: serzh doom on 2018-12-28 23:30:15
with volumio and raspberry - works only with 16 bit output, 24 bit=horrible noise
what is the cause of the problem?
Title: Re: UPnP MediaRenderer output | discussion
Post by: Peter on 2019-01-10 17:54:59
New beta version [1.2 beta 1]:
https://www.foobar2000.org/temp/UPnP_MediaRenderer_Output-1.2b1.fb2k-component

The major change is that by default live-encoded FLAC is now used to send our audio to the device. This seems to cause fewer bugs than WAV or LPCM which we used before, at least with the devices I tested. You can still override the preferred format via advanced preferences, and see what is actually used in console. Actual used format depends on what the device claims to support.

Other than that, LPCM mode with bit depth other than 16 bits has been disabled by default (new toggle in advanced preferences added), as it was causing all kinds of bugs with renders, crashing the heck out of Kodi, etc. Which probably not matter, FLAC being the new default.
Title: Re: UPnP MediaRenderer output | discussion
Post by: alpha centauri on 2019-01-10 19:48:08
Peter

This version works well for me. I tried with the new flac format
My player is a DENON DRA 100

Is there any chance now to have dynamic stream title iplemented ?

Thanks

Didier

Title: Re: UPnP MediaRenderer output | discussion
Post by: Peter on 2019-01-11 05:50:32
It is not possible to deliver changing track titles using UPnP without interrupting playback / introducing gaps between tracks, which I will not do.
Title: Re: UPnP MediaRenderer output | discussion
Post by: alpha centauri on 2019-01-11 06:22:04
Thanks for the reply
Title: Re: UPnP MediaRenderer output | discussion
Post by: s44 on 2019-01-12 18:53:53
Any chance you can have this also work with OpenHome renderers?
Title: Re: UPnP MediaRenderer output | discussion
Post by: Dexter_prog on 2019-01-27 15:02:52
is there any way to get this to work with a Denon x1400h? Can I stream multichannel FLAC?
Title: Re: UPnP MediaRenderer output | discussion
Post by: mr-b on 2019-01-27 16:12:18
Hi

Just trying this plugin with my Chromecast audio and found that it took quite a few minutes to detect my CC devices. Then with a 16bit flac file, it returns:
"Unrecoverable playback error: UPnP device error: UPnPError"

Sorry I've no idea how to get the debug console logs that others have posted.
VLC works fine with the same flac to the CCA.

Any ideas?
Title: Re: UPnP MediaRenderer output | discussion
Post by: Masza on 2019-01-29 10:59:10
Plugin doesn't work with Marantz ND8006. The device isn't listed in output devices. Could it possible to add support for this HEOS network player?
Title: Re: UPnP MediaRenderer output | discussion
Post by: denis1 on 2019-01-31 08:20:59
There is still a bug with 24bit sound. Only noise comes out. When will it be resolved?
Another UPNP plugin for foobar2000 works great without problems with 24 bit sound.
Are you sure you didn’t just swapped bytes somehow?
Title: Re: UPnP MediaRenderer output | discussion
Post by: blade_sk on 2019-02-02 15:24:28
Hi, I'd like to report a bug where this plugin disconnects seemingly randomly from a network receiver while playing. Sometimes it takes a good deal of time to happen (20+ minutes) sometimes it takes as little as 30 seconds. I'm attaching the log - the first song plays successfully until the end, the second one gets stuck after 40-something seconds. Not sure if the log is useful, it just says "HTTP request #2 finished" and stops playing, the receiver displays [No content], meaning nothing is playing.

Tested with foo_out_upnp v1.1 on a Yamaha RX-V483. This doesn't happen with other UPnP servers (the built-in Windows server or Hi-Fi Cast for Android). The receiver is connected to the local network using a cable, the computer using Wi-Fi.
Title: Re: UPnP MediaRenderer output | discussion
Post by: blade_sk on 2019-02-06 11:02:04
Nevermind, the problem was in a faulty router. Other media servers didn't have as much trouble because mp3s usually got buffered until the end before the connection was dropped.
Title: Re: UPnP MediaRenderer output | discussion
Post by: Simon_ Thunder on 2019-02-09 12:42:55
First, thank you Peter for this great plugin.
I just have some question:
I just run on same pc  two instances of foobar: one is a server and another is use for player and broadcaster.
The interesting thing happened when server stream captured by foobar 2 that use playing and broadcasting to web.
I just notice the sound is much more better.
I talking about when i playing mp3 files on first instance of foobar this plugin recompress the mp3 files to wave and streaming to second foobar instance and sound much more better than if you playing same mp3 file just as mp3 file on some other foobar.
Its look like this:
Foobar + foo upnp output with mp3 file - sound good and detailed.
Foobar that playing same mp3 file - sound average.
So how works foo upnp plugin that recompress the compressed files like mp3 and add them softness and detailed sound?
My setup is:
First foobar + foo upnp output + set to null output - streaming the  music.
Second foobar + foo upnp - Playback Stream Capture - select to output of my sound card and playing the music.
Its looks like the compressed audio file (like mp3) sound much better with foo upnp output (that recompress mp3 audio file to wave format) then listen to same file when is playing just as mp3 file...
Its right or maybe i am wrong?
I just was noticed to this sound quality not only playing foobar on pc and also on anderoid foobar.
Title: Re: UPnP MediaRenderer output | discussion
Post by: mr-b on 2019-02-09 16:43:53
Hi

Just trying this plugin with my Chromecast audio and found that it took quite a few minutes to detect my CC devices. Then with a 16bit flac file, it returns:
"Unrecoverable playback error: UPnP device error: UPnPError"

Sorry I've no idea how to get the debug console logs that others have posted.
VLC works fine with the same flac to the CCA.

Any ideas?


So no one has any ideas how to diagnose this?
Title: Re: UPnP MediaRenderer output | discussion
Post by: Mitch66 on 2019-03-11 06:21:39
Does the plug-in support DSD streaming.  Reading reply 184, it looks like it does not, but just wanted to make sure it is not me being unable to set it up properly?  I have the DSD plug-in which works fine using normal foobar playback over USB.

Grateful for any help please

Mitch
Title: Re: UPnP MediaRenderer output | discussion
Post by: afalout on 2019-03-11 07:05:03
Does the plug-in support DSD streaming.  Reading reply 184, it looks like it does not, but just wanted to make sure it is not me being unable to set it up properly?  I have the DSD plug-in which works fine using normal foobar playback over USB.

My understanding is that it cannot support native DSD streaming because Foobar internals are not capable of passing it trough - they work with PCM only. So it could do DoP packaged DSD, but there are no DLNA endpoints that I know of that support DoP. Would be happy to stand corrected.
Title: Re: UPnP MediaRenderer output | discussion
Post by: Mitch66 on 2019-03-11 13:52:56
Thanks for the reply.

My DAC supports native DSD and I have had good success playing my ripped SACD (DSF) files using Foobar with the DSD plug-in over USB directly from my computer.  However I have now bought an Auralic G1 streaming transport.  I can use Minin Server on my lap top and the Auralic App, Lightening DS, on my ipad and stream DSD.  However, I have been using Foobar for years and so would like to stick with it if I can.  The upnp plug-in seemed like the answer - and for HD PCM it works fine, but as most of my file library is DSD64 and some DSD128 it is no good if I cannot get it to send DSD over my home network.  Even though I have embedded the UPnP plug-in Browser and Controller in my foobar GUI, the UPnP plug-in seems to work 'outside foobar' and so I do not think it is able to use the DSD plug-in (you can tell I am not a computer programmer I suppose!!!)  The other thing I dont think I can use is the Foobar remote app I have one my phone which I have been using successfully with 'normal Foobar'. 

Why change a working set-up you may say?  Well the SQ is now better than just using the lap-top so I think it is worth the hassle.

If anyone else has 'been around this buoy', I would be grateful for any advice - but it looks like I will not be able to use Foobar.

Thanks
Mitch
Title: Re: UPnP MediaRenderer output | discussion
Post by: Peter on 2019-03-11 18:42:28
This component does not support DSD and never will. This is an official statement. Please stop asking for it.
Title: Re: UPnP MediaRenderer output | discussion
Post by: pkrystosiak on 2019-03-14 16:10:04
Hi Peter,

with the latest version (1.2) of your plug-in, the streaming is no longer working with my good old WDTV Live. I guess it's because you dropped support for PCM starting with this version.
Would it be possible to bring back this functionality (and maybe let users select which format they want to use as the output in plugin Configuration)?
If it's not something you'd like to do, where can I get the latest version of your plugin just before dropping the PCM support?

Best,
Pawel
Title: Re: UPnP MediaRenderer output | discussion
Post by: Case on 2019-03-14 16:37:08
PCM support isn't dropped. Only the default stream format was changed. You can configure the format in Preferences -> Advanced -> Playback -> UPnP MediaRenderer Output.
Title: Re: UPnP MediaRenderer output | discussion
Post by: pkrystosiak on 2019-03-14 17:10:36
Thanks for he hint! I didn't know that.
It's really useful.

BTW, thanks to this I can see it's WAV (not PCM, as I thought) that is supported by WDTV Live.
And that's probably why 24bit is not supported. Only 16bit...

Or maybe I am wrong? Is there anybody out there, who successfully played out 24bit with WDTV?

Regards,
Pawel
Title: Re: UPnP MediaRenderer output | discussion
Post by: pkrystosiak on 2019-03-14 17:17:21
I take it back - LPCM is supported too. Just checked and it works.
Title: Re: UPnP MediaRenderer output | discussion
Post by: Peter on 2019-03-15 08:38:35
Thanks for the report. I'll retest with my own WDTV Live unit. The plug-in should automatically detect a supported format, if the preferred one is not supported, if it does not, it's a bug.
Title: Re: UPnP MediaRenderer output | discussion
Post by: Peter on 2019-03-15 12:52:31
WDTV Live works fine with default config here. Everything is as it should be. FLAC isn't supported by WDTV Live, the plug-in detects supported formats and sends LPCM.
Title: Re: UPnP MediaRenderer output | discussion
Post by: Peter on 2019-03-26 06:59:03
Is anyone else having trouble with pausing in the latest version?
I just found out that with v1.2 and FLAC as streaming format, my Linn box finally noticed that it's playing a live-encoded stream (great!), but now refuses to pause it.
I wrote a workaround for this (stop instead of pause), is there any device other than Linn DS that needs this fix?
Title: Re: UPnP MediaRenderer output | discussion
Post by: jellymiki on 2019-03-26 12:04:27
Yes, the new default FLAC doesn't play on my SRS-X99 and never switch to WAVE until I manually change it in Preferences.
Pause action fails on SRS-X99 with this error: "Unrecoverable playback error: UPnP device error: Action Pause failed".

Thank you very much for this great software :) !
Title: Re: UPnP MediaRenderer output | discussion
Post by: jellymiki on 2019-03-26 13:49:49
And some other issues:
If I slide the scroll bar during playback or switch to the next track after a few seconds of playback on the previous track, the repositioned or newly started track may get stuck after a few seconds.
The volume sometimes gets stuck at 0 until I restart foobar2000. Maybe it's because I started playing music when the device is not ready or when foobar2000 is connecting to the device.
The process of volume adjustment is somewhat much slower than using the remote control or mobile client.
Title: Re: UPnP MediaRenderer output | discussion
Post by: Peter on 2019-03-26 21:02:56
Thanks for the bug reports.

Re FLAC vs SRS-X99 -
I'd like you to enable console logging in UPnP output advanced preferences and get a log of what happens when you try to play in FLAC mode, in particular the device protocol info stuff; also the contents of XML pointed by "UPnP device: <device name> :: http://path-to-device-xml" lines.
I'll see if I can specifically disable FLAC streaming just for the devices where it is problematic while keeping it the default for others.
Title: Re: UPnP MediaRenderer output | discussion
Post by: shinyc on 2019-03-28 06:43:06
Hi,

I immensely enjoy your plugin and would like to thank you for the same. Ever since I started to use your plugin , I have been experiencing a symptom which pops up the foobar2000 "Preferences: Output" window after playing every 10s of tracks and music stops. When the "Preferences: Output" window pops up, the device entry is empty. If I cancel out the window and bring it up again, previously selected device is still selected (in my case: "UPnP: JPLAY FEMTO"). I can still play music if I press the stop button and the play button again after the music stops even without canceling out the popped up window. I do not have this symptom with other output devices (like JPLAY ASIO). So I am kinda suspecting that this is a function of your plugin. I hope there is a way to stop this.

When I use upnp renderer as an output, I also noticed that there is a few-second-latency (Approx. 5 senconds) before music comes out. Is this part of the design? Again, I am noticing this delay more pronounced through your plugin than through other players. Is this expected in your design? It could be a function of JPLAY femto renderer.

Thank you for your kind attention.
Title: Re: UPnP MediaRenderer output | discussion
Post by: jellymiki on 2019-03-28 12:40:22
I have attached the log file(FLAC vs SRS-X99), please check it. :)
Title: Re: UPnP MediaRenderer output | discussion
Post by: fominator on 2019-03-28 16:56:51
With output buffer of 10 s playback stops after pause (several minutes) within ~20 s. With lower buffer (1-2 s) everythings fine.
Title: Re: UPnP MediaRenderer output | discussion
Post by: shinyc on 2019-03-30 03:20:36
Hi,

I immensely enjoy your plugin and would like to thank you for the same. Ever since I started to use your plugin , I have been experiencing a symptom which pops up the foobar2000 "Preferences: Output" window after playing every 10s of tracks and music stops. When the "Preferences: Output" window pops up, the device entry is empty. If I cancel out the window and bring it up again, previously selected device is still selected (in my case: "UPnP: JPLAY FEMTO"). I can still play music if I press the stop button and the play button again after the music stops even without canceling out the popped up window. I do not have this symptom with other output devices (like JPLAY ASIO). So I am kinda suspecting that this is a function of your plugin. I hope there is a way to stop this.

When I use upnp renderer as an output, I also noticed that there is a few-second-latency (Approx. 5 senconds) before music comes out. Is this part of the design? Again, I am noticing this delay more pronounced through your plugin than through other players. Is this expected in your design? It could be a function of JPLAY femto renderer.

Thank you for your kind attention.

I am getting the following block of messages (foobar2000 console message) whenever music stops playing:

[UPnP] UPnP begin enum devices
[UPnP] UPnP device: JPLAY FEMTO :: http://192.168.219.101:48167/JPLAY192.168.219.101-MediaRenderer/Upnp/device.xml
[UPnP] UPnP device: foobar2000 Renderer (Administrator) [WIN-0ASUB5QOJCE] :: http://192.168.1.100:1090/
[UPnP] UPnP end enum devices
Unrecoverable playback error: proxy_output::proxy_output() => DSD output device is not defined
Title: Re: UPnP MediaRenderer output | discussion
Post by: sonci on 2019-03-30 14:11:14
I'm trying to configure it to stream back to lpcm in the advanced tab, but it stays on flac,
Is it possible to dowload the old plugin?
Title: Re: UPnP MediaRenderer output | discussion
Post by: Peter on 2019-04-02 13:02:58
New beta update-
1.3 beta 1
https://www.foobar2000.org/temp/foo_out_upnp-1.3b1.fb2k-component

Changes:
Title: Re: UPnP MediaRenderer output | discussion
Post by: a3aan on 2019-04-02 20:49:45
..
Changes:
    ..
  • Workaround for devices that refuse to pause apparent live streams, stop command is issued instead of pause.

Thanks for the beta!
I have a
manufacturer=Lautsprecher Teufel GmbH
model=Raumfeld Connector
(model no=2) and pausing never worked. Now with
supports-pause=false
is does pause, but when hitting Pause or Play again, the following error pops up: Unrecoverable playback error: UPnP device error: Action Play is currently not allowed

Before,  the message was Unrecoverable playback error: UPnP device error: Action Pause is not supported on pause.

Cheers.
Title: Re: UPnP MediaRenderer output | discussion
Post by: shinyc on 2019-04-03 13:35:21
I am rephrasing my previous post thinking the last one was perhaps not clear enough.

My playback setup looks like this:

roon(LMS) => squeeze2upnp bridge =upnp#1=> fb2k =upnp#2=> jplay femto => dac

I am using your component foo_upnp_out for the link =upnp#2=> above.

It works fine most of time but every 10th play or so, as soon as I press the play button, a dialog box (see attachment) pops up and I need to press the stop button and press the play button again to recover from the situation. It seems the program cannot find an output device ("upnp: JPLAY FEMTO" was the one I selected in my case).

Do you think this symptom has something to do with your component?

Title: Re: UPnP MediaRenderer output | discussion
Post by: Peter on 2019-04-04 11:38:03
Note that "Unrecoverable playback error: proxy_output::proxy_output() => DSD output device is not defined" does not come from this component, it's from some other third party component that you use.
Title: Re: UPnP MediaRenderer output | discussion
Post by: shinyc on 2019-04-04 14:36:18

[UPnP] UPnP begin enum devices
[UPnP] UPnP device: JPLAY FEMTO :: http://192.168.219.101:48167/JPLAY192.168.219.101-MediaRenderer/Upnp/device.xml
[UPnP] UPnP device: foobar2000 Renderer (Administrator) [WIN-0ASUB5QOJCE] :: http://192.168.1.100:1090/
[UPnP] UPnP end enum devices
Unrecoverable playback error: proxy_output::proxy_output() => DSD output device is not defined


Please excuse me if I am overly speculative. I was more keen on the red lettered portion. Whenever the music does not play right after the play button click, I am presented with the dialog box (preference: output) where a drop list is present containing all the available output devices (hence the red-lettered log events, which enumerats the output devices). "Unrecoverable ... DSD output device is not defined" is rather a consequence of the cause, which, I think, is that there is no output device available because not one is set (or lost). I hope I am making myself clear.
Title: Re: UPnP MediaRenderer output | discussion
Post by: Peter on 2019-04-04 16:26:04
New beta: 1.3 beta 2
https://www.foobar2000.org/temp/foo_out_upnp-1.3b2.fb2k-component
Changes:
With supports-pause=false, new stream URL is generated per cycle, to mitigate apparent bugs with some devices.

This will hopefully fix remaining devices where pausing breaks.
Title: Re: UPnP MediaRenderer output | discussion
Post by: lorcan on 2019-04-05 13:40:17
Hello,

First of all THANK YOU for this component.

I'm testing your component to stream mainly FLAC files (16–24 bit 44.1–176.4 kHz) to my PerfectWave Network Bridge II on the PerfectWave DAC by PS Audio.

Name: BridgeII
Manufacturer: PS Audio
Model: DirectStream DAC

With version 1.2.1:
Whatever the bit depth of the FLAC files (16 or 24) being played, the playback counter doesn't move and the sound playback stops after few seconds when using these settings:
Output data format: 24-bit or 16-bit
Stream format: Prefer FLAC

Console:
Code: [Select]
Opening track for playback: "S:\DATA\AUDIO\Music\CDRip\Peter BJÄRGÖ\2017 - Animus Retinentia\05 - Where Night Is Eternal.flac"
[UPnP] Device protocol info:
[UPnP] http-get:*:audio/mpeg:DLNA.ORG_PN=MP3,http-get:*:audio/mp4:DLNA.ORG_PN=MP4,http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=AAC_ADTS,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMABASE,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMAFULL,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMAPRO,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMALSL,http-get:*:audio/x-sony-oma:DLNA.ORG_PN=ATRAC3plus,http-get:*:audio/aiff:*,http-get:*:audio/wav:*,http-get:*:audio/flac:*,http-get:*:audio/aac:*,http-get:*:audio/m4a:*,http-get:*:audio/ac3:*,http-get:*:audio/x-dsf:*,http-get:*:audio/mp4:*,http-get:*:audio/vnd.dlna.adts:*
[UPnP] Listening on: 192.168.1.10:57391
[UPnP] Stream address: http://192.168.1.10:57027/9/stream.flac
[UPnP] transport op: Play
[UPnP] HTTP request #9: HTTP/1.1 GET /9/stream.flac
[UPnP] HTTP concurrency: 1
[UPnP] Source: 192.168.1.100:51436
[UPnP] Accept: */*
[UPnP] Connection: close
[UPnP] Host: 192.168.1.10:57027
[UPnP] Icy-MetaData: 1
[UPnP] Range: bytes=0-
[UPnP] User-Agent: Lavf/56.25.101
[UPnP] transport op OK, took 0:00.026027
[UPnP] Returned time: 0:00:00
[UPnP] Transport state: PLAYING
[UPnP] Returned time: 0:00:00
[UPnP] Transport state: PLAYING
[UPnP] Returned time: 0:00:00
[UPnP] Transport state: PLAYING
[UPnP] Returned time: 0:00:00
[UPnP] Transport state: PLAYING
[UPnP] Returned time: 0:00:00
[UPnP] Transport state: PLAYING
[UPnP] Returned time: 0:00:00
[UPnP] Transport state: PLAYING
[UPnP] Returned time: 0:00:00
[UPnP] Transport state: PLAYING
[UPnP] Returned time: 0:00:00
[UPnP] Transport state: STOPPED
[UPnP] Returned time: 0:00:00
[UPnP] Transport state: STOPPED
[UPnP] Returned time: 0:00:00
[UPnP] Transport state: STOPPED

When I change the settings as follows, its plays flawlessly.
Output data format: 32-bit
Stream format: Prefer FLAC (not changed)

However, I notice stream.wav instead of stream.flac in the console, even if the stream format setting is set to FLAC.

Console:
Code: [Select]
Opening track for playback: "S:\DATA\AUDIO\Music\CDRip\Peter BJÄRGÖ\2017 - Animus Retinentia\05 - Where Night Is Eternal.flac"
[UPnP] Device protocol info:
[UPnP] http-get:*:audio/mpeg:DLNA.ORG_PN=MP3,http-get:*:audio/mp4:DLNA.ORG_PN=MP4,http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=AAC_ADTS,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMABASE,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMAFULL,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMAPRO,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMALSL,http-get:*:audio/x-sony-oma:DLNA.ORG_PN=ATRAC3plus,http-get:*:audio/aiff:*,http-get:*:audio/wav:*,http-get:*:audio/flac:*,http-get:*:audio/aac:*,http-get:*:audio/m4a:*,http-get:*:audio/ac3:*,http-get:*:audio/x-dsf:*,http-get:*:audio/mp4:*,http-get:*:audio/vnd.dlna.adts:*
[UPnP] Listening on: 192.168.1.10:57607
[UPnP] Stream address: http://192.168.1.10:57027/10/stream.wav
[UPnP] transport op: Play
[UPnP] transport op OK, took 0:00.024333
[UPnP] HTTP request #10: HTTP/1.1 GET /10/stream.wav
[UPnP] HTTP concurrency: 1
[UPnP] Source: 192.168.1.100:51439
[UPnP] Accept: */*
[UPnP] Connection: close
[UPnP] Host: 192.168.1.10:57027
[UPnP] Icy-MetaData: 1
[UPnP] Range: bytes=0-
[UPnP] User-Agent: Lavf/56.25.101
[UPnP] Serving WAV
[UPnP] Accept-Ranges: none
[UPnP] Connection: close
[UPnP] Content-Type: audio/wav
[UPnP] Server: Windows, UPnP/1.0 DLNADOC/1.50, foobar2000/1.x
[UPnP] TransferMode.dlna.org: Streaming
[UPnP] Returned time: 0:00:02
[UPnP] Transport state: PLAYING
[UPnP] Returned time: 0:00:04
[UPnP] Transport state: PLAYING
[UPnP] Returned time: 0:00:06
[UPnP] Transport state: PLAYING
[UPnP] Returned time: 0:00:08
[UPnP] Transport state: PLAYING
[UPnP] Returned time: 0:00:10
[UPnP] Transport state: PLAYING

It plays correctly with these settings as well:
Output data format: any bit depths
Stream format: Prefer WAV (not FLAC nor LPCM)

Using version 1.3 beta 2:
Same issue with default settings:

Console:
Code: [Select]
Opening track for playback: "S:\DATA\AUDIO\Music\CDRip\Kokomo\2016 - Monochrome Noise Love\02 - Kill the Captain, Feed the Fishes.flac"
[UPnP] Device protocol info:
[UPnP] http-get:*:audio/mpeg:DLNA.ORG_PN=MP3,http-get:*:audio/mp4:DLNA.ORG_PN=MP4,http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=AAC_ADTS,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMABASE,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMAFULL,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMAPRO,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMALSL,http-get:*:audio/x-sony-oma:DLNA.ORG_PN=ATRAC3plus,http-get:*:audio/aiff:*,http-get:*:audio/wav:*,http-get:*:audio/flac:*,http-get:*:audio/aac:*,http-get:*:audio/m4a:*,http-get:*:audio/ac3:*,http-get:*:audio/x-dsf:*,http-get:*:audio/mp4:*,http-get:*:audio/vnd.dlna.adts:*
[UPnP] Listening on: 192.168.1.10
[UPnP] Stream address: http://192.168.1.10:58618/16/stream.flac
[UPnP] transport op: Play
[UPnP] transport op OK, took 0:00.022713
[UPnP] HTTP request #16: HTTP/1.1 GET /16/stream.flac
[UPnP] HTTP concurrency: 1
[UPnP] Source: 192.168.1.100:37328
[UPnP] Accept: */*
[UPnP] Connection: close
[UPnP] Host: 192.168.1.10:58618
[UPnP] Icy-MetaData: 1
[UPnP] Range: bytes=0-
[UPnP] User-Agent: Lavf/56.25.101
[UPnP] Returned time: 0:00:00
[UPnP] Transport state: PLAYING
[UPnP] Returned time: 0:00:00
[UPnP] Transport state: PLAYING
[UPnP] Returned time: 0:00:00
[UPnP] Transport state: PLAYING
[UPnP] Returned time: 0:00:00
[UPnP] Transport state: PLAYING
[UPnP] Returned time: 0:00:00
[UPnP] Transport state: STOPPED

And works like a charm when I add these custom settings (using right-click "Copy manufacturer+model"):

Code: [Select]
manufacturer=PS Audio
model=DirectStream DAC
supports-pause=true
supports-FLAC=false

Console:
Code: [Select]
Opening track for playback: "S:\DATA\AUDIO\Music\CDRip\Kokomo\2016 - Monochrome Noise Love\02 - Kill the Captain, Feed the Fishes.flac"
[UPnP] Device protocol info:
[UPnP] http-get:*:audio/mpeg:DLNA.ORG_PN=MP3,http-get:*:audio/mp4:DLNA.ORG_PN=MP4,http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=AAC_ADTS,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMABASE,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMAFULL,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMAPRO,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMALSL,http-get:*:audio/x-sony-oma:DLNA.ORG_PN=ATRAC3plus,http-get:*:audio/aiff:*,http-get:*:audio/wav:*,http-get:*:audio/flac:*,http-get:*:audio/aac:*,http-get:*:audio/m4a:*,http-get:*:audio/ac3:*,http-get:*:audio/x-dsf:*,http-get:*:audio/mp4:*,http-get:*:audio/vnd.dlna.adts:*
[UPnP] Listening on: 192.168.1.10
[UPnP] Stream address: http://192.168.1.10:58618/18/stream.wav
[UPnP] transport op: Play
[UPnP] transport op OK, took 0:00.023503
[UPnP] HTTP request #18: HTTP/1.1 GET /18/stream.wav
[UPnP] HTTP concurrency: 1
[UPnP] Source: 192.168.1.100:47342
[UPnP] Accept: */*
[UPnP] Connection: close
[UPnP] Host: 192.168.1.10:58618
[UPnP] Icy-MetaData: 1
[UPnP] Range: bytes=0-
[UPnP] User-Agent: Lavf/56.25.101
[UPnP] Serving WAV
[UPnP] Accept-Ranges: none
[UPnP] Connection: close
[UPnP] Content-Type: audio/wav
[UPnP] Server: UPnP/1.0 DLNADOC/1.50, foobar2000/1.x
[UPnP] TransferMode.dlna.org: Streaming
[UPnP] Returned time: 0:00:02
[UPnP] Transport state: PLAYING
[UPnP] Returned time: 0:00:07
[UPnP] Transport state: PLAYING
[UPnP] Returned time: 0:00:12
[UPnP] Transport state: PLAYING
[UPnP] Returned time: 0:00:17
[UPnP] Transport state: PLAYING
[UPnP] Returned time: 0:00:22
[UPnP] Transport state: PLAYING

Of course, the issue reappears when I change the supports-FLAC setting to true:
Code: [Select]
manufacturer=PS Audio
model=DirectStream DAC
supports-pause=true
supports-FLAC=true

Additional notes:
The PerfectWave Bridge II can handle any sample rate and bit depth from 44.1kHz 16 bit all the way up to 192kHz 32 bit (…) and natively supports the FLAC format.
When I use Synology NAS Audio Station instead of Foobar to stream exactly the same FLAC files to the Bridge II (using UPnP), these files are correctly played as FLAC (not WAV) without transcoding. And the PerfectWave Bridge II displays “FLAC” (or “MP3”, “WAV” according to the file being streamed from Synology's Audio Station).
When I use the UPnP MediaRenderer component in Foobar, the PerfectWave Bridge II always displays "WAV" when straming FLAC files whatever the settings used, even if the Foobar console displays "stream.flac".

Another question: How can I "force" the output data format to 32-bit in version 1.3 beta 2 ?

Thanks in advance for your feedback and advice  ;)
Title: Re: UPnP MediaRenderer output | discussion
Post by: a3aan on 2019-04-06 12:11:12
New beta: 1.3 beta 2
https://www.foobar2000.org/temp/foo_out_upnp-1.3b2.fb2k-component
Changes:
With supports-pause=false, new stream URL is generated per cycle, to mitigate apparent bugs with some devices.

This will hopefully fix remaining devices where pausing breaks.
Pausing and resuming now seems to be working fine with Teufel Raumfeld. Cheers!
Title: Re: UPnP MediaRenderer output | discussion
Post by: a3aan on 2019-04-07 22:18:45
I did some more testing and while pausing and resuming is working fine, it turns out that playback stops within 10 seconds with the new betas. The official version works fine for that matter. I've included the log. Note that these lines with Nonsensical timestamp also appear in the official version. I tried it with various settings, but none of them worked.

From the console:
Code: [Select]
Opening track for playback: "sample.flac"
[UPnP] Device protocol info:
[UPnP] http-get:*:audio/iLBC-sh:*,http-get:*:audio/midi:*,http-get:*:audio/mobile-xmf:*,http-get:*:audio/x-xmf:*,http-get:*:audio/mpeg:*,http-get:*:audio/qcelp:*,http-get:*:audio/riff-midi:*,http-get:*:audio/x-ac3:*,http-get:*:audio/x-amr-nb-sh:*,http-get:*:audio/x-amr-wb-sh:*,http-get:*:audio/x-celt:*,http-get:*:audio/x-flac:*,http-get:*:audio/flac:*,http-get:*:audio/x-gsm:*,http-get:*:audio/x-imelody:*,http-get:*:audio/x-m4a:*,http-get:*:audio/mp4:*,http-get:*:audio/x-musepack:*,http-get:*:audio/x-rf64:*,http-get:*:audio/x-speex:*,http-get:*:audio/x-ttafile:*,http-get:*:audio/x-vorbis:*,http-get:*:audio/x-vorbis+ogg:*,http-get:*:audio/x-wav:*,http-get:*:audio/mpeg:*,http-get:*:audio/x-aiff:*,http-get:*:audio/x-ay:*,http-get:*:audio/x-caf:*,http-get:*:audio/x-dts:*,http-get:*:audio/vnd.dts:*,http-get:*:audio/x-gbs:*,http-get:*:audio/x-gym:*,http-get:*:audio/x-ircam:*,http-get:*:audio/x-kss:*,http-get:*:audio/x-mod:*,http-get:*:audio/x-nist:*,http-get:*:audio/x-nsf:*,http-get:*:audio/x-paris:*,http-get:*:audio/x-sap:*,http-get:*:audio/x-sds:*,http-get:*:audio/x-shorten:*,http-get:*:audio/x-spc:*,http-get:*:audio/x-svx:*,http-get:*:audio/x-vgm:*,http-get:*:audio/x-voc:*,http-get:*:audio/x-w64:*,http-get:*:audio/x-wavpack:*,http-get:*:audio/x-wavpack-correction:*,http-get:*:audio/x-xi:*,http-get:*:audio/x-audible:*,http-get:*:audio/x-au:*,http-get:*:audio/x-sbc:*,http-get:*:audio/x-sid:*,http-get:*:audio/x-ms-wma:*
[UPnP] Listening on: 192.168.178.20
[UPnP] Stream address: http://192.168.178.20:63437/19/stream.flac
[UPnP] transport op: Play
[UPnP] transport op OK, took 0:00.020416
[UPnP] HTTP request #45: HTTP/1.1 GET /19/stream.flac
[UPnP] HTTP concurrency: 1
[UPnP] Source: 192.168.178.37:59081
[UPnP] Connection: close
[UPnP] Host: 192.168.178.20:63437
[UPnP] icy-metadata: 1
[UPnP] User-Agent: GStreamer souphttpsrc libsoup/2.56.1
[UPnP] Returned time: 1193:02:47
[UPnP] Nonsensical timestamp - 7wk 0d 17:02:47.000000 while maximum possible is 0:08.881633
[UPnP] Transport state: PLAYING
[UPnP] HTTP request #45 finished
[UPnP] HTTP concurrency: 0
[UPnP] Returned time: 1193:02:47
[UPnP] Nonsensical timestamp - 7wk 0d 17:02:47.000000 while maximum possible is 0:09.900000
[UPnP] Transport state: PLAYING
[UPnP] Returned time: NOT_IMPLEMENTED
[UPnP] time query fail: invalid input
[UPnP] Returned time: NOT_IMPLEMENTED
[UPnP] time query fail: invalid input
[UPnP] Returned time: NOT_IMPLEMENTED
[UPnP] time query fail: invalid input
[UPnP] Returned time: NOT_IMPLEMENTED
[UPnP] time query fail: invalid input

Hope this helpful. Cheers.
Title: Re: UPnP MediaRenderer output | discussion
Post by: Peter on 2019-04-12 09:11:26
Thanks for the feedback.

Regarding playback stopping after 10 seconds-
As shown in the log, the device does not report playback position so foobar2000 thinks that playback isn't progressing and isn't sending any new data to the device... I'll try to come up with a workaround for this.
Title: Re: UPnP MediaRenderer output | discussion
Post by: Peter on 2019-04-12 18:41:47
New beta version:
https://www.foobar2000.org/temp/foo_out_upnp-1.3b3.fb2k-component
Changes:
Title: Re: UPnP MediaRenderer output | discussion
Post by: a3aan on 2019-04-12 21:47:45
1.3b3 no longer stops after a few seconds. Pausing and resuming are still fine.

I did some additional testing and it seems that changing sample rate is disturbing something. See log:

Code: [Select]
Opening track for playback: "x.wv"
[UPnP] Device protocol info:
[UPnP] http-get:*:audio/iLBC-sh:*,http-get:*:audio/midi:*,http-get:*:audio/mobile-xmf:*,http-get:*:audio/x-xmf:*,http-get:*:audio/mpeg:*,http-get:*:audio/qcelp:*,http-get:*:audio/riff-midi:*,http-get:*:audio/x-ac3:*,http-get:*:audio/x-amr-nb-sh:*,http-get:*:audio/x-amr-wb-sh:*,http-get:*:audio/x-celt:*,http-get:*:audio/x-flac:*,http-get:*:audio/flac:*,http-get:*:audio/x-gsm:*,http-get:*:audio/x-imelody:*,http-get:*:audio/x-m4a:*,http-get:*:audio/mp4:*,http-get:*:audio/x-musepack:*,http-get:*:audio/x-rf64:*,http-get:*:audio/x-speex:*,http-get:*:audio/x-ttafile:*,http-get:*:audio/x-vorbis:*,http-get:*:audio/x-vorbis+ogg:*,http-get:*:audio/x-wav:*,http-get:*:audio/mpeg:*,http-get:*:audio/x-aiff:*,http-get:*:audio/x-ay:*,http-get:*:audio/x-caf:*,http-get:*:audio/x-dts:*,http-get:*:audio/vnd.dts:*,http-get:*:audio/x-gbs:*,http-get:*:audio/x-gym:*,http-get:*:audio/x-ircam:*,http-get:*:audio/x-kss:*,http-get:*:audio/x-mod:*,http-get:*:audio/x-nist:*,http-get:*:audio/x-nsf:*,http-get:*:audio/x-paris:*,http-get:*:audio/x-sap:*,http-get:*:audio/x-sds:*,http-get:*:audio/x-shorten:*,http-get:*:audio/x-spc:*,http-get:*:audio/x-svx:*,http-get:*:audio/x-vgm:*,http-get:*:audio/x-voc:*,http-get:*:audio/x-w64:*,http-get:*:audio/x-wavpack:*,http-get:*:audio/x-wavpack-correction:*,http-get:*:audio/x-xi:*,http-get:*:audio/x-audible:*,http-get:*:audio/x-au:*,http-get:*:audio/x-sbc:*,http-get:*:audio/x-sid:*,http-get:*:audio/x-ms-wma:*
[UPnP] Listening on: 192.168.178.20
[UPnP] Stream address: http://192.168.178.20:63124/35/stream.wav
[UPnP] transport op: Play
[UPnP] transport op OK, took 0:00.032939
[UPnP] HTTP request #35: HTTP/1.1 GET /35/stream.wav
[UPnP] HTTP concurrency: 1
[UPnP] Source: 192.168.178.37:57924
[UPnP] Connection: close
[UPnP] Host: 192.168.178.20:63124
[UPnP] icy-metadata: 1
[UPnP] User-Agent: GStreamer souphttpsrc libsoup/2.56.1
[UPnP] Serving WAV
[UPnP] Accept-Ranges: none
[UPnP] Connection: close
[UPnP] Content-Type: audio/wav
[UPnP] Server: UPnP/1.0 DLNADOC/1.50, foobar2000/1.x
[UPnP] TransferMode.dlna.org: Streaming
[UPnP] Transport state: PLAYING
[UPnP] Transport state: PLAYING
[UPnP] Transport state: PLAYING
[UPnP] Transport state: PLAYING
[UPnP] Transport state: PLAYING
Opening track for playback: "y.wv"
[UPnP] HTTP request #35 finished
[UPnP] HTTP concurrency: 0
[UPnP] Device protocol info:
[UPnP] http-get:*:audio/iLBC-sh:*,http-get:*:audio/midi:*,http-get:*:audio/mobile-xmf:*,http-get:*:audio/x-xmf:*,http-get:*:audio/mpeg:*,http-get:*:audio/qcelp:*,http-get:*:audio/riff-midi:*,http-get:*:audio/x-ac3:*,http-get:*:audio/x-amr-nb-sh:*,http-get:*:audio/x-amr-wb-sh:*,http-get:*:audio/x-celt:*,http-get:*:audio/x-flac:*,http-get:*:audio/flac:*,http-get:*:audio/x-gsm:*,http-get:*:audio/x-imelody:*,http-get:*:audio/x-m4a:*,http-get:*:audio/mp4:*,http-get:*:audio/x-musepack:*,http-get:*:audio/x-rf64:*,http-get:*:audio/x-speex:*,http-get:*:audio/x-ttafile:*,http-get:*:audio/x-vorbis:*,http-get:*:audio/x-vorbis+ogg:*,http-get:*:audio/x-wav:*,http-get:*:audio/mpeg:*,http-get:*:audio/x-aiff:*,http-get:*:audio/x-ay:*,http-get:*:audio/x-caf:*,http-get:*:audio/x-dts:*,http-get:*:audio/vnd.dts:*,http-get:*:audio/x-gbs:*,http-get:*:audio/x-gym:*,http-get:*:audio/x-ircam:*,http-get:*:audio/x-kss:*,http-get:*:audio/x-mod:*,http-get:*:audio/x-nist:*,http-get:*:audio/x-nsf:*,http-get:*:audio/x-paris:*,http-get:*:audio/x-sap:*,http-get:*:audio/x-sds:*,http-get:*:audio/x-shorten:*,http-get:*:audio/x-spc:*,http-get:*:audio/x-svx:*,http-get:*:audio/x-vgm:*,http-get:*:audio/x-voc:*,http-get:*:audio/x-w64:*,http-get:*:audio/x-wavpack:*,http-get:*:audio/x-wavpack-correction:*,http-get:*:audio/x-xi:*,http-get:*:audio/x-audible:*,http-get:*:audio/x-au:*,http-get:*:audio/x-sbc:*,http-get:*:audio/x-sid:*,http-get:*:audio/x-ms-wma:*
[UPnP] Listening on: 192.168.178.20
[UPnP] Stream address: http://192.168.178.20:63124/36/stream.wav
[UPnP] transport op: Play
[UPnP] HTTP request #36: HTTP/1.1 GET /36/stream.wav
[UPnP] HTTP concurrency: 1
[UPnP] Source: 192.168.178.37:57936
[UPnP] Connection: close
[UPnP] Host: 192.168.178.20:63124
[UPnP] icy-metadata: 1
[UPnP] User-Agent: GStreamer souphttpsrc libsoup/2.56.1
[UPnP] Serving WAV
[UPnP] Accept-Ranges: none
[UPnP] Connection: close
[UPnP] Content-Type: audio/wav
[UPnP] Server: UPnP/1.0 DLNADOC/1.50, foobar2000/1.x
[UPnP] TransferMode.dlna.org: Streaming
[UPnP] transport op OK, took 0:00.054658
[UPnP] Transport state: TRANSITIONING
[UPnP] Transport state: TRANSITIONING
[UPnP] Transport state: TRANSITIONING
[UPnP] Transport state: TRANSITIONING
[UPnP] Transport state: TRANSITIONING
[UPnP] Transport state: TRANSITIONING
[UPnP] Transport state: TRANSITIONING
[UPnP] Transport state: TRANSITIONING
[UPnP] Transport state: TRANSITIONING
[UPnP] Transport state: TRANSITIONING
[UPnP] Transport state: TRANSITIONING
[UPnP] Transport state: TRANSITIONING
[UPnP] HTTP request #36 finished
[UPnP] HTTP concurrency: 0
Opening track for playback: "y.wv"
[UPnP] Device protocol info:
[UPnP] http-get:*:audio/iLBC-sh:*,http-get:*:audio/midi:*,http-get:*:audio/mobile-xmf:*,http-get:*:audio/x-xmf:*,http-get:*:audio/mpeg:*,http-get:*:audio/qcelp:*,http-get:*:audio/riff-midi:*,http-get:*:audio/x-ac3:*,http-get:*:audio/x-amr-nb-sh:*,http-get:*:audio/x-amr-wb-sh:*,http-get:*:audio/x-celt:*,http-get:*:audio/x-flac:*,http-get:*:audio/flac:*,http-get:*:audio/x-gsm:*,http-get:*:audio/x-imelody:*,http-get:*:audio/x-m4a:*,http-get:*:audio/mp4:*,http-get:*:audio/x-musepack:*,http-get:*:audio/x-rf64:*,http-get:*:audio/x-speex:*,http-get:*:audio/x-ttafile:*,http-get:*:audio/x-vorbis:*,http-get:*:audio/x-vorbis+ogg:*,http-get:*:audio/x-wav:*,http-get:*:audio/mpeg:*,http-get:*:audio/x-aiff:*,http-get:*:audio/x-ay:*,http-get:*:audio/x-caf:*,http-get:*:audio/x-dts:*,http-get:*:audio/vnd.dts:*,http-get:*:audio/x-gbs:*,http-get:*:audio/x-gym:*,http-get:*:audio/x-ircam:*,http-get:*:audio/x-kss:*,http-get:*:audio/x-mod:*,http-get:*:audio/x-nist:*,http-get:*:audio/x-nsf:*,http-get:*:audio/x-paris:*,http-get:*:audio/x-sap:*,http-get:*:audio/x-sds:*,http-get:*:audio/x-shorten:*,http-get:*:audio/x-spc:*,http-get:*:audio/x-svx:*,http-get:*:audio/x-vgm:*,http-get:*:audio/x-voc:*,http-get:*:audio/x-w64:*,http-get:*:audio/x-wavpack:*,http-get:*:audio/x-wavpack-correction:*,http-get:*:audio/x-xi:*,http-get:*:audio/x-audible:*,http-get:*:audio/x-au:*,http-get:*:audio/x-sbc:*,http-get:*:audio/x-sid:*,http-get:*:audio/x-ms-wma:*
[UPnP] Listening on: 192.168.178.20
[UPnP] Stream address: http://192.168.178.20:63124/37/stream.wav
[UPnP] transport op: Play
[UPnP] HTTP request #37: HTTP/1.1 GET /37/stream.wav
[UPnP] HTTP concurrency: 1
[UPnP] Source: 192.168.178.37:57944
[UPnP] Connection: close
[UPnP] Host: 192.168.178.20:63124
[UPnP] icy-metadata: 1
[UPnP] User-Agent: GStreamer souphttpsrc libsoup/2.56.1
[UPnP] Serving WAV
[UPnP] Accept-Ranges: none
[UPnP] Connection: close
[UPnP] Content-Type: audio/wav
[UPnP] Server: UPnP/1.0 DLNADOC/1.50, foobar2000/1.x
[UPnP] TransferMode.dlna.org: Streaming
[UPnP] transport op OK, took 0:00.082402
[UPnP] Transport state: PLAYING
[UPnP] Transport state: PLAYING
[UPnP] HTTP request #37 finished
[UPnP] HTTP concurrency: 0

File x.wv is 44.1kHz and file y.wv is 48kHz. (Both files are being down-sampled using the SOX re-sampler plug-in.) At first, playback for x.wv is started. Then after a while y.wv is being started. Then playback hangs with [UPnP] Transport state: TRANSITIONING, but after hitting Play again, it starts. This is not new for the beta. It happens with 1.2.1 too, using the same Raumfeld device.

Cheers.
Title: Re: UPnP MediaRenderer output | discussion
Post by: a3aan on 2019-04-13 16:48:12
It seems the Teufel Raumfeld actually is capable of returning times. And it doesn't even stop after a couple of seconds.

Code: [Select]
[UPnP] UPnP begin enum devices
[UPnP] UPnP device: Connector Study :: http://192.168.178.37:50537/9a00d7f1-d1a7-473c-a1f7-c81723a1acdd.xml
[UPnP] UPnP device: Study :: http://192.168.178.37:54752/C952CF6B-A40B-426A-A6ED-9D91E223FB4D.xml
[UPnP] UPnP end enum devices
Opening track for playback: "a.flac"
[UPnP] Device protocol info:
[UPnP] dlna-playcontainer:*:application/xml:*,http-get:*:application/ogg:*,http-get:*:application/vnd.ms-asf:*,http-get:*:application/x-mms-framed:*,http-get:*:application/x-ogg:*,http-get:*:application/xspf+xml:*,http-get:*:audio/aac:*,http-get:*:audio/alac:*,http-get:*:audio/flac:*,http-get:*:audio/m4a:*,http-get:*:audio/m4b:*,http-get:*:audio/mp3:*,http-get:*:audio/mp4:*,http-get:*:audio/mpeg3:*,http-get:*:audio/mpeg:*,http-get:*:audio/ogg:*,http-get:*:audio/vorbis:*,http-get:*:audio/wav:*,http-get:*:audio/x-aac:*,http-get:*:audio/x-ac3:*,http-get:*:audio/x-flac:*,http-get:*:audio/x-m4b:*,http-get:*:audio/x-mp3:*,http-get:*:audio/x-mpeg3:*,http-get:*:audio/x-mpeg:*,http-get:*:audio/x-mpegurl:*,http-get:*:audio/x-ms-asf:*,http-get:*:audio/x-ms-wma:*,http-get:*:audio/x-ms-wmv:*,http-get:*:audio/x-ogg:*,http-get:*:audio/x-vorbis+ogg:*,http-get:*:audio/x-wav:*,http-get:*:video/mp4:*,http-get:*:video/x-ms-asf:*
[UPnP] Listening on: 192.168.178.20
[UPnP] Stream address: http://192.168.178.20:50969/18/stream.wav
[UPnP] transport op: Play
[UPnP] HTTP request #19: HTTP/1.1 GET /18/stream.wav
[UPnP] HTTP concurrency: 1
[UPnP] Source: 192.168.178.37:57637
[UPnP] Connection: Keep-Alive
[UPnP] Host: 192.168.178.20:50969
[UPnP] Icy-MetaData: 1
[UPnP] Serving WAV
[UPnP] Accept-Ranges: none
[UPnP] Connection: close
[UPnP] Content-Type: audio/wav
[UPnP] Server: UPnP/1.0 DLNADOC/1.50, foobar2000/1.x
[UPnP] TransferMode.dlna.org: Streaming
[UPnP] transport op OK, took 0:00.051441
[UPnP] Transport state: PLAYING
[UPnP] Returned time: 00:00:06
[UPnP] Transport state: PLAYING
[UPnP] Returned time: 00:00:11
[UPnP] Transport state: PLAYING
[UPnP] Returned time: 00:00:16
[UPnP] Transport state: PLAYING
[UPnP] Returned time: 00:00:21
[UPnP] Transport state: PLAYING
[UPnP] HTTP request #19 finished
[UPnP] HTTP concurrency: 0

Not sure where the inconsistency comes from. With its eco mode, I leave it on all the time.
Title: Re: UPnP MediaRenderer output | discussion
Post by: abiard on 2019-04-21 22:20:23
New beta version:
https://www.foobar2000.org/temp/foo_out_upnp-1.3b3.fb2k-component
Changes:
  • supports-FLAC=false by default - many devices claim to support it, few work right
  • New option: reports-time - use to work around devices which cannot report playback time
  • New device-specific config sections added (reload default settings to apply)

I'm trying to use your component hoping to be able to stream my library to a dac with picore player installed, but after 15 sec it stops working. I tried the beta 3 with the "reports-time=true" and "reports-time=false" but I didn't get any results - ([UPnP] Nonsensical timestamp - 0: 16.294000 while maximum possible is 0: 16.067098).

For a long time I have been trying to stream the flac files on the dac but unfortunately I never succeeded... I would love it if you succeeded. thanks a lot
Code: [Select]
Opening track for playback: "\Music\dire straits\Sultan of Swing\Dire Straits - Your Latest Trick [Live].flac"
[UPnP] Device protocol info:
[UPnP] http-get:*:audio/mpeg:*,http-get:*:audio/L16;rate=8000;channels=1:*,http-get:*:audio/L16;rate=8000;channels=2:*,http-get:*:audio/L16;rate=11025;channels=1:*,http-get:*:audio/L16;rate=11025;channels=2:*,http-get:*:audio/L16;rate=12000;channels=1:*,http-get:*:audio/L16;rate=12000;channels=2:*,http-get:*:audio/L16;rate=16000;channels=1:*,http-get:*:audio/L16;rate=16000;channels=2:*,http-get:*:audio/L16;rate=22050;channels=1:*,http-get:*:audio/L16;rate=22050;channels=2:*,http-get:*:audio/L16;rate=24000;channels=1:*,http-get:*:audio/L16;rate=24000;channels=2:*,http-get:*:audio/L16;rate=32000;channels=1:*,http-get:*:audio/L16;rate=32000;channels=2:*,http-get:*:audio/L16;rate=44100;channels=1:*,http-get:*:audio/L16;rate=44100;channels=2:*,http-get:*:audio/L16;rate=48000;channels=1:*,http-get:*:audio/L16;rate=48000;channels=2:*,http-get:*:audio/vnd.dlna.adts:*,http-get:*:audio/vnd.dlna.adts:*,http-get:*:audio/mp4:*,http-get:*:audio/mp4:*,http-get:*:audio/mp4:*,http-get:*:audio/x-ms-wma:*,http-get:*:audio/x-ms-wma:*,http-get:*:audio/x-ms-wma:*,http-get:*:application/ogg:*,http-get:*:audio/x-flac:*
[UPnP] Listening on: 10.249.203.12
[UPnP] Stream address: http://10.249.203.12:65403/1/stream.flac
[UPnP] transport op: Play
[UPnP] transport op OK, took 0:00.016995
[UPnP] HTTP request #1: HTTP/1.0 GET /1/stream.flac
[UPnP] HTTP concurrency: 1
[UPnP] Source: 10.249.203.16:51848
[UPnP] Accept: */*
[UPnP] Cache-Control: no-cache
[UPnP] Connection: close
[UPnP] Host: 10.249.203.12:65403
[UPnP] Icy-Metadata: 1
[UPnP] User-Agent: iTunes/4.7.1 (Linux; N; piCore; armv7l-linux; IT; utf8) SqueezeCenter, Squeezebox Server, Logitech Media Server/7.9.2/1555406898
[UPnP] Returned time: 0:00:00.729
[UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 0:00:01.787
[UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 0:00:02.849
[UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 0:00:03.897
[UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 0:00:04.944
[UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 0:00:05.990
[UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 0:00:07.037
[UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 0:00:08.092
[UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 0:00:09.148
[UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 0:00:10.200
[UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 0:00:11.254
[UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 0:00:12.302
[UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 0:00:13.349
[UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 0:00:14.393
[UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 0:00:15.442
[UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 0:00:16.481
[UPnP] Nonsensical timestamp - 0:16.481000 while maximum possible is 0:16.068209
[UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 0:00:15.815
[UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 0:00:15.806
[UPnP] Transport state: TRANSITIONING
[UPnP] HTTP request #1 finished
[UPnP] HTTP concurrency: 0
Title: Re: UPnP MediaRenderer output | discussion
Post by: Simon_ Thunder on 2019-04-22 01:51:04
New beta version:
https://www.foobar2000.org/temp/foo_out_upnp-1.3b3.fb2k-component
Changes:
  • supports-FLAC=false by default - many devices claim to support it, few work right
  • New option: reports-time - use to work around devices which cannot report playback time
  • New device-specific config sections added (reload default settings to apply)

Peter first of all thank you for this plugin.
May i ask you share for me this plugin for XP?
Thank you!
Title: Re: UPnP MediaRenderer output | discussion
Post by: jotti on 2019-04-24 11:41:41

What would really be fun and new, is to be able to play music in scync on multiple Upnp players at the same time.

Thanks for the suggestion, maybe I should consider...  ....
Meanwhile, I hope the next version will bring compatibility improvements!

Hi, any developements or workarounds on this idea?

bump!
:)
Title: Re: UPnP MediaRenderer output | discussion
Post by: Peter on 2019-04-25 14:23:48
I'm trying to use your component hoping to be able to stream my library to a dac with picore player installed, but after 15 sec it stops working. I tried the beta 3 with the "reports-time=true" and "reports-time=false" but I didn't get any results - ([UPnP] Nonsensical timestamp - 0: 16.294000 while maximum possible is 0: 16.067098).

For a long time I have been trying to stream the flac files on the dac but unfortunately I never succeeded... I would love it if you succeeded. thanks a lot
Please reset the settings to the defaults. Many devices claim to support FLAC but choke when fed an infinite length FLAC stream. Just send LPCM or WAV instead.
Also, what exact device is it?
Title: Re: UPnP MediaRenderer output | discussion
Post by: Peter on 2019-04-25 14:25:42
New beta version:
1.3 beta 4

https://www.foobar2000.org/temp/foo_out_upnp-1.3b4.fb2k-component

Changes:
Title: Re: UPnP MediaRenderer output | discussion
Post by: abiard on 2019-04-25 15:35:25
I'm trying to use your component hoping to be able to stream my library to a dac with picore player installed, but after 15 sec it stops working. I tried the beta 3 with the "reports-time=true" and "reports-time=false" but I didn't get any results - ([UPnP] Nonsensical timestamp - 0: 16.294000 while maximum possible is 0: 16.067098).

For a long time I have been trying to stream the flac files on the dac but unfortunately I never succeeded... I would love it if you succeeded. thanks a lot
Please reset the settings to the defaults. Many devices claim to support FLAC but choke when fed an infinite length FLAC stream. Just send LPCM or WAV instead.
Also, what exact device is it?
first of all thanks for the support.

As a dac I use a RASPTOUCH I-SABER ES9038Q2M KALI Streamer on which runs PicorePlayer and Logitech Media Server.

1- I reset all the default settings
2- I tried the beta 4: no benefit.
3- I tried streaming in flac, wav and lpcm: no benefit
4- support-flac = false the reproduction does not start
5- support-flac = true the reproduction starts but it stops after 15 sec.

in any case the playback counter doesn't move and the sound playback stops after few seconds
Title: Re: UPnP MediaRenderer output | discussion
Post by: Peter on 2019-04-25 16:57:03
If playback gets stuck, please try with:
reports-time=false

If this helps, please post the configuration lines you've - including manufacturer & model lines for your device; I will add them to the defaults for the next update.
Title: Re: UPnP MediaRenderer output | discussion
Post by: abiard on 2019-04-25 19:23:29
If playback gets stuck, please try with:
reports-time=false

If this helps, please post the configuration lines you've - including manufacturer & model lines for your device; I will add them to the defaults for the next update.

I entered in the configuration file
manufacturer=Logitech
model=Squeezebox
reports-time=false

but no changes

i also try with this
zero-length-flac=true (and false)
send-accept-ranges=true (and false)

but anythink

Quote
Opening track for playback: "D:\ardiz\desktop\Ligabue - Start (2019) FLAC\Ligabue - Ancora noi.flac"
[UPnP] Device protocol info:
[UPnP] http-get:*:audio/mpeg:*,http-get:*:audio/L16;rate=8000;channels=1:*,http-get:*:audio/L16;rate=8000;channels=2:*,http-get:*:audio/L16;rate=11025;channels=1:*,http-get:*:audio/L16;rate=11025;channels=2:*,http-get:*:audio/L16;rate=12000;channels=1:*,http-get:*:audio/L16;rate=12000;channels=2:*,http-get:*:audio/L16;rate=16000;channels=1:*,http-get:*:audio/L16;rate=16000;channels=2:*,http-get:*:audio/L16;rate=22050;channels=1:*,http-get:*:audio/L16;rate=22050;channels=2:*,http-get:*:audio/L16;rate=24000;channels=1:*,http-get:*:audio/L16;rate=24000;channels=2:*,http-get:*:audio/L16;rate=32000;channels=1:*,http-get:*:audio/L16;rate=32000;channels=2:*,http-get:*:audio/L16;rate=44100;channels=1:*,http-get:*:audio/L16;rate=44100;channels=2:*,http-get:*:audio/L16;rate=48000;channels=1:*,http-get:*:audio/L16;rate=48000;channels=2:*,http-get:*:audio/vnd.dlna.adts:*,http-get:*:audio/vnd.dlna.adts:*,http-get:*:audio/mp4:*,http-get:*:audio/mp4:*,http-get:*:audio/mp4:*,http-get:*:audio/x-ms-wma:*,http-get:*:audio/x-ms-wma:*,http-get:*:audio/x-ms-wma:*,http-get:*:application/ogg:*,http-get:*:audio/x-flac:*
[UPnP] Listening on: 10.249.203.12
[UPnP] Stream address: http://10.249.203.12:64266/3/stream.flac
[UPnP] transport op: Play
[UPnP] transport op OK, took 0:00.029161
[UPnP] HTTP request #3: HTTP/1.0 GET /3/stream.flac
[UPnP] HTTP concurrency: 1
[UPnP] Source: 10.249.203.16:47420
[UPnP] Accept: */*
[UPnP] Cache-Control: no-cache
[UPnP] Connection: close
[UPnP] Host: 10.249.203.12:64266
[UPnP] Icy-Metadata: 1
[UPnP] User-Agent: iTunes/4.7.1 (Linux; N; piCore; armv7l-linux; IT; utf8) SqueezeCenter, Squeezebox Server, Logitech Media Server/7.9.2/1556111457
[UPnP] Transport state: TRANSITIONING
[UPnP] Transport state: TRANSITIONING
[UPnP] Transport state: TRANSITIONING
[UPnP] Transport state: TRANSITIONING
[UPnP] Transport state: TRANSITIONING
[UPnP] Transport state: TRANSITIONING
[UPnP] Transport state: TRANSITIONING
[UPnP] Transport state: TRANSITIONING
[UPnP] Transport state: TRANSITIONING
[UPnP] Transport state: TRANSITIONING
[UPnP] Transport state: TRANSITIONING
[UPnP] Transport state: TRANSITIONING
[UPnP] Transport state: TRANSITIONING
[UPnP] Transport state: TRANSITIONING
[UPnP] Transport state: TRANSITIONING
[UPnP] Transport state: TRANSITIONING
[UPnP] Transport state: TRANSITIONING
[UPnP] Transport state: TRANSITIONING
[UPnP] Transport state: TRANSITIONING
[UPnP] Transport state: TRANSITIONING
[UPnP] Transport state: TRANSITIONING
[UPnP] Transport state: TRANSITIONING
[UPnP] Transport state: TRANSITIONING
[UPnP] Transport state: TRANSITIONING
[UPnP] HTTP request #3 finished
[UPnP] HTTP concurrency: 0
Title: Re: UPnP MediaRenderer output | discussion
Post by: Peter on 2019-04-26 06:36:39
Please try:

manufacturer=Logitech
model=Squeezebox
preferred-format=LPCM

There are three stream formats (FLAC, WAV and LPCM); one of them is picked depending on your settings and what the device reports.

Also, of your foobar2000 is set to 24-bit output bit depth, please try with 16-bit instead.
Title: Re: UPnP MediaRenderer output | discussion
Post by: abiard on 2019-04-26 10:36:16
I have tried all the combinations that you have indicated to me but without any positive result (lpcm, wav, flac and/or 16-24 bit).

Code: [Select]
Opening track for playback: "D:\ardiz\desktop\Ligabue - Start (2019) FLAC\Ligabue - Ancora noi.flac"
[UPnP] Device protocol info:
[UPnP] http-get:*:audio/mpeg:*,http-get:*:audio/L16;rate=8000;channels=1:*,http-get:*:audio/L16;rate=8000;channels=2:*,http-get:*:audio/L16;rate=11025;channels=1:*,http-get:*:audio/L16;rate=11025;channels=2:*,http-get:*:audio/L16;rate=12000;channels=1:*,http-get:*:audio/L16;rate=12000;channels=2:*,http-get:*:audio/L16;rate=16000;channels=1:*,http-get:*:audio/L16;rate=16000;channels=2:*,http-get:*:audio/L16;rate=22050;channels=1:*,http-get:*:audio/L16;rate=22050;channels=2:*,http-get:*:audio/L16;rate=24000;channels=1:*,http-get:*:audio/L16;rate=24000;channels=2:*,http-get:*:audio/L16;rate=32000;channels=1:*,http-get:*:audio/L16;rate=32000;channels=2:*,http-get:*:audio/L16;rate=44100;channels=1:*,http-get:*:audio/L16;rate=44100;channels=2:*,http-get:*:audio/L16;rate=48000;channels=1:*,http-get:*:audio/L16;rate=48000;channels=2:*,http-get:*:audio/vnd.dlna.adts:*,http-get:*:audio/vnd.dlna.adts:*,http-get:*:audio/mp4:*,http-get:*:audio/mp4:*,http-get:*:audio/mp4:*,http-get:*:audio/x-ms-wma:*,http-get:*:audio/x-ms-wma:*,http-get:*:audio/x-ms-wma:*,http-get:*:application/ogg:*,http-get:*:audio/x-flac:*
[UPnP] Listening on: 10.249.203.12
[UPnP] Stream address: http://10.249.203.12:55131/15/stream.flac
[UPnP] HTTP request #14: HTTP/1.0 GET /15/stream.flac
[UPnP] HTTP concurrency: 1
[UPnP] Source: 10.249.203.16:44676
[UPnP] Accept: */*
[UPnP] Cache-Control: no-cache
[UPnP] Connection: close
[UPnP] Host: 10.249.203.12:55131
[UPnP] Icy-Metadata: 1
[UPnP] User-Agent: iTunes/4.7.1 (Linux; N; piCore; armv7l-linux; IT; utf8) SqueezeCenter, Squeezebox Server, Logitech Media Server/7.9.2/1556111457
[UPnP] transport op: Play
[UPnP] transport op OK, took 0:00.021379
[UPnP] Returned time: 00:00:00
[UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 0:00:01.860
[UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 0:00:02.923
[UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 0:00:03.987
[UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 0:00:05.042
[UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 0:00:06.104
[UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 0:00:07.155
[UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 0:00:08.223
[UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 0:00:09.290
[UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 0:00:10.350
[UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 0:00:11.416
[UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 0:00:12.475
[UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 0:00:13.540
[UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 0:00:14.604
[UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 0:00:15.658
[UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 0:00:15.800
[UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 0:00:15.807
[UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 0:00:15.816
[UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 0:00:15.803
[UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 0:00:15.811
[UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 0:00:15.798
[UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 0:00:15.886
[UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 0:00:15.813
[UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 0:00:15.801
[UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 0:00:15.808
[UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 0:00:15.815
[UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 0:00:15.802
[UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 0:00:15.810
[UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 0:00:15.797
[UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 0:00:15.805
[UPnP] Transport state: TRANSITIONING
[UPnP] HTTP request #14 finished
[UPnP] HTTP concurrency: 0

if I understand the messages of the console well it seems that after the 15 seconds foobar no longer understands where it is and in fact the time slider on foobar does not move at all, but if I move it manually the playback continues regularly for 15 seconds then stops.

if i try with this configuration file:
# defaults that apply to every device
stream-title=foobar2000 audio stream
# default preferred format, can be overridden per-device; available are: FLAC, WAV, LPCM
preferred-format=lpcm
# Various devices fail to pause on what they assume to be a live stream, require a stop command
# Can be overridden to true for specific devices
supports-pause=false
# Default to FLAC not supported even if the device claims otherwise
# Many report that they support FLAC yet fail to play an infinite length FLAC stream
supports-FLAC=false


Code: [Select]
Opening track for playback: "D:\ardiz\desktop\Ligabue - Start (2019) FLAC\Ligabue - Ancora noi.flac"
[UPnP] Device protocol info:
[UPnP] http-get:*:audio/mpeg:*,http-get:*:audio/L16;rate=8000;channels=1:*,http-get:*:audio/L16;rate=8000;channels=2:*,http-get:*:audio/L16;rate=11025;channels=1:*,http-get:*:audio/L16;rate=11025;channels=2:*,http-get:*:audio/L16;rate=12000;channels=1:*,http-get:*:audio/L16;rate=12000;channels=2:*,http-get:*:audio/L16;rate=16000;channels=1:*,http-get:*:audio/L16;rate=16000;channels=2:*,http-get:*:audio/L16;rate=22050;channels=1:*,http-get:*:audio/L16;rate=22050;channels=2:*,http-get:*:audio/L16;rate=24000;channels=1:*,http-get:*:audio/L16;rate=24000;channels=2:*,http-get:*:audio/L16;rate=32000;channels=1:*,http-get:*:audio/L16;rate=32000;channels=2:*,http-get:*:audio/L16;rate=44100;channels=1:*,http-get:*:audio/L16;rate=44100;channels=2:*,http-get:*:audio/L16;rate=48000;channels=1:*,http-get:*:audio/L16;rate=48000;channels=2:*,http-get:*:audio/vnd.dlna.adts:*,http-get:*:audio/vnd.dlna.adts:*,http-get:*:audio/mp4:*,http-get:*:audio/mp4:*,http-get:*:audio/mp4:*,http-get:*:audio/x-ms-wma:*,http-get:*:audio/x-ms-wma:*,http-get:*:audio/x-ms-wma:*,http-get:*:application/ogg:*,http-get:*:audio/x-flac:*
[UPnP] Listening on: 10.249.203.12
[UPnP] Stream address: http://10.249.203.12:55131/44/stream.l16
[UPnP] transport op: Play
[UPnP] transport op OK, took 0:00.018916
[UPnP] Returned time: 00:00:00
[UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 00:00:00
[UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 00:00:00
[UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 00:00:00
[UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 00:00:00
[UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 00:00:00
[UPnP] Transport state: TRANSITIONING

and nothing start.

thanks a lot for your help
Title: Re: UPnP MediaRenderer output | discussion
Post by: Peter on 2019-04-26 13:43:11
The state remains "TRANSITIONING", so the device is stuck doing something and doesn't even report beginning to play. Perhaps it expects to be able to download the entire file before beginning to play - in that case it can't be helped.
Title: Re: UPnP MediaRenderer output | discussion
Post by: Peter on 2019-04-26 13:52:30
You could try maxing out foobar2000's output buffer setting to see if it helps, will at least cause more audio data to be sent to the device despite of no apparent playback progress.
Title: Re: UPnP MediaRenderer output | discussion
Post by: Peter on 2019-04-26 14:25:13
1.3 beta 5-
https://www.foobar2000.org/temp/foo_out_upnp-1.3b5.fb2k-component

Changes
Title: Re: UPnP MediaRenderer output | discussion
Post by: abiard on 2019-04-26 14:52:35
hi peter,
I tried the latest version of your plug-in with this configuration:
buffer maximized
24 bit depth output format
preferred-format=FLAC
supports-pause=true
supports-FLAC=true

everithing works for 45 seconds then
Code: [Select]
[UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 0:00:43.649
[UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 0:00:44.696
[UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 0:00:44.793
[UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 0:00:44.797
[UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 0:00:44.806
[UPnP] Transport state: TRANSITIONING
[UPnP] HTTP request #4 finished
[UPnP] HTTP concurrency: 0


and time slider of foobar does not move.
I really hope you can find a solution to the problem
Title: Re: UPnP MediaRenderer output | discussion
Post by: abiard on 2019-04-26 15:59:18
1.3 beta 5-
https://www.foobar2000.org/temp/foo_out_upnp-1.3b5.fb2k-component

Changes
  • New default settings for Sonos.
  • Improved error handling, some internal errors were not reported to the user, for an example when no compatible format could be determined.
  • New settings: force-format, bitdepth, bitdepth-max, dither.

since I had guessed that on the foobar2000 side there was not much else to try, I went to check all the settings of the DAC that is based on the Logitech Media Server, and in fact I found that the DLNA server settings were not active : it was enough to activate the DLNA functions to make the streaming work correctly. It works the play, pauses advancement of the song etc etc ... increase and decrease of the volume ...

The 192/24 files are also correctly recognized by the DAC.
The only settings I've activated are

preferred-format = FLAC
supports-pause = true
supports-FLAC = true

thank you very much Peter for your support.
if I can help you, tell me
Title: Re: UPnP MediaRenderer output | discussion
Post by: Peter on 2019-04-26 19:39:32
Thanks for getting back to me and confirming that Squeezebox works correctly. I'll merge your settings with the defaults for the next update.
Title: Re: UPnP MediaRenderer output | discussion
Post by: reimu009 on 2019-04-29 13:09:34
Hi,
The DLNA device I use is Marantz NR1608.
I'm sorry to ask something very basic, but if I can't find my device, what should I do ?
On the other hand, I can use the "cast ot device" function of Windows Media Player
 and confirmed using this component to other device.
Title: Re: UPnP MediaRenderer output | discussion
Post by: audioclassic on 2019-05-01 11:34:34
Did you already try in foobar 2000:  click on: view > UNpN controler > select device ? Is it not there? If its there you can after that see it in preferences > output and select it there also.
Title: Re: UPnP MediaRenderer output | discussion
Post by: Masza on 2019-05-03 08:34:37
The plugin still can't find my HEOS device (Marantz ND8006). Other software recognize it. There isn't anything related to that device in the foobar2000 console. Could it be possible Peter to add support for HEOS devices?

Can I use track metadata in stream-title config?
Title: Re: UPnP MediaRenderer output | discussion
Post by: smithore on 2019-05-07 22:24:12
I've tried today the component with a SMSL DP3 and when starting the playback i have this error "Unrecoverable playback error: UPnP device error: XML error"
I've tried everything all day without finding any solution, does that mean that my streamer is incompatible with the component ?
My goal is just to use Foobar on a PC and render the music with the streamer.
Regards
Title: Re: UPnP MediaRenderer output | discussion
Post by: Peter on 2019-05-09 14:14:53
Version 1.3 stable has been posted on the website.

Anyone having trouble with detection of their device, please update and try again.

When reporting issues or asking for help with a specific device, please include which version of this component you're using (as 1.3 greatly improves compatibility). If your device is detected but playback fails, please enable verbose console logging and post a console log of what happens during attempted playback.
Title: Re: UPnP MediaRenderer output | discussion
Post by: Masza on 2019-05-09 18:53:18
Version 1.3 and verbose logging.
Still no love for Marantz ND8006. It isn't even listed in the devices. There's no log output considering that device.
Title: Re: UPnP MediaRenderer output | discussion
Post by: 40th.com on 2019-05-10 01:30:55
(stuff...)
The attached xml as .txt should get you going with Denon/Marantz.  For some reason you are ignoring D&M announcements.  Maybe you are expecting to find MediaRenderer:1 top-most.  Same not-found with my Samsung but who cares about that.  You can get others to plug in the uris in this xml.txt if you need specific service/device xmls.
Title: Re: UPnP MediaRenderer output | discussion
Post by: ruebennase56 on 2019-05-10 14:42:02
I own a Stream Magic V2 from Cambridge Audio and it does not play anything from Foobar200 via UPnP (WASAPI and the rest works).
Wavs, Flacs, MP3s, with DSD:UPnP or UPnP set as the device, the only effect is the "foobar200 audio stream" in the display.
By the way Mediamonkey plays to the device via UPnP. Attached are two logs and the device details.

Title: Re: UPnP MediaRenderer output | discussion
Post by: Peter on 2019-05-10 17:01:48
Thanks for all the feedback.
A new update addressing all documented problems will be released early next week.
Title: Re: UPnP MediaRenderer output | discussion
Post by: smithore on 2019-05-10 19:50:06
I've tried with the v1.3 now and i stil have the xml error and now a systematic foobar crash, i've tried with a portable foobar without any component verbose console loaded, it's similar.
I've also a xml error when trying with foobar Mac version.
Streamer : SMSL DP3
Title: Re: UPnP MediaRenderer output | discussion
Post by: smithore on 2019-05-10 22:01:04
Peter, i don't know if the Foobar crash log is enough for you, i just don't know how to obtain the UPnP specific log.
Title: Re: UPnP MediaRenderer output | discussion
Post by: Masza on 2019-05-11 09:25:38
Here is the device XML for Marantz ND8006.
Title: Re: UPnP MediaRenderer output | discussion
Post by: sutotok on 2019-05-11 17:08:13
Hi,

I have Denon DNP-800NE network audio player
I use ver. 1.3 foo_out_upnp plugin but it is not recognize my denon :-(
I'm attaching xml of my denon

please help he. thanks

Title: Re: UPnP MediaRenderer output | discussion
Post by: smithore on 2019-05-12 12:42:55
Please, someone can tell me how and in which directory I can retrieve the xml file ?
Title: Re: UPnP MediaRenderer output | discussion
Post by: smithore on 2019-05-13 00:44:38
Ok, finally got the Verbose console log
Title: Re: UPnP MediaRenderer output | discussion
Post by: actor on 2019-05-13 08:57:56
Good day! Connected to foobar 2000 dynaudio connect via the UPnP MediaRenderer Output plug-in. Everything worked fine. Now for some reason, foobar 2000 does not see my device, re-reinstalling the component does nothing. Tell me, please, what to do?
I apologize for bad english, I write from a translator.
Title: Re: UPnP MediaRenderer output | discussion
Post by: Peter on 2019-05-13 12:47:54
New version posted.

Devices that were not seen by the previous version - including above mentioned Denon and Marantz devices - should be now functional; thanks for the detailed reports.

Known crash bugs have been addressed.

Re SMSL DP3:
Please make a new console log from foo_out_upnp 1.3.1 and post it, it will log more details about what failed.
Title: Re: UPnP MediaRenderer output | discussion
Post by: smithore on 2019-05-13 13:39:24
Thanks Peter, here is the new log with no Foobar crash.
Title: Re: UPnP MediaRenderer output | discussion
Post by: Peter on 2019-05-13 14:06:37
Thanks a lot, this is exactly the info I wanted. I'll get back to you with a new beta version soon.
Title: Re: UPnP MediaRenderer output | discussion
Post by: Masza on 2019-05-13 15:09:52
The 1.3.1 seems to be working flawlessly with my Marantz ND8006, thank you Peter!

A feature request: metadata (%artist%, %track% etc.) as stream title
Title: Re: UPnP MediaRenderer output | discussion
Post by: Peter on 2019-05-13 15:13:54
Version 1.3.2 beta 1
https://www.foobar2000.org/temp/foo_out_upnp-1.3.2b1.fb2k-component

Changes:
Title: Re: UPnP MediaRenderer output | discussion
Post by: Peter on 2019-05-13 15:14:24
Re stream titles-
It's been requested before, I really wish I could do it but there doesn't seem to be a way - without breaking gapless playback at least.

Title: Re: UPnP MediaRenderer output | discussion
Post by: smithore on 2019-05-13 15:52:04
Thanks Peter, no more XML error, the playback still don't start.
the console is displaying this loop :
 [UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 00:00:00
Title: Re: UPnP MediaRenderer output | discussion
Post by: sutotok on 2019-05-13 18:33:46
Thanks Peter,

Denon DNP800NE works very well with 1.3.1
FYI: denon plays flac stream and it,s look like support pause too
Re stream titles : I'm vary sad...

thanks again
Title: Re: UPnP MediaRenderer output | discussion
Post by: BenHub on 2019-05-13 18:52:56
Thank you so much !!!
This new version works perfectly, my Denon Heos Link is in the list and is correctly addressed.
Great, great work !
Title: Re: UPnP MediaRenderer output | discussion
Post by: Masza on 2019-05-13 23:11:39
Re stream titles-
It's been requested before, I really wish I could do it but there doesn't seem to be a way - without breaking gapless playback at least.

What about HTTP streaming and metadata? For example: https://www.unified-streaming.com/blog/how-make-your-media-streams-smarter-using-timed-metadata

In the console there are messages like
[UPnP] HTTP request #3: HTTP/1.1 GET /3/stream.flac
[UPnP] HTTP concurrency: 1

Is the stream implemented as HTTP stream?
Title: Re: UPnP MediaRenderer output | discussion
Post by: Peter on 2019-05-14 08:05:09
Thanks Peter, no more XML error, the playback still don't start.
the console is displaying this loop :
 [UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 00:00:00
Thanks for testing.

Looks like the device is trying to fetch the whole stream content, instead of playing it as a live stream.

Please try if one of these configs make any difference:
Code: [Select]
model=gmediarender
forced-format=LPCM

Code: [Select]
model=gmediarender
forced-format=FLAC
Title: Re: UPnP MediaRenderer output | discussion
Post by: Peter on 2019-05-14 08:10:03
What about HTTP streaming and metadata? For example: https://www.unified-streaming.com/blog/how-make-your-media-streams-smarter-using-timed-metadata

In the console there are messages like
[UPnP] HTTP request #3: HTTP/1.1 GET /3/stream.flac
[UPnP] HTTP concurrency: 1

Is the stream implemented as HTTP stream?
Yes, it's a HTTP stream. A minimal HTTP server is started, presenting played audio as a live HTTP stream; the target device gets asked to play the stream.
I thought of shoutcast style live HTTP metadata before, but it's a long shot - UPnP AV specification requires metadata to be passed with the URL to be played; the devices will probably ignore HTTP metadata and just keep showing UPnP AV metadata. I'll keep this in mind for a future update.
Title: Re: UPnP MediaRenderer output | discussion
Post by: smithore on 2019-05-14 10:40:19
Thanks Peter, no more XML error, the playback still don't start.
the console is displaying this loop :
 [UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 00:00:00
Thanks for testing.

Looks like the device is trying to fetch the whole stream content, instead of playing it as a live stream.

Please try if one of these configs make any difference:
Code: [Select]
model=gmediarender
forced-format=LPCM

Code: [Select]
model=gmediarender
forced-format=FLAC
"Unrecoverable playback error: This device does not support forced-format of LPCM"
Same error for forced FLAC
Title: Re: UPnP MediaRenderer output | discussion
Post by: Masza on 2019-05-14 19:19:00
Yes, it's a HTTP stream. A minimal HTTP server is started, presenting played audio as a live HTTP stream; the target device gets asked to play the stream.
I thought of shoutcast style live HTTP metadata before, but it's a long shot - UPnP AV specification requires metadata to be passed with the URL to be played; the devices will probably ignore HTTP metadata and just keep showing UPnP AV metadata. I'll keep this in mind for a future update.

Depending on how challenging it would be to implement I think it could be worth a shot :)
Title: Re: UPnP MediaRenderer output | discussion
Post by: Peter on 2019-05-21 09:38:54
"Unrecoverable playback error: This device does not support forced-format of LPCM"
Same error for forced FLAC
I'm sorry but I'm afraid that I can't be of any more help right now, without access to relevant device. I set up install of gmediarender in my lab but saw none of these issues with it; perhaps the device comes with an old or modified version of gmediarender tool.
Title: Re: UPnP MediaRenderer output | discussion
Post by: fominator on 2019-05-26 15:45:46
Why do i see 2 identical devices Volumio with the same ip? I have squeezelite plugin installed on volumio, maybe because of that?
Title: Re: UPnP MediaRenderer output | discussion
Post by: zoumbro on 2019-05-27 09:57:41
The same here, two volumio devices. I was searching in my house for the second one but nothing yet.
I think it happened after a recent update, not sure.
Title: Re: UPnP MediaRenderer output | discussion
Post by: fominator on 2019-05-27 10:25:00
The same here, two volumio devices. I was searching in my house for the second one but nothing yet.
I think it happened after a recent update, not sure.


yes, after last update
Title: Re: UPnP MediaRenderer output | discussion
Post by: fominator on 2019-05-28 14:28:53
By the way your plugin is not working as it expected, in settings I see # default to FLAC where supported
preferred-format=FLAC
but in volumio I see wav incoming format
Title: Re: UPnP MediaRenderer output | discussion
Post by: 3dgs on 2019-05-29 19:35:17
Hi,
where i find the previews version of UPnP because with last version my Yamaha WXAD-10 stop play unexpected....

[UPnP] transferMode.dlna.org: Streaming
[UPnP] User-Agent: Network_Module/1.0 (WXAD-10)
[UPnP] Returned time: 0:00:13
[UPnP] Nonsensical timestamp - 0:13.000000 while maximum possible is 0:09.429333
[UPnP] HTTP request #2 finished
[UPnP] HTTP concurrency: 0
[UPnP] Transport state: PLAYING
[UPnP] Returned time: 0:00:04
[UPnP] Transport state: PLAYING
[UPnP] Returned time: 0:00:00
[UPnP] Transport state: STOPPED
[UPnP] Returned time: 0:00:00
[UPnP] Transport state: STOPPED
[UPnP] Returned time: 0:00:00
[UPnP] Transport state: STOPPED
Title: Re: UPnP MediaRenderer output | discussion
Post by: smithore on 2019-06-03 09:23:35
"Unrecoverable playback error: This device does not support forced-format of LPCM"
Same error for forced FLAC
I'm sorry but I'm afraid that I can't be of any more help right now, without access to relevant device. I set up install of gmediarender in my lab but saw none of these issues with it; perhaps the device comes with an old or modified version of gmediarender tool.
Ah ok.  For information, the other upnp plugin for foobar can make it play but it is a little bit old, not easy to use and have some glitches . Also many other audio players, including smartphone players are ok with the DP3 unit. Thanks anyway for your try.
Title: Re: UPnP MediaRenderer output | discussion
Post by: smithore on 2019-06-03 15:15:37
Anyway, don't spend more time with the dp3 for me, I've sent it back to the shop and bought a Digione Signature who is sounding not so awesome but is 100% working with Foobar.
Title: Re: UPnP MediaRenderer output | discussion
Post by: abax2000 on 2019-06-03 20:42:50
Using the previous official version, streaming was always LPCM.
With the latest version, it is FLAC ; although in confguration I have "preferred-format=LPCM".
It seems also that LPCM cannot be forced. Correction: the following gets accepted with no error message 
model=gmediarender
forced-format=LPCM
but it still plays FLAC according to the log:

[UPnP] Stream address: http://192.168.1.198:50644/5/stream.flac

[UPnP] HTTP request #9: HTTP/1.1 HEAD /5/stream.flac
[UPnP] HTTP concurrency: 1
[UPnP] Source: 192.168.1.115:57898
[UPnP] getcontentFeatures.dlna.org: 1
[UPnP] Host: 192.168.1.198:50644
[UPnP] HTTP request #9 finished
[UPnP] HTTP concurrency: 0
[UPnP] transport op: Play
[UPnP] transport op OK, took 0:00.063529
[UPnP] HTTP request #10: HTTP/1.1 GET /5/stream.flac
[UPnP] HTTP concurrency: 1
[UPnP] Source: 192.168.1.115:57899
[UPnP] Accept: */*
[UPnP] Accept-Encoding: deflate, gzip
[UPnP] Host: 192.168.1.198:50644
[UPnP] Range: bytes=0-
[UPnP] User-Agent: samsung-agent/1.1
[UPnP] Returned time: 0:00:00
[UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 0:00:00
[UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 0:00:00.522
[UPnP] Transport state: PLAYING
[UPnP] Returned time: 0:00:05.564
[UPnP] Transport state: PLAYING
[UPnP] Returned time: 0:00:10.605



See longer part of log:

[UPnP] Transport state: PLAYING
[UPnP] HTTP request #4 finished
[UPnP] HTTP concurrency: 0
Opening track for playback: "http://stream-eu1.radioparadise.com/aac-320"
[UPnP] Opening device:
[UPnP] manufacturer=Samsung Electronics
[UPnP] model=HW-MS750
[UPnP] name=[AV] Samsung Soundbar MS750
[UPnP] Device protocol info:
[UPnP] http-get:*:audio/L16:DLNA.ORG_PN=LPCM;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mpeg:DLNA.ORG_PN=MP3;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:audio/vnd.dolby.dd-raw:DLNA.ORG_PN=AC3;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=AMR_3GPP;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/3gpp:DLNA.ORG_PN=AMR_WBplus;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/x-sony-oma:DLNA.ORG_PN=ATRAC3plus;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mpeg:DLNA.ORG_PN=MP3X;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=AAC_ADTS;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=AAC_ADTS_320;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=AAC_ISO;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=AAC_ISO_320;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=AAC_LTP_ISO;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=AAC_LTP_MULT5_ISO;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=AAC_LTP_MULT7_ISO;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=AAC_MULT5_ADTS;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=AAC_MULT5_ISO;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=HEAAC_L2_ADTS;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=HEAAC_L2_ISO;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=HEAAC_L3_ADTS;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=HEAAC_L3_ISO;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=HEAAC_MULT5_ISO;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=HEAAC_L2_ADTS_320;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=HEAAC_L2_ISO_320;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=BSAC_ISO;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=BSAC_MULT5_ISO;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMABASE;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMAFULL;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mpeg:*,http-get:*:audio/x-ms-wma:*,http-get:*:audio/mp4:*,http-get:*:audio/x-m4a:*,http-get:*:audio/3ga:*,http-get:*:audio/ogg:*,http-get:*:audio/x-wav:*,http-get:*:audio/midi:*,http-get:*:audio/aiff:*,http-get:*:audio/x-aiff:*,http-get:*:audio/x-ape:*,http-get:*:audio/x-monkeys-audio:*,http-get:*:audio/aac:*,http-get:*:audio/flac:*,http-get:*:audio/x-flac:*
Unrecoverable playback error: This device does not support forced-format of LPCM
Opening track for playback: "http://stream-eu1.radioparadise.com/aac-320"
[UPnP] Opening device:
[UPnP] manufacturer=Samsung Electronics
[UPnP] model=HW-MS750
[UPnP] name=[AV] Samsung Soundbar MS750
[UPnP] Device protocol info:
[UPnP] http-get:*:audio/L16:DLNA.ORG_PN=LPCM;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mpeg:DLNA.ORG_PN=MP3;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:audio/vnd.dolby.dd-raw:DLNA.ORG_PN=AC3;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=AMR_3GPP;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/3gpp:DLNA.ORG_PN=AMR_WBplus;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/x-sony-oma:DLNA.ORG_PN=ATRAC3plus;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mpeg:DLNA.ORG_PN=MP3X;DLNA.ORG_FLAGS=ED100000000000000000000000000000,http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=AAC_ADTS;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=AAC_ADTS_320;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=AAC_ISO;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=AAC_ISO_320;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=AAC_LTP_ISO;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=AAC_LTP_MULT5_ISO;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=AAC_LTP_MULT7_ISO;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=AAC_MULT5_ADTS;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=AAC_MULT5_ISO;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=HEAAC_L2_ADTS;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=HEAAC_L2_ISO;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=HEAAC_L3_ADTS;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=HEAAC_L3_ISO;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=HEAAC_MULT5_ISO;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=HEAAC_L2_ADTS_320;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=HEAAC_L2_ISO_320;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=BSAC_ISO;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=BSAC_MULT5_ISO;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMABASE;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMAFULL;DLNA.ORG_FLAGS=8D100000000000000000000000000000,http-get:*:audio/mpeg:*,http-get:*:audio/x-ms-wma:*,http-get:*:audio/mp4:*,http-get:*:audio/x-m4a:*,http-get:*:audio/3ga:*,http-get:*:audio/ogg:*,http-get:*:audio/x-wav:*,http-get:*:audio/midi:*,http-get:*:audio/aiff:*,http-get:*:audio/x-aiff:*,http-get:*:audio/x-ape:*,http-get:*:audio/x-monkeys-audio:*,http-get:*:audio/aac:*,http-get:*:audio/flac:*,http-get:*:audio/x-flac:*
[UPnP] Listening on: 192.168.1.198
[UPnP] Stream address: http://192.168.1.198:50644/3/stream.flac
[UPnP] HTTP request #5: HTTP/1.1 HEAD /3/stream.flac
[UPnP] HTTP concurrency: 1
[UPnP] Source: 192.168.1.115:57892
[UPnP] getcontentFeatures.dlna.org: 1
[UPnP] Host: 192.168.1.198:50644
[UPnP] HTTP request #5 finished
[UPnP] HTTP concurrency: 0
[UPnP] transport op: Play
[UPnP] transport op OK, took 0:00.057277
[UPnP] HTTP request #6: HTTP/1.1 GET /3/stream.flac
[UPnP] HTTP concurrency: 1
[UPnP] Source: 192.168.1.115:57893
[UPnP] Accept: */*
[UPnP] Accept-Encoding: deflate, gzip
[UPnP] Host: 192.168.1.198:50644
[UPnP] Range: bytes=0-
[UPnP] User-Agent: samsung-agent/1.1
[UPnP] Returned time: 0:00:00
[UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 0:00:00
[UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 0:00:00
[UPnP] Transport state: TRANSITIONING
[UPnP] Returned time: 0:00:00.888
[UPnP] Transport state: PLAYING
[UPnP] Returned time: 0:00:05.903
Title: Re: UPnP MediaRenderer output | discussion
Post by: Peter on 2019-06-05 14:27:29
Not sure why you're using "model=gmediarender" in your config when your device is clearly something else:
manufacturer=Samsung Electronics
model=HW-MS750

Is FLAC playback problematic with this device?
Title: Re: UPnP MediaRenderer output | discussion
Post by: abax2000 on 2019-06-05 15:59:38
No problems with FLAC, but would prefer to have the choice.
The "preferred-format=LPCM" is not respected.
When trying to use "model=HW-MS750, forced-format=LPCM" (or only the second line), an error pops-up (the device does not support forced LPCM).
Although LPCM is declared as supported, and in fact working for 1-2 years with previous software version.
Title: Re: UPnP MediaRenderer output | discussion
Post by: Peter on 2019-06-06 12:12:08
Try setting output bit depth to 16 ?
Title: Re: UPnP MediaRenderer output | discussion
Post by: abax2000 on 2019-06-06 12:58:11
Try setting output bit depth to 16 ?
 
 
Bit depth 16 (dither or no) does not work (no output). Almost sure that this was the case before also (older software). Do not know why.
Only acceptable bit depth from Foobar is 24.

Just to cover the basics... O:) Configuration trying to get LPCM is as follows (hope is right)
# defaults that apply to every device
stream-title=foobar2000 audio stream
# default preferred format, can be overridden per-device; available are: FLAC, WAV, LPCM
# default to FLAC where supported
preferred-format=LPCM
# Various devices fail to pause on what they assume to be a live stream, require a stop command
# Can be overridden to true for specific devices
supports-pause=false
# Default to FLAC not supported even if the device claims otherwise
# Many report that they support FLAC yet fail to play an infinite length FLAC stream
supports-FLAC=true

#manufacturer=Samsung Electronics
#model=HW-MS750
#forced-format=LPCM

# Linn fixes
...

Title: Re: UPnP MediaRenderer output | discussion
Post by: Tropoje on 2019-06-06 18:42:03
foobar2000 v1.4.4
UPnP MediaRenderer Output 1.3.1

Unfortunately, foo does not detect my player Pioneer N-70AE as a output device. On one of the earlier versions foobar I used to used this component and then my Pioneer was detected correctly.  :'(  :'(  :'(
Title: Re: UPnP MediaRenderer output | discussion
Post by: Peter on 2019-06-07 09:54:22
foobar2000 v1.4.4
UPnP MediaRenderer Output 1.3.1

Unfortunately, foo does not detect my player Pioneer N-70AE as a output device. On one of the earlier versions foobar I used to used this component and then my Pioneer was detected correctly.  :'(  :'(  :'(
By not detecting your player, you mean that the player does not show on your output device list, correct?
Please make sure that foobar2000 is not being blocked by Windows Firewall.

I've uploaded various old versions here:
https://www.foobar2000.org/temp/foo_out_upnp/
If you could please tell me which of these work and which don't - specifically, what's the newest one that detects your device / what's the oldest one that no longer does.

Title: Re: UPnP MediaRenderer output | discussion
Post by: Tropoje on 2019-06-07 10:45:12
If you could please tell me which of these work and which don't - specifically, what's the newest one that detects your device / what's the oldest one that no longer does.
Thanks for your quick response. I tested older versions of the plugin:

[06] foo_out_upnp-1.2.1.fb2k-component      WORKS
[07] foo_out_upnp-1.3b1.fb2k-component     WORKS
[08] foo_out_upnp-1.3b2.fb2k-component     WORKS
[09] foo_out_upnp-1.3b3.fb2k-component     WORKS
[10] foo_out_upnp-1.3b4.fb2k-component     NOT WORK
[11] foo_out_upnp-1.3b5.fb2k-component     NOT WORK
[12] foo_out_upnp-1.3.fb2k-component         NOT WORK
[14] foo_out_upnp-1.3.2b1.fb2k-component  NOT WORK

(https://s10.ifotos.pl/img/20190607-_qsxensh.jpg)

Title: Re: UPnP MediaRenderer output | discussion
Post by: Tropoje on 2019-06-07 12:08:56
By not detecting your player, you mean that the player does not show on your output device list, correct?
Yes exactly, it does not appear on the list of output devices.

BTW
I apologize for two entries in a row but I have overlooked this question.  :-[
Title: Re: UPnP MediaRenderer output | discussion
Post by: abax2000 on 2019-06-07 16:27:59
Tried 
Both trials result in WAV output.

Together with (1) above I added:
#supports-WAV=false
These two together resulted in error, and no playback.

If it helps, there is also a Whitebear log, but cannot see how it can be uploaded here.
Title: Re: UPnP MediaRenderer output | discussion
Post by: Peter on 2019-06-07 20:59:32
Thanks for your quick response. I tested older versions of the plugin:

(...)
Thanks, this is most useful.

Please install:
https://www.foobar2000.org/temp/foo_out_upnp-debug.fb2k-component
It's a mod of the last good build; provides a new command - "Debug device XML"

Please save an XML of the Pioneer device and upload it for me to look into.
Title: Re: UPnP MediaRenderer output | discussion
Post by: ET on 2019-06-08 02:03:00
Hi,
I'm trying to make it work with Sonos. I have a set of two Sonos:1 speakers linked as a stereo pair. The left speaker plays fine when selected, but the right speaker doesn't produce any sound; selecting the right speaker gives "Unrecoverable playback error: UPnPError" message. If separated, each speaker can be selected and would play, but obviously in mono.
Is there a way to make them play in stereo mode?
Thanks!
Title: Re: UPnP MediaRenderer output | discussion
Post by: Tropoje on 2019-06-08 05:21:25
Please save an XML of the Pioneer device and upload it for me to look into.

I put the file you asked for.
Title: Re: UPnP MediaRenderer output | discussion
Post by: Peter on 2019-06-08 11:45:30

I put the file you asked for.

Thanks, this is the info I wanted, I'm investigating the problem.
Title: Re: UPnP MediaRenderer output | discussion
Post by: abax2000 on 2019-06-08 12:09:25
Tried
  • supports-FLAC=false,  and
  • preferred-format=WAV
Both trials result in WAV output.

Together with (1) above I added:
#supports-WAV=false
These two together resulted in error, and no playback.

If it helps, there is also a Whitebear log, but cannot see how it can be uploaded here.
 
 



Ran a series of tests, with findings as follows (Media Renderer setting, Bit depth):
LPCM, 16
No sound output. Console logging attached.
Looks like Foobar is streaming L16 that is not accepted. The only thing that I can suspect is that foobar sends this:
ContentFeatures.dlna.org: DLNA.ORG_PN=LPCM;DLNA.ORG_FLAGS=01000000000000000000000000000000
while supported formats list refers to this:
http-get:*:audio/L16:DLNA.ORG_PN=LPCM;DLNA.ORG_FLAGS=8D100000000000000000000000000000
Maybe flags used make a difference.
LPCM, 24
Playback reverts immediately to FLAC, and plays fine.
Not sure why this happens; maybe because L24 is not reported and FLAC is the global default by Peter.
Supposedly, this model accepts up to 24bit, 96000Hz. Do not know if specs can differ between wired and wireless.
WAV, 16
Playbacks in WAV as expected, and plays fine. Dithering is also accepted, and plays fine.
WAV, 24
Playbacks in WAV as expected, and plays fine.

FLAC works fine with all 16, 16 dithered and 24.
Watching the network traffic volume, seems that bit depth settings (16.vs.24) have the expected impact. Don't know of course, what really the soundbar is doing when receiving 24 bits (accepts all or discards 8 ).
Other observations:

So, perhaps some tinkering with LPCM flags can have a result. Found some (very scarce) traces on that in google, but all these discussions is well above my pay grade ::) .

Title: Re: UPnP MediaRenderer output | discussion
Post by: Kees17760 on 2019-06-09 12:14:56
Hi,

UPnP renderer version 1.3.1 does not recognize my Devialet 250 Pro anymore, where versions up to 1.2.1 did. I'm also unable to find its (1.3.1) settings under Avanced>Playback. Using Foobar v1.4.4.
Am i overlooking something?
Title: Re: UPnP MediaRenderer output | discussion
Post by: abax2000 on 2019-06-09 15:34:18
See also here (since it is one of the very few really complete ones ;D)
http://wiki.hydrogenaud.io/index.php?title=Foobar2000:Components_0.9/foo_out_upnp
Title: Re: UPnP MediaRenderer output | discussion
Post by: Kees17760 on 2019-06-09 17:46:16
Found the TAB, but no devices in there. Also no option to manually add one.
Title: Re: UPnP MediaRenderer output | discussion
Post by: abax2000 on 2019-06-09 18:02:24
Look for your device as in the photo.
It must be already there; you cannot add manually.
If not found, check that is connected to your network (use your router app). 

Title: Re: UPnP MediaRenderer output | discussion
Post by: Kees17760 on 2019-06-09 18:14:38
My player's simply not there anymore after upgrading renderer from version 1.2.1 to 1.3.1 and the player is connected to the network. When i switch back to version 1.2.1 it's visible again.
I can reproduce this thing by switching back and forth (copy the right dll back to user-components folder) between 1.2.1 and 1.3.1
Title: Re: UPnP MediaRenderer output | discussion
Post by: abax2000 on 2019-06-09 19:07:19
In such case you will have to wait for higher authorities (Peter that is).
Title: Re: UPnP MediaRenderer output | discussion
Post by: Peter on 2019-06-10 10:49:46
New beta version: 1.3.2 beta 2
https://www.foobar2000.org/temp/foo_out_upnp-1.3.2b2.fb2k-component

Fixed 1.3 regression causing some devices to be no longer seen ( thanks @ Tropoje )
Other issues are being looked into.
Title: Re: UPnP MediaRenderer output | discussion
Post by: Peter on 2019-06-10 11:47:28
(...)
FLAC works fine with all 16, 16 dithered and 24.
Watching the network traffic volume, seems that bit depth settings (16.vs.24) have the expected impact. Don't know of course, what really the soundbar is doing when receiving 24 bits (accepts all or discards 8 ).
Other observations:
  • Content Type is not reported in Console when FLAC, but reported for LPCM and WAV.
  • Detailed content type (rate, channels) is reported only for LPCM; would be nice to have it also for other formats (if possible).

So, perhaps some tinkering with LPCM flags can have a result. Found some (very scarce) traces on that in google, but all these discussions is well above my pay grade ::) .



Detailed console reporting of sample rate & channel count was added in the current beta.

The sample rate & channel count info is reported in content-type of LPCM because that's how the other end knows the specifications of the stream being sent. FLAC and WAV streams carry FLAC or WAV file headers that already hold this info; there's no need (and probably no standard defined way) to give this info in content-type.

24bit LPCM (audio/L24) is not supported by anything that I've encountered - even though it was apparently standardized long ago (https://www.iana.org/assignments/media-types/audio/L24).

I still have no idea why L16 doesn't work for you, everything seems OK from the console log. If an old version of foo_out_upnp allowed it, you're welcome to try the old version archive: https://www.foobar2000.org/temp/foo_out_upnp/
If you find which exact update broke it (newest version in which L16 is possible to get working / oldest where it no longer is), I'll pinpoint which changes in my code broke it and correct them.
Title: Re: UPnP MediaRenderer output | discussion
Post by: abax2000 on 2019-06-10 16:16:11
Thank you for the update and the valuable insight/explanations!!!

Really beats my logic why L24 is not used; looks perfect from "engineering" point of view  (have a powerful pc doing all the footwork of decoding+upsampling (if needed), and give pure ready-made LCPM24 to a DAC to do what it knows best).

I can certainly go through older versions to see when things changed.
The previous version used for me was 1.1.
Just allow some few time.

PS: is there any component/tool that can display what format is exiting foobar (dlna or not)?
Title: Re: UPnP MediaRenderer output | discussion
Post by: Peter on 2019-06-10 16:20:09
Console logs should reveal what format is being actually sent. Amount of debug information varies between versions; some versions predating 1.3 had a verbose debug log toggle in advanced preferences.
Title: Re: UPnP MediaRenderer output | discussion
Post by: abax2000 on 2019-06-10 17:12:43
Tried version 1.1 (stable),  which I was using and believed as "OK".
But in reality is same behaviour as current version. I was only thinking that it was sending LPCM (because I never checked, just trusted the settings).
Also tested all available back-then options "LPCM streaming tweaks" (no difference).

So the findings are exactly the same as currently (see last test report).

I suppose that I can perfectly live with WAV and FLAC. :)) :D

PS:

Title: Re: UPnP MediaRenderer output | discussion
Post by: Tropoje on 2019-06-10 18:29:01
New beta version: 1.3.2 beta 2
https://www.foobar2000.org/temp/foo_out_upnp-1.3.2b2.fb2k-component

Fixed 1.3 regression causing some devices to be no longer seen ( thanks @ Tropoje )
Other issues are being looked into.
Thanks Peter  :)
I will be at home only on next Monday, then I will check if everything works as it should.
Title: Re: UPnP MediaRenderer output | discussion
Post by: Peter on 2019-06-10 21:04:54
Tried version 1.1 (stable),  which I was using and believed as "OK".
But in reality is same behaviour as current version. I was only thinking that it was sending LPCM (because I never checked, just trusted the settings).
Also tested all available back-then options "LPCM streaming tweaks" (no difference).

So the findings are exactly the same as currently (see last test report).

I suppose that I can perfectly live with WAV and FLAC. :)) :D

PS:

  • Is there any way to capture the .xml's of my renderer, in case you can make something out of them?
  • Did not try versions in between 1.1 and 1.3.1, as there is no point.

OK, noted.

Device XML is probably not relevant here, it's only relevant in case of total failure to list some device.

You should be happy with FLAC mode if it works, even if it seems like pointless compression / extra complexity. The point here is that device makers just use libFLAC instead of inventing their own demuxer/decoder - like they typically do with WAV or LPCM.
Title: Re: UPnP MediaRenderer output | discussion
Post by: Kees17760 on 2019-06-11 06:07:53
New beta version: 1.3.2 beta 2
https://www.foobar2000.org/temp/foo_out_upnp-1.3.2b2.fb2k-component

Fixed 1.3 regression causing some devices to be no longer seen ( thanks @ Tropoje )
Other issues are being looked into.

It is there again. Thank you
Regarding to things mentioned above: is there a way to test my player's abilities and test
 what's really playing?
Title: Re: UPnP MediaRenderer output | discussion
Post by: abax2000 on 2019-06-11 07:10:52

 OK, noted.

Device XML is probably not relevant here, it's only relevant in case of total failure to list some device.

You should be happy with FLAC mode if it works, even if it seems like pointless compression / extra complexity. The point here is that device makers just use libFLAC instead of inventing their own demuxer/decoder - like they typically do with WAV or LPCM.
 
 I think that I will stick with WAV for the moment, since it is working ok.

PCM shortcomings is a very dark mystery to me. The renderer is a Samsung soundbar, whose main target is Samsung TVs. Samsung TVs (as every other tv I believe) have a setting for their Digital Output Audio Format; PCM and DD are always included in available options (with maybe some more per case). The PCM setting on tv is indeed working fine. Not being workable from other sources is strange.
Maybe there are things here to be taken over with Samsung support (seemingly "mission impossible" with the customer support experience from this kind of companies).
   
Title: Re: UPnP MediaRenderer output | discussion
Post by: Peter on 2019-06-11 11:16:53
Various popular devices come with somehow broken reading of PCM-over-HTTP streams. It doesn't mean that they cannot process PCM (as they have to decode every other format to PCM pretty much), but just fail to correctly interpret audio/L16 HTTP streams one way or another.

Regarding testing of player capabilities, I'll consider adding a test tool for a future update, to probe what formats produce audible output - similar to test jingles in Windows audio control panel.
For now, the verbose console log contains info about what format is being streamed. Perhaps I'll add a line just what format gets sent in non-verbose mode to make the info easier to filter out from all the other diagnostic lines.
Title: Re: UPnP MediaRenderer output | discussion
Post by: abax2000 on 2019-06-11 12:50:53
...
For now, the verbose console log contains info about what format is being streamed. Perhaps I'll add a line just what format gets sent in non-verbose mode to make the info easier to filter out from all the other diagnostic lines.

 It would be very nice to have this in separate text box at the top or at the bottom of the console window. :-[
Title: Re: UPnP MediaRenderer output | discussion
Post by: tedych on 2019-06-14 13:32:00
Hi.
I'm not sure if this has been discussed so far.
I tried this before (1-2 years ago) and I faced the same problem.
I want to use a Kodi machine (server with Server 2016) in my network which has an amplifier attached to it, from foobar2000 installed on my desktop.
I install the component, it finds it and it plays well. BUT if I leave the foobar player idle (not playing) for about 5 minutes, and then try to play a file, it fails and opens the config dialog to choose a valid output. Kodi is still there and if I choose it again, it plays well again, until the next occurence of the same bug.
Kodi 16.1 (using it because of a conservative IPTV which plays well only with 16).
It seems Kodi changes some ID or something and foobar2000 (and the UPNP component) fails to register the change or something.
Now with all the latest versions of both (foobar and component) as of today (UPNP 1.3.2 and foobar 1.4.4), and it's the same as before when I tried. This is a great annoyance so I stopped trying to use such setup for network play then.
It seems to behave well when I direct foobar's output to my phone's renderer (Bubbleupnp) - I waited for 6 minutes and it doesn't fail the next play.

Is this a known issue and could it be avoided?
Thanks.
Title: Re: UPnP MediaRenderer output | discussion
Post by: Tropoje on 2019-06-16 19:11:26
Tested new MediaRenderer Output 1.3.2 with Pioneer N-70AE, everything works as it should. Thanks Peter.
Title: Re: UPnP MediaRenderer output | discussion
Post by: fominator on 2019-06-17 16:13:38
Peter, can you answer why there are two identical devices Volumio in the list?
Title: Re: UPnP MediaRenderer output | discussion
Post by: abax2000 on 2019-06-22 13:07:51
Since latest beta, and with current stable version 1.3.2, streaming pauses every appr. 2hrs.
Console reports:
[UPnP] HTTP request #12 finished
[UPnP] HTTP concurrency: 0

I think that this can be related to the transmitted :
[UPnP] Range: bytes=0-
when a new connection starts; which (again) I think that appeared since 1.3.2 (beta).
Title: Re: UPnP MediaRenderer output | discussion
Post by: zoumbro on 2019-06-26 16:49:11
I still see the two volumio devices.
Title: Re: UPnP MediaRenderer output | discussion
Post by: revilorekced on 2019-06-27 21:44:47
Hello,

I own several streaming clients of the company Goodmans - so-called Godmans-Puck.
These are detected by the UPnP MediaRenderer output, but I still can not hear anything on my active speakers behind it.
What settings do I have to make here?
The UPnP plugin outputs the following information about the puks:

Friendly name: gdmn-kitchen
IP address: 192.168.178.65
Manufacturer: Goodmans
Manufacturer URL: http://www.goodmans.co.uk
Model: Goodmans puck
Model number: CUS227 1.0
Model description: AllPlay HiFi Adapter
Model URL: http://www.goodmans.co.uk/module.html

Supported formats:
http-get: *: audio / L16; rate = 44100; channels = 1: DLNA.ORG_PN = LPCM
http-get: *: audio / L16; rate = 44100; channels = 2: DLNA.ORG_PN = LPCM
http-get: *: audio / L16; rate = 48000; channels = 1: DLNA.ORG_PN = LPCM
http-get: *: audio / L16; rate = 48000; channels = 2: DLNA.ORG_PN = LPCM
http-get: *: audio / L16; rate = 8000; channels = 1: DLNA.ORG_PN = LPCM_low
http-get: *: audio / L16; rate = 8000; channels = 2: DLNA.ORG_PN = LPCM_low
http-get: *: audio / L16; rate = 11025; channels = 1: DLNA.ORG_PN = LPCM_low
http-get: *: audio / L16; rate = 11025; channels = 2: DLNA.ORG_PN = LPCM_low
http-get: *: audio / L16; rate = 12000; channels = 1: DLNA.ORG_PN = LPCM_low
http-get: *: audio / L16; rate = 12000; channels = 2: DLNA.ORG_PN = LPCM_low
http-get: *: audio / L16; rate = 16000; channels = 1: DLNA.ORG_PN = LPCM_low
http-get: *: audio / L16; rate = 16000; channels = 2: DLNA.ORG_PN = LPCM_low
http-get: *: audio / L16; rate = 22050; channels = 1: DLNA.ORG_PN = LPCM_low
http-get: *: audio / L16; rate = 22050; channels = 2: DLNA.ORG_PN = LPCM_low
http-get: *: audio / L16; rate = 24000; channels = 1: DLNA.ORG_PN = LPCM_low
http-get: *: audio / L16; rate = 24000; channels = 2: DLNA.ORG_PN = LPCM_low
http-get: *: audio / L16; rate = 32000; channels = 1: DLNA.ORG_PN = LPCM_low
http-get: *: audio / L16; rate = 32000; channels = 2: DLNA.ORG_PN = LPCM_low
http-get: *: audio / mpeg: DLNA.ORG_PN = MP3
http-get: *: audio / mp4: DLNA.ORG_PN = HEAAC_L2_ISO
http-get: *: audio / mp4: DLNA.ORG_PN = HEAAC_MULT5_ISO
http-get: *: audio / mpeg3: *
http-get: *: audio / mp3: *
http-get: *: audio / wav *
http-get: *: audio / x-wav: *
http-get: *: audio / AAC: *
http-get: *: audio / alac: *
http-get: *: audio / flac: *
http-get: *: audio / x-flac: *
http-get: *: audio / x-m4a: *


Can someone help me get it up and running?
That would be great!
Many thanks in advance!
Greetings, Oliver
Title: Re: UPnP MediaRenderer output | discussion
Post by: abax2000 on 2019-06-28 09:40:30
Since latest beta, and with current stable version 1.3.2, streaming pauses every appr. 2hrs.
Console reports:
[UPnP] HTTP request #12 finished
[UPnP] HTTP concurrency: 0

I think that this can be related to the transmitted :
[UPnP] Range: bytes=0-
when a new connection starts; which (again) I think that appeared since 1.3.2 (beta).
ERROR
 
 I reverted back to version 1.2.1, and the problem seems not to be there. Streaming playback goes more than 2 hrs.
CAUTION: did not verify if this is related to the total volume of streamed data or not (i.e. the volume of 2hrs mp3 is different from 2hrs flac).
I also crossed out erroneous info in the original post.
Title: Re: UPnP MediaRenderer output | discussion
Post by: abax2000 on 2019-06-30 07:13:26
Since latest beta, and with current stable version 1.3.2, streaming pauses every appr. 2hrs.
Console reports:
[UPnP] HTTP request #12 finished
[UPnP] HTTP concurrency: 0

I think that this can be related to the transmitted :
[UPnP] Range: bytes=0-
when a new connection starts; which (again) I think that appeared since 1.3.2 (beta).
ERROR
  
 I reverted back to version 1.2.1, and the problem seems not to be there. Streaming playback goes more than 2 hrs.
CAUTION: did not verify if this is related to the total volume of streamed data or not (i.e. the volume of 2hrs mp3 is different from 2hrs flac).
I also crossed out erroneous info in the original post.
 
 EDIT : just happened with 1.2.1 too (again at 2hrs threshold)
Title: Re: UPnP MediaRenderer output | discussion
Post by: Case on 2019-06-30 09:02:14
If you must use WAV you could try a workaround component (https://foobar.hyv.fi/?view=foo_upnp_workaround) for playback stopping.
Title: Re: UPnP MediaRenderer output | discussion
Post by: abax2000 on 2019-06-30 19:23:31
If you must use WAV you could try a workaround component (https://foobar.hyv.fi/?view=foo_upnp_workaround) for playback stopping.
 
 Thanks a lot for that.

Just for educational purposes; what is this "wav playback stops once maximum size is reached"?
Is it related to .wav files limited to 4GB (found through googling) ?
Title: Re: UPnP MediaRenderer output | discussion
Post by: Cebolla on 2019-07-01 15:40:08
I still see the two volumio devices.
Volumio uses the upmpdcli UPnP renderer front end client for its internal mpd audio file player, which provides an OpenHome (aka UPnP with Linn extensions) renderer and a standard UPnP renderer by default. Looks like Volumio have used the same network name for both types of renderer, so you can't tell which is which.

More importantly, by implication, it looks like UPnP MediaRenderer output can now access OpenHome renderers, as well as standard UPnP renderers!

I've just tested with the BubbleUPnP Server's created OpenHome renderer and openhome.org's sample OpenHome Player and it appears to be so. Not sure when this came about, as I cannot see any mention of this in any of the version change histories. It was requested at the beginning of the year:
Any chance you can have this also work with OpenHome renderers?

Can @Peter please confirm?
Title: Re: UPnP MediaRenderer output | discussion
Post by: abax2000 on 2019-07-04 05:23:34
If you must use WAV you could try a workaround component (https://foobar.hyv.fi/?view=foo_upnp_workaround) for playback stopping.
  
 Thanks a lot for that.

Just for educational purposes; what is this "wav playback stops once maximum size is reached"?
Is it related to .wav files limited to 4GB (found through googling) ?

 
 Workaround installed, but no luck.
Title: Re: UPnP MediaRenderer output | discussion
Post by: Case on 2019-07-04 13:41:03
Just for educational purposes; what is this "wav playback stops once maximum size is reached"?
Is it related to .wav files limited to 4GB (found through googling) ?
Yes it is. Player is given a WAV with maximum data size and once it has finished processing that amount it won't play any further data coming in.
 
Workaround installed, but no luck.
Note that it's a DSP. Installing it is not enough. You need to go to Preferences -> Playback -> DSP Manager and activate the UPnP Workaround.
Title: Re: UPnP MediaRenderer output | discussion
Post by: abax2000 on 2019-07-05 06:15:45
Embarassed  :-[ : my bad.
Clearly stated "Workaround DSP..."
Loaded and retrying.

Thanks again Case.
Title: Re: UPnP MediaRenderer output | discussion
Post by: abax2000 on 2019-07-07 07:17:49
Embarassed  :-[ : my bad.
Clearly stated "Workaround DSP..."
Loaded and retrying.

Thanks again Case.
 
 Not working, even when activated in "Active DSP's".
Title: Re: UPnP MediaRenderer output | discussion
Post by: Case on 2019-07-07 08:21:37
Do you perhaps play streaming media? I just took a look at the code and the workaround doesn't listen dynamic track changes, so it currently only works with local tracks.
Title: Re: UPnP MediaRenderer output | discussion
Post by: abax2000 on 2019-07-07 16:01:01
All tests with internet radio. Mystery solved.

Title: Re: UPnP MediaRenderer output | discussion
Post by: Case on 2019-07-07 16:30:00
I just uploaded a new version that performs the check also on dynamic track changes. It should work with streaming sources too as long as track titles are reported.
Title: Re: UPnP MediaRenderer output | discussion
Post by: abax2000 on 2019-07-07 16:35:21
Great !
Will report back.
Title: Re: UPnP MediaRenderer output | discussion
Post by: anders2 on 2019-07-09 16:19:08
Hi all
Just found my way back to foobar and playing through DLNA, used it couple of years ago  with the older DLNA component. I have a couple of LG TV:s that are able to play through DLNA so if you want to add a working config for LG TVs using LG NetCast 4.0 it looks like this:

manufacturer=LG Electronics.
model=LG TV
preferred-format=LPCM
supports-FLAC=false
supports-pause=false

I set the pause to false although it is able to pause, but the TV drops it after a few seconds. I have seen successful pausing with other software but do not know how it is done under the hood. Also noticed that the Bose config has a typo on the preferred format, but since it has FLAC as default it probably work anyway.

Oh, and thanks for a great software component!
Title: Re: UPnP MediaRenderer output | discussion
Post by: anders2 on 2019-07-09 16:35:31
I also have older LG TVs which I cannot get running with foobar and the DLNA component. It has the following non-working settings:

manufacturer=LG Electronics
model=MediRenderer
preferred-format=LPCM
supports-FLAC=false
supports-pause=false

When I press play the TV fires up the DLNA play screen with the song duration but the current time stays at 00:00 and no sound is heard. The TV seems to stay like that infinitely and foobar seems to buffer up and then wait (timer is a couple of seconds ahead).
I tried change to WAV, increase the buffer a bit, tried adding reports-time=false....So it seems to be close but no cigar.... :-)
I remember that I got it working with the old DLNA component if that can be of any help...The volume increase/decrease seems to work so I think it is really close....Any ideas are welcome!

Console log:
[UPnP] UPnP begin enum devices
[UPnP] UPnP device: 32LS560T-ZC :: http://172.16.0.11:37904/MediaRenderer1.xml
[UPnP] UPnP device: 42LS560T-ZC :: http://172.16.0.12:37904/MediaRenderer1.xml
[UPnP] UPnP device: [TV][LG]TV_AM :: http://172.16.0.17:1685/
[UPnP] UPnP end enum devices
Opening track for playback: "W:\QNap_Streaming\7 Days In Alaska - Lost At Sea.mp3"
[UPnP] Opening device:
[UPnP] manufacturer=LG Electronics
[UPnP] model=MediaRenderer
[UPnP] name=42LS560T-ZC
[UPnP] Stream format: 16-bit 44100Hz 2ch
[UPnP] Device protocol info:
[UPnP] http-get:*:audio/l16;rate=44100;channels=1:DLNA.ORG_PN=LPCM,http-get:*:audio/l16;rate=44100;channels=2:DLNA.ORG_PN=LPCM,http-get:*:audio/mpeg:DLNA.ORG_PN=MP3,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:*: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_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/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:*:audio/mpegurl:*,http-get:*:audio/mp3:*,http-get:*:audio/mpeg:*,http-get:*:audio/mpeg3:*,http-get:*:video/x-ms-wmv:*,http-get:*:video/x-ms-asf:*,http-get:*:video/x-ms-avi:*,http-get:*:video/mpeg:*,http-get:*:video/avi:*,http-get:*:video/mp4:*,http-get:*:video/x-matroska:*,http-get:*:video/3gpp:*,http-get:*:video/x-msvideo:*
[UPnP] Listening on: 172.16.0.14
[UPnP] Stream address: http://172.16.0.14:50370/5/stream.l16
[UPnP] HTTP request #13: HTTP/1.1 HEAD /5/stream.l16
[UPnP] HTTP concurrency: 1
[UPnP] Source: 172.16.0.12:34207
[UPnP] Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, text/html, text/xml, text/plain, application/json, application/atom+xml, application/xml, */*
[UPnP] Accept-Language: ko-kr, ko;q=0.8, en-us;q=0.5, en;q=0.3
[UPnP] Cache-Control: no-cache
[UPnP] Connection: Close
[UPnP] Host: 172.16.0.14:50370
[UPnP] Pragma: no-cache
[UPnP] User-Agent: Mozilla/5.0 (compatible; LG-HttpClient-v1.0.3 DLNADOC/1.50 UPnP/1.1; MSIE 8.0; Windows NT 5.1; LG_UA; AD_LOGON=LGE.NET; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; LG_UA; AD_LOGON=LGE.NET; LG NetCast.TV-2012)
[UPnP] Serving LPCM
[UPnP] Accept-Ranges: none
[UPnP] Connection: close
[UPnP] Content-Type: audio/L16;rate=44100;channels=2
[UPnP] Server: UPnP/1.0 DLNADOC/1.50, foobar2000/1.x
[UPnP] TransferMode.dlna.org: Streaming
[UPnP] HTTP request #13 finished
[UPnP] HTTP concurrency: 0
[UPnP] transport op: Play
[UPnP] HTTP request #14: HTTP/1.1 GET /5/stream.l16
[UPnP] HTTP concurrency: 1
[UPnP] Source: 172.16.0.12:34208
[UPnP] Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, text/html, text/xml, text/plain, application/json, application/atom+xml, application/xml, */*
[UPnP] Accept-Language: ko-kr, ko;q=0.8, en-us;q=0.5, en;q=0.3
[UPnP] Cache-Control: no-cache
[UPnP] Connection: Close
[UPnP] Host: 172.16.0.14:50370
[UPnP] Pragma: no-cache
[UPnP] User-Agent: Mozilla/5.0 (compatible; LG-HttpClient-v1.0.3 DLNADOC/1.50 UPnP/1.1; MSIE 8.0; Windows NT 5.1; LG_UA; AD_LOGON=LGE.NET; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; LG_UA; AD_LOGON=LGE.NET; LG NetCast.TV-2012)
[UPnP] Serving LPCM
[UPnP] Accept-Ranges: none
[UPnP] Connection: close
[UPnP] Content-Type: audio/L16;rate=44100;channels=2
[UPnP] Server: UPnP/1.0 DLNADOC/1.50, foobar2000/1.x
[UPnP] TransferMode.dlna.org: Streaming
[UPnP] HTTP request #14 finished
[UPnP] HTTP concurrency: 0
[UPnP] HTTP request #15: HTTP/1.1 GET /5/stream.l16
[UPnP] HTTP concurrency: 1
[UPnP] Source: 172.16.0.12:34209
[UPnP] Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, text/html, text/xml, text/plain, application/json, application/atom+xml, application/xml, */*
[UPnP] Accept-Language: ko-kr, ko;q=0.8, en-us;q=0.5, en;q=0.3
[UPnP] Cache-Control: no-cache
[UPnP] Connection: Keep-Alive
[UPnP] getcontentFeatures.dlna.org: 1
[UPnP] Host: 172.16.0.14:50370
[UPnP] Pragma: no-cache
[UPnP] transferMode.dlna.org: Streaming
[UPnP] User-Agent: Mozilla/5.0 (compatible; LG-HttpClient-v1.0.3 DLNADOC/1.50 UPnP/1.1; MSIE 8.0; Windows NT 5.1; LG_UA; AD_LOGON=LGE.NET; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; LG_UA; AD_LOGON=LGE.NET; LG NetCast.TV-2012)
[UPnP] Serving LPCM
[UPnP] Accept-Ranges: none
[UPnP] Connection: close
[UPnP] Content-Type: audio/L16;rate=44100;channels=2
[UPnP] ContentFeatures.dlna.org: DLNA.ORG_PN=LPCM;DLNA.ORG_FLAGS=01000000000000000000000000000000
[UPnP] Server: UPnP/1.0 DLNADOC/1.50, foobar2000/1.x
[UPnP] TransferMode.dlna.org: Streaming
[UPnP] transport op OK, took 0:00.557806
[UPnP] Transport state: PLAYING
[UPnP] Returned time: 00:00:00
[UPnP] Transport state: PLAYING
[UPnP] Returned time: 00:00:00
[UPnP] Transport state: PLAYING
[UPnP] Returned time: 00:00:00
[UPnP] Transport state: PLAYING
[UPnP] Returned time: 00:00:00
[UPnP] Transport state: PLAYING
[UPnP] Returned time: 00:00:00
[UPnP] Transport state: PLAYING
[UPnP] Returned time: 00:00:00
[UPnP] Transport state: PLAYING
[UPnP] Returned time: 00:00:00
[UPnP] Transport state: PLAYING
[UPnP] Returned time: 00:00:00
[UPnP] Transport state: PLAYING
[UPnP] Returned time: 00:00:00
[UPnP] Transport state: PLAYING
[UPnP] Returned time: 00:00:00
[UPnP] Transport state: PLAYING
[UPnP] Returned time: 00:00:00
[UPnP] Transport state: PLAYING
[UPnP] Returned time: 00:00:00
[UPnP] Transport state: PLAYING
[UPnP] HTTP request #15 finished
[UPnP] HTTP concurrency: 0
Title: Re: UPnP MediaRenderer output | discussion
Post by: anders2 on 2019-07-09 17:19:21
Just for clarity on the non-working LG config....somehow the "a" in MediaRenderer was lost in my post, so that is not the solution. And yes, the vendor ids do differ, they do have a dot in the end of one of the vendor id:s.
Title: Re: UPnP MediaRenderer output | discussion
Post by: abax2000 on 2019-07-09 18:46:18
I just uploaded a new version that performs the check also on dynamic track changes. It should work with streaming sources too as long as track titles are reported.

 Works as intended (reported track titles = working; non-reported track titles = not working).
Only "complaint' is this small discontinuation at track change (but again, this must be station's bad synchronization between track title and actual broadcast; and not software's glitch).

Thnx again.
Title: Re: UPnP MediaRenderer output | discussion
Post by: DPUB9000 on 2019-07-17 14:41:23
Hi Peter,

First of all, thank you for this wonderful component and for all your hard work on serving it.

I've tried to use it to connect to the Panasonic DP-UB9000 blu-ray player with no success.
It detects the player but when trying to play a file, it shows the error of "file not found".

I'm using the 1.3.2 version of MediaRenderer.

Could you please provide help?
Title: Libratone Zipp2: Unrecoverable playback error: bug check
Post by: fuffi on 2019-07-28 23:10:10
Hi Peter,

I'm getting a Unrecoverable playback error: bug check Error after some minutes of playing music with your component.

Its a linked set of 4 speakers.

If I can be of any more help, please let me know.

Code: [Select]
Friendly name : S
IP address : 192.168.168.205
Manufacturer : Libratone
Manufacturer URL : http://www.libratone.com/
Model : LTH
Model number : 310
Model description : LibratoneZippII
Model URL : http://www.libratone.com/
Serial number : nope

Supported formats:
http-get:*:audio/L16;rate=44100;channels=1:DLNA.ORG_PN=LPCM
http-get:*:audio/L16;rate=44100;channels=2:DLNA.ORG_PN=LPCM
http-get:*:audio/L16;rate=48000;channels=1:DLNA.ORG_PN=LPCM
http-get:*:audio/L16;rate=48000;channels=2:DLNA.ORG_PN=LPCM
http-get:*:audio/mpeg:DLNA.ORG_PN=MP3
http-wavetunes:*:audio/x-ms-wma:*
http-get:*:audio/mp4:DLNA.ORG_PN=AAC_ISO
http-get:*:audio/3gpp:DLNA.ORG_PN=AAC_ISO
http-get:*:audio/mp4:DLNA.ORG_PN=AAC_ISO_320
http-get:*:audio/3gpp:DLNA.ORG_PN=AAC_ISO_320
http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=AAC_ADTS
http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=AAC_ADTS_320
http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMAFULL
http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMABASE
http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMAPRO
http-get:*:audio/flac:*
http-get:*:audio/x-flac:*
http-get:*:audio/wav:*
http-get:*:audio/x-wav:*
http-get:*:audio/aiff:*
http-get:*:audio/x-aiff:*
http-get:*:application/ogg:*
Title: Re: UPnP MediaRenderer output | discussion
Post by: Black_Over_Bills_Mothers on 2019-08-13 15:57:02
I'm using the latest Foobar and UPnP component. I have several Sonos speakers connected to my home wifi network. Foobar UPnP  sees each of the speakers and I can play to any ONE of these speakers. Can I play to more than one speaker at the same time?. I guess I'm asking for multiple concurrent output devices.
Title: Re: UPnP MediaRenderer output | discussion
Post by: fuffi on 2019-08-14 12:00:11
Can I play to more than one speaker at the same time?
Maybe this is helpful? How to group rooms in the Sonos app (https://support.sonos.com/s/article/3391?language=en)
Title: Re: UPnP MediaRenderer output | discussion
Post by: Black_Over_Bills_Mothers on 2019-08-14 13:24:31
@fuffi Many thanks. That solved my problem. Now when I play to either of my speakers from foobar it is routed to all the ones I group together. Nice
Title: f2k swallows correct speakers name
Post by: fuffi on 2019-08-19 17:48:21
Hi Peter,

I'm having an issue with the names of linked/grouped speakers and the component not showing the names of the speakers correctly.

(Win7 f2k 1.5b10 as well as 1.4.6 and component 1.3.2)
(as well as f2k version 2.1.50 (1) on my mac)

My setting:
4 Libratone speakers, named LT-1, LT-2, LT-3 and LT-4.

I see those 4 speakers in f2k an can choose them. Nice.

When I group 4 speakers to a single one, all 4 speakers are "removed" and a single new speaker named LINK LT-1 or LINK LT-2 or LINK LT-3 or LINK LT-4, is created. (Name depending on which speaker I choose as the first, when creating a group. So its not the same name everytime.)

I then only see this single speaker in f2k an can choose it. Nice.

f2k is reflecting the changes (grouping or ungrouping the speakers) very quickly, but sometimes it has problems showing the correct names.

It seems, f2k rememberes the name of a group as the name of a single speaker.

Showing
LINK LT-1
LT-2
LT-3
LT-4

Instead of
LT-1
LT-2
LT-3
LT-4
(Which is correclty shown on my AirPlay devices, iPhone, etc.)

Furthermore, the log shows:
Quote
Unrecoverable playback error: resource is not found
when I try to play music to the single speaker named LINK LT-1 (which is actually named LT-1)

Restarting f2k, rebooting Windows does not help, only solution I found, is to delete \f2k\configuration\foo_out_upnp.dll.cfg
Then, all speakers are shown with their current names.
This works for some hours or days (I guess it depends on how often I group/ungroup), then the issue comes back.

If you need more technical details, let me know.

Title: Re: UPnP MediaRenderer output | discussion
Post by: magicgoose on 2019-08-25 13:49:48
Sorry if that was already asked. I'm wondering how simple or hard would it be to use this output plugin over localhost to simply send audio to an other application (mpv) so that mpv would actually produce the sound. 
The use case is that I have to use fb2k over wine and there's simply no way to output sound "directly" from a wine app without frequent glitches and drop outs. But I could "pipe" the "end result" over loopback network interface to an other app like mpv, running natively, which would be able to send it to soundcard without issues.
Title: Re: UPnP MediaRenderer output | discussion
Post by: mos6510 on 2019-09-02 19:55:07
... Also noticed that the Bose config has a typo on the preferred format, but since it has FLAC as default it probably work anyway.

D'oh! My bad :/

Thanks, anders2, as you said, it worked this way... Anyway, here is the corrected section :)

manufacturer=Bose
model=Bose Soundbar 700
supports-FLAC=true
supports-WAV=false
supports-LPCM=false
supports-pause=true
preferred-format=FLAC


Peter and all involved, thank you for your work!
Title: Re: UPnP MediaRenderer output | discussion
Post by: gfxnow on 2019-09-28 17:51:07
I am looking into buying a network enabled DAC, like the ELAC discovery, but compatibility with fb2k UPnP MediaRenderer output is important to me. Can anyone recommend one that they have tried or are using currently without any issues? Thanks!
Title: Re: UPnP MediaRenderer output | discussion
Post by: MomirPeh on 2019-10-20 21:02:42
1.3 beta 5-
https://www.foobar2000.org/temp/foo_out_upnp-1.3b5.fb2k-component

Changes
  • New default settings for Sonos.
  • Improved error handling, some internal errors were not reported to the user, for an example when no compatible format could be determined.
  • New settings: force-format, bitdepth, bitdepth-max, dither.

since I had guessed that on the foobar2000 side there was not much else to try, I went to check all the settings of the DAC that is based on the Logitech Media Server, and in fact I found that the DLNA server settings were not active : it was enough to activate the DLNA functions to make the streaming work correctly. It works the play, pauses advancement of the song etc etc ... increase and decrease of the volume ...

The 192/24 files are also correctly recognized by the DAC.
The only settings I've activated are

preferred-format = FLAC
supports-pause = true
supports-FLAC = true

thank you very much Peter for your support.
if I can help you, tell me

Hi abiard,

I'm facing the same issue like you. The playback from foobar2000 via UPnP/DLNA stops after 15 seconds no matter what I do and I've tried everything I've seen here and a few more tricks, but nothing worked.
I'm interested to know what exactly you did to make it work.

One funny thing I've noticed on my setup (daphile/LMS with the UPnP/DLNA Media Interface v1.0 enabled) is that when I boot up the daphile/LMS machine the streaming from foobar2000 doesn't work properly, but if I use the Windows 10 feature "Cast to" from file explorer, then the streaming from foobar2000 will work perfectly fine until I reboot it or until I restart the LMS service. And it seems that the "Cast to" feature somehow sets up the streaming server on the daphile/LMS so that it starts showing the correct playback status in the console ("Transport state: PLAYING" instead of "Transport state: TRANSITIONING"). I might try to capture the network traffic to try to find what's the difference between the two scenarios...

@Peter Thank you for the awesome and useful plugin! I was wondering if you could, maybe, shed some light onto this issue?
Title: Re: UPnP MediaRenderer output | discussion
Post by: MomirPeh on 2019-10-20 23:09:12
@Peter Additional info:
I've tried to capture the network traffic, but I could not see why the above described issue occurs, but I've seen something wrong that is probably unrelated to the issue itself. There are some HTTP subscribe requests from my PC to the daphile/LMS:

Code: [Select]
Transmission Control Protocol, Src Port: 50780, Dst Port: 9000, Seq: 1, Ack: 1, Len: 302
Hypertext Transfer Protocol
    SUBSCRIBE /plugins/UPnP/http://10.0.0.200:44603/plugins/UPnP/MediaRenderer/RenderingControl/eventsub?player=5a%3Ad4%3A11%3A14%3A90%3A14 HTTP/1.1\r\n

And the response is:

Code: [Select]
Transmission Control Protocol, Src Port: 9000, Dst Port: 50780, Seq: 34, Ack: 304, Len: 239
[2 Reassembled TCP Segments (272 bytes): #62(33), #63(239)]
Hypertext Transfer Protocol
    HTTP/1.1 405 Method Not Allowed\r\n

The response makes sense since the request contains bad URL which has "/plugins/UPnP/" preceeding the "http://......"

Cheers
Title: Re: UPnP MediaRenderer output | discussion
Post by: innou on 2019-10-27 22:04:27
I suppose casting to built-in media renderer on Sony TV is supported and should work? I can't get mine working though. foobar2000 sees the renderer but I get the error:

Code: [Select]
[UPnP] Listening on: 192.168.1.55
[UPnP] Stream address: http://192.168.1.55:14794/35/stream.flac
[UPnP] SetAVTransportURI failure: denied
[UPnP] Detached transport op failure: denied

Casting to Kodi running on the same TV works fine. The model is Sony KD-65XE9005. I can provide detailed logs if needed.
Title: Re: UPnP MediaRenderer output | discussion
Post by: abiard on 2019-11-01 21:23:04
1.3 beta 5-
https://www.foobar2000.org/temp/foo_out_upnp-1.3b5.fb2k-component

Changes
  • New default settings for Sonos.
  • Improved error handling, some internal errors were not reported to the user, for an example when no compatible format could be determined.
  • New settings: force-format, bitdepth, bitdepth-max, dither.

since I had guessed that on the foobar2000 side there was not much else to try, I went to check all the settings of the DAC that is based on the Logitech Media Server, and in fact I found that the DLNA server settings were not active : it was enough to activate the DLNA functions to make the streaming work correctly. It works the play, pauses advancement of the song etc etc ... increase and decrease of the volume ...

The 192/24 files are also correctly recognized by the DAC.
The only settings I've activated are

preferred-format = FLAC
supports-pause = true
supports-FLAC = true

thank you very much Peter for your support.
if I can help you, tell me

Hi abiard,

I'm facing the same issue like you. The playback from foobar2000 via UPnP/DLNA stops after 15 seconds no matter what I do and I've tried everything I've seen here and a few more tricks, but nothing worked.
I'm interested to know what exactly you did to make it work.

One funny thing I've noticed on my setup (daphile/LMS with the UPnP/DLNA Media Interface v1.0 enabled) is that when I boot up the daphile/LMS machine the streaming from foobar2000 doesn't work properly, but if I use the Windows 10 feature "Cast to" from file explorer, then the streaming from foobar2000 will work perfectly fine until I reboot it or until I restart the LMS service. And it seems that the "Cast to" feature somehow sets up the streaming server on the daphile/LMS so that it starts showing the correct playback status in the console ("Transport state: PLAYING" instead of "Transport state: TRANSITIONING"). I might try to capture the network traffic to try to find what's the difference between the two scenarios...

@Peter Thank you for the awesome and useful plugin! I was wondering if you could, maybe, shed some light onto this issue?


Hi MomirPeh,

actually at first I thought it was a problem related to the DLNA plugin, but later on I realized that using the cast function of Windows 10 before playing music from foobar, everything works without problems. I have no idea what the problem is, but if it works for me, that's fine. Perhaps Peter will be able to find a solution by checking the code.
Another strange thing that I noticed: changing the version of picore player in "Audio enthusiast version" the problem reappears.
bye
Title: Re: UPnP MediaRenderer output | discussion
Post by: zehuti on 2019-11-17 13:13:51
Is it possible to add option not to transcode to any format, but direct play? That way external player (avr receiver \ amp) would just read file as is.
Title: Re: UPnP MediaRenderer output | discussion
Post by: kode54 on 2019-11-19 08:19:12
And most external players don't support the wealth of arbitrary formats that foobar2000 does. And they don't usually support ReplayGain or DSP filtering, either.

May as well just use a UPnP server app to serve your raw files, instead of using a complete player.
Title: Re: UPnP MediaRenderer output | discussion
Post by: zehuti on 2019-11-19 12:15:43
I know i can run UPnP server and control with some app from the phone. But i wanted to control from pc in foobar2000.

And what about sending song name (artist - track) to external player? Also cover and proper song time (start end time).  Is it possible to add that in plugin?
Title: Re: UPnP MediaRenderer output | discussion
Post by: kode54 on 2019-11-21 04:28:28
All of that involves sending original supported files to the remote device, which is usually limited to MP3 and MP4 files, and nothing else. And you will lose gapless playback, as most devices won't support that, since it requires somehow starting a new file while the remainder of the current file is still playing.
Title: Re: UPnP MediaRenderer output | discussion
Post by: zehuti on 2019-11-21 12:10:51
I am not sure how it works, sends file to or just tells avr receiver read file. But with MediaMonkey and JRiver player my receiver is able to play file as is - flac, m4a, mp3, alac, dsf.  Basically all formats that are supported is played as is. Only ones that are not - transcoded.

I guess not so much ppl care about upnp\dlna. Other way it would have been fully implemented already.  ¯\_(ツ)_/¯
Title: Re: UPnP MediaRenderer output | discussion
Post by: 12363243 on 2019-11-23 20:36:18
Hello, I have a problem with my receiver Pioneer VSX-LX 503 and Onkyo NCP-302 Wireless Network Speaker. I do not see them in output devices. This summer I saw the same problem with Pioneer N-70AE receiver here, I installed foo_out_upnp-debug.fb2k-component but my devices are still not shown. Can it be fixed?
Title: Re: UPnP MediaRenderer output | discussion
Post by: 12363243 on 2019-11-24 05:41:45
Hello, I have a problem with my receiver Pioneer VSX-LX 503 and Onkyo NCP-302 Wireless Network Speaker. I do not see them in output devices. This summer I saw the same problem with Pioneer N-70AE receiver here, I installed foo_out_upnp-debug.fb2k-component but my devices are still not shown. Can it be fixed?
after investigating this problem I found that receiver Pioneer VSX-LX 503 works with this plugin after restart, but Onkyo NCP-302 Wireless Network Speaker still do not work. also I do not see in available devices Google Cast Devices that are available in BubbleUPnp
Title: Re: UPnP MediaRenderer output | discussion
Post by: zehuti on 2019-11-24 13:57:41
Quote
after investigating this problem I found that receiver Pioneer VSX-LX 503 works with this plugin after restart, but Onkyo NCP-302 Wireless Network Speaker still do not work. also I do not see in available devices Google Cast Devices that are available in BubbleUPnp

I found that only two programs (from what i tested) work well with upnp \ dlna players. Its MediaMonkey and JRiver Media Center. MusicBee is ok too, but it streams always in PCM format.
Title: Re: UPnP MediaRenderer output | discussion
Post by: MojoBass on 2019-11-26 20:01:00
As Black Friday is getting closer: which speaker works better with foo_out_upnp: Sonos One or Libratone Zipp? Any hands-on experience?
Title: Re: UPnP MediaRenderer output | discussion
Post by: The Link on 2019-11-26 20:19:53
I have a Sonos One which works fine with flac streaming via foo_out_upnp.
Title: Re: UPnP MediaRenderer output | discussion
Post by: MojoBass on 2019-11-29 04:08:37
I have a Sonos One which works fine with flac streaming via foo_out_upnp.
Thanks very much for sharing this! I will look for a Sonos One!
Title: Re: UPnP MediaRenderer output | discussion
Post by: 12363243 on 2019-12-01 12:38:34
after investigating this problem I found that receiver Pioneer VSX-LX 503 works with this plugin after restart, but Onkyo NCP-302 Wireless Network Speaker still do not work. also I do not see in available devices Google Cast Devices that are available in BubbleUPnp
Also I found that after I restart receiver or Wireless Network Speaker by power, foobar sees them for a short time and even plays music through them, but after some time these devices are lost from available devices until next reset by power. When they were available I saved infos about these devices with foo_out_upnp-debug.fb2k-component plugin. And I added infos that BubbleUPnp shows about these devices as Google Cast Device, maybe it helps to discover Google Cast Devices with this plugin.
Title: Re: UPnP MediaRenderer output | discussion
Post by: fabero on 2019-12-02 08:52:48
That is awesome project. I'm building own dlna renderer on esp32 dev. kit and it works great for now.
I just have one question for author, can you add options to send current track author and title  ? maybe AVTransportURIMetaData ?
On renderer I can made support for AVTransportURIMetaData, query in url and much more.
Anyway big thanks for this component!
Title: Re: UPnP MediaRenderer output | discussion
Post by: powershot720 on 2019-12-22 16:34:44
Hello. How to adjust the music volume? You have to use an equalizer for this. The normal volume control does not work.
Title: Re: UPnP MediaRenderer output | discussion
Post by: MojoBass on 2019-12-25 07:39:38
I have a Sonos One which works fine with flac streaming via foo_out_upnp.
After 3 weeks I can confirm that foo_out_upnp works fine with Sonos!
The only problem I have encountered was with tracks having 10-15s silence at the end. Here Sonos/foo_out_upnp seems to try to skip the silence and jump directly to the next title in the playlist, a behaviour which I do not see for the Default Output at foobar. The problem with this skipping is that it does not seem to be stable, sometimes it works, but sometimes playback is getting stuck at this point. A looong crossfade helps here.
Anybody knowing anything about this silence skipping feature with Sonos/foo_out_upnp?
Merry Christmas  :)
Title: Re: UPnP MediaRenderer output | discussion
Post by: powershot720 on 2019-12-25 08:14:22
(https://pixs.ru/images/2019/12/25/Screenshot_3.jpg)
Title: Re: UPnP MediaRenderer output | discussion
Post by: jclark69 on 2020-01-03 00:22:52
Hello,
I have a "reactivity" problem : I am using a Raspberry with the MoOde distribution. The MoOde UPnP renderer is immediately found by BubbleUPnP on my portable phone (which shows it is working correctly), but in using Foobar I must wait several minutes to let UPnP Mediarenderer Output find the renderer.
Once found it stays active without problem, but if I quit Foobar and start it again I have to wait several minutes until the MoOde renderer is found again.

The device properties are :
Friendly name : Moode UPNP
IP address : 192.168.1.12
Presentation URL : http://192.168.1.12:49152/upmpd/presentation.html
Manufacturer : JF Light Industries
Manufacturer URL : https://opensourceprojects.eu/u/medoc/profile/
Model : UpMPD
Model number : 1.0
Model description : UPnP front-end to MPD
Model URL : https://opensourceprojects.eu/p/upmpdcli/code/
Serial number : 42

Any way to improve ?
Thanks,
John
Title: Re: UPnP MediaRenderer output | discussion
Post by: MDeB on 2020-01-23 04:24:33
Hi, I am finding that this component works fine except when my computer is on the 5GHz wireless network on my router.  It works fine when the computer is on the 2.4GHz network.  Does anyone have any idea why this is so, or if there is some way around this?  I would like to have my computer on the 5GHz network because it is faster.  I posted this already on another thread but perhaps this is the correct one for this component.  Thanks!

Mark
Title: Re: UPnP MediaRenderer output | discussion
Post by: MDeB on 2020-01-23 06:04:08
Never mind, found the answer, posted on the other thread.
Title: Re: UPnP MediaRenderer output | discussion
Post by: alter4 on 2020-02-02 18:37:06
Dear Peter and HA folks ,
I used foorbar2000 upnp output plugin to cast to my hardware Yamaha streamer and software neutron player inside my hi-fi android DAP & audiophile smartphone LG G7 ThinQ. When I cast from my laptop in flac format to Yamaha it works good, but when to software renderer neutron player it plays first 20-30 secs only, then it gets stack then. Playing with settings I found WAV format works but FLAC don't work normally. I tried to investigate the issue and found content-length http header is absent in the response of the stream url when format is FLAC but present when format is WAV. Is this a bug?
My config
Code: [Select]
manufacturer=Neutron Code Limited
model=Neutron Music Player
forced-format=WAV
supports-pause=true

manufacturer=Yamaha Corporation
model=NP-S303
forced-format=WAV
supports-pause=true

Title: Re: UPnP MediaRenderer output | discussion
Post by: sacduser on 2020-02-03 16:00:26
Hi,

I have met the same problem for Neutron audio player. Checking the blog I found below info. The component has been optimized for a number of real world devices.
Peter: Reply #287
Case:  Reply #378
Title: Re: UPnP MediaRenderer output | discussion
Post by: alter4 on 2020-02-06 14:48:33
Hi,

I have met the same problem for Neutron audio player. Checking the blog I found below info. The component has been optimized for a number of real world devices.
Peter: Reply #287
Case:  Reply #378

sacduser, thank you! However  I haven't got your message. I understand that some tweaks were applied, but is this a valid reason to deny option having content length header with FLAC format as we have for WAV?
Title: Re: UPnP MediaRenderer output | discussion
Post by: sacduser on 2020-02-06 19:53:20
Hi
The current specification has been discussed in the blog and seems to suit a number of users. You can use foo_upnp if you want a more standard upnp component.
Title: Re: UPnP MediaRenderer output | discussion
Post by: biffo78 on 2020-02-09 11:38:40
Hello,
I have a "reactivity" problem : I am using a Raspberry with the MoOde distribution. The MoOde UPnP renderer is immediately found by BubbleUPnP on my portable phone (which shows it is working correctly), but in using Foobar I must wait several minutes to let UPnP Mediarenderer Output find the renderer.
Once found it stays active without problem, but if I quit Foobar and start it again I have to wait several minutes until the MoOde renderer is found again.

The device properties are :
Friendly name : Moode UPNP
IP address : 192.168.1.12
Presentation URL : http://192.168.1.12:49152/upmpd/presentation.html
Manufacturer : JF Light Industries
Manufacturer URL : https://opensourceprojects.eu/u/medoc/profile/
Model : UpMPD
Model number : 1.0
Model description : UPnP front-end to MPD
Model URL : https://opensourceprojects.eu/p/upmpdcli/code/
Serial number : 42

Any way to improve ?
Thanks,
John


I use Moode also but haven't experienced these issues.  For its UPnP renderering capabilities it uses a version of upmpdcli and libupnpp which are now a bit dated.  I can't promise that updating these components will resolve things for you, but its probably worth trying. This is a relatively straighforward process that's set out here: https://www.lesbonscomptes.com/upmpdcli/downloads.html  (If you're using a recent version of Moode the 'upmpdcli.list' file will need to be edited for 'Buster - Raspbian AND other armhf Debian' systems).  Good luck
Title: Re: UPnP MediaRenderer output | discussion
Post by: SimBun on 2020-02-22 11:22:58
Have only just stumbled upon this component, and just like foobar it's amazing!

My only gripe (which I can live with) is that when starting a stream to Sonos (or manually switching tracks) there's a stutter at the beginning (when played to Openhome proxy that stutter is exaggerated).

Also, does anyone know a way of limiting the devices listed in the Output Switcher toolbar component, as with the UPnP devices it totals 12, but I’m only going to use two of them.

Thanks again for your time in providing these tools to the community for free.
Title: Re: UPnP MediaRenderer output | discussion
Post by: The Link on 2020-02-22 12:46:29
I have a Sonos One and don't experience any stutter here. My config is
Code: [Select]
manufacturer=Sonos, Inc.
supports-FLAC=true
bitdepth-max=16
Title: Re: UPnP MediaRenderer output | discussion
Post by: SimBun on 2020-02-22 15:49:53
I have a Sonos One and don't experience any stutter here.

Don't you just hate technology...sometimes!
I tried the bitdepth-max setting but no joy, then I turned the speaker off and on again and it works fine going direct to the speaker, with the stutter whilst using it as OpenHome.
I'm also having problems playing to a Google Home/Chromecast Audio through BubbleUPnP. Proxied to a DLNA speaker it works fine, but as an OpenHome speaker it cuts out after 25 seconds. It's probably related to the fact it's not getting a time fed back ([UPnP] Returned time: 0) but I've tried 'reports-time=false' and it makes no difference.

I guess using with OpenHome is a little unstable at present.
Title: Re: UPnP MediaRenderer output | discussion
Post by: lvving on 2020-03-02 00:05:34
I am late to the game but absolutely love this plugin. It has made playing music in my room of choice incredibly easy. So far, it has been working very well with my two Yamaha receivers (RX-A3070 and an RX-A2050). I do have a question though. For those of you using your receviers as the output device, does the artist and song name show on the display device conencted to your receiver? In my case, it is a tv. Mine only shows "foobar2000 audio stream".
Title: Re: UPnP MediaRenderer output | discussion
Post by: lvving on 2020-03-03 13:51:04
I found my answer about displaying artist and/or title. Unfortunately it doesn't look like any way to currently do it. Lots of others have asked also.

I am late to the game but absolutely love this plugin. It has made playing music in my room of choice incredibly easy. So far, it has been working very well with my two Yamaha receivers (RX-A3070 and an RX-A2050). I do have a question though. For those of you using your receviers as the output device, does the artist and song name show on the display device conencted to your receiver? In my case, it is a tv. Mine only shows "foobar2000 audio stream".
Title: Re: UPnP MediaRenderer output | discussion
Post by: kostis57 on 2020-04-06 16:00:40
Cannot play 96.0 kHz audio on Yamaha R-N301

It is not possible to play 96.0 kHz audio using foo_out_upnp on my Yamaha R-N301 network amplifier, although this frequency rate is supported by Yamaha’s specs. Actually, my amplifier is capable to play MP3, WMA, MPEG4, AAC, WAV, FLAC up to 192kHz/24-bit Audio. Using foo_upnp, I can stream successfully AAC and FLAC 96.0kHz without converting to WAV or LPCM.

Is it possible to fix it by modifying the foo_out_upnp configuration?

Report for Yamaha R-N301:
Device Properties:
Friendly name : YAMAHA R-N301
IP address : 192.168.1.11
Presentation URL : http://192.168.1.11/
Manufacturer : Yamaha Corporation
Manufacturer URL : http://www.yamaha.com/
Model : R-N301
Model number : N301
Model description : Network Player
Model URL : https://my.yamaha.com/en/products/audio_visual/hifi_components/r-n301/specs.html#product-tabs
Serial number : 0E6CC6F3

Supported formats:
http-get:*:audio/L16;rate=44100;channels=1:DLNA.ORG_PN=LPCM
http-get:*:audio/L16;rate=44100;channels=2:DLNA.ORG_PN=LPCM
http-get:*:audio/L16;rate=48000;channels=1:DLNA.ORG_PN=LPCM
http-get:*:audio/L16;rate=48000;channels=2:DLNA.ORG_PN=LPCM
http-get:*:audio/mpeg:DLNA.ORG_PN=MP3
http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMABASE
http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMAFULL
http-wavetunes:*:audio/x-ms-wma:*
Title: Re: UPnP MediaRenderer output | discussion
Post by: Garfeild on 2020-04-07 14:22:16
How do I uninstall UPnP MediaRenderer Output from my Windows 10 computer,  I see the component added to the foobar, this was not even the app i wanted now everyday when I boot my computer I have to address firewalls rules because of this app, I went to control panel to try and remove, it not listed, I total regret adding this component should have no better since developer had basically nothing to say about component. Please anyone had to get rid of this annoying app  the developer leaving you hanging on how to remove?
Title: Re: UPnP MediaRenderer output | discussion
Post by: anamorphic on 2020-04-07 16:08:43
^ I assume the same as uninstalling any component -
In foobar Preferences > Components, right-click component name > Remove.
Title: Re: UPnP MediaRenderer output | discussion
Post by: dimstanchev on 2020-04-24 16:39:27
Hi!
I installed "UPnP MediaRenderer Output" and "UPnP/DLNA Renderer, Server, Control Point" and work great with Soundmate, but there is no sound through Jongo A2. Is there a matter of setting?
Title: Re: UPnP MediaRenderer output | discussion
Post by: tipej on 2020-04-29 15:56:21
Hello everybody!

I'm trying to stream audio to a kodi with this plugin. Windows cast to device works fine, and the plugin finds the kodi player, but when I try to stream, it buffers for a while and timeouts. The file in question is a .mp3, but this doesn't work with any other file either.

Here's the console logs.
Code: [Select]
[UPnP] Opening device:
[UPnP] manufacturer=XBMC Foundation
[UPnP] model=Kodi
[UPnP] name=Kodi (tipe)
Track scanned in 7431.833 ms
[UPnP] Detached transport op failure: network timeout
[UPnP] Device protocol info:
[UPnP] http-get:*:*:*,xbmc-get:*:*:*,http-get:*:audio/mkv:*,http-get:*:audio/mpegurl:*,http-get:*:audio/mpeg:*,http-get:*:audio/mpeg3:*,http-get:*:audio/mp3:*,http-get:*:audio/mp4:*,http-get:*:audio/basic:*,http-get:*:audio/midi:*,http-get:*:audio/ulaw:*,http-get:*:audio/ogg:*,http-get:*:audio/DVI4:*,http-get:*:audio/G722:*,http-get:*:audio/G723:*,http-get:*:audio/G726-16:*,http-get:*:audio/G726-24:*,http-get:*:audio/G726-32:*,http-get:*:audio/G726-40:*,http-get:*:audio/G728:*,http-get:*:audio/G729:*,http-get:*:audio/G729D:*,http-get:*:audio/G729E:*,http-get:*:audio/GSM:*,http-get:*:audio/GSM-EFR:*,http-get:*:audio/L8:*,http-get:*:audio/L16:*,http-get:*:audio/LPC:*,http-get:*:audio/MPA:*,http-get:*:audio/PCMA:*,http-get:*:audio/PCMU:*,http-get:*:audio/QCELP:*,http-get:*:audio/RED:*,http-get:*:audio/VDVI:*,http-get:*:audio/ac3:*,http-get:*:audio/vorbis:*,http-get:*:audio/speex:*,http-get:*:audio/flac:*,http-get:*:audio/x-flac:*,http-get:*:audio/x-aiff:*,http-get:*:audio/x-pn-realaudio:*,http-get:*:audio/x-realaudio:*,http-get:*:audio/x-wav:*,http-get:*:audio/x-matroska:*,http-get:*:audio/x-ms-wma:*,http-get:*:audio/x-mpegurl:*,http-get:*:application/x-shockwave-flash:*,http-get:*:application/ogg:*,http-get:*:application/sdp:*,http-get:*:image/gif:*,http-get:*:image/jpeg:*,http-get:*:image/ief:*,http-get:*:image/png:*,http-get:*:image/tiff:*,http-get:*:video/avi:*,http-get:*:video/divx:*,http-get:*:video/mpeg:*,http-get:*:video/fli:*,http-get:*:video/flv:*,http-get:*:video/quicktime:*,http-get:*:video/vnd.vivo:*,http-get:*:video/vc1:*,http-get:*:video/ogg:*,http-get:*:video/mp4:*,http-get:*:video/mkv:*,http-get:*:video/BT656:*,http-get:*:video/CelB:*,http-get:*:video/JPEG:*,http-get:*:video/H261:*,http-get:*:video/H263:*,http-get:*:video/H263-1998:*,http-get:*:video/H263-2000:*,http-get:*:video/MPV:*,http-get:*:video/MP2T:*,http-get:*:video/MP1S:*,http-get:*:video/MP2P:*,http-get:*:video/BMPEG:*,http-get:*:video/xvid:*,http-get:*:video/x-divx:*,http-get:*:video/x-matroska:*,http-get:*:video/x-mkv:*,http-get:*:video/x-ms-wmv:*,http-get:*:video/x-ms-avi:*,http-get:*:video/x-flv:*,http-get:*:video/x-fli:*,http-get:*:video/x-ms-asf:*,http-get:*:video/x-ms-asx:*,http-get:*:video/x-ms-wmx:*,http-get:*:video/x-ms-wvx:*,http-get:*:video/x-msvideo:*,http-get:*:video/x-xvid:*
[UPnP] Listening on: 192.168.100.14
[UPnP] Stream address: http://192.168.100.14:62202/9/stream.flac
[UPnP] transport op: Play
[UPnP] transport op OK, took 0:00.005144
[UPnP] Transport state: PLAYING

It repeats the Transport state: PLAYING for a while, and the playback continues according to Foobar (No sound comes out tho). Then, after roughly 30 seconds, the console starts logging [UPnP] Transport state: PAUSED_PLAYBACK for a while, before throwing out a popup error, which says
Quote
Unrecoverable playback error: network timeout

I have the default configurations in the plugin settings.

ATM I'm getting by with the windows cast feature, but I'd really like to get this plugin working since foobar2k is my primary music player :)
Title: Re: UPnP MediaRenderer output | discussion
Post by: sacduser on 2020-04-29 21:28:21
Hi,

I do not know Kodi, so I can only come up with suggestions:

- using standard Foobar upnp configuration for Kodi the streamed format will be Flac for all input kodecs. In Foobar Output Preferences you can check it output is 16bit or 24 bit
- you can check Kodi errorlog, https://www.firesticktricks.com/check-kodi-log-for-more-information.html for more information
Title: Re: UPnP MediaRenderer output | discussion
Post by: tipej on 2020-05-02 22:11:07
Hi,

I do not know Kodi, so I can only come up with suggestions:

- using standard Foobar upnp configuration for Kodi the streamed format will be Flac for all input kodecs. In Foobar Output Preferences you can check it output is 16bit or 24 bit
- you can check Kodi errorlog, https://www.firesticktricks.com/check-kodi-log-for-more-information.html for more information

Thanks for the advice!

This did not fix the issue. What did, however, was setting a new firewall rule allowing all traffic in foobar2k.
Title: Re: UPnP MediaRenderer output | discussion
Post by: SuperJack on 2020-05-25 12:28:47
Visualization on Peakmeter Spectrum and others, does not work when using streaming with the UPnP MediaRenderer Output v1.3.2 plugin. Please tell me, is it possible to somehow fix this?
Title: Re: UPnP MediaRenderer output | discussion
Post by: sorokincc on 2020-06-07 19:18:42
Hello!
I have this error on Windows 10, running last foobar2000 with upnp plugin... Windows player upnp works normally.

Code: [Select]
Opening track for playback: "C:\Users\User\Desktop\Audio files\201596.mp3"
[UPnP] Opening device:
[UPnP] manufacturer=Devialet
[UPnP] model=Gold Phantom
[UPnP] name=Salon
[UPnP] Stream format: 16-bit 44100Hz 2ch
<truncated>
[UPnP] Listening on: 127.0.0.1
[UPnP] Stream address: http://127.0.0.1:50153/5/stream.l16
[UPnP] SetAVTransportURI failure: Resource not found
[UPnP] == LAST REPLY XML ==
[UPnP] <?xml version="1.0"?><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>716</errorCode><errorDescription>Resource not found</errorDescription></UPnPError></detail></s:Fault></s:Body></s:Envelope>
[UPnP] == XML END ==
Unrecoverable playback error: Resource not found
Thanks in advance!
Title: Re: UPnP MediaRenderer output | discussion
Post by: mizi on 2020-07-05 13:28:06
Hello, GGMM M3 WiFi Bluetooth Speaker. It reports x-flac is suppoted
Quote
Friendly name : GGMM_M3_8fe
IP address : 192.168.111.222
Presentation URL : http://192.168.111.222
Manufacturer : GGMM
Manufacturer URL : http://www.savitech-ic.com
Model : GGMM_M4
Model description : AV Media Renderer
Model URL : http://www.savitech-ic.com/
Serial number : 000001

Supported formats:
http-get:*:audio/mpegurl:*
http-get:*:audio/mp3:*
http-get:*:audio/mpeg:*
http-get:*:audio/mpeg3:*
http-get:*:audio/x-ms-wma:*
http-get:*:audio/wma:*
http-get:*:audio/wav:*
http-get:*:audio/x-flac:*
http-get:*:audio/x-aac:*
http-get:*:audio/mp4:*
http-get:*:audio/x-ape:*
http-get:*:audio/ape:*
http-get:*:audio/L16;rate=44100;channels=2:DLNA.ORG_PN=LPCM
http-get:*:audio/L16;rate=48000;channels=2:DLNA.ORG_PN=LPCM

once I try to play flac file, it won't start

Code: [Select]
[UPnP] Opening device:
[UPnP] manufacturer=GGMM
[UPnP] model=GGMM_M4
[UPnP] name=GGMM_M3_8fe
[UPnP] Stream format: 16-bit 44100Hz 2ch
[UPnP] Device protocol info:
[UPnP] http-get:*:audio/mpegurl:*,http-get:*:audio/mp3:*,http-get:*:audio/mpeg:*,http-get:*:audio/mpeg3:*,http-get:*:audio/x-ms-wma:*,http-get:*:audio/wma:*,http-get:*:audio/wav:*,http-get:*:audio/x-flac:*,http-get:*:audio/x-aac:*,http-get:*:audio/mp4:*,http-get:*:audio/x-ape:*,http-get:*:audio/ape:*,http-get:*:audio/L16;rate=44100;channels=2:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=48000;channels=2:DLNA.ORG_PN=LPCM
[UPnP] Listening on: 192.168.111.22
[UPnP] Stream address: http://192.168.111.22:52056/58/stream.flac
[UPnP] transport op: Play
[UPnP] transport op OK, took 0:00.040186
[UPnP] HTTP request #84: HTTP/1.1 GET /58/stream.flac
[UPnP] HTTP concurrency: 1
[UPnP] Source: 192.168.111.222:53052
[UPnP] Host: 192.168.111.22
[UPnP] Referer: http://192.168.111.22:52056/58/stream.flac
[UPnP] User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)
[UPnP] Returned time: 00:00:00
[UPnP] Transport state: PLAYING
[UPnP] HTTP request #84 finished
[UPnP] HTTP concurrency: 0
[UPnP] Returned time: 00:00:00
[UPnP] Transport state: STOPPED
[UPnP] Returned time: 00:00:00
[UPnP] Transport state: STOPPED
[UPnP] Returned time: 00:00:00
[UPnP] Transport state: STOPPED

also time reported is still 00:00:00

So I added block to configuration
Quote
manufacturer=GGMM
model=GGMM_M4
supports-FLAC=false
supports-pause=true
reports-time=false

and now it plays well (still wouldn't report time, so I set it to false)
Code: [Select]
[UPnP] Opening device:
[UPnP] manufacturer=GGMM
[UPnP] model=GGMM_M4
[UPnP] name=GGMM_M3_8fe
[UPnP] Stream format: 16-bit 44100Hz 2ch
[UPnP] Device protocol info:
[UPnP] http-get:*:audio/mpegurl:*,http-get:*:audio/mp3:*,http-get:*:audio/mpeg:*,http-get:*:audio/mpeg3:*,http-get:*:audio/x-ms-wma:*,http-get:*:audio/wma:*,http-get:*:audio/wav:*,http-get:*:audio/x-flac:*,http-get:*:audio/x-aac:*,http-get:*:audio/mp4:*,http-get:*:audio/x-ape:*,http-get:*:audio/ape:*,http-get:*:audio/L16;rate=44100;channels=2:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=48000;channels=2:DLNA.ORG_PN=LPCM
[UPnP] Listening on: 192.168.111.22
[UPnP] Stream address: http://192.168.111.22:52056/62/stream.l16
[UPnP] transport op: Play
[UPnP] transport op OK, took 0:00.040911
[UPnP] HTTP request #88: HTTP/1.1 GET /62/stream.l16
[UPnP] HTTP concurrency: 1
[UPnP] Source: 192.168.111.222:51423
[UPnP] Host: 192.168.111.22
[UPnP] Referer: http://192.168.111.22:52056/62/stream.l16
[UPnP] User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)
[UPnP] Serving LPCM
[UPnP] Accept-Ranges: none
[UPnP] Connection: close
[UPnP] Content-Type: audio/L16;rate=44100;channels=2
[UPnP] Server: UPnP/1.0 DLNADOC/1.50, foobar2000/1.x
[UPnP] TransferMode.dlna.org: Streaming
[UPnP] Transport state: PLAYING
[UPnP] Transport state: PLAYING




Title: Re: UPnP MediaRenderer output | discussion
Post by: KCT on 2020-07-05 18:57:17
Hi,

I like to thank you Peter for this fine code. I have just tried this UPnP plugin, it works well for me with Yamaha WXC-50 and Foobar 1.3.15 on Win10. As someone before me, I noticed the visualizations don't work anymore, I guess this has something to do with buffer size, which seem not to be accessible for adjustment anymore when directing Foobar to stream. Not a big deal for me.

While I am enjoying this plugin very much and now been hyped up I tried to convince other windows applications such as Firefox to use the WXC-50. No luck and no chance to make it work.

So please excuse me as I might be well off topic here, but I was wondering if there is such a thing as a Foobar (virtual) input plugin.
I am thinking the audio of any windows application could be re-routed to foobar input and foobar then re-routes it to DLNA such as the WXC-50.

This software - Virtual Audio Cable - could be useful for that.
https://vac.muzychenko.net/en/index.htm
Title: Re: UPnP MediaRenderer output | discussion
Post by: sacduser on 2020-07-05 19:09:24
For a Foobar  input component you can download Case's Recorder component from https://foobar.hyv.fi/.

Cheers
Title: Re: UPnP MediaRenderer output | discussion
Post by: KCT on 2020-07-05 21:19:40
Hi sacduser,

Thanks for pointing me to the recorder component. I tried but unfortunately, this is not working for me. Looks like the only thing one can specify is recording length but not from which input.

Cheers
Title: Re: UPnP MediaRenderer output | discussion
Post by: sacduser on 2020-07-06 04:43:46
You specify input in Preferences / Tools / Recorder.

Cheers
Title: Re: UPnP MediaRenderer output | discussion
Post by: KCT on 2020-07-11 15:06:09
Hi sacduser,

unfortunately, it is still not working for me.
Thanks anyway.

I realized, with my idea I have another problem anyway, it seems there is somewhere an excessive large buffer causing a substantial delay between audio and video when using the Yamaha WXC-50. Using the Yamaha WXC-50 for just music is fine.  I am not sure if this is a fixed hardware buffer or if this can be set by software and mitigate that a bit.

Cheers
Title: Re: UPnP MediaRenderer output | discussion
Post by: sacduser on 2020-07-11 15:59:38
I use Foobar Recorder component together with VB-Audio Hi-Fi Cable.

Cheers
Title: Re: UPnP MediaRenderer output | discussion
Post by: Stevie123 on 2020-07-12 12:27:55
I managed this Plugin to work with DLNA to my AV-Receiver. But the info it shows on it's display is just "Foorbar2000 audio stream". Is it possible to change this to song information as they are displayed in foobar?
Title: Re: UPnP MediaRenderer output | discussion
Post by: xrsxlnx on 2020-07-24 16:13:31
Hi to all,
I'm trying to stream audio from fb2k on pc to Denon avr-x2600h using foo_out_upnp, but the receiver gives a massage "Unable to play media. Please try again later."
Also, what configuration must be for streaming 24bit/192kHz?

here are my configs in fb2k:
device details
Friendly name : Denon AVR-X2600H
IP address : 192.168.0.143
Manufacturer : Denon
Manufacturer URL : http://www.denon.com
Model : Denon AVR-X2600H
Model number : Aios 4.025

Supported formats:
http-get:*:audio/mpeg:*
http-get:*:audio/vnd.dlna.adts:*
http-get:*:audio/x-ms-wma:*
http-get:*:audio/x-ms-wma:*
http-get:*:audio/L16;rate=48000;channels=2:*
http-get:*:audio/L16;rate=48000;channels=1:*
http-get:*:audio/L16;rate=44100;channels=2:*
http-get:*:audio/L16;rate=44100;channels=1:*
http-get:*:audio/wav:*
http-get:*:audio/mp3:*
http-get:*:audio/flac:*
http-get:*:audio/aac:*
http-get:*:audio/m4a:*
---------------------------------------------------------------
upnp output config:
# defaults that apply to every device
stream-title=foobar2000 audio stream
# default preferred format, can be overridden per-device; available are: FLAC, WAV, LPCM
# default to FLAC where supported
preferred-format=FLAC
# Various devices fail to pause on what they assume to be a live stream, require a stop command
# Can be overridden to true for specific devices
supports-pause=true
# Default to FLAC not supported even if the device claims otherwise
# Many report that they support FLAC yet fail to play an infinite length FLAC stream
supports-FLAC=false

manufacturer=Denon
model= Denon AVR-X2600H
supports-FLAC=true
preferred-format=FLAC
Title: Re: UPnP MediaRenderer output | discussion
Post by: sacduser on 2020-07-24 16:30:48
Have you tried default upnp output config without any specific configuration for your receiver?
Title: Re: UPnP MediaRenderer output | discussion
Post by: xrsxlnx on 2020-07-24 22:25:03
Yes. first i did all with default settings and after went through the topic trying to configure and make changes people were doing with their devices. No luck so far, and the message is same always regardless any changes.

here my components, maybe some are odd in my case
Core (2020-06-29 11:49:42 UTC)
    foobar2000 core 1.5.5
foo_albumlist.dll (2020-06-29 11:49:14 UTC)
    Album List 4.7
foo_cdda.dll (2020-06-29 11:48:58 UTC)
    CD Audio Decoder 1.5.5
foo_converter.dll (2020-06-29 11:49:06 UTC)
    Converter 1.5.5
foo_dsp_eq.dll (2020-06-29 11:49:00 UTC)
    Equalizer 1.2.2
foo_dsp_std.dll (2020-06-29 11:48:56 UTC)
    Standard DSP Array 1.5.5
foo_fileops.dll (2020-06-29 11:48:58 UTC)
    File Operations 1.5.5
foo_freedb2.dll (2020-06-29 11:48:58 UTC)
    Online Tagger 0.7
foo_input_std.dll (2020-06-29 11:49:32 UTC)
    FFmpeg Decoders 3.4.6-0ac9001
    Standard Input Array 1.5.5
foo_out_asio.dll (2016-01-03 10:40:20 UTC)
    ASIO support 2.1.2
foo_out_upnp.dll (2020-07-24 13:12:04 UTC)
    UPnP MediaRenderer Output 1.3.2
foo_out_wasapi.dll (2017-06-19 22:32:30 UTC)
    WASAPI output support 3.3
foo_rgscan.dll (2020-06-29 11:49:10 UTC)
    ReplayGain Scanner 1.5.5
foo_ui_columns.dll (2011-02-27 20:22:58 UTC)
    Columns UI 0.3.8.8
foo_ui_std.dll (2020-06-29 11:49:18 UTC)
    Default User Interface 1.5.5
foo_unpack.dll (2020-06-29 11:49:06 UTC)
    ZIP/GZIP/RAR Reader 1.8
foo_upnp.dll (2020-07-24 12:52:14 UTC)
    UPnP/DLNA Renderer, Server, Control Point 0.99.49
Title: Re: UPnP MediaRenderer output | discussion
Post by: 920619lqy on 2020-09-12 00:54:52
Hello,
I am using SONY SRS-ZR7 wireless speaker.
I can use WMP to cast to that device, but cannot use this component to output.
The setting of component is in default.
FB2K 1.6 and component 1.3.2

Quote
Opening track for playback: "D:\Music\[200805] 5thアルバム「STRAY SHEEP」/米津玄師 (Hi-Res)\002-Flamingo.flac"
[UPnP] Opening device:
[UPnP] manufacturer=Sony Corporation
[UPnP] model=SRS-ZR7
[UPnP] name=SRS-ZR7 349B02
[UPnP] Stream format: 24-bit 48000Hz 2ch
[UPnP] Device protocol info:
[UPnP] http-get:*:audio/L16:DLNA.ORG_PN=LPCM;DLNA.ORG_FLAGS=9d300000000000000000000000000000,http-get:*:audio/mpeg:DLNA.ORG_PN=MP3;DLNA.ORG_FLAGS=9d300000000000000000000000000000,http-get:*:audio/mpeg:DLNA.ORG_PN=MP3X;DLNA.ORG_FLAGS=9d300000000000000000000000000000,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMABASE;DLNA.ORG_FLAGS=9d300000000000000000000000000000,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMAFULL;DLNA.ORG_FLAGS=9d300000000000000000000000000000,http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=AAC_ADTS;DLNA.ORG_FLAGS=9d300000000000000000000000000000,http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=AAC_ADTS_192;DLNA.ORG_FLAGS=9d300000000000000000000000000000,http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=AAC_ADTS_320;DLNA.ORG_FLAGS=9d300000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=AAC_ISO;DLNA.ORG_FLAGS=9d300000000000000000000000000000,http-get:*:audio/3gpp:DLNA.ORG_PN=AAC_ISO;DLNA.ORG_FLAGS=9d300000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=AAC_ISO_192;DLNA.ORG_FLAGS=9d300000000000000000000000000000,http-get:*:audio/3gpp:DLNA.ORG_PN=AAC_ISO_192;DLNA.ORG_FLAGS=9d300000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=AAC_ISO_320;DLNA.ORG_FLAGS=9d300000000000000000000000000000,http-get:*:audio/3gpp:DLNA.ORG_PN=AAC_ISO_320;DLNA.ORG_FLAGS=9d300000000000000000000000000000,http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=HEAAC_L2_ADTS;DLNA.ORG_FLAGS=9d300000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=HEAAC_L2_ISO;DLNA.ORG_FLAGS=9d300000000000000000000000000000,http-get:*:audio/3gpp:DLNA.ORG_PN=HEAAC_L2_ISO;DLNA.ORG_FLAGS=9d300000000000000000000000000000,http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=HEAAC_L2_ADTS_320;DLNA.ORG_FLAGS=9d300000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=HEAAC_L2_ISO_320;DLNA.ORG_FLAGS=9d300000000000000000000000000000,http-get:*:audio/3gpp:DLNA.ORG_PN=HEAAC_L2_ISO_320;DLNA.ORG_FLAGS=9d300000000000000000000000000000,http-get:*:audio/mp4:DLNA.ORG_PN=HEAAC_L2_ISO_128;DLNA.ORG_FLAGS=9d300000000000000000000000000000,http-get:*:audio/3gpp:DLNA.ORG_PN=HEAAC_L2_ISO_128;DLNA.ORG_FLAGS=9d300000000000000000000000000000,http-get:*:audio/mpeg:*,http-get:*:audio/L16:*,http-get:*:audio/wav:*,http-get:*:audio/x-wav:*,http-get:*:audio/x-ms-wma:*,http-get:*:audio/mp4:*,http-get:*:audio/3gpp:*,http-get:*:audio/vnd.dlna.adts:*,http-get:*:audio/flac:*,http-get:*:audio/x-flac:*,http-get:*:audio/aiff:*,http-get:*:audio/x-aiff:*,http-get:*:audio/aif:*,http-get:*:audio/x-aif:*,http-get:*:audio/m4a:*,http-get:*:audio/x-m4a:*,http-get:*:audio/x-alac:*,http-get:*:audio/x-monkeys-audio:*,http-get:*:audio/ape:*,http-get:*:audio/x-ape:*,http-get:*:audio/dsd:*,http-get:*:audio/x-dsd:*
[UPnP] Listening on: 192.168.1.76
[UPnP] Stream address: http://192.168.1.76:61261/4/stream.wav
[UPnP] Returned time: 0:00:00
[UPnP] Transport state: NO_MEDIA_PRESENT
[UPnP] Returned time: 0:00:00
[UPnP] Transport state: NO_MEDIA_PRESENT
[UPnP] SetAVTransportURI failure: Action SetAVTransportURI failed
[UPnP] == LAST REPLY XML ==
[UPnP] <?xml version="1.0"?><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>716</errorCode><errorDescription>Action SetAVTransportURI failed
</errorDescription></UPnPError></detail></s:Fault></s:Body></s:Envelope>
[UPnP] == XML END ==
Unrecoverable playback error: Action SetAVTransportURI failed
[UPnP] Detached transport op failure: Action Stop failed
[UPnP] == LAST REPLY XML ==
[UPnP] <?xml version="1.0"?><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>701</errorCode><errorDescription>Action Stop failed
</errorDescription></UPnPError></detail></s:Fault></s:Body></s:Envelope>
[UPnP] == XML END ==
Title: Re: UPnP MediaRenderer output | discussion
Post by: sasiij on 2020-09-13 03:06:39
I managed this Plugin to work with DLNA to my AV-Receiver. But the info it shows on it's display is just "Foorbar2000 audio stream". Is it possible to change this to song information as they are displayed in foobar?

Did you ever find out anymore on this? The functionality of this app allowing you to select DLNA devices from the actual outputs in foobar is much better than the other DLNA plug-in, but i really want to have at least, ARTIST - SONG..
Title: Re: UPnP MediaRenderer output | discussion
Post by: lvving on 2020-09-23 04:34:37
This component has solved alot of issues for me being able to play music from my laptop over my Yamaha receivers. For the most part, it works really well and correctly discovers my receivers in my home ethernet network. The only thing I would like to see if more development. I messaged the author and asked if he didn't want to develop it anymore, if he would release the source code so one of you clever programmers could keep it going. Unfortunately I never got a reply. I would love to see the tag information show up on the device playing the music as an example. I tried playing around with the INI/CFG file but was never able to make any progress. I know it is a long shot. (I did try the other UPnP component also).
Title: Re: UPnP MediaRenderer output | discussion
Post by: Michal_B on 2020-10-16 19:58:53
Hi,
I have installed this plugin in hope that I will be able to play music directly from my laptop.
Unfortunately I cant hear anything on my Denon AVR-X2400H. When I try to play anything on Foobar it stops.

My configuration :
# defaults that apply to every device
stream-title=foobar2000 audio stream
# default preferred format, can be overridden per-device; available are: FLAC, WAV, LPCM
# default to FLAC where supported
preferred-format=FLAC
# Various devices fail to pause on what they assume to be a live stream, require a stop command
# Can be overridden to true for specific devices
supports-pause=true
# Default to FLAC not supported even if the device claims otherwise
# Many report that they support FLAC yet fail to play an infinite length FLAC stream
supports-FLAC=false

manufacturer=Denon
model= Denon AVR-X2400H
supports-FLAC=true
preferred-format=FLAC

Device info:
Friendly name : Denon AVR-X2400H
IP address : 192.168.1.251
Manufacturer : Denon
Manufacturer URL : http://www.denon.com
Model : Denon AVR-X2400H
Model number : Aios 4.025

Supported formats:
http-get:*:audio/mpeg:*
http-get:*:audio/vnd.dlna.adts:*
http-get:*:audio/x-ms-wma:*
http-get:*:audio/x-ms-wma:*
http-get:*:audio/L16;rate=48000;channels=2:*
http-get:*:audio/L16;rate=48000;channels=1:*
http-get:*:audio/L16;rate=44100;channels=2:*
http-get:*:audio/L16;rate=44100;channels=1:*
http-get:*:audio/wav:*
http-get:*:audio/mp3:*
http-get:*:audio/flac:*
http-get:*:audio/aac:*
http-get:*:audio/m4a:*

I've tried all formats and it doesn't work on anything. Just doesn't want to play. I can only control volume via Foobar.
I have tried "Stream What You Hear" program and it doesn't play a sound also.
Both programs Foobar and Stream What You Hear detects my AVR but give no sound.
I have also tried windows media player and option "render to device" works fine and I can hear sound but cant change volume and it always stops after one song.
What is wrong ?
Title: Re: UPnP MediaRenderer output | discussion
Post by: max-bit on 2020-12-16 18:57:40
Hi
Is there any way for the title and artist name to be displayed on the network player?
Displaying a Song - Artists in UPnP
stream-title = ?
Originally it displays only what is entered with = xxxxx
Used Denon DNP-F109

Title: Re: UPnP MediaRenderer output | discussion
Post by: Renderme on 2020-12-18 18:17:13
Hello everyone! 

First post here.  I cannot figure out what I am doing wrong but none of my devices ate showing under the "Device" tab under "Output" in the "Playback" section of the preferences.  In BubbleUPnp I see my Denon, Plex, Foobar, and DirectTV as Servers, all enabled. I see Foobar, Denon (x4400h), Sheild and JBL Link in Renders also in the BubbleUPnP Server. I have the Foobar plugin installed.  I see the UPnp Section under tools. So I do not understand why nothing is showing under devices.

I would really appreciate any help I can get as I have been dying to leave apple and airplay2 for years.  Thanks in advance!
Title: Re: UPnP MediaRenderer output | discussion
Post by: s.lopik on 2020-12-20 20:23:48
Hello, I have an issue with my AV receiver Onkyo TX-RZ840. I can't see my receiver in the list of found devices on the "UPnP MediaRender Output page", although I can see it in the list of media renders in the windows. 

The receiver shows in the list for a while after the unplugging from the electrical socket and plugging back again, but then it dissapears.

Streaming to my receiver worked well, but now (after the receiver's firmware update), it stoped working. I checked the forum and found, that several users had the same issue with other receiver's brands (Denon, Marantz) and you fixed the issue by an update of your compomnent.

Thanks in advance for help.
Title: Re: UPnP MediaRenderer output | discussion
Post by: foobaruser5 on 2020-12-30 07:11:47
Hello,

I have got DCH-M225 DLNA wifi player. It is not working with this output plugin. I tried various settings and always says

Unrecoverable playback error: Device does not appear to support this audio stream format

Log is lower.

Any help possible?



foo_upnp: created 1147 path registry entries in 0.015s
foo_upnp: loaded Media Library tree in 0.156s
foo_upnp: created 1147 path registry entries in 0.016s
foo_upnp: loaded Media Library tree in 0.172s
Opening track for playback: "C:\Hugues Aufray\04 - Le rossignol anglais.flac"
[UPnP] Opening device:
[UPnP] manufacturer=D-Link Corporation
[UPnP] model=DLNA Media Renderer
[UPnP] name=Kuchyn
[UPnP] Stream format: 16-bit 44100Hz 2ch
[UPnP] Device protocol info:
[UPnP] http-get:*:audio/mpeg:DLNA.ORG_PN=MP3, http-get:*:audio/mp4:*, http-get:*:audio/m4a:*, http-get:*:audio/flac:*, http-get:*:audio/x-flac:*, http-get:*:audio/aac:*, http-get:*:audio/x-aac:*, http-get:*:audio/wav:*, http-get:*:audio/x-wav:*
Unrecoverable playback error: Device does not appear to support this audio stream format
Title: Re: UPnP MediaRenderer output | discussion
Post by: s.lopik on 2021-01-04 08:25:01
So finally my issue I reported on 20.12.2020 was caused by my router. I solved my issue by stopping the UPnP service on my router and restarting again and it works like before.
Title: Re: UPnP MediaRenderer output | discussion
Post by: buckss on 2021-01-26 06:23:33
Hello, everyone!

Tell me please, can this plugin send UNmodified, unconverted audio files(streams) to media renderer, i.e. ape, wv, mp3, ogg, mqa (my renderer can unfold those)?
Or it just ALWAYS convert it to format you provide in config (like FLAC or WAV)?
thank you!
Title: Re: UPnP MediaRenderer output | discussion
Post by: kode54 on 2021-01-26 10:09:21
This is not for that. Neither is the other foobar2000 plugin. You want a UPnP media server. Maybe I'll shill for Asset UPnP Server.
Title: Re: UPnP MediaRenderer output | discussion
Post by: krzeh on 2021-02-08 12:14:59
I am unable to make it run. Built-In casting from Windows 10 works, Bubble UPNP Player from android device works also.

Target: Rasperry Pi Running Volumio (I have checked RuneAudio and it doesn't work also).
Using latest plugin version.
Playback time starts but stops after 1 or few second - no sound comes from speakers.

Here is log from console:
Opening track for playback: "D:\101-cagedbaby-marmalade.mp3"
[UPnP] UPnP begin enum devices
[UPnP] UPnP device: Volumio :: http://10.128.200.3:49152/description.xml
[UPnP] UPnP device: Volumio :: http://10.128.200.3:49152/description.xml
[UPnP] UPnP device: [TV] Samsung 8 Series (55) :: http://10.128.200.41:9197/dmr
[UPnP] UPnP end enum devices
Wave cache: finished analysis of "D:\101-cagedbaby-marmalade.mp3"
Opening track for playback: "D:\101-cagedbaby-marmalade.mp3"
[UPnP] Opening device:
[UPnP] manufacturer=Volumio
[UPnP] model=Volumio
[UPnP] name=Volumio
[UPnP] Stream format: 16-bit 44100Hz 2ch
[UPnP] Device protocol info:
[UPnP] http-get:*:application/flac:*,http-get:*:audio/flac:*,http-get:*:audio/x-flac:*,http-get:*:audio/aac:*,http-get:*:audio/x-aiff:*,http-get:*:audio/dff:*,http-get:*:audio/x-dff:*,http-get:*:audio/dsd:*,http-get:*:audio/x-dsd:*,http-get:*:audio/dsf:*,http-get:*:audio/x-dsf:*,http-get:*:audio/m4a:*,http-get:*:audio/x-m4a:*,http-get:*:audio/mp1:*,http-get:*:audio/mp4:*,http-get:*:audio/mpeg:*,http-get:*:audio/x-mpeg:*,http-get:*:audio/ogg:*,http-get:*:audio/vorbis:*,http-get:*:audio/wav:*,http-get:*:audio/x-wav:*,http-get:*:audio/wave:*,http-get:*:audio/x-ms-wma:*,http-get:*:audio/x-ogg:*,http-get:*:audio/x-scpls:*,http-get:*:audio/x-vorbis+ogg:*,http-get:*:audio/x-vorbis:*,http-get:*:video/mp4:*
[UPnP] Listening on: 10.128.200.5
[UPnP] Stream address: http://10.128.200.5:6020/2/stream.flac
[UPnP] Returned time: 0
[UPnP] Transport state: Playing
[UPnP] Returned time: 0
[UPnP] Transport state: Playing
[UPnP] Returned time: 0
[UPnP] Transport state: Stopped
Title: Re: UPnP MediaRenderer output | discussion
Post by: sacduser on 2021-02-09 09:55:13
Not all UPnP renderers support "endless" Flac files as input. I see this behaviour for Neutron Audio Player, but you can try to use Wav format.
Title: Re: UPnP MediaRenderer output | discussion
Post by: krzeh on 2021-02-10 13:24:54
WAV does not work either, behaviour is exactly the same.
Title: Re: UPnP MediaRenderer output | discussion
Post by: 2tec on 2021-02-10 13:52:54
how about trying universal media server, it's free and open ~ https://www.universalmediaserver.com/
Title: Re: UPnP MediaRenderer output | discussion
Post by: techman10 on 2021-02-19 18:56:14
Hi,

Not sure if this is the best place to ask this question, but I use the Foobar Android app to connect to the Foobar UPNP server. Everything works fine, but the Download option only gives me PCM & WAV file formats for download, which are both pretty large files. What option must I set so that I can download the tracks in this way as their original file formats, like mp3 or m4a?
Title: Re: UPnP MediaRenderer output | discussion
Post by: Tinor on 2021-03-02 04:53:55
Hi guys. I need help.
I'm trying (PC Windows 10 Home) to stream music to the DAC Hegel HD30 and to Sony's TV. Nothing happens. At the Media render Output the Foobar sees all the devices. The DAC switches to network mode, I can adjust the volume, but there is no sound and no errors. When streaming to a TV, the error "Unrecoverableplaybackerror: ActionSetAVTransportURIfaled" first appears, then the error "Unrecoverable playback error: network timeout". no sound.
Sony TV KD-49XD8077. Player version 1.6.4
Title: Re: UPnP MediaRenderer output | discussion
Post by: Tinor on 2021-03-04 04:18:27
found an error. it was necessary to disable the firewall
Title: Re: UPnP MediaRenderer output | discussion
Post by: MrOtto on 2021-09-09 15:24:16
Can I control how files are transcoded when sent to UPnP Chromecast Audio output device? Does it use any of the streaming profiles created by foo_out? UPnP -> Server -> Streaming profiles. CCA is DLNA created in bubbleUPnP server.

Any chance of getting bit perfect ouput for supported files for CCA?
Title: Re: UPnP MediaRenderer output | discussion
Post by: dspn on 2021-10-12 13:51:14
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."
Title: Re: UPnP MediaRenderer output | discussion
Post by: syndicate_rus on 2022-01-24 16:39:54
found an error. it was necessary to disable the firewall
Thank you very much for this comment! The problem started after updating to Windows 11 and my problem has been resolved. But with the firewall turned on, the volume on my Pioneer VSX-528 receiver was controlled from the player, but there was no sound. Disabling the firewall solved the problem.
Title: Re: UPnP MediaRenderer output | discussion
Post by: stasivin on 2022-02-14 08:35:03
 Hello everyone! This is my first post, please don't judge me too harshly :)

I recently discovered that when playing DSD tracks, the process stops after a predictable interval of time from the start of playback.
For DSD128 this time is 1525 sec.
For DSD256 - exactly two times less.
When using Roon or JRiver64, this problem is not observed.

I'm assuming that the music stoppage is the result of a 1 gigabyte buffer overflow.
Really:    44100 * 128 * 1525 / 8 / 1024 / 1024 / 1024  = 1 
Perhaps this is due to the limitations of the 32-bit Windows architecture. Then I'm not the first to encounter this problem. If a solution already exists, please tell me where to find it.
My system:
PC(Win11) -> foobar2000(1.6.9) -> UPnP MediaRenderer Output -> Botic7 (BeagleBone Black with "Pure" firmware)
Title: Re: UPnP MediaRenderer output | discussion
Post by: Rollin on 2022-02-14 18:03:25
@stasivin , try this - https://foobar.hyv.fi/?view=foo_upnp_workaround
Title: Re: UPnP MediaRenderer output | discussion
Post by: stasivin on 2022-02-15 08:01:14
@try this - https://foobar.hyv.fi/?view=foo_upnp_workaround
Wow, thank you so much - it helped!
Title: Re: UPnP MediaRenderer output | discussion
Post by: zyclone on 2022-03-03 23:19:15
Im also unable to get it to work with Raspberry pi running Volumio, frustrating as it is the ideal tool for me.

It plays for 20 seconds + the length of foobar buffer then stops, tried just about everything to get it to work.
All other upnp and other streaming methods works fine, only that functionally they are all inferior to this plugin.
Title: Re: UPnP MediaRenderer output | discussion
Post by: zoumbro on 2022-03-06 11:09:51
I have exactly the same problem since the last update of volumio. I am not sure if its the problem of volumio or plugin.
A quick solution is to unplug then plug rusberry Pi and then work normal.

Maybe someone else can help here.
Title: Re: UPnP MediaRenderer output | discussion
Post by: zyclone on 2022-03-06 14:46:02
I wonder if that means we should be reporting this to volumio devs?
I believe I was on one of the last of versions (installed around sept-nov 2021) of Volumio 2 and problem was the same, I tried updating to Volumio 3 after having the issues since it mentioned upnp renderer had been fixed in the update, nothing changed though, same problem persists after the update.


@zoumbro do you know what version it was before the update or when you had last updated before that? If any version will work that's good enough for me.

edit: just noticed it is working after disabling and then reenabling upnp in volumio settings, will see if it lasts.
Title: Re: UPnP MediaRenderer output | discussion
Post by: mwpau on 2022-03-07 01:06:28
Hi folks,
I'm trying to get this working with a Yamaha receiver. Model RX-V4A AD4F85.

I get the following in the console log when attempting to play a track.
Its says "PLAYING" with a time of 0 sec a couple of times then reports "STOPPED". I never hear any sound from the system.

Code: [Select]
Opening track for playback: "Various Artists - The Art Of Chill 4 - Mixed by The Orb\CD1 - 12 - Brian Eno - Taking Tiger Mountain (2004 Digital Remaster).mp3"
[UPnP] Opening device:
[UPnP] manufacturer=Yamaha Corporation
[UPnP] model=RX-V4A
[UPnP] name=RX-V4A AD4F85
[UPnP] Stream format: 16-bit 44100Hz 2ch
[UPnP] Device protocol info:
[UPnP] http-get:*:audio/L16;channels=2;rate=44100:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;channels=1;rate=44100:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;channels=2;rate=48000:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;channels=1;rate=48000:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;channels=2;rate=32000:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;channels=1;rate=32000:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;channels=2;rate=88200:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;channels=1;rate=88200:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;channels=2;rate=96000:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;channels=1;rate=96000:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;channels=2;rate=64000:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;channels=1;rate=64000:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;channels=2;rate=22050:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;channels=1;rate=22050:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;channels=2;rate=24000:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;channels=1;rate=24000:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;channels=2;rate=16000:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;channels=1;rate=16000:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;channels=2;rate=11025:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;channels=1;rate=11025:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;channels=2;rate=12000:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;channels=1;rate=12000:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;channels=2;rate=8000:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;channels=1;rate=8000:DLNA.ORG_PN=LPCM,http-get:*:audio/L16:DLNA.ORG_PN=LPCM,http-get:*:audio/mpeg:DLNA.ORG_PN=MP3,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMABASE,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMAFULL,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMDRM_WMABASE,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMDRM_WMAFULL,http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=AAC_ADTS,http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=AAC_ADTS_192,http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=AAC_ADTS_320,http-get:*:audio/mp4:DLNA.ORG_PN=AAC_ISO,http-get:*:audio/mp4:DLNA.ORG_PN=AAC_ISO_192,http-get:*:audio/mp4:DLNA.ORG_PN=AAC_ISO_320,http-get:*:audio/3gpp:DLNA.ORG_PN=AAC_ISO,http-get:*:audio/3gpp:DLNA.ORG_PN=AAC_ISO_192,http-get:*:audio/3gpp:DLNA.ORG_PN=AAC_ISO_320,http-get:*:audio/x-ms-wma:*,http-get:*:audio/vnd.dlna.adts:*,http-get:*:audio/x-flac:*,http-get:*:audio/x-mpeg:*,http-get:*:audio/x-aac:*,http-get:*:audio/x-mp3:*,http-get:*:audio/x-mp4:*,http-get:*:audio/x-mpg:*,http-get:*:audio/x-wav:*,http-get:*:audio/3gpp:*,http-get:*:audio/aacp:*,http-get:*:audio/aiff:*,http-get:*:audio/x-aiff:*,http-get:*:audio/flac:*,http-get:*:audio/mpeg:*,http-get:*:audio/aac:*,http-get:*:audio/m4a:*,http-get:*:audio/mp3:*,http-get:*:audio/mp4:*,http-get:*:audio/dsd:*,http-get:*:audio/x-dsd:*,http-get:*:audio/x-dsf:*,http-get:*:audio/x-dff:*,http-get:*:audio/wav:*
[UPnP] Listening on: 192.168.1.2
[UPnP] Stream address: http://192.168.1.2:51918/1/stream.wav
[UPnP] transport op: Play
[UPnP] transport op OK, took 0:00.025109
[UPnP] Returned time: 0:00:00
[UPnP] Transport state: PLAYING
[UPnP] Returned time: 0:00:00
[UPnP] Transport state: PLAYING
[UPnP] Returned time: 0:00:00
[UPnP] Transport state: STOPPED
[UPnP] Returned time: 0:00:00
[UPnP] Transport state: STOPPED
[UPnP] Returned time: 0:00:00
[UPnP] Transport state: STOPPED
[UPnP] Returned time: 0:00:00
[UPnP] Transport state: STOPPED

Does anyone know whats going on here?
Any advice?

Thanks in advance.
Title: Re: UPnP MediaRenderer output | discussion
Post by: mwpau on 2022-03-07 04:13:37
Resolved.... it was a Windows firewall issue.
The plugin works great :)
Title: Re: UPnP MediaRenderer output | discussion
Post by: zyclone on 2022-03-07 21:06:02
It has been working perfectly for me since, seemingly toggling upnp renderer was enough to fix the issue with Volumio, and somehow this issue still had persisted through restarts, power cycles and even a full update. I guess some error/bug was saved into the configuration files.
Title: Re: UPnP MediaRenderer output | discussion
Post by: zoumbro on 2022-04-09 07:53:14
@zyclone Did you manage to solve the stop problem? I don't remember the software updated version of volumio since the problem starts.
Title: Re: UPnP MediaRenderer output | discussion
Post by: darkflame23 on 2022-04-09 09:02:01
Just another vote for looking in your Windows Firewall settings. I suddenly couldn't get this component to work after upgrading my PC and W11. It wasn't showing up in my FB2K iOS phone app, which I use to stream it to a Bluetooth speaker in the kitchen. Manually letting FB2K Windows app through the Windows Firewall fixed it for me.
Title: Re: UPnP MediaRenderer output | discussion
Post by: dileo on 2022-05-12 20:23:16
@stasivin , try this - https://foobar.hyv.fi/?view=foo_upnp_workaround
At first the music stopped after 30 secs. After installing this workaround the music played for eg 4 minutes and then stopped with "Unrecoverable playback error: bad allocation".  .. after some retries it seems to be occasionally.
(picoreplayer/LMS device)
Title: Re: UPnP MediaRenderer output | discussion
Post by: bugsy46 on 2022-06-02 12:25:38
Hi all, I'm trying to output to my Sony STR-DN1080 receiver however it isn't showing in the controller device list. I've been into preferences>playback>output and the receiver is showing correctly in found devices, however it never appears in the controller list whereas every other device in the home does! I'm using win 11. Any ideas? Thanks
Title: HQPlayer as Output Device - NAA
Post by: antares on 2022-08-24 10:45:32
Hi,
UPnP Media Renderer Output works with HQPlayer as output device, but its very buggy. Sometimes it works flawlessly sometimes it stops playing and I have to restart HQPlayer and foobar2000 several times until it works again. It just happens by accident and until now I have no idea how to improve the realiability.
Are there users out there, who have experience with HQPlayer as output device? Is it possible to upgrade foo_out_upnp to let it work more stable in conjunction with HQPlayer?

Martin
Title: Re: UPnP MediaRenderer output | discussion
Post by: richiewu on 2022-09-19 15:56:15
Is this plugin need foo_upnp first?
Title: Re: UPnP MediaRenderer output | discussion
Post by: Ibanezz on 2022-09-22 19:01:28
Hi,
I have installed this plugin in hope that I will be able to play music directly from my laptop.
Unfortunately I cant hear anything on my Denon AVR-X2400H. When I try to play anything on Foobar it stops.

My configuration :
Hi,
I have installed this plugin in hope that I will be able to play music directly from my laptop.
Unfortunately I cant hear anything on my Denon AVR-X2400H. When I try to play anything on Foobar it stops.

My configuration :
# defaults that apply to every device
stream-title=foobar2000 audio stream
# default preferred format, can be overridden per-device; available are: FLAC, WAV, LPCM
# default to FLAC where supported
preferred-format=FLAC
# Various devices fail to pause on what they assume to be a live stream, require a stop command
# Can be overridden to true for specific devices
supports-pause=true
# Default to FLAC not supported even if the device claims otherwise
# Many report that they support FLAC yet fail to play an infinite length FLAC stream
supports-FLAC=false

manufacturer=Denon
model= Denon AVR-X2400H
supports-FLAC=true
preferred-format=FLAC

Device info:
Friendly name : Denon AVR-X2400H
IP address : 192.168.1.251
Manufacturer : Denon
Manufacturer URL : http://www.denon.com
Model : Denon AVR-X2400H
Model number : Aios 4.025

Supported formats:
http-get:*:audio/mpeg:*
http-get:*:audio/vnd.dlna.adts:*
http-get:*:audio/x-ms-wma:*
http-get:*:audio/x-ms-wma:*
http-get:*:audio/L16;rate=48000;channels=2:*
http-get:*:audio/L16;rate=48000;channels=1:*
http-get:*:audio/L16;rate=44100;channels=2:*
http-get:*:audio/L16;rate=44100;channels=1:*
http-get:*:audio/wav:*
http-get:*:audio/mp3:*
http-get:*:audio/flac:*
http-get:*:audio/aac:*
http-get:*:audio/m4a:*

I've tried all formats and it doesn't work on anything. Just doesn't want to play. I can only control volume via Foobar.
I have tried "Stream What You Hear" program and it doesn't play a sound also.
Both programs Foobar and Stream What You Hear detects my AVR but give no sound.
I have also tried windows media player and option "render to device" works fine and I can hear sound but cant change volume and it always stops after one song.
What is wrong ?
Hello everyone! 

First post here.  I cannot figure out what I am doing wrong but none of my devices ate showing under the "Device" tab under "Output" in the "Playback" section of the preferences.  In BubbleUPnp I see my Denon, Plex, Foobar, and DirectTV as Servers, all enabled. I see Foobar, Denon (x4400h), Sheild and JBL Link in Renders also in the BubbleUPnP Server. I have the Foobar plugin installed.  I see the UPnp Section under tools. So I do not understand why nothing is showing under devices.

I would really appreciate any help I can get as I have been dying to leave apple and airplay2 for years.  Thanks in advance!
# defaults that apply to every device
stream-title=foobar2000 audio stream
# default preferred format, can be overridden per-device; available are: FLAC, WAV, LPCM
# default to FLAC where supported
preferred-format=FLAC
# Various devices fail to pause on what they assume to be a live stream, require a stop command
# Can be overridden to true for specific devices
supports-pause=true
# Default to FLAC not supported even if the device claims otherwise
# Many report that they support FLAC yet fail to play an infinite length FLAC stream
supports-FLAC=false

manufacturer=Denon
model= Denon AVR-X2400H
supports-FLAC=true
preferred-format=FLAC

Device info:
Friendly name : Denon AVR-X2400H
IP address : 192.168.1.251
Manufacturer : Denon
Manufacturer URL : http://www.denon.com
Model : Denon AVR-X2400H
Model number : Aios 4.025

Supported formats:
http-get:*:audio/mpeg:*
http-get:*:audio/vnd.dlna.adts:*
http-get:*:audio/x-ms-wma:*
http-get:*:audio/x-ms-wma:*
http-get:*:audio/L16;rate=48000;channels=2:*
http-get:*:audio/L16;rate=48000;channels=1:*
http-get:*:audio/L16;rate=44100;channels=2:*
http-get:*:audio/L16;rate=44100;channels=1:*
http-get:*:audio/wav:*
http-get:*:audio/mp3:*
http-get:*:audio/flac:*
http-get:*:audio/aac:*
http-get:*:audio/m4a:*

I've tried all formats and it doesn't work on anything. Just doesn't want to play. I can only control volume via Foobar.
I have tried "Stream What You Hear" program and it doesn't play a sound also.
Both programs Foobar and Stream What You Hear detects my AVR but give no sound.
I have also tried windows media player and option "render to device" works fine and I can hear sound but cant change volume and it always stops after one song.
What is wrong ?

Hello, it can be that you need to open ports in firewall,
Hello everyone! 

First post here.  I cannot figure out what I am doing wrong but none of my devices ate showing under the "Device" tab under "Output" in the "Playback" section of the preferences.  In BubbleUPnp I see my Denon, Plex, Foobar, and DirectTV as Servers, all enabled. I see Foobar, Denon (x4400h), Sheild and JBL Link in Renders also in the BubbleUPnP Server. I have the Foobar plugin installed.  I see the UPnp Section under tools. So I do not understand why nothing is showing under devices.

I would really appreciate any help I can get as I have been dying to leave apple and airplay2 for years.  Thanks in advance!

Hello, it seems that many have this issue with not being able to play via upnp and dlna.
The Denon/Marantz AVR's and music players need these ports to be openend in firewall. This is quoted from Denons home page.
The following router ports should be open to ensure consistent network communication with your Denon network device.

Router Ports: 3813, 443, 80, 8080, 5020.

And you need also set so upnp ports to be open, like 1900 udp, 5350. And  you maybe need to enable igmp /icmp,, if you use Tidal you must enable this, cause Tidal relays heaily on this.
And if possible, like on Edge Router X, you must also enable IGMP downstream and upstream.
All these solved my issues complteley when i owned an Marantz SR7010 and wanted to use mconnext android app, and Tidal.
Try it and see if it solves your issues.
I hope for that, because Marantz and Denon are pratctily the same company these days.
I really hope you get it to work.
Title: Re: UPnP MediaRenderer output | discussion
Post by: novainfinity on 2022-09-26 04:22:22
Anyone has experience with the ifi Zen Stream? I can select the Stream but can't play anything out of it. The visualizer doesn't move, but seek bar moves for 5 seconds then stops. I can play music if I download the UPnP server component and find it through the Stream, but can't push audio through foobar which is what I want.
Title: Re: UPnP MediaRenderer output | discussion
Post by: gfxnow on 2022-09-27 19:34:38
Is this plugin need foo_upnp first?
Nope.
Title: Re: UPnP MediaRenderer output | discussion
Post by: Messer on 2022-11-02 19:43:37
In case anyone else wants it to work with Philips TV running Android (mine is OLED 806):

Code: [Select]
manufacturer=Philips
model=Philips TV DMR
forced-format=FLAC

or alternatively:

Code: [Select]
manufacturer=Philips
model=Philips TV DMR
preferred-format=FLAC
supports-FLAC=true


Of course I've tried all possible combinations of WAV/LPCM streams with associated tweaks, before discovering that the only format working perfectly is FLAC.
Title: Re: UPnP MediaRenderer output | discussion
Post by: Vicas on 2022-11-03 20:38:58
Code: [Select]
supports-pause=true

Also works on Philips TV with Android OS
Title: Re: UPnP MediaRenderer output | discussion
Post by: stop-spinning on 2023-03-01 09:27:24
Hello - I am looking for a streaming solution that can stream to a Marantz NA7004 UPnP renderer.

The NA7004 does not have any form of volume control so I would like to incoporate a good software volume control in the signal path from the stream.

I would also like to include online Radio Stations into my stream - for example Radio Swiss Jazz.

This is my ideal solution signal path:

Streaming software >> stream online radio stations >> DSP volume control >> NA7004 UPnP renderer.

With the ability to control the audio stream and the volume with an iPhone app.

Is all the above possible?
Title: Re: UPnP MediaRenderer output | discussion
Post by: tranceaddict on 2023-03-29 01:47:03
Heads up Sonos appear to have broken FLAC stream support on some speakers with a recent update, specifically one of my rooms consisting of a pair of One SLs and a gen1 sub.

When I select the Sonos room (the primary One SL in the stereo pair) from the output dropdown and play a file, the room briefly shows 'stream.flac' then disappears entirely from the Sonos app for a second before reappearing. foobar2000 remains in a 'playing' state at timestamp 0:00:00 until I hit stop.

My older Sonos speakers (Play One and Playbar) both still work as foobar2000 UPnP outputs. Interestingly, the One SLs have always behaved slightly differently, not supporting pause whereas the older speakers do.

I was able to resolve this by updating the UPnP MediaRenderer config to disable FLAC for Sonos.

manufacturer=Sonos, Inc.
supports-FLAC=false

Now it shows 'stream.wav' and works perfectly again.

Hope someone finds this useful!
Title: Re: UPnP MediaRenderer output | discussion
Post by: vadamin on 2023-04-25 04:14:08
Would it be possible to route the audio through the local Foobar stack ( (volume?--or a preamp like plugin), DSP, Visualizations ) before outputting to a renderer?

I'm sending to another Foobar instance on a workstation connected to a PA, which I can't see, but while I'm working on my computer, it would be nice to have these features work locally.
Title: Re: UPnP MediaRenderer output | discussion
Post by: papavlos on 2023-04-26 09:04:12
Would it be possible to route the audio through the local Foobar stack ( (volume?--or a preamp like plugin), DSP, Visualizations ) before outputting to a renderer?(...)
I think it is doing that by default. Just try it.

 I am referring to two computers with foobar in the same network: first with foo_out_upnp sending the stream and the second with foo_upnp as the renderer. You can control volume with the first one, the effect is immediate. You can also select and apply DSP plugins, but the effect is slightly delayed depending on the size of stream buffers.
I don't use other upnp renderers, so I don't know whether such control possibilities apply to Marantz, IFI or any other streaming devices.
Title: Re: UPnP MediaRenderer output | discussion
Post by: vadamin on 2023-04-26 12:24:28
The setup is exactly what you described.  When I try to use volume control I get the following error.  Also, I have musical spectrum visualization placed in a columui panel and it is not operational on the source computer.

Quote
Scalar volume control not supported with this device.
Please use volume up / volume down menu commands or keyboard shortcuts.
Title: Re: UPnP MediaRenderer output | discussion
Post by: komhst on 2023-04-26 20:55:04
It doesn't support Google Devices like Nest Mini, Nest Audio and Nest Hub?
How can these devices be seen in the plugin?
Title: Re: UPnP MediaRenderer output | discussion
Post by: SimBun on 2023-04-26 21:11:23
It doesn't support Google Devices like Nest Mini, Nest Audio and Nest Hub?
How can these devices be seen in the plugin?
They're not DLNA/UPnP renderers.
Have you tried proxying them to DLNA renderers with BubbleUPnP Server (https://bubblesoftapps.com/bubbleupnpserver2/docs/config_media_renderers.html#turning-chromecast-devices-into-a-audio-dlna-or-openhome-renderer)?
Title: Re: UPnP MediaRenderer output | discussion
Post by: komhst on 2023-04-26 21:15:20
It doesn't support Google Devices like Nest Mini, Nest Audio and Nest Hub?
How can these devices be seen in the plugin?
They're not DLNA/UPnP renderers.
Have you tried proxying them to DLNA renderers with BubbleUPnP Server (https://bubblesoftapps.com/bubbleupnpserver2/docs/config_media_renderers.html#turning-chromecast-devices-into-a-audio-dlna-or-openhome-renderer)?

I didn't know they are not DLNA/UPnP renderers... I asked because Mediamonkey 5 sees also these devices.

I'l check with the BubbleUPnP Server

Thank you for the reply
Title: Re: UPnP MediaRenderer output | discussion
Post by: komhst on 2023-04-27 10:59:26
It doesn't support Google Devices like Nest Mini, Nest Audio and Nest Hub?
How can these devices be seen in the plugin?
They're not DLNA/UPnP renderers.
Have you tried proxying them to DLNA renderers with BubbleUPnP Server (https://bubblesoftapps.com/bubbleupnpserver2/docs/config_media_renderers.html#turning-chromecast-devices-into-a-audio-dlna-or-openhome-renderer)?

Using the BubbleUPnP server, the plugin sees Google's devices but after a few seconds the playback stops. When I press "PLAY" it plays for a few more seconds and then stops again. Do you know why?
The same problem occurs regardless if I configure Google devices either as DLNA or OpenHome renderers. 

So, the only solution for steaming music to all my devices (Google's and Yamaha's) still remains Mediamonkey 5 
I would prefer foobar.
Title: Re: UPnP MediaRenderer output | discussion
Post by: SimBun on 2023-04-27 13:14:50
They're not DLNA/UPnP renderers.
Have you tried proxying them to DLNA renderers with BubbleUPnP Server (https://bubblesoftapps.com/bubbleupnpserver2/docs/config_media_renderers.html#turning-chromecast-devices-into-a-audio-dlna-or-openhome-renderer)?

Using the BubbleUPnP server, the plugin sees Google's devices but after a few seconds the playback stops. When I press "PLAY" it plays for a few more seconds and then stops again. Do you know why?
I don't unfortunately. I've just proxied a Nest speaker to DLNA and it's currently playing 16/44 FLAC's fine.
I've performed that test on foobar 1.6.12, UPnP MediaRenderer 1.4, BubbleUPnP Server 0.9-update46.
Do you have any DSP's active? Might be worth trying from a fresh portable install with just the UPnP MediaRenderer installed.

The same problem occurs regardless if I configure Google devices either as DLNA or OpenHome renderers. 
I'm surprised it even lists the OpenHome proxy. You shouldn't enable both in BubbleUPnP Server just the DLNA proxy as the foobar plugin can't control an OpenHome device, and it can cause conflict.

So, the only solution for steaming music to all my devices (Google's and Yamaha's) still remains Mediamonkey 5 
I would prefer foobar.
Given you've got multiple speakers is there a reason why you want to control them from a Windows machine? Would a UPnP server and an Android/iOS app not be more flexible?
Title: Re: UPnP MediaRenderer output | discussion
Post by: ΛRTΣM on 2023-06-04 14:10:34
Thanks to the author of the plugin, all works well. My configuration:

Sony TV KD-55XF8505
Config:
Code: [Select]
# Specific Sony device fixes
manufacturer=Sony Corporation
model=MediaRenderer
preferred-format=LPCM
#reports-time=true
supports-FLAC=true
ps
foobar2000-x64_v2.1_preview_2023-05-30

Title: Re: UPnP MediaRenderer output | discussion
Post by: bug80 on 2023-06-06 12:49:03
I recently updated to Foobar2000 v2.0 (32 bits, with UPnP MediaRenderer Output v1.4) and it looks like playing 96 kHz audio over my Sonos Connect no longer works. AFAIK this was never a problem before.

I currently have a workaround in place in the form of a DSP resampler to 48k, but I wonder if this isn't a bug?

There's a small chance that I already had a resampler running (globally) in the previous version, but I'm not sure. In that case: sorry for bothering ;)

EDIT: It looks like Sonos does not support sample rates > 48 kHz, so it may indeed be the case that I had a global resampler running previously... (https://developer.sonos.com/build/content-service-add-features/supported-audio-formats/flac-best-practices/)
Title: Re: UPnP MediaRenderer output | discussion
Post by: YOGAM on 2023-06-18 06:44:16
Hello everyone,
I tried to use UPnP Mediarender to stream multicanals music (5.1 DTS-CD files and 5.1 FLAC) to my Home Theatre Receiver (Denon AVR-X2600H). Unfortunately, when I do so, the music is "downmixed" to stereo.
Has anyone succeeded to stream multicanals musics using UPnP Mediarender or another Foobar plugin  ? Thanks! 
Title: Re: UPnP MediaRenderer output | discussion
Post by: AL1_1956 on 2023-07-03 21:40:37
Hello Everyone , first of all , I am French so as I am 67 yo my English is a little rusty.
Thank you Peter for this plugin , and I have a single question
Is it possible to output a multichannel (5.1) stream to a renderer
I see that Foobar output MCH when I send audio with HDMI directly to my Onkyo AVR and the Onkyo says PCM MCH
But when I send the same stream to My Orange TVBox which is connected with HDMI to the Onkyo the Onkyo says PCM 2.0
Thank You for answer and have a great day
Title: Re: UPnP MediaRenderer output | discussion
Post by: AL1_1956 on 2023-07-03 23:27:50
In complement to my first post , this is the renderer I'd like to play PCM MCH
I do not know if it is able to do such thing
=====================================================
Friendly name : Décodeur TV UHD
IP address : 192.168.1.11
Manufacturer : SoftAtHome
Manufacturer URL : http://www.softathome.com
Model : SoftAtHome Media Renderer
Model number : 1.7.19
Model description : DLNA 1.5 Compliant Media Renderer from SoftAtHome
Model URL : http://www.softathome.com
Serial number : 83237547

Supported formats:
http-get:*:text/xml:DLNA.ORG_PN=DIDL_S
http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_SM_ICO
http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_LRG_ICO
http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_TN
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/png:DLNA.ORG_PN=PNG_SM_ICO
http-get:*:image/png:DLNA.ORG_PN=PNG_LRG_ICO
http-get:*:image/png:DLNA.ORG_PN=PNG_TN
http-get:*:audio/L16;channels=1;rate=44100:DLNA.ORG_PN=LPCM
http-get:*:audio/L16;channels=2;rate=44100:DLNA.ORG_PN=LPCM
http-get:*:audio/L16;channels=1;rate=48000:DLNA.ORG_PN=LPCM
http-get:*:audio/L16;channels=2;rate=48000:DLNA.ORG_PN=LPCM
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_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_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/mpeg:DLNA.ORG_PN=MPEG_PS_NTSC
http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_PS_PAL
http-get:*:image/jpeg:*
http-get:*:image/gif:*
http-get:*:image/png:*
http-get:*:audio/wav:*
http-get:*:audio/x-wav:*
http-get:*:audio/wave:*
http-get:*:audio/mp4:*
http-get:*:audio/x-mp4:*
http-get:*:audio/mpeg4:*
http-get:*:audio/x-mpeg4:*
http-get:*:audio/m4a:*
http-get:*:audio/x-m4a:*
http-get:*:audio/3gpp:*
http-get:*:audio/aac:*
http-get:*:audio/flac:*
http-get:*:audio/x-flac:*
http-get:*:audio/ogg:*
http-get:*:audio/vorbis:*
http-get:*:video/x-divx:*
http-get:*:video/x-matroska:*
http-get:*:video/x-msvideo:*
http-get:*:video/avi:*
http-get:*:video/msvideo:*
http-get:*:video/vnd.avi:*
http-get:*:audio/avi:*
http-get:*:audio/x-matroska:*
http-get:*:video/mp2t:*
http-get:*:video/vnd.dlna.mpeg-tts:*
http-get:*:video/mp1s:*
http-get:*:video/mp2p:*
http-get:*:video/mpeg:*
http-get:*:video/mpeg2:*
http-get:*:video/mpv:*
http-get:*:video/mp4:*
http-get:*:video/x-mp4:*
http-get:*:video/mov:*
http-get:*:video/quicktime:*
http-get:*:video/x-quicktime:*
http-get:*:text/m3u:*
http-get:*:audio/x-mpegurl:*
http-get:*:audio/x-scpls:*
http-get:*:application/vnd.ms-wpl:*
http-get:*:video/x-ms-asf:*
Title: Re: UPnP MediaRenderer output | discussion
Post by: darcman on 2023-07-09 19:02:02
Hey this works great THANKS!!!...the only thing is the visualizations dont work. I guess this is a bug or fix needed???
Title: Re: UPnP MediaRenderer output | discussion
Post by: masterrossi on 2023-08-02 14:39:33
Hi, I installed this today, but my files don't start playing (and as such also no sound coming from my amplifier.

I try to play a FLAC 16 bit /44,1. But as soon as I press Play it freezes. Though, I get no error in the console.
Anyone, any ideas what it could be?

This is the device report:

Code: [Select]
Friendly name : Versterker
IP address : 192.168.1.108
Presentation URL : http://192.168.1.108
Manufacturer : Lenbrook Industries
Manufacturer URL : https://nadelectronics.com/
Model : NAD Amplifier C338
Model number : 1.0
Model description : NADAmpDMR
Model URL : https://nadelectronics.com/product/c-338-classic-digital-dac-amplifier/
Serial number : 1234567890

Supported formats:
http-get:*:audio/L16;rate=44100;channels=1:DLNA.ORG_PN=LPCM
http-get:*:audio/L16;rate=44100;channels=2:DLNA.ORG_PN=LPCM
http-get:*:audio/L16;rate=48000;channels=1:DLNA.ORG_PN=LPCM
http-get:*:audio/L16;rate=48000;channels=2:DLNA.ORG_PN=LPCM
http-get:*:audio/mpeg:DLNA.ORG_PN=MP3
http-get:*:audio/mp4:DLNA.ORG_PN=AAC_ISO
http-get:*:audio/3gpp:DLNA.ORG_PN=AAC_ISO
http-get:*:audio/mp4:DLNA.ORG_PN=AAC_ISO_320
http-get:*:audio/3gpp:DLNA.ORG_PN=AAC_ISO_320
http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=AAC_ADTS
http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=AAC_ADTS_320
http-get:*:audio/flac:*
http-get:*:audio/x-flac:*
http-get:*:audio/wav:*
http-get:*:audio/x-wav:*
http-get:*:application/ogg:*
http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMABASE
http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMAFULL
http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMAPRO
http-get:*:audio/aiff:*
http-get:*:audio/x-aiff:*

EDIT: the audio does play if I cast with VLC to the amplifier, or if I cast my full laptop to the amplifier. Both things, for I guess obvious reasons, I don't want.
Title: Re: UPnP MediaRenderer output | discussion
Post by: roc on 2024-01-06 21:43:40
Can I use this component to stream audio files from my PC with Foobar2000 installed, to my android phone? (in the Foobar2000 android app would be ideal).

The following component used to be able to do it, but it isn't 64bit compatible:
https://www.foobar2000.org/components/view/foo_upnp
Title: Re: UPnP MediaRenderer output | discussion
Post by: litemotiv on 2024-02-24 11:07:25
Hi, I installed this today, but my files don't start playing (and as such also no sound coming from my amplifier.

I try to play a FLAC 16 bit /44,1. But as soon as I press Play it freezes. Though, I get no error in the console.
Anyone, any ideas what it could be?

EDIT: the audio does play if I cast with VLC to the amplifier, or if I cast my full laptop to the amplifier. Both things, for I guess obvious reasons, I don't want.

Hopefully this plugin could get some love, as it seems a number of devices are currently not working that appear to work okay with e.g. VLC.

I have a similar situation, in my case the streamer has the following details:

Code: [Select]
Friendly name : SOLO
IP address : 10.0.0.3
Presentation URL : http://10.0.0.3
Manufacturer : LibreWireless
Manufacturer URL : http://www.librewireless.com
Model : LibreWireless
Model number : 1.0
Model description : LibreSyncDMR
Model URL : http://www.librewireless.com/Mediarenderer
Serial number : 1234567890

Supported formats:
http-get:*:audio/L16;rate=44100;channels=1:DLNA.ORG_PN=LPCM
http-get:*:audio/L16;rate=44100;channels=2:DLNA.ORG_PN=LPCM
http-get:*:audio/L16;rate=48000;channels=1:DLNA.ORG_PN=LPCM
http-get:*:audio/L16;rate=48000;channels=2:DLNA.ORG_PN=LPCM
http-get:*:audio/mpeg:DLNA.ORG_PN=MP3
http-get:*:audio/mp4:DLNA.ORG_PN=AAC_ISO
http-get:*:audio/3gpp:DLNA.ORG_PN=AAC_ISO
http-get:*:audio/mp4:DLNA.ORG_PN=AAC_ISO_320
http-get:*:audio/3gpp:DLNA.ORG_PN=AAC_ISO_320
http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=AAC_ADTS
http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=AAC_ADTS_320
http-get:*:audio/flac:*
http-get:*:audio/x-flac:*
http-get:*:audio/wav:*
http-get:*:audio/x-wav:*
http-get:*:application/ogg:*
http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMABASE
http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMAFULL
http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMAPRO
http-get:*:audio/aiff:*
http-get:*:audio/x-aiff:*

Firewall rules are in place, when pressing play the console reports:

Code: [Select]
[UPnP] Opening device:
[UPnP] manufacturer=LibreWireless
[UPnP] model=LibreWireless
[UPnP] name=SOLO
[UPnP] Stream format: 16-bit 44100Hz 2ch
[UPnP] Device protocol info:
[UPnP] http-get:*:audio/L16;rate=44100;channels=1:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=44100;channels=2:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=48000;channels=1:DLNA.ORG_PN=LPCM,http-get:*:audio/L16;rate=48000;channels=2:DLNA.ORG_PN=LPCM,http-get:*:audio/mpeg:DLNA.ORG_PN=MP3,http-get:*:audio/mp4:DLNA.ORG_PN=AAC_ISO,http-get:*:audio/3gpp:DLNA.ORG_PN=AAC_ISO,http-get:*:audio/mp4:DLNA.ORG_PN=AAC_ISO_320,http-get:*:audio/3gpp:DLNA.ORG_PN=AAC_ISO_320,http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=AAC_ADTS,http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=AAC_ADTS_320,http-get:*:audio/flac:*,http-get:*:audio/x-flac:*,http-get:*:audio/wav:*,http-get:*:audio/x-wav:*,http-get:*:application/ogg:*,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMABASE,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMAFULL,http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMAPRO,http-get:*:audio/aiff:*,http-get:*:audio/x-aiff:*
[UPnP] Listening on: 10.0.0.13
[UPnP] Stream address: http://10.0.0.13:63096/1/stream.l16
[UPnP] HTTP request #1: HTTP/1.1 HEAD /1/stream.l16
[UPnP] HTTP concurrency: 1
[UPnP] Source: 10.0.0.3:56784
[UPnP] User-Agent: CyberGarage-HTTP/1.0
[UPnP] HOST: 10.0.0.13:63096
[UPnP] Accept: text/html,application/xhtml+xml,application/xml;q=0.9,audio/*;q=0.6
[UPnP] Serving LPCM
[UPnP] TransferMode.dlna.org: Streaming
[UPnP] Server: UPnP/1.0 DLNADOC/1.50, foobar2000/2.x
[UPnP] Content-Type: audio/L16;rate=44100;channels=2
[UPnP] Connection: close
[UPnP] Accept-Ranges: none
[UPnP] HTTP request #1 finished
[UPnP] HTTP concurrency: 0
[UPnP] transport op: Play
[UPnP] HTTP request #2: HTTP/1.1 GET /1/stream.l16
[UPnP] HTTP concurrency: 1
[UPnP] Source: 10.0.0.3:56786
[UPnP] User-Agent: stagefright/1.2 (Linux;Android
[UPnP] isTimeSeek: 0
[UPnP] Host: 10.0.0.13:63096
[UPnP] Connection: keep-alive
[UPnP] Accept-Encoding: gzip,deflate
[UPnP] Serving LPCM
[UPnP] TransferMode.dlna.org: Streaming
[UPnP] Server: UPnP/1.0 DLNADOC/1.50, foobar2000/2.x
[UPnP] Content-Type: audio/L16;rate=44100;channels=2
[UPnP] Connection: close
[UPnP] Accept-Ranges: none
[UPnP] transport op "Play" fail: Action Failed after 0:00.092049
[UPnP] == LAST REPLY XML ==
[UPnP] <?xml version="1.0" encoding="utf-8"?>
<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 ==
Unrecoverable playback error: Action Failed
[UPnP] HTTP request #2 finished
[UPnP] HTTP concurrency: 0
[UPnP] UPnP begin enum devices
[UPnP] UPnP device: SOLO :: http://10.0.0.3:38400/description.xml
[UPnP] UPnP end enum devices
Title: Re: UPnP MediaRenderer output | discussion
Post by: sacduser on 2024-02-24 14:56:45
Argon Solo does not support UPnP, but Chromecast is supported. Think you are using Chromecast when playing from VLC to Solo. You can play from Foobar2000 to Solo using BubbleUPnP server.
Title: Re: UPnP MediaRenderer output | discussion
Post by: litemotiv on 2024-02-24 15:37:36
Argon Solo does not support UPnP, but Chromecast is supported. Think you are using Chromecast when playing from VLC to Solo. You can play from Foobar2000 to Solo using BubbleUPnP server.

Thanks sacduser, i'm not sure what VLC uses, do you know how i can check that?

When i use BubbleUPnP itself (the player), the Argon Solo shows 2 interfaces: Chromecast and DLNA, i can use those interchangeably.

Another client that is able to stream to the Solo is MusicBee, that one doesn't support Chromecast but uses a UPnP/DLNA plugin:

https://getmusicbee.com/addons/plugins/11/upnp-dlna-device-support/

[edit]

This is how the Solo is reported in BubbleUPnP client:

(https://i.imgur.com/KVaxtA5.jpeg)