Skip to content

Add option for Sleep like native app has #12507

@Abhi-xt

Description

@Abhi-xt

Checklist

  • I made sure that there are no existing issues - open or closed - which I could contribute my information to.
  • I have read the FAQ and my problem isn't listed.
  • I'm aware that this is a request for NewPipe itself and that requests for adding a new service need to be made at NewPipeExtractor.
  • I have taken the time to fill in all the required details. I understand that the feature request will be dismissed otherwise.
  • This issue contains only one feature request.
  • I have read and understood the contribution guidelines.

Feature description

I would like to request the addition of a Sleep Timer feature to the player. This option would allow users to set a time duration after which playback automatically pauses or stops.

Why do you want this feature?

Many users listen to audio or video content (e.g., music, podcasts, audiobooks) before sleeping. Without a sleep timer, playback continues indefinitely, leading to battery drain and potential data usage. Manually stopping playback every time is not practical.

Additional information

Proposed Solution:

Sleep Timer Option: Add a sleep timer button within the player interface.

Configurable Durations: Common presets (e.g., 15, 30, 45, 60 minutes) and a custom input for users to choose how long playback should continue.

Automatic Pause/Stop: When the timer expires, playback is automatically paused or stopped.

Notification/Prompt: (Optional) Display a notification or prompt when the timer is about to expire, allowing users to extend or cancel.

Benefits:

Improves user convenience, especially for those who listen while falling asleep.

Conserves battery and reduces unwanted data usage.

Aligns with user expectations from modern media players.

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateIssue or discussion is a duplicate of an existing issue or discussiontemplate ignoredThe user didn't follow the template/instructions (or removed them)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions