Browse Source

fix work-ahead limit setting (#1023)

pull/1027/head
Jason Dove 3 years ago committed by GitHub
parent
commit
527cdf523c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      CHANGELOG.md
  2. 5
      ErsatzTV.Application/Streaming/HlsSessionWorker.cs

1
CHANGELOG.md

@ -6,6 +6,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). @@ -6,6 +6,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## [Unreleased]
### Fixed
- Fix removing Jellyfin and Emby libraries that have been deleted from the source media server
- Fix `Work-Ahead HLS Segmenter Limit` setting to properly limit number of channels that can work-ahead at once
### Added
- Add audio stream selector scripts for episodes and movies

5
ErsatzTV.Application/Streaming/HlsSessionWorker.cs

@ -351,7 +351,10 @@ public class HlsSessionWorker : IHlsSessionWorker @@ -351,7 +351,10 @@ public class HlsSessionWorker : IHlsSessionWorker
}
finally
{
Interlocked.Decrement(ref _workAheadCount);
if (!realtime)
{
Interlocked.Decrement(ref _workAheadCount);
}
}
return false;

Loading…
Cancel
Save