mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-15 23:58:57 +00:00
support dvd without video_ts folder
This commit is contained in:
@@ -252,7 +252,7 @@ namespace MediaBrowser.XbmcMetadata.Images
|
||||
{
|
||||
return zeroIndexFilename;
|
||||
}
|
||||
|
||||
|
||||
var filenames = images.Select(i => Path.GetFileNameWithoutExtension(i.Path)).ToList();
|
||||
|
||||
var current = 1;
|
||||
|
||||
@@ -46,7 +46,7 @@ namespace MediaBrowser.XbmcMetadata.Providers
|
||||
{
|
||||
var path = item.Path;
|
||||
|
||||
return Path.Combine(path, fileSystem.GetFileNameWithoutExtension(path) + ".nfo");
|
||||
return Path.Combine(path, Path.GetFileName(path) + ".nfo");
|
||||
}
|
||||
|
||||
return Path.ChangeExtension(item.Path, ".nfo");
|
||||
|
||||
@@ -32,7 +32,7 @@ namespace MediaBrowser.XbmcMetadata.Savers
|
||||
{
|
||||
var path = item.ContainingFolderPath;
|
||||
|
||||
return Path.Combine(path, fileSystem.GetFileNameWithoutExtension(path) + ".nfo");
|
||||
return Path.Combine(path, Path.GetFileName(path) + ".nfo");
|
||||
}
|
||||
|
||||
return Path.ChangeExtension(item.Path, ".nfo");
|
||||
|
||||
Reference in New Issue
Block a user