mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-20 15:55:25 +03:00
added sync job database
This commit is contained in:
@@ -367,5 +367,20 @@ namespace MediaBrowser.Common.Implementations.IO
|
||||
|
||||
return newPath;
|
||||
}
|
||||
|
||||
public string GetFileNameWithoutExtension(FileSystemInfo info)
|
||||
{
|
||||
if (info is DirectoryInfo)
|
||||
{
|
||||
return info.Name;
|
||||
}
|
||||
|
||||
return Path.GetFileNameWithoutExtension(info.FullName);
|
||||
}
|
||||
|
||||
public string GetFileNameWithoutExtension(string path)
|
||||
{
|
||||
return Path.GetFileNameWithoutExtension(path);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user