mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-10-27 00:55:26 +00:00
Reduce the amount of exceptions thrown
This commit is contained in:
1 parent
10a0d6bdba
commit
37ea50a572
13 files changed
+632
-82
No files matched your search
@@ -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
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user