-
Notifications
You must be signed in to change notification settings - Fork 189
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prevent seeking from iOS widget #526
Comments
Do you have a screenshot of what this looks like? My Audible seems to show all the same controls on the lock screen (skip forward/back, duration, etc.). |
It does indeed look the same but the progress bar is not interactive. No matter how I drag my finger over it, it only opens the widget center or the camera. With Audiobookshelf, you can drag the bar and very easily change the position which happens quite often when grabbing the phone by the screen (for example when you pull it out of your pocket). Hope this clarifies it a bit |
I'd also love to have seeking disabled, but in my case from the android lockscreen. Happened a few times already that while on the train I accidentally interacted with the slider. |
I also experience this issue and would be grateful to see it resolved/enhanced. |
Why should this be a setting? I do not see any situation in which changing the position on the widget seems desirable to me. I would make it default behavior with #683 |
I thought about making it configurable. But I was not able to come up with any valid reason why I would want it scrubbing. Audible does not allow scrubbing either, they also do not allow configuring it. Why making a useless behavior configurable. More work, more docs for what? Maybe @advplyr needs to decide. |
I took a look at the code, adding the option in the settings seems not much work. The android pendant seems to be Adding |
As a user, I personally disagree with this. There are times where I'd like to navigate, say, 5, 10, or 15 minutes back in my chapter because I've missed something or become distracted. This is common for me when listening to audiobooks and podcasts. The lockscreen/control center scrubber is a very convenient way to accomplish this. I do it often with Overcast. And with #683, this becomes viable for me in Audiobookshelf as well. I'm totally down for whatever the team thinks is best from a usability and maintainability standpoint. I understand that a toggle-able feature won't just appear out of thin air and would require work to implement. But I wanted to state my opinion as a daily user. 👍🏻 |
Added in v0.9.73-beta |
Steps to reproduce
Expected behaviour
When listing to an audiobook, seeking through the whole audiobook from the iOS play widget (the one you see in the notification center/lock screen) is usually unwanted. This behavior can be supported by other apps such as audible which disable the seeking behavior for audiobooks. This is especially true since audiobooks are quite long and seeking through 20 hours is not a good experience using your fingers (seeking through a single chapter and using the chapter control is another story).
This behavior is especially annoying since it's quite easy to do on accident. For my current audiobook, this has happened around 6 times during the first 10 hours of playback, and finding where I left off can be pretty hard.
This is the widget I am talking about:
Dragging through the little white bar is quite easy to do by accident.
Actual behaviour
Trying to scroll/seek should not register at all.
Changing that behavior should be quite easy here:
https://github.com/advplyr/audiobookshelf-app/blob/master/ios/App/Shared/player/AudioPlayer.swift#L601
You should probably change seekForwardCommand, seekBackwardCommand, and/or changePlaybackPositionCommand from MPRemoteCommandCenter. I am not 100% sure, but you should play and find out what each of those commands do. Unfortunately, I don't have access to xcode to compile and test the app myself right now.
Generally speaking, it would be very useful to have a better "history" of playback sessions and an easy way to reset it. Currently, you can only find "last start" inside the settings from the webapp. It would be cool if this view was available for every audiobook directly. It would also be very helpful if large jumps create new sessions. For example, if I skip ahead/backwards for more than two minutes (and my current listen time is more then 60 secs), a new session should be created. This would make recovering a session easier because sometimes the ios very does not sync with the web version (as in, if I listen on the web, the ios app does not update the position, not sure if I will make another issue for that in the future).
Environment data
Audiobookshelf Version:
Android Issue
Android version:
Device model:
Stock or customized system:
iOS Issue
iOS Version: 16.1.2 (probably not relevant)
iPhone model: not relevant
If you have any more questions, please let me know.
The text was updated successfully, but these errors were encountered: