diff --git a/.vs/Reproductor de Musica/v16/.suo b/.vs/Reproductor de Musica/v16/.suo
index 7fbc70e..dd0412c 100644
Binary files a/.vs/Reproductor de Musica/v16/.suo and b/.vs/Reproductor de Musica/v16/.suo differ
diff --git a/Reproductor de Musica/MainWindow.xaml.cs b/Reproductor de Musica/MainWindow.xaml.cs
index b734f60..79a6cb9 100644
--- a/Reproductor de Musica/MainWindow.xaml.cs
+++ b/Reproductor de Musica/MainWindow.xaml.cs
@@ -675,7 +675,7 @@ private void Image_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
{
Image img = (Image)sender;
- if (img.Name == "Siguiente" && IsSelected != -1)
+ if (img.Name == "Siguiente" && IsSelected != -1 && ListBox.Items.Count != 0)
{
img.Source = new BitmapImage(new Uri(@"pack://application:,,,/IMG/Models_Siguiente/enter_siguiente.png"));
if (ListBox.Items.Count == 1)
@@ -689,7 +689,7 @@ private void Image_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
int valor;
// Comprueba si Selected es diferente a la última canción
- if (IsSelected != ListBox.Items.Count - 1)
+ if (IsSelected != ListBox.Items.Count - 1 )
{
valor = IsSelected;
mediaPlayer.Open(new Uri(URLS[valor + 1]));
@@ -747,7 +747,7 @@ private void Image_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
Button_Pause_Click(sender, e);
mediaPlayer.Play();
}
- else if (img.Name == "Anterior" && IsSelected != -1)
+ else if (img.Name == "Anterior" && IsSelected != -1 && ListBox.Items.Count != 0)
{
img.Source = new BitmapImage(new Uri(@"pack://application:,,,/IMG/Models_Anterior/enter_anterior.png"));
if (ListBox.Items.Count == 1)
@@ -793,12 +793,18 @@ private void Image_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
}
else if (img.Name == "Repetir")
{
- img.Source = new BitmapImage(new Uri(@"pack://application:,,,/IMG/Repetir/click_actualizar.png"));
- mediaPlayer.Open(new Uri(URLS[ListBox.SelectedIndex]));
+ if (ListBox.Items.Count != 0) {
+ img.Source = new BitmapImage(new Uri(@"pack://application:,,,/IMG/Repetir/click_actualizar.png"));
+ int valor = ListBox.SelectedIndex;
+ if (ListBox.SelectedIndex != IsSelected)
+ valor = IsSelected;
- IsPaused = true;
- Button_Pause_Click(sender, e);
- mediaPlayer.Play();
+ mediaPlayer.Open(new Uri(URLS[valor]));
+
+ IsPaused = true;
+ Button_Pause_Click(sender, e);
+ mediaPlayer.Play();
+ }
}
}
@@ -1118,6 +1124,12 @@ private void Button_Delete_All_Click(object sender, RoutedEventArgs e)
mediaPlayer.Stop();
suma = new TimeSpan();
TextBlock_Info_PlayList.Text = $"";
+ Name_Music.Text = "-";
+
+ TextBlock_Author_Name.Text = "-";
+ Text_MinLength.Text = "-";
+ Text_MaxLength.Text = "-";
+ IsSelected = -1;
}
}
diff --git a/Reproductor de Musica/Reproductor de Musica.csproj b/Reproductor de Musica/Reproductor de Musica.csproj
index 6a8b8e6..0d87e35 100644
--- a/Reproductor de Musica/Reproductor de Musica.csproj
+++ b/Reproductor de Musica/Reproductor de Musica.csproj
@@ -29,8 +29,8 @@
Reproductor de Música
Johan Sánchez
true
- 7
- 3.0.0.%2a
+ 2
+ 3.2.0.%2a
false
true
true
diff --git a/Reproductor de Musica/bin/Debug/Reproductor de Musica.application b/Reproductor de Musica/bin/Debug/Reproductor de Musica.application
index bd17546..38b4ad9 100644
--- a/Reproductor de Musica/bin/Debug/Reproductor de Musica.application
+++ b/Reproductor de Musica/bin/Debug/Reproductor de Musica.application
@@ -1,6 +1,6 @@
-
+
@@ -8,13 +8,13 @@
-
+
- ZR50jfv3mIIUzy010A7p12+n8xgn9jXyE15S5lFfrJY=
+ wg/OEFdW4Wit0xnzckVtiFtYPaRzNqmYZYx6ekEvSNM=
diff --git a/Reproductor de Musica/bin/Debug/Reproductor de Musica.exe b/Reproductor de Musica/bin/Debug/Reproductor de Musica.exe
index d25ea44..b97bdbb 100644
Binary files a/Reproductor de Musica/bin/Debug/Reproductor de Musica.exe and b/Reproductor de Musica/bin/Debug/Reproductor de Musica.exe differ
diff --git a/Reproductor de Musica/bin/Debug/Reproductor de Musica.exe.manifest b/Reproductor de Musica/bin/Debug/Reproductor de Musica.exe.manifest
index 84e6c89..98739e2 100644
--- a/Reproductor de Musica/bin/Debug/Reproductor de Musica.exe.manifest
+++ b/Reproductor de Musica/bin/Debug/Reproductor de Musica.exe.manifest
@@ -1,6 +1,6 @@
-
+
@@ -43,14 +43,14 @@
-
+
- ELMyZFWTZi5iJt/HA27WH/j/THI8L8oCQNIoXo1u8I4=
+ RRl9kTRrokgzWa0QSSiUHqBll8EXqDseJdCSiBirgsw=
diff --git a/Reproductor de Musica/bin/Debug/Reproductor de Musica.pdb b/Reproductor de Musica/bin/Debug/Reproductor de Musica.pdb
index 0419992..1240813 100644
Binary files a/Reproductor de Musica/bin/Debug/Reproductor de Musica.pdb and b/Reproductor de Musica/bin/Debug/Reproductor de Musica.pdb differ
diff --git a/Reproductor de Musica/bin/Debug/app.publish/Application Files/Reproductor de Musica_3_2_0_2/Reproductor de Musica.exe.config.deploy b/Reproductor de Musica/bin/Debug/app.publish/Application Files/Reproductor de Musica_3_2_0_2/Reproductor de Musica.exe.config.deploy
new file mode 100644
index 0000000..193aecc
--- /dev/null
+++ b/Reproductor de Musica/bin/Debug/app.publish/Application Files/Reproductor de Musica_3_2_0_2/Reproductor de Musica.exe.config.deploy
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Reproductor de Musica/bin/Debug/app.publish/Application Files/Reproductor de Musica_3_2_0_2/Reproductor de Musica.exe.deploy b/Reproductor de Musica/bin/Debug/app.publish/Application Files/Reproductor de Musica_3_2_0_2/Reproductor de Musica.exe.deploy
new file mode 100644
index 0000000..b97bdbb
Binary files /dev/null and b/Reproductor de Musica/bin/Debug/app.publish/Application Files/Reproductor de Musica_3_2_0_2/Reproductor de Musica.exe.deploy differ
diff --git a/Reproductor de Musica/bin/Debug/app.publish/Application Files/Reproductor de Musica_3_2_0_2/Reproductor de Musica.exe.manifest b/Reproductor de Musica/bin/Debug/app.publish/Application Files/Reproductor de Musica_3_2_0_2/Reproductor de Musica.exe.manifest
new file mode 100644
index 0000000..98739e2
--- /dev/null
+++ b/Reproductor de Musica/bin/Debug/app.publish/Application Files/Reproductor de Musica_3_2_0_2/Reproductor de Musica.exe.manifest
@@ -0,0 +1,116 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ RRl9kTRrokgzWa0QSSiUHqBll8EXqDseJdCSiBirgsw=
+
+
+
+
+
+
+
+
+
+
+
+ X6ss9XMR2B9Nfflq0TpTJ1rlTP+2nsLkunt9xwaggKE=
+
+
+
+
+
+
+
+
+
+
+
+ 55yhmDiwn07OQ8oXi/dn20/GJSaL8oFhR7vFeqbOWqw=
+
+
+
+
+
+
+
+
+
+ c9Pw/BgZLrFnEE+2zJRqAMzGu3lLVrlo5WDDgorT67w=
+
+
+
+
+
+
+
+
+ +CM46OnHRrXZXNLMx7+U3V3iubiYL//d8hGOR13lDhU=
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Reproductor de Musica/bin/Debug/app.publish/Application Files/Reproductor de Musica_3_2_0_2/System.Drawing.Common.dll.deploy b/Reproductor de Musica/bin/Debug/app.publish/Application Files/Reproductor de Musica_3_2_0_2/System.Drawing.Common.dll.deploy
new file mode 100644
index 0000000..51a6c7b
Binary files /dev/null and b/Reproductor de Musica/bin/Debug/app.publish/Application Files/Reproductor de Musica_3_2_0_2/System.Drawing.Common.dll.deploy differ
diff --git a/Reproductor de Musica/bin/Debug/app.publish/Application Files/Reproductor de Musica_3_2_0_2/icon.ico.deploy b/Reproductor de Musica/bin/Debug/app.publish/Application Files/Reproductor de Musica_3_2_0_2/icon.ico.deploy
new file mode 100644
index 0000000..8172bd8
Binary files /dev/null and b/Reproductor de Musica/bin/Debug/app.publish/Application Files/Reproductor de Musica_3_2_0_2/icon.ico.deploy differ
diff --git a/Reproductor de Musica/bin/Debug/app.publish/Application Files/Reproductor de Musica_3_2_0_2/taglib-sharp.dll.deploy b/Reproductor de Musica/bin/Debug/app.publish/Application Files/Reproductor de Musica_3_2_0_2/taglib-sharp.dll.deploy
new file mode 100644
index 0000000..cdfcb4c
Binary files /dev/null and b/Reproductor de Musica/bin/Debug/app.publish/Application Files/Reproductor de Musica_3_2_0_2/taglib-sharp.dll.deploy differ
diff --git a/Reproductor de Musica/bin/Debug/app.publish/Reproductor de Musica.application b/Reproductor de Musica/bin/Debug/app.publish/Reproductor de Musica.application
new file mode 100644
index 0000000..eed6727
--- /dev/null
+++ b/Reproductor de Musica/bin/Debug/app.publish/Reproductor de Musica.application
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ wg/OEFdW4Wit0xnzckVtiFtYPaRzNqmYZYx6ekEvSNM=
+
+
+
+
\ No newline at end of file
diff --git a/Reproductor de Musica/bin/Debug/app.publish/Reproductor de Musica.exe b/Reproductor de Musica/bin/Debug/app.publish/Reproductor de Musica.exe
index d25ea44..b97bdbb 100644
Binary files a/Reproductor de Musica/bin/Debug/app.publish/Reproductor de Musica.exe and b/Reproductor de Musica/bin/Debug/app.publish/Reproductor de Musica.exe differ
diff --git a/Reproductor de Musica/bin/Debug/app.publish/setup.exe b/Reproductor de Musica/bin/Debug/app.publish/setup.exe
new file mode 100644
index 0000000..8cee39c
Binary files /dev/null and b/Reproductor de Musica/bin/Debug/app.publish/setup.exe differ
diff --git a/Reproductor de Musica/bin/Debug/historial.pytham b/Reproductor de Musica/bin/Debug/historial.pytham
index a110d31..6fd057f 100644
Binary files a/Reproductor de Musica/bin/Debug/historial.pytham and b/Reproductor de Musica/bin/Debug/historial.pytham differ
diff --git a/Reproductor de Musica/bin/Debug/historial_favorites.pytham b/Reproductor de Musica/bin/Debug/historial_favorites.pytham
index c77dc3d..f1d84f4 100644
Binary files a/Reproductor de Musica/bin/Debug/historial_favorites.pytham and b/Reproductor de Musica/bin/Debug/historial_favorites.pytham differ
diff --git a/Reproductor de Musica/bin/Debug/vp.pytham b/Reproductor de Musica/bin/Debug/vp.pytham
index a155fc7..e797ba8 100644
Binary files a/Reproductor de Musica/bin/Debug/vp.pytham and b/Reproductor de Musica/bin/Debug/vp.pytham differ
diff --git a/Reproductor de Musica/obj/Debug/Reproductor de Musica.application b/Reproductor de Musica/obj/Debug/Reproductor de Musica.application
index bd17546..38b4ad9 100644
--- a/Reproductor de Musica/obj/Debug/Reproductor de Musica.application
+++ b/Reproductor de Musica/obj/Debug/Reproductor de Musica.application
@@ -1,6 +1,6 @@
-
+
@@ -8,13 +8,13 @@
-
+
- ZR50jfv3mIIUzy010A7p12+n8xgn9jXyE15S5lFfrJY=
+ wg/OEFdW4Wit0xnzckVtiFtYPaRzNqmYZYx6ekEvSNM=
diff --git a/Reproductor de Musica/obj/Debug/Reproductor de Musica.csprojAssemblyReference.cache b/Reproductor de Musica/obj/Debug/Reproductor de Musica.csprojAssemblyReference.cache
index 6b05d2a..b81807d 100644
Binary files a/Reproductor de Musica/obj/Debug/Reproductor de Musica.csprojAssemblyReference.cache and b/Reproductor de Musica/obj/Debug/Reproductor de Musica.csprojAssemblyReference.cache differ
diff --git a/Reproductor de Musica/obj/Debug/Reproductor de Musica.exe b/Reproductor de Musica/obj/Debug/Reproductor de Musica.exe
index d25ea44..b97bdbb 100644
Binary files a/Reproductor de Musica/obj/Debug/Reproductor de Musica.exe and b/Reproductor de Musica/obj/Debug/Reproductor de Musica.exe differ
diff --git a/Reproductor de Musica/obj/Debug/Reproductor de Musica.exe.manifest b/Reproductor de Musica/obj/Debug/Reproductor de Musica.exe.manifest
index 84e6c89..98739e2 100644
--- a/Reproductor de Musica/obj/Debug/Reproductor de Musica.exe.manifest
+++ b/Reproductor de Musica/obj/Debug/Reproductor de Musica.exe.manifest
@@ -1,6 +1,6 @@
-
+
@@ -43,14 +43,14 @@
-
+
- ELMyZFWTZi5iJt/HA27WH/j/THI8L8oCQNIoXo1u8I4=
+ RRl9kTRrokgzWa0QSSiUHqBll8EXqDseJdCSiBirgsw=
diff --git a/Reproductor de Musica/obj/Debug/Reproductor de Musica.pdb b/Reproductor de Musica/obj/Debug/Reproductor de Musica.pdb
index 0419992..1240813 100644
Binary files a/Reproductor de Musica/obj/Debug/Reproductor de Musica.pdb and b/Reproductor de Musica/obj/Debug/Reproductor de Musica.pdb differ
diff --git a/Reproductor de Musica/obj/Debug/Reproductor de Musica_MarkupCompile.i.cache b/Reproductor de Musica/obj/Debug/Reproductor de Musica_MarkupCompile.i.cache
index 68d89b1..dcf98be 100644
--- a/Reproductor de Musica/obj/Debug/Reproductor de Musica_MarkupCompile.i.cache
+++ b/Reproductor de Musica/obj/Debug/Reproductor de Musica_MarkupCompile.i.cache
@@ -16,5 +16,5 @@ C:\Users\Johan Sánchez\source\repos\Reproductor de Musica\Reproductor de Musica
182067606266
ColorsRGB.xaml;src\Window_Streamer.xaml;MainWindow.xaml;Styles\ButtonClose.xaml;Styles\ButtonStyles.xaml;Styles\ListBox.xaml;Styles\Minimize.xaml;Styles\ProgressBar.xaml;Styles\Slider.xaml;Styles\Slider2.xaml;WinAjuste.xaml;
-True
+False
diff --git a/Reproductor de Musica/obj/Debug/Reproductor de Musica_MarkupCompile.i.lref b/Reproductor de Musica/obj/Debug/Reproductor de Musica_MarkupCompile.i.lref
deleted file mode 100644
index 237dc54..0000000
--- a/Reproductor de Musica/obj/Debug/Reproductor de Musica_MarkupCompile.i.lref
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
-FC:\Users\Johan Sánchez\source\repos\Reproductor de Musica\Reproductor de Musica\MainWindow.xaml;;
-