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

foo_upnp

Reply #1125
Hi, any idea what Stop Error: Action failed (501) means and how to fix it?

I'm getting it quite regularly and the whole thing freezes. Even if i close FB2k and reopen it, the error message remains and nothing works until i reboot.

trying to play to a LaCie MiniHD...



It means  that this device didn't like being stopped by the Controller. Record a log so I can have a look (first post for instruction on how to log).

foo_upnp

Reply #1126
Hi bubbleguuum, thanks for a making a great foobar2000 component.  I would like to request a way to 'Refresh' the list of songs on a remote playlist.  If songs are added to a remote playlist that is already being viewed on the local foobar2000 instance, you have to restart the program to get updated list results.

Please let me know if I'm being unclear.



This is something I want to do

foo_upnp

Reply #1127
still no luck on samsung ue40c7700...  volume-control and applying changes to streaming profiles-settings (connection gets reset) seems to work, but its not starting to play anything (of course i have tracks added to UPnP Controller Playback Queue). anything else i could do wrong? is it helpful to post log again or can you already tell that it won't work with this samsung series? thx anyways for adding this feature to foobar! not giving up on hoping for a working connection between samsung some day...



This is a known issue. The component is not full DLNA compliant and some devices (like those TV) are super not tolerant if they don't get the answer they expect.
And the fact that I don't have such a device do not help.

foo_upnp

Reply #1128
Wow! Just discovered this, it works fantastically with my iphone!
I still don't undersdant one thing though: if i would want to access my media server from another device out of my home network, what would i need?


It depends on what device you'll be using. Can you be more specific ?


I want to access the server from my home PC. My server currently is my laptop. I actually just downloaded foobar and foo_upnp in my home PC, but i have no idea how to access the server. In this case, laptop & PC are both on the same network.

foo_upnp

Reply #1129
I want to access the server from my home PC. My server currently is my laptop. I actually just downloaded foobar and foo_upnp in my home PC, but i have no idea how to access the server. In this case, laptop & PC are both on the same network.


Install foo_upnp on your PC then use the UPnP Browser (as a UI Element that you add to your layout or via View>UPnP Browser) to browse the server (laptop).

foo_upnp

Reply #1130
I witness a problem very similar to i b listening is experiencing (http://www.hydrogenaudio.org/forums/index.php?showtopic=69664&view=findpost&p=742921). I'm not sure whether it is foo_upnp or WDTVLive specific though.

0.99.31, default settings. when I'm trying to use "Play on..." UPNP Controller feature, playback successfully starts on remote device, and stops after a few seconds. It takes a several tries on the same song, including changes to streaming profile 'always transcode to mp3' and back to default 'never', to make "Play on..." work without interruption.

here are logs of interrupted "Play on..." sessions: default settings and mp3 transcode always.


I'll see if I can sort out where this invalid notification comes from.



More about this. It is a WD bug and I totally forgot that I posted about it in their forums some months ago. Someone go bug them until they fix it !


 

foo_upnp

Reply #1131
I witness a problem very similar to i b listening is experiencing (http://www.hydrogenaudio.org/forums/index.php?showtopic=69664&view=findpost&p=742921). I'm not sure whether it is foo_upnp or WDTVLive specific though.

0.99.31, default settings. when I'm trying to use "Play on..." UPNP Controller feature, playback successfully starts on remote device, and stops after a few seconds. It takes a several tries on the same song, including changes to streaming profile 'always transcode to mp3' and back to default 'never', to make "Play on..." work without interruption.

here are logs of interrupted "Play on..." sessions: default settings and mp3 transcode always.



This is indeed the same problem than reported by i b listening. At some point the WD Live makes a HTTP request notifying of some state change to foo_upnp. However theres a problem with this notification (it is unclear on which side the problem is at this point) and foo_upnp HTTP server responds with code 412.
After that, a subsequent HTTP request from foo_upnp to the WD Live fails with a connection refused, as a vengeance.

I'll see if I can sort out where this invalid notification comes from.

Did that problem existed with 0.99.29 (I exepect that it did since nothing changed in this area).


The problem did exist with 0.99.29  (and with all versions of the WDTV Live Plus firmware they have released in the last 8 months). Thanks for looking into this.

I do have another question: in an earlier post, you had mentioned a possible enhancement to the tree.xml file that would allow one to split nodes for specific sub-trees. Did you get a chance to implement this? If so, where would one find out how to implement this?


foo_upnp

Reply #1132
I witness a problem very similar to i b listening is experiencing (http://www.hydrogenaudio.org/forums/index.php?showtopic=69664&view=findpost&p=742921). I'm not sure whether it is foo_upnp or WDTVLive specific though.

0.99.31, default settings. when I'm trying to use "Play on..." UPNP Controller feature, playback successfully starts on remote device, and stops after a few seconds. It takes a several tries on the same song, including changes to streaming profile 'always transcode to mp3' and back to default 'never', to make "Play on..." work without interruption.

here are logs of interrupted "Play on..." sessions: default settings and mp3 transcode always.



This is indeed the same problem than reported by i b listening. At some point the WD Live makes a HTTP request notifying of some state change to foo_upnp. However theres a problem with this notification (it is unclear on which side the problem is at this point) and foo_upnp HTTP server responds with code 412.
After that, a subsequent HTTP request from foo_upnp to the WD Live fails with a connection refused, as a vengeance.

I'll see if I can sort out where this invalid notification comes from.

Did that problem existed with 0.99.29 (I exepect that it did since nothing changed in this area).


The problem did exist with 0.99.29  (and with all versions of the WDTV Live Plus firmware they have released in the last 8 months). Thanks for looking into this.

I do have another question: in an earlier post, you had mentioned a possible enhancement to the tree.xml file that would allow one to split nodes for specific sub-trees. Did you get a chance to implement this? If so, where would one find out how to implement this?




Some other notes on the initial problem:

1.  I have tested a bunch of Windows based DMCs with the WDTV. The only one that works consistently is the Windows 7 Media Player "Play To". If you have a protocol analyzer, you could check what kind of commands they are using. Foo_upnp was the next best, working sometimes. None of the other ones would play anything.

2.  The problem seems to be independent of any of the transcoding settings/streaming profiles. The user-agent name I was using was "WDTV LIVE".

3.  It seemed to always fail if I tried to send a block of songs (more than 2) to the WDTV. If I sent one or two, it would occasionally work.

Hope this helps.

foo_upnp

Reply #1133
I want to access the server from my home PC. My server currently is my laptop. I actually just downloaded foobar and foo_upnp in my home PC, but i have no idea how to access the server. In this case, laptop & PC are both on the same network.


Install foo_upnp on your PC then use the UPnP Browser (as a UI Element that you add to your layout or via View>UPnP Browser) to browse the server (laptop).

Ok this works great. What if i want to access my media server from another PC on another network?

foo_upnp

Reply #1134
I recently set up a foobar2000 UPnP server on one PC and made it accessible from the internet. I tried PlugPlayer for Android, but I was unable to connect to the server (error reading URL or something like that). I used these instructions from a user here. I find the format http://dummy.homedns.org:9001/namepassword to be a bit weird, how would the server be able to distinguish the name from the password?

I forgot to try http://name:password@dummy.homedns.org:9001/ though... is this actually how it is supposed to work?

foo_upnp

Reply #1135
I recently set up a foobar2000 UPnP server on one PC and made it accessible from the internet. I tried PlugPlayer for Android, but I was unable to connect to the server (error reading URL or something like that). I used these instructions from a user here. I find the format http://dummy.homedns.org:9001/namepassword to be a bit weird, how would the server be able to distinguish the name from the password?

I forgot to try http://name:password@dummy.homedns.org:9001/ though... is this actually how it is supposed to work?


Yes, this should work (let me know if it doesn't) if the Android version of PlugPlayer uses name:password to contruct the HTTP Authorization header.
The other URL with namepassword was only a hack used at the time PP did not support the Authorization header. And I think
it worked only with iOS PlugPlayer.



foo_upnp

Reply #1136
Ok, I'll try that later when I get to it. Didn't have time to try it before, due to the 15 min. time limit in which you can refund the purchase (of PlugPlayer in this case)


foo_upnp

Reply #1138
Hm, still get "Error reading URL" with the format http://name:password@dummy.homedns.org:9001/ unfortunately.


Forgot to say that you should specify DeviceDescription.xml in the URL path:

Code: [Select]
http://name:password@dummy.homedns.org:9001/DeviceDescription.xml


Anyway, i'll try that myself later today

foo_upnp

Reply #1139
Ooooh, ok thank you, that worked .

Btw. is that documented somwhere yet (and I missed it?)?

foo_upnp

Reply #1140
Ooooh, ok thank you, that worked .

Btw. is that documented somwhere yet (and I missed it?)?


Indeed, it is not really documented.

0.99.32 released:

Code: [Select]
- chg: ninjaworkarounded WDTV eventing bug which randomly (between server restarts) broke subsequent play (Connection refused)
- new: foo_upnp_ml_tree.xml: ability to split a specific ML node by first letter:
    <spec type="object.container.album.musicAlbum" split_by_first_letter="true">%album%[ '['%album artist%']']</spec>

foo_upnp

Reply #1141
I do have another question: in an earlier post, you had mentioned a possible enhancement to the tree.xml file that would allow one to split nodes for specific sub-trees. Did you get a chance to implement this? If so, where would one find out how to implement this?


Implemented in 0.99.32

foo_upnp

Reply #1142
I do have another question: in an earlier post, you had mentioned a possible enhancement to the tree.xml file that would allow one to split nodes for specific sub-trees. Did you get a chance to implement this? If so, where would one find out how to implement this?


Implemented in 0.99.32



Thanks Bubbleguuum. Both improvements in 0.99.32 work great.

foo_upnp

Reply #1143
I'm trying to stream to my LG TV but it is having trouble connecting to Foobar:uPnP and display a list of files. Would the log below help to isolate what the problem is? It looks like it's having trouble with a upnp:class call.
New version below should fix this issue.
A new version finally. No major new feature but some bugfixes and refinements here and there (see first post to download or use autoupdate in foobar2000).
Code: [Select]
v 0.99.31

The system never gave me notification--I didn't check Enable email notification of replies--and I only had the time to check the thread now. I autoupdated to 0.99.32 and it now works...great!

Thanks

foo_upnp

Reply #1144
I have exactly the same problem whith my Samsung LE40c650, even whith version 0.99.32. My TV can see the server and the folders (playlists, Media library, Playback stream capture) but when trying to enter a folder I get a error message on my tv-screen. Any ideas?

Code: [Select]
foo_upnp: 184.625: FbMediaServer::OnAction(254)/2388: INFO: received action 'Browse', args = { ObjectID=0/1, BrowseFlag=BrowseMetadata, Filter=@parentID, StartingIndex=0, RequestedCount=0, SortCriteria= }
foo_upnp: 184.625: PLT_MediaServer::OnBrowse(361)/2388: WARNING: Invalid arguments (0, 0, @parentID)
foo_upnp: 184.625: FbMediaServer::OnAction(271)/2388: INFO: action 'Browse' response: args = { ObjectID=0/1, BrowseFlag=BrowseMetadata, Filter=@parentID, StartingIndex=0, RequestedCount=0, SortCriteria= }



foo_upnp

Reply #1145
I'm new to this, so forgive me if I'm a bit ignorant.

I've had foobar (1.1) working fine for some time, and installed the latest UPnP plugin yesterday.  I have got the browser working, connecting via Whitebear to my Squeezebox Server, and the controller controls my Logitech Touch with no problem.  So far so very good indeed.

What I want to do next is get my Humax PVR (HDR Fox T2) to use foobar as a media server.  The Humax seems a little difficult (I've had difficulty with several different servers), and only plays mp3s, but I got it working with Tversity.  With foobar and this plugin I can see all the files (mp3s and flacs), and see playlists, but when I attempt to play them nothing happens.  It then usually skips to the next track after 10-20 seconds, still playing nothing.  It can see the track title, time, album art, and so on, so there is some communication happening.  I have also tried with tracks accessed directly via foobar from its own library.

Any ideas?

I have looked at the streaming preferences and am struggling to understand the different sections 'Rendering capabilities', 'transcoding to MP3' (does this require a separate LAME exe, and if so where do I put it?), 'decoding to PCM' and 'playback stream capture'.  I don't quite grasp what each of these sections is for.  Is there a description somewhere?  If not, could someone write a few words explaining what each section is about?



foo_upnp

Reply #1146
Hi!

Are there any plans to make this plugin video compatible? No any bigger thing needed like transcoding, just simple streaming. I know there are av dlna servers, but for audio, this is the best (knows cue, and every audio formats)

foo_upnp

Reply #1147
What I want to do next is get my Humax PVR (HDR Fox T2) to use foobar as a media server.  The Humax seems a little difficult (I've had difficulty with several different servers), and only plays mp3s, but I got it working with Tversity.  With foobar and this plugin I can see all the files (mp3s and flacs), and see playlists, but when I attempt to play them nothing happens.  It then usually skips to the next track after 10-20 seconds, still playing nothing.  It can see the track title, time, album art, and so on, so there is some communication happening.  I have also tried with tracks accessed directly via foobar from its own library.


Record a log file as explained in the first post of this thread and email it at bubbleguuum@free.fr

Are there any plans to make this plugin video compatible? No any bigger thing needed like transcoding, just simple streaming. I know there are av dlna servers, but for audio, this is the best (knows cue, and every audio formats)


No plan


foo_upnp

Reply #1149
Hello,

Thanks for the interesting  foobar component.

I have couple of denon s-32 network players + media pc  where to stream music. I use laptop as a upnp server and controller.

I have tried upnp  controller to control denons. I can "send" music to them from server, stop,pause, and play. Volume control does not work.

At upnp controller, both denon players shows as "network audio"

How can i assign individual playlists for all media players which are in the network? What i like to do is to play one playlist at one room(denon 1), and another playlist at another room(denon2) + third playlist at the media pc.

Thanks in advance for advise.