Пример #1
0
        public async Task <IActionResult> GetSimilarSongs2(SubsonicRequest request, int?count = 50)
        {
            var authResult = await AuthenticateUser(request).ConfigureAwait(false);

            if (authResult != null)
            {
                return(authResult);
            }
            var result = await SubsonicService.GetSimliarSongs(request, SubsonicUser, SimilarSongsVersion.Two, count).ConfigureAwait(false);

            return(BuildResponse(request, result, "similarSongs2"));
        }