mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
fix file extension being displayed
This commit is contained in:
parent
0a0303ca64
commit
47e6530d84
@ -160,7 +160,7 @@ namespace Emby.Server.Implementations.Library.Resolvers.Movies
|
||||
ProductionYear = video.Year,
|
||||
Name = parseName ?
|
||||
video.Name :
|
||||
Path.GetFileName(video.Files[0].Path),
|
||||
Path.GetFileNameWithoutExtension(video.Files[0].Path),
|
||||
AdditionalParts = video.Files.Skip(1).Select(i => i.Path).ToArray(),
|
||||
LocalAlternateVersions = video.AlternateVersions.Select(i => i.Path).ToArray()
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user