re-enabled mpris after the 403 has been fixed

This commit is contained in:
2020-11-29 10:55:01 +01:00
parent 9f26db22fc
commit 8177e6e3ca
6 changed files with 384 additions and 81 deletions

View File

@@ -18,7 +18,7 @@ function refreshSettings() {
port.value = store.get(settings.apiSettings.port);
menuBar.checked = store.get(settings.menuBar);
trayIcon.checked = store.get(settings.trayIcon);
// mpris.checked = store.get(settings.mpris);
mpris.checked = store.get(settings.mpris);
}
/**
@@ -78,7 +78,7 @@ window.addEventListener("DOMContentLoaded", () => {
port = get("port");
menuBar = get("menuBar");
trayIcon = get("trayIcon");
// mpris = get("mprisCheckbox");
mpris = get("mprisCheckbox");
refreshSettings();
@@ -88,5 +88,5 @@ window.addEventListener("DOMContentLoaded", () => {
addInputListener(port, settings.apiSettings.port);
addInputListener(menuBar, settings.menuBar);
addInputListener(trayIcon, settings.trayIcon);
// addInputListener(mpris, settings.mpris);
addInputListener(mpris, settings.mpris);
});

View File

@@ -121,8 +121,7 @@
<p style="margin-bottom: 15px;">
Tidal-hifi is extensible trough the use of integrations. You can enable or disable integrations here
</p>
<!-- disabled until the 403 with mpris-service/dbus is fixed -->
<!-- <div class="option">
<div class="option">
<h4>mpris-player</h4>
<p>
Whether to enable the mpris media player controls for Linux systems
@@ -131,7 +130,7 @@
<input id="mprisCheckbox" type="checkbox">
<span class="slider round"></span>
</label>
</div> -->
</div>
</div>
</section>
<section id="about" class="tab-panel">