<?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 Re: /me/player/recently-played returns only items with context null in Spotify for Developers</title>
    <link>https://community.spotify.com/t5/Spotify-for-Developers/me-player-recently-played-returns-only-items-with-context-null/m-p/5411355#M5152</link>
    <description>&lt;P&gt;It got solved for my account!&lt;/P&gt;&lt;P&gt;Yesterday, I contacted&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A title="Support - Spotify " href="https://support.spotify.com/contact-spotify-support/" target="_blank" rel="noopener nofollow noreferrer"&gt;Spotify Support&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;with my problem, and it appeared that my account was corrupted. After the support employee fixed that, I deleted the Spotify data from my phone and desktop. Then I logged back in and tested it again. I still got "context": null, but today I tested it again, and now it is does show context!&lt;/P&gt;</description>
    <pubDate>Sat, 30 Jul 2022 13:45:04 GMT</pubDate>
    <dc:creator>Ximzend</dc:creator>
    <dc:date>2022-07-30T13:45:04Z</dc:date>
    <item>
      <title>/me/player/recently-played returns only items with context null</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/me-player-recently-played-returns-only-items-with-context-null/m-p/4994444#M706</link>
      <description>&lt;P&gt;Hi everyone!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to write a small app against the Spotify Web API with which I want to capture the currently active song. If the song is currently playing, I can easily use the /me/player/currently-playing endpoint to get the track and context. If the song is paused, however, this endpoint does only return HTTP 204, same with the /me/player endpoint (even though both in principle have an is_playing flag). This is why I'm trying to fall back to /me/player/recently-played in this case.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, for all the items in /me/player/recently-played, the context is null, which is unexpected, judging from the documentation: &lt;A href="https://developer.spotify.com/documentation/web-api/reference/player/get-recently-played/" target="_blank"&gt;https://developer.spotify.com/documentation/web-api/reference/player/get-recently-played/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This seems to have already been an issue posted by someone else on the old issue tracker (&lt;A href="https://github.com/spotify/web-api/issues/966" target="_blank"&gt;https://github.com/spotify/web-api/issues/966&lt;/A&gt;), so I'd thought I'd follow up here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just as a clarification: I started playback by clicking "Shuffle" on one of my public playlists. When playing, I can access the context through /me/player/currently-playing. I'm not in offline mode or a private session.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;P.S.: If there is a better way to get the currently playing song even if it has been paused for the last few minutes, please let me know as well. I've read the /me/player API documentation, but feel like I've missed some way to do better &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jul 2020 17:41:17 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/me-player-recently-played-returns-only-items-with-context-null/m-p/4994444#M706</guid>
      <dc:creator>liwde</dc:creator>
      <dc:date>2020-07-10T17:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: /me/player/recently-played returns only items with context null</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/me-player-recently-played-returns-only-items-with-context-null/m-p/5411355#M5152</link>
      <description>&lt;P&gt;It got solved for my account!&lt;/P&gt;&lt;P&gt;Yesterday, I contacted&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A title="Support - Spotify " href="https://support.spotify.com/contact-spotify-support/" target="_blank" rel="noopener nofollow noreferrer"&gt;Spotify Support&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;with my problem, and it appeared that my account was corrupted. After the support employee fixed that, I deleted the Spotify data from my phone and desktop. Then I logged back in and tested it again. I still got "context": null, but today I tested it again, and now it is does show context!&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jul 2022 13:45:04 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/me-player-recently-played-returns-only-items-with-context-null/m-p/5411355#M5152</guid>
      <dc:creator>Ximzend</dc:creator>
      <dc:date>2022-07-30T13:45:04Z</dc:date>
    </item>
  </channel>
</rss>

