Commit 43abbbb4 authored by Geoffrey Métais's avatar Geoffrey Métais

Fix repeat mode not restored

(cherry picked from commit ccc0729b)
parent dcc31d62
......@@ -62,6 +62,10 @@ class PlaylistManager(val service: PlaybackService) : MediaWrapperList.EventList
fun isValidPosition(position: Int) = position in 0 until mediaList.size()
init {
if (settings.getBoolean("audio_save_repeat", false)) repeating = settings.getInt(AUDIO_REPEAT_MODE_KEY, Constants.REPEAT_NONE)
}
/**
* Loads a selection of files (a non-user-supplied collection of media)
* into the primary or "currently playing" playlist.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment