Play position in stuff like podcasts can now be permanently persisted.
This commit is contained in:
@@ -613,7 +613,8 @@ void Player::stop(bool turn_speaker_off) {
|
||||
if (_state != playing) return;
|
||||
INFO("Stopping...\n");
|
||||
_current_playlist->set_position(_current_play_position);
|
||||
|
||||
_controller->pm->persist(_current_playlist);
|
||||
|
||||
_state = stopping;
|
||||
_stop_delay = 0;
|
||||
_write_control_register(SCI_MODE, _read_control_register(SCI_MODE) | SM_CANCEL);
|
||||
|
||||
Reference in New Issue
Block a user