Added resume from history

This commit is contained in:
booploops 2022-02-19 01:13:22 -08:00
parent 913532fcdb
commit 02ba9a7c42
3 changed files with 354 additions and 304 deletions

View file

@ -12,7 +12,8 @@ export class Store {
"discord_rpc_clear_on_pause": true,
"language": "en_US", // electron.app.getLocale().replace('-', '_') this can be used in future
"playbackNotifications": true,
"update_branch": "innolab"
"update_branch": "main",
"resumeOnStartupBehavior": "local"
},
"home": {
"followedArtists": [],

File diff suppressed because it is too large Load diff

View file

@ -23,6 +23,23 @@
<input type="checkbox" v-model="app.mk.privateEnabled" switch/>
</div>
</div>
<div class="md-option-line">
<div class="md-option-segment">
Resume behavior<br>
<small>
Resume behavior affects how Cider will resume your session when you return to the app.<br>
<b>Locally: </b> Cider will resume your last session on this machine.<br>
<b>History: </b> Cider will queue the last song from your overall Apple Music history, across devices.
</small>
</div>
<div class="md-option-segment md-option-segment_auto">
<select class="md-select" style="width:180px;" v-model="$root.cfg.general.resumeOnStartupBehavior">
<option value="disabled">Disabled</option>
<option value="local">Locally</option>
<option value="history">History</option>
</select>
</div>
</div>
</div>
<div class="md-option-header">
<span>{{$root.getLz('settings.header.audio')}}</span>