Refresh Library
- Every time you update Your Music or add a track/album/playlist to a playlist, the workflow automatically updates the library and you’ll get notifications:-
![](https://alfred-spotify-mini-player.com/images/refresh-library.jpg)
Note: This can be disabled by setting automatically_refresh_library
environment variable to 0
-
In case you have modified a playlist or added tracks to Your Music using the Spotify application directly, then you can force a Refresh Library:-
- Use the
refresh_library
command:-
- Use the
![](https://alfred-spotify-mini-player.com/images/refresh-library1.jpg)
- Use the
Refresh your library
in Settings menu:-
![](https://alfred-spotify-mini-player.com/images/refresh-library2.jpg)
- You can activate automatic refresh of your library every x minutes (enter 0 to de-activate) in Settings menu:-
![](https://alfred-spotify-mini-player.com/images/refresh-library5.jpg)
Background download of artworks
The workflow downloads artworks in background, which means that the Create/Refresh Library is very fast.
You get a notification when background download of artworks starts:-
![](https://alfred-spotify-mini-player.com/images/setup4.jpg)
- During that time, you can use the workflow and you’ll see the progress at the top of main menu:-
![](https://alfred-spotify-mini-player.com/images/refresh-library4.jpg)
- Until the download is complete, you can see some blank artworks, that’s expected:-
![](https://alfred-spotify-mini-player.com/images/setup5.jpg)
Re-Create Library from scratch
If for some reason you want to delete and re-create your entire library, you can select Re-Create your library from scratch
in Settings menu:-
![](https://alfred-spotify-mini-player.com/images/refresh-library3.jpg)