diff --git a/.vs/Linaris_MAUI_SAE_201/FileContentIndex/0720f37e-12a1-45f1-b5b6-e80f4eaf5834.vsidx b/.vs/Linaris_MAUI_SAE_201/FileContentIndex/0720f37e-12a1-45f1-b5b6-e80f4eaf5834.vsidx new file mode 100644 index 0000000..e03ced5 Binary files /dev/null and b/.vs/Linaris_MAUI_SAE_201/FileContentIndex/0720f37e-12a1-45f1-b5b6-e80f4eaf5834.vsidx differ diff --git a/.vs/Linaris_MAUI_SAE_201/FileContentIndex/df0e5449-5140-4867-b6d4-3e23be7093ab.vsidx b/.vs/Linaris_MAUI_SAE_201/FileContentIndex/df0e5449-5140-4867-b6d4-3e23be7093ab.vsidx new file mode 100644 index 0000000..ceab329 Binary files /dev/null and b/.vs/Linaris_MAUI_SAE_201/FileContentIndex/df0e5449-5140-4867-b6d4-3e23be7093ab.vsidx differ diff --git a/.vs/Linaris_MAUI_SAE_201/FileContentIndex/read.lock b/.vs/Linaris_MAUI_SAE_201/FileContentIndex/read.lock new file mode 100644 index 0000000..e69de29 diff --git a/.vs/Linaris_MAUI_SAE_201/v17/.wsuo b/.vs/Linaris_MAUI_SAE_201/v17/.wsuo new file mode 100644 index 0000000..babac22 Binary files /dev/null and b/.vs/Linaris_MAUI_SAE_201/v17/.wsuo differ diff --git a/.vs/ProjectSettings.json b/.vs/ProjectSettings.json new file mode 100644 index 0000000..866f1e1 --- /dev/null +++ b/.vs/ProjectSettings.json @@ -0,0 +1,3 @@ +{ + "CurrentProjectSetting": null +} \ No newline at end of file diff --git a/.vs/VSWorkspaceState.json b/.vs/VSWorkspaceState.json new file mode 100644 index 0000000..eb6e019 --- /dev/null +++ b/.vs/VSWorkspaceState.json @@ -0,0 +1,11 @@ +{ + "ExpandedNodes": [ + "", + "\\Sources", + "\\Sources\\Model", + "\\Sources\\Model\\Serialization", + "\\Sources\\Model\\Stub" + ], + "SelectedNode": "\\Sources\\Linaris.sln", + "PreviewInSolutionExplorer": false +} \ No newline at end of file diff --git a/.vs/slnx.sqlite b/.vs/slnx.sqlite new file mode 100644 index 0000000..38ffc30 Binary files /dev/null and b/.vs/slnx.sqlite differ diff --git a/Sources/Model/Stub/StubAlbum.cs b/Sources/Model/Stub/StubAlbum.cs index 0c6d94f..4c83225 100644 --- a/Sources/Model/Stub/StubAlbum.cs +++ b/Sources/Model/Stub/StubAlbum.cs @@ -27,14 +27,14 @@ public class StubAlbum stubArtist = new StubArtist(); albums = new ObservableCollection() { - new Album("Adios Bahamas", "album1.jpg", StubArtist.GetArtistByName("Artist") ?? new Artist("Artist"), "Description d'Adios Bahamas", "Informations sur Adios Bahamas"), - new Album("Album2", "album2.jpg", new Artist(), "", ""), - new Album("Album3", "album3.jpg", new Artist(), "", ""), - new Album("Album4", "album4.jpg", new Artist(), "", ""), - new Album("Album5", "album5.jpg", new Artist(), "", ""), - new Album("Album6", "album6.jpg", new Artist(), "", ""), - new Album("Album7", "album7.png", new Artist(), "", ""), - new Album("Album8", "album8.jpg", new Artist(), "", ""), + new Album("Adios Bahamas", "album1.jpg", StubArtist.GetArtistByName("Népal") ?? new Artist("Népal"), "Album post-mortem qui signé également le dernier de l'artiste", "Sortie : 2020"), + new Album("445e Nuit", "album2.jpg", StubArtist.GetArtistByName("Népal") ?? new Artist("Népal"), "", "Sortie : 2017\n8 titres - 24 min"), + new Album("Fenêtre Sur Rue", "album3.jpg", StubArtist.GetArtistByName("Hugo TSR") ?? new Artist("Hugo TSR"), "", "Sortie : 2012\n14 titres - 46 min"), + new Album("Temps Mort", "album4.jpg", StubArtist.GetArtistByName("Booba") ?? new Artist("Booba"), "Premier album de Booba", "Sortie : 2002\n14 titres - 57 min"), + new Album("Opéra Puccino", "album5.jpg", StubArtist.GetArtistByName("Oxmo Puccino") ?? new Artist("Oxmo Puccino"), "", "Sortie : 1998\n18 titres - 1h08min"), + new Album("L'école du micro d'argent", "album6.jpg", StubArtist.GetArtistByName("IAM") ?? new Artist("IAM"), "", "Sortie : 1997\n16 titres - 1h13min"), + new Album("Deux Frères", "album7.png", StubArtist.GetArtistByName("PNL") ?? new Artist("PNL"), "", "Sortie : 2019\n22 titres"), + new Album("Dans la légende", "album8.jpg", StubArtist.GetArtistByName("PNL") ?? new Artist("PNL"), "", "Sortie : 2016\n16 titres - 1h06"), new Album("Night Visions", "album9.jpg", StubArtist.GetArtistByName("Imagine Dragons") ?? new Artist("Imagine Dragons"), "", ""), new Album("Smoke & Mirrors", "album10.jpg", StubArtist.GetArtistByName("Imagine Dragons") ?? new Artist("Imagine Dragons"), "", ""), new Album("Evolve", "album11.jpg", StubArtist.GetArtistByName("Imagine Dragons") ?? new Artist("Imagine Dragons"), "", ""), diff --git a/Sources/Model/Stub/StubArtist.cs b/Sources/Model/Stub/StubArtist.cs index 0d4ae1d..48c2aeb 100644 --- a/Sources/Model/Stub/StubArtist.cs +++ b/Sources/Model/Stub/StubArtist.cs @@ -13,7 +13,13 @@ public class StubArtist { artists = new List() { - new Artist("Imagine Dragons") + new Artist("Imagine Dragons"), + new Artist("Nepal"), + new Artist("Hugo TSR"), + new Artist("Booba"), + new Artist("Oxmo Puccino"), + new Artist("IAM"), + new Artist("PNL") }; }