playlist loading from json and displaying it properly
This commit is contained in:
parent
6e225465c1
commit
9e5b7a6999
@ -1,3 +1,4 @@
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Media;
|
||||
using ModuleManager.Modules;
|
||||
@ -10,6 +11,8 @@ public class Catagory
|
||||
public readonly string name;
|
||||
List<Item> items = new List<Item>();
|
||||
|
||||
private WrapPanel wrapPanel;
|
||||
|
||||
StringConversions conv = new StringConversions();
|
||||
|
||||
public Catagory(string name)
|
||||
@ -17,6 +20,12 @@ public class Catagory
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public Catagory(string name,WrapPanel wrapPanel)
|
||||
{
|
||||
this.name = name;
|
||||
this.wrapPanel = wrapPanel;
|
||||
}
|
||||
|
||||
public void addItem(Item item)
|
||||
{
|
||||
items.Add(item);
|
||||
@ -58,4 +67,9 @@ public class Catagory
|
||||
return -1; // Not found
|
||||
}
|
||||
|
||||
public WrapPanel getWrapPanel()
|
||||
{
|
||||
return wrapPanel;
|
||||
}
|
||||
|
||||
}
|
@ -70,6 +70,7 @@ namespace ShadowStream.Obejeckte
|
||||
this.isFoto = isFoto;
|
||||
|
||||
Console.WriteLine(path);
|
||||
Console.WriteLine(playButton.Tag);
|
||||
}
|
||||
|
||||
// Old methods needed by main window
|
||||
|
@ -2,17 +2,17 @@ namespace ShadowStream.Obejeckte;
|
||||
|
||||
public class ObjListBP
|
||||
{
|
||||
public List<object> SharedRefs;
|
||||
public List<Catagory> SharedRefs;
|
||||
|
||||
private string _name;
|
||||
|
||||
public ObjListBP(string name)
|
||||
{
|
||||
_name = name;
|
||||
SharedRefs = new List<object>();
|
||||
SharedRefs = new List<Catagory>();
|
||||
}
|
||||
public ObjListBP()
|
||||
{
|
||||
SharedRefs = new List<object>();
|
||||
SharedRefs = new List<Catagory>();
|
||||
}
|
||||
}
|
@ -54,4 +54,69 @@ public class Jason_Writer
|
||||
string filePath = Path.Combine(_folderPath, $"{listName}.json");
|
||||
return File.Exists(filePath);
|
||||
}
|
||||
|
||||
|
||||
public async Task SavePlaylistListAsync(string listName, List<locJasonPlaylist> list)
|
||||
{
|
||||
Console.WriteLine($"Saving playlist list '{listName}' with {list.Count} items.");
|
||||
|
||||
foreach (var item in list)
|
||||
{
|
||||
Console.WriteLine($" - Name: {item.name}, Path: {item.path}, Type: {item.type}");
|
||||
}
|
||||
|
||||
string filePath = Path.Combine(_folderPath, $"{listName}.json"); // keep same naming as original
|
||||
string jsonString = JsonConvert.SerializeObject(list, Formatting.Indented);
|
||||
await File.WriteAllTextAsync(filePath, jsonString);
|
||||
|
||||
Console.WriteLine($"Saved JSON to: {filePath}");
|
||||
}
|
||||
|
||||
public async Task<List<locJasonPlaylist>> LoadPlaylistListAsync(string listName)
|
||||
{
|
||||
string filePath = Path.Combine(_folderPath, $"{listName}.json");
|
||||
|
||||
if (!File.Exists(filePath))
|
||||
{
|
||||
Console.WriteLine($"List file '{filePath}' not found. Returning empty list.");
|
||||
return new List<locJasonPlaylist>();
|
||||
}
|
||||
|
||||
string jsonString = await File.ReadAllTextAsync(filePath);
|
||||
var list = JsonConvert.DeserializeObject<List<locJasonPlaylist>>(jsonString);
|
||||
return list ?? new List<locJasonPlaylist>();
|
||||
}
|
||||
public async Task<List<string>> GetSavedPlaylistNamesAsync()
|
||||
{
|
||||
string playlistFolder = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Temp Data");
|
||||
|
||||
if (!Directory.Exists(playlistFolder))
|
||||
return new List<string>();
|
||||
|
||||
var files = Directory.GetFiles(playlistFolder, "*.json");
|
||||
var playlistNames = new List<string>();
|
||||
|
||||
foreach (var file in files)
|
||||
{
|
||||
string name = Path.GetFileNameWithoutExtension(file);
|
||||
if (IsPlaylistFile(name)) // uses the updated method
|
||||
{
|
||||
playlistNames.Add(name);
|
||||
}
|
||||
}
|
||||
|
||||
return playlistNames;
|
||||
}
|
||||
|
||||
|
||||
private bool IsPlaylistFile(string fileName)
|
||||
{
|
||||
// Exclude main media files and the favorites file
|
||||
var reserved = new[] { "Muvies", "Series", "Photos", "Music", "Favorit" };
|
||||
return !reserved.Contains(fileName);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
@ -1,3 +1,5 @@
|
||||
using System.IO;
|
||||
|
||||
namespace ShadowStream.ObjecktForJason;
|
||||
|
||||
public class locJason
|
||||
@ -6,3 +8,9 @@ public class locJason
|
||||
public string imageData;
|
||||
public string type;
|
||||
}
|
||||
public class locJasonPlaylist
|
||||
{
|
||||
public string name { get; set; }
|
||||
public string type { get; set; }
|
||||
public string path { get; set; }
|
||||
}
|
||||
|
@ -60,6 +60,7 @@
|
||||
<Button Content="Musik" Height="60" Foreground="White" Background="Transparent" Click="Musik_OnClick"/>
|
||||
<Button Content="Photos" Height="60" Foreground="White" Background="Transparent" Click="Photo_OnClick"/>
|
||||
<Button Content="Video" Height="60" Foreground="White" Background="Transparent" Click="Video_OnClick" />
|
||||
<Button Content="Playlist" Height="60" Foreground="White" Background="Transparent" Click="PlayListButton_OnClick" />
|
||||
</StackPanel>
|
||||
|
||||
<!-- MAIN CONTENT WRAPPED IN A GRID FOR LAYERING -->
|
||||
@ -140,6 +141,12 @@
|
||||
</WrapPanel>
|
||||
</StackPanel>
|
||||
</ScrollViewer>
|
||||
<!--Playlists-->
|
||||
<ScrollViewer x:Name="ScrollContentPlaylist" Background="#444" Panel.ZIndex="0" Visibility="Collapsed">
|
||||
<StackPanel x:Name="PlaylistContentPanel">
|
||||
<Button Content="New Playlist" Background="Black" Foreground="White" Click="PlayListButton_Click"></Button>
|
||||
</StackPanel>
|
||||
</ScrollViewer>
|
||||
</Grid>
|
||||
|
||||
<!-- SETTINGS BUTTON -->
|
||||
|
@ -39,7 +39,6 @@ public partial class MainWindow : Window
|
||||
|
||||
PlaylistEditor popupWindow;
|
||||
|
||||
ObjListBP _favorites = new ObjListBP();
|
||||
ObjListBP _playlists = new ObjListBP();
|
||||
|
||||
private Catagory Muvie = new Catagory("Muvie");
|
||||
@ -47,6 +46,8 @@ public partial class MainWindow : Window
|
||||
private Catagory Music = new Catagory("Music");
|
||||
private Catagory Photo = new Catagory("Photos");
|
||||
|
||||
private Catagory Favorites;
|
||||
|
||||
List<string> suportedVidioFiles = new List<string>();
|
||||
List<string> suportedMusicFiles = new List<string>();
|
||||
List<string> suportedPhotoFiles = new List<string>();
|
||||
@ -83,12 +84,13 @@ public partial class MainWindow : Window
|
||||
#region Init wpf
|
||||
InitializeComponent();
|
||||
//Initialise but Hide
|
||||
logWin.Show();
|
||||
//logWin.Show();
|
||||
//logWin.Hide();
|
||||
//this.Hide();
|
||||
//Begin Login Process
|
||||
var login = new LogIn();
|
||||
login.Show();
|
||||
Favorites = new Catagory("Favorites",Favorites_Home);
|
||||
|
||||
#endregion
|
||||
//Quinn Dont change or remuve!!!
|
||||
@ -384,16 +386,32 @@ public partial class MainWindow : Window
|
||||
tmpBP.Add(Serie);
|
||||
tmpBP.Add(Photo);
|
||||
tmpBP.Add(Music);
|
||||
popupWindow = new PlaylistEditor(tmpBP);
|
||||
popupWindow = new PlaylistEditor(tmpBP,false);
|
||||
popupWindow.Owner = this;
|
||||
popupWindow.ShowInTaskbar = false;
|
||||
popupWindow.Show();
|
||||
}
|
||||
|
||||
private void EdditFav_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
ObservableCollection<Catagory> tmpBP= new ObservableCollection<Catagory>();
|
||||
tmpBP.Add(Muvie);
|
||||
tmpBP.Add(Serie);
|
||||
tmpBP.Add(Photo);
|
||||
tmpBP.Add(Music);
|
||||
popupWindow = new PlaylistEditor(tmpBP,true);
|
||||
popupWindow.Owner = this;
|
||||
popupWindow.ShowInTaskbar = false;
|
||||
popupWindow.Show();
|
||||
}
|
||||
|
||||
|
||||
|
||||
#region Catagory btns
|
||||
private void Home_OnClick(object sender, RoutedEventArgs e)
|
||||
{
|
||||
Close_Player();
|
||||
ScrollContentPlaylist.Visibility = Visibility.Collapsed;
|
||||
ScrollContentCat.Visibility = Visibility.Collapsed;
|
||||
ScrollContentHome.Visibility = Visibility.Visible;
|
||||
MenueItems();
|
||||
@ -402,6 +420,7 @@ public partial class MainWindow : Window
|
||||
{
|
||||
Close_Player();
|
||||
Name_of_Catagory_Text1.Visibility = Visibility.Collapsed;
|
||||
ScrollContentPlaylist.Visibility = Visibility.Collapsed;
|
||||
|
||||
ScrollContentHome.Visibility = Visibility.Collapsed;
|
||||
ScrollContentCat.Visibility = Visibility.Visible;
|
||||
@ -412,6 +431,7 @@ public partial class MainWindow : Window
|
||||
{
|
||||
Close_Player();
|
||||
Name_of_Catagory_Text1.Visibility = Visibility.Collapsed;
|
||||
ScrollContentPlaylist.Visibility = Visibility.Collapsed;
|
||||
|
||||
ScrollContentHome.Visibility = Visibility.Collapsed;
|
||||
ScrollContentCat.Visibility = Visibility.Visible;
|
||||
@ -422,12 +442,22 @@ public partial class MainWindow : Window
|
||||
{
|
||||
Close_Player();
|
||||
Name_of_Catagory_Text1.Visibility = Visibility.Visible;
|
||||
|
||||
ScrollContentPlaylist.Visibility = Visibility.Collapsed;
|
||||
ScrollContentHome.Visibility = Visibility.Collapsed;
|
||||
ScrollContentCat.Visibility = Visibility.Visible;
|
||||
Name_of_Catagory1.Visibility = Visibility.Visible;
|
||||
MenueItems(ref Muvie,ref Serie);
|
||||
}
|
||||
private void PlayListButton_OnClick(object sender, RoutedEventArgs e)
|
||||
{
|
||||
Close_Player();
|
||||
Name_of_Catagory_Text1.Visibility = Visibility.Collapsed;
|
||||
|
||||
ScrollContentHome.Visibility = Visibility.Collapsed;
|
||||
ScrollContentCat.Visibility = Visibility.Collapsed;
|
||||
Name_of_Catagory1.Visibility = Visibility.Collapsed;
|
||||
PopulateAllCategoriesFromPlaylists();
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
@ -569,16 +599,9 @@ public partial class MainWindow : Window
|
||||
return itemsBag.ToList();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
#endregion
|
||||
|
||||
#region Comunication
|
||||
public void addFavorit(ref Item item)
|
||||
{
|
||||
_favorites.SharedRefs.Add(item);
|
||||
}
|
||||
public void ReciveErrorLog(string logMessage)
|
||||
{
|
||||
log.Error(logMessage);
|
||||
@ -588,7 +611,7 @@ public partial class MainWindow : Window
|
||||
if(suportedVidioFiles.Contains(Path.GetExtension(filePath))||suportedPhotoFiles.Contains(Path.GetExtension(filePath)))
|
||||
VideoView.Visibility = Visibility.Visible;
|
||||
var media = new Media(_libVLC, filePath, FromType.FromPath);
|
||||
|
||||
Console.WriteLine(filePath);
|
||||
media.ParsedChanged += (sender, args) =>
|
||||
{
|
||||
if (args.ParsedStatus == MediaParsedStatus.Done)
|
||||
@ -596,6 +619,7 @@ public partial class MainWindow : Window
|
||||
Dispatcher.Invoke(() =>
|
||||
{
|
||||
var duration = media.Duration;
|
||||
Console.WriteLine(duration);
|
||||
videoSliderInit(duration / 1000);
|
||||
});
|
||||
}
|
||||
@ -604,7 +628,6 @@ public partial class MainWindow : Window
|
||||
media.Parse(MediaParseOptions.ParseLocal);
|
||||
_mediaPlayer.Play(media);
|
||||
}
|
||||
|
||||
public void setStrings()
|
||||
{
|
||||
#region type?
|
||||
@ -699,15 +722,115 @@ public partial class MainWindow : Window
|
||||
VideoView.Visibility = Visibility.Collapsed;
|
||||
}
|
||||
|
||||
public void RecivePlaylist(ObjListBP items)
|
||||
public void RecivePlaylist(Catagory items)
|
||||
{
|
||||
_playlists.SharedRefs.Add(items);
|
||||
RecivePlaylist();
|
||||
var writer = new Jason_Writer();
|
||||
var tmp = new List<locJasonPlaylist>();
|
||||
int index = 0;
|
||||
foreach (var VARIABLE in items.getAllItems())
|
||||
{
|
||||
tmp.Add(new locJasonPlaylist());
|
||||
tmp[index].name = VARIABLE.Name;
|
||||
tmp[index].path = VARIABLE.Path;
|
||||
tmp[index].type = VARIABLE.Type;
|
||||
index++;
|
||||
}
|
||||
writer.SavePlaylistListAsync(items.name,tmp);
|
||||
Console.WriteLine("wrote"+items.name);
|
||||
}
|
||||
public void RecivePlaylist(Catagory items,bool favorite)
|
||||
{
|
||||
if (favorite)
|
||||
{
|
||||
Favorites.clear();
|
||||
foreach (var VARIABLE in items.getAllItems())
|
||||
{
|
||||
Favorites.addItem(VARIABLE);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
foreach (var VARIABLE in _playlists.SharedRefs)
|
||||
{
|
||||
if (VARIABLE.name == items.name)
|
||||
{
|
||||
|
||||
VARIABLE.clear();
|
||||
foreach (var var2 in items.getAllItems())
|
||||
{
|
||||
VARIABLE.addItem(var2);
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
RecivePlaylist();
|
||||
var writer = new Jason_Writer();
|
||||
var tmp = new List<locJasonPlaylist>();
|
||||
int index = 0;
|
||||
foreach (var VARIABLE in items.getAllItems())
|
||||
{
|
||||
tmp.Add(new locJasonPlaylist());
|
||||
tmp[index].name = VARIABLE.Name;
|
||||
tmp[index].path = VARIABLE.Path;
|
||||
tmp[index].type = VARIABLE.Type;
|
||||
index++;
|
||||
}
|
||||
writer.SavePlaylistListAsync(items.name,tmp);
|
||||
Console.WriteLine("faf updated");
|
||||
if (favorite)
|
||||
Application.Current.Dispatcher.Invoke(() =>
|
||||
{
|
||||
MenueItems(); // safely update UI
|
||||
});
|
||||
|
||||
|
||||
foreach (var VARIABLE in items.getAllItems())
|
||||
{
|
||||
Console.WriteLine(VARIABLE.Name);
|
||||
}
|
||||
}
|
||||
public void RecivePlaylist()
|
||||
{
|
||||
popupWindow.Close();
|
||||
}
|
||||
|
||||
private void PopulateAllCategoriesFromPlaylists()
|
||||
{
|
||||
PlaylistContentPanel.Children.Clear(); // Optional: clear previous entries
|
||||
|
||||
foreach (Catagory category in _playlists.SharedRefs)
|
||||
{
|
||||
// Create TextBlock for category name
|
||||
var textBlock = new TextBlock
|
||||
{
|
||||
Text = category.name,
|
||||
FontSize = 18,
|
||||
Foreground = Brushes.White,
|
||||
Margin = new Thickness(0, 10, 0, 5)
|
||||
};
|
||||
|
||||
// Create WrapPanel for items
|
||||
var wrapPanel = new WrapPanel
|
||||
{
|
||||
Margin = new Thickness(0, 0, 0, 10)
|
||||
};
|
||||
|
||||
// Fill WrapPanel with items
|
||||
PopulatePanelWithItems(category.getAllItems(), wrapPanel);
|
||||
|
||||
// Add both to the ScrollViewer's inner panel
|
||||
PlaylistContentPanel.Children.Add(textBlock);
|
||||
PlaylistContentPanel.Children.Add(wrapPanel);
|
||||
}
|
||||
|
||||
// Make the ScrollViewer visible
|
||||
ScrollContentPlaylist.Visibility = Visibility.Visible;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#endregion
|
||||
@ -726,6 +849,7 @@ public partial class MainWindow : Window
|
||||
}
|
||||
void MenueItems()
|
||||
{
|
||||
PopulatePanelWithItems(Favorites.getAllItems(), Favorites_Home);
|
||||
PopulatePanelWithItems(Muvie.getAllItems(), Muvies_Home);
|
||||
PopulatePanelWithItems(Serie.getAllItems(), Series_Home);
|
||||
PopulatePanelWithItems(Photo.getAllItems(), Photos_Home);
|
||||
@ -831,20 +955,24 @@ public partial class MainWindow : Window
|
||||
#region load saved data
|
||||
|
||||
private async void LoadSavedData()
|
||||
{
|
||||
{
|
||||
try
|
||||
{
|
||||
Jason_Writer jason_Writer = new Jason_Writer(); // Use default "Temp Data" folder
|
||||
JasonToString jasonToString = new JasonToString();
|
||||
Jason_Writer jason_Writer = new Jason_Writer(); // Uses default "Temp Data" folder
|
||||
|
||||
// Load main media lists
|
||||
var muvies = await jason_Writer.LoadListAsync("Muvies");
|
||||
var series = await jason_Writer.LoadListAsync("Series");
|
||||
var photos = await jason_Writer.LoadListAsync("Photos");
|
||||
var music = await jason_Writer.LoadListAsync("Music");
|
||||
var favorites = await jason_Writer.LoadListAsync("Favorit");
|
||||
|
||||
progressScann = new ProgressBar("Reading saved data",muvies.Count+series.Count+photos.Count+music.Count);
|
||||
// Initialize progress bar with total count
|
||||
progressScann = new ProgressBar("Reading saved data",
|
||||
muvies.Count + series.Count + photos.Count + music.Count + favorites.Count);
|
||||
progressScann.Show();
|
||||
|
||||
// Create Item lists from JSON
|
||||
List<Item> MuvieItems = CreateItemsFromJson(muvies);
|
||||
List<Item> SerieItems = CreateItemsFromJson(series);
|
||||
List<Item> PhotoItems = CreateItemsFromJson(photos, isPhoto: true);
|
||||
@ -855,7 +983,60 @@ public partial class MainWindow : Window
|
||||
Photo.addItems(PhotoItems);
|
||||
Music.addItems(MusicItems);
|
||||
|
||||
MenueItems(); // Re-populate the UI
|
||||
// Combine all media items for playlist/favorite matching
|
||||
var allLocs = muvies.Concat(series).Concat(photos).Concat(music).ToList();
|
||||
|
||||
// Enrich favorite items by matching them with main list entries
|
||||
var enrichedFavorites = new List<locJason>();
|
||||
foreach (var fav in favorites)
|
||||
{
|
||||
var match = allLocs.FirstOrDefault(item =>
|
||||
string.Equals(item.path, fav.path, StringComparison.OrdinalIgnoreCase));
|
||||
|
||||
if (match != null)
|
||||
{
|
||||
enrichedFavorites.Add(match);
|
||||
}
|
||||
else
|
||||
{
|
||||
enrichedFavorites.Add(fav); // fallback if not found
|
||||
Console.WriteLine($"[Warning] Favorite not found in main lists: {fav.path}");
|
||||
}
|
||||
}
|
||||
|
||||
List<Item> FavoriteItems = CreateItemsFromJson(enrichedFavorites);
|
||||
Favorites.addItems(FavoriteItems);
|
||||
|
||||
// Load playlists
|
||||
var playlistNames = await jason_Writer.GetSavedPlaylistNamesAsync();
|
||||
|
||||
foreach (var playlistName in playlistNames)
|
||||
{
|
||||
var playlistEntries = await jason_Writer.LoadPlaylistListAsync(playlistName);
|
||||
|
||||
var matchedLocs = new List<locJason>();
|
||||
foreach (var entry in playlistEntries)
|
||||
{
|
||||
var match = allLocs.FirstOrDefault(item =>
|
||||
string.Equals(item.path, entry.path, StringComparison.OrdinalIgnoreCase));
|
||||
|
||||
if (match != null)
|
||||
{
|
||||
matchedLocs.Add(match);
|
||||
}
|
||||
else
|
||||
{
|
||||
Console.WriteLine($"[Warning] Playlist '{playlistName}' contains unknown path: {entry.path}");
|
||||
}
|
||||
}
|
||||
|
||||
List<Item> PlaylistItems = CreateItemsFromJson(matchedLocs);
|
||||
var playlistCategory = new Catagory(playlistName);
|
||||
playlistCategory.addItems(PlaylistItems);
|
||||
_playlists.SharedRefs.Add(playlistCategory);
|
||||
}
|
||||
|
||||
MenueItems(); // Refresh the UI
|
||||
progressScann.Hide();
|
||||
log.Log("Loaded saved data from JSON.");
|
||||
}
|
||||
@ -864,7 +1045,8 @@ public partial class MainWindow : Window
|
||||
MessageBox.Show($"Failed to load saved data:\n{ex.Message}", "Error", MessageBoxButton.OK, MessageBoxImage.Error);
|
||||
log.Error($"LoadSavedData error: {ex}");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private List<Item> CreateItemsFromJson(List<locJason> jsonItems)
|
||||
{
|
||||
return CreateItemsFromJson(jsonItems, isPhoto: false, isMusic: false);
|
||||
@ -1006,6 +1188,4 @@ public partial class MainWindow : Window
|
||||
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
}
|
@ -51,7 +51,7 @@
|
||||
<Button Content="Return" Grid.Column="0" Width="100" HorizontalAlignment="Right" Margin="0,10,0,0"
|
||||
Click="Return_Click"/>
|
||||
<Button Content="Add" Grid.Column="1" Width="100" HorizontalAlignment="Left" Margin="0,10,0,0"
|
||||
Click="Add_Click" Visibility="Collapsed" Name="add_btn"/>
|
||||
Visibility="Collapsed" Name="add_btn"/>
|
||||
</Grid>
|
||||
</Grid>
|
||||
</Window>
|
@ -10,15 +10,28 @@ namespace ShadowStream.Views
|
||||
public partial class PlaylistEditor : Window
|
||||
{
|
||||
private ObservableCollection<Catagory> _sharedList;
|
||||
|
||||
private bool Fav;
|
||||
//pointer
|
||||
//private unsafe Catagory* _sharedListLock;
|
||||
|
||||
Catagory _selectedCatagory;
|
||||
|
||||
public PlaylistEditor(ObservableCollection<Catagory> sharedList)
|
||||
public PlaylistEditor(ObservableCollection<Catagory> sharedList,bool isFaF)
|
||||
{
|
||||
InitializeComponent();
|
||||
_sharedList = sharedList;
|
||||
if (isFaF)
|
||||
{
|
||||
PlaylistNameBox.Text = "Favorit";
|
||||
PlaylistNameBox.IsReadOnly = true;
|
||||
add_btn.Click += Edit_Click;
|
||||
add_btn.Content = "Edit";
|
||||
}
|
||||
else
|
||||
{
|
||||
add_btn.Click += Add_Click;
|
||||
}
|
||||
}
|
||||
|
||||
private void ShowSublist(string categoryName)
|
||||
@ -69,12 +82,12 @@ namespace ShadowStream.Views
|
||||
|
||||
private void Add_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
ObjListBP tmp = new ObjListBP(PlaylistNameBox.Text);
|
||||
Catagory tmp = new Catagory(PlaylistNameBox.Text);
|
||||
foreach (var VARIABLE in _selectedCatagory.getAllItems())
|
||||
{
|
||||
if (VARIABLE.IsAdded)
|
||||
{
|
||||
tmp.SharedRefs.Add(VARIABLE);
|
||||
tmp.addItem(VARIABLE);
|
||||
Console.WriteLine(VARIABLE.Name);
|
||||
}
|
||||
}
|
||||
@ -85,5 +98,24 @@ namespace ShadowStream.Views
|
||||
mainWin.RecivePlaylist(tmp);
|
||||
}
|
||||
}
|
||||
|
||||
private void Edit_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
Catagory tmp = new Catagory(PlaylistNameBox.Text);
|
||||
foreach (var VARIABLE in _selectedCatagory.getAllItems())
|
||||
{
|
||||
if (VARIABLE.IsAdded)
|
||||
{
|
||||
tmp.addItem(VARIABLE);
|
||||
Console.WriteLine(VARIABLE.Name);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (this.Owner is MainWindow mainWin)
|
||||
{
|
||||
mainWin.RecivePlaylist(tmp,true);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
17
ShadowStream/bin/Debug/net8.0-windows/Temp Data/Favorit.json
Normal file
17
ShadowStream/bin/Debug/net8.0-windows/Temp Data/Favorit.json
Normal file
@ -0,0 +1,17 @@
|
||||
[
|
||||
{
|
||||
"name": "Rio 2.mp4",
|
||||
"type": "Muvie",
|
||||
"path": "G:/Rio 2.mp4"
|
||||
},
|
||||
{
|
||||
"name": "Rio.mp4",
|
||||
"type": "Muvie",
|
||||
"path": "G:/Rio.mp4"
|
||||
},
|
||||
{
|
||||
"name": "Transformers Film.mp4",
|
||||
"type": "Muvie",
|
||||
"path": "G:/Transformers Film.mp4"
|
||||
}
|
||||
]
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1,22 @@
|
||||
[
|
||||
{
|
||||
"name": "Great_Teacher_Onizuka-E32-720p.mp4",
|
||||
"type": "Serie",
|
||||
"path": "G:/Great Teacher Onizuka\\EP 25-43\\Great_Teacher_Onizuka-E32-720p.mp4"
|
||||
},
|
||||
{
|
||||
"name": "Great_Teacher_Onizuka-E29-720p.mp4",
|
||||
"type": "Serie",
|
||||
"path": "G:/Great Teacher Onizuka\\EP 25-43\\Great_Teacher_Onizuka-E29-720p.mp4"
|
||||
},
|
||||
{
|
||||
"name": "Great_Teacher_Onizuka-E36-720p.mp4",
|
||||
"type": "Serie",
|
||||
"path": "G:/Great Teacher Onizuka\\EP 25-43\\Great_Teacher_Onizuka-E36-720p.mp4"
|
||||
},
|
||||
{
|
||||
"name": "Great_Teacher_Onizuka-E33-720p.mp4",
|
||||
"type": "Serie",
|
||||
"path": "G:/Great Teacher Onizuka\\EP 25-43\\Great_Teacher_Onizuka-E33-720p.mp4"
|
||||
}
|
||||
]
|
17
ShadowStream/bin/Debug/net8.0-windows/Temp Data/test 1.json
Normal file
17
ShadowStream/bin/Debug/net8.0-windows/Temp Data/test 1.json
Normal file
@ -0,0 +1,17 @@
|
||||
[
|
||||
{
|
||||
"name": "Transformers Film.mp4",
|
||||
"type": "Muvie",
|
||||
"path": "G:/Transformers Film.mp4"
|
||||
},
|
||||
{
|
||||
"name": "Teenage Mutant Ninja Turtles 2 (1991)_En.mp4",
|
||||
"type": "Muvie",
|
||||
"path": "G:/Teenage Mutant Ninja Turtles 2 (1991)_En.mp4"
|
||||
},
|
||||
{
|
||||
"name": "Teenage Mutant Ninja Turtles - Full Movie_En.mp4",
|
||||
"type": "Muvie",
|
||||
"path": "G:/Teenage Mutant Ninja Turtles - Full Movie_En.mp4"
|
||||
}
|
||||
]
|
17
ShadowStream/bin/Debug/net8.0-windows/Temp Data/test 2.json
Normal file
17
ShadowStream/bin/Debug/net8.0-windows/Temp Data/test 2.json
Normal file
@ -0,0 +1,17 @@
|
||||
[
|
||||
{
|
||||
"name": "Pitbull & J Balvin - Hey Ma ft Camila Cabello (Spanish Version - The Fate of the Furious- The A)(1).mp3",
|
||||
"type": "Music",
|
||||
"path": "G:/Pitbull\\Pitbull & J Balvin - Hey Ma ft Camila Cabello (Spanish Version - The Fate of the Furious- The A)(1).mp3"
|
||||
},
|
||||
{
|
||||
"name": "The Lion King - Can You Feel The Love (Mau Kilauea-s Tropical Remix).mp3",
|
||||
"type": "Music",
|
||||
"path": "G:/Reggae mix\\The Lion King - Can You Feel The Love (Mau Kilauea-s Tropical Remix).mp3"
|
||||
},
|
||||
{
|
||||
"name": "Post Malone - Congratulations ft. Quavo (Wysh & Nex Reggae Remix).mp3",
|
||||
"type": "Music",
|
||||
"path": "G:/Reggae mix\\Post Malone - Congratulations ft. Quavo (Wysh & Nex Reggae Remix).mp3"
|
||||
}
|
||||
]
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -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")]
|
||||
|
@ -1 +1 @@
|
||||
add2d75fe0b48d1a6f7379bd44e7b58e91756949509b774c348da1f23899600e
|
||||
3f446e006fa0948c6967c653ea5873e3a871bbf39ab5a83c3118a811d66d1ff2
|
||||
|
Binary file not shown.
@ -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
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1 +0,0 @@
|
||||
{"documents":{"C:\\Users\\bib\\Desktop\\vpr\\pull from pc\\mediaverwaltung\\*":"https://gitlab.com/NotMoReda1/mediaverwaltung/-/raw/40270573ab66bc50063692949e34557e1963460f/*"}}
|
Binary file not shown.
@ -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
|
||||
|
Binary file not shown.
@ -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;
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -13,7 +13,7 @@ using System.Reflection;
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("file finder test")]
|
||||
[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("file finder test")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("file finder test")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
@ -1 +1 @@
|
||||
d578f4111d29f5622f8353bdbfe268211661a7fe5563e53de550907eb16577b9
|
||||
1be59e53ed51920909e9805eb3f16fbc360b2a2e38ed90b08600049f7e0b141e
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1 +1 @@
|
||||
{"documents":{"C:\\Users\\bib\\Desktop\\vpr\\pull from pc\\mediaverwaltung\\*":"https://gitlab.com/NotMoReda1/mediaverwaltung/-/raw/40270573ab66bc50063692949e34557e1963460f/*"}}
|
||||
{"documents":{"C:\\Users\\bib\\Desktop\\vpr\\pull from pc\\mediaverwaltung\\*":"https://gitlab.com/NotMoReda1/mediaverwaltung/-/raw/6e225465c1b6c116ca9bd40253c81c45f51e8820/*"}}
|
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user