mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-27 01:50:53 +01:00
Merge pull request #7370 from crobibero/internal-metadata-path
Only add internal files if the internal metadata path exists
This commit is contained in:
@@ -200,5 +200,19 @@ namespace MediaBrowser.Model.IO
|
||||
void SetAttributes(string path, bool isHidden, bool readOnly);
|
||||
|
||||
IEnumerable<FileSystemMetadata> GetDrives();
|
||||
|
||||
/// <summary>
|
||||
/// Determines whether the directory exists.
|
||||
/// </summary>
|
||||
/// <param name="path">The path.</param>
|
||||
/// <returns>Whether the path exists.</returns>
|
||||
bool DirectoryExists(string path);
|
||||
|
||||
/// <summary>
|
||||
/// Determines whether the file exists.
|
||||
/// </summary>
|
||||
/// <param name="path">The path.</param>
|
||||
/// <returns>Whether the path exists.</returns>
|
||||
bool FileExists(string path);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user