Open staedelis opened 3 years ago
I guess you already tried to kill node-raumserver and restart it?
Yes of course and it does not help. The problem is fully reproducible. Stream from TuneIn it works, switch to Spotify stream it doesn't, switch back to TuneIn it works again.
I did some further testing and figured out that it works if in the Raumfeld app the feature multi room for spotify is turned on.
I face the same issue. But as I use the free spotify, I cannot turn on multi room for spotify. It did work in the past. I'm not sure, if it did stop when I started using spotify.
my raumfeld devices are updated with firmware 2.12.5 the node-raumserver is running on a raspberry PI
getRendererState?xyz does works as long as TuneIN stream is set but it does not work any more in case a spotify stream is set. This was not the case before the firmware update. For some reason the id is not found.
In case of the Spotify stream the answer is:
{ requestUrl: "/raumserver/data/getRendererState?id=Schlafzimmer", action: "getRendererState", error: true, msg: "Action was rejected", data: { errorMessage: "Error: Media Renderer for id 'Schlafzimmer' not found", errorData: null } }
However the device is visible with getRendererState in the Data array, devices with TuneIn stream have 2 entries, devices with Spotify stream only 1 entry.
example of the existing entry: { InstanceID: 0, AVTransportURIMetaData: "object.item.audioItem.musicTrack</upnp:class>Spotify</raumfeld:section>Happy - From "Despicable Me 2"</dc:title>Pharrell Williams</upnp:artist>G I R L</upnp:album>https://i.scdn.co/image/ab67616d0000b273e8107e6d9214baa81bb79bba</upnp:albumArtURI>spotify:track:60nZcImufyMA1MKQY3dcCH ",
CurrentTrackDuration: "0:03:53",
PowerState: "ACTIVE",
AVTransportURI: "spotify://playback",
CurrentPlayMode: "SHUFFLE",
TransportState: "PAUSED_PLAYBACK",
OwnsAudioResource: "0",
CurrentTransportActions: "Play,Previous,Next,Seek,RepeatTrack,Repeat,Shuffle",
TransportStatus: "OK",
LowDB: "0.000000",
Mute: "0",
MidDB: "0.000000",
Volume: "21",
HighDB: "0.000000",
SettingValue: "1",
rooms: [
{
name: "Kueche-Wohnzimmer",
udn: "uuid:d7a8103d-66d9-4dc3-979d-9adf338c86a6",
powerState: "ACTIVE",
renderer: [
{
udn: "uuid:e25dbcf7-a3fc-4f61-8892-cd32a2748ab9",
name: "Speaker Kueche-Wohnzimmer",
spotifyConnect: "active"
}
]
}
],
udn: "uuid:e25dbcf7-a3fc-4f61-8892-cd32a2748ab9",
mediaItem: null,
friendlyName: "Speaker Kueche-Wohnzimmer",
host: "192.168.178.33",
manufacturer: "Lautsprecher Teufel GmbH",
modelNumber: "1"
},
{
InstanceID: 0,
AVTransportURIMetaData: "<?xml version="1.0"?> Station</raumfeld:name>object.item.audioItem.audioBroadcast.radio</upnp:class>RadioTime</raumfeld:section>120</raumfeld:durability>101 Smooth Jazz</dc:title>http://d1i6vahw24eb07.cloudfront.net/s297919q.png</upnp:albumArtURI>http://opml.radiotime.com/Tune.ashx?partnerId=7aJ9pvV5&formats=mp3%2Cogg&serial=50%3A1e%3A2d%3A31%3Aca%3A90&id=s297919&c=ebrowse</raumfeld:ebrowse> ",
CurrentTrackDuration: "0:00:00",
PowerState: "ACTIVE",
AVTransportURI: "http://192.168.178.30:60107/17338c5c-01fc-477d-b409-b550031912e5/0945ce51-9922-443a-bb00-7dc1cbd3813e/26cdc987-2ad6-478a-bc93-fca3a64663f6/d5452524b6575e5151eae5c39fbb4315--545067590-0",
CurrentPlayMode: "NORMAL",
TransportState: "PLAYING",
OwnsAudioResource: "1",
CurrentTransportActions: "Stop",
TransportStatus: "OK",
LowDB: "0.000000",
Mute: "0",
MidDB: "0.000000",
Volume: "13",
HighDB: "0.000000",
SettingValue: "1",
rooms: [
{
name: "Schlafzimmer",
udn: "uuid:0945ce51-9922-443a-bb00-7dc1cbd3813e",
powerState: "ACTIVE",
renderer: [
{
udn: "uuid:26cdc987-2ad6-478a-bc93-fca3a64663f6",
name: "Speaker Schlafzimmer"
}
]
}
],
udn: "uuid:26cdc987-2ad6-478a-bc93-fca3a64663f6",
mediaItem: null,
friendlyName: "Speaker Schlafzimmer",
host: "192.168.178.48",
manufacturer: "Lautsprecher Teufel GmbH",
modelNumber: "1"
}