| Summary: | Feature Request - Add Sleep Timer | ||
|---|---|---|---|
| Product: | [Applications] kasts | Reporter: | theologymatters |
| Component: | general | Assignee: | bart |
| Status: | RESOLVED FIXED | ||
| Severity: | wishlist | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Flatpak | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/plasma-mobile/kasts/commit/5f94b4a357e5803a42b7a654c3073dd0f481cb35 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
theologymatters
2021-10-06 14:18:51 UTC
Glad you like the app. I don't use such a feature myself. So I'll probably need to look around how it's implemented elsewhere. How is the timer started? Is it started manually and does it keep counting down once it's started? Or is the timer always active and reset by user activity (play/stop/skipping)? (In reply to bart from comment #1) > Glad you like the app. > > I don't use such a feature myself. So I'll probably need to look around how > it's implemented elsewhere. > > How is the timer started? Is it started manually and does it keep counting > down once it's started? Or is the timer always active and reset by user > activity (play/stop/skipping)? Sure, I can describe the experience on iOS, I'm trying to replace a dying iPod Touch. The timer is started manually by the user and set to some value (e.g. 30 minutes), and the timer is paused when playback is paused. Currently, I'm using AntennaPod out of FDroid, that would be at least one place to look at an implementation. https://github.com/AntennaPod/AntennaPod I'm working on this now. Here's the merge request if you would care to check and/or comment: https://invent.kde.org/plasma-mobile/kasts/-/merge_requests/72 Git commit 5f94b4a357e5803a42b7a654c3073dd0f481cb35 by Bart De Vries. Committed on 30/06/2022 at 08:21. Pushed by bdevries into branch 'master'. Add sleep timer M +1 -0 src/CMakeLists.txt M +74 -0 src/audiomanager.cpp M +13 -55 src/audiomanager.h M +17 -2 src/qml/HeaderBar.qml M +18 -0 src/qml/PlayerControls.qml A +96 -0 src/qml/SleepTimerDialog.qml [License: GPL(3+eV) GPL(v3.0) GPL(v2.0)] M +4 -0 src/qml/main.qml M +1 -0 src/resources.qrc M +22 -0 src/settingsmanager.kcfg https://invent.kde.org/plasma-mobile/kasts/commit/5f94b4a357e5803a42b7a654c3073dd0f481cb35 |