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

foo_upnp

Reply #800
Долго добавляется почему-то  плей-лист (playlist)

foo_upnp

Reply #801


    I'm having this issue where after pausing and then unpausing the song continues for a few seconds and then skips to the next song. 
This is with Foobar2000 as a server and renderer, but using a seperate controller.  mediastreamer on a Nokia n800. Plugplayer on an iPhone both of those sending straight flac files.    And internet streaming transcoding from flac to 320k streaming to my work computer.

Thanks,
Darren

foo_upnp

Reply #802
Hi,
First Thank You for this plugin.

I think, at this point, the plugin is really stable, but I am still getting this errors on seeking Flac files since early versions.
Quote
Unable to seek to 2:27.545 (Unsupported format or corrupted file):

Some files seeks fast, while others slowly. And if I seek twice quickly, I get this error too.

Could You fix this please?, Or at least a good explanation would be nice too.

Another issue:
when I pause the song for a while, 5 minutes or more I think, when unpausing, the song continues for a few seconds,  I think is the buffer length, and then skips to the next song with an error.

Useful Data:
- Server: Foobar2000 1.03
- Client: Foobar2000 1.03
- Default Configuration used [0.9.26]

Greetings.

foo_upnp

Reply #803
Hi,
First Thank You for this plugin.

I think, at this point, the plugin is really stable, but I am still getting this errors on seeking Flac files since early versions.
Quote
Unable to seek to 2:27.545 (Unsupported format or corrupted file):

Some files seeks fast, while others slowly. And if I seek twice quickly, I get this error too.

Could You fix this please?, Or at least a good explanation would be nice too.


I can't. This message comes from foobar http flac stream decoder. I don't know why it issues this error sometimes.
For example, try streaming a FLAC hosted by your ISP and you'll likely get the same errors.

Seek can be slow when you stream as PCM, as all the audio up to the seek point has to be decoded.


Another issue:
when I pause the song for a while, 5 minutes or more I think, when unpausing, the song continues for a few seconds,  I think is the buffer length, and then skips to the next song with an error.


Same here, this is a known problem with http servers closing the connection on client (foobar2000 here) inactivity. In that case, foobar2000 just stop playing the stream and plays next track in playlist (instead of reconnecting). Maybe I can do something on my side but no promise.

foo_upnp

Reply #804
bubbleguuum, how does the foo_playcount implentation work?

I have the component working on my foobar2000 as server.
But when using a client on another computer, also foobar2000, the play statistic doesn't updates on the server.

Worth to note is that I'm also using foo_misc_addons for writing play statistics to tags after 50% playback (on the server).
I'm not counting Playback Stream Capture, as it should work when foobar2000 playback is stopped on the server-side.

I've tried with a bare minimum install incl. foo_playcount.dll to test, couldn't get anything to update.
Any advice how to make it work is appreciated.

Thanks.
Windows 10 Pro x64 // foobar2000 1.3.10

foo_upnp

Reply #805
bubbleguuum, how does the foo_playcount implentation work?

I have the component working on my foobar2000 as server.
But when using a client on another computer, also foobar2000, the play statistic doesn't updates on the server.

Worth to note is that I'm also using foo_misc_addons for writing play statistics to tags after 50% playback (on the server).
I'm not counting Playback Stream Capture, as it should work when foobar2000 playback is stopped on the server-side.

I've tried with a bare minimum install incl. foo_playcount.dll to test, couldn't get anything to update.
Any advice how to make it work is appreciated.

Thanks.


Statistics are submitted when the whole track has been streamed. When they are submitted you see a message on the console (even if loging is disabled):
"foo_upnp: Submitted statistics for track xxxx"
Once you see that message, if you check the playcount in the Properties panel, playcount will have increased.
Before you ask, with streaming, it is not practical to have more complicated rules than above to trigger  statistics submission

foo_upnp

Reply #806
Console is the first I always check.

With DSP on I get flush.
Quote
foo_upnp: opened 'file://*.mp3' for streaming, profile: foobar2000, MP3 / VBR -V3, replaygain: on, DSP chain: on
on_endofplayback
on_endofplayback
flush
foo_upnp: opened 'file://*.mp3' for streaming, profile: foobar2000, MP3 / VBR -V3, replaygain: on, DSP chain: on
on_endofplayback
on_endofplayback
flush


But removing everything in DSP I get:
Quote
foo_upnp: opened 'file://*.mp3' for streaming, profile: foobar2000, MP3 / VBR -V3, replaygain: on, DSP chain: off
foo_upnp: opened 'file://*.mp3' for streaming, profile: foobar2000, MP3 / VBR -V3, replaygain: on, DSP chain: off


Submit playback statistics is on.
Something I've missed?

Want all my settings for foobar2000 profile?
Windows 10 Pro x64 // foobar2000 1.3.10

foo_upnp

Reply #807
I'm using foo_upnp with WD TV Live box (latest firmware) and stumbled upon the strange problem. Every file format I've tried plays okay without problems as long as it's supported by WD player. Recoding/transcoding also seems to work properly. Here's the flac file successful playback log.
The thing is I cannot get the component to play cue'd files. No matter which streaming preferences I try, playback always stops immediately after start. It happens no matter what I do, whether I play the file from WD player, or use "Play on..." feature of the component.
Sample log of such failed attempt.
What have I missed? Is there anything I can do to fix this?

foo_upnp

Reply #808
I'm using foo_upnp with WD TV Live box (latest firmware) and stumbled upon the strange problem. Every file format I've tried plays okay without problems as long as it's supported by WD player. Recoding/transcoding also seems to work properly. Here's the flac file successful playback log.
The thing is I cannot get the component to play cue'd files. No matter which streaming preferences I try, playback always stops immediately after start. It happens no matter what I do, whether I play the file from WD player, or use "Play on..." feature of the component.
Sample log of such failed attempt.
What have I missed? Is there anything I can do to fix this?


I confirm that external cue files do not work at all (embedded does though).
I need to add support for it to work. As it is, the plugin try to open the .cue file for playing which obvisouly do not work.


EDIT: after checking, external cue streaming works here so this must be something else. Maybe you can try to stream it as PCM instead of transcode to MP3 and see if it is better.


foo_upnp

Reply #809
bubbleguuum, how does the foo_playcount implentation work?
I have the component working on my foobar2000 as server.
But when using a client on another computer, also foobar2000, the play statistic doesn't updates on the server.

Worth to note is that I'm also using foo_misc_addons for writing play statistics to tags after 50% playback (on the server).
I'm not counting Playback Stream Capture, as it should work when foobar2000 playback is stopped on the server-side.

I've tried with a bare minimum install incl. foo_playcount.dll to test, couldn't get anything to update.
Any advice how to make it work is appreciated.
Thanks.


I've fixed it for next release, submitting track stats was not working when streaming as MP3 transcode.

foo_upnp

Reply #810
Thanks for the clarification.
I managed to get it stream without transcoding.

Seems to work now.

Would be nice if it could send to last.fm too. ^^
Windows 10 Pro x64 // foobar2000 1.3.10

foo_upnp

Reply #811
Wow amazing playback statistics now sync after playback, that was one thing i was waiting for .  Would it be possible to show/change the rating of a file on the upnp client? Kinda miss the inability to see my ratings.


You can add a %rating% column  in your playlist to view ratings of browsed upnp items. Of course you won't be able to change ratings.

EDIT: if on your foobar2000 client you have foo_playcount installed, you must use $meta(rating) instead (otherwise you will get the rating managed by foo_playcount which is empty for http items)

foo_upnp

Reply #812
My son just set up his xbox 360 and it found my audio library, browses it and plays tracks with no problems thus far. For anyone that has the xbox 360, I would like to know, is it able to display album art and track metadata? So far, his music player seems only able to display the track title of the currently playing track. Is that all it is capable of, or are there some settings that he is missing to enable album art and full metadata display?

And a BIG thanks for adding the playback stats updating too. It just gets better and better!

foo_upnp

Reply #813
bubbleguuum,

Thanks for all of your work on this plugin. I do have a couple question.

Is there any reason you don't automatically forward the appropriate port in the router when internet access is enabled? That's what UPnP is for, isn't it?

Second, I'm trying to stream my collection from home to work. I can connect if I put the address and port into a web browser, but I can not connect when I use foobar.

I assume it's something to do with our corporate firewall filter non-http traffic. I do have the proxy set correctly in foobar. Does that sound likely to you? My backup plan is to use SSH, unless you've got another suggestion or enhancement for the internet portion of the plugin.

Thanks.

-Gak Toid

foo_upnp

Reply #814
bubbleguuum,

Thanks for all of your work on this plugin. I do have a couple question.

Is there any reason you don't automatically forward the appropriate port in the router when internet access is enabled? That's what UPnP is for, isn't it?


The reason is that new features do not implement themselves magically. This feature is in consideration.


Quote
Second, I'm trying to stream my collection from home to work. I can connect if I put the address and port into a web browser, but I can not connect when I use foobar.

I assume it's something to do with our corporate firewall filter non-http traffic. I do have the proxy set correctly in foobar. Does that sound likely to you? My backup plan is to use SSH, unless you've got another suggestion or enhancement for the internet portion of the plugin.


Traffic is http only. If this do not work in foobar2000, this is probably due to a http proxy being used on your corporate network.
The plugin do not support proxies because the http subsystem of the UPnP framework I use do not support them because UPnP is designed for LAN use and there's no need for it.
I have no plan to add proxy support as it's not trivial at all.

foo_upnp

Reply #815
bubbleguuum,

Thanks for all of your work on this plugin. I do have a couple question.

Is there any reason you don't automatically forward the appropriate port in the router when internet access is enabled? That's what UPnP is for, isn't it?


The reason is that new features do not implement themselves magically. This feature is in consideration.

It was not my intention to suggest features do. I make my living writing software, so I understand your point.
I was more curious if there were technical reasons in foobar or security reasons that you felt it was more appropriate to use manual port forwarding.

Quote
Quote
Second, I'm trying to stream my collection from home to work. I can connect if I put the address and port into a web browser, but I can not connect when I use foobar.

I assume it's something to do with our corporate firewall filter non-http traffic. I do have the proxy set correctly in foobar. Does that sound likely to you? My backup plan is to use SSH, unless you've got another suggestion or enhancement for the internet portion of the plugin.


Traffic is http only. If this do not work in foobar2000, this is probably due to a http proxy being used on your corporate network.
The plugin do not support proxies because the http subsystem of the UPnP framework I use do not support them because UPnP is designed for LAN use and there's no need for it.
I have no plan to add proxy support as it's not trivial at all.


There is a proxy, I set it appropriately in foobar.  Sounds like it doesn't matter how it what was configured, it wasn't going to work.

Thanks for the information.

-Gak Toid


 

foo_upnp

Reply #816
Amazing plugin, so thanks so much for all of your work on this!

Two questions: First, I am using a PS3 and when playing the song there are certain times when the artwork shows up and certain times when it does not.  I have all of my artwork embedded in the file, so not certain why that might be happening.  Any ideas?

Secondly, when I play the file it only shows the current playing time and not the total track time.  Any ideas on that one?  Is it because it is streaming in PCM?  Is that the ideal setting or should I have it set to something else.

Thanks in advance.

foo_upnp

Reply #817
I was more curious if there were technical reasons in foobar or security reasons that you felt it was more appropriate to use manual port forwarding.


I didn't know about UPnP port forwarding at the time I implemented Internet access. Even if UPnP port forwarding would be really nice to have, manual configuration is still required for non-UPnP capable routers or users disabling UPnP on their router for whatever reason.


Two questions: First, I am using a PS3 and when playing the song there are certain times when the artwork shows up and certain times when it does not.  I have all of my artwork embedded in the file, so not certain why that might be happening.  Any ideas?
Secondly, when I play the file it only shows the current playing time and not the total track time.  Any ideas on that one?  Is it because it is streaming in PCM?  Is that the ideal setting or should I have it set to something else.


1. Maybe a limitation of the PS3 on album art size ? I know there's a restriction on album art in the DLNA profile but the plugin do not enforce them (ie resize if necessary).
I've also noticed sometimes the art will display in the PS3 browser but not in the player interface.

2. This is normal for LPCM streaming. The PS3 never displays track lengths for that format (on the PS3 player screen that is, not when browsing). You can stream to WAV to have track lengths but this has the disadvantage of possibly longer time between tracks, and you might get the end of some tracks slightly chopped off for formats not having sample accurate length in foobar2000 (mostly MP3 and WMA). LPCM do not have any of those shortcomings.

foo_upnp

Reply #818
Thanks bubbleguuum

foo_upnp

Reply #819
I've got the following problem

I'am using the latest Foobar version 1.03 and the latest upnp component 0.99.26
I have the renderer running on my server.
Added some songs to the controller playlist and started playing.

On my desktop pc, I start the controlller.
I can see witch song is currently playing.
But here is the issue, when I click next or previous the player stops.
I also can't start the player again by pressing play.

The only thing I can do is to move the time played slider.
Also just the current song shows up in the list, no others.

Whats the problem?

foo_upnp

Reply #820
Hello,

I gave up on bidding on a Soundbridge in Ebay as a M2000 costs way about 200€ and the M1001 costs 100€ but does upsample to 48khz.

Can a WDTV live owner please tell me what works and what not? I do want to use the device as a media renderer to avoid using my Audiophile 2496 soundcard because those Windows IRQ conflicts drive me crazy. So I want everything to be as if I had a soundcard in the PC but instead the external device would play the music.

Can the WDTV do that? Will Flac files be played natively, is that right? I am confused as to what is possible and what not.

Does anyone use a Popcorn A or C 200 here?

Thanks,
Foo_Borat

foo_upnp

Reply #821
I can confirm that WD TV Live works just fine with foo_upnp in all modes after adding firmware bug workaround fixing cue playback failure. bubbleguuum - thanks for quick response!
The player accepts flacs as well with a bunch of other formats natively, but I'd prefer compulsory decoding the stream to PCM - just in case - and it does play streamed PCM without any problems.

foo_upnp

Reply #822
Hello,

I gave up on bidding on a Soundbridge in Ebay as a M2000 costs way about 200€ and the M1001 costs 100€ but does upsample to 48khz.

Can a WDTV live owner please tell me what works and what not? I do want to use the device as a media renderer to avoid using my Audiophile 2496 soundcard because those Windows IRQ conflicts drive me crazy. So I want everything to be as if I had a soundcard in the PC but instead the external device would play the music.

Can the WDTV do that? Will Flac files be played natively, is that right? I am confused as to what is possible and what not.

Does anyone use a Popcorn A or C 200 here?

Thanks,
Foo_Borat


This is going to depend on how you are going to control the playback of the music.  Describe your setup in more detail.

Darren

foo_upnp

Reply #823
Darren,

I have three computers in my home which are connected to pre-amp, amplifier and loudspeakers. The music is stored on a Windows Home Server. Right now I have a Popcorn Hour 110 connected and can push music to it using the foobar server either on the WHS or the foobar server on one of the client computers. I find the latter method better because I can browse the music using my own media libary and do not have to use the foo_upnp browser. The PCH 110 has is downsides though. I cannot push flac files to it nor did I succeed in transcoding to PCM and send them. Also controlling the PCH is very sluggish and I cannot seek nor pause etc.

Before using Foo_upnp I was using the main computer as music listening device as it has an M-Audio 2496 card installed and I was pleased with playing music from the server to this PC and then via SPDIF to the main Stereo setup. But the card started acting up on me and it is prone to cause clicks and noise because of IRQ conflicts which cannot be solved (I searched extensivly the web and the forums etc.) Therefore I was looking for an external device which would reflect every action of Foobar on the client computer (play, pause, seek, stop, enquue).

For a long time I tought, that except a Linn DS device (too expensive), the Rokus Soundbridge would do everything I want because it also works with the "Playback Streaming" feature as Bubbleguum advised.
But I discovered recently that the M1001 version of the Roku Soundbridge which still sells for about 100€ does upsamle to 48khz and that the more "audiophile" M2000 which passes 44,1khz sells for more than 200€.


@oblikoamorale

After having read my requirements would you say the WDTV live meets all of them?

I am looking forward to hearing your suggestions 

Thanks,
Foo_B

foo_upnp

Reply #824
Foo_B,

Quote
Before using Foo_upnp I was using the main computer as music listening device as it has an M-Audio 2496 card installed and I was pleased with playing music from the server to this PC and then via SPDIF to the main Stereo setup. But the card started acting up on me and it is prone to cause clicks and noise because of IRQ conflicts which cannot be solved (I searched extensivly the web and the forums etc.)


Have you tried the DPC Latency Checker tool? Might help, however I don't get my USB/Firewire external Audio Devices running on my notebook without frequent clicks/pops + critical DPC latencies (red bars) no matter what I try - though they work perfectly (and no critical DPC latencies) on my desktop PC. Sometimes it's just an unresolvable hardware/driver problem...


Quote
Therefore I was looking for an external device which would reflect every action of Foobar on the client computer (play, pause, seek, stop, enquue).


Logitech Squeezebox Touch is not an Option? No idea if squeezboxes can be UPnP clients and work with foo_upnp.dll instead of SqueezeCenter? This one plays (and passes to s/pdif untouched) resolutions up to 24/96, has gapless playback, costs probably less than 299 USD if purchased as used... For a review see here.

Alternative: TEAC WAP-V 6000 - provenly plays and passes 24/192 (though not mentioned anywhere on the HP - I know 10+ people who use it). From network, USB or internal HD if installed. No gapless though. Sound from analog outs is very good for the price. Heard it works with foo_upnp. Granted, the handling with the little monochrome text display is suboptimal. Better connect a little extra screen, or use foo_upnp als remote application.

Well, you may find both too expensive... at least the latter is worth the money sound-wise. The next least expensive device I know which is 24/192 capable would be Linn's Sneaky DS (1450 USD retail). I luckily found a used Linn Majik DS for half the retail price -  a dream component. As I said I know many people with dizzyingly expensive audiophile systems who use it with an external reclocker + DAC via s/pdif outs.


Hope that helps?


Martin