mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-23 01:05:19 +03:00
Initial check-in of VideoInfoProvider, although it's currently disabled.
This commit is contained in:
parent
8f024e8199
commit
aae259d2cd
@@ -193,6 +193,28 @@ namespace MediaBrowser.Controller.Configuration
|
||||
return _FFProbeAudioCacheDirectory;
|
||||
}
|
||||
}
|
||||
|
||||
private string _FFProbeVideoCacheDirectory = null;
|
||||
/// <summary>
|
||||
/// Gets the folder path to the ffprobe video cache directory
|
||||
/// </summary>
|
||||
public string FFProbeVideoCacheDirectory
|
||||
{
|
||||
get
|
||||
{
|
||||
if (_FFProbeVideoCacheDirectory == null)
|
||||
{
|
||||
_FFProbeVideoCacheDirectory = Path.Combine(Kernel.Instance.ApplicationPaths.CacheDirectory, "ffprobe-video");
|
||||
|
||||
if (!Directory.Exists(_FFProbeVideoCacheDirectory))
|
||||
{
|
||||
Directory.CreateDirectory(_FFProbeVideoCacheDirectory);
|
||||
}
|
||||
}
|
||||
|
||||
return _FFProbeVideoCacheDirectory;
|
||||
}
|
||||
}
|
||||
|
||||
private string _FFMpegDirectory = null;
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user