Don't refresh smart playlists when generating covers

This commit is contained in:
Deluan
2023-01-01 20:28:03 -05:00
parent 950cc28e67
commit df0f140f9f
9 changed files with 14 additions and 12 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ func (api *Router) GetPlaylist(r *http.Request) (*responses.Subsonic, error) {
}
func (api *Router) getPlaylist(ctx context.Context, id string) (*responses.Subsonic, error) {
pls, err := api.ds.Playlist(ctx).GetWithTracks(id)
pls, err := api.ds.Playlist(ctx).GetWithTracks(id, true)
if errors.Is(err, model.ErrNotFound) {
log.Error(ctx, err.Error(), "id", id)
return nil, newError(responses.ErrorDataNotFound, "Directory not found")