fix: disable auto-skip by default

close #351
This commit is contained in:
edde746
2026-01-31 05:36:01 +01:00
parent 3df0e57a4e
commit b20d35d690
3 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -99,8 +99,8 @@ class _SettingsScreenState extends State<SettingsScreen> with FocusableTab {
int _sleepTimerDuration = 30;
bool _rememberTrackSelections = true;
bool _clickVideoTogglesPlayback = false;
bool _autoSkipIntro = true;
bool _autoSkipCredits = true;
bool _autoSkipIntro = false;
bool _autoSkipCredits = false;
int _autoSkipDelay = 5;
bool _downloadOnWifiOnly = false;
bool _videoPlayerNavigationEnabled = false;
+2 -2
View File
@@ -829,7 +829,7 @@ class SettingsService extends BaseSharedPreferencesService {
}
bool getAutoSkipIntro() {
return prefs.getBool(_keyAutoSkipIntro) ?? true; // Default: enabled
return prefs.getBool(_keyAutoSkipIntro) ?? false; // Default: disabled
}
// Auto Skip Credits
@@ -838,7 +838,7 @@ class SettingsService extends BaseSharedPreferencesService {
}
bool getAutoSkipCredits() {
return prefs.getBool(_keyAutoSkipCredits) ?? true; // Default: enabled
return prefs.getBool(_keyAutoSkipCredits) ?? false; // Default: disabled
}
// Auto Skip Delay (in seconds)
@@ -205,8 +205,8 @@ class _PlexVideoControlsState extends State<PlexVideoControls> with WindowListen
// Completed subscription to show controls when video ends
StreamSubscription<bool>? _completedSubscription;
// Auto-skip state
bool _autoSkipIntro = true;
bool _autoSkipCredits = true;
bool _autoSkipIntro = false;
bool _autoSkipCredits = false;
int _autoSkipDelay = 5;
Timer? _autoSkipTimer;
double _autoSkipProgress = 0.0;