Merge pull request #344 from GamingLiamStudios/develop
Move CAP Stength to i18n & update en_OWO.jsonc
This commit is contained in:
commit
1a77747b06
3 changed files with 124 additions and 154 deletions
|
@ -1,20 +1,15 @@
|
|||
{ // Base File
|
||||
|
||||
// i18n Info
|
||||
"i18n.languageName": "Engwish (OwO)", // name of language in native language
|
||||
"i18n.languageName": "Engwish (OwO)", // name of language in native language
|
||||
"i18n.languageNameEnglish": "Engwish (OwO)", // name of language in English
|
||||
"i18n.category": "fun", // main = real language, fun = fun community languages
|
||||
"i18n.authors": "@deerwithacurl", // Authors, if you contribute to this file feel free to add your name seperated with a space
|
||||
|
||||
// App info
|
||||
"app.name": "Cidew",
|
||||
|
||||
"date.format": "${m} ${d}, ${y}",
|
||||
|
||||
// Dialogs
|
||||
"dialog.cancel": "Nu",
|
||||
"dialog.ok": "Oki",
|
||||
|
||||
// Notification
|
||||
"notification.updatingLibrarySongs": "Updating wibwawy songs...",
|
||||
"notification.updatingLibraryAlbums": "Updating wibwawy awbums...",
|
||||
|
@ -92,7 +87,7 @@
|
|||
"term.less": "Wess",
|
||||
"term.showMore": "Show moar",
|
||||
"term.showLess": "Show wess",
|
||||
"term.topSongs" : "Top Songs",
|
||||
"term.topSongs": "Top Songs",
|
||||
"term.latestReleases": "Watest Weweases",
|
||||
"term.time.added": "Added",
|
||||
"term.time.released": "Weweased",
|
||||
|
@ -127,7 +122,7 @@
|
|||
"term.check": "Check",
|
||||
"term.aboutArtist": "About {{artistName}}", // e.g. 'About Doja Cat'
|
||||
"term.updateCider": "Update Cidew",
|
||||
"term.topResult": "Top Wesuwt", // Search Results
|
||||
"term.topResult": "Top Wesuwt", // Search Results
|
||||
"term.sharedPlaylists": "Shawed Pwaywists", // Search Results
|
||||
"term.people": "Peopwe", // Search Results
|
||||
"term.newpreset.name": "New EQ Pweset Name", // Equalizer Preset
|
||||
|
@ -142,7 +137,6 @@
|
|||
"term.recordLabels": "Wecowd Wabews",
|
||||
"term.videoExtras": "Videowo Extwas",
|
||||
"term.top": "Top",
|
||||
|
||||
// Home
|
||||
"home.title": "Home",
|
||||
"home.recentlyPlayed": "Wecentwy Pwayed",
|
||||
|
@ -157,7 +151,6 @@
|
|||
"error.connectionError": "Thewe was a pwobwem connecting to Appwe Mewsic.",
|
||||
"error.noResults": "No Wesuwts.",
|
||||
"error.noResults.description": "Twy a new seawch.",
|
||||
|
||||
//Podcasts
|
||||
"podcast.followOnCider": "Fowwow On Cidew",
|
||||
"podcast.followedOnCider": "Fowwowing On Cidew",
|
||||
|
@ -167,7 +160,6 @@
|
|||
"podcast.episodes": "Episowodes",
|
||||
"podcast.playEpisode": "Pway Episowode",
|
||||
"podcast.website": "Pawdcast Website",
|
||||
|
||||
// Actions
|
||||
"action.addToLibrary": "Add to Wibwawy",
|
||||
"action.addToLibrary.success": "Added to Wibwawy",
|
||||
|
@ -213,19 +205,16 @@
|
|||
"action.tray.quit": "Quit",
|
||||
"action.tray.show": "Show",
|
||||
"action.update": "Update",
|
||||
"action.newpreset": "New Pweset...", // Equalizer Preset
|
||||
"action.newpreset": "New Pweset...", // Equalizer Preset
|
||||
"action.deletepreset": "Dewete Pweset",
|
||||
|
||||
// Settings - General
|
||||
"settings.header.general": "Genewaw",
|
||||
"settings.header.general.description": "Adjust the genewaw settings fow Cidew.",
|
||||
"settings.option.general.language": "Wanguage",
|
||||
|
||||
// Language optgroups
|
||||
"settings.option.general.language.main": "Wanguages",
|
||||
"settings.option.general.language.fun": "Fun Wanguages",
|
||||
"settings.option.general.language.unsorted": "Unsowted",
|
||||
|
||||
// Settings - Audio
|
||||
"settings.header.audio": "Audiowo",
|
||||
"settings.header.audio.description": "Adjust the audiowo settings fow Cidew.",
|
||||
|
@ -240,8 +229,12 @@
|
|||
"settings.option.audio.seamlessTransition": "Seamwess Audiowo Twansition", // Toggle
|
||||
"settings.option.audio.enableAdvancedFunctionality": "Enabwe Advanced Functionawity", // Toggle
|
||||
"settings.option.audio.enableAdvancedFunctionality.description": "Enabwing AudiowoContext functionawity wiww awwow fow extended audiowo featuwes wike Audiowo Nowmawization, Equalizews and Visuawizews, howevew on some systems dis may cause stuttewing in audiowo twacks.",
|
||||
"settings.option.audio.enableAdvancedFunctionality.ciderPPE": "Cidew Pswychwoacwoustic Pwocessing Engwine", // Toggle
|
||||
"settings.option.audio.enableAdvancedFunctionality.ciderPPE.description": "Pwocessing wowkfwow that twicks youw bwain into thinking that the fiwes awe highew-quawity sownding.",
|
||||
"settings.option.audio.enableAdvancedFunctionality.ciderPPE": "Cidew Adwenawine Pwocess", // Toggle
|
||||
"settings.option.audio.enableAdvancedFunctionality.ciderPPE.description": "CAP sets a pwe-defined advanced mix/pwocess that awwows media to pwoduwce mowe wich souwnding fwequwencies. (Designed by maikiwi)",
|
||||
"settings.option.audio.enableAdvancedFunctionality.ciderPPE.strength": "CAP stwength", // Multiple Choice
|
||||
"settings.option.audio.enableAdvancedFunctionality.ciderPPE.strength.description": "Changes the stwength of the mixing/pwocessing done to auwdio. (May cauwse cwipping ow abnowmaw wow fweq's if set too high.)",
|
||||
"settings.option.audio.enableAdvancedFunctionality.ciderPPE.strength.aggressive": "Aggwessive",
|
||||
"settings.option.audio.enableAdvancedFunctionality.ciderPPE.strength.standard": "Standawd",
|
||||
"settings.option.audio.enableAdvancedFunctionality.audioNormalization": "Audiowo Nowmawization", // Toggle
|
||||
"settings.option.audio.enableAdvancedFunctionality.audioNormalization.description": "Nowmawizes peak vowume fow individuaw twacks to cweate a moar unifowm wistening expewience.",
|
||||
"settings.option.audio.enableAdvancedFunctionality.audioSpatialization": "Audiowo Spatiawization", // Toggle
|
||||
|
@ -270,7 +263,6 @@
|
|||
"settings.header.visual.hardwareAcceleration.webGPU": "WebGPU",
|
||||
// Refer to term.disabled for the disabled option
|
||||
"settings.option.visual.showPersonalInfo": "Show Pewsonaw Info", // Toggle
|
||||
|
||||
// Settings - Lyrics
|
||||
"settings.header.lyrics": "Wywics",
|
||||
"settings.header.lyrics.description": "Adjust the wywics settings fow Cidew.",
|
||||
|
@ -278,7 +270,6 @@
|
|||
"settings.option.lyrics.enableMusixmatchKaraoke": "Enabwe Kawaoke Mode (Musixmatch onwy)", // Toggle
|
||||
"settings.option.lyrics.musixmatchPreferredLanguage": "Musixmatch Twanswation Pwefewwed Wanguage", // Dropdown
|
||||
"settings.option.lyrics.enableYoutubeLyrics": "Enabwe YouTube Wywics fow Mewsic Videowos", // Toggle
|
||||
|
||||
// Settings - Connectivity
|
||||
"settings.header.connectivity": "Connectivity",
|
||||
"settings.header.connectivity.description": "Adjust the connectivity settings fow Cidew.",
|
||||
|
@ -294,14 +285,12 @@
|
|||
"settings.option.connectivity.lastfmScrobble.removeFeatured": "Wemove featuwing awtists fwom song titwe (Wast.fm)",
|
||||
"settings.option.connectivity.lastfmScrobble.filterLoop": "Fiwtew wooped twack (Wast.fm)",
|
||||
// Refer to term.connect for the connect button
|
||||
|
||||
// Settings - Experimental
|
||||
"settings.header.experimental": "Expewimentaw",
|
||||
"settings.header.experimental.description": "Adjust the expewimentaw settings fow Cidew.",
|
||||
"settings.option.experimental.compactUI": "Wittwe UI", // Toggle
|
||||
"settings.option.experimental.close_button_hide": "Cwose Button Shouwd Hide the Appwication",
|
||||
// Refer to term.disabled & term.enabled
|
||||
|
||||
// Spatialization Menu
|
||||
"spatial.notTurnedOn": "Audiowo Spatiawization is disabwed. To use, pwease enabwe it fiwst.",
|
||||
"spatial.spatialProperties": "Spatiaw Pwopewties",
|
||||
|
@ -322,14 +311,11 @@
|
|||
"spatial.down": "Down",
|
||||
"spatial.listener": "Wistenew",
|
||||
"spatial.audioSource": "Audiowo Souwce",
|
||||
|
||||
// Settings - Unfinished
|
||||
"settings.header.unfinished": "Unfinished",
|
||||
|
||||
// Web Remote
|
||||
"remote.web.title": "Cider Wiimote",
|
||||
"remote.web.description": "Scan da QR code to paiw chur phone up with dis Cidew instance",
|
||||
|
||||
// About
|
||||
"about.thanks": "Majow tanks to da Cidew Cowwective Team and aww of ouw contwibutows."
|
||||
}
|
|
@ -1,20 +1,15 @@
|
|||
{ // Base File
|
||||
|
||||
// i18n Info
|
||||
"i18n.languageName": "English (US)", // name of language in native language
|
||||
"i18n.languageName": "English (US)", // name of language in native language
|
||||
"i18n.languageNameEnglish": "English (US)", // name of language in English
|
||||
"i18n.category": "main", // main = real language, fun = fun community languages
|
||||
"i18n.authors": "@maikirakiwi", // Authors, if you contribute to this file feel free to add your name seperated with a space
|
||||
|
||||
// App info
|
||||
"app.name": "Cider",
|
||||
|
||||
"date.format": "${m} ${d}, ${y}",
|
||||
|
||||
// Dialogs
|
||||
"dialog.cancel": "Cancel",
|
||||
"dialog.ok": "OK",
|
||||
|
||||
// Notification
|
||||
"notification.updatingLibrarySongs": "Updating library songs...",
|
||||
"notification.updatingLibraryAlbums": "Updating library albums...",
|
||||
|
@ -93,7 +88,7 @@
|
|||
"term.less": "Less",
|
||||
"term.showMore": "Show more",
|
||||
"term.showLess": "Show less",
|
||||
"term.topSongs" : "Top Songs",
|
||||
"term.topSongs": "Top Songs",
|
||||
"term.latestReleases": "Latest Releases",
|
||||
"term.time.added": "Added",
|
||||
"term.time.released": "Released",
|
||||
|
@ -128,7 +123,7 @@
|
|||
"term.check": "Check",
|
||||
"term.aboutArtist": "About {{artistName}}", // e.g. 'About Doja Cat'
|
||||
"term.updateCider": "Update Cider",
|
||||
"term.topResult": "Top Result", // Search Results
|
||||
"term.topResult": "Top Result", // Search Results
|
||||
"term.sharedPlaylists": "Shared Playlists", // Search Results
|
||||
"term.people": "People", // Search Results
|
||||
"term.newpreset.name": "New EQ Preset Name", // Equalizer Preset
|
||||
|
@ -143,7 +138,6 @@
|
|||
"term.recordLabels": "Record Labels",
|
||||
"term.videoExtras": "Video Extras",
|
||||
"term.top": "Top",
|
||||
|
||||
// Home
|
||||
"home.title": "Home",
|
||||
"home.recentlyPlayed": "Recently Played",
|
||||
|
@ -158,7 +152,6 @@
|
|||
"error.connectionError": "There was a problem connecting to Apple Music.",
|
||||
"error.noResults": "No Results.",
|
||||
"error.noResults.description": "Try a new search.",
|
||||
|
||||
//Podcasts
|
||||
"podcast.followOnCider": "Follow On Cider",
|
||||
"podcast.followedOnCider": "Following On Cider",
|
||||
|
@ -168,7 +161,6 @@
|
|||
"podcast.episodes": "Episodes",
|
||||
"podcast.playEpisode": "Play Episode",
|
||||
"podcast.website": "Podcast Website",
|
||||
|
||||
// Actions
|
||||
"action.addToLibrary": "Add to Library",
|
||||
"action.addToLibrary.success": "Added to Library",
|
||||
|
@ -215,19 +207,16 @@
|
|||
"action.tray.show": "Show",
|
||||
"action.update": "Update",
|
||||
"action.copy": "Copy",
|
||||
"action.newpreset": "New Preset...", // Equalizer Preset
|
||||
"action.newpreset": "New Preset...", // Equalizer Preset
|
||||
"action.deletepreset": "Delete Preset",
|
||||
|
||||
// Settings - General
|
||||
"settings.header.general": "General",
|
||||
"settings.header.general.description": "Adjust the general settings for Cider.",
|
||||
"settings.option.general.language": "Language",
|
||||
|
||||
// Language optgroups
|
||||
"settings.option.general.language.main": "Languages",
|
||||
"settings.option.general.language.fun": "Fun Languages",
|
||||
"settings.option.general.language.unsorted": "Unsorted",
|
||||
|
||||
// Settings - Audio
|
||||
"settings.header.audio": "Audio",
|
||||
"settings.header.audio.description": "Adjust the audio settings for Cider.",
|
||||
|
@ -245,6 +234,10 @@
|
|||
"settings.option.audio.enableAdvancedFunctionality.description": "Enabling AudioContext functionality will allow for extended audio features like Audio Normalization , Equalizers and Visualizers, however on some systems this may cause stuttering in audio tracks.",
|
||||
"settings.option.audio.enableAdvancedFunctionality.ciderPPE": "Cider Adrenaline Process", // Toggle
|
||||
"settings.option.audio.enableAdvancedFunctionality.ciderPPE.description": "CAP sets a pre-defined advanced mix/process that allows media to produce more rich sounding frequencies. (Designed by Maikiwi)",
|
||||
"settings.option.audio.enableAdvancedFunctionality.ciderPPE.strength": "CAP Strength", // Multiple Choice
|
||||
"settings.option.audio.enableAdvancedFunctionality.ciderPPE.strength.description": "Changes the strength of the mixing/processing done to audio. (May cause clipping or abnormal low freq's if set too high.)",
|
||||
"settings.option.audio.enableAdvancedFunctionality.ciderPPE.strength.aggressive": "Aggressive",
|
||||
"settings.option.audio.enableAdvancedFunctionality.ciderPPE.strength.standard": "Standard",
|
||||
"settings.option.audio.enableAdvancedFunctionality.audioNormalization": "Audio Normalization", // Toggle
|
||||
"settings.option.audio.enableAdvancedFunctionality.audioNormalization.description": "Normalizes peak volume for individual tracks to create a more uniform listening experience.",
|
||||
"settings.option.audio.enableAdvancedFunctionality.audioSpatialization": "Audio Spatialization", // Toggle
|
||||
|
@ -272,14 +265,11 @@
|
|||
"settings.header.visual.hardwareAcceleration.default": "Default",
|
||||
"settings.header.visual.hardwareAcceleration.webGPU": "WebGPU",
|
||||
"settings.header.visual.theme": "Theme",
|
||||
|
||||
// Settings - Visual - Theme name
|
||||
"settings.option.visual.theme.default": "Cider",
|
||||
"settings.option.visual.theme.dark": "Dark",
|
||||
|
||||
// Refer to term.disabled for the disabled option
|
||||
"settings.option.visual.showPersonalInfo": "Show Personal Info", // Toggle
|
||||
|
||||
// Settings - Lyrics
|
||||
"settings.header.lyrics": "Lyrics",
|
||||
"settings.header.lyrics.description": "Adjust the lyrics settings for Cider.",
|
||||
|
@ -287,7 +277,6 @@
|
|||
"settings.option.lyrics.enableMusixmatchKaraoke": "Enable Karaoke Mode (Musixmatch only)", // Toggle
|
||||
"settings.option.lyrics.musixmatchPreferredLanguage": "Musixmatch Translation Preferred Language", // Dropdown
|
||||
"settings.option.lyrics.enableYoutubeLyrics": "Enable Youtube Lyrics for Music Videos", // Toggle
|
||||
|
||||
// Settings - Connectivity
|
||||
"settings.header.connectivity": "Connectivity",
|
||||
"settings.header.connectivity.description": "Adjust the connectivity settings for Cider.",
|
||||
|
@ -303,7 +292,6 @@
|
|||
"settings.option.connectivity.lastfmScrobble.removeFeatured": "Remove featuring artists from song title (Last.fm)",
|
||||
"settings.option.connectivity.lastfmScrobble.filterLoop": "Filter looped track (Last.fm)",
|
||||
// Refer to term.connect for the connect button
|
||||
|
||||
// Settings - Experimental
|
||||
"settings.header.experimental": "Experimental",
|
||||
"settings.header.experimental.description": "Adjust the experimental settings for Cider.",
|
||||
|
@ -312,7 +300,6 @@
|
|||
"settings.option.experimental.copy_log": "Copy logs to clipboard",
|
||||
"settings.option.experimental.inline_playlists": "Inline Playlists and Albums",
|
||||
// Refer to term.disabled & term.enabled
|
||||
|
||||
// Spatialization Menu
|
||||
"spatial.notTurnedOn": "Audio Spatialization is disabled. To use, please enable it first.",
|
||||
"spatial.spatialProperties": "Spatial Properties",
|
||||
|
@ -333,14 +320,11 @@
|
|||
"spatial.down": "Down",
|
||||
"spatial.listener": "Listener",
|
||||
"spatial.audioSource": "Audio Source",
|
||||
|
||||
// Settings - Unfinished
|
||||
"settings.header.unfinished": "Unfinished",
|
||||
|
||||
// Web Remote
|
||||
"remote.web.title": "Cider Remote",
|
||||
"remote.web.description": "Scan the QR code to pair your phone up with this Cider instance",
|
||||
|
||||
// About
|
||||
"about.thanks": "Major thanks to the Cider Collective Team and all of our contributors."
|
||||
}
|
|
@ -74,16 +74,16 @@
|
|||
</div>
|
||||
<div class="md-option-line" v-show="app.cfg.advanced.AudioContext && app.cfg.advanced.ciderPPE === true">
|
||||
<div class="md-option-segment">
|
||||
CAP Strength
|
||||
{{$root.getLz('settings.option.audio.enableAdvancedFunctionality.ciderPPE.strength')}}
|
||||
<br>
|
||||
<small>Changes the strength of the mixing/processing done to audio. (May cause clipping or abnormal low freq's if set too high.)</small>
|
||||
<small>{{$root.getLz('settings.option.audio.enableAdvancedFunctionality.ciderPPE.strength.description')}}</small>
|
||||
</div>
|
||||
<div class="md-option-segment md-option-segment_auto">
|
||||
<button class="md-btn" :disabled="app.cfg.audio.ciderPPE_value === 0.55" v-model="app.cfg.audio.ciderPPE_value" onclick="app.cfg.audio.ciderPPE_value = 0.55">
|
||||
Aggressive
|
||||
{{$root.getLz('settings.option.audio.enableAdvancedFunctionality.ciderPPE.strength.agressive')}}
|
||||
</button>
|
||||
<button class="md-btn" style="margin-top: 5px;" :disabled="app.cfg.audio.ciderPPE_value === 0.5" v-model="app.cfg.audio.ciderPPE_value" onclick="app.cfg.audio.ciderPPE_value = 0.5">
|
||||
Standard
|
||||
{{$root.getLz('settings.option.audio.enableAdvancedFunctionality.ciderPPE.strength.standard')}}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -737,92 +737,92 @@
|
|||
</script>
|
||||
|
||||
<script>
|
||||
Vue.component('cider-settings', {
|
||||
template: "#cider-settings",
|
||||
props: [],
|
||||
data: function () {
|
||||
return {
|
||||
app: this.$root,
|
||||
Vue.component('cider-settings', {
|
||||
template: "#cider-settings",
|
||||
props: [],
|
||||
data: function () {
|
||||
return {
|
||||
app: this.$root,
|
||||
themes: ipcRenderer.sendSync("get-themes")
|
||||
}
|
||||
},
|
||||
mounted: function () {
|
||||
if (app.cfg.lastfm.enabled) {
|
||||
const element = document.getElementById('lfmConnect');
|
||||
if (element) {
|
||||
element.innerHTML = `Disconnect\n<p style="font-size: 8px"><i>(Authed: ${app.cfg.lastfm.auth_token})</i></p>`;
|
||||
element.onclick = app.LastFMDeauthorize;
|
||||
}
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
}
|
||||
},
|
||||
mounted: function () {
|
||||
if (app.cfg.lastfm.enabled) {
|
||||
const element = document.getElementById('lfmConnect');
|
||||
if (element) {
|
||||
element.innerHTML = `Disconnect\n<p style="font-size: 8px"><i>(Authed: ${app.cfg.lastfm.auth_token})</i></p>`;
|
||||
element.onclick = app.LastFMDeauthorize;
|
||||
}
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
copyLogs() {
|
||||
ipcRenderer.send('fetch-log')
|
||||
notyf.success(app.getLz('term.share.success'));
|
||||
},
|
||||
getLanguages: function () {
|
||||
let langs = this.$root.lzListing
|
||||
let categories = {
|
||||
"main": [],
|
||||
"fun": [],
|
||||
"unsorted": []
|
||||
}
|
||||
// sort by category if category is undefined or empty put it in "unsorted"
|
||||
for (let i = 0; i < langs.length; i++) {
|
||||
if (langs[i].category === undefined || langs[i].category === "") {
|
||||
categories.unsorted.push(langs[i])
|
||||
} else {
|
||||
categories[langs[i].category].push(langs[i])
|
||||
}
|
||||
}
|
||||
// return
|
||||
return categories
|
||||
},
|
||||
addExperiment(flag) {
|
||||
app.cfg.advanced.experiments.push(flag);
|
||||
},
|
||||
removeExperiment(flag) {
|
||||
app.cfg.advanced.experiments.splice(app.cfg.advanced.experiments.indexOf(flag), 1);
|
||||
},
|
||||
toggleAudioContext: function () {
|
||||
if (app.cfg.advanced.AudioContext) {
|
||||
CiderAudio.init();
|
||||
if (app.cfg.audio.normalization) {
|
||||
CiderAudio.normalizerOn()
|
||||
}
|
||||
if (app.cfg.audio.spatial) {
|
||||
CiderAudio.spatialOn()
|
||||
}
|
||||
} else {
|
||||
getLanguages: function () {
|
||||
let langs = this.$root.lzListing
|
||||
let categories = {
|
||||
"main": [],
|
||||
"fun": [],
|
||||
"unsorted": []
|
||||
}
|
||||
// sort by category if category is undefined or empty put it in "unsorted"
|
||||
for (let i = 0; i < langs.length; i++) {
|
||||
if (langs[i].category === undefined || langs[i].category === "") {
|
||||
categories.unsorted.push(langs[i])
|
||||
} else {
|
||||
categories[langs[i].category].push(langs[i])
|
||||
}
|
||||
}
|
||||
// return
|
||||
return categories
|
||||
},
|
||||
addExperiment(flag) {
|
||||
app.cfg.advanced.experiments.push(flag);
|
||||
},
|
||||
removeExperiment(flag) {
|
||||
app.cfg.advanced.experiments.splice(app.cfg.advanced.experiments.indexOf(flag), 1);
|
||||
},
|
||||
toggleAudioContext: function () {
|
||||
if (app.cfg.advanced.AudioContext) {
|
||||
CiderAudio.init();
|
||||
if (app.cfg.audio.normalization) {
|
||||
CiderAudio.normalizerOn()
|
||||
}
|
||||
if (app.cfg.audio.spatial) {
|
||||
CiderAudio.spatialOn()
|
||||
}
|
||||
} else {
|
||||
app.cfg.advanced.ciderPPE = false;
|
||||
CiderAudio.off();
|
||||
}
|
||||
},
|
||||
toggleNormalization: function () {
|
||||
if (app.cfg.audio.normalization) {
|
||||
CiderAudio.normalizerOn()
|
||||
} else {
|
||||
CiderAudio.normalizerOff()
|
||||
}
|
||||
},
|
||||
toggleSpatial: function () {
|
||||
if (app.cfg.audio.spatial) {
|
||||
CiderAudio.spatialOn()
|
||||
} else {
|
||||
CiderAudio.spatialOff()
|
||||
}
|
||||
},
|
||||
changeAudioQuality: function () {
|
||||
app.mk.bitrate = app.cfg.audio.quality
|
||||
},
|
||||
toggleUserInfo: function () {
|
||||
app.chrome.hideUserInfo = !app.cfg.visual.showuserinfo
|
||||
},
|
||||
sendDataToMTT: function () {
|
||||
ipcRenderer.invoke('setStoreValue', 'general.close_behavior', app.cfg.general.close_behavior);
|
||||
CiderAudio.off();
|
||||
}
|
||||
},
|
||||
toggleNormalization: function () {
|
||||
if (app.cfg.audio.normalization) {
|
||||
CiderAudio.normalizerOn()
|
||||
} else {
|
||||
CiderAudio.normalizerOff()
|
||||
}
|
||||
},
|
||||
toggleSpatial: function () {
|
||||
if (app.cfg.audio.spatial) {
|
||||
CiderAudio.spatialOn()
|
||||
} else {
|
||||
CiderAudio.spatialOff()
|
||||
}
|
||||
},
|
||||
changeAudioQuality: function () {
|
||||
app.mk.bitrate = app.cfg.audio.quality
|
||||
},
|
||||
toggleUserInfo: function () {
|
||||
app.chrome.hideUserInfo = !app.cfg.visual.showuserinfo
|
||||
},
|
||||
sendDataToMTT: function () {
|
||||
ipcRenderer.invoke('setStoreValue', 'general.close_behavior', app.cfg.general.close_behavior);
|
||||
// setStoreValue does not change plugin store values somehow
|
||||
ipcRenderer.invoke('update-store-mtt', app.cfg.general.close_behavior);
|
||||
}
|
||||
}
|
||||
})
|
||||
ipcRenderer.invoke('update-store-mtt', app.cfg.general.close_behavior);
|
||||
}
|
||||
}
|
||||
})
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue