Prevent server from starting if the ffmpeg path is invalid (#12463)

This commit is contained in:
gnattu
2024-08-29 02:43:37 +08:00
committed by GitHub
parent 8c3f3c503b
commit 6c8ca30f7f
6 changed files with 43 additions and 73 deletions

View File

@@ -223,14 +223,8 @@ namespace MediaBrowser.Controller.MediaEncoding
/// <summary>
/// Sets the path to find FFmpeg.
/// </summary>
void SetFFmpegPath();
/// <summary>
/// Updates the encoder path.
/// </summary>
/// <param name="path">The path.</param>
/// <param name="pathType">The type of path.</param>
void UpdateEncoderPath(string path, string pathType);
/// <returns>bool indicates whether a valid ffmpeg is found.</returns>
bool SetFFmpegPath();
/// <summary>
/// Gets the primary playlist of .vob files.