Explorar el Código

Merge pull request #5748 from cvium/playlist-audio-type

Set mediatype to Audio for playlists in a music library
Joshua M. Boniface hace 4 años
padre
commit
cd0daa7985

+ 2 - 1
Emby.Server.Implementations/Library/Resolvers/PlaylistResolver.cs

@@ -63,7 +63,8 @@ namespace Emby.Server.Implementations.Library.Resolvers
                     {
                     {
                         Path = args.Path,
                         Path = args.Path,
                         Name = Path.GetFileNameWithoutExtension(args.Path),
                         Name = Path.GetFileNameWithoutExtension(args.Path),
-                        IsInMixedFolder = true
+                        IsInMixedFolder = true,
+                        PlaylistMediaType = MediaType.Audio
                     };
                     };
                 }
                 }
             }
             }