IPB

Welcome Guest ( Log In | Register )

79 Pages V  « < 70 71 72 73 74 > »   
Reply to this topicStart new topic
foo_upnp, UPnP/DLNA client and server (previously foo_upnp_mediaserver)
BenB
post Jun 20 2013, 00:09
Post #1776





Group: Members
Posts: 778
Joined: 17-April 12
Member No.: 98921



You seem to be misunderstanding how the component works. You do not "apply" a device profile. The component automatically chooses the profile to use depending upon the device communicating with it.

As far as the server stopping and not restarting, try stopping and then starting the server yourself when that happens. You shouldn't need to restart foobar.
Go to the top of the page
+Quote Post
b0br0ck
post Jun 20 2013, 08:00
Post #1777





Group: Members
Posts: 3
Joined: 19-June 13
Member No.: 108729



QUOTE (BenB @ Jun 20 2013, 00:09) *
You seem to be misunderstanding how the component works. You do not "apply" a device profile. The component automatically chooses the profile to use depending upon the device communicating with it.

As far as the server stopping and not restarting, try stopping and then starting the server yourself when that happens. You shouldn't need to restart foobar.



I think I understand; the Onkyo avr will pick up the default setting which I've set to the sample rate of 44.1, 320kb mp3 - this shows up on the onkyo display so I know it's using this profile. But the ps3 will pick up the 'streaming profile ps3' and use the sample rate 48khz (to avoid stuttering).

Out of a matter of interest how does the device communicate with the upnp plugin to ensure it receives the correct stream? Or is there a user guide I can read through relating to streaming profiles that I can read through?

Ps I can stop and start the server, but if I make changes to the profile eg bit rate or sample rate etc the server disappears from showing up on devices, restarting the server makes no effect only a restart of foobar and it will then show back up straight away

Cheers
Go to the top of the page
+Quote Post
b0br0ck
post Jun 22 2013, 20:11
Post #1778





Group: Members
Posts: 3
Joined: 19-June 13
Member No.: 108729



Ah, after messing about with the settings and doing a bit of trial and error I now understand a bit more.

I'm new to all this streaming, previously an iPod dock would suffice, but I'm learning fast.

The 'Client' (avr receiver, ps3, iPhone etc...) talks to foobar and picks up the correct streaming profile if the section after "User-Agent" is filled in correctly, as the examples you have some already done, eg PS3.
Originally I though that you had to choose and apply a streaming profile on foobar and your 'client' would then use the chosen profile, like choosing a setting or eq that you would play music directly from your pc.

When you get into it it's amazing how configurable the upnp add-in to foobar actually is.

A couple of things to list that may help other users and enable them to tweak their own settings.....

On my iPhone I tried a couple of apps and through trial and error worked out the user-agent header for them to go in the box next to 'user-agent. (If you want to change the settings from the default)

Using Moliplayer, I put in the box 'Moliplayer'
Using 8player, I put in the box 'Player'

For streaming to my Onkyo tx-nr3008 I put in 'DLNADOC'

I can then check in 'view, console' and see that it picks up the new profile I have created rather than 'default'.

Depending on which upnp client/player you are using some list album tracks alphabetically, the iPhone apps did, which is frustrating as your album plays in the wrong order, so I added the code under tools,upnp,server,content in the box Format track titles using: I put [%tracknumber%] - [%title%] This makes on your upnp client/player songs show up like
01 - Enter Sandman
02 - Sad But True
Eliminating the problem of tracks being played in the wrong order.

I haven't found any other streaming program that is as user configurable as this Totally Brilliant and most of all IT'S FREE!

This post has been edited by b0br0ck: Jun 22 2013, 20:12
Go to the top of the page
+Quote Post
eevan
post Jun 22 2013, 21:19
Post #1779





Group: Members
Posts: 541
Joined: 9-April 07
From: Belgrade, Serbia
Member No.: 42357



I have an incomming PPTP RAS connection set up on my home Win7 machine.
I use my Win7 laptop to make a VPN connection to a home network.
Both machines are runnung foobar2000 1.2.8 and foo_upnp 0.99.46.

When I establish the VPN connection on my laptop, UPnP browser does not discover
the server on the desktop machine. It's interesting that at the same time Windows Media Player discovers it, and is able to browse the media library. It's the same if I start foo_upnp server on a laptop and browse from a desktop. It discovers only Windows Media Player server. So I suppose that it's not some closed firewall port issue, It seems that foo_upnp does not sets a multicast interface on the laptop's PPP VPN adapter. Here are the logs from both client (laptop) and server (desktop) machine.


Laptop log:
CODE
0.000: foo_upnp::on_init(199)/1312: INFO: foo_upnp: version 0.99.46
0.006: PLT_UPnP::Start(150)/1312: INFO: Starting UPnP...
0.019: NPT_BsdSocket::Bind(1202)/1312: FINE: setting SO_REUSEADDR option on socket
0.019: NPT_BsdUdpMulticastSocket::LeaveGroup(1788)/1312: FINE: leaving multicast addr 192.168.10.106 group 239.255.255.250
0.019: NPT_BsdUdpMulticastSocket::LeaveGroup(1796)/1312: FINE: setsockopt error -32049
0.019: NPT_BsdUdpMulticastSocket::JoinGroup(1746)/1312: FINE: joining multicast addr 192.168.10.106 group 239.255.255.250
initialized in 0.020s
5.5968: PLT_UPnP::AddCtrlPoint(266)/1312: INFO: Starting Ctrlpoint...
5.5985: PLT_HttpServer::Start(127)/1312: INFO: HttpServer listening on 0.0.0.0:1404
5.5988: NPT_BsdUdpMulticastSocket::SetInterface(1823)/1312: FINE: setting multicast interface 192.168.10.106 <-- Wireless LAN
5.5989: NPT_BsdUdpMulticastSocket::SetTimeToLive(1856)/1312: FINE: setting multicast TTL to 4
5.5993: NPT_BsdUdpMulticastSocket::SetInterface(1823)/1312: FINE: setting multicast interface 127.0.0.1
5.5993: NPT_BsdUdpMulticastSocket::SetTimeToLive(1856)/1312: FINE: setting multicast TTL to 4


Desktop log (On the laptop, PPP adapter's IP address is 192.168.1.11):
CODE
0.000: foo_upnp::on_init(199)/5780: INFO: foo_upnp: version 0.99.46
0.000: PLT_UPnP::Start(150)/5780: INFO: Starting UPnP...
0.000: NPT_BsdSocket::Bind(1202)/5780: FINE: setting SO_REUSEADDR option on socket
0.000: NPT_BsdUdpMulticastSocket::LeaveGroup(1788)/5780: FINE: leaving multicast addr 192.168.1.10 group 239.255.255.250
0.000: NPT_BsdUdpMulticastSocket::LeaveGroup(1796)/5780: FINE: setsockopt error -32049
0.000: NPT_BsdUdpMulticastSocket::JoinGroup(1746)/5780: FINE: joining multicast addr 192.168.1.10 group 239.255.255.250
0.000: NPT_BsdUdpMulticastSocket::LeaveGroup(1788)/5780: FINE: leaving multicast addr 192.168.1.4 group 239.255.255.250
0.000: NPT_BsdUdpMulticastSocket::LeaveGroup(1796)/5780: FINE: setsockopt error -32049
0.000: NPT_BsdUdpMulticastSocket::JoinGroup(1746)/5780: FINE: joining multicast addr 192.168.1.4 group 239.255.255.250
0.000: NPT_BsdUdpMulticastSocket::LeaveGroup(1788)/5780: FINE: leaving multicast addr 169.254.237.132 group 239.255.255.250
0.000: NPT_BsdUdpMulticastSocket::LeaveGroup(1796)/5780: FINE: setsockopt error -32049
0.000: NPT_BsdUdpMulticastSocket::JoinGroup(1746)/5780: FINE: joining multicast addr 169.254.237.132 group 239.255.255.250
0.000: standard_media_tree_root_node_t::load_ml_filters(574)/5780: INFO: loaded Media Library filters from C:\Users\eevan\AppData\Roaming\foobar2000\foo_upnp_ml_tree.xml
0.016: PLT_UPnP::AddDevice(224)/5780: INFO: Starting Device...
0.016: NPT_BsdSocket::Bind(1202)/5780: FINE: setting SO_REUSEADDR option on socket
0.031: PLT_HttpServer::Start(127)/5780: INFO: HttpServer listening on 0.0.0.0:56923
initialized in 0.031s
0.047: NPT_BsdUdpMulticastSocket::SetInterface(1823)/4668: FINE: setting multicast interface 192.168.1.10 <-- RAS Dial In Interface
0.047: NPT_BsdUdpMulticastSocket::SetTimeToLive(1856)/4668: FINE: setting multicast TTL to 4
0.047: NPT_BsdUdpMulticastSocket::SetInterface(1823)/4668: FINE: setting multicast interface 192.168.1.4 <-- Ethernet adapter
0.047: NPT_BsdUdpMulticastSocket::SetTimeToLive(1856)/4668: FINE: setting multicast TTL to 4
0.047: NPT_BsdUdpMulticastSocket::SetInterface(1823)/4668: FINE: setting multicast interface 169.254.237.132 <-- VirtualBox Ethernet adapter
0.047: NPT_BsdUdpMulticastSocket::SetTimeToLive(1856)/4668: FINE: setting multicast TTL to 4
0.265: NPT_BsdUdpMulticastSocket::SetInterface(1823)/4668: FINE: setting multicast interface 192.168.1.10
0.265: NPT_BsdUdpMulticastSocket::SetTimeToLive(1856)/4668: FINE: setting multicast TTL to 4
created 30677 path registry entries in 0.483s
0.718: NPT_BsdUdpMulticastSocket::SetInterface(1823)/4668: FINE: setting multicast interface 192.168.1.4
0.718: NPT_BsdUdpMulticastSocket::SetTimeToLive(1856)/4668: FINE: setting multicast TTL to 4
1.1155: NPT_BsdUdpMulticastSocket::SetInterface(1823)/4668: FINE: setting multicast interface 169.254.237.132
1.1155: NPT_BsdUdpMulticastSocket::SetTimeToLive(1856)/4668: FINE: setting multicast TTL to 4
3.3370: PLT_HttpHelper::ToLog(432)/1556: FINE: PLT_HttpServer::SetupResponse GET request from 192.168.1.11:50498 for "http://192.168.1.10:56923/DeviceDescription.xml"
GET /DeviceDescription.xml HTTP/1.1 ^Request comes through the VPN tunnel
Cache-Control: no-cache
Connection: Close
Pragma: no-cache
Accept: text/xml, application/xml
Host: 192.168.1.10:56923
User-Agent: Microsoft-Windows/6.1 UPnP/1.0 Windows-Media-Player-DMS/12.0.7601.17514 DLNADOC/1.50

3.3370: FbMediaServer::CheckAuthentication(401)/1556: INFO: received LAN request: http://192.168.1.10:56923/DeviceDescription.xml (User-Agent: Microsoft-Windows/6.1 UPnP/1.0 Windows-Media-Player-DMS/12.0.7601.17514 DLNADOC/1.50)
3.3370: PLT_HttpHelper::ToLog(530)/1556: FINE: PLT_HttpServerSocketTask::Write
HTTP/1.1 200 OK
Date: Sat, 22 Jun 2013 13:48:27 GMT
Content-Length: 3347
Content-Type: text/xml; charset="utf-8"
Connection: close
Server: UPnP/1.0 DLNADOC/1.50 Platinum/1.0.4.2-bb

3.3370: PLT_HttpServerSocketTask::SendResponseBody(428)/1556: FINE: sending body stream, 3347 bytes
loaded Media Library tree in 119.434s


Maybe somebody has an idea what's wrong here?

Cheers



--------------------
If age or weaknes doe prohibyte bloudletting you must use boxing
Go to the top of the page
+Quote Post
PeterMac
post Jun 27 2013, 18:46
Post #1780





Group: Members
Posts: 19
Joined: 3-July 08
Member No.: 55244



I noticed problem with DLNA Media Server, the problem is with Monkey's Audio APE files (struture CUE+APE), The list of files is not generate and Media Server is back to begin of list of my all DLNA servers in my network.

I tried to re-encode this APE files again decompres to WAV and decode again with newest version of Monkey's Audio 4.12 decoder and then is no problem, list of files from CUE is generate correct.
Where is the problem smile.gif why is problem with files decoded with older version of Monkeys' Audio.

With structure CUE+FLAC I don't have any problem, everything is working perfect.
Btw. Thank you for this great plugin is almost perfect.

This post has been edited by PeterMac: Jun 27 2013, 18:52
Go to the top of the page
+Quote Post
LinkSatonaka
post Jul 7 2013, 20:44
Post #1781





Group: Members
Posts: 6
Joined: 11-January 13
Member No.: 105786



Would it be possible for you to allow us to configure a permanent port for the renderer and perhaps the server? I have figured out how to control the renderer over a cellular connection, except it binds to a random port every time you start it up. Port forwarding nightmare.

(Couldn't get the server to work over cellular though, not sure why).

Thanks

This post has been edited by LinkSatonaka: Jul 7 2013, 20:44
Go to the top of the page
+Quote Post
anderslynge
post Jul 24 2013, 09:42
Post #1782





Group: Members
Posts: 1
Joined: 24-July 13
Member No.: 109247



Hi.

I'm getting some errors on more or less random times when using my phone to stream to the UPnP controller.

The error is:
Decoding failure at 3:31.023 (Connection error):
"http://entmedia.vo.llnwd.net/e1//thr/data65/MOBILE/091000-091999/559E5D6AC61E0F0FE040010A0B064796.mp4.mp4?s=1374637759&e=1374672319&h=4372acbff494dfa6cf373a52bb36ff7c&sid=231932789&d=1&file=file.mp3"

I have disabled the "Gapless control", but it makes no difference.
Go to the top of the page
+Quote Post
anfromme
post Jul 24 2013, 22:13
Post #1783





Group: Members
Posts: 3
Joined: 1-February 11
Member No.: 87844



I've been using foo_upnp with a Denon DNP-720AE for over a year at this point, without much trouble at all.
However, this recently changed - this may have been to do with a firmware upgrade that happened on the Denon, but I'm not 100% sure on that.
Anyway - using Airplay, I can still stream fine to the Denon, but using foo_upnp, I get no joy. Worse - after I try it seems that foo_upnp actually sends the Denon into something like an infinite loop, i.e. it's unusable until I do a cold restart.

On the foobar side, what I see is "Buffering..." for a good minute or so, and then it changes to "Stopped".
At the same time, the Denon actually shows the track title and artist correctly, with 0:00 as the unchanging time code.

Here's the log excerpt:

CODE
foo_upnp: 0.082: PLT_UPnP::AddCtrlPoint(266)/10024: INFO: Starting Ctrlpoint...
foo_upnp: 0.083: PLT_HttpServer::Start(127)/10024: INFO: HttpServer listening on 0.0.0.0:1638
foo_upnp: initialized in 0.087s
Startup time : 0:01.275896
foo_upnp: 0.199: PLT_CtrlPoint::InspectDevice(1269)/5128: INFO: Inspecting device "00e0fc37-2525-2828-2500-2469a58c905f" detected @ http://192.168.1.1:37215/upnpdev.xml
foo_upnp: 0.334: PLT_CtrlPoint::InspectDevice(1269)/5128: INFO: Inspecting device "8d1155f5-11dc-6043-d497-c3372b3bfcba" detected @ http://192.168.1.1:1990/WFADevice.xml
foo_upnp: 0.453: PLT_CtrlPoint::InspectDevice(1269)/5128: INFO: Inspecting device "00e0fc37-2626-2828-2600-2469a58c905f" detected @ http://192.168.1.1:37215/tr064dev.xml
foo_upnp: created 23036 path registry entries in 0.610s
foo_upnp: 1.1227: PLT_CtrlPoint::ProcessGetDescriptionResponse(1394)/8100: INFO: Device "00e0fc37-2525-2828-2500-2469a58c905f" is now known as "Huawei Home Gateway"
foo_upnp: 1.1282: PLT_CtrlPoint::ProcessGetDescriptionResponse(1394)/3436: INFO: Device "8d1155f5-11dc-6043-d497-c3372b3bfcba" is now known as "WFADevice"
foo_upnp: 1.1390: PLT_CtrlPoint::ProcessGetDescriptionResponse(1394)/7908: INFO: Device "00e0fc37-2626-2828-2600-2469a58c905f" is now known as "Huawei Home Gateway"
foo_upnp: 1.1589: LinnDsRendererController::Create(117)/10024: INFO: couldn't find urn:av-openhome-org:service:Product:1 service
foo_upnp: 3.3083: PLT_CtrlPoint::InspectDevice(1269)/5128: INFO: Inspecting device "5f9ec1b3-ff59-19bb-8530-0005cd26baa7" detected @ http://192.168.1.84:8080/description.xml
foo_upnp: 3.3668: PLT_CtrlPoint::ProcessGetDescriptionResponse(1394)/5560: INFO: Device "5f9ec1b3-ff59-19bb-8530-0005cd26baa7" is now known as "DENON:[DNP-720AE]"
foo_upnp: 3.3932: LinnDsRendererController::Create(117)/10024: INFO: couldn't find urn:av-openhome-org:service:Product:1 service
foo_upnp: 3.3932: RendererController::Create(25)/10024: INFO: Created UPnPAv Controller for device: DENON:[DNP-720AE]
foo_upnp: loaded Media Library tree in 4.894s
foo_upnp: 47.47673: controller_window::set_track_info_string(1112)/10024: INFO: track info display: Stopped
foo_upnp: 47.47674: PLT_CtrlPoint::Subscribe(1562)/10024: INFO: Subscribing to service "urn:upnp-org:serviceId:RenderingControl" of device "DENON:[DNP-720AE]"
foo_upnp: 47.47685: PLT_CtrlPoint::ProcessSubscribeResponse(1666)/3352: INFO: Creating new subscriber "uuid:6c4ad49f-9a32-18bf-ad33-cfa70a293c0e" for service "urn:upnp-org:serviceId:RenderingControl" of device "DENON:[DNP-720AE]" (timeout = 300)
foo_upnp: 47.47748: controller_window::set_track_info_string(1112)/10024: INFO: track info display:
foo_upnp: 47.47800: UPnPAVRendererController::OnGetPositionInfoResponse(671)/10024: INFO: failure: InstanceID=0
foo_upnp: 67.67991: UPnPAVRendererController::set_transport_state(232)/10024: INFO: No local playing item
foo_upnp: 67.67992: RendererController::GetNearestResource(188)/10024: INFO: matching resource url to target ip 192.168.1.84: http://192.168.1.25:56923/content/422b02ac7edf79412808c6b828613cb8.mp3
foo_upnp: 69.69704: controller_window::set_track_info_string(1112)/10024: INFO: track info display: Stopped
foo_upnp: 70.70758: controller_window::set_track_info_string(1112)/10024: INFO: track info display: Buffering...
foo_upnp: 170.170334: UPnPAVRendererController::set_transport_state(232)/10024: INFO: No local playing item
foo_upnp: 170.170335: controller_window::set_track_info_string(1112)/10024: INFO: track info display: Stopped
foo_upnp: 260.260111: PLT_CtrlPoint::ProcessSubscribeResponse(1690)/320: SEVERE: Subscription failed of sub "Unknown" for service "urn:upnp-org:serviceId:RenderingControl" of device "DENON:[DNP-720AE]"


Not sure if it has anything to do with the "Huawei Home Gateway", as that is a new device in the mix - although it doesn't seem to affect anything else on the network. I've no idea, though, how to try and have foo_upnp ignore that (or why it would pick it up to begin with...).

Any help would be greatly appreciated!

This post has been edited by anfromme: Jul 24 2013, 22:19
Go to the top of the page
+Quote Post
anfromme
post Jul 24 2013, 22:47
Post #1784





Group: Members
Posts: 3
Joined: 1-February 11
Member No.: 87844



QUOTE (anfromme @ Jul 24 2013, 21:13) *
On the foobar side, what I see is "Buffering..." for a good minute or so, and then it changes to "Stopped".
At the same time, the Denon actually shows the track title and artist correctly, with 0:00 as the unchanging time code.


Eventually solved it - the issue was the Windows firewall. (D'oh)
What' cued me in on it was that the log said the local playback location had not been found.

Here's what happened: We got a new router (as we finally got connected to broadband that's quicker than 3Mbs), and with that came a new home network. On my PC, though, that network was somehow identified as a public network by Windows, i.e. the system applied the much more restrictive "public network" firewall settings.
I changed the network type to private (using gpedit.msc), and - presto!

This post has been edited by anfromme: Jul 24 2013, 22:48
Go to the top of the page
+Quote Post
Anakunda
post Aug 18 2013, 08:54
Post #1785





Group: Members
Posts: 484
Joined: 24-November 08
Member No.: 63072



Hi!
Anybody can help me convert this album list view string to foo_upnp xml profile?
CODE
$swapprefix(%album artist%)|$if($or($stricmp(%album artist%,'<various artists>'),$not($or($meta_test(artist),$meta_test(album artist)))),,[$year($if2(%date%,%releasedate%)) - ])%album%|[Disc $num(%discnumber%,2)[ - $if3(%discsubtitle%,%disctitle%,%discname%)]|][%tracknumber%. ][%track artist% - ]%title%
Go to the top of the page
+Quote Post
BenB
post Aug 18 2013, 14:24
Post #1786





Group: Members
Posts: 778
Joined: 17-April 12
Member No.: 98921



It can't be adapted as written because you can't have conditional levels in the xml tree like you can in Album List. If you want the discs returned individually, you'll have to split the album.

Also, < and > are "predefined entities" in xml which means they'll break your tree if you don't reference them correctly.

I can adapt your script, but can you explain the your reasoning behind this bit:
CODE
$if($or($stricmp(%album artist%,'<various artists>'),$not($or($meta_test(artist),$meta_test(album artist)))),,


This post has been edited by BenB: Aug 18 2013, 14:25
Go to the top of the page
+Quote Post
Anakunda
post Aug 18 2013, 14:30
Post #1787





Group: Members
Posts: 484
Joined: 24-November 08
Member No.: 63072



QUOTE (BenB @ Aug 18 2013, 15:24) *
It can't be adapted as written because you can't have conditional levels in the xml tree like you can in Album List. If you want the discs returned individually, you'll have to split the album.

Also, < and > are "predefined entities" in xml which means they'll break your tree if you don't reference them correctly.

I can adapt your script, but can you explain the your reasoning behind this bit:
CODE
$if($or($stricmp(%album artist%,'<various artists>'),$not($or($meta_test(artist),$meta_test(album artist)))),,


Yep, I want to have albums by single artist or group sorted by year while albums for various artists have sorted alphabetically, it's more logical. While I have more than 400 VA albums it's very hard to look up an album by year of release. I'd prefer to transfer this sorting scheme also to UPnP browser if possible.
Go to the top of the page
+Quote Post
BenB
post Aug 18 2013, 15:12
Post #1788





Group: Members
Posts: 778
Joined: 17-April 12
Member No.: 98921



You've misunderstood me. I meant explain why you used the title formatting that you used, esp. in the part I referenced.

Regardless, try inserting this into your tree:
CODE
<SubTree label="PUT A NAME HERE">
        <spec type="object.container.person.musicArtist">$swapprefix(%album artist%)</spec>
        <spec type="object.container.album.musicAlbum">$if($stricmp(%album artist%,'&lt;various artists&gt;'),%album%,[$year($if2(%date%,%releasedate%)) - ]%album%)[ | Disc $num(%discnumber%,2)[ - $if3(%discsubtitle%,%disctitle%,%discname%)]]</spec>
</SubTree>

EDIT 1: not sure why the code is being wrapped like that

EDIT 2:

Here's a slightly more simplified version of the above:
CODE
<SubTree label="PUT A NAME HERE">
        <spec type="object.container.person.musicArtist">$swapprefix(%album artist%)</spec>
        <spec type="object.container.album.musicAlbum">$if($not($stricmp(%album artist%,'&lt;various artists&gt;')),[$year($if2(%date%,%releasedate%)) - ])%album%[ | Disc $num(%discnumber%,2)[ - $if3(%discsubtitle%,%disctitle%,%discname%)]]</spec>
</SubTree>


This post has been edited by BenB: Aug 18 2013, 15:24
Go to the top of the page
+Quote Post
Anakunda
post Aug 18 2013, 16:58
Post #1789





Group: Members
Posts: 484
Joined: 24-November 08
Member No.: 63072



QUOTE (BenB @ Aug 18 2013, 16:12) *
Regardless, try inserting this into your tree:


Thanks, trying it now, but in device remote browser I still only see the default menu (Albums, Artists, Album Artists, Geners, Years, Compilations, Codecs, Folders)

This is my current foo_upnp_ml_tree.xml:
CODE
<MediaLibraryTree>
    <SubTree label="PUT A NAME HERE">
        <spec type="object.container.person.musicArtist">$swapprefix(%album artist%)</spec>
        <spec type="object.container.album.musicAlbum">$if($not($stricmp(%album artist%,'&lt;various artists&gt;')),[$year($if2(%date%,%releasedate%)) - ])%album%[ | Disc $num(%discnumber%,2)[ - $if3(%discsubtitle%,%disctitle%,%discname%)]]</spec>
    </SubTree>
    <SubTree label="Albums">
        <spec type="object.container.album.musicAlbum">%album%[ '['%album artist%']']</spec>
    </SubTree>
    <SubTree label="Genres">
        <spec type="object.container.genre.musicGenre">%&lt;genre&gt;%</spec>
        <spec type="object.container.album.musicAlbum">[%album artist% - ]%album%[' ('%date%')']</spec>
    </SubTree>
    <SubTree label="Years">
        <spec>%date%</spec>
        <spec type="object.container.album.musicAlbum">[%album artist% - ]%album%</spec>
    </SubTree>
    <SubTree label="Compilations" query="compilation PRESENT">
        <spec type="object.container.album.musicAlbum">$if($or($stricmp(%album artist%,'<various artists>'),$stricmp(%album artist%,'VA'),$stricmp(%album artist%,'various'),$stricmp(%album artist%,'různí umělci'),$stricmp(%album artist%,'Various Artists')),,[$trim(%album artist%) - ])%album%</spec>
    </SubTree>
    <SubTree label="Codecs">
        <spec>%codec%</spec>
        <spec type="object.container.album.musicAlbum">$if($or($stricmp(%album artist%,'<various artists>'),$stricmp(%album artist%,'VA'),$stricmp(%album artist%,'various'),$stricmp(%album artist%,'různí umělci'),$stricmp(%album artist%,'Various Artists')),,[$trim(%album artist%) - ])%album%</spec>
    </SubTree>
    <SubTree label="Folders" type="filesystem"/>
</MediaLibraryTree>


Also I don't know how to setup the streaming profile for BubbleUPnP so that it's automatically choosen (it seems a different profile is used). The device still plays everything as WAV even when transcoding is not necessary (supported format).

This post has been edited by Anakunda: Aug 18 2013, 17:06
Go to the top of the page
+Quote Post
BenB
post Aug 18 2013, 17:50
Post #1790





Group: Members
Posts: 778
Joined: 17-April 12
Member No.: 98921



QUOTE (Anakunda @ Aug 18 2013, 10:58) *
Thanks, trying it now, but in device remote browser I still only see the default menu (Albums, Artists, Album Artists, Geners, Years, Compilations, Codecs, Folders)

Did you stop and restart the foo_upnp servers after updating the tree? Did you double-check the tree for reserved characters and bad title formatting? One of these likely explains why you see the default tree.

I remember reading in this thread that this subtree must be the topmost subtree of the xml tree:
CODE
    <SubTree label="Albums">
        <spec type="object.container.album.musicAlbum">%album%[ '['%album artist%']']</spec>
    </SubTree>

Your inserting what I gave you at the top could also be why you're seeing the default tree. Correct the order.


Also, may I suggest that you consider adding a compilation tag of some kind to your various artists albums so you can do away with needlessly complex strings. foobar recognizes and can use the iTunes compilation tag. It's accessed by foobar with ITUNESCOMPILATION with a value of 1 meaning 'yes' and 0 meaning 'no'; however, for practical purposes you can add it to only those that are compilations. Then you only need to use this:
CODE
$if(%itunescompilation%,

instead of this:
CODE
$if($or($stricmp(%album artist%,'<various artists>'),$stricmp(%album artist%,'VA'),$stricmp(%album artist%,'various'),$stricmp(%album artist%,'různí umělci'),$stricmp(%album artist%,'Various Artists')),

in your strings, but you could also use a custom tag to achieve the same thing.


QUOTE (Anakunda @ Aug 18 2013, 10:58) *
Also I don't know how to setup the streaming profile for BubbleUPnP so that it's automatically choosen (it seems a different profile is used). The device still plays everything as WAV even when transcoding is not necessary (supported format).

I'm unfamiliar with BubbleUPnP.

Also, you were supposed to change this part of the code that I gave you to whatever you wanted to name the subtree, lol:
CODE
PUT A NAME HERE


This post has been edited by BenB: Aug 18 2013, 17:52
Go to the top of the page
+Quote Post
powerpan
post Aug 19 2013, 12:57
Post #1791





Group: Members
Posts: 8
Joined: 4-April 09
Member No.: 68645



below is what I got from the foobar upnp in renderer log.

OnSetAV, uri:http://192.168.5.6:56923/content/aa26c86f9c5141d513d27c3063ccb33b.wav?profile_id=0&convert=wav&samplerate=44100

meta:<DIDL-Lite xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/" xmlns:pv="http://www.pv.com/pvns/" xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/"><item id="0/2/0I" parentID="0" childCount="0" restricted="1" searchable="0"><dc:title>Playback Stream Capture</dc:title><upnp:artist>foobar2000</upnp:artist><upnp:album>?</upnp:album><res size="44" duration="0:00:00.000" bitrate="264600" protocolInfo="http-get:*:audio/wav:*">http://192.168.5.6:56923/content/aa26c86f9c5141d513d27c3063ccb33b.wav?profile_id=0&convert=wav&samplerate=44100</res><upnp:class>object.item.audioItem.musicTrack</upnp:class></item></DIDL-Lite>

setting in foobar stream profile sets like
profile select foobar 2k
sample rate range: 44100->192000 depth 24
can decode HTTP (checked)

transcoding to MP3(never without exception and unchecked lossless)
decoding to PCM set to never to wav
------------------------------------------------------------------------------------------------
but in fact, the HTTP file is in FLAC format...... setting not transcode is always headache.
Go to the top of the page
+Quote Post
Shoujo Pi
post Aug 20 2013, 18:25
Post #1792





Group: Members
Posts: 35
Joined: 2-July 07
Member No.: 44928



Hi,

I am trying this foo_upnp component with PlugPlayer (iOS): Playback Stream Capture doesn't seem to work. I always receive "Error 2". Browsing through the Media Library itself works fine, but it doesn't suit my needs since I need the Playback Stream Capture. Please help me resolve this, as PlugPlayer should be able to work with this component if using the component page as reference. foo_upnp setting is as per default, with a default streaming profile for PlugPlayer as well.

I have tried foo_upnp with the following too.
ArkMC Lite in iOS can stream use the Playback Stream Capture, but the app itself doesn't support background audio, practically making it unusable to me.
Using BubbleUPnP in Android can use the Playback Stream Capture as well, albeit sometimes a bit lagging. I find using foo_out_upnp has faster response for Android compared to foo_upnp.

Thanks in advance.


--------------------
.
Go to the top of the page
+Quote Post
r1huber
post Aug 22 2013, 13:22
Post #1793





Group: Members
Posts: 1
Joined: 22-August 13
Member No.: 109737



Hi there!

Does anybody know where this plugin gets the Icon, which (as I understand) usually gets delivered to the Controller/renderer?
I use multiple instances of foobar for multiroom and it would be nice if I could discern the rooms by Icon (I use BubbleUPnP on Andrid).

Already tried to modify several Icons in foobar2000.exe with Resource Hacke, but Icon in upnp-applications remains the same...

Thanks!
Roman
Go to the top of the page
+Quote Post
ArKay74
post Aug 23 2013, 19:19
Post #1794





Group: Members
Posts: 5
Joined: 23-May 05
Member No.: 22224



I am using 0.99.46 with an Onkyo TX-NR616 and I can't get the plugin to play all of the songs in the "UPnP Controller Playback Queue".
It always plays 1 song, advances in the playlist and stops playback so I have to hit the play button again. Doing
that for each song gets annoying fast.

What's causing this?

This post has been edited by ArKay74: Aug 23 2013, 19:21
Go to the top of the page
+Quote Post
Shoujo Pi
post Aug 28 2013, 13:43
Post #1795





Group: Members
Posts: 35
Joined: 2-July 07
Member No.: 44928



Hi Developers,

Is it possible to have security (username/password) for local broadcast as well? I am sharing my Internet with other people so I prefer for it to be more secure. smile.gif
Thanks.

Also, is there anyone can help me to resolve the below issue? sad.gif

QUOTE (Shoujo Pi @ Aug 21 2013, 00:25) *
Hi,

I am trying this foo_upnp component with PlugPlayer (iOS): Playback Stream Capture doesn't seem to work. I always receive "Error 2". Browsing through the Media Library itself works fine, but it doesn't suit my needs since I need the Playback Stream Capture. Please help me resolve this, as PlugPlayer should be able to work with this component if using the component page as reference. foo_upnp setting is as per default, with a default streaming profile for PlugPlayer as well.

I have tried foo_upnp with the following too.
ArkMC Lite in iOS can stream use the Playback Stream Capture, but the app itself doesn't support background audio, practically making it unusable to me.
Using BubbleUPnP in Android can use the Playback Stream Capture as well, albeit sometimes a bit lagging. I find using foo_out_upnp has faster response for Android compared to foo_upnp.

Thanks in advance.



--------------------
.
Go to the top of the page
+Quote Post
DavidHB
post Sep 7 2013, 14:19
Post #1796





Group: Members
Posts: 1
Joined: 7-September 13
From: Isle of Wight, U
Member No.: 109992



I hope that adding to this general topic, rather than starting a new one, is the right thing to do.

The documentation for foo_unp contains the following:
Customizing the browse tree
----------------------------
...
Edit foo_upnp_ml_tree.xml in either your foobar install directory or in <Document and settins>/<login>/Application Data/foobar2000
The file path provided is for Windows XP. On my Windows 7 system, I cannot find the file either in the install folder or in %Appdata%\Roaming\foobar200, which is where the application data for foobar2000 seems to reside. Do I need to create this file from scratch? If so, would it need to contain anything other than the XML in the documentation (for example a suitable container)?

The %Appdata%\... folder does contain a foo_upnp.xml file, which does not appear to contain the data referred to in the section on customising the browse tree. It does however contain a series of server profiles, but not one for MinimServer, which is the server I am using.Would there be any advantage in creating such a profile, and, if so, how do I do it? Or is this one for the developer to do?

The context of this query is that MinimServer provides an 'nn Albums' list which in my case is set to be ordered by composer and album title. Other control points and renderers display this list correctly as sent. Foobar2000/foo_upnp only displays it as an alphabetical list of album titles. I should like to display the list as provided by MinimServer.

Thank you for any help.

David

This post has been edited by DavidHB: Sep 7 2013, 14:24
Go to the top of the page
+Quote Post
ArKay74
post Sep 16 2013, 14:31
Post #1797





Group: Members
Posts: 5
Joined: 23-May 05
Member No.: 22224



Yo developer, you out there?
Go to the top of the page
+Quote Post
redwald
post Sep 17 2013, 04:31
Post #1798





Group: Members
Posts: 3
Joined: 10-July 12
Member No.: 101295



Please help me with configuration of Linksys wrt610n router.

I have a Nexus 7 running latest 1.7.2.2 client with latest Foobar2000 v1.2.9 uPnP media server. It works great with my old wrt54gs router. I use all the same settings for wireless on the 610n as the 54gs, (except I turn off the 5ghz wireless N on the 610n because the Nexus doesn't support N). All I get on Nexus Bubbleupnp is the local renderer with the 610n.

If I then plug in my 54gs router and connect the Nexus wifi to the 54gs, the Foobar media server is immediately recognized and all is well.

I read in the Bubble "known issues" notes that some Cisco routers don't support UDP multicast at all. Could this be the problem? I have the latest (and only) F/W on the 610n. Maybe dd-wrt would solve this? Or is it some other issue? I tried using port forwarding http port 56923, but I don't know if I'm doing it correctly. The 610n works great with the Nexus7 and for every other wireless and wired connection otherwise.

Does anyone have a wrt610n that can help me out?

This post has been edited by redwald: Sep 17 2013, 04:50
Go to the top of the page
+Quote Post
redwald
post Sep 17 2013, 20:33
Post #1799





Group: Members
Posts: 3
Joined: 10-July 12
Member No.: 101295



So I finally found out what was wrong with the wrt610n.

Apparently many people have had this same issue with the 610n and certain wireless applications/hardware. It requires that you not use the same wireless security protocols for both the 2.4ghz and 5ghz channels. (See picture) Notice that the N-band is configured with WPA-2 and the G-band is configured with WPA. But even this didn't solve the no connect issue with BubbleUpnp. I also could not use anything other than AES for encryption. TKIP wouldn't work at all.



This second picture just shows the channel widths & frequencies. These settings worked well for me but they could be different for you.



Thanks to Bubbleguuum for developing this fine app and all those who have experimented with it and posted their experiences.

This post has been edited by redwald: Sep 17 2013, 20:36
Go to the top of the page
+Quote Post
pinkgold
post Oct 8 2013, 01:10
Post #1800





Group: Members
Posts: 1
Joined: 8-October 13
Member No.: 110727



Hi, Thank you for brilliant work!

I just found UPNP DMR player on Linux, it works greatly with this plugin.

So I suggest to add DoP (DSD over PCM) feature in your plugin so that my Linux UPNP DMR can play DSD.

Is'n it AMAZING??

You can find more info about Linux UPNP DMR at

https://github.com/hzeller/gmrender-resurrect

Thank you~

This post has been edited by pinkgold: Oct 8 2013, 01:11
Go to the top of the page
+Quote Post

79 Pages V  « < 70 71 72 73 74 > » 
Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 28th December 2014 - 10:04