From 794b4739b10417d2594abd1ca126168f254fe1f8 Mon Sep 17 00:00:00 2001 From: watsonb8 Date: Wed, 6 Nov 2019 22:32:43 -0500 Subject: [PATCH] Player controls now get dynamically assigned to view model base classes. This gives view models more freedom in how play events from the player are handled --- .../Design/Components/MediaPlayer/Player.xaml | 5 + .../Components/MediaPlayer/Player.xaml.cs | 271 +++++++++++++++++- .../Components/MediaPlayer/PlayerViewModel.cs | 163 ----------- .../NavigationMenu/NavigationItem.cs | 3 +- Aurora/Design/Components/Queue/Queue.xaml.cs | 2 +- Aurora/Design/Views/BaseViewModel.cs | 34 +++ Aurora/Design/Views/MainView/MainView.xaml.cs | 25 +- .../Design/Views/MainView/PageContainer.xaml | 1 + Aurora/Design/Views/Party/PartyViewModel.cs | 88 +++++- Aurora/Design/Views/Songs/SongsViewModel.cs | 97 ++++++- .../Services/ClientService/ClientService.cs | 8 + .../Services/PlayerService/PlayerService.cs | 39 ++- 12 files changed, 549 insertions(+), 187 deletions(-) delete mode 100644 Aurora/Design/Components/MediaPlayer/PlayerViewModel.cs diff --git a/Aurora/Design/Components/MediaPlayer/Player.xaml b/Aurora/Design/Components/MediaPlayer/Player.xaml index 3adaf56..d832eba 100644 --- a/Aurora/Design/Components/MediaPlayer/Player.xaml +++ b/Aurora/Design/Components/MediaPlayer/Player.xaml @@ -14,8 +14,10 @@