Vito0912 / abs_flutter

The unofficial cross-platform app for Audiobookshelf, available on Android, iOS, Windows, and Linux.
9 stars 3 forks source link

[Feature Request] Shake to rewind #20

Open Vito0912 opened 2 months ago

Vito0912 commented 2 months ago

This feature was initially requested in the official Repo and has been slightly modified for implementation here. The original issue can be found at: https://github.com/advplyr/audiobookshelf-app/issues/1269.

I have created this issue for this client because I believe the proposed feature is a valuable addition. It is achievable within a reasonable scope that doesn't require extensive rewriting.

Platform

General (applicable to all mobile platforms: iOS, Android)

Feature Description

Add an option to enable a shake gesture that rewinds the media when the sleep timer is off. If the sleep timer is disabled and this option is activated, shaking the device will rewind the current media by the preset time in settings.

Value (e.g., to the UI)

This feature is particularly useful in situations where the user is walking or in a noisy environment. By shaking the device, they can easily rewind the last 10 seconds to replay missed content.

Note

Constantly monitoring the device's sensors could negatively impact battery life.