aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Library/Resolvers/BaseVideoResolver.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2023-03-10 15:48:35 +0100
committerGitHub <noreply@github.com>2023-03-10 15:48:35 +0100
commit6351d1022bffb1d0f152175965774eb709e143cb (patch)
treec37c8e4c0311f31201f2a86702d74570c55979ae /Emby.Server.Implementations/Library/Resolvers/BaseVideoResolver.cs
parent2146ddd20c5b8fe7a5bbe09d9ab0dbc18b1706f5 (diff)
parent0da5255f1291ba510f829d36a3ca1a9eb65590dc (diff)
Merge pull request #9254 from Shadowghost/dvdbdfix
Diffstat (limited to 'Emby.Server.Implementations/Library/Resolvers/BaseVideoResolver.cs')
-rw-r--r--Emby.Server.Implementations/Library/Resolvers/BaseVideoResolver.cs16
1 files changed, 14 insertions, 2 deletions
diff --git a/Emby.Server.Implementations/Library/Resolvers/BaseVideoResolver.cs b/Emby.Server.Implementations/Library/Resolvers/BaseVideoResolver.cs
index 9b133bef4..4fac91bf1 100644
--- a/Emby.Server.Implementations/Library/Resolvers/BaseVideoResolver.cs
+++ b/Emby.Server.Implementations/Library/Resolvers/BaseVideoResolver.cs
@@ -70,11 +70,23 @@ namespace Emby.Server.Implementations.Library.Resolvers
{
if (IsDvdDirectory(child.FullName, filename, DirectoryService))
{
- videoType = VideoType.Dvd;
+ var videoTmp = new TVideoType
+ {
+ Path = args.Path,
+ VideoType = VideoType.Dvd
+ };
+ Set3DFormat(videoTmp);
+ return videoTmp;
}
else if (IsBluRayDirectory(filename))
{
- videoType = VideoType.BluRay;
+ var videoTmp = new TVideoType
+ {
+ Path = args.Path,
+ VideoType = VideoType.BluRay
+ };
+ Set3DFormat(videoTmp);
+ return videoTmp;
}
}
else if (IsDvdFile(filename))