mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-08-04 15:28:23 +00:00
added sync job database
This commit is contained in:
parent
d56fa09ccc
commit
37c27a26e9
97 changed files with 1539 additions and 507 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue