You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi everyone!
We are getting this error and don't know how to solve it.
"player command failed no active device found"
We are grateful for all your tips. THANKS!
The text was updated successfully, but these errors were encountered:
I found that you can gather the devices before playing. It's a hack but just to get over to the next step. you gather the devices and then pass them into the request
DeviceResponse devices = await client.Player.GetAvailableDevices();
string s = $" Devices: {devices.Devices.Count}";
for (int i = 0; i < devices.Devices.Count; i++)
{
s += $"\n{devices.Devices[i].Name}";
}
Debug.Log(s);
// Play track in context of the playlist
PlayerResumePlaybackRequest request = new PlayerResumePlaybackRequest()
{
ContextUri = _contextUri,
OffsetParam = new PlayerResumePlaybackRequest.Offset() { Uri = _track.Uri },
DeviceId = devices.Devices[0].Id
};
await client.Player.ResumePlayback(request);
Hi everyone!
We are getting this error and don't know how to solve it.
"player command failed no active device found"
We are grateful for all your tips. THANKS!
The text was updated successfully, but these errors were encountered: