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

foo_upnp

Reply #1200
i used the UPnP browser to do so. I have most of my albums saved as a .wv file with an embedded cuesheet for each album. When playing music, I get a 320kbps mp3 and when the song changes, it's not gapless.


It should as it is foobar2000 doing the decoding but I will check. I assume your .wv play gaplessly if you play them directly on the server ?

my .wv files play gaplessly but the encoded mp3s don't. i never checked if the encoded mp3s had the LAME gapless info. i'll check it later.

foo_upnp

Reply #1201
I have a Problem.
The Browser doesn't read Subfolders.

If i want to add a whole Artist it just creates a empty Playlist.
I have to click on every Folder which contains the MP3s (mostly Albums / CD 1-X) and THEN when the Browser recognized the MP3s (or other Audio Files) and i can add the Main Folder and he adds all the Files to the Playlist.

foo_upnp

Reply #1202
I am successfully streaming/transcoding 16-bit/44.1 kHz FLAC's (stereo and 5.1 ch) to an OPPO-93 using Foobar+UPnP plugin.
Does the UPnP plugin officially support 24-bit/96 kHz FLAC transcoding to LPCM? I am only hearing white noise (static) when playing these. The same 96/24 files play fine on OPPO-93 when transcoded using PS3mediaserver installed on the same computer. Unfortunately, PS3mediaserver has its own drawbacks that prevent me from using it. I configured the Foobar UPnP settings as described in this post: http://www.avsforum.com/avs-vb/showpost.ph...;postcount=1613

Is there a workaround for streaming/transcoding 24-bit/96kHz FLAC files using Foobar?


If the OPPO does not support WAV streaming , there isn't.

LPCM 24 bit never worked with neither the OPPO-93 nor 95, and I had a good try at it some time ago.
And if you find someone who claim otherwise, there's 99% chance he is just streaming LPCM 16 bits, which works.


I solved the problem by changing the foo_upnp transcoding settings from "Always convert to LPCM" to "Always convert to WAV".  Now Oppo-93 plays 16-bit/44.1 kHz, 24-bit/88.2kHz and 24-bit/96kHz FLAC files.  I don't have any 192 kHz files to try.

foo_upnp

Reply #1203
I am successfully streaming/transcoding 16-bit/44.1 kHz FLAC's (stereo and 5.1 ch) to an OPPO-93 using Foobar+UPnP plugin.
Does the UPnP plugin officially support 24-bit/96 kHz FLAC transcoding to LPCM? I am only hearing white noise (static) when playing these. The same 96/24 files play fine on OPPO-93 when transcoded using PS3mediaserver installed on the same computer. Unfortunately, PS3mediaserver has its own drawbacks that prevent me from using it. I configured the Foobar UPnP settings as described in this post: http://www.avsforum.com/avs-vb/showpost.ph...;postcount=1613

Is there a workaround for streaming/transcoding 24-bit/96kHz FLAC files using Foobar?


If the OPPO does not support WAV streaming , there isn't.

LPCM 24 bit never worked with neither the OPPO-93 nor 95, and I had a good try at it some time ago.
And if you find someone who claim otherwise, there's 99% chance he is just streaming LPCM 16 bits, which works.


I solved the problem by changing the foo_upnp settings from "Always convert to LPCM" to "Always convert to WAV".  Now my Oppo-93 can play 16-bit/44.1 kHz, 24-bit/88.2kHz and 24-bit/96kHz FLAC files.  I don't have any 192 kHz files to try.

foo_upnp

Reply #1204
i used the UPnP browser to do so. I have most of my albums saved as a .wv file with an embedded cuesheet for each album. When playing music, I get a 320kbps mp3 and when the song changes, it's not gapless.


It should as it is foobar2000 doing the decoding but I will check. I assume your .wv play gaplessly if you play them directly on the server ?


I too confirm that the upnp plugin does not support gapless playback.  Most of my files are FLAC/CUE.  If played directly in Foobar2000 on the PC there is no gap between tracks.  If I stream the same file to Oppo-93 using the foo_upnp server, there are ~2 second pauses between tracks.  Could this be because the plugin is set to transcode FLAC to WAV and hence there is some buffering time?

foo_upnp

Reply #1205
Hi bubbleguuum,
The foo_upnp plugin is really great -- it's the only one that understands CUE sheets and can transcode low and high-res FLAC's to my Oppo-93.  Is there a plan to implement automatic library rescan (the same way Foobar2000 does it)?  It's a pain to restart the application each time I update the media library to see the new files.

foo_upnp

Reply #1206
Hi bubbleguuum,
I have a problem with Yamaha RX-V1067 used as Renderer. When I trying to send some track to device controller write Action Failed 501. As I was able to understand the problem araise from WMDRM authorization failure.

I have captured logs from foobar. Can you do something with that?

foo_upnp

Reply #1207
i used the UPnP browser to do so. I have most of my albums saved as a .wv file with an embedded cuesheet for each album. When playing music, I get a 320kbps mp3 and when the song changes, it's not gapless.


It should as it is foobar2000 doing the decoding but I will check. I assume your .wv play gaplessly if you play them directly on the server ?

my .wv files play gaplessly but the encoded mp3s don't. i never checked if the encoded mp3s had the LAME gapless info. i'll check it later.


Ideed this is explained by the fact that each .wv (could be flac or any other gapless codec)  is encoded on the fly by libmp3lame and this is not gapless. It cannot be since at the time of the server receive the http request to stream a .wv, nothing is known about the next file. That's very different than regular command-line encoding with lame, where you pass all the files and gapless data can be computed.
I don't see see any workaround for this unless streaming .wv directly which is not practical over the Internet.


foo_upnp

Reply #1209
i used the UPnP browser to do so. I have most of my albums saved as a .wv file with an embedded cuesheet for each album. When playing music, I get a 320kbps mp3 and when the song changes, it's not gapless.


It should as it is foobar2000 doing the decoding but I will check. I assume your .wv play gaplessly if you play them directly on the server ?


I too confirm that the upnp plugin does not support gapless playback.  Most of my files are FLAC/CUE.  If played directly in Foobar2000 on the PC there is no gap between tracks.  If I stream the same file to Oppo-93 using the foo_upnp server, there are ~2 second pauses between tracks.  Could this be because the plugin is set to transcode FLAC to WAV and hence there is some buffering time?


The only way to have gapless in that case is to use Playback Stream Capture  (You don't mention if you use the UPnP Controller or the Oppo UI to control playback).
The UPnP Controller is inherently non-gapless: it cannot be, as it instructs the renderer to play single track after single track, on track ending.
With Playback Stream Capture, foobar2000 do the gapless decoding and send the stream (ie what it is currently playing) to the Oppo as a single continuous (gapless) stream.

foo_upnp

Reply #1210
Hi bubbleguuum,
I have a problem with Yamaha RX-V1067 used as Renderer. When I trying to send some track to device controller write Action Failed 501. As I was able to understand the problem araise from WMDRM authorization failure.

I have captured logs from foobar. Can you do something with that?


I'll look into it. Another piece of hardware designed to work with WMP  and not much else

 

foo_upnp

Reply #1211
I have questions regarding streaming profiles. I am using plugplayer on Android to get music from my server with foobar upnp. This is working great to play my music wherever I am over the internet. All my music is flac on the server

I do have some problems with the streaming profiles. I have matched the plugplayer streaming profile with the android app but the foobar server does not start transcode flac to mp3. Only when I change the default profile to always transcode mp3 is streaming to the handset.

From the console log with default profile  set to never transcode but plugplayer profile set to always transcode:
Icy-MetaData: 0
User-Agent: QuickTime;NvMM HTTP Client v0.1
foo_upnp: 278.895: upnp_server_conf::get_profile(720)/1868: INFO: using profile 'PlugPlayer', matching header (User-Agent:QuickTime;NvMM HTTP Client v0.1)
foo_upnp: opened 'file://F:\Music\Flac\Run-DMC\Tougher Than Leather\01. Run's House.flac' for streaming
foo_upnp: 280.353: PLT_HttpServerSocketTask::Write(348)/1868: WARNING: NPT_CHECK failed, result=-20401 (NPT_ERROR_CONNECTION_ABORTED) [(NPT_StreamToStreamCopy( *body_stream.AsPointer(), *output_stream.AsPointer(), 0, entity->GetContentLength(), 0, abort))]
foo_upnp: 280.733: FbMediaServer::ProcessHttpRequest(317)/3348: INFO: received WAN request:

From the console log with default profile  set to always transcode and plugpplayer profile set to always transcode:
User-Agent: QuickTime;NvMM HTTP Client v0.1
foo_upnp: 391.201: upnp_server_conf::get_profile(720)/3360: INFO: using profile 'PlugPlayer', matching header (User-Agent:QuickTime;NvMM HTTP Client v0.1)
foo_upnp: opened 'file://F:\Music\Flac\Run-DMC\Tougher Than Leather\01. Run's House.flac' for streaming, profile: Default, MP3 / CBR 128 kbps, replaygain: off, DSP chain: off

How can I get the profile to use the setting for plugplayer for transcode and to ignore the default setting?
The problem is that when is set the default setting to mp3 encode as well the Linn DS on my network is getting the mp3 transcode.

foo_upnp

Reply #1212
As addition to the above, the option to always use default profile is switched off inside basic server setting

foo_upnp

Reply #1213
I have a Problem.


I don't understand your problem....


Okay i try to explain it better ...

My Music is sorted in Folders like this: Musik/Genre/Artist/Album/(Disc 1-X/)Songs
I can browse with the Plugin trough the Folders but i cant directly add a whole Folder which contains Subfolders because it doesn't read the Music Files.
When i browse to the Album / Disc Folder which contains the Songs i can add them to the Playlist, with this way i can add the whole Artist but i have to do this all the time again and when i have a single song which is directly in the Folder and is not a part of an Album the Plugin just add this one and ignore all the other ones again.

I use Serviio as Server on my HTPC but XBMC or other Clients on my Android Phone working fine and i can add a Folder and get all the Subfolders and all the Music inside them.

foo_upnp

Reply #1214
How can I get the profile to use the setting for plugplayer for transcode and to ignore the default setting?
The problem is that when is set the default setting to mp3 encode as well the Linn DS on my network is getting the mp3 transcode.


Hi gebla,

The problem is that PlugPlayer do not set a User-Agent for Browse requests (while it does for streaming requests):
Quote
foo_upnp: 26317.186: FbMediaServer::ProcessHttpRequest(330)/6244: INFO: received LAN request: http://192.168.1.101/ContentDirectory/7fac...e1c/control.xml (User-Agent: Unknown)


Thus foo_upnp cannot identify it is PlugPlayer and uses the default profile when returning streaming URLs.

I will suggest to PP's author to set a User-Agent

foo_upnp

Reply #1215
How can I get the profile to use the setting for plugplayer for transcode and to ignore the default setting?
The problem is that when is set the default setting to mp3 encode as well the Linn DS on my network is getting the mp3 transcode.


Hi gebla,

The problem is that PlugPlayer do not set a User-Agent for Browse requests (while it does for streaming requests):
Quote
foo_upnp: 26317.186: FbMediaServer::ProcessHttpRequest(330)/6244: INFO: received LAN request: http://192.168.1.101/ContentDirectory/7fac...e1c/control.xml (User-Agent: Unknown)


Thus foo_upnp cannot identify it is PlugPlayer and uses the default profile when returning streaming URLs.

I will suggest to PP's author to set a User-Agent


Hi bubbleguuum,

The plugplayer is using a User-Agent it is not labeled Plugplayer. I therefore changed to use the Plugplayer profile when user agent contains "Quicktime". According the log (streaming over WAN) the plugplayer profile is selected but at the end is not used:

foo_upnp: 391.201: upnp_server_conf::get_profile(720)/3360: INFO: using profile 'PlugPlayer', matching header (User-Agent:QuickTime;NvMM HTTP Client v0.1)
foo_upnp: opened 'file://F:\Music\Flac\Run-DMC\Tougher Than Leather\01. Run's House.flac' for streaming

foo_upnp

Reply #1216
LG BD670 player is stuttering when foo_upnp is streaming FLAC transcoded to WAV.  Every file I tried plays fine for the first 1 minute or so and then it stops for 1 second every 2 seconds until the end of track.  Seems like a transcoding issue, because I can stream straight WAV files.  I tried other transcoding options such as FLAC -> MP3 and FLAC -> LPCM, but it was even worse, the file does not play at all and the player gives an error "possible network congestion".  The setup works well with Oppo-93 player but I wanted to add the second player for the basement.  I can generate log files.

foo_upnp

Reply #1217
Hey folks,

Question: Is there any way that i can start/stop the Server with a button in foobar2000 ?
I mean something like:
Code: [Select]
$imagebutton($sub(%_width%,220),5,,,$get(skin_path)\play.png,$get(skin_path)\play_h.png,COMMAND:Playback/Play or Pause),


but instead of playing for starting and stoping the server, cause i want to quickly switch it on and off if i need the server. And going in the preferences is a little bit timeconsuming (yeah yeah i know but i thought that this MUST be possible, so i'm just asking)

foo_upnp

Reply #1218
The plugplayer is using a User-Agent it is not labeled Plugplayer. I therefore changed to use the Plugplayer profile when user agent contains "Quicktime". According the log (streaming over WAN) the plugplayer profile is selected but at the end is not used:


Reread my post. There are 2 type of requests. Browse requests and Streaming requests. PP sets User-Agent only for streaming requests but that is not enough. Hopefully it'll get fixed in a future version of PP.


I can generate log files.

Yes, post some logs. Maybe the device has buffering issues itself as this is the first time this issue is reported. It works even with the PS3, the pickiest
device you can find.


but instead of playing for starting and stoping the server, cause i want to quickly switch it on and off if i need the server. And going in the preferences is a little bit timeconsuming (yeah yeah i know but i thought that this MUST be possible, so i'm just asking)


In the next version, I've added a menu command to toggle the server on/off, so this should be scriptable.

foo_upnp

Reply #1219
Hi bubbleguuum,
I have a problem with Yamaha RX-V1067 used as Renderer. When I trying to send some track to device controller write Action Failed 501. As I was able to understand the problem araise from WMDRM authorization failure.

I have captured logs from foobar. Can you do something with that?


I reply to myself to get somebody quick solution for this problem. foo_upnp was NOT the problem. The problem was receiver usage. It reject all try to push a song throught conroller interface because it should be in NET mode to allow that action. That's all. When I switch receiver to NET mode(remote NET button) everything works.

foo_upnp

Reply #1220
0.99.33 is available (first post to download or autoupdate or components site)

Quote
0.99.33

- use current foobar2000 icon for media server and renderer
- Linn Davaar suport. removed Cara support (0.99.32 is the last version with Cara support).
- renderer: change so Twonky mobile is able to display  elapsed time / track duration correctly
- renderer: fixed returned volume rounding error (was confusing KinskyDesktop)
- renderer: do not return volume=0 when muted (was confusing KinskyDesktop)
- server: set album artist in returned album containers
- server: set album art URL in returned album containers
- server: support for BubbleDS search request: all albums of artist
- browser: when browsing a remote foobar2000 server, override ip:port  in server returned URLs  with the ip:port the user specified to connect to this remote server.
This should allow corner cases like streaming over a SSH tunnel to work (untested)
- new menu action under Library menu: "Start/Stop UPnP Media server"

foo_upnp

Reply #1221
Great plugin  I have been using the control for a while now with a WD TV Live. Each update works better and better.
I was wondering if there is a way to get the playlist queue to do the same as when you are playing local? Such as the cursor and album art for currently playing.
It doesn't seem to behave the same way when using as a control point.

Local

Upnp


Crap.. i hope images aren't too small

foo_upnp

Reply #1222
Great plugin  I have been using the control for a while now with a WD TV Live. Each update works better and better.
I was wondering if there is a way to get the playlist queue to do the same as when you are playing local? Such as the cursor and album art for currently playing.
It doesn't seem to behave the same way when using as a control point.


Try to set Selection Viewer to "prefer current selection" (instead of "prefer current playing track").
See Preference>Display to change this.

"prefer current playing track" cannot work with UPnP as from the pov of foobar2000 there's no track playing when streaming a track.

foo_upnp

Reply #1223
Quote
"prefer current playing track" cannot work with UPnP as from the pov of foobar2000 there's no track playing when streaming a track.


I guess I will have to live with it. I did notice if I select the currently playing song the highlighting will follow and album art and info will be correct.
As a long long time Winamp user, Foobar is quickly becoming my player of choice because of the UPNP plugin.
Keep up the ggod work.

foo_upnp

Reply #1224
Awesome plugin!! Don't know how I survived before this was around. Really makes Foobar THE only thing you need for audio in the house. 

With that said, I am having a problem that I haven't really seen replicated on the forum, so I thought I would put it out there. Just switched to Android, after having been a satisfied PlugPlayer user on iOS. I have been using the PP & Foobar combo successfully for a while. So, I installed PP on the Android and fired up Foobar. PP recognizes Foobar immediately on the network and I can open and browse the files. However, I cannot play anything. If I click on a file it simply tries to play it and then skips to the next. It won't play anything. Same issue w/the Playback Stream Capture. PP can find Foobar, but can't play anything. I have tried PP with the PlayOn server and that works fine, so PP seems to be OK. I gather there is a setting or something that I need to change and I am hoping that someone out there can provide some guidance.

Thanks in advance for your help and all of the work you've put into this.