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 1627579 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

foo_upnp

Reply #200
I agree, the playback buttons in foobar control the local player, would it be possible to make a new buttonbar/seekbar/volume control that would control the remote media renderer?


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

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


It is not possible as UPnP AV does not specify anything about playlist management. There's no way to have a remote (on the renderer) an local (ie Controller) playlist stay in sync for example. The most you can
do is tell the renderer "play this URL" or "play this group of URLs (stored in a .m3u)". AFAIK Linn has done some extensions to support playlist management but it is not standard.

foo_upnp

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


Maybe. This is somewhat in the todo list but not a high priority

foo_upnp

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


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

EDIT: you can try to set a column to $meta(artist,0) and see if it always display the artist.

foo_upnp

Reply #203
Alrighty. I can confirm that all this works remotely with an iPhone via PlugPlayer. There is currently a bug in PlugPlayer that prevents it from remembering your customized settings once it shuts down, but the developer has promised that this is fixed in an upcoming release.

I updated my guide on my blog to account for the new features. Check it out. http://nerdlets.org/2009/05/07/set-up-a-up...ith-foobar2000/

foo_upnp

Reply #204
EDIT: you can try to set a column to $meta(artist,0) and see if it always display the artist.


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

foo_upnp

Reply #205
I'm using foobar2000 0.9.6.7 and foo_upnp 0.99.4 and I get an error message when trying to connect to any remote server: "Could not connect to remote foobar2000 server.". Still the plugin connects to the server and I can browse and playback the content.
It's only audiophile if it's inconvenient.

foo_upnp

Reply #206
Small bugfix release

0.99.5

- fix (regression): controller: crash under CUI if removing UPnP Controller panel and adding it back later if a Renderer had been previously listed
- fix (regression): browser: wrongly displayed error message on successful connection to remote foobar2000 server
- fix: browser: attempt to fix a mysterious rare crash when browsing

foo_upnp

Reply #207
thanks for the fix
It's only audiophile if it's inconvenient.

foo_upnp

Reply #208
Hi - firstly would like to say thanks for this plugin, it works excellently.

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

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


foo_upnp

Reply #209
...Also, getting some stuttering (dropping out of audio for a split-second). This happens despite the fact that neither my network or CPU are anywhere near max capacity. Streaming to PS3 with all reccomended presets.

foo_upnp

Reply #210
Hi,

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

I have the following setup:

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

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

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

Thanks

foo_upnp

Reply #211
0.99.6

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



@thaihugo: I couldn't make this renderer play anything, have to investigate.

foo_upnp

Reply #212
bubbleguum,

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

Thanks!
Rick

foo_upnp

Reply #213
bubbleguum,

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

Thanks!
Rick



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

Try 0.99.3 here and tell me if it works better: http://bubbleguuum.free.fr/foo_upnp/0.99.3/foo_upnp.dll

 

foo_upnp

Reply #214
That brought back my music, although my other problems obviously haven't been resolved. I still have some skipping over PCM (which could be due to using wireless on the server...though I'm not completely sure), and when I try to transcode to MP3, I get an HTTP error (416). Thanks for your continued work on this component though!

foo_upnp

Reply #215
That brought back my music, although my other problems obviously haven't been resolved. I still have some skipping over PCM (which could be due to using wireless on the server...though I'm not completely sure), and when I try to transcode to MP3, I get an HTTP error (416). Thanks for your continued work on this component though!


Alright things broke at 0.99.4 as I suspected. MP3 transcoding is missing something to work on the PS3 with this plugin.
Never tried streaming over wifi so I'm not surprised there could be issues, as the PS3 is a very capricious device.

foo_upnp

Reply #216
Hi,

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

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

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

Pls help
Thx in advance

FIST

/e: Do I have to install any LAME packages? I installed the upnp-foobar-server on a quite clean machine without any codecs and stuff - just the default foobar installation.

foo_upnp

Reply #217
@thaihugo: I couldn't make this renderer play anything, have to investigate.


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

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

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

foo_upnp

Reply #218
@thaihugo: I couldn't make this renderer play anything, have to investigate.


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

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

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



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


0.99.7

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

foo_upnp

Reply #219
Hi,

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

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

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


transcoding any file at 32Kbps works, you can verify the bitrate (which is between 32-40Kbps) using foobar2000 to stream from the server.

foo_upnp

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


0.99.7

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


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

Thanks a lot for this update!

foo_upnp

Reply #221
Thanks for testing. Note that transcoded files do not play on the iPhone renderer yet (you'll get an error). This renderer could see some improvements though, to fix the track info issues and a few other ones.

Moderation: Removed useless full quote of the preceding post.

foo_upnp

Reply #222
That brought back my music, although my other problems obviously haven't been resolved. I still have some skipping over PCM (which could be due to using wireless on the server...though I'm not completely sure), and when I try to transcode to MP3, I get an HTTP error (416). Thanks for your continued work on this component though!


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

Tested with 2 routers over Wifi, happens on both.

Core 2 Quad / 4gig RAM / Vista x64 / Wifi 100% signal to PS3

foo_upnp

Reply #223
Hi,

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

Thanks.

/e: I try to be more specific:

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

foo_upnp

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