public async Task <IActionResult> GetPlaylists(SubsonicRequest request, string username) { var authResult = await AuthenticateUser(request).ConfigureAwait(false); if (authResult != null) { return(authResult); } var result = await SubsonicService.GetPlaylists(request, SubsonicUser, username).ConfigureAwait(false); return(BuildResponse(request, result, "playlists")); }