behavior: add option to pause when a song repeats
Add a new option to pause playback whenever a song loops [e.g while in LoopMode.TRACK]. This does mean that we can no longer use exoplayer's native looping system, but it doesn't seem to be that much of an issue. Resolves #29.
This commit is contained in:
@@ -126,6 +126,14 @@
|
||||
app:summary="@string/setting_behavior_rewind_prev_desc"
|
||||
app:title="@string/setting_behavior_rewind_prev" />
|
||||
|
||||
<SwitchPreference
|
||||
app:allowDividerBelow="false"
|
||||
app:defaultValue="false"
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="KEY_LOOP_PAUSE"
|
||||
app:summary="@string/setting_behavior_loop_pause_desc"
|
||||
app:title="@string/setting_behavior_loop_pause" />
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory
|
||||
|
||||
Reference in New Issue
Block a user