<?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 Cannot control librespot with the API in Spotify for Developers</title>
    <link>https://community.spotify.com/t5/Spotify-for-Developers/Cannot-control-librespot-with-the-API/m-p/5070723#M1529</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;Germany&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;librespot, WebPlayer&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Operating System&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Windows 10&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;Currently I am working with this &lt;A href="https://github.com/librespot-org/librespot-java" target="_self"&gt;https://github.com/librespot-org/librespot-java&lt;/A&gt; software. I created a setup and it works fine.&lt;/P&gt;&lt;P&gt;I can start the playback from the WebPlayer on this device. I also tried to control the playback through the Spotify developer console. I used this endpoint:&lt;STRONG&gt;&amp;nbsp;Start/Resume a User's Playback&lt;/STRONG&gt;. The endpoint fail if I add a request body to this request. Without body paramters it is succesful. This is my error message:&lt;/P&gt;&lt;PRE&gt;{
  "error": {
    "status": 502,
    "message": "Bad gateway."
  }
}&lt;/PRE&gt;&lt;P&gt;I have no clue what the problem is. The librespot application cannot be the problem, because I can control it with the WebPlayer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has someone an idea what the problem is?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Thu, 12 Nov 2020 21:15:39 GMT</pubDate>
    <dc:creator>Piano1234</dc:creator>
    <dc:date>2020-11-12T21:15:39Z</dc:date>
    <item>
      <title>Cannot control librespot with the API</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Cannot-control-librespot-with-the-API/m-p/5070723#M1529</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;Germany&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;librespot, WebPlayer&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Operating System&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Windows 10&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;Currently I am working with this &lt;A href="https://github.com/librespot-org/librespot-java" target="_self"&gt;https://github.com/librespot-org/librespot-java&lt;/A&gt; software. I created a setup and it works fine.&lt;/P&gt;&lt;P&gt;I can start the playback from the WebPlayer on this device. I also tried to control the playback through the Spotify developer console. I used this endpoint:&lt;STRONG&gt;&amp;nbsp;Start/Resume a User's Playback&lt;/STRONG&gt;. The endpoint fail if I add a request body to this request. Without body paramters it is succesful. This is my error message:&lt;/P&gt;&lt;PRE&gt;{
  "error": {
    "status": 502,
    "message": "Bad gateway."
  }
}&lt;/PRE&gt;&lt;P&gt;I have no clue what the problem is. The librespot application cannot be the problem, because I can control it with the WebPlayer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has someone an idea what the problem is?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2020 21:15:39 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Cannot-control-librespot-with-the-API/m-p/5070723#M1529</guid>
      <dc:creator>Piano1234</dc:creator>
      <dc:date>2020-11-12T21:15:39Z</dc:date>
    </item>
  </channel>
</rss>

