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

Re: foo_upnp

Reply #2125
Sorry to bring bad news but bubbleguuum has said this project is abandoned.


Re: foo_upnp

Reply #2127
Hi everybody, this is my first post.
I don't know if this topic has stil some interest (last post more than a year ago) but I make a try because I can't make the thing working even if normally should work.
My aim is simply to play Foobar2000 from my main Windows XP desktop to a DLNA receiver in the kitchen through the wifi network.
The receiver is a DLink Music Everywhere DCH M225, is in the same wifi network and is perfectly running AirPlay and DLNA from a mobile phone. I configured foo_upnp as described on Bubbleguuum main site and as in other internet pages.
Many thanks for the support if still someone use this software.
Alberto

Re: foo_upnp

Reply #2128
Did you try foo_upnp_out, see here? Works well for me.

Re: foo_upnp

Reply #2129
Hi, I tried it but it is different in design.

It's only an output to another device, not a real server.
Anyway it didn't work too, there was an errore message. Today I'll try again and I let you know.
Maybe there are some ports to open in the router?

Thanks,
Alberto

Re: foo_upnp

Reply #2130
Hi, I'm not sure if this goes here or in tech support (where I've also posted this). Can someone please tell me and I'll delete accordingly.

I am wondering if there is code that can be used in the foo_upnp_ml_tree.xml file that will essentially not display any mp3 files if there is a flac file of the same song with the same tag and/or same file me (obviously except for the extension).

I have two folders for my music. My (mostly portable) mp3/lossy folder that contains all of the music that I own and my archive quality flac folder (mostly from my Audio CD rips). Over the last 15 years however I have accumulated many mp3s that I don't have a flac for through various purchases, etc.

I'd like to be able to add both folders to my music library however in specific cases, like when playing a genre (I have made a custom "Ben's Hits" genre with about 2100 songs) I'd like to be able to weed out the mp3s if there is a high quality version available. In this specific case it'll keep my "Bens Hits" genre at 2100 versus about 3200 if both copies are included.

My current genre .xml code:

</SubTree>
   <SubTree label="Genres ALL TRACKS">
      <spec type="object.container.genre.musicGenre">%&lt;genre&gt;%</spec>
   </SubTree>

&

<SubTree label="Genres (Artist)">
      <spec type="object.container.genre.musicGenre">%&lt;genre&gt;%</spec>
      <spec type="object.container.person.musicArtist">%artist%</spec>
      <spec type="object.container.album.musicAlbum">%album%</spec>

Re: foo_upnp

Reply #2131
Hi, I tried it but it is different in design.

It's only an output to another device, not a real server.
Anyway it didn't work too, there was an errore message. Today I'll try again and I let you know.
Maybe there are some ports to open in the router?

Thanks,
Alberto

Alberto...did you ever get this working? A way to check if it is working is setup the server on one PC and then use foobar on another PC to see if you can find the server and play music on the 2nd PC from the 1st foobar music server. Or use the foobar app on an android phone...that will work too. That way you'll know that the foo_upnp server is working before you try to diagnose the DLink.

I personally use the BubbleuPnp app on my phone to play music (and everything else) on my phone or even stream thru my phone from the server to my phone to another destination like my smart TV, my 7.1 receiver connected to my home theater, other computers, my bluray players, etc.

I think there is a free version of BubbleUpnp that you can test out on at least a few songs.

Re: foo_upnp

Reply #2132
I try to use the component in order to stream onto Libratone Zipp device. It seems to work only for formats directly supported by the devince which unfortunately does not support ogg.

Actually, transcoding to mp3 is enabled in the config and it does work when streaming to other renderers, but for some strange reason, I can't get it to work with my Libratone zip (which does however work with other servers such as bubble UPN, also it plays the transcoded http stream from mpd just fine)

Here is the log file:

0.001: foo_upnp::on_init(199)/13532: INFO: foo_upnp: version 0.99.49
0.004: PLT_UPnP::Start(150)/13532: INFO: Starting UPnP...
0.006: media_tree_root_node_t::load_ml_filters_from_file(189)/13532: INFO: file C:\Users\jr\AppData\Roaming\foobar2000\foo_upnp_ml_tree.xml do not exists
0.006: standard_media_tree_root_node_t::load_ml_filters(595)/13532: INFO: loaded default Media Library filters
0.008: PLT_UPnP::AddDevice(224)/13532: INFO: Starting Device...
0.009: PLT_HttpServer::Start(127)/13532: INFO: HttpServer listening on 0.0.0.0:56923
0.012: PLT_UPnP::AddDevice(224)/13532: INFO: Starting Device...
0.013: PLT_HttpServer::Start(127)/13532: INFO: HttpServer listening on 0.0.0.0:1060
initialized in 0.029s
created 7012 path registry entries in 0.125s
0.336: FbMediaServer::CheckAuthentication(401)/10000: INFO: received LAN request: http://192.168.30.23:56923/DeviceDescription.xml (User-Agent: AVM UPnP/1.0 Client 1.0)
0.347: FbMediaServer::CheckAuthentication(401)/11628: INFO: received LAN request: http://192.168.30.23:56923/ContentDirectory/38fb1eca-b337-6b39-a27f-26ea36254941/scpd.xml (User-Agent: AVM UPnP/1.0 Client 1.0)
0.365: FbMediaServer::CheckAuthentication(401)/10500: INFO: received LAN request: http://192.168.30.23:56923/ConnectionManager/38fb1eca-b337-6b39-a27f-26ea36254941/scpd.xml (User-Agent: AVM UPnP/1.0 Client 1.0)
0.379: FbMediaServer::CheckAuthentication(401)/6080: INFO: received LAN request: http://192.168.30.23:56923/X_MS_MediaReceiverRegistrar/38fb1eca-b337-6b39-a27f-26ea36254941/scpd.xml (User-Agent: AVM UPnP/1.0 Client 1.0)
0.393: FbMediaServer::CheckAuthentication(401)/18824: INFO: received LAN request: http://192.168.30.23:56923/Control/38fb1eca-b337-6b39-a27f-26ea36254941/scpd.xml (User-Agent: AVM UPnP/1.0 Client 1.0)
loaded Media Library tree in 0.703s
27.27800: controller_window::set_track_info_string(1112)/13532: INFO: track info display:
27.27800: PLT_UPnP::AddCtrlPoint(266)/13532: INFO: Starting Ctrlpoint...
27.27801: PLT_HttpServer::Start(127)/13532: INFO: HttpServer listening on 0.0.0.0:1082
27.27806: PLT_CtrlPoint::InspectDevice(1269)/3096: INFO: Inspecting device "4d696e69-444c-164e-9d41-b827ebb0ac65" detected @ http://192.168.30.2:8200/rootDesc.xml
27.27806: PLT_CtrlPoint::InspectDevice(1269)/3096: INFO: Inspecting device "4cfdd855-67fd-480d-9147-632c3a9d7153" detected @ http://10.8.0.1:49153/description.xml
27.27807: PLT_CtrlPoint::InspectDevice(1269)/3096: INFO: Inspecting device "95802409-bccb-40e7-8e6c-C80E144F5BF8" detected @ http://192.168.30.1:49000/l2tpv3.xml
27.27807: PLT_CtrlPoint::InspectDevice(1269)/3096: INFO: Inspecting device "123402409-bccb-40e7-8e6c-C80E144F5BF8" detected @ http://192.168.30.1:49000/fboxdesc.xml
27.27808: PLT_CtrlPoint::InspectDevice(1269)/3096: INFO: Inspecting device "75802409-bccb-40e7-8e6c-C80E144F5BF8" detected @ http://192.168.30.1:49000/igddesc.xml
27.27810: PLT_CtrlPoint::InspectDevice(1269)/3096: INFO: Inspecting device "75802409-bccb-40e7-9f6c-C80E144F5BF8" detected @ http://192.168.30.1:49000/igd2desc.xml
27.27998: PLT_CtrlPoint::InspectDevice(1269)/3096: INFO: Inspecting device "3e5d42cf-9370-4fba-a07e-030a61a85517" detected @ http://192.168.30.98:49152/description.xml
28.28321: PLT_CtrlPoint::ProcessGetDescriptionResponse(1394)/19384: INFO: Device "4cfdd855-67fd-480d-9147-632c3a9d7153" is now known as "Mediatomb"
28.28364: PLT_CtrlPoint::ProcessGetDescriptionResponse(1394)/9988: INFO: Device "95802409-bccb-40e7-8e6c-C80E144F5BF8" is now known as "Digitalsarg"
28.28366: PLT_CtrlPoint::ProcessGetDescriptionResponse(1394)/13320: INFO: Device "4d696e69-444c-164e-9d41-b827ebb0ac65" is now known as "ReadyMedia auf Raspberrypi"
28.28368: PLT_CtrlPoint::ProcessGetDescriptionResponse(1394)/16144: INFO: Device "75802409-bccb-40e7-8e6c-C80E144F5BF8" is now known as "Digitalsarg"
28.28370: PLT_CtrlPoint::ProcessGetDescriptionResponse(1394)/12576: INFO: Device "75802409-bccb-40e7-9f6c-C80E144F5BF8" is now known as "InternetGatewayDeviceV2 - Digitalsarg"
28.28378: PLT_CtrlPoint::ProcessGetDescriptionResponse(1394)/16524: INFO: Device "123402409-bccb-40e7-8e6c-C80E144F5BF8" is now known as "Digitalsarg"
28.28443: LinnDsRendererController::Create(117)/13532: INFO: couldn't find urn:av-openhome-org:service:Product:1 service
28.28513: LinnDsRendererController::Create(117)/13532: INFO: couldn't find urn:av-openhome-org:service:Product:1 service
28.28528: LinnDsRendererController::Create(117)/13532: INFO: couldn't find urn:av-openhome-org:service:Product:1 service
28.28529: PLT_CtrlPoint::ProcessGetDescriptionResponse(1394)/9844: INFO: Device "3e5d42cf-9370-4fba-a07e-030a61a85517" is now known as "Heikes Lauti"
28.28541: LinnDsRendererController::Create(117)/13532: INFO: couldn't find urn:av-openhome-org:service:Product:1 service
28.28704: LinnDsRendererController::Create(117)/13532: INFO: couldn't find urn:av-openhome-org:service:Product:1 service
28.28704: RendererController::Create(25)/13532: INFO: Created UPnPAv Controller for device: Heikes Lauti
31.31163: PLT_CtrlPoint::InspectDevice(1269)/18772: INFO: Inspecting device "bdbb0834-469f-4e64-a8a6-63768bf6653a" detected @ http://127.0.0.1:2869/upnphost/udhisapi.dll?content=uuid:bdbb0834-469f-4e64-a8a6-63768bf6653a
31.31675: PLT_CtrlPoint::ProcessGetDescriptionResponse(1394)/5980: INFO: Device "bdbb0834-469f-4e64-a8a6-63768bf6653a" is now known as "TOMMY"
31.31786: LinnDsRendererController::Create(117)/13532: INFO: couldn't find urn:av-openhome-org:service:Product:1 service
32.32211: controller_window::set_track_info_string(1112)/13532: INFO: track info display: Stopped
32.32211: PLT_CtrlPoint::Subscribe(1562)/13532: INFO: Subscribing to service "urn:upnp-org:serviceId:RenderingControl" of device "Heikes Lauti"
32.32218: PLT_CtrlPoint::ProcessSubscribeResponse(1666)/17148: INFO: Creating new subscriber "uuid:795f126c-1dd2-11b2-8f76-d9f3c7015134" for service "urn:upnp-org:serviceId:RenderingControl" of device "Heikes Lauti" (timeout = 300)
32.32226: UPnPAVRendererController::OnEventNotifyCallback(413)/13532: INFO: <<<< Heikes Lauti: EVENT Volume=40
32.32227: UPnPAVRendererController::OnEventNotifyCallback(413)/13532: INFO: <<<< Heikes Lauti: EVENT Mute=0
32.32227: UPnPAVRendererController::OnEventNotifyCallback(413)/13532: INFO: <<<< Heikes Lauti: EVENT PresetNameList=FactoryDefaults
32.32235: UPnPAVRendererController::set_transport_state(232)/13532: INFO: No local playing item
32.32235: controller_window::set_track_info_string(1112)/13532: INFO: track info display: Stopped
41.41752: RendererController::GetNearestResource(188)/13532: INFO: matching resource url to target ip 192.168.30.98: http://192.168.30.23:56923/content/5dd0e90ac53f19019ca1570895fcdc81.mp3?profile_id=0&convert=mp3
41.41773: FbMediaServer::CheckAuthentication(401)/15732: INFO: received LAN request: http://192.168.30.23:56923/content/5dd0e90ac53f19019ca1570895fcdc81.mp3?profile_id=0&convert=mp3 (User-Agent: Lavf/55.19.104)
41.41773: PLT_HttpHelper::ToLog(432)/15732: INFO: FbMediaServer::ProcessFileRequest
GET /content/5dd0e90ac53f19019ca1570895fcdc81.mp3?profile_id=0&convert=mp3 HTTP/1.1
User-Agent: Lavf/55.19.104
Accept: */*
Connection: close
Host: 192.168.30.23:56923
transferMode.dlna.org: Streaming

46.46859: upnp_server_conf::get_profile(943)/15732: INFO: using default profile (User-Agent:Lavf/55.19.104)
opened 'file://H:\data\music\Achim Reichel\Regenballade\09 John Maynard.ogg' for streaming, profile: Default, MP3 / VBR -V2, replaygain: off, DSP chain: off
46.46862: PLT_HttpServerSocketTask::Write(465)/15732: WARNING: NPT_CHECK failed, result=-20401 (NPT_ERROR_CONNECTION_ABORTED) [(SendResponseBody(response, *output_stream, abort))]
51.51323: PLT_CtrlPoint::Subscribe(1588)/13532: INFO: Unsubscribing subscriber "uuid:795f126c-1dd2-11b2-8f76-d9f3c7015134" for service "urn:upnp-org:serviceId:RenderingControl" of device "Heikes Lauti"
51.51324: PLT_SsdpSearchTask::DoRun(484)/3096: WARNING: PLT_SsdpSearchTask got an error (-20021) waiting for response
51.51324: PLT_SsdpSearchTask::DoRun(484)/18772: WARNING: PLT_SsdpSearchTask got an error (-20021) waiting for response
52.52279: PLT_HttpListenTask::DoRun(491)/16856: WARNING: PLT_HttpListenTask exiting with -20021 (NPT_ERROR_CANCELLED)
52.52281: PLT_UPnP::Stop(191)/13532: INFO: Stopping UPnP...
52.52332: PLT_HttpListenTask::DoRun(491)/10492: WARNING: PLT_HttpListenTask exiting with -20021 (NPT_ERROR_CANCELLED)
52.52440: PLT_HttpListenTask::DoRun(491)/1276: WARNING: PLT_HttpListenTask exiting with -20021 (NPT_ERROR_CANCELLED)
52.52459: PLT_HttpServerSocketTask::Read(195)/6092: WARNING: NPT_CHECK failed, result=-20021 (NPT_ERROR_CANCELLED) [(res)]


It seems that "NPT_CHECK failed, result=-20401 " is where things start going wrong, but I hav no idea what it means and what I can do about it. Can someone drop me a hint?

Re: foo_upnp

Reply #2133
For comparison, I have inspected the log of a successful streaming to another device, and it still says "NPT_CHECK failed" and "NPT_ERROR_CANCELLED". Here is end of the file. It looks quite similar, only that in this case, playback actually works.


76.76547: upnp_server_conf::get_profile(943)/13044: INFO: using default profile (User-Agent:Kodi/17.3 (X11; Linux armv7l) LibreELEC/8.0 HW_RaspberryPi/1.0 App_Bitness/32 Version/17.3-Git:147cec4)
opened 'file://H:\data\music\Achim Reichel\Regenballade\04 Regenballade.ogg' for streaming, profile: Default, MP3 / VBR -V2, replaygain: off, DSP chain: off
76.76560: controller_window::set_track_info_string(1112)/9108: INFO: track info display: Achim Reichel - John Maynard | MP3 | ? kbps | ? Hz
76.76622: controller_window::set_track_info_string(1112)/9108: INFO: track info display: Achim Reichel - John Maynard | MP3 | ? kbps | ? Hz
77.77681: controller_window::set_track_info_string(1112)/9108: INFO: track info display: Achim Reichel - Regenballade | MP3 | ? kbps | ? Hz
78.78498: FbMediaServer::OnAction(295)/17760: INFO: received action 'Browse', args = { ObjectID=0/1/0, BrowseFlag=BrowseDirectChildren, Filter=res@resolution,res@nrAudioChannels,res@sampleFrequency,res@bitrate,dc:creator,res@dlna:cleartextSize,dc:date,upnp:genre,res,res@duration,res@size,upnp:albumArtURI,upnp:originalTrackNumber,upnp:album,upnp:artist,upnp:author, StartingIndex=570, RequestedCount=30, SortCriteria= }
78.78498: upnp_server_conf::get_profile(943)/17760: INFO: using default profile (User-Agent:Linux/3.16.0-61.beehive4tv.3 UPnP/1.0 LGE WebOS TV LGE_DLNA_SDK/1.6.0/04.05.56 DLNADOC/1.50)
78.78500: FbMediaServer::OnAction(323)/17760: INFO: action 'Browse' response: args = { ObjectID=0/1/0, BrowseFlag=BrowseDirectChildren, Filter=res@resolution,res@nrAudioChannels,res@sampleFrequency,res@bitrate,dc:creator,res@dlna:cleartextSize,dc:date,upnp:genre,res,res@duration,res@size,upnp:albumArtURI,upnp:originalTrackNumber,upnp:album,upnp:artist,upnp:author, StartingIndex=570, RequestedCount=30, SortCriteria=, NumberReturned=30, TotalMatches=862, UpdateID=0 }
78.78738: controller_window::set_track_info_string(1112)/9108: INFO: track info display: Achim Reichel - Regenballade | MP3 | ? kbps | ? Hz
79.79794: controller_window::set_track_info_string(1112)/9108: INFO: track info display: Achim Reichel - Regenballade | MP3 | ? kbps | ? Hz
80.80851: controller_window::set_track_info_string(1112)/9108: INFO: track info display: Achim Reichel - Regenballade | MP3 | ? kbps | ? Hz
81.81544: FbMediaServer::OnAction(295)/6724: INFO: received action 'Browse', args = { ObjectID=0/1/0, BrowseFlag=BrowseDirectChildren, Filter=res@resolution,res@nrAudioChannels,res@sampleFrequency,res@bitrate,dc:creator,res@dlna:cleartextSize,dc:date,upnp:genre,res,res@duration,res@size,upnp:albumArtURI,upnp:originalTrackNumber,upnp:album,upnp:artist,upnp:author, StartingIndex=600, RequestedCount=30, SortCriteria= }
81.81545: upnp_server_conf::get_profile(943)/6724: INFO: using default profile (User-Agent:Linux/3.16.0-61.beehive4tv.3 UPnP/1.0 LGE WebOS TV LGE_DLNA_SDK/1.6.0/04.05.56 DLNADOC/1.50)
81.81547: FbMediaServer::OnAction(323)/6724: INFO: action 'Browse' response: args = { ObjectID=0/1/0, BrowseFlag=BrowseDirectChildren, Filter=res@resolution,res@nrAudioChannels,res@sampleFrequency,res@bitrate,dc:creator,res@dlna:cleartextSize,dc:date,upnp:genre,res,res@duration,res@size,upnp:albumArtURI,upnp:originalTrackNumber,upnp:album,upnp:artist,upnp:author, StartingIndex=600, RequestedCount=30, SortCriteria=, NumberReturned=30, TotalMatches=862, UpdateID=0 }
81.81905: controller_window::set_track_info_string(1112)/9108: INFO: track info display: Achim Reichel - Regenballade | MP3 | ? kbps | ? Hz
82.82963: controller_window::set_track_info_string(1112)/9108: INFO: track info display: Achim Reichel - Regenballade | MP3 | ? kbps | ? Hz
84.84021: controller_window::set_track_info_string(1112)/9108: INFO: track info display: Achim Reichel - Regenballade | MP3 | ? kbps | ? Hz
84.84610: FbMediaServer::OnAction(295)/17760: INFO: received action 'Browse', args = { ObjectID=0/1/0, BrowseFlag=BrowseDirectChildren, Filter=res@resolution,res@nrAudioChannels,res@sampleFrequency,res@bitrate,dc:creator,res@dlna:cleartextSize,dc:date,upnp:genre,res,res@duration,res@size,upnp:albumArtURI,upnp:originalTrackNumber,upnp:album,upnp:artist,upnp:author, StartingIndex=630, RequestedCount=30, SortCriteria= }
84.84611: upnp_server_conf::get_profile(943)/17760: INFO: using default profile (User-Agent:Linux/3.16.0-61.beehive4tv.3 UPnP/1.0 LGE WebOS TV LGE_DLNA_SDK/1.6.0/04.05.56 DLNADOC/1.50)
84.84613: FbMediaServer::OnAction(323)/17760: INFO: action 'Browse' response: args = { ObjectID=0/1/0, BrowseFlag=BrowseDirectChildren, Filter=res@resolution,res@nrAudioChannels,res@sampleFrequency,res@bitrate,dc:creator,res@dlna:cleartextSize,dc:date,upnp:genre,res,res@duration,res@size,upnp:albumArtURI,upnp:originalTrackNumber,upnp:album,upnp:artist,upnp:author, StartingIndex=630, RequestedCount=30, SortCriteria=, NumberReturned=30, TotalMatches=862, UpdateID=0 }
85.85076: controller_window::set_track_info_string(1112)/9108: INFO: track info display: Achim Reichel - Regenballade | MP3 | ? kbps | ? Hz
86.86134: controller_window::set_track_info_string(1112)/9108: INFO: track info display: Achim Reichel - Regenballade | MP3 | ? kbps | ? Hz
86.86650: FbMediaServer::OnAction(295)/6724: INFO: received action 'Browse', args = { ObjectID=0/1/0, BrowseFlag=BrowseDirectChildren, Filter=res@resolution,res@nrAudioChannels,res@sampleFrequency,res@bitrate,dc:creator,res@dlna:cleartextSize,dc:date,upnp:genre,res,res@duration,res@size,upnp:albumArtURI,upnp:originalTrackNumber,upnp:album,upnp:artist,upnp:author, StartingIndex=660, RequestedCount=30, SortCriteria= }
86.86650: upnp_server_conf::get_profile(943)/6724: INFO: using default profile (User-Agent:Linux/3.16.0-61.beehive4tv.3 UPnP/1.0 LGE WebOS TV LGE_DLNA_SDK/1.6.0/04.05.56 DLNADOC/1.50)
86.86653: FbMediaServer::OnAction(323)/6724: INFO: action 'Browse' response: args = { ObjectID=0/1/0, BrowseFlag=BrowseDirectChildren, Filter=res@resolution,res@nrAudioChannels,res@sampleFrequency,res@bitrate,dc:creator,res@dlna:cleartextSize,dc:date,upnp:genre,res,res@duration,res@size,upnp:albumArtURI,upnp:originalTrackNumber,upnp:album,upnp:artist,upnp:author, StartingIndex=660, RequestedCount=30, SortCriteria=, NumberReturned=30, TotalMatches=862, UpdateID=0 }
87.87194: controller_window::set_track_info_string(1112)/9108: INFO: track info display: Achim Reichel - Regenballade | MP3 | ? kbps | ? Hz
88.88249: controller_window::set_track_info_string(1112)/9108: INFO: track info display: Achim Reichel - Regenballade | MP3 | ? kbps | ? Hz
89.89305: controller_window::set_track_info_string(1112)/9108: INFO: track info display: Achim Reichel - Regenballade | MP3 | ? kbps | ? Hz
89.89706: FbMediaServer::OnAction(295)/17760: INFO: received action 'Browse', args = { ObjectID=0/1/0, BrowseFlag=BrowseDirectChildren, Filter=res@resolution,res@nrAudioChannels,res@sampleFrequency,res@bitrate,dc:creator,res@dlna:cleartextSize,dc:date,upnp:genre,res,res@duration,res@size,upnp:albumArtURI,upnp:originalTrackNumber,upnp:album,upnp:artist,upnp:author, StartingIndex=690, RequestedCount=30, SortCriteria= }
89.89706: upnp_server_conf::get_profile(943)/17760: INFO: using default profile (User-Agent:Linux/3.16.0-61.beehive4tv.3 UPnP/1.0 LGE WebOS TV LGE_DLNA_SDK/1.6.0/04.05.56 DLNADOC/1.50)
89.89709: FbMediaServer::OnAction(323)/17760: INFO: action 'Browse' response: args = { ObjectID=0/1/0, BrowseFlag=BrowseDirectChildren, Filter=res@resolution,res@nrAudioChannels,res@sampleFrequency,res@bitrate,dc:creator,res@dlna:cleartextSize,dc:date,upnp:genre,res,res@duration,res@size,upnp:albumArtURI,upnp:originalTrackNumber,upnp:album,upnp:artist,upnp:author, StartingIndex=690, RequestedCount=30, SortCriteria=, NumberReturned=30, TotalMatches=862, UpdateID=0 }
90.90359: controller_window::set_track_info_string(1112)/9108: INFO: track info display: Achim Reichel - Regenballade | MP3 | ? kbps | ? Hz
submitted statistics for 'file://H:\data\music\Achim Reichel\Regenballade\04 Regenballade.ogg'
91.91451: controller_window::set_track_info_string(1112)/9108: INFO: track info display: Achim Reichel - Regenballade | MP3 | ? kbps | ? Hz
92.92506: controller_window::set_track_info_string(1112)/9108: INFO: track info display: Achim Reichel - Regenballade | MP3 | ? kbps | ? Hz
92.92754: FbMediaServer::OnAction(295)/6724: INFO: received action 'Browse', args = { ObjectID=0/1/0, BrowseFlag=BrowseDirectChildren, Filter=res@resolution,res@nrAudioChannels,res@sampleFrequency,res@bitrate,dc:creator,res@dlna:cleartextSize,dc:date,upnp:genre,res,res@duration,res@size,upnp:albumArtURI,upnp:originalTrackNumber,upnp:album,upnp:artist,upnp:author, StartingIndex=720, RequestedCount=30, SortCriteria= }
92.92755: upnp_server_conf::get_profile(943)/6724: INFO: using default profile (User-Agent:Linux/3.16.0-61.beehive4tv.3 UPnP/1.0 LGE WebOS TV LGE_DLNA_SDK/1.6.0/04.05.56 DLNADOC/1.50)
92.92763: FbMediaServer::OnAction(323)/6724: INFO: action 'Browse' response: args = { ObjectID=0/1/0, BrowseFlag=BrowseDirectChildren, Filter=res@resolution,res@nrAudioChannels,res@sampleFrequency,res@bitrate,dc:creator,res@dlna:cleartextSize,dc:date,upnp:genre,res,res@duration,res@size,upnp:albumArtURI,upnp:originalTrackNumber,upnp:album,upnp:artist,upnp:author, StartingIndex=720, RequestedCount=30, SortCriteria=, NumberReturned=30, TotalMatches=862, UpdateID=0 }
93.93563: controller_window::set_track_info_string(1112)/9108: INFO: track info display: Achim Reichel - Regenballade | MP3 | ? kbps | ? Hz
94.94457: UPnPAVRendererController::set_transport_state(232)/9108: INFO: No local playing item
94.94458: controller_window::set_track_info_string(1112)/9108: INFO: track info display: Stopped
95.95982: FbMediaServer::OnAction(295)/17760: INFO: received action 'Browse', args = { ObjectID=0/1/0, BrowseFlag=BrowseDirectChildren, Filter=res@resolution,res@nrAudioChannels,res@sampleFrequency,res@bitrate,dc:creator,res@dlna:cleartextSize,dc:date,upnp:genre,res,res@duration,res@size,upnp:albumArtURI,upnp:originalTrackNumber,upnp:album,upnp:artist,upnp:author, StartingIndex=750, RequestedCount=30, SortCriteria= }
95.95983: upnp_server_conf::get_profile(943)/17760: INFO: using default profile (User-Agent:Linux/3.16.0-61.beehive4tv.3 UPnP/1.0 LGE WebOS TV LGE_DLNA_SDK/1.6.0/04.05.56 DLNADOC/1.50)
95.95991: FbMediaServer::OnAction(323)/17760: INFO: action 'Browse' response: args = { ObjectID=0/1/0, BrowseFlag=BrowseDirectChildren, Filter=res@resolution,res@nrAudioChannels,res@sampleFrequency,res@bitrate,dc:creator,res@dlna:cleartextSize,dc:date,upnp:genre,res,res@duration,res@size,upnp:albumArtURI,upnp:originalTrackNumber,upnp:album,upnp:artist,upnp:author, StartingIndex=750, RequestedCount=30, SortCriteria=, NumberReturned=30, TotalMatches=862, UpdateID=0 }
97.97481: PLT_CtrlPoint::Subscribe(1588)/9108: INFO: Unsubscribing subscriber "uuid:a68f68c6-c73c-852e-b68c-f443a13d0f6a" for service "urn:upnp-org:serviceId:RenderingControl" of device "Kodi (LibreELEC)"
97.97682: PLT_HttpListenTask::DoRun(491)/19068: WARNING: PLT_HttpListenTask exiting with -20021 (NPT_ERROR_CANCELLED)
97.97684: PLT_UPnP::Stop(191)/9108: INFO: Stopping UPnP...
97.97785: PLT_HttpListenTask::DoRun(491)/17624: WARNING: PLT_HttpListenTask exiting with -20021 (NPT_ERROR_CANCELLED)
97.97787: PLT_HttpServerSocketTask::Read(195)/6724: WARNING: NPT_CHECK failed, result=-20021 (NPT_ERROR_CANCELLED) [(res)]
97.97787: PLT_HttpServerSocketTask::Read(195)/17760: WARNING: NPT_CHECK failed, result=-20021 (NPT_ERROR_CANCELLED) [(res)]
97.97950: PLT_HttpListenTask::DoRun(491)/1296: WARNING: PLT_HttpListenTask exiting with -20021 (NPT_ERROR_CANCELLED)
97.97972: PLT_HttpServerSocketTask::Read(195)/17996: WARNING: NPT_CHECK failed, result=-20021 (NPT_ERROR_CANCELLED) [(res)]

Re: foo_upnp

Reply #2134
Hi,
Does anybody have an old version of this plugin? I stream to a Sony device that supports most of the playback formats, but even if configured to not convert or transcode, it still convert ape or dsd files to lpcm. I remember streaming native dsd iso with the old version of the plugin..

Re: foo_upnp

Reply #2135
Does anyone know why my UPNP server is not seen from other foobar2000 installations on my local network computers? Computer discovering is enabled, UPNP service is enabled. What could be the problem?
🇺🇦 Glory to Ukraine!

Re: foo_upnp

Reply #2136
Hello everybody
I set up my foobar2000 with foo_upnp for streaming and downloading over the internet to foobar2000 mobile on my phone. The connection and navigation works fine but there are a few problems I couldn't fix:

The streaming profile is set to: transcode 'never' only if lossless. So if I'm on my phone and want to download a M4A track foobar2000 on my PC would convert the track to WAV.
If it is lossless, the track would be converted to MP3. Just like it set it up. But why is the M4A track converted to WAV at all?
So I set it to: transcode 'always'. This means that FLAC or ALAC and also M4A tracks are getting converted. Okay. But I think M4A doesn't need to be transcoded, a transcode of lossless files would be enough.

Next and bigger problem: if I download some transcoded MP3 files, all the metadata is missing. The metadata is all there in playback, but after downloading it all is gone. Does anyone know how to solve this problems?

Best regards

Re: foo_upnp

Reply #2137
Add Support for:

DSD128, DSD512 (DSF)

---
The Files are not detect correct.
The UPNP System Play 284400 bit 24bit ????
----

 :o  :o  :o  :o  :o  :o

Re: foo_upnp

Reply #2138
I have BubbleUNPN setup on my phone and I'm able to stream over the internet to my phone without issue.

Is there a way I can install Foobar on my work laptop and stream that way as well? I've never used F2K as a client for streaming so I don't know how this works at all.

Re: foo_upnp

Reply #2139
I just installed foo_upnp to stream audio from foobar2000 on my Windows 10 laptop to my Roku Ultra. Basic functionality worked right out of the box, but I still have issues.

(1) I don't seem to be able to select a folder and have all the audio within that folder play sequentially (or randomly). When a file finishes playing, it just finishes and doesn't go on to the next file. (If I select "Next" and hold the button down, it will advance to the next file, but I want it to just play track 2 after finishing track 1 without human intervention.)

(2) If I can get the above problem solved, is there a way to select multiple folders (or subdirectories) for continuous playback? Probably obvious, but it's eluding me.

(3) It -- and I say "it" because I'm not sure if the fault is with foo_upnp or Roku -- doesn't seem to recognize all playlists. For example, I have two m3u playlists in one directory, but only one of them shows up on screen.

Or is there a better solution than foo_upnp? I know Plex is popular, but I have some concerns about their privacy policies. I don't download pirated material; I just find it creepy that outsiders might learn of my fondness for 1920s jazz or French accordion or whatnot.

Thank you.
Artman

PS - Apologies if these questions have been asked an answered here. I tried to search but didn't find what I was looking for. Please be gentle!  Thanks.

Re: foo_upnp

Reply #2140
I just installed foo_upnp to stream audio from foobar2000 on my Windows 10 laptop to my Roku Ultra. Basic functionality worked right out of the box, but I still have issues.

(1) I don't seem to be able to select a folder and have all the audio within that folder play sequentially (or randomly). When a file finishes playing, it just finishes and doesn't go on to the next file. (If I select "Next" and hold the button down, it will advance to the next file, but I want it to just play track 2 after finishing track 1 without human intervention.)

(2) If I can get the above problem solved, is there a way to select multiple folders (or subdirectories) for continuous playback? Probably obvious, but it's eluding me.

(3) It -- and I say "it" because I'm not sure if the fault is with foo_upnp or Roku -- doesn't seem to recognize all playlists. For example, I have two m3u playlists in one directory, but only one of them shows up on screen.

Or is there a better solution than foo_upnp? I know Plex is popular, but I have some concerns about their privacy policies. I don't download pirated material; I just find it creepy that outsiders might learn of my fondness for 1920s jazz or French accordion or whatnot.

Thank you.
Artman

PS - Apologies if these questions have been asked an answered here. I tried to search but didn't find what I was looking for. Please be gentle!  Thanks.

The answer to most of these are: does that app you are using support this. The media server just serves the files. You'll need an app to "add to playlist" or something like that to add lots of folders\songs. The foobar media server literally only "shows" what's available. The app is responsible for doing all the playing/sorting/adding/etc.

I had a roku for a while but I couldn't find a good app to use as a media\music renderer - they all seemed very limited to me. Got an Amazon firestick and there are literally hundreds if not thousands of great apps.

However I believe a good workaround for this is don't use the Roku/Firestick as the controller...just use it as the renderer. Use your phone or tablet as the controller...I use BubbleUpnp and it works like a charm. You tell it to send the signal to whatever (Roku) and you control the volume/fast forward/etc. from the phone.

Re: foo_upnp

Reply #2141
Hey. It seems since upgrading to Windows 10 I am unable to save changes I make. I've tried changing file permissions on the foo_upnp.xml to no success. Has anyone else had this issue & able to help?

Thanks

Re: foo_upnp

Reply #2142
I noticed a problem with playing files through UPnP to my network player Pioneer N-70AE. I have created a profile for my player (Pioneer N-70AE) but unfortunately it is not loaded when streaming my music.



On the previous version of foobar it worked very well but today I checked it (foobar2000 v1.4) and unfortunately it does not work.
Here is the log from the console
Code: [Select]
Components loaded in: 0:00.180123
Configuration read in: 0:00.038960
foobar2000 v1.4 [standard]
Watching: I:\Lossless (Track)
Watching: I:\mp3
Album list panel: initialised in 0.170 s
Columns UI/Tab stack: Warning: Playlist Organizer panel was visible on creation! This usually indicates a bug in this panel.
Refresh visuals
JScript Panel v2.1.6 (Library Tree v1.4.0.2 by WilB): initialised in 131 ms
Playlist view initialised in: 0.161 s
Seekbar: taking GDI path.
Seekbar: Frontend initialized.
User Interface initialized in: 0:01.551120
foo_upnp: succesfully loaded file C:\Users\Andrzej\AppData\Roaming\foobar2000\foo_upnp.xml
foo_upnp: 0.000: foo_upnp::on_init(199)/6528: INFO: foo_upnp: version 0.99.49
foo_upnp: 0.004: PLT_UPnP::Start(150)/6528: INFO: Starting UPnP...
foo_upnp: 0.041: standard_media_tree_root_node_t::load_ml_filters(590)/6528: INFO: loaded Media Library filters from C:\Users\Andrzej\AppData\Roaming\foobar2000\foo_upnp_ml_tree.xml
foo_upnp: 0.053: PLT_UPnP::AddDevice(224)/6528: INFO: Starting Device...
foo_upnp: 0.055: PLT_HttpServer::Start(127)/6528: INFO: HttpServer listening on 0.0.0.0:56923
foo_upnp: 0.059: PLT_UPnP::AddDevice(224)/6528: INFO: Starting Device...
foo_upnp: 0.062: PLT_HttpServer::Start(127)/6528: INFO: HttpServer listening on 0.0.0.0:1893
foo_upnp: initialized in 0.073s
foo_upnp: 0.224: PLT_Service::ProcessCancelSubscription(699)/6708: WARNING: Cancelling subscription for unknown subscriber uuid:5371c547-8508-8c7f-c8b9-a75d37995ade!
foo_upnp: 0.381: FbMediaServer::CheckAuthentication(401)/6708: INFO: received LAN request: http://192.168.0.8:56923/DeviceDescription.xml (User-Agent: dLeyna/0.5.0 GUPnP/0.20.13 DLNADOC/1.50)
foo_upnp: 0.411: FbMediaServer::OnAction(295)/4688: INFO: received action 'GetSearchCapabilities', args = {  }
foo_upnp: 0.411: FbMediaServer::OnAction(323)/4688: INFO: action 'GetSearchCapabilities' response: args = { SearchCaps=upnp:class,dc:title,upnp:artist }
foo_upnp: 0.435: FbMediaServer::OnAction(295)/4020: INFO: received action 'GetSortCapabilities', args = {  }
foo_upnp: 0.435: FbMediaServer::OnAction(323)/4020: INFO: action 'GetSortCapabilities' response: args = { SortCaps= }
foo_upnp: created 4620 path registry entries in 0.582s
Autoplaylists initialized in: 0:01.968322
"Albumy wielopłytowe" : 0:00.082377
"Biblioteka (auto playlista)" : 0:00.815257
"DIRE STRAITS" : 0:00.061857
"DZEM" : 0:00.050534
Startup time : 0:04.378154
foo_upnp: 2.2502: NPT_HttpClient::SendRequestOnce(1739)/6820: WARNING: NPT_CHECK failed, result=-20014 (NPT_ERROR_TIMEOUT) [(m_Connector->Connect(request.GetUrl(), *this, use_proxy?&proxy:0, http_1_1, connection))]
foo_upnp: 2.2502: PLT_HttpClientSocketTask::ProcessResponse(175)/6820: WARNING: NPT_CHECK failed, result=-20014 (NPT_ERROR_TIMEOUT) [(res)]
foo_upnp: loaded Media Library tree in 8.562s
When I streaming music through BubbleUPnP, everything works fine and the BubbleUPnP profile is loaded (I see it in the console). Can something disturbing be read from the log I posted ?



Re: foo_upnp

Reply #2143
I noticed a problem with playing files through UPnP to my network player Pioneer N-70AE. I have created a profile for my player (Pioneer N-70AE) but unfortunately it is not loaded when streaming my music.



On the previous version of foobar it worked very well but today I checked it (foobar2000 v1.4) and unfortunately it does not work.
Here is the log from the console
Code: [Select]
Components loaded in: 0:00.180123
Configuration read in: 0:00.038960
foobar2000 v1.4 [standard]
Watching: I:\Lossless (Track)
Watching: I:\mp3
Album list panel: initialised in 0.170 s
Columns UI/Tab stack: Warning: Playlist Organizer panel was visible on creation! This usually indicates a bug in this panel.
Refresh visuals
JScript Panel v2.1.6 (Library Tree v1.4.0.2 by WilB): initialised in 131 ms
Playlist view initialised in: 0.161 s
Seekbar: taking GDI path.
Seekbar: Frontend initialized.
User Interface initialized in: 0:01.551120
foo_upnp: succesfully loaded file C:\Users\Andrzej\AppData\Roaming\foobar2000\foo_upnp.xml
foo_upnp: 0.000: foo_upnp::on_init(199)/6528: INFO: foo_upnp: version 0.99.49
foo_upnp: 0.004: PLT_UPnP::Start(150)/6528: INFO: Starting UPnP...
foo_upnp: 0.041: standard_media_tree_root_node_t::load_ml_filters(590)/6528: INFO: loaded Media Library filters from C:\Users\Andrzej\AppData\Roaming\foobar2000\foo_upnp_ml_tree.xml
foo_upnp: 0.053: PLT_UPnP::AddDevice(224)/6528: INFO: Starting Device...
foo_upnp: 0.055: PLT_HttpServer::Start(127)/6528: INFO: HttpServer listening on 0.0.0.0:56923
foo_upnp: 0.059: PLT_UPnP::AddDevice(224)/6528: INFO: Starting Device...
foo_upnp: 0.062: PLT_HttpServer::Start(127)/6528: INFO: HttpServer listening on 0.0.0.0:1893
foo_upnp: initialized in 0.073s
foo_upnp: 0.224: PLT_Service::ProcessCancelSubscription(699)/6708: WARNING: Cancelling subscription for unknown subscriber uuid:5371c547-8508-8c7f-c8b9-a75d37995ade!
foo_upnp: 0.381: FbMediaServer::CheckAuthentication(401)/6708: INFO: received LAN request: http://192.168.0.8:56923/DeviceDescription.xml (User-Agent: dLeyna/0.5.0 GUPnP/0.20.13 DLNADOC/1.50)
foo_upnp: 0.411: FbMediaServer::OnAction(295)/4688: INFO: received action 'GetSearchCapabilities', args = {  }
foo_upnp: 0.411: FbMediaServer::OnAction(323)/4688: INFO: action 'GetSearchCapabilities' response: args = { SearchCaps=upnp:class,dc:title,upnp:artist }
foo_upnp: 0.435: FbMediaServer::OnAction(295)/4020: INFO: received action 'GetSortCapabilities', args = {  }
foo_upnp: 0.435: FbMediaServer::OnAction(323)/4020: INFO: action 'GetSortCapabilities' response: args = { SortCaps= }
foo_upnp: created 4620 path registry entries in 0.582s
Autoplaylists initialized in: 0:01.968322
"Albumy wielopłytowe" : 0:00.082377
"Biblioteka (auto playlista)" : 0:00.815257
"DIRE STRAITS" : 0:00.061857
"DZEM" : 0:00.050534
Startup time : 0:04.378154
foo_upnp: 2.2502: NPT_HttpClient::SendRequestOnce(1739)/6820: WARNING: NPT_CHECK failed, result=-20014 (NPT_ERROR_TIMEOUT) [(m_Connector->Connect(request.GetUrl(), *this, use_proxy?&proxy:0, http_1_1, connection))]
foo_upnp: 2.2502: PLT_HttpClientSocketTask::ProcessResponse(175)/6820: WARNING: NPT_CHECK failed, result=-20014 (NPT_ERROR_TIMEOUT) [(res)]
foo_upnp: loaded Media Library tree in 8.562s
When I streaming music through BubbleUPnP, everything works fine and the BubbleUPnP profile is loaded (I see it in the console). Can something disturbing be read from the log I posted ?
Everything works correctly. Sorry for the confusion  :-[

Re: foo_upnp

Reply #2144
Hi,

Anyone used this with a Cambridge Audio CXN. Also, can you use this with other DSPs enabled e.g. MathAudio for room correction?

Cheers.

Re: foo_upnp

Reply #2145
I got "Playback Stopped" error, always after a few seconds of playing a song, with the Plugin installed.

This did not occurr, when I stopped the Renderer Server in the UPnP settings.


Re: foo_upnp

Reply #2146
Just found about this component, it's simply brilliant, thanks a lot to the devs. The only issue I had was that the stable app didn't show all playlists and music folders on Media Library/Folders, but I managed to fix it by joining foobar2000 Beta program on Play Store and installing a beta build (1.1.30). Now everything is working like a charm, thanks.

Re: foo_upnp

Reply #2147
Hi,

I am sure many people succeed doing something similar to the below:

roon => squeeze2upnp => foobar2000 => jplayfemto => dac

The followings are the components I used:

foobar 2000 v1.4.3
UPnP MediaRenderer Output v1.2 (foo_out_upnp)
UPnP/DLNA Renderer, Server, Control Point v0.99.49 (foo_upnp)
squeeze2upnp v1.9.1
roon v1.6
jplayfemto v7D


As soon as I play the music, I get an error message from foobar2000 saying the following:

Unable to open item for playback (Unsupported format or corrupted file):
"http://192.168.219.106:49153/bridge-1.flac"


I changed my setting on the squeeze2upnp to force it output to "always 16bit". Then, problem solved. I would like to know if I can somehow enable 24bit playback throughout the playback chain. BTW, at 16bit the whole thing is running pretty reliably.

I am inserting the foobar2000 in the chain so that I can run a VST plugin, namely forthcoming Dirac 2.0 VST plugin. I would be interested to know if there is an easier way to put a VST host in the playback chain.

Re: foo_upnp

Reply #2148
Hello everyone,
I've setup my BubbleUpnP server on my NAS in order to access my music over the internet with BubbleUpnP.
I does work.
But i can not do the same with Foobar for W10.
I use the very same Host Adress, my server is accessible over the internet.
I've installed foo_upnp
In the "view menu" i don't have the "Add remote Internet UPnP Server"
Please help.




Re: foo_upnp

Reply #2149
Using foobar2000 with foo_upnp as a DLNA renderer, and BubbleUPnP or Allcast as phone apps for control.  Can't skip forward when playing a track.  Press on the timeline bar but it does nothing, just keeps playing at the current location.  Skip does work when using the foobar Android app for direct control, but that's not using the DLNA renderer component, so seems like the issue is with foo_upnp.  Any suggestions?

Thanks.