mirror of
https://github.com/Dr-Blank/Vaani.git
synced 2025-12-07 03:29:29 +00:00
feat: new settings to configure when to report playback and when to mark item complete (#32)
This commit is contained in:
parent
7279fa0bd6
commit
8049a660e6
6 changed files with 129 additions and 7 deletions
|
|
@ -45,7 +45,9 @@ class PlayerSettings with _$PlayerSettings {
|
|||
@Default(1) double preferredDefaultSpeed,
|
||||
@Default([0.75, 1, 1.25, 1.5, 1.75, 2]) List<double> speedOptions,
|
||||
@Default(SleepTimerSettings()) SleepTimerSettings sleepTimerSettings,
|
||||
@Default(Duration(seconds: 10)) Duration minimumPositionForReporting,
|
||||
@Default(Duration(seconds: 10)) Duration playbackReportInterval,
|
||||
@Default(Duration(seconds: 15)) Duration markCompleteWhenTimeLeft,
|
||||
@Default(true) bool configurePlayerForEveryBook,
|
||||
}) = _PlayerSettings;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue