Skip to content
Snippets Groups Projects
Commit a856c56c authored by Nicolas Pomepuy's avatar Nicolas Pomepuy Committed by Duncan McNamara
Browse files

Prevent saving AB repeat when history is off

parent 17dfc80a
No related branches found
No related tags found
1 merge request!1869Add a progress/played indicator to the file browser items
......@@ -1009,6 +1009,7 @@ class PlaylistManager(val service: PlaybackService) : MediaWrapperList.EventList
fun getMediaList(): List<MediaWrapper> = mediaList.copy
fun setABRepeatValue(media: MediaWrapper?, time: Long) {
if (settings.getBoolean(PLAYBACK_HISTORY, true)) return
val value = abRepeat.value ?: ABRepeat()
when {
value.start == -1L -> {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment