private async Task <bool> GetGenres()
        {
            var query = new ItemsByNameQuery
            {
                SortBy           = new[] { "SortName" },
                SortOrder        = SortOrder.Ascending,
                IncludeItemTypes = new[] { "Audio", "MusicVideo" },
                Recursive        = true,
                Fields           = new[] { ItemFields.DateCreated },
                UserId           = AuthenticationService.Current.LoggedInUser.Id
            };

            try
            {
                var genresResponse = await _apiClient.GetGenresAsync(query);

                if (genresResponse == null)
                {
                    return(false);
                }

                Genres = genresResponse.Items.ToList();

                return(true);
            }
            catch (HttpException ex)
            {
                Log.ErrorException("GetGenres()", ex);
            }

            return(false);
        }
        private async Task <bool> GetGenres()
        {
            try
            {
                SetProgressBar("Getting genres...");

                var query = new ItemsByNameQuery
                {
                    SortBy           = new[] { "SortName" },
                    SortOrder        = SortOrder.Ascending,
                    IncludeItemTypes = new[] { "Series" },
                    Recursive        = true,
                    Fields           = new[] { ItemFields.DateCreated },
                    UserId           = AuthenticationService.Current.LoggedInUser.Id
                };

                var items = await _apiClient.GetGenresAsync(query);

                if (!items.Items.IsNullOrEmpty())
                {
                    var genres = items.Items.ToList();
                    genres.ForEach(genre => genre.Type = "Genre - TV");

                    Genres = genres;

                    SetProgressBar();

                    return(true);
                }
            }
            catch (HttpException ex)
            {
                Log.ErrorException("GetGenres()", ex);
            }

            SetProgressBar();

            return(false);
        }