update playlist creation

This commit is contained in:
Luke Pulverenti
2017-01-13 22:48:42 -05:00
parent 7a77aa42c5
commit 82c65f3788
2 changed files with 5 additions and 4 deletions

View File

@@ -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);