diff options
| author | Bond-009 <bond.009@outlook.com> | 2023-03-10 15:48:35 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-10 15:48:35 +0100 |
| commit | 6351d1022bffb1d0f152175965774eb709e143cb (patch) | |
| tree | c37c8e4c0311f31201f2a86702d74570c55979ae /Emby.Server.Implementations/Library/Resolvers/BaseVideoResolver.cs | |
| parent | 2146ddd20c5b8fe7a5bbe09d9ab0dbc18b1706f5 (diff) | |
| parent | 0da5255f1291ba510f829d36a3ca1a9eb65590dc (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.cs | 16 |
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)) |
