<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Player API - device_id changes, want to keep the same in Spotify for Developers</title>
    <link>https://community.spotify.com/t5/Spotify-for-Developers/Player-API-device-id-changes-want-to-keep-the-same/m-p/4989481#M646</link>
    <description>&lt;P&gt;&lt;STRONG&gt;Plan&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Premium&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Country&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NL&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Device&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;NA&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Operating System&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;HA&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My Question or Issue&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I use node red to try to control spotify. I have succes on numerous of APIs. But I am having troubles with the "player API" and the device_id.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developer.spotify.com/documentation/web-api/reference-beta/#category-player" target="_blank" rel="noopener"&gt;https://developer.spotify.com/documentation/web-api/reference-beta/#category-player&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have looked up my device_id's via:&lt;/P&gt;&lt;P&gt;&lt;A href="https://developer.spotify.com/documentation/web-api/reference/player/get-a-users-available-devices/" target="_blank" rel="noopener"&gt;https://developer.spotify.com/documentation/web-api/reference/player/get-a-users-available-devices/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use the device_id in node red to send the playing stream to that device and that works successfully.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, the device_id is not staying equal but change (I don't know when).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What can I do to keep that the same? Why is it changing?&lt;/P&gt;</description>
    <pubDate>Fri, 03 Jul 2020 10:14:07 GMT</pubDate>
    <dc:creator>sender</dc:creator>
    <dc:date>2020-07-03T10:14:07Z</dc:date>
    <item>
      <title>Player API - device_id changes, want to keep the same</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Player-API-device-id-changes-want-to-keep-the-same/m-p/4989481#M646</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Plan&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Premium&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Country&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NL&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Device&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;NA&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Operating System&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;HA&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My Question or Issue&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I use node red to try to control spotify. I have succes on numerous of APIs. But I am having troubles with the "player API" and the device_id.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developer.spotify.com/documentation/web-api/reference-beta/#category-player" target="_blank" rel="noopener"&gt;https://developer.spotify.com/documentation/web-api/reference-beta/#category-player&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have looked up my device_id's via:&lt;/P&gt;&lt;P&gt;&lt;A href="https://developer.spotify.com/documentation/web-api/reference/player/get-a-users-available-devices/" target="_blank" rel="noopener"&gt;https://developer.spotify.com/documentation/web-api/reference/player/get-a-users-available-devices/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use the device_id in node red to send the playing stream to that device and that works successfully.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, the device_id is not staying equal but change (I don't know when).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What can I do to keep that the same? Why is it changing?&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jul 2020 10:14:07 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Player-API-device-id-changes-want-to-keep-the-same/m-p/4989481#M646</guid>
      <dc:creator>sender</dc:creator>
      <dc:date>2020-07-03T10:14:07Z</dc:date>
    </item>
    <item>
      <title>Re: Player API - device_id changes, want to keep the same</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Player-API-device-id-changes-want-to-keep-the-same/m-p/4989518#M647</link>
      <description>&lt;P&gt;I've also noticed this changing from time to time, you could use the&amp;nbsp;&lt;STRONG&gt;Get a User's Available Devices&amp;nbsp;&lt;/STRONG&gt;as you have been to update this so if you need to store devices you could store them by name then look them up again to get the latest id for a given device, but I'd also assumed they'd not change but have noticed my Echo Dot does, if it's restarted it changes which I'd expect but also when this doesn't happen&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jul 2020 11:48:43 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Player-API-device-id-changes-want-to-keep-the-same/m-p/4989518#M647</guid>
      <dc:creator>RoguePlanetoid</dc:creator>
      <dc:date>2020-07-03T11:48:43Z</dc:date>
    </item>
  </channel>
</rss>

