playlist loading from json and displaying it properly

This commit is contained in:
Elias Quinn
2025-06-24 10:59:59 +01:00
parent 6e225465c1
commit 9e5b7a6999
48 changed files with 1740 additions and 1338 deletions

View File

@@ -13,7 +13,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("ShadowStream")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+40270573ab66bc50063692949e34557e1963460f")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+6e225465c1b6c116ca9bd40253c81c45f51e8820")]
[assembly: System.Reflection.AssemblyProductAttribute("ShadowStream")]
[assembly: System.Reflection.AssemblyTitleAttribute("ShadowStream")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]

View File

@@ -1 +1 @@
add2d75fe0b48d1a6f7379bd44e7b58e91756949509b774c348da1f23899600e
3f446e006fa0948c6967c653ea5873e3a871bbf39ab5a83c3118a811d66d1ff2

View File

@@ -1756,7 +1756,6 @@ C:\Users\bib\Desktop\vpr\pull from pc\mediaverwaltung\ShadowStream\obj\Debug\net
C:\Users\bib\Desktop\vpr\pull from pc\mediaverwaltung\ShadowStream\obj\Debug\net8.0-windows\ShadowStream.AssemblyInfoInputs.cache
C:\Users\bib\Desktop\vpr\pull from pc\mediaverwaltung\ShadowStream\obj\Debug\net8.0-windows\ShadowStream.AssemblyInfo.cs
C:\Users\bib\Desktop\vpr\pull from pc\mediaverwaltung\ShadowStream\obj\Debug\net8.0-windows\ShadowStream.csproj.CoreCompileInputs.cache
C:\Users\bib\Desktop\vpr\pull from pc\mediaverwaltung\ShadowStream\obj\Debug\net8.0-windows\ShadowStream.sourcelink.json
C:\Users\bib\Desktop\vpr\pull from pc\mediaverwaltung\ShadowStream\obj\Debug\net8.0-windows\ShadowSt.E56D9CE0.Up2Date
C:\Users\bib\Desktop\vpr\pull from pc\mediaverwaltung\ShadowStream\obj\Debug\net8.0-windows\ShadowStream.dll
C:\Users\bib\Desktop\vpr\pull from pc\mediaverwaltung\ShadowStream\obj\Debug\net8.0-windows\refint\ShadowStream.dll

View File

@@ -1 +0,0 @@
{"documents":{"C:\\Users\\bib\\Desktop\\vpr\\pull from pc\\mediaverwaltung\\*":"https://gitlab.com/NotMoReda1/mediaverwaltung/-/raw/40270573ab66bc50063692949e34557e1963460f/*"}}

View File

@@ -1,4 +1,4 @@
#pragma checksum "..\..\..\..\Views\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "01423358CC17ACEEFBD9FB43B4A25870CE6638FB"
#pragma checksum "..\..\..\..\Views\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "F24AF3F4080ADB91E665FA22891C7D3727B6E167"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
@@ -49,7 +49,7 @@ namespace ModuleManager {
#line hidden
#line 68 "..\..\..\..\Views\MainWindow.xaml"
#line 69 "..\..\..\..\Views\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.ScrollViewer ScrollContentHome;
@@ -57,7 +57,7 @@ namespace ModuleManager {
#line hidden
#line 72 "..\..\..\..\Views\MainWindow.xaml"
#line 73 "..\..\..\..\Views\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.WrapPanel Favorites_Home;
@@ -65,7 +65,7 @@ namespace ModuleManager {
#line hidden
#line 81 "..\..\..\..\Views\MainWindow.xaml"
#line 82 "..\..\..\..\Views\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.WrapPanel Muvies_Home;
@@ -73,7 +73,7 @@ namespace ModuleManager {
#line hidden
#line 90 "..\..\..\..\Views\MainWindow.xaml"
#line 91 "..\..\..\..\Views\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.WrapPanel Series_Home;
@@ -81,7 +81,7 @@ namespace ModuleManager {
#line hidden
#line 99 "..\..\..\..\Views\MainWindow.xaml"
#line 100 "..\..\..\..\Views\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.WrapPanel Music_Home;
@@ -89,7 +89,7 @@ namespace ModuleManager {
#line hidden
#line 108 "..\..\..\..\Views\MainWindow.xaml"
#line 109 "..\..\..\..\Views\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.WrapPanel Photos_Home;
@@ -97,7 +97,7 @@ namespace ModuleManager {
#line hidden
#line 118 "..\..\..\..\Views\MainWindow.xaml"
#line 119 "..\..\..\..\Views\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal LibVLCSharp.WPF.VideoView VideoView;
@@ -105,7 +105,7 @@ namespace ModuleManager {
#line hidden
#line 124 "..\..\..\..\Views\MainWindow.xaml"
#line 125 "..\..\..\..\Views\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.ScrollViewer ScrollContentCat;
@@ -113,7 +113,7 @@ namespace ModuleManager {
#line hidden
#line 127 "..\..\..\..\Views\MainWindow.xaml"
#line 128 "..\..\..\..\Views\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBlock Name_of_Catagory_Text;
@@ -121,7 +121,7 @@ namespace ModuleManager {
#line hidden
#line 128 "..\..\..\..\Views\MainWindow.xaml"
#line 129 "..\..\..\..\Views\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.WrapPanel Name_of_Catagory;
@@ -129,7 +129,7 @@ namespace ModuleManager {
#line hidden
#line 134 "..\..\..\..\Views\MainWindow.xaml"
#line 135 "..\..\..\..\Views\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBlock Name_of_Catagory_Text1;
@@ -137,7 +137,7 @@ namespace ModuleManager {
#line hidden
#line 135 "..\..\..\..\Views\MainWindow.xaml"
#line 136 "..\..\..\..\Views\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.WrapPanel Name_of_Catagory1;
@@ -145,7 +145,23 @@ namespace ModuleManager {
#line hidden
#line 153 "..\..\..\..\Views\MainWindow.xaml"
#line 145 "..\..\..\..\Views\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.ScrollViewer ScrollContentPlaylist;
#line default
#line hidden
#line 146 "..\..\..\..\Views\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.StackPanel PlaylistContentPanel;
#line default
#line hidden
#line 158 "..\..\..\..\Views\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Slider itemProgress;
@@ -153,7 +169,7 @@ namespace ModuleManager {
#line hidden
#line 154 "..\..\..\..\Views\MainWindow.xaml"
#line 159 "..\..\..\..\Views\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.ProgressBar itemProgressVisual;
@@ -161,7 +177,7 @@ namespace ModuleManager {
#line hidden
#line 165 "..\..\..\..\Views\MainWindow.xaml"
#line 170 "..\..\..\..\Views\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Slider vol;
@@ -242,95 +258,109 @@ namespace ModuleManager {
#line hidden
return;
case 7:
this.ScrollContentHome = ((System.Windows.Controls.ScrollViewer)(target));
#line 63 "..\..\..\..\Views\MainWindow.xaml"
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.PlayListButton_OnClick);
#line default
#line hidden
return;
case 8:
this.Favorites_Home = ((System.Windows.Controls.WrapPanel)(target));
this.ScrollContentHome = ((System.Windows.Controls.ScrollViewer)(target));
return;
case 9:
this.Muvies_Home = ((System.Windows.Controls.WrapPanel)(target));
this.Favorites_Home = ((System.Windows.Controls.WrapPanel)(target));
return;
case 10:
this.Series_Home = ((System.Windows.Controls.WrapPanel)(target));
this.Muvies_Home = ((System.Windows.Controls.WrapPanel)(target));
return;
case 11:
this.Music_Home = ((System.Windows.Controls.WrapPanel)(target));
this.Series_Home = ((System.Windows.Controls.WrapPanel)(target));
return;
case 12:
this.Photos_Home = ((System.Windows.Controls.WrapPanel)(target));
this.Music_Home = ((System.Windows.Controls.WrapPanel)(target));
return;
case 13:
this.VideoView = ((LibVLCSharp.WPF.VideoView)(target));
this.Photos_Home = ((System.Windows.Controls.WrapPanel)(target));
return;
case 14:
this.ScrollContentCat = ((System.Windows.Controls.ScrollViewer)(target));
this.VideoView = ((LibVLCSharp.WPF.VideoView)(target));
return;
case 15:
this.Name_of_Catagory_Text = ((System.Windows.Controls.TextBlock)(target));
this.ScrollContentCat = ((System.Windows.Controls.ScrollViewer)(target));
return;
case 16:
this.Name_of_Catagory = ((System.Windows.Controls.WrapPanel)(target));
this.Name_of_Catagory_Text = ((System.Windows.Controls.TextBlock)(target));
return;
case 17:
this.Name_of_Catagory_Text1 = ((System.Windows.Controls.TextBlock)(target));
this.Name_of_Catagory = ((System.Windows.Controls.WrapPanel)(target));
return;
case 18:
this.Name_of_Catagory1 = ((System.Windows.Controls.WrapPanel)(target));
this.Name_of_Catagory_Text1 = ((System.Windows.Controls.TextBlock)(target));
return;
case 19:
this.Name_of_Catagory1 = ((System.Windows.Controls.WrapPanel)(target));
return;
case 20:
this.ScrollContentPlaylist = ((System.Windows.Controls.ScrollViewer)(target));
return;
case 21:
this.PlaylistContentPanel = ((System.Windows.Controls.StackPanel)(target));
return;
case 22:
#line 150 "..\..\..\..\Views\MainWindow.xaml"
#line 155 "..\..\..\..\Views\MainWindow.xaml"
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.PlayListButton_Click);
#line default
#line hidden
return;
case 20:
case 23:
this.itemProgress = ((System.Windows.Controls.Slider)(target));
#line 153 "..\..\..\..\Views\MainWindow.xaml"
#line 158 "..\..\..\..\Views\MainWindow.xaml"
this.itemProgress.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.ItemProgress_OnPreviewMouseDown);
#line default
#line hidden
#line 153 "..\..\..\..\Views\MainWindow.xaml"
#line 158 "..\..\..\..\Views\MainWindow.xaml"
this.itemProgress.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.ItemProgress_OnValueChanged);
#line default
#line hidden
return;
case 21:
case 24:
this.itemProgressVisual = ((System.Windows.Controls.ProgressBar)(target));
return;
case 22:
case 25:
#line 161 "..\..\..\..\Views\MainWindow.xaml"
#line 166 "..\..\..\..\Views\MainWindow.xaml"
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnItemPriorButtonClick);
#line default
#line hidden
return;
case 23:
case 26:
#line 162 "..\..\..\..\Views\MainWindow.xaml"
#line 167 "..\..\..\..\Views\MainWindow.xaml"
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnItemPauseBtn_Click);
#line default
#line hidden
return;
case 24:
case 27:
#line 163 "..\..\..\..\Views\MainWindow.xaml"
#line 168 "..\..\..\..\Views\MainWindow.xaml"
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnItemNextButtonClick);
#line default
#line hidden
return;
case 25:
case 28:
this.vol = ((System.Windows.Controls.Slider)(target));
#line 165 "..\..\..\..\Views\MainWindow.xaml"
#line 170 "..\..\..\..\Views\MainWindow.xaml"
this.vol.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler<double>(this.RangeBase_OnValueChanged);
#line default

View File

@@ -1,4 +1,4 @@
#pragma checksum "..\..\..\..\Views\PlaylistEditor.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "E2FD5F8F7F0518B330A462733F44E2473EBF720E"
#pragma checksum "..\..\..\..\Views\PlaylistEditor.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "8E6E1C7D23EFC800FE1F4A79FD4B65057F23C515"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
@@ -152,12 +152,6 @@ namespace ShadowStream.Views {
return;
case 9:
this.add_btn = ((System.Windows.Controls.Button)(target));
#line 54 "..\..\..\..\Views\PlaylistEditor.xaml"
this.add_btn.Click += new System.Windows.RoutedEventHandler(this.Add_Click);
#line default
#line hidden
return;
}
this._contentLoaded = true;