# Play song with DLNA Speaker

**URL:** https://discourse.nodered.org/t/play-song-with-dlna-speaker/37253
**Category:** General
**Created:** [9 December 2020 14:59 UTC](https://discourse.nodered.org/t/play-song-with-dlna-speaker/37253 "2020-12-09T14:59:56Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Domeus](https://avatars.discourse-cdn.com/v4/letter/d/fbc32d/32.png) [@Domeus](https://discourse.nodered.org/u/Domeus)
#### Post date: [9 December 2020 14:59 UTC](https://discourse.nodered.org/t/play-song-with-dlna-speaker/37253/1 "2020-12-09T14:59:56Z")

</div>

Hello.

I have a qnap NAS with a setup DLNA Server and a DLNA Speaker. I would like to use NODE-Red to have the speaker play a song (or maybe even a folder) from the DLNA Server or the NAS directly.

I already did a lot of search but cant find any help how to do that. There is a node called "node-red-contrib-dlna" but cannot figure out how to use that.

Anyopne can help me and give me a hint how to handle this?

Thanks in advance

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [9 December 2020 15:08 UTC](https://discourse.nodered.org/t/play-song-with-dlna-speaker/37253/2 "2020-12-09T15:08:20Z")

</div>

> [@Domeus](#):
>
> node-red-contrib-dlna

Did you read the built in help on the side bar...

> A node that sends a command to a DLNA media renderer.  
> **Configuration**  
> Device: The DLNA Device. This can be the friendly name, Unique Service Name (USN) or description XML URL.  
> **Input**  
> `msg.device` The DLNA Device.  
> `msg.payload.action` can be "play", "pause", "stop" or "load".  
> For action "load" `msg.payload.url` must also be set.  
> **Output**  
> Action response.

What did you try & what (if any) errors did you see?

---

<div class="post-metadata">

### Author: ![Domeus](https://avatars.discourse-cdn.com/v4/letter/d/fbc32d/32.png) [@Domeus](https://discourse.nodered.org/u/Domeus)
#### Post date: [9 December 2020 15:17 UTC](https://discourse.nodered.org/t/play-song-with-dlna-speaker/37253/3 "2020-12-09T15:17:31Z")

</div>

I did read this. First Problem is I dont know what to put in as the Device. My Loudspeaker has the name "LS-DLNA1" in network. Do i have to put that in? Or the UUID? Or the IP? I tried all three but that didnt work.

Error message from the dlna-action output = ""No device url found."

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [9 December 2020 15:26 UTC](https://discourse.nodered.org/t/play-song-with-dlna-speaker/37253/4 "2020-12-09T15:26:54Z")

</div>

> [@Domeus](#):
>
> My Loudspeaker has the name "LS-DLNA1" in network

That is not necessarily the DLNA name.

Do you have a DLNA enabled app on your phone or a DLNA enabled TV or something you can use to sniff names on the network?

> [@Domeus](#):
>
> No device url found

Looking at the source code, that indicates it tried to find a device but did not succeed. So either the name is wrong or there are other issues (not on the network? uPNP disabled on device / router?)

Does your loudspeaker not support google cast?

---

<div class="post-metadata">

### Author: ![Domeus](https://avatars.discourse-cdn.com/v4/letter/d/fbc32d/32.png) [@Domeus](https://discourse.nodered.org/u/Domeus)
#### Post date: [9 December 2020 19:26 UTC](https://discourse.nodered.org/t/play-song-with-dlna-speaker/37253/5 "2020-12-09T19:26:26Z")

</div>

I have the app from the producer.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/2/d/2d6790b060b0feb6b2614780657cc751bde05849.jpeg)

Does this help?

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [9 December 2020 20:22 UTC](https://discourse.nodered.org/t/play-song-with-dlna-speaker/37253/6 "2020-12-09T20:22:05Z")

</div>

If there is no where amongst the settings a URL or USN or DLNA Name field then your best bet is to install one of the many apps to your phone that can stream to DLNA, open it, see what names are advertised on your network.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [31 March 2021 16:52 UTC](https://discourse.nodered.org/t/play-song-with-dlna-speaker/37253/8 "2021-03-31T16:52:34Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
