mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-04-24 05:57:20 -04:00
fix file extension being displayed
This commit is contained in:
parent
0a0303ca64
commit
47e6530d84
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue