You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
onMediaItemTransition not called when having a single media item with REPEAT_MODE_ALL #10667
Sometimes there are cases where even if we set to repeat a queue (REPEAT_MODE_ALL), we only have one track in the timeline. In that case I would assume that Player.MEDIA_ITEM_TRANSITION_REASON_REPEAT would trigger, since technically we are repeating the same track, but it doesn't seem like this is the case.
Here are the steps:
Have one track in a queue with REPEAT_MODE_ALL set.
Press the "skip to next" button.
The track plays again, but onMediaItemTransition is not triggered with MEDIA_ITEM_TRANSITION_REASON_REPEAT
Is this state not considered a media transition? If that's the case, how can I track whenever the media item repeats itself again?
Thanks for reporting! This is not expected and it should send onMediaItemTransition. The reason should probably be MEDIA_ITEM_TRANSITION_REASON_SEEK though.
Activity
tonihei commentedon Oct 6, 2022
Thanks for reporting! This is not expected and it should send
onMediaItemTransition. The reason should probably beMEDIA_ITEM_TRANSITION_REASON_SEEKthough.Ensure onMediaItemTransition is sent for repeats of the same item
Ensure onMediaItemTransition is sent for repeats of the same item
tonihei commentedon Nov 14, 2022
Fixed by the commit above.
Ensure onMediaItemTransition is sent for repeats of the same item
Ensure onMediaItemTransition is sent for repeats of the same item
Chore/bump exo 2.18.2 (#66)