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

foo_upnp

Reply #925
there is a search bar, on the bottom of the tree


Indeed. That's how I use it on the upnp server foobar.
I actually still had a library configured on the client foobar.
When I'm at home the laptop (with the upnp client foobar) can also access my music over network drives.
When I'm away, that won't work, so I wanted some way to perform a library search as I can when I'm home.
After removing those library entries (empty library now) F6 now does nothing.
Are you saying F6 works for you on a upnp client foobar?
Thanks.

 

foo_upnp

Reply #926
there is a search bar, on the bottom of the tree

Indeed. That's how I use it on the upnp server foobar.

not sure that i understood you right but the search bar I was talking about is a part of upnp component and searches remote library

as for F6 - it does nothing for me (may be because I'm on Ubuntu and using foobar via wine)

foo_upnp

Reply #927
not sure that i understood you right but the search bar I was talking about is a part of upnp component and searches remote library


Aha.
I never even noticed that! 
That's it.
The upnp component does everything now
Thanks a lot, for pointing out the obvious to me.

Quote from: kompot link=msg=0 date=
as for F6 - it does nothing for me (may be because I'm on Ubuntu and using foobar via wine)


F6 is Library - Album List. I've always used it for searching. Not F5 for some reason, which seems more like the upnp search.

foo_upnp

Reply #928
Thanks for the foo_upnp!  Been using it quite a bit.

I do have one request, and I'm sorry if it's been asked already.  But would it be possible to make the UPNP Controller into an UI Element?


foo_upnp

Reply #929
Thanks for the foo_upnp!  Been using it quite a bit.

I do have one request, and I'm sorry if it's been asked already.  But would it be possible to make the UPNP Controller into an UI Element?



It is already an UI Element as well as a CUI panel. But maybe you missed it in the UI Element list because it is not listed if the component  is launched as a standalone window (since it is a single instance component). If that's the case, close the standalone window and add it as an UI ELement.

foo_upnp

Reply #930
It is already an UI Element as well as a CUI panel. But maybe you missed it in the UI Element list because it is not listed if the component  is launched as a standalone window (since it is a single instance component). If that's the case, close the standalone window and add it as an UI ELement.


Thanks for the reply.

Yeah, that was the issue, I did have it opened already in a separate window.  All is good now

foo_upnp

Reply #931
(accidentally posted this in the main forum first...apologies for the duplication)


I've said it before, but it warrants repeating: this is an absolutely fantastic plugin, thank you!

I've been so happy with my foobar + foo_upnp + Philips UPNP renderer setup for the past year or so that I haven't kept up with updates.

I have two questions that I'm hoping someone can help to answer:

1. In f2k, I can use the foo_lastfm_radio plugin to stream last.fm radio feeds, but I haven't had success getting those streams to play in my UPNP renderer (Phillips Streamium NP1100) using foo_UPNP; is there a way I can set things up so that this will work?

2. In f2K, I can use foo_audioscrobbler to scrobble played tracks in my last.fm profile, but I haven't figured out a way to get tracks played via foo_UPNP to scrobble; is this possible?

Many thanks for your feedback... and thanks again to bubbleguum for this beautifully functional contribution to the foobar community.

itazura

foo_upnp

Reply #932
Is "Capture Playback Stream" supported on the Xbox 360?  I see it on a PS3 but I cannot figure out how to access it on an Xbox 360.
--edit--
I was able to get it to work by turning on the HTTP server feature, making a new playlist, adding the http url (http://pass:pass@localhost:56923/content/psc.lpcm) as a location, and then pointing the xbox to that entry in the playlist.  Is that considered the correct way to do it?

foo_upnp

Reply #933
1. In f2k, I can use the foo_lastfm_radio plugin to stream last.fm radio feeds, but I haven't had success getting those streams to play in my UPNP renderer (Phillips Streamium NP1100) using foo_UPNP; is there a way I can set things up so that this will work?
2. In f2K, I can use foo_audioscrobbler to scrobble played tracks in my last.fm profile, but I haven't figured out a way to get tracks played via foo_UPNP to scrobble; is this possible?


1. due to the way it works, lastfm:// items can only work with Playback Stream Capture (which do not exist in very old versions). You play lastfm:// items normally in foobar, then play Playback Stream Capture (aka what foobar2000 is playing) on your renderer.

2. Not possible. Ideally it could be easily integrated in foo_audiocrobbler but no news.

Is "Capture Playback Stream" supported on the Xbox 360?  I see it on a PS3 but I cannot figure out how to access it on an Xbox 360.
--edit--
I was able to get it to work by turning on the HTTP server feature, making a new playlist, adding the http url (http://pass:pass@localhost:56923/content/psc.lpcm) as a location, and then pointing the xbox to that entry in the playlist.  Is that considered the correct way to do it?


the Xbox do not expose the server's tree so the only way is to use the PSC url as you did. I don't think you even need the login/password.


EDIT: no need to enable the internet access: just use http://<your pc LAN ip>:56923/content/psc.lpcm as the URL.  As a side effect if you try to play that URL in foobar2000 you'll have an infinite silence stream .

foo_upnp

Reply #934
One other question. Is it possible to add overview of recently added files to the collection? It would be nice to have quick overview of the new albums I added to the collection. Or can I do it by editting the XM of the browse tree? If so what field is available, i.e. %genre%


You can use $date(%added%) either in a foobar2000 autoplaylist or in the browse tree XML definition if you want to expose it to browsing clients.
It is not the only way to do it though.


I have tried to play with $date(%added%) on the browse tree xml but cannot get it to work (no date is displayed). Sorry to ask but do you have a bit more info how?

foo_upnp

Reply #935
the Xbox do not expose the server's tree so the only way is to use the PSC url as you did. I don't think you even need the login/password.


EDIT: no need to enable the internet access: just use http://<your pc LAN ip>:56923/content/psc.lpcm as the URL.  As a side effect if you try to play that URL in foobar2000 you'll have an infinite silence stream .


Very cool bubbleguuum, thanks.  I tried it and that worked.  Really enjoying the functionality of the plugin .

foo_upnp

Reply #936
2. In f2K, I can use foo_audioscrobbler to scrobble played tracks in my last.fm profile, but I haven't figured out a way to get tracks played via foo_UPNP to scrobble; is this possible?


2. Not possible. Ideally it could be easily integrated in foo_audiocrobbler but no news.


Actually it exists a scrobbler for Twonky Media Server: http://www.lastfm.de/forum/21716/_/475464/_/7764002
But the programmer isn't working on it anymore.
The idea itself is great.

foo_upnp

Reply #937
I have tried to play with $date(%added%) on the browse tree xml but cannot get it to work (no date is displayed). Sorry to ask but do you have a bit more info how?


Something I forgot to tell is that for %added% to work you need to install the Playback Statistics component

But %added% will be correct only for the files you will add to the Media Library after having installed this component.

After that, adding a node to the the XML tree definition should work:

Code: [Select]
<SubTree label="Albums by added date">
  <spec>$date(%added%)</spec>
  <spec type="object.container.album.musicAlbum">[%album artist% - ]%album%</spec>
  </SubTree>

<SubTree label="Tracks by added date">
  <spec>$date(%added%)</spec>
  </SubTree>


You can also substitute %last_modified%  to %added%.  %last_modified% do not rely on playback statistics and is initially equal
to the date your files enter the watched media library folders (until you modify the file, if ever).

You can also generate autoplaylists in foobar2000. For example, all tracks modified in the last 2 month sorted from more recent to less recent:

%last_modified% DURING LAST 8 WEEKS SORT DESCENDING BY %last_modified%

You enter that string in the Library>Search dialog, from which you can create an autoplaylist.

while researching that, I noticed that any query with SORT or involving the System time (ie using DURING, SINCE, etc) did not work in the UPnP tree.
In the next version of the plugin you'll be able to specify a query such as the one above.



foo_upnp

Reply #938
[color="#0000FF"][/color]

I apologise for posting in this way.  Being a newbie, I couldn't see a way to post to this subject thread.  The New Post choice suggeted it would post to the general Foobar and not necessarily to the foo_upnp subject.  Any kind instruction to show me how
to do it properly would be greatly appreciated!

I am beta testing a device called a Bridge for PS Audio. It is a plug card in for their D/A converter that will play various music files from a server program on a computer or NAS via an Ethernet connection. We have been using a server program called Twonky and the foo_upnp.dll addition to the foobar2000 program. The problem is that when a full scale .wav test signal at any sample rate is played back using this foobar plug in server, the received level by the PS Audio device is 6 dB down from what the test signal produces when injected into the D/A converter inputs from my Audio Precision SYS2722 generator. Further, the distortion spectrum is quite a bit worse than when the same signal is directly input to the D/A converter. However, when using the Twonky server program, the playback via the Bridge device is at ful scale level and the distortion level is the same as when directly input to the D/A converter.

So, my question is: why is this so and what can be done to corredt this situation. Are there some parameter changes in the prgram that might correct this?

I would like to insert a graph to illustrate that but, being a newbie in this forum, clicking on insert an image didn't give me a obvious means to do so.

Bascom H. King
Consultant, EE 
 

foo_upnp

Reply #939
[color="#0000FF"][/color]
So, my question is: why is this so and what can be done to corredt this situation. Are there some parameter changes in the prgram that might correct this?


How are you playing your WAV to your renderer ? If you used Playback Stream Capture and happened to have the "Hard -6dB limiter" DSP enabled in foobar2000's DSP conf, I think it would match what you describe.

Can you open the console (in View>Console) and paste here a line that starts with  "foo_upnp: opened 'file://....."  ?

foo_upnp

Reply #940
[color="#0000FF"][/color]
So, my question is: why is this so and what can be done to corredt this situation. Are there some parameter changes in the prgram that might correct this?


How are you playing your WAV to your renderer ? If you used Playback Stream Capture and happened to have the "Hard -6dB limiter" DSP enabled in foobar2000's DSP conf, I think it would match what you describe.

Can you open the console (in View>Console) and paste here a line that starts with  "foo_upnp: opened 'file://....."  ?


First of all, thank you for responding!  Forgive me but I don't understand what the rederer word means.  I am not using Playback Stream Capture to my knowledge.  I have just pointed the upnp tool to the sources of my music files and started using it.  The Foobar section of playback gain is all at 0 dB with default choices there.  How does one check out the DSP conf thing?  To test what
change I might make to Foobar, I have to take my D/A converter out to my lab to test how it plays back test .wav files on my
Measurement equipment.  I will try to open the console and do what you ask above.

Thanks again,
Bascom King

foo_upnp

Reply #941
[color="#0000FF"][/color]
So, my question is: why is this so and what can be done to corredt this situation. Are there some parameter changes in the prgram that might correct this?


How are you playing your WAV to your renderer ? If you used Playback Stream Capture and happened to have the "Hard -6dB limiter" DSP enabled in foobar2000's DSP conf, I think it would match what you describe.

Can you open the console (in View>Console) and paste here a line that starts with  "foo_upnp: opened 'file://....."  ?


First of all, thank you for responding!  Forgive me but I don't understand what the rederer word means.  I am not using Playback Stream Capture to my knowledge.  I have just pointed the upnp tool to the sources of my music files and started using it.  The Foobar section of playback gain is all at 0 dB with default choices there.  How does one check out the DSP conf thing?  To test what
change I might make to Foobar, I have to take my D/A converter out to my lab to test how it plays back test .wav files on my
Measurement equipment.  I will try to open the console and do what you ask above.

Thanks again,
Bascom King


Have checked that the -6dB hard limiter is not enabled - at least it shows no DSP choice is enabled.  Still wonder what the renderer
is.  Opening the console, the content within is as follows:

Watching: C:\Documents and Settings\HP_Owner\Desktop\Various Audio Files
Folder watching failure: The system cannot find the path specified. 
Folder watching failure: The system cannot find the path specified. 
Folder watching failure: The system cannot find the path specified. 
foo_upnp: succesfully loaded file C:\Documents and Settings\HP_Owner\
Application Data\foobar2000\foo_upnp.xml
foo_upnp: initialized in 0.516s
Startup time : 0:04.310596
foo_upnp: created 49131 path registry entries in 1.437s
foo_upnp: loaded Media Library tree in 20.984s

Note the three Folder watching failures are because those three HDD's are not on at this point.

I look foward to possibly more wisdom on my problem - and thanks for your help

foo_upnp

Reply #942
@bhkbhkbhk: a Renderer in UPnP parlance is the device (hardware or software) that plays audio. In your case this is the PS Bridge.

You're using PS Audio tagnplay as the controller right ?
After some research it came that tagnplay  is identified as PlugPlayer by the plugin (PlugPlayer is another Controller for iOS) and thus all files streamed use this streaming profile. I suspect that tagnplay is based on Plugplayer's code and someone forgot to change the HTTP User-Agent.

In foo_upnp, streaming profiles adapts the streamed audio format to the capabilities of the target Renderer (supported samplerates, bitdepth, codecs, and more).

The PlugPlayer profile is setup to play audio on iOS devices and will transcode to mp3 any WAV that is > 48Khz, so it plays on the iOS device.

Hopefully you can override that. I suppose that for your tests you just want to stream your WAV as bitperfect.

First, force the use of the Default profile, in File>Preferences>Tools>UPnP>Server>Basic Settings
The Default profile has sane defaults that works with most renderers but you want to edit it to match the capabilities of your PS Audio Bridge.

Go into File>Preferences>Tools>UPnP>Server>Streaming Profiles and set the max samplerate to 192Khz as well as max bitdepth to 24.
Also in the "Decoding to PCM" section change the line to read " Decode to wav except <leave empty>. That will prevent the plugin
to convert your test files to PCM, and will just stream the files without any modification.

Once you have done that you can check that a file is stream correctly by monitoring the console. Each time you play a file from tagnplay you should see a line (here playing a WAV)

foo_upnp: opened 'file://C:\Music\Dan Curtin - Lifeblood\Dan Curtin - Lifeblood\07. Dan Curtin - Blood.wav' for streaming

Assuming your WAV got transcoded to mp3, I don't explain why you observed a 6dB difference. I did a test and found a 0.5dB ReplayGain difference between a WAV and its conversion to 320K mp3.

foo_upnp

Reply #943
 I have a question about transcoding and cpu cycles.  I use foo_upnp to stream various internet radio stations (transcoded to mp3 at 128kbs constant bit rate) to SMCWAA-G wifi renderers around the house.  The laptop is running foobar2000 1.1 and foo_upnp 0.99.29.  The laptop is on wired ethernet.

This setup works great, but I am noticing a creeping increasing cpu cycle issue with foobar2000.  It seems that as the day goes on and different station streams are started and stopped, that the cpu % keeps increasing, reaching up to 60% or higher before I shut down foobar2000 and restart it.

I usually just switch stations without stopping the current station.  Is it possible that other transcoding jobs are still running even though I am not streaming them?

I will do some testing, too.



foo_upnp

Reply #945
Hello Bubblegum,

You plugin is still working prefectly on my Streamium WAC7500. I also have a Samsung HDTV (LN40C610) and it works also perfectly, even for videos.

I see you are starting with multi- devices functions, like playing on multiple devices the same music.

One function on my streamium that I use regulary is the ability to continue my playlist on another device. I can start it upstairs, and if I want to continue downstairs, I just have to use the "follow me" function. I loose a few seconds, but the song is taken back where I left it.

An easy way to do this is to allow switching the playlist to another device using a simple menu operation, restarting the current song.

A harder way would be to start the song at the same place in the track (harder because most renderer doesn't support seeking, so it would probably be a compatibility nightmare, except if you actually send a new stream of the cropped song)

I don't know if you plan to add this function, but this would alow people to play with multi room setups

Thanks in any case

Hugo

foo_upnp

Reply #946
Nevermind my other post.  I just disabled transcoding and all my cpu cycle problems disappeared.  I had turned on transcoding while my system was all on wifi since it stablized the internet streaming.  Now that the server laptop is wired ethernet, there are no dropouts.  Disabling transcoding leaves cpu cycles about 5% rather than 50%.




 I have a question about transcoding and cpu cycles.  I use foo_upnp to stream various internet radio stations (transcoded to mp3 at 128kbs constant bit rate) to SMCWAA-G wifi renderers around the house.  The laptop is running foobar2000 1.1 and foo_upnp 0.99.29.  The laptop is on wired ethernet.

foo_upnp

Reply #947
I'm accessing the UPnP server over my LAN with AndroMote for Android, and I can only seem to get 38 songs at a time from my playlists.  Anyone had this issue before?

foo_upnp

Reply #948
Hi,
is there a way to have a profile match on the client's IP address or have a custom (subnet?) setting for which clients are handled as Internet clients?
I am using a VPN to connect to my LAN through the Internet and so it looks like a regular LAN client, but I want to use a lower bitrate for Internet streaming.

Thanks

foo_upnp

Reply #949
An easy way to do this is to allow switching the playlist to another device using a simple menu operation, restarting the current song.

A harder way would be to start the song at the same place in the track (harder because most renderer doesn't support seeking, so it would probably be a compatibility nightmare, except if you actually send a new stream of the cropped song)

I don't know if you plan to add this function, but this would alow people to play with multi room setups


No plan to do it and I can't think of an easy way to do it UI wise


I'm accessing the UPnP server over my LAN with AndroMote for Android, and I can only seem to get 38 songs at a time from my playlists.  Anyone had this issue before?


No idea. One thing i can think of is if you have upnp items in your playlist (ie items added to playlist with the UPnP browser). These items are discarded from playlists by the server.


is there a way to have a profile match on the client's IP address or have a custom (subnet?) setting for which clients are handled as Internet clients?
I am using a VPN to connect to my LAN through the Internet and so it looks like a regular LAN client, but I want to use a lower bitrate for Internet streaming.


Not possible ATM. I see how it could be useful so I'll think about it but you'll probably have to edit the config file directly to configure it.
EDIT: in the meantime you may want to access the server from the Internet not using your VPN (ie using its public IP). You can set the server to use port 80 which pass most corporate firewalls.