yoheimuta / RxMusicPlayer

A reactive library to make it easy for audio playbacks using RxSwift.
MIT License
58 stars 8 forks source link

Add more functionality to rewind audio (15, 30) seconds #40

Closed rastaman111 closed 2 years ago

rastaman111 commented 2 years ago

Add more functionality to rewind audio (15, 30) seconds, so that the user can assign it himself how much it would be convenient for him

MPRemoteCommandCenter.shared().skipForwardCommand and MPRemoteCommandCenter.shared().skipBackwardCommand

rastaman111 commented 2 years ago

@yoheimuta Hey! How soon will you complete this task?

rastaman111 commented 2 years ago

@yoheimuta Help

yoheimuta commented 2 years ago

It seems like there's no way to display all the features at once. I plan to add a new parameter with which developers can turn on one of two features: moving track (current) or rewinding (new).

Current New addition
image image image image
rastaman111 commented 2 years ago

Hello. Yes, you can only show one thing. as an option, the user can save in UserDefaults what he needs and also save what interval to rewind. something should be of this type: a variable that determines what to show and two variables responsible for fast forward and rewind

rastaman111 commented 2 years ago

44

and also in the player itself, you need to add 2 functions so that the user can add rewind both before and back