aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Playlists
diff options
context:
space:
mode:
authorLuke <luke.pulverenti@gmail.com>2017-01-14 15:06:07 -0500
committerGitHub <noreply@github.com>2017-01-14 15:06:07 -0500
commitcd469cf31c59e0c666f7d34b659eddafcc276242 (patch)
tree6b4791b344167fa39429f6f0dad730968c1d18ec /Emby.Server.Implementations/Playlists
parent483d6044488ea5806e4c98636c56c123614183ed (diff)
parent95ceddb7d9c817f2e9233bd5116e7cb8ee76fc49 (diff)
Merge pull request #2399 from MediaBrowser/dev
Dev
Diffstat (limited to 'Emby.Server.Implementations/Playlists')
-rw-r--r--Emby.Server.Implementations/Playlists/PlaylistManager.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Playlists/PlaylistManager.cs b/Emby.Server.Implementations/Playlists/PlaylistManager.cs
index 9583141e0d..386da73c64 100644
--- a/Emby.Server.Implementations/Playlists/PlaylistManager.cs
+++ b/Emby.Server.Implementations/Playlists/PlaylistManager.cs
@@ -100,7 +100,7 @@ namespace Emby.Server.Implementations.Playlists
if (string.IsNullOrWhiteSpace(options.MediaType))
{
- throw new ArgumentException("A playlist media type is required.");
+ options.MediaType = "Audio";
}
var user = _userManager.GetUserById(options.UserId);