Added the new options to the webui

This commit is contained in:
RemixDev 2021-12-23 19:50:18 +01:00
parent b0aac77feb
commit 5b9abb8a63
3 changed files with 40 additions and 7 deletions

File diff suppressed because one or more lines are too long

View File

@ -357,6 +357,10 @@
<input v-model="settings.tags.artist" type="checkbox" /> <input v-model="settings.tags.artist" type="checkbox" />
<span class="checkbox-text">{{ $t('settings.tags.artist') }}</span> <span class="checkbox-text">{{ $t('settings.tags.artist') }}</span>
</label> </label>
<label class="with-checkbox" v-if="settings.tags.multiArtistSeparator != 'default'">
<input v-model="settings.tags.artists" type="checkbox" />
<span class="checkbox-text">{{ $t('settings.tags.artists') }}</span>
</label>
<label class="with-checkbox"> <label class="with-checkbox">
<input v-model="settings.tags.album" type="checkbox" /> <input v-model="settings.tags.album" type="checkbox" />
<span class="checkbox-text">{{ $t('settings.tags.album') }}</span> <span class="checkbox-text">{{ $t('settings.tags.album') }}</span>
@ -454,6 +458,9 @@
</label> </label>
</div> </div>
</div> </div>
<p v-if="settings.tags.multiArtistSeparator != 'default' && !settings.tags.artists" style="opacity: 0.75; color: #ffcc22">
{{ $t('settings.tags.artistsWarning') }}
</p>
</BaseAccordion> </BaseAccordion>
<BaseAccordion class="settings-group"> <BaseAccordion class="settings-group">
@ -499,6 +506,11 @@
<input v-model="settings.fallbackSearch" type="checkbox" /> <input v-model="settings.fallbackSearch" type="checkbox" />
<span class="checkbox-text">{{ $t('settings.downloads.fallbackSearch') }}</span> <span class="checkbox-text">{{ $t('settings.downloads.fallbackSearch') }}</span>
</label> </label>
<label class="with-checkbox">
<input v-model="settings.fallbackISRC" type="checkbox" />
<span class="checkbox-text">{{ $t('settings.downloads.fallbackISRC') }}</span>
</label>
</div> </div>
<div class="settings-container__third settings-container__third--only-checkbox"> <div class="settings-container__third settings-container__third--only-checkbox">
<label class="with-checkbox"> <label class="with-checkbox">
@ -510,6 +522,11 @@
<input v-model="settings.logSearched" type="checkbox" /> <input v-model="settings.logSearched" type="checkbox" />
<span class="checkbox-text">{{ $t('settings.downloads.logSearched') }}</span> <span class="checkbox-text">{{ $t('settings.downloads.logSearched') }}</span>
</label> </label>
<label class="with-checkbox">
<input v-model="settings.feelingLucky" type="checkbox" />
<span class="checkbox-text">{{ $t('settings.downloads.feelingLucky') }}</span>
</label>
</div> </div>
<div class="settings-container__third settings-container__third--only-checkbox"> <div class="settings-container__third settings-container__third--only-checkbox">
<label class="with-checkbox"> <label class="with-checkbox">
@ -572,6 +589,9 @@
<option value=";">{{ $t('settings.other.multiArtistSeparator.using', { separator: ';' }) }}</option> <option value=";">{{ $t('settings.other.multiArtistSeparator.using', { separator: ';' }) }}</option>
<option value="; ">{{ $t('settings.other.multiArtistSeparator.using', { separator: '; ' }) }}</option> <option value="; ">{{ $t('settings.other.multiArtistSeparator.using', { separator: '; ' }) }}</option>
</select> </select>
<p v-if="settings.tags.multiArtistSeparator != 'default'" style="opacity: 0.75; color: #ffcc22">
{{ $t('settings.other.multiArtistSeparator.warning') }}
</p>
</div> </div>
<label class="with-checkbox"> <label class="with-checkbox">

View File

@ -134,7 +134,9 @@ const en = {
noSpaceLeft: 'No space left on the device!', noSpaceLeft: 'No space left on the device!',
albumDoesntExists: "Track's album doesn't exist, failed to gather info.", albumDoesntExists: "Track's album doesn't exist, failed to gather info.",
wrongLicense: "Your account can't stream the track at the desired bitrate.", wrongLicense: "Your account can't stream the track at the desired bitrate.",
wrongGeolocation: "Your account can't stream the track from your current country." wrongGeolocation: "Your account can't stream the track from your current country.",
wrongGeolocationNoAlternative:
"Your account can't stream the track from your current country and no alternative found."
} }
}, },
favorites: { favorites: {
@ -291,6 +293,8 @@ const en = {
}, },
fallbackBitrate: 'Bitrate fallback', fallbackBitrate: 'Bitrate fallback',
fallbackSearch: 'Search fallback', fallbackSearch: 'Search fallback',
fallbackISRC: 'Fallback with ISRC search',
feelingLucky: 'Gamble with CDNs and caches',
logErrors: 'Create log files for errors', logErrors: 'Create log files for errors',
logSearched: 'Create log files for searched tracks', logSearched: 'Create log files for searched tracks',
createM3U8File: 'Create playlist file', createM3U8File: 'Create playlist file',
@ -322,6 +326,7 @@ const en = {
head: 'Which tags to save', head: 'Which tags to save',
title: 'Title', title: 'Title',
artist: 'Artist', artist: 'Artist',
artists: 'Extra ARTISTS tag',
album: 'Album', album: 'Album',
cover: 'Cover', cover: 'Cover',
trackNumber: 'Track Number', trackNumber: 'Track Number',
@ -344,7 +349,9 @@ const en = {
copyright: 'Copyright', copyright: 'Copyright',
composer: 'Composer', composer: 'Composer',
involvedPeople: 'Involved People', involvedPeople: 'Involved People',
source: 'Source and song ID' source: 'Source and song ID',
artistsWarning:
"Disabling the ARTISTS tag while not using standard specification won't preserve multiartist support"
}, },
other: { other: {
title: 'Other', title: 'Other',
@ -356,7 +363,9 @@ const en = {
nothing: 'Save only the main artist', nothing: 'Save only the main artist',
default: 'Using standard specification', default: 'Using standard specification',
andFeat: 'Using & and feat.', andFeat: 'Using & and feat.',
using: 'Using "{separator}"' using: 'Using "{separator}"',
warning:
'Using any separator other than the standard specification will add a extra ARTISTS tag to preserve multiartist support'
}, },
singleAlbumArtist: 'Save only the main album artist', singleAlbumArtist: 'Save only the main album artist',
albumVariousArtists: 'Keep "Various Artists" in the Album Artists', albumVariousArtists: 'Keep "Various Artists" in the Album Artists',