Enable gapless by default

Fixes #735
This commit is contained in:
Henrik Friedrichsen
2022-02-27 00:03:14 +01:00
parent 70376fb1d3
commit ee1d0ae7db
2 changed files with 2 additions and 2 deletions

View File

@@ -323,7 +323,7 @@ Possible configuration values are:
| `notify` | Enable desktop notifications | `true`, `false` | `false` |
| `bitrate` | Audio bitrate to use for streaming | `96`, `160`, `320` | `320` |
| `album_column` | Show album column for tracks | `true`, `false` | `true` |
| `gapless` | Enable gapless playback | `true`, `false` | `false` |
| `gapless` | Enable gapless playback | `true`, `false` | `true` |
| `shuffle` | Set default shuffle state | `true`, `false` | `false` |
| `repeat` | Set default repeat mode | `off`, `track`, `playlist` | `off` |
| `[theme]` | Custom theme | See [custom theme](#theming) | |

View File

@@ -167,7 +167,7 @@ impl Spotify {
}
let player_config = PlayerConfig {
gapless: cfg.values().gapless.unwrap_or(false),
gapless: cfg.values().gapless.unwrap_or(true),
bitrate: bitrate.unwrap_or(Bitrate::Bitrate320),
normalisation: cfg.values().volnorm.unwrap_or(false),
normalisation_pregain: cfg.values().volnorm_pregain.unwrap_or(0.0),