<?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 Getting updated if playing song changes in Spotify for Developers</title>
    <link>https://community.spotify.com/t5/Spotify-for-Developers/Getting-updated-if-playing-song-changes/m-p/5624772#M10359</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;Macbook Air M1 13"&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Operating System&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;MacOS&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;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;I need to update a screen in my app if the playing song changes, but I don't want to send http requests to the Spotify API every x amount of seconds.&lt;/P&gt;&lt;P&gt;I looked into Websockets and Long Polling but spotify doesnt offer any of that. I need to make the request on my Django server and send it to the client using websockets, this part is working and the UI is already built but I can't find an efficient solution to my problem. Is there any efficient way to notify the app if the playing song changes without sending way too many http requests?&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 18 Aug 2023 11:41:04 GMT</pubDate>
    <dc:creator>eliadriesner</dc:creator>
    <dc:date>2023-08-18T11:41:04Z</dc:date>
    <item>
      <title>Getting updated if playing song changes</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Getting-updated-if-playing-song-changes/m-p/5624772#M10359</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;Macbook Air M1 13"&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Operating System&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;MacOS&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;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;I need to update a screen in my app if the playing song changes, but I don't want to send http requests to the Spotify API every x amount of seconds.&lt;/P&gt;&lt;P&gt;I looked into Websockets and Long Polling but spotify doesnt offer any of that. I need to make the request on my Django server and send it to the client using websockets, this part is working and the UI is already built but I can't find an efficient solution to my problem. Is there any efficient way to notify the app if the playing song changes without sending way too many http requests?&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 18 Aug 2023 11:41:04 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Getting-updated-if-playing-song-changes/m-p/5624772#M10359</guid>
      <dc:creator>eliadriesner</dc:creator>
      <dc:date>2023-08-18T11:41:04Z</dc:date>
    </item>
  </channel>
</rss>

