google / google/ExoPlayer

Change ShuffleOrder to only iterator-like methods to allow custom orders with repeated elements

Open
#6,431 7 comments 0 reactions 1 assignee Claimed by @marcbaechinger View on GitHub
enhancement
Dominant language
Java
Stars
21.9k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.