diff --git a/VDownload.Core/VDownload.Core.ViewModels/Home/HomePlaylistViewModel.cs b/VDownload.Core/VDownload.Core.ViewModels/Home/HomeVideoCollectionViewModel.cs similarity index 92% rename from VDownload.Core/VDownload.Core.ViewModels/Home/HomePlaylistViewModel.cs rename to VDownload.Core/VDownload.Core.ViewModels/Home/HomeVideoCollectionViewModel.cs index 073c560..ddba5b0 100644 --- a/VDownload.Core/VDownload.Core.ViewModels/Home/HomePlaylistViewModel.cs +++ b/VDownload.Core/VDownload.Core.ViewModels/Home/HomeVideoCollectionViewModel.cs @@ -24,7 +24,7 @@ using VDownload.Services.Data.Application; namespace VDownload.Core.ViewModels.Home { - public partial class HomePlaylistViewModel : ObservableObject + public partial class HomeVideoCollectionViewModel : ObservableObject { #region SERVICES @@ -43,7 +43,7 @@ namespace VDownload.Core.ViewModels.Home #region FIELDS - protected Playlist _playlist; + protected VideoCollection _collection; protected List _removedVideos; @@ -181,7 +181,7 @@ namespace VDownload.Core.ViewModels.Home #region CONSTRUCTORS - public HomePlaylistViewModel(IDownloadTaskManager tasksManager, ISettingsService settingsService, IStoragePickerService storagePickerService, IFilenameService filenameService, IDialogsService dialogsService, IStringResourcesService stringResourcesService, IApplicationDataService applicationDataService) + public HomeVideoCollectionViewModel(IDownloadTaskManager tasksManager, ISettingsService settingsService, IStoragePickerService storagePickerService, IFilenameService filenameService, IDialogsService dialogsService, IStringResourcesService stringResourcesService, IApplicationDataService applicationDataService) { _tasksManager = tasksManager; _settingsService = settingsService; @@ -202,10 +202,10 @@ namespace VDownload.Core.ViewModels.Home #region PUBLIC METHODS - public void LoadPlaylist(Playlist playlist) + public void LoadPlaylist(VideoCollection collection) { - _playlist = playlist; - ParallelQuery