use javascript instead of lua for external scripts; add audio stream selector scripts (#1005)

* use js instead of lua

* update dependencies

* add audio stream selector script for episodes

* add audio stream selector script for movies

* update changelog
This commit is contained in:
Jason Dove
2022-10-28 17:05:07 -05:00
committed by GitHub
parent 93bf818882
commit c9bd94d9f8
33 changed files with 535 additions and 96 deletions
@@ -48,7 +48,7 @@ public class FFmpegLibraryProcessService : IFFmpegProcessService
bool saveReports,
Channel channel,
MediaVersion videoVersion,
MediaVersion audioVersion,
MediaItemAudioVersion audioVersion,
string videoPath,
string audioPath,
Func<FFmpegPlaybackSettings, Task<List<Subtitle>>> getSubtitles,
@@ -77,7 +77,7 @@ public class FFmpegLibraryProcessService : IFFmpegProcessService
await _ffmpegStreamSelector.SelectAudioStream(
audioVersion,
channel.StreamingMode,
channel.Number,
channel,
preferredAudioLanguage,
preferredAudioTitle);