Commit 570d3344 authored by Geoffrey Métais's avatar Geoffrey Métais

Stop service instead of repeating on failure

parent 34c45f98
......@@ -681,7 +681,7 @@ class PlaylistManager(val service: PlaybackService) : MediaWrapperList.EventList
service.showToast(service.getString(
R.string.invalid_location,
getCurrentMedia()?.getLocation() ?: ""), Toast.LENGTH_SHORT)
next()
if (nextIndex != currentIndex) next() else stop(true)
}
}
service.onMediaPlayerEvent(event)
......
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