Skip to main content

Notice

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

foo_upnp

Reply #225
Only from work I can not connect, where I am behind a proxy.


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


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

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

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

Thanks for your help.
Would be great to get this to work, I tried Winamp remote as an alternative - it works, but it really sucks...

foo_upnp

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


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

EDIT: if you can make a VPN to your home PC it would (probably) work also.

foo_upnp

Reply #227
Ok, both of your workarounds are unfortunately not really doable in my company, its too big and too security driven... ;-)
I'll test the VPN thing, but my bandwith is just good enough for the stream, I'm not sure if it still works while tunneled.

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

Moderation: Removed useless full quote of the preceding post.

foo_upnp

Reply #228
I cant get this work in net, working realy well in lan, dont know how to forward port in kerio winroute firewwall 

 

foo_upnp

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


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

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

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

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

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

foo_upnp

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


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

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

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

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

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



The PS3 preset of foo_upnp set the server to stream everything as LPCM, which requires more bandwidth but is more compatible. In the "Streamed audio" server
configuration, you can configure it to stream MP3, WMA, AAC as is (ie not decoded to PCM). For that just uncheck "Apply to all formats". I suppose this is what TVersity and others do, transcoding
to LPCM only when necessary, when the PS3 cannot decode the file directly.

foo_upnp

Reply #231
I cant get this work in net, working realy well in lan, dont know how to forward port in kerio winroute firewwall 


If your PC is directly wired to the Internet, you just need to configure Kerio to authorize incoming traffic on the server's configured port.

foo_upnp

Reply #232
The PS3 preset of foo_upnp set the server to stream everything as LPCM, which requires more bandwidth but is more compatible. In the "Streamed audio" server
configuration, you can configure it to stream MP3, WMA, AAC as is (ie not decoded to PCM). For that just uncheck "Apply to all formats". I suppose this is what TVersity and others do, transcoding
to LPCM only when necessary, when the PS3 cannot decode the file directly.


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

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

I hope this is of help.

foo_upnp

Reply #233
LPCM streaming to the PS3 via WLAN seems to work very well. Album Art streaming would be the icing on the cake. 

Thank you very much for this amazing component!

foo_upnp

Reply #234
Thanks for this update, my PS3 plays wireless without interrupts now.
I am so happy to get rid of WMP and TVersity now.
Fantastic job!


foo_upnp

Reply #235
Component version 0.99.7

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

Successful browsing:


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


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


Username and password blanked.


Note that the problem persists regardless of the state of the replaygain checkbox.

Suggestions?

foo_upnp

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


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


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

foo_upnp

Reply #237
I found something strange. I am able to browse and send items to playlist with foobar2000 in a remote machine, however information does not come complete unless I play the tracks remotely. See image below. First 8 tracks were played remotely and information is fine. The rest was not played and information is missing in the playlist.



using foobar2000 0.9.6.8 and foo_upnp 0.99.7

Any ideas on how to fix this? Thanks!!

foo_upnp

Reply #238
Any ideas on how to fix this? Thanks!!


This is normal: some track info (such as bitrate) is not available at browse time, only when the track is played it is then retrieved by foobar's http decoder.

foo_upnp

Reply #239
I am still trying to add this to my current setup, can anyone post any examples of their setup?
Thanks




foo_upnp

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


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


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

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

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

Thanks for the great plug-in.  It works well and is very simple to use.

foo_upnp

Reply #244

What do you want to know specifically ?

Just how people intergrate it into their default or columns UI


Here's a quick how-to for the default UI:
- Preferences: Display: Default User Interface ==> Enable layout editing mode
- Right click on the box in foobar2000 where you would like the UPNP Browser to appear (the album list is a great location), and select "Replace UI element" (don't worry, this will still keep what is there!)
- Select the container type: Tabs  (when you hit OK, you'll notice that the original content is still there, it just resides in a tab now)
- Right click on the tab and select "Add new Tab" (note that you can rename the tab by right clicking on it and selecting "Rename tab")
- Left click in the blank area under the new tab and you can select what content to put in there, choose: UPNP Browser
- Preferences: Display: Default User Interface ==> Uncheck Enable layout editing mode

foo_upnp

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

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


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


If this option is enabled and you upnp browse a playlist containing http items (for example a netradio stream), the http URL is passed "as is" to the client and the client directly decodes it. If it is not enabled, the UPnP server act as a proxy (do the decoding) and the client stream from the UPnP server like it does for normal (file) items. The second option can be the only way for the client to play the http stream if it can't decode it directly (for example it it can't handle the codec) or doesn't have network connectivity.

foo_upnp

Reply #246
I installed latest upnp on my "music server player" and my client in order to control my foobar from another PC. I didn't work

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

foo_upnp

Reply #247
I installed latest upnp on my "music server player" and my client in order to control my foobar from another PC. I didn't work

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


I think you misundertood how the Controller works. The tracks to be played by the remote renderer is managed by a playlist called "UPnP Controller playback queue". Click on the PL button to show this playlist, it is initially empty. You add items to it using the context menu on some audio items (either local items or upnp items from a remote server)  and using "UpnP Conroller -> Enqueue on <renderer name>", you can also drag items to it. Double clicking an item in it will make the remote renderer play that track. the ">>" and "<<" controller buttons will just advance in that playlist. If it is empty it will probably just stop. "Play" just tell the remote renderer to play the selected track in this playlist.

foo_upnp

Reply #248
Hi,
I've got a Nokia N78 with UPnP support. It works with other UPnP-Servers like "Simplecenter" and "Orb", but unfortunately the foobar upnp server doesnt show up in the phone.
Is foo_upnp only compatible with the things listed in the media server presets?
What must I do to get it working?

Any help is greatly appreciated!

foo_upnp

Reply #249
Hi,
I've got a Nokia N78 with UPnP support. It works with other UPnP-Servers like "Simplecenter" and "Orb", but unfortunately the foobar upnp server doesnt show up in the phone.
Is foo_upnp only compatible with the things listed in the media server presets?


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