docs: clarify multi-targeting (.NET 9 and .NET 10) in README build instructions
This commit is contained in:
@@ -10,7 +10,7 @@ namespace JellyfinPlugin.Configuration
|
||||
// Czy wtyczka jest aktywna
|
||||
public bool IsEnabled { get; set; } = true;
|
||||
|
||||
// Tryb odtwarzania: "Server" (FFmpeg wrapper), "Client" (CSS injection w Web UI), "Both" (Obydwa naraz)
|
||||
public string PlaybackMode { get; set; } = "Both";
|
||||
// Tryb odtwarzania: "Server" (FFmpeg wrapper), "Client" (CSS injection w Web UI), "Auto" (Automatyczny: CSS dla Web, FFmpeg dla aplikacji natywnych)
|
||||
public string PlaybackMode { get; set; } = "Auto";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -26,11 +26,11 @@
|
||||
<div class="selectContainer">
|
||||
<label class="selectLabel" for="selectPlaybackMode">Black Bar Removal Method:</label>
|
||||
<select is="emby-select" id="selectPlaybackMode" class="emby-select-withcolor">
|
||||
<option value="Auto">Auto (CSS clip in Web, Transcode on Native Apps / Transcoded streams)</option>
|
||||
<option value="Server">Server Only (FFmpeg Transcoding)</option>
|
||||
<option value="Client">Client Only (CSS Clip in Jellyfin Web)</option>
|
||||
<option value="Both">Both (Transcoding or CSS, depending on client)</option>
|
||||
</select>
|
||||
<div class="fieldDescription">Choose how the plugin should remove black bars. Server option forces transcoding (CPU/GPU load), Client option is lightweight but only works in web browsers.</div>
|
||||
<div class="fieldDescription">Choose how the plugin should remove black bars. Auto mode uses lightweight CSS clipping for Web browser DirectPlay, and falls back to FFmpeg transcoding for native apps or unsupported video formats.</div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
@@ -53,7 +53,9 @@
|
||||
ApiClient.getPluginConfiguration(BlackBarRemoverConfig.pluginUniqueId).then(function (config) {
|
||||
$('#chkEnablePlugin', page).prop('checked', config.IsEnabled !== false);
|
||||
$('#txtCropLimit', page).val(config.CropDetectLimit || 0.094);
|
||||
$('#selectPlaybackMode', page).val(config.PlaybackMode || "Both");
|
||||
var mode = config.PlaybackMode || "Auto";
|
||||
if (mode === "Both") mode = "Auto";
|
||||
$('#selectPlaybackMode', page).val(mode);
|
||||
Dashboard.hideLoadingMsg();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user