From b61e56fe5fb01c99148706a36bddfe08dcd60557 Mon Sep 17 00:00:00 2001 From: Corentin LEMAIRE Date: Sun, 4 Jun 2023 19:12:29 +0200 Subject: [PATCH] Add dictionaries and enhance search function --- README.md | 5 +++++ Sources/Linaris/SearchBarView.xaml | 6 +++--- Sources/Linaris/SearchBarView.xaml.cs | 24 +++++++++++++++++++-- Sources/Model/Manager.cs | 30 +++++++++++++++++++++++++++ 4 files changed, 60 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 1f6666a..0199dc7 100644 --- a/README.md +++ b/README.md @@ -257,7 +257,10 @@ class Manager { + Playlist CurrentPlaylist + InfoTitle CurrentInfoTitle + CustomTitle CurrentPlaying + + Dictionary> AlbumsFromArtist + + Dictionary> infoTitlesFromArtist + Manager(IDataManager dataManager) + + void LoadDictionaries + void NextTitle() + void PreviousTitle() + CustomTitle CurrentTitle() @@ -306,8 +309,10 @@ InfoTitle o--> "+ Genre" Genre InfoTitle o--> "- feat*" Feat Manager o--> "- albums*" Album +Manager o--> Album Manager o--> "- artists*" Artist Manager o--> "- infoTitles*" InfoTitle +Manager o--> InfoTitle Manager o--> "- playlists*" Playlist Manager o--> "- customTitles*" CustomTitle Manager o--> "- currentAlbum" Album diff --git a/Sources/Linaris/SearchBarView.xaml b/Sources/Linaris/SearchBarView.xaml index 93b95b4..80365f2 100644 --- a/Sources/Linaris/SearchBarView.xaml +++ b/Sources/Linaris/SearchBarView.xaml @@ -13,7 +13,7 @@ -