Added clearQueueOnExit option

This commit is contained in:
RemixDev 2022-03-05 13:12:26 +01:00
parent 5565b979dc
commit 5a7de93595
3 changed files with 7 additions and 8 deletions

View File

@ -530,13 +530,11 @@
<input v-model="settings.playlistFilenameTemplate" type="text" /> <input v-model="settings.playlistFilenameTemplate" type="text" />
</div> </div>
<!-- <label v-if="clientMode" class="with-checkbox">
TODO: Uncomment when implemented <input v-model="settings.clearQueueOnExit" type="checkbox" />
<label class="with-checkbox"> <span class="checkbox-text">{{ $t('settings.downloads.clearQueueOnExit') }}</span>
<input v-model="settings.saveDownloadQueue" type="checkbox" />
<span class="checkbox-text">{{ $t('settings.downloads.saveDownloadQueue') }}</span>
</label> </label>
-->
</BaseAccordion> </BaseAccordion>
<BaseAccordion class="settings-group"> <BaseAccordion class="settings-group">
@ -885,6 +883,7 @@ export default {
}, },
methods: { methods: {
...mapActions({ ...mapActions({
clientMode: 'getClientMode',
dispatchARL: 'setARL', dispatchARL: 'setARL',
dispatchAccessTocken: 'setAccessToken', dispatchAccessTocken: 'setAccessToken',
dispatchUser: 'setUser', dispatchUser: 'setUser',

View File

@ -341,7 +341,7 @@ const en = {
createM3U8File: 'Create playlist file', createM3U8File: 'Create playlist file',
syncedLyrics: 'Create .lyr files (Sync Lyrics)', syncedLyrics: 'Create .lyr files (Sync Lyrics)',
playlistFilenameTemplate: 'Playlist filename template', playlistFilenameTemplate: 'Playlist filename template',
saveDownloadQueue: 'Save download queue when closing the app' clearQueueOnExit: 'Clear download queue when closing the app'
}, },
covers: { covers: {
title: 'Album covers', title: 'Album covers',

View File

@ -342,7 +342,7 @@ const it = {
syncedLyrics: 'Crea i file .lyr (Testi Sincronizzati)', syncedLyrics: 'Crea i file .lyr (Testi Sincronizzati)',
createM3U8File: 'Crea i file playlist', createM3U8File: 'Crea i file playlist',
playlistFilenameTemplate: 'Template nome del file playlist', playlistFilenameTemplate: 'Template nome del file playlist',
saveDownloadQueue: "Salva la coda di download quando chiudi l'app" clearQueueOnExit: "Pulisci la coda di download quando chiudi l'app"
}, },
covers: { covers: {
title: 'Copertine', title: 'Copertine',