refactor(runtime): gate settings external players by capability

This commit is contained in:
4gray committed 2026-05-22 13:40:14 +03:00
1 parent b4fd93354e
commit 09e2e08fc1
9 files changed
+104 -27

No files matched your search

@@ -69,7 +69,7 @@
</div>
</div>
@if (isDesktop() && isExternalPlayerSelected()) {
@if (supportsManagedExternalPlayers() && isExternalPlayerSelected()) {
<div
class="setting-item"
data-test-id="external-player-double-click-setting"
@@ -148,7 +148,7 @@
</div>
}
@if (isDesktop() && form().value.player === 'mpv') {
@if (supportsManagedExternalPlayers() && form().value.player === 'mpv') {
<div class="setting-item">
<div class="setting-item__meta">
<h4>{{ 'SETTINGS.MPV_PLAYER_PATH_LABEL' | translate }}</h4>
@@ -220,7 +220,7 @@
</div>
}
@if (isDesktop() && form().value.player === 'vlc') {
@if (supportsManagedExternalPlayers() && form().value.player === 'vlc') {
<div class="setting-item">
<div class="setting-item__meta">
<h4>{{ 'SETTINGS.VLC_PLAYER_PATH_LABEL' | translate }}</h4>