mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-02-23 04:52:50 +00:00
update recording screens
This commit is contained in:
@@ -108,11 +108,6 @@ namespace MediaBrowser.MediaEncoding.Encoder
|
||||
{
|
||||
get
|
||||
{
|
||||
if (_hasExternalEncoder)
|
||||
{
|
||||
return "External";
|
||||
}
|
||||
|
||||
if (string.IsNullOrWhiteSpace(FFMpegPath))
|
||||
{
|
||||
return null;
|
||||
@@ -177,12 +172,6 @@ namespace MediaBrowser.MediaEncoding.Encoder
|
||||
{
|
||||
ConfigureEncoderPaths();
|
||||
|
||||
if (_hasExternalEncoder)
|
||||
{
|
||||
LogPaths();
|
||||
return;
|
||||
}
|
||||
|
||||
// If the path was passed in, save it into config now.
|
||||
var encodingOptions = GetEncodingOptions();
|
||||
var appPath = encodingOptions.EncoderAppPath;
|
||||
@@ -207,11 +196,6 @@ namespace MediaBrowser.MediaEncoding.Encoder
|
||||
|
||||
public async Task UpdateEncoderPath(string path, string pathType)
|
||||
{
|
||||
if (_hasExternalEncoder)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
Tuple<string, string> newPaths;
|
||||
|
||||
if (string.Equals(pathType, "system", StringComparison.OrdinalIgnoreCase))
|
||||
@@ -256,11 +240,6 @@ namespace MediaBrowser.MediaEncoding.Encoder
|
||||
|
||||
private void ConfigureEncoderPaths()
|
||||
{
|
||||
if (_hasExternalEncoder)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
var appPath = GetEncodingOptions().EncoderAppPath;
|
||||
|
||||
if (string.IsNullOrWhiteSpace(appPath))
|
||||
|
||||
Reference in New Issue
Block a user