mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-08-04 15:16:38 +00:00
fixed issue preventing drive contents from being read
This commit is contained in:
parent
82ce0e17e9
commit
826c749774
3 changed files with 8 additions and 18 deletions
|
|
@ -34,7 +34,7 @@ namespace MediaBrowser.Controller.IO
|
|||
{
|
||||
var fileInfo = new DirectoryInfo(path);
|
||||
|
||||
if (fileInfo.Exists)
|
||||
if (fileInfo.Exists || path.EndsWith(":\\", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
return fileInfo;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue