Skip to content
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

Start playing from the desired second #71

Open
rastaman111 opened this issue Nov 4, 2024 · 0 comments
Open

Start playing from the desired second #71

rastaman111 opened this issue Nov 4, 2024 · 0 comments

Comments

@rastaman111
Copy link

rastaman111 commented Nov 4, 2024

Hi
How can I make it so that when the player is in "readyToPlay" mode, I can start it not from 0 seconds, but from the one I need

I try to run the RxMusicPlayer.Command.seek command after launching the player, but the player gives an error

status failed(err: SoundBar.RxMusicPlayerError.invalidCommand(cmd: SoundBar.RxMusicPlayer.Command.seek(seconds: 100, shouldPlay: false)))
RxMusicPlayer.Status.failed invalidCommand(cmd: SoundBar.RxMusicPlayer.Command.seek(seconds: 100, shouldPlay: false))

The player can only rewind when it is playing.

@rastaman111 rastaman111 changed the title Seek second Start playing from the desired second Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant