# Squeezebox "socket hang up"

**URL:** <https://discourse.nodered.org/t/squeezebox-socket-hang-up/37875>\
**Category:** General\
**Created:** [22 December 2020 11:53 UTC](https://discourse.nodered.org/t/squeezebox-socket-hang-up/37875 "2020-12-22T11:53:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![oma](https://avatars.discourse-cdn.com/v4/letter/o/977dab/32.png) [@oma](https://discourse.nodered.org/u/oma)\
**Post date:** [22 December 2020 11:53 UTC](https://discourse.nodered.org/t/squeezebox-socket-hang-up/37875/1 "2020-12-22T11:53:25Z")

</div>

I was trying to add my squeezeboxes to NodeRED, and some commands like pause, status etc do work already. I would like to have a dedicated webstream played after pushing a button but i do get a "socket hang up" and i have no clue why:

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/c/dc4ff0233e5702556a84ec9e2d63e3957a07efcf.png)  
according to `http://tutoriels.domotique-store.fr/content/54/95/fr/api-logitech-squeezebox-server-_-player-http.html` the command should be ok.  
I do have a plain html/css dropdown from history which works fine and uses the same playlist play command:

```auto
<div data-type="select" data-device="SB_Wohnzimmer" data-items='[" ","http://wdr-1live-live.icecast.wdr.de/wdr/1live/live/mp3/128/stream.mp3","http://wdr-wdr2-ruhrgebiet.icecast.wdr.de/wdr/wdr2/ruhrgebiet/mp3/128/stream.mp3","Kinderlieder"]' data-alias='[" ","1Live","WDR2","Kinderlieder"]' data-set="playlist play" class="cell w2x" ></div>

```

Does anyone have an idea for that?

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [22 December 2020 12:08 UTC](https://discourse.nodered.org/t/squeezebox-socket-hang-up/37875/2 "2020-12-22T12:08:31Z")

</div>

It is always helpful to let people know what the full name of the node you are using is. It would seem that you are using node-red-contrib-squeezebox. When ever I have an issue with a node, I go to the [Flows](https://flows.nodered.org)tab on this site and look up the node to check the `Node Info` section  
 ![Screen Shot 2020-12-22 at 7.03.06 AM](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/9/c91addbafbb95b2e27de1ce108ecbb611f7f1647.png)

If you notice, this node hasn't been updated in 5 years. Next I follow the link to the GitHub page and look at the issues and how responsive the author is to them.

In this case it would seem that this has been abandoned by the author and seeing the age of the node, I'd be suprised if anyone has much experience with it.

You could try contacting the author directly via GitHub or you could delve into the node's code and see if you can fixit yourself.

---

<div class="post-metadata">

**Author:** ![oma](https://avatars.discourse-cdn.com/v4/letter/o/977dab/32.png) [@oma](https://discourse.nodered.org/u/oma)\
**Post date:** [22 December 2020 16:59 UTC](https://discourse.nodered.org/t/squeezebox-socket-hang-up/37875/3 "2020-12-22T16:59:52Z")

</div>

Well, do you agree that just because something isn´t updated for a while doesn´t mean it´s not working at all? I fully agree this is not perfect, but it still doesn´t explain the issue 🙂 There are two plugins available and even the more recent version updated shows the same result so i assume it´s more a layer8 issue in my end.  
I would appreciate if someone tells me either why my syntax is wrong or how else to make the squeezeboxes play my URL.

---

<div class="post-metadata">

**Author:** ![oma](https://avatars.discourse-cdn.com/v4/letter/o/977dab/32.png) [@oma](https://discourse.nodered.org/u/oma)\
**Post date:** [22 December 2020 17:25 UTC](https://discourse.nodered.org/t/squeezebox-socket-hang-up/37875/4 "2020-12-22T17:25:32Z")

</div>

Ok - It WAS Layer 8 🙂 I have to pass a JSON instead of a String. Layout should look like this:

```auto
[
    "playlist",
    "play",
    "http://wdr-wdr2-ruhrgebiet.icecast.wdr.de/wdr/wdr2/ruhrgebiet/mp3/128/stream.mp3"
]

```

just in case someone else is looking for this as well 🙂

---

<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:** [5 January 2021 17:25 UTC](https://discourse.nodered.org/t/squeezebox-socket-hang-up/37875/5 "2021-01-05T17:25:32Z")

</div>

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