Update MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs

pull/6544/head
Claus Vium 4 years ago committed by GitHub
parent 95f344722c
commit a353081ea3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -193,12 +193,6 @@ namespace MediaBrowser.MediaEncoding.Encoder
}
}
// Don't save an invalid path
if (!File.Exists(path))
{
throw new FileNotFoundException();
}
// Write the new ffmpeg path to the xml as <EncoderAppPath>
// This ensures its not lost on next startup
config.EncoderAppPath = newPath;

Loading…
Cancel
Save