Esempio n. 1
0
        private async Task <bool> SaveFanArtImageAsync(string id, TImg image, string path, Guid mediaItemId, string name)
        {
            try
            {
                await _wrapper.DownloadFanArtAsync(id, image, path).ConfigureAwait(false);

                return(true);
            }
            catch (Exception ex)
            {
                Logger.Debug(_id + " Download: Exception downloading images for ID {0} [{1} ({2})]", ex, id, mediaItemId, name);
                return(false);
            }
        }