Compare commits

...

3 Commits

Author SHA1 Message Date
CodeDevMLH
3093e88ffb Update Max Plot Length field description to clarify character limits
All checks were successful
Auto Release Plugin / build-and-release (push) Successful in 33s
2026-03-24 02:04:00 +01:00
CodeDevMLH
e4ba5130fa Enhance video playback control by adding pause functionality for inactive slides 2026-03-24 01:53:04 +01:00
CodeDevMLH
de57f1c20b Add missing PowerShell command block for building the plugin 2026-03-24 01:53:00 +01:00
3 changed files with 19 additions and 4 deletions

View File

@@ -606,10 +606,10 @@
enable counter style directly.</div>
</div>
<div class="inputContainer">
<label class="inputLabel inputLabelUnfocused" for="MaxPlotLength">Max Plot
Length</label>
<label class="inputLabel inputLabelUnfocused" for="MaxPlotLength">Max Plot Length</label>
<input is="emby-input" type="number" id="MaxPlotLength" name="MaxPlotLength" />
<div class="fieldDescription">Maximum characters for the plot summary.</div>
<div class="fieldDescription">Maximum characters for the plot summary. Limited to max 2 lines
(or 3 if 'Constrain Plot Width' is enabled).</div>
</div>
</div>

View File

@@ -1918,8 +1918,14 @@ const SlideCreator = {
}
},
'onStateChange': (event) => {
// Fade in when playing
if (event.data === YT.PlayerState.PLAYING) {
const slide = document.querySelector(`.slide[data-item-id="${itemId}"]`);
if (slide && STATE.slideshow.playSignals[itemId] === false) {
event.target.pauseVideo();
return;
}
// Fade in when legitimately playing
if (event.target._wrapperDiv) {
event.target._wrapperDiv.style.opacity = "1";
}
@@ -1974,6 +1980,11 @@ const SlideCreator = {
return;
}
if (STATE.slideshow.playSignals[itemId] === false) {
event.target.pause();
return;
}
// Fade in
event.target.style.opacity = "1";

View File

@@ -42,6 +42,10 @@ Bevor du baust, musst du die Versionsnummer in den folgenden Dateien aktualisier
Führe den folgenden Befehl im Terminal (PowerShell) im Hauptverzeichnis aus. Wir nutzen hier `dotnet build` statt `publish`, um unnötige Dateien zu vermeiden.
```powershell
dotnet build Jellyfin.Plugin.MediaBarEnhanced/Jellyfin.Plugin.MediaBarEnhanced.csproj --configuration Release --output bin/Publish;
```
```powershell
dotnet build Jellyfin.Plugin.MediaBarEnhanced/Jellyfin.Plugin.MediaBarEnhanced.csproj --configuration Release --output bin/Publish; Compress-Archive -Path bin/Publish/* -DestinationPath bin/Publish/Jellyfin.Plugin.MediaBarEnhanced.zip -Force; $hash = (Get-FileHash -Algorithm MD5 bin/Publish/Jellyfin.Plugin.MediaBarEnhanced.zip).Hash.ToLower(); $time = (Get-Date).ToUniversalTime().ToString("yyyy-MM-ddTHH:mm:ssZ"); Write-Output "`n----------------------------------------"; Write-Output "NEUE CHECKSUMME (MD5): $hash"; Write-Output "ZEITSTEMPEL: $time"; Write-Output "----------------------------------------`n"
```