Skip to content

getRendererState?xyz problem if Spotify stream #96

Description

@staedelis

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: "upnp:classobject.item.audioItem.musicTrack</upnp:class>raumfeld:sectionSpotify</raumfeld:section>dc:titleHappy - From "Despicable Me 2"</dc:title>upnp:artistPharrell Williams</upnp:artist>upnp:albumG I R L</upnp:album><upnp:albumArtURI dlna:profileID="JPEG_TN">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: " raumfeld:nameStation</raumfeld:name>upnp:classobject.item.audioItem.audioBroadcast.radio</upnp:class>raumfeld:sectionRadioTime</raumfeld:section>raumfeld:durability120</raumfeld:durability>dc:title101 Smooth Jazz</dc:title><upnp:albumArtURI dlna:profileID="JPEG_TN">http://d1i6vahw24eb07.cloudfront.net/s297919q.png</upnp:albumArtURI>raumfeld:ebrowsehttp://opml.radiotime.com/Tune.ashx?partnerId=7aJ9pvV5&amp;formats=mp3%2Cogg&amp;serial=50%3A1e%3A2d%3A31%3Aca%3A90&amp;id=s297919&amp;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"
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions