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
Change ShuffleOrder to only iterator-like methods to allow custom orders with repeated elements #6431
Comments
The Have you already considered this approach? |
thanks for the reply, I want to know this part, When we use, Like when we should have this option as well, Say like when the first Cycle is over we should have an option to start an new cycle, example we have songs a,b,c,d,e,f,g now we have |
In addition to If you'd like to change the shuffled order after looping, you can listen to Note that this class isn't meant to keep an infinite list of previously played items, so if you want to support going back to a previous shuffle order, you probably need to keep track of the already played items and reassign the previous shuffle order if needed. Would that work for you? |
this might help thanks, will give it a try, hope there was an easier way to manage multiple
this gets me back to my previous question I want to detect the previous/next clicks at least from the PlayerNotificationManager/MediaSessionCompat |
I think you need to listen to |
thanks @tonihei can |
I think it's quite a niche use case, but it should probably be a Having said that, we are thinking about moving all of the playback order logic together into one class (i.e. shuffling, looping, and any customizations) and it's worth taking this requirement into account. |
Can we detect The PlayerNotificationManager/MediaSessionCompat previous/next/play/pause button clicks
I want to implement a custom ShuffleMode , the player.setShuffleModeEnabled(true); sets random songs to play , but I want to implement my own custom logic
for the normal player I am not using exo_playback_control_view, but a custom control view , from which i call custom methods for next and previous in the AudioPlayerservice , I want to call these method from the notification aswell, there is an option to create custom notification and medediasession, but It will be easy to call the button clicks from both exo_playback_control_view and PlayerNotificationManager
Can we detect button clicks from PlayerNotificationManager/MediaSessionCompat/exo_playback_control_view
The text was updated successfully, but these errors were encountered: