private async void Download_VideoFinishedDownloading(object sender, Video e)
        {
            SettingsLoader settingsLoader   = new SettingsLoader();
            var            videoPathSetting = await settingsLoader.GetSettingAsync(Setting.VIDEOPATH);

            e.FileCreated = File.GetCreationTime(e.FilePath);
            e.Artist.Videos.Add(e);

            ArtistLoader artistLoader = new ArtistLoader();
            await artistLoader.SetArtistAsync(e.Artist);

            _VideoProvider.NotifyNewVideo(e);
        }
        public async Task <List <Video> > GetVideos()
        {
            var pathSetting = await GetVideoPathSettings();

            var artistLoader = new ArtistLoader();

            if (pathSetting != null)
            {
                List <Artist> artists = artistLoader.GetArtists(pathSetting.Value).Result;
                var           videos  = artists.SelectMany(x => x.Videos);

                return(new List <Video>(videos));
            }

            return(new List <Video>());
        }