mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-13 16:47:46 +00:00
Reduce the amount of exceptions thrown
This commit is contained in:
parent
10a0d6bdba
commit
37ea50a572
13 changed files with 632 additions and 82 deletions
|
|
@ -202,6 +202,10 @@ namespace Emby.Server.Implementations.MediaEncoder
|
|||
private static List<string> GetSavedChapterImages(Video video, IDirectoryService directoryService)
|
||||
{
|
||||
var path = GetChapterImagesPath(video);
|
||||
if (!Directory.Exists(path))
|
||||
{
|
||||
return new List<string>();
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue