mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-27 01:50:53 +01:00
Make probesize and analyzeduration configurable and simplify circular
dependencies Makes the probesize and analyzeduration configurable with env args. (`JELLYFIN_FFmpeg_probesize` and `FFmpeg_analyzeduration`)
This commit is contained in:
@@ -62,7 +62,11 @@ namespace MediaBrowser.Providers.MediaInfo
|
||||
{
|
||||
var protocol = item.PathProtocol ?? MediaProtocol.File;
|
||||
|
||||
var inputPath = MediaEncoderHelpers.GetInputArgument(_fileSystem, item.Path, null, item.GetPlayableStreamFileNames(_mediaEncoder));
|
||||
var inputPath = MediaEncoderHelpers.GetInputArgument(
|
||||
_fileSystem,
|
||||
item.Path,
|
||||
null,
|
||||
item.GetPlayableStreamFileNames());
|
||||
|
||||
var mediaStreams =
|
||||
item.GetMediaStreams();
|
||||
|
||||
@@ -57,7 +57,7 @@ namespace MediaBrowser.Providers.Music
|
||||
_appHost = appHost;
|
||||
_logger = logger;
|
||||
|
||||
_musicBrainzBaseUrl = configuration["MusicBrainz:BaseUrl"];
|
||||
_musicBrainzBaseUrl = configuration["MusicBrainz_BaseUrl"];
|
||||
|
||||
// Use a stopwatch to ensure we don't exceed the MusicBrainz rate limit
|
||||
_stopWatchMusicBrainz.Start();
|
||||
|
||||
Reference in New Issue
Block a user