mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-26 18:48:21 +01:00
Added some ffprobe error handling
This commit is contained in:
parent
bbbe6164dc
commit
37dd0c8bdd
@@ -35,8 +35,11 @@ namespace MediaBrowser.Controller.FFMpeg
|
||||
|
||||
FFProbeResult result = Run(item.Path);
|
||||
|
||||
// Fire and forget
|
||||
CacheResult(result, cachePath);
|
||||
if (result != null)
|
||||
{
|
||||
// Fire and forget
|
||||
CacheResult(result, cachePath);
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user