mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-12 03:56:15 -08:00
refactor(runtime): gate settings external players by capability
This commit is contained in:
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>
|
||||
|
||||
Reference in new issue
Block a user