Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: UPnP MediaRenderer output | discussion (Read 238713 times) previous topic - next topic
0 Members and 3 Guests are viewing this topic.

UPnP MediaRenderer output | discussion

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

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.
Microsoft Windows: We can't script here, this is bat country.

UPnP MediaRenderer output | discussion

Reply #1
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.

UPnP MediaRenderer output | discussion

Reply #2
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.

UPnP MediaRenderer output | discussion

Reply #3
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

UPnP MediaRenderer output | discussion

Reply #4
@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.

UPnP MediaRenderer output | discussion

Reply #5
I received an internal error upon install - had to remove it in safe mode in order to get foobar running again.

UPnP MediaRenderer output | discussion

Reply #6
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".

UPnP MediaRenderer output | discussion

Reply #7
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

UPnP MediaRenderer output | discussion

Reply #8
Nice. Works on my Philips TV.

UPnP MediaRenderer output | discussion

Reply #9
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...

UPnP MediaRenderer output | discussion

Reply #10
@ 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

UPnP MediaRenderer output | discussion

Reply #11
works wunderful with a denon dnp-720ae network player with windows 8, both renderer and media server. no comparison to wmp.

UPnP MediaRenderer output | discussion

Reply #12
Does not work with my WDTV (latest firmware). Bummer.

UPnP MediaRenderer output | discussion

Reply #13
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



UPnP MediaRenderer output | discussion

Reply #14
Hey all ... got this showing my Galaxy S3 via Bubble, but when I play files nothing happens? Am I missing something?

UPnP MediaRenderer output | discussion

Reply #15
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

UPnP MediaRenderer output | discussion

Reply #16
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.

UPnP MediaRenderer output | discussion

Reply #17
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.

UPnP MediaRenderer output | discussion

Reply #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/ 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.


UPnP MediaRenderer output | discussion

Reply #19
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.

UPnP MediaRenderer output | discussion

Reply #20
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

UPnP MediaRenderer output | discussion

Reply #21
So just so we're clear, this cannot be used to stream music to an Xbox 360?

UPnP MediaRenderer output | discussion

Reply #22
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).

 

UPnP MediaRenderer output | discussion

Reply #23
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!

UPnP MediaRenderer output | discussion

Reply #24
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

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.