Merge branch 'develop' into develop

This commit is contained in:
cryptofyre 2022-04-24 23:06:34 -05:00 committed by GitHub
commit a1108833e3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 30 additions and 21 deletions

View file

@ -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`

View file

@ -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 }}?",

View file

@ -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?",

View file

@ -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 }}?",

View file

@ -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',

View file

@ -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);}
});
});

View file

@ -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)">

View file

@ -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">