Merge branch 'develop' into develop
This commit is contained in:
commit
a1108833e3
12 changed files with 30 additions and 21 deletions
|
@ -267,6 +267,10 @@ Update 22/04/2022 13:00 UTC
|
|||
* `settings.option.general.keybindings`: Added for `en_US`
|
||||
* `settings.option.general.keybindings.open`: Added for `en_US`
|
||||
|
||||
Update 22/04/2022 16:00 UTC
|
||||
|
||||
* `settings.option.visual.theme.github.openfolder`: Added for `en_US`
|
||||
|
||||
Update 25/04/2022 00:21 UTC
|
||||
|
||||
* `settings.description.search`: Added for `en_US`
|
||||
|
|
|
@ -374,6 +374,7 @@
|
|||
"settings.option.visual.uiscale": "UI Scale",
|
||||
"settings.header.visual.theme": "Theme",
|
||||
"settings.option.visual.theme.github.download": "Install from GitHub URL",
|
||||
"settings.option.visual.theme.github.openfolder": "Open Themes Folder",
|
||||
"settings.option.visual.theme.github.explore": "Explore GitHub Themes",
|
||||
"settings.header.visual.theme.github.page": "Themes from GitHub",
|
||||
"settings.option.visual.theme.github.install.confirm": "Are you sure you want to install {{ repo }}?",
|
||||
|
|
|
@ -355,6 +355,7 @@
|
|||
"settings.option.visual.uiscale": "Nagyítás mértéke",
|
||||
"settings.header.visual.theme": "Téma",
|
||||
"settings.option.visual.theme.github.download": "Telepítés GitHub URL-ről",
|
||||
"settings.button.visual.theme.github.openfolder": "Témamappa megnyitása",
|
||||
"settings.option.visual.theme.github.explore": "Témák felfedezése",
|
||||
"settings.header.visual.theme.github.page": "Témák a GitHub-ról",
|
||||
"settings.option.visual.theme.github.install.confirm": "Biztosan szeretnéd telepíteni a(z) {{ repo }} témát?",
|
||||
|
|
|
@ -374,6 +374,7 @@
|
|||
"settings.option.visual.uiscale": "UI Scale",
|
||||
"settings.header.visual.theme": "Theme",
|
||||
"settings.option.visual.theme.github.download": "Install from GitHub URL",
|
||||
"settings.option.visual.theme.github.openfolder": "Open Themes Folder",
|
||||
"settings.option.visual.theme.github.explore": "Explore GitHub Themes",
|
||||
"settings.header.visual.theme.github.page": "Themes from GitHub",
|
||||
"settings.option.visual.theme.github.install.confirm": "Are you sure you want to install {{ repo }}?",
|
||||
|
|
|
@ -112,7 +112,7 @@ export default class Thumbar {
|
|||
label: 'Web Remote',
|
||||
accelerator: 'CommandOrControl+Shift+W',
|
||||
sublabel: 'Opens in external window',
|
||||
click: () => this._win.webContents.executeJavaScript(`ipcRenderer.invoke('showQR')`)
|
||||
click: () => this._win.webContents.executeJavaScript(`app.appRoute('remote-pair')`)
|
||||
},
|
||||
{
|
||||
label: 'Audio Settings',
|
||||
|
|
|
@ -88,13 +88,14 @@ export default class RAOP {
|
|||
|
||||
`;
|
||||
|
||||
private ondeviceup(name: any, host: any, port: any, addresses: any) {
|
||||
private ondeviceup(name: any, host: any, port: any, addresses: any, text: any) {
|
||||
if (this.castDevices.findIndex((item: any) => item.name === host && item.port === port && item.addresses === addresses) === -1) {
|
||||
this.castDevices.push({
|
||||
name: host,
|
||||
host: addresses ? addresses[0] : '',
|
||||
port: port,
|
||||
addresses: addresses
|
||||
addresses: addresses,
|
||||
txt: text
|
||||
});
|
||||
if (this.devices.indexOf(host) === -1) {
|
||||
this.devices.push(host);
|
||||
|
@ -146,10 +147,11 @@ export default class RAOP {
|
|||
|
||||
browser.on('update', (service: any) => {
|
||||
if (service.addresses && service.fullname && service.fullname.includes('_raop._tcp')) {
|
||||
console.log(service.txt)
|
||||
this._win.webContents.executeJavaScript(`console.log(
|
||||
"${service.name} ${service.host}:${service.port} ${service.addresses}"
|
||||
)`);}
|
||||
this.ondeviceup(service.name, service.host, service.port, service.addresses);
|
||||
)`);
|
||||
this.ondeviceup(service.name, service.host, service.port, service.addresses, service.txt);}
|
||||
});
|
||||
|
||||
});
|
||||
|
|
|
@ -9,11 +9,7 @@
|
|||
</template>
|
||||
<template v-if="app.playlists.loadingState == 1">
|
||||
<div class="playlist-display"
|
||||
@mouseover.self="minClass(false)"
|
||||
:style="{
|
||||
'--bgColor': (data.attributes.artwork != null && data.attributes.artwork['bgColor'] != null) ? ('#' + data.attributes.artwork.bgColor) : '',
|
||||
'--textColor': (data.attributes.artwork != null && data.attributes.artwork['textColor1'] != null) ? ('#' + data.attributes.artwork.textColor1) : ''
|
||||
}">
|
||||
@mouseover.self="minClass(false)">
|
||||
<div class="playlistInfo">
|
||||
<div class="row">
|
||||
<div class="col-auto flex-center" @mouseover="minClass(false)">
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
</div>
|
||||
<div class="col-auto flex-center">
|
||||
<button class="md-btn md-btn-small md-btn-block" @click="openThemesFolder()">
|
||||
Open Themes Folder
|
||||
{{$root.getLz('settings.option.visual.theme.github.openfolder')}}
|
||||
</button>
|
||||
</div>
|
||||
<div class="col-auto nopadding flex-center">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue