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

foo_upnp

Reply #175
Great plugin! Posted a guide on how to use this to stream music to your iPhone remotely. http://nerdlets.org/2009/05/07/set-up-a-up...ith-foobar2000/


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

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


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

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

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

foo_upnp

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

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

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


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

foo_upnp

Reply #177
I have question about UPnP Controller Playback Queue playlist:
When using foo_utils "add to playlist" it can't sent to this playlist, but adding from anywhere else is ok. Rearranging, removing, everything is like in normal playlist except this sending from playlist to this playlist.
Is this on purpose?

foo_upnp

Reply #178
I have question about UPnP Controller Playback Queue playlist:
When using foo_utils "add to playlist" it can't sent to this playlist, but adding from anywhere else is ok. Rearranging, removing, everything is like in normal playlist except this sending from playlist to this playlist.
Is this on purpose?


This playlist is locked because it redefines the default action on items, and foo_utils seems to just disallow sending items to a locked playlist even if the locked playlist would accept those items (this is the case for the Controller Playlist).

foo_upnp

Reply #179
Ok, thanks for answering my silly question, at least it is foo_utils related
BTW, using foo_utils "remove from playlist" somehow removes items from UPnP queue

foo_upnp

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

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

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


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


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

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

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


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

foo_upnp

Reply #181
Having said that, Firefox doesn't like it either:

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

foo_upnp

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

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


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


There's 2 solutions:

- make a request to the PlugPlayer author to encode the login:password part of the URL as an Authorization HTTP header. This is pretty much trivial to do
- I change the plugin to handle URLs of the style http://hostname:port/login_password. That will work if PlugPlayer do not assume the URL must end at port (ie discard the path part of the URL). I'll probably implement this as this is also trivial to do.

foo_upnp

Reply #183
Having said that, Firefox doesn't like it either:

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



This is possible. Going to look into it

foo_upnp

Reply #184
0.99.2 (first post to download)

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

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

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

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

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

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

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

foo_upnp

Reply #185
0.99.3

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


It is advised you upgrade to this version as the crash fixed is quite severe.

foo_upnp

Reply #186
Thanks for keeping up with this project, I really appreciate it! Just updated to the latest version

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

foo_upnp

Reply #187
Thanks for keeping up with this project, I really appreciate it! Just updated to the latest version

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


If you can reproduce it, submit the crash in foobar when asked, it'll help finding the cause.
You can also PM me the crash log you got.


foo_upnp

Reply #189
Thanks for the updated version. Now works perfectly fine on Windows 7.






Oh yeah baby!

foo_upnp

Reply #190
Can anyone suggest a way to stream music from a home computer with blocked ports and no access to the router?  I have some web hosting with SSH access and a computer at work if that helps.

foo_upnp

Reply #191
Can anyone suggest a way to stream music from a home computer with blocked ports and no access to the router?  I have some web hosting with SSH access and a computer at work if that helps.

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

Edit: Note that it might confuse with other VPN clients, so if you have such thing installed on your work machine it might work unexpectedly. I had huge problems with my VPN client - Worked fine at start, but after a reboot nothing worked.
Can't wait for a HD-AAC encoder :P

foo_upnp

Reply #192
bubbleguuum, thank you very much for the media renderer implementation. I can't believe you implemented it that fast - just came here to check for updates. It works flawlessly - great to have - thanks for the work you put into this!

foo_upnp

Reply #193
Thank you for the plugin...works without a lot of fuss, and I like that!

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

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

Thank you!

foo_upnp

Reply #194
New version out! Still a beta so if there are crashes, please submit them!

0.99.4

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


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


EDIT: fixed a last minute bug in the Renderer so redownload if necessary.

 

foo_upnp

Reply #195
Thanks for the great plugin!  I have one problem in that it does not always seem to retrieve the Artist tag.  Album, track number, and song title are all ok, but the Artist only seems to appear once in a while.  (I haven't been able to find a pattern for what makes foo_upnp unable to retrieve Artist information.)

I am streaming the music from a QNAP 209 NAS device running Twonky 4.4.9.  I've tried running XBMC on my computer to play music and it does pick up the artist information where foo_upnp is not able to.

foo_upnp

Reply #196
I was using the plugin for the past couple day. Works really well, I love it already.

One suggestion though:

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

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

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


foo_upnp

Reply #197
Thanks for this plugin, exactly what I was looking for and brand new 

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

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


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

Again, great plugin. I'm hoping to make a proper media server, pull down files into foobar onto my desktop, and have my laptop able to control playback.

foo_upnp

Reply #198
Glad to see Preliminary PlugPlayer support. Gonna test this out tonight. Will post on my blog if it works well. Looking forward to it, so thanks for your excellent work!

foo_upnp

Reply #199
Thank you for the Plug-in!  working very well so far    .  The renderer I started 6 months ago has hit a snag that I can't seem to get help with.  I started the project to build a high-end renderer for PC and to try to get back into programming.  My project is 95% finished.  But I might not finish it due to getting no help (which is what I thought a forum was for...but?) and the fact that your plugin is AWESOME! so far.

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

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

Thank you

Darren