Originally created by @mediadev123 on GitHub (Jan 29, 2023).
Steps to reproduce
Open the look screen/notification center
Seek inside the audiobook
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.
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 App?
iOS App?
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.
Originally created by @mediadev123 on GitHub (Jan 29, 2023).
### Steps to reproduce
1. Open the look screen/notification center
2. Seek inside the audiobook
3.
### 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:
<img src="https://user-images.githubusercontent.com/109393230/215297480-4792c8c6-1e0f-4298-975f-4051dd0911f1.jpg" width="250">
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](https://developer.apple.com/documentation/mediaplayer/mpremotecommandcenter/1618981-seekforwardcommand), [seekBackwardCommand](https://developer.apple.com/documentation/mediaplayer/mpremotecommandcenter/1618982-seekbackwardcommand), and/or [changePlaybackPositionCommand](https://developer.apple.com/documentation/mediaplayer/mpremotecommandcenter/1618997-changeplaybackpositioncommand) from [MPRemoteCommandCenter](https://developer.apple.com/documentation/mediaplayer/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 App?
- [x] iOS App?
#### 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.
adam
added the bug label 2026-04-24 23:20:30 +02:00
This behavior can be supported by other apps such as audible which disable the seeking behavior for audiobooks.
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.).
@blampe commented on GitHub (Jan 30, 2023):
> This behavior can be supported by other apps such as audible which disable the seeking behavior for audiobooks.
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
@mediadev123 commented on GitHub (Jan 30, 2023):
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.
@lukas2511 commented on GitHub (Feb 27, 2023):
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.
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
@fidoriel commented on GitHub (Feb 20, 2024):
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
@ajaxbits commented on GitHub (Feb 20, 2024):
> I would make it default behavior with https://github.com/advplyr/audiobookshelf-app/pull/683
I agree. I would move to close this issue, or modify it to be a feature request to make scrubbing on the lockscreen configurable.
My original issue has been solved by #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.
@fidoriel commented on GitHub (Feb 20, 2024):
> > I would make it default behavior with #683
>
> I agree. I would move to close this issue, or modify it to be a feature request to make scrubbing on the lockscreen configurable.
>
> My original issue has been solved by #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 ACTION_SEEK_TO.
Adding allowScrobbingOnWidget in settings, to the json settings parser for swift and Kotlin and a condition what to do when true. I have never done Kotlin, nor a device to test. If a setting is the wished behavior, I can do this in the coming days, but I would prefer a easy fix without a setting, I do not see the benefit of having one.
@fidoriel commented on GitHub (Feb 20, 2024):
I took a look at the code, adding the option in the settings seems not much work.
The android pendant seems to be `ACTION_SEEK_TO`.
Adding `allowScrobbingOnWidget` in settings, to the json settings parser for swift and Kotlin and a condition what to do when true. I have never done Kotlin, nor a device to test. If a setting is the wished behavior, I can do this in the coming days, but I would prefer a easy fix without a setting, I do not see the benefit of having one.
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. 👍🏻
@ajaxbits commented on GitHub (Feb 20, 2024):
> useless behavior
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. 👍🏻
@ajaxbits maybe you are right. It was easy for iOS, #1094 does now include an option to configure. Default: seeking not possible. I did testing on iOS, also added a untested Android version. Need to find time to make an android emulator setup or someone can test it quickly.
@fidoriel commented on GitHub (Feb 20, 2024):
@ajaxbits maybe you are right. It was easy for iOS, #1094 does now include an option to configure. Default: seeking not possible. I did testing on iOS, also added a untested Android version. Need to find time to make an android emulator setup or someone can test it quickly.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @mediadev123 on GitHub (Jan 29, 2023).
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.
@blampe commented on GitHub (Jan 30, 2023):
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.).
@mediadev123 commented on GitHub (Jan 30, 2023):
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
@lukas2511 commented on GitHub (Feb 27, 2023):
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.
@ajaxbits commented on GitHub (Apr 21, 2023):
I also experience this issue and would be grateful to see it resolved/enhanced.
@fidoriel commented on GitHub (Feb 20, 2024):
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
@ajaxbits commented on GitHub (Feb 20, 2024):
I agree. I would move to close this issue, or modify it to be a feature request to make scrubbing on the lockscreen configurable.
My original issue has been solved by #683
@fidoriel commented on GitHub (Feb 20, 2024):
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.
@fidoriel commented on GitHub (Feb 20, 2024):
I took a look at the code, adding the option in the settings seems not much work.
The android pendant seems to be
ACTION_SEEK_TO.Adding
allowScrobbingOnWidgetin settings, to the json settings parser for swift and Kotlin and a condition what to do when true. I have never done Kotlin, nor a device to test. If a setting is the wished behavior, I can do this in the coming days, but I would prefer a easy fix without a setting, I do not see the benefit of having one.@ajaxbits commented on GitHub (Feb 20, 2024):
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. 👍🏻
@fidoriel commented on GitHub (Feb 20, 2024):
@ajaxbits maybe you are right. It was easy for iOS, #1094 does now include an option to configure. Default: seeking not possible. I did testing on iOS, also added a untested Android version. Need to find time to make an android emulator setup or someone can test it quickly.
@advplyr commented on GitHub (Mar 4, 2024):
Added in v0.9.73-beta