Prechádzať zdrojové kódy

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

Set mediatype to Audio for playlists in a music library

(cherry picked from commit cd0daa7985c17bef28f8dc109686271045c18794)
Signed-off-by: Joshua M. Boniface <joshua@boniface.me>
Joshua M. Boniface 4 rokov pred
rodič
commit
9ca7d62709

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

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