mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-16 21:28:06 +00:00
feat: osdlyrics desktop lyrics support
This commit is contained in:
parent
ce778afff6
commit
022f740c3f
9 changed files with 99 additions and 2 deletions
|
|
@ -239,6 +239,31 @@
|
|||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div v-if="isElectron && isLinux" class="item">
|
||||
<div class="left">
|
||||
<div class="title">
|
||||
{{ $t('settings.unm.enable') }}
|
||||
<a target="_blank" href="https://github.com/osdlyrics/osdlyrics"
|
||||
>OSDLyrics</a
|
||||
>
|
||||
{{ $t('settings.enableOsdlyricsSupport.title') }}
|
||||
</div>
|
||||
<div class="description">
|
||||
{{ $t('settings.enableOsdlyricsSupport.desc') }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="right">
|
||||
<div class="toggle">
|
||||
<input
|
||||
id="enable-osdlyrics-support"
|
||||
v-model="enableOsdlyricsSupport"
|
||||
type="checkbox"
|
||||
name="enable-osdlyrics-support"
|
||||
/>
|
||||
<label for="enable-osdlyrics-support"></label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<section v-if="isElectron" class="unm-configuration">
|
||||
<h3>UnblockNeteaseMusic</h3>
|
||||
|
|
@ -963,6 +988,17 @@ export default {
|
|||
});
|
||||
},
|
||||
},
|
||||
enableOsdlyricsSupport: {
|
||||
get() {
|
||||
return this.settings.enableOsdlyricsSupport;
|
||||
},
|
||||
set(value) {
|
||||
this.$store.commit('updateSettings', {
|
||||
key: 'enableOsdlyricsSupport',
|
||||
value,
|
||||
});
|
||||
},
|
||||
},
|
||||
closeAppOption: {
|
||||
get() {
|
||||
return this.settings.closeAppOption;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue