diff --git a/TV Player Avalonia/Assets/bkground.jpg b/TV Player Avalonia/Assets/bkground.jpg
new file mode 100644
index 0000000..73f1a2d
Binary files /dev/null and b/TV Player Avalonia/Assets/bkground.jpg differ
diff --git a/TV Player Avalonia/MainWindow.axaml b/TV Player Avalonia/MainWindow.axaml
index 94d0752..a525285 100644
--- a/TV Player Avalonia/MainWindow.axaml
+++ b/TV Player Avalonia/MainWindow.axaml
@@ -4,35 +4,33 @@
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
x:Class="TV_Player.AvaloniaApp.MainWindow"
mc:Ignorable="d"
- Width="1400"
- Height="860"
- MinWidth="980"
- MinHeight="640"
- Title="TV Player"
+ Width="800"
+ Height="450"
+ MinWidth="800"
+ MinHeight="450"
+ Title="TV"
WindowState="{Binding CurrentWindowState}"
- Background="#0B1220">
+ SystemDecorations="None">
-
-
-
-
+
+
+
+
+
+
+
+
-
-
+ HorizontalAlignment="Center"
+ Foreground="White" />
+
+
-
+
-
-
-
+
diff --git a/TV Player Avalonia/TV Player Avalonia.csproj b/TV Player Avalonia/TV Player Avalonia.csproj
index 966cac9..a33e095 100644
--- a/TV Player Avalonia/TV Player Avalonia.csproj
+++ b/TV Player Avalonia/TV Player Avalonia.csproj
@@ -25,4 +25,8 @@
+
+
+
+
diff --git a/TV Player Avalonia/Views/PlayerView.axaml b/TV Player Avalonia/Views/PlayerView.axaml
index 04cafd2..1950ba4 100644
--- a/TV Player Avalonia/Views/PlayerView.axaml
+++ b/TV Player Avalonia/Views/PlayerView.axaml
@@ -2,71 +2,91 @@
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:vlc="clr-namespace:LibVLCSharp.Avalonia;assembly=LibVLCSharp.Avalonia"
x:Class="TV_Player.AvaloniaApp.Views.PlayerView">
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
+
+
+
+
+
-
+
-
-
+
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
-
-
-
-
+
+
+
+
diff --git a/TV Player Avalonia/Views/PlaylistsGroupView.axaml b/TV Player Avalonia/Views/PlaylistsGroupView.axaml
index dc127e7..5b0b287 100644
--- a/TV Player Avalonia/Views/PlaylistsGroupView.axaml
+++ b/TV Player Avalonia/Views/PlaylistsGroupView.axaml
@@ -2,32 +2,38 @@
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
x:Class="TV_Player.AvaloniaApp.Views.PlaylistsGroupView"
x:Name="Root">
-
-
-
+
+
+
-
+
-
-
+
+
-
-
-
-
+
+
+
diff --git a/TV Player Avalonia/Views/ProgramsGroupView.axaml b/TV Player Avalonia/Views/ProgramsGroupView.axaml
index 686f8f4..4400594 100644
--- a/TV Player Avalonia/Views/ProgramsGroupView.axaml
+++ b/TV Player Avalonia/Views/ProgramsGroupView.axaml
@@ -1,43 +1,43 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/TV Player Avalonia/Views/ProgramsListView.axaml b/TV Player Avalonia/Views/ProgramsListView.axaml
index e6707e8..1cdb089 100644
--- a/TV Player Avalonia/Views/ProgramsListView.axaml
+++ b/TV Player Avalonia/Views/ProgramsListView.axaml
@@ -1,34 +1,43 @@
-
-
-
+
+
+
-
+
-
-
+
+
-
-
-
-
+
+
+
diff --git a/TV Player Avalonia/Views/SettingsView.axaml b/TV Player Avalonia/Views/SettingsView.axaml
index 5aca292..ee16885 100644
--- a/TV Player Avalonia/Views/SettingsView.axaml
+++ b/TV Player Avalonia/Views/SettingsView.axaml
@@ -1,47 +1,51 @@
-
-
-
+
+
+
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
-
-
-
-
+
+
-
-
-
+
+
+
+ Width="70"
+ Height="70"
+ Content="-"
+ CommandParameter="{Binding}"
+ Command="{Binding DataContext.PlaylistDeleteCommand, RelativeSource={RelativeSource AncestorType=UserControl}}" />
-
-
-
-
+
+
-
-
+
+
-
-
-
+
+
+
-
+
diff --git a/TV Player Core/M3UParser.cs b/TV Player Core/M3UParser.cs
index ad2d4ab..808a4fa 100644
--- a/TV Player Core/M3UParser.cs
+++ b/TV Player Core/M3UParser.cs
@@ -221,16 +221,14 @@ namespace TV_Player
{
try
{
- using (var client = new HttpClient())
- using (var request = new HttpRequestMessage())
- {
- client.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("application/text"));
- request.Method = HttpMethod.Get;
- request.RequestUri = new Uri(url);
- var response = await client.GetAsync(url);
- response.EnsureSuccessStatusCode();
- return await response.Content.ReadAsStringAsync();
- }
+ using var client = new HttpClient();
+ using var request = new HttpRequestMessage();
+ client.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("application/text"));
+ request.Method = HttpMethod.Get;
+ request.RequestUri = new Uri(url);
+ var response = await client.GetAsync(url);
+ response.EnsureSuccessStatusCode();
+ return await response.Content.ReadAsStringAsync();
}
catch (HttpRequestException ex)
{