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

foo_upnp

Reply #1300
Awesome plugin, loving it.

One thing, I'm streaming to Whitebear -> Squeezeserver -> synced Squeezeboxes. Got everything working, but only MP3's with embedded album art have their art displayed on the Squeezeboxes. I can't seem to get files with just folder.jpg sitting in the folder to have album art.

Does album art need to be embedded or does it need to be named a certain way to get picked up?

EDIT: Just noticed in the change log from v0.99.26 you changed foo_upnp to "use fb 1.0 album art API to be able to serve album art using configured file patterns".

In Foobar Settings, Display -> Album Art,Front Cover, I do have 'folder.jpg' entered. Any idea why I might be having trouble?

foo_upnp

Reply #1301
Problem playing SOME ALAC apple lossless file via upnp.

I've 2 types of ALAC files:

A, directly ripped to ALAC in itune
B, first ripped to AIFF in itune, then convert to ALAC in itune

Since foobar does not support AIFF tag, I have to convert AIFF to ALAC.

For type A file, all is fine. But if I put any type B file in foobar media library, in iPad PlugPlayer, ALL album art on ALL albums/titles are gone. In PlugPlayer, all file still plays fine. Just there is no album art any where! When using iPad Kinsky, there is no album art just like PlugPlayer, and those type B file does NOT play.

So I tried PS Audio eLyric upnp server, pointing to the exact same library folder. All file plays fine and all album arts are normal using both PlugPlayer and Kinsky.

Is this a known issue?

foo_upnp

Reply #1302
For type A file, all is fine. But if I put any type B file in foobar media library, in iPad PlugPlayer, ALL album art on ALL albums/titles are gone. In PlugPlayer, all file still plays fine. Just there is no album art any where! When using iPad Kinsky, there is no album art just like PlugPlayer, and those type B file does NOT play.


Does it play and can you see album art in foobar2000 ?

foo_upnp

Reply #1303
hi bubbleguuum, thanks for looking in to it.

Yes, foobar shows the cover art in the local viewer (took me a while to enable local viewing of the media library!).

I will PM you a link to download a sample song with the problem.

I tested (all using foobar upnp renderer, PC is Win7 64bit, all upnp server running on the same PC using the same media library with 1 song only):

foobar upnp server (all transcode/decode disabled, song play as is)
- foobar local viewer, have cover art, song plays fine
- iPad PlugPlayer, no cover art, song plays fine
- iPad Kinsky, no cover art, song does NOT play
- iPad Songbook Lite, no cover art, song plays fine

PS Audio eLyric upnp server (need to uncheck "gapless" mode)
- iPad PlugPlayer, have cover art, song plays fine
- iPad Kinsky, have cover art, song plays fine
- iPad Songbook Lite, have cover art, song plays fine

dbPoweramp Asset upnp server
- iPad PlugPlayer, have cover art, song plays fine
- iPad Kinsky, have cover art, song plays fine
- iPad Songbook Lite, have cover art, song plays fine

I thinking maybe the problem is related to unicode in song/filename/tag? I hope you can reproduct the problem.

foo_upnp

Reply #1304
Among its many riches, a particularly nice feature of foo_upnp is that it allows one to customize contents of the "track" title.
In a classical music track, %title% is usually just a part (movement) of a given piece; as such e.g. I. Allegro con brio doesn't mean much.
However, just by filling Server > Content > Format track title using as %composer%: %content group% - %title%, it's possible to get the full picture on the player - Beethoven: Symphony no.5 - I. Allegro con brio.

Experimenting with different Android UPnP players, one notes that each player picks a number of different tags to display.
%title% and %artist% are always used; %conductor% may be; %band% never is.
Alas, %artist% means the soloist(s), %band% means the ensemble(s) which are lead by the %conductor%: each  tag refers to a quite different role.
Not to be able to see the ensembles (orchestra, choir) is quite limiting.

[Suggestion]
Why not to introduce in Server > Streaming Profiles two additional fields:
- Format track artist using and
- Format track conductor using.
That would allow one to always have the full information about performers, customized for each player.

foo_upnp

Reply #1305
I thought the outlook of the library structure is solely defined on the upnp server. upnp controller (controller apps) is a dump terminal and simply display the tree structure returned by the server.

I think foobar upnp server is already the most customize. One day I will learn how to construct the library list to my liking by mastering this doc...

http://wiki.hydrogenaudio.org/index.php?ti...00:Query_syntax

foo_upnp

Reply #1306
hi bubbleguuum, thanks for solving the m4a issue.

Btw, I'm trying to modify upnp library tree structure to my liking, but I still don't know how to do...

On the other hand, foobar bulidin Media Library tree list seems much easier. I can change that a bit to my liking and I like it's tree structure in it's own view. Too bad I know the bulidin library tree has no relationship to the upnp tree list!

Is there any way that your upnp can also use foobar bulidin Media Library tree list? Or is there a easier explanation of the upnp library tree syntax? I feel like programming when looking through the upnp library tree syntax...

Or can I post my foobar buildin Media Library tree syntax here and you can help me work out the upnp tree syntax?

foo_upnp

Reply #1307
Hi, I have Yamaha 3067 AV and looking how to play multi-channel FLAC and DTS files using foobar2000 and foo_upnp (or other way). Receiver natively decodes FLAC files, but only if they are in stereo (listed supported files: LPCM (L16), MP3, WMA, AAC, FLAC, WAV, ALAC, audio/aacp).
The only solution which worked for me is multi channel WAV files. In foobart2000 file properties they are showed as PCM encoded 2 channels, but when played - DTS 6ch. When I stream this file though foo_upnp, receiver decodes it as PCM 2/0/0.1 channel!

So probably I need solution how to transcode FLAC/DTS to multi-channel WAV on the fly to be able to stream it.
Your support is appreciated.

foo_upnp

Reply #1308
Hi,
I cannot make load the artwork, it's in a Folder.jpg file at server, and it is displying well, but connot load remotelly. Any ideas?

foo_upnp

Reply #1309
Hello,

Did anyone manage to get the following setup to work, over 3G / Internet ? :

upnplay client, WAN configuration towards 127.0.0.1 (on android device ) -> ConnectBot SSH client with remote tunneling to foo_upnp port (on android device) -> SSH server (on windows) -> foo_upnp (on windows)

It would be really great, but so far I didn't.

What I got working so far is the following :
1- RDP client (on android device) -> ConnectBot SSH client with remote tunneling to RDP port (on android device) -> SSH server (on windows) -> RDP server (on windows)
      -> working great
2- upnplay client, WAN configuration towards server IP (on android device) -> Direct connection to foo_upnp -> foo_upnp (on windows)
      -> working great, thanks to instructions below

but no luck when adding SSH tunneling in the chain.
foo_upnp is latest version (0.99.35)

thanks


I'm hoping that the alternative URL method would prevent the use of HTTP authentication at all, is this the intention?



I just released 0.99.34 which allow authentification in the URL path for all clients (before it was limited to iOS PlugPlayer). So you'll be able to
remotely connect with UPnPlay. In UPnPlay edit the the WAN server configuration:

- set the Description field to /<login><password>
- change the UDN field to something else than the LAN UDN

Then if you click on the WAN server entry  (it will say "connecting to server..."), then on its LAN definition you should be able to browse.

This version also  addresses a few other compatibility fixes:

Code: [Select]
0.99.34

- server: allow Internet connection with http://ip:port/<login><password> from any remote client
- device description XML parser is more lax to recognize UPnPlay's renderer.
- server: workarounded TwonkyMobile requests with malformed XML.



foo_upnp

Reply #1310
below is the problem, while using djmount to get files from foobar media server, it takes time is 70 minutes for a 200M file.

root@power-laptop:/mnt/tmp/foobar2000 Media Server (power) [LENOVO4POWER]/Media Library/Folders/Music/Sample Music# time cp 192K-24bit.wav /mnt

real   70m0.651s
user   0m0.032s
sys   0m2.188s


ls /mnt/192K-24bit.wav -l
-r--r--r-- 1 root root 201600044 2011-11-06 13:49 /mnt/192K-24bit.wav

the same file copy from ushare under linux:

root@power-laptop:/mnt/tmp/uShare: 1/music# time cp 192K-24bit.wav /mnt

real   0m22.675s
user   0m0.012s
sys   0m1.168s

same file using windows media player:
root@power-laptop:/mnt/tmp/LENOVO4POWER: power:/Music/Folders/Shared Music/Sample Music# time cp 192K-24bit.wav /mnt

real   0m42.137s
user   0m0.008s
sys   0m0.064s


foo_upnp

Reply #1311
below is the problem, while using djmount to get files from foobar media server, it takes time is 70 minutes for a 200M file.

root@power-laptop:/mnt/tmp/foobar2000 Media Server (power) [LENOVO4POWER]/Media Library/Folders/Music/Sample Music# time cp 192K-24bit.wav /mnt

real   70m0.651s
user   0m0.032s
sys   0m2.188s


This extreme slowness is due to djmount getting the file with many separate http requests, and the file being decoded to WAV from the begininng for each request due to the default Profile, giving nice exponential download times. This can easily be fixed creating a new profile:

1. In the streaming profile page, select the foobar2000 profile
2. Click the new  button to create a new profile that will be a copy of the foobar2000 profile
3. Give it a name (djmount)
4. For the USer-Agent use "Portable SDK for UPnP devices"  (without the quotes) in the "contain" field
5. On your linux box, remount your djmount directory



 

foo_upnp

Reply #1312
Hello,

Did anyone manage to get the following setup to work, over 3G / Internet ? :

upnplay client, WAN configuration towards 127.0.0.1 (on android device ) -> ConnectBot SSH client with remote tunneling to foo_upnp port (on android device) -> SSH server (on windows) -> foo_upnp (on windows)


I don't think this can work as UPnPlay will probably replace streaming URLs ip received from the server with whatever ip you have set for the WAN server (127.0.0.1).

foo_upnp

Reply #1313
Quote
This extreme slowness is due to djmount getting the file with many separate http requests, and the file being decoded to WAV from the begininng for each request due to the default Profile, giving nice exponential download times. This can easily be fixed creating a new profile:

1. In the streaming profile page, select the foobar2000 profile
2. Click the new  button to create a new profile that will be a copy of the foobar2000 profile
3. Give it a name (djmount)
4. For the USer-Agent use "Portable SDK for UPnP devices"  (without the quotes) in the "contain" field
5. On your linux box, remount your djmount directory


Hi,

thanks a lot for the kind reply, the problem is still there after I did as what you told above. I know there is another way to get it directly via http download(like the m3u in capture dir), is that means if I get the URL then I could do it directly by http file get? (BTW, just create a new profile to make it work with djmount?)

before doing this, speed is around 200KB/s and after, might be 300KB ? /s, later will have the result, but who knows how long it takes. be patient...

root@power-laptop:/mnt/tmp/foobar2000 Media Server (power) [LENOVO4POWER]/Media Library/Folders/Music/Sample Music# time cp 192K-24bit.wav /mnt

real   25m34.839s
user   0m0.016s
sys   0m1.252s

----------------seem something strange, while I'm editing the profile during the copy, it might have this speed, might be the transfer was fake?
root@power-laptop:/mnt/tmp/foobar2000 Media Server (power) [LENOVO4POWER]/Media Library/Folders/Music/Sample Music# time cp 192K-24bit.wav /mnt

real   0m38.666s
user   0m0.004s
sys   0m0.612s



Power pan

foo_upnp

Reply #1314
uncheck the use default profile in base setting page and stop/start the server again, problem solved.

foo_upnp

Reply #1315
Apologies if this has already been discussed but I couldn't figure out how to search within this topic.

I'm possibly looking at getting a new receiver which will stream FLAC/MP3 etc over DLNA but I want to continue scrobbling.

I currently use a Squeezebox which means I can use Replaygain as well as scrobble all my tracks.

If I use this plugin can I continue to do so over DLNA?

Many thanks,
Paul.

foo_upnp

Reply #1316
Could you add configurable buffering for playback stream capture (particularly for wav) so that it can handle track changes and seeking without interruptions?

foo_upnp

Reply #1317
Does anyone use an Onkyo receiver with this plugin?  I have it set in the default settings to output lcpm up to 24/192, and everything works fine, except yesterday I tried 24/192 and the music was slowed down a lot.

I'm using a wired connection and the receiver is a TX-NR809.  Is there any way to know if the decoding is taking time on the PC or if the problem lies on the receiver's side?

I'd love to use the PS3 for this or 24/96 but from what I've read that's not possible, or is it?

foo_upnp

Reply #1318
why I could not delete a post?

foo_upnp

Reply #1319
Hi,

I think there may not be a problem on upnplay side, as someone has managed to make it work through SSH tunnel, towards mediatomb upnp server on linux.
see here : http://blog.codezen.org/2011/06/29/android...music-anywhere/

Well, I guess I'll try to figure out what are the differences going on with network streams between upnplay >> ssh tunnel >> mediatomb server, versus upnplay >> ssh tunnel >> foo_upnp... whenever I'll install a linux box for this purpose... which is not going to happen soon...

In the mean time, if you feel like testing/troubleshooting the setup with foo_upnp, don't hesitate  :-)

cheers


Hello,

Did anyone manage to get the following setup to work, over 3G / Internet ? :

upnplay client, WAN configuration towards 127.0.0.1 (on android device ) -> ConnectBot SSH client with remote tunneling to foo_upnp port (on android device) -> SSH server (on windows) -> foo_upnp (on windows)


I don't think this can work as UPnPlay will probably replace streaming URLs ip received from the server with whatever ip you have set for the WAN server (127.0.0.1).


foo_upnp

Reply #1320
Bad Request (400)):
"http://192.168.5.7:49152/web/79.ogg"

while browsing ushare dir and play(as renderer) by plugplayer control point or browse server and play itself.

foo_upnp

Reply #1321
I've got a HTPC at home setup with foobar and using UPnP to stream the Playback Stream Capture to my foobar here at work. I'm controlling it from work using foo_httpcontrol and just letting the stream play continuously (i.e. I never stop or pause the stream on my work fb2k instance). It works great (WAY better than foo_vorbisstream which I tried first) but there's almost exactly 10 seconds of buffer between when I hit pause and when the audio stops (obviously the same for any other of the controls). The playback stream is being encoded to mp3 v0 because I obviously don't have the bandwidth to do PCM and it's the best trade off between audio quality while transcoding file size.

Is there something I can change on the source or listener side to lessen the buffer amount? I don't mind some buffering, but 10 seconds seems pretty excessive when I've got plenty of bandwidth available to me.

Also, I assume there's no way to do this, but is there anyway to not stream the decoded PCMs from my mp3 collection but rather stream the actual mp3s themselves to avoid transcoding?

foo_upnp

Reply #1322
Hi bubbleguuum,

I am a foo_upnp user using with foobar + foo_sacd . First thank you to add the 176.4 khz to the spec in future, I am waiting for this feature.

I have some problem on the latest version 0.99.35, when I using it with android app bubbleupnp (paid license), it always render the songs to 48khz (old version do not have this problem). Even I switch a rendering device to Linn Sneaky DS or foobar rendering with 24/192 sound card support wasapi / asio. The problem can be fix after I restored the previous version. Does something wrong on me or some issues on the latest version?


foo_upnp

Reply #1323
hi bubbleguuum,

first I need to apology for "change" your program!

I need a way to force upnp output 176.4khz when playing sacd iso file. First I tried changing 2.8Mhz value to 176400 (there are 5 instance) in sacd plugin, but fail! foobar keep crashing!

Then I think I should try on the upnp dll. There are 4 instance of 192000 value, and only 1 has a 88200 value nearby. So, I use a hex editor and change that 192000 to 176400. And I also need to modify the .xml file under foobar folder. In the end, the max rate in Streaming option is at 176400.

And finally, playing sacd iso via upnp outputs in 176400hz (instead of re-sample to 192k), and match sacd plugin output rate. Subjectively, there seems no audible difference when playing the same sacd track directly in foobar, or via upnp, both at 176.4khz. So, hopefully, there is no more re-sampling...

Finally, it sounds great!!!

psme

ps: it'd be even better when the upnp plugin has official setting to by pass any re-sampling...


Hi psme, may you share the method for modify the dll to support 176.4 for tentative solution?

foo_upnp

Reply #1324
Hi bubbleguuum,

I am a foo_upnp user using with foobar + foo_sacd . First thank you to add the 176.4 khz to the spec in future, I am waiting for this feature.

I have some problem on the latest version 0.99.35, when I using it with android app bubbleupnp (paid license), it always render the songs to 48khz (old version do not have this problem). Even I switch a rendering device to Linn Sneaky DS or foobar rendering with 24/192 sound card support wasapi / asio. The problem can be fix after I restored the previous version. Does something wrong on me or some issues on the latest version?



I just discovered the problem may caused by foobar2000 portable installation. The sampling problem will not occur when I use the standand installation (i.e. installed in program files).