Getting Bluetooth source as Unavailable in Get /source API

Getting Bluetooth source as Unavailable in Get /source API

edited 12/19/2019 - 17:27 in SoundTouch API
JseelanJseelan Member Posts: 3
Hi Zach,

When I checked the Get /source API that time I am getting the source Bluetooth status as Unavailable.
I followed your previous answers but not able to succeed could you please help me on this?

<?xml version="1.0" encoding="UTF-8" ?>
<sources deviceID="606405EEC100">
    <sourceItem source="STORED_MUSIC" sourceAccount="54ab167d-197d-536b-3eb6-4dd66befe05f/0" status="UNAVAILABLE" isLocal="false" multiroomallowed="true">My music library</sourceItem>
    <sourceItem source="STORED_MUSIC" sourceAccount="55076f6e-6b79-4d65-6465-94ebcd378506/0" status="UNAVAILABLE" isLocal="false" multiroomallowed="true">Huskie</sourceItem>
    <sourceItem source="PRODUCT" sourceAccount="HDMI_1" status="UNAVAILABLE" isLocal="true" multiroomallowed="true">HDMI_1</sourceItem>
    <sourceItem source="UPNP" sourceAccount="UPnPUserName" status="UNAVAILABLE" isLocal="false" multiroomallowed="true">UPnPUserName</sourceItem>
    <sourceItem source="QPLAY" sourceAccount="QPlay1UserName" status="UNAVAILABLE" isLocal="true" multiroomallowed="true">QPlay1UserName</sourceItem>
    <sourceItem source="QPLAY" sourceAccount="QPlay2UserName" status="UNAVAILABLE" isLocal="true" multiroomallowed="true">QPlay2UserName</sourceItem>
    <sourceItem source="STORED_MUSIC_MEDIA_RENDERER" sourceAccount="StoredMusicUserName" status="UNAVAILABLE" isLocal="false" multiroomallowed="true">StoredMusicUserName</sourceItem>
    <sourceItem source="PRODUCT" sourceAccount="TV" status="READY" isLocal="true" multiroomallowed="true">TV</sourceItem>
    <sourceItem source="BLUETOOTH" status="UNAVAILABLE" isLocal="true" multiroomallowed="true" />
    <sourceItem source="NOTIFICATION" status="UNAVAILABLE" isLocal="false" multiroomallowed="true" />
    <sourceItem source="SPOTIFY" sourceAccount="SpotifyConnectUserName" status="UNAVAILABLE" isLocal="false" multiroomallowed="true">SpotifyConnectUserName</sourceItem>
    <sourceItem source="SPOTIFY" sourceAccount="SpotifyAlexaUserName" status="UNAVAILABLE" isLocal="false" multiroomallowed="true">SpotifyAlexaUserName</sourceItem>
    <sourceItem source="ALEXA" status="READY" isLocal="false" multiroomallowed="true" />
    <sourceItem source="TUNEIN" status="READY" isLocal="false" multiroomallowed="true" />
    <sourceItem source="LOCAL_INTERNET_RADIO" status="READY" isLocal="false" multiroomallowed="true" />
</sources>

Answers

  • JustAnotherUserJustAnotherUser Member Posts: 17
    Not that I know what you are trying to do... just tested a device paired to SoundTouch and it still shows "unavailable". You might be better looking at http://<ip_address>:8090/now_playing. It results in

    <nowPlaying deviceID="xxxxxxxxxxxx" source="BLUETOOTH" sourceAccount="">
    <ContentItem source="BLUETOOTH" location="" sourceAccount="" isPresetable="false">
    <itemName>Phone</itemName>
    </ContentItem>
    <track>Highway to Hell</track>
    <artist>AC/DC</artist>
    <album>Highway to Hell</album>
    <stationName>Phone</stationName>
    <art artImageStatus="SHOW_DEFAULT_IMAGE"/>
    <skipEnabled/>
    <playStatus>PLAY_STATE</playStatus>
    <skipPreviousEnabled/>
    <genre/>
    <connectionStatusInfo status="CONNECTED" deviceName="Phone"/>
    </nowPlaying>
Sign In or Register to comment.