mirror of
https://github.com/antebudimir/tempus.git
synced 2025-12-31 09:33:33 +00:00
fix: Implemented continuous playing in com.cappielloantonio.notquitemy.tempo
This commit is contained in:
parent
176db09662
commit
e84f62220c
1 changed files with 3 additions and 0 deletions
|
|
@ -179,6 +179,9 @@ class MediaService : MediaLibraryService() {
|
|||
override fun onTracksChanged(tracks: Tracks) {
|
||||
ReplayGainUtil.setReplayGain(player, tracks)
|
||||
MediaManager.scrobble(player.currentMediaItem, false)
|
||||
|
||||
if (player.currentMediaItemIndex + 1 == player.mediaItemCount)
|
||||
MediaManager.continuousPlay(player.currentMediaItem)
|
||||
}
|
||||
|
||||
override fun onIsPlayingChanged(isPlaying: Boolean) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue