diff --git a/core/artwork/cache_warmer.go b/core/artwork/cache_warmer.go index eed935e9f..210edde19 100644 --- a/core/artwork/cache_warmer.go +++ b/core/artwork/cache_warmer.go @@ -131,7 +131,7 @@ func (a *cacheWarmer) doCacheImage(ctx context.Context, id model.ArtworkID) erro r, _, err := a.artwork.Get(ctx, id, consts.UICoverArtSize) if err != nil { - return fmt.Errorf("error cacheing id='%s': %w", id, err) + return fmt.Errorf("error caching id='%s': %w", id, err) } defer r.Close() _, err = io.Copy(io.Discard, r) diff --git a/core/playback/playbackserver.go b/core/playback/playbackserver.go index 3fbe3ced5..9687aadeb 100644 --- a/core/playback/playbackserver.go +++ b/core/playback/playbackserver.go @@ -68,7 +68,7 @@ func (ps *playbackServer) initDeviceStatus(devices []conf.AudioDeviceDefinition, defaultDeviceFound := false if defaultDevice == "" { - // if there are no devices given and no default device, we create a sythetic device named "auto" + // if there are no devices given and no default device, we create a synthetic device named "auto" if len(devices) == 0 { pbDevices[0] = *NewPlaybackDevice(ps, "auto", "auto") }