All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
@ -17,6 +17,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
@@ -17,6 +17,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Streaming from disk is preferred, so every playback attempt will first check the local file system
- Use libvpl instead of libmfx to provide intel acceleration in vaapi docker images
- Search queries no longer remove duplicate results as this was causing incorrect behavior
- Prioritize audio streams that are flagged as "default" over number of audio channels
- For example, a video with a stereo commentary track and a mono "default" track will now prefer the "default" track
@ -199,7 +199,7 @@ public class FFmpegStreamSelector : IFFmpegStreamSelector
@@ -199,7 +199,7 @@ public class FFmpegStreamSelector : IFFmpegStreamSelector
@ -232,8 +232,7 @@ public class FFmpegStreamSelector : IFFmpegStreamSelector
@@ -232,8 +232,7 @@ public class FFmpegStreamSelector : IFFmpegStreamSelector
{
if(string.IsNullOrWhiteSpace(title))
{
_logger.LogDebug("No audio title has been specified; selecting stream with most channels");
@ -243,18 +242,31 @@ public class FFmpegStreamSelector : IFFmpegStreamSelector
@@ -243,18 +242,31 @@ public class FFmpegStreamSelector : IFFmpegStreamSelector
if(matchingTitle.Any())
{
_logger.LogDebug(
"Found {Count} audio streams with preferred title {Title}; selecting stream with most channels",
"Found {Count} audio streams with preferred title {Title}",
@ -310,7 +322,7 @@ public class FFmpegStreamSelector : IFFmpegStreamSelector
@@ -310,7 +322,7 @@ public class FFmpegStreamSelector : IFFmpegStreamSelector
_logger.LogDebug("Checking for JS Script at {Path}",jsScriptPath);
if(!_localFileSystem.FileExists(jsScriptPath))
{
_logger.LogWarning("Unable to locate movie audio stream selector script; falling back to built-in logic");
_logger.LogInformation("Unable to locate movie audio stream selector script; falling back to built-in logic");