fow5040 / Wox.Plugin.Spotify

Spotify plugin for Wox launcher
MIT License
0 stars 0 forks source link

Added Playlists Feature in one fell swoop #4

Closed fow5040 closed 5 years ago

fow5040 commented 5 years ago

Playlists have been added, strategy is as follows:

  1. If playlists are requested, grab all user playlists, concatenate all featured playlists, and return to the user
  2. If a query is specified, repeat the above, but filter for each new character entered
  3. When a playlist is selected, start playing the playlist's URI

NOTE: In order to correctly fetch the user's playlists, it was necessary to edit the Connect API segment of the authorization codepath. A task continuation was created to request and write the user's client ID to memory each time an Auth check is performed.