//Перемотка
        private void TimeSlider_Scroll(object sender, EventArgs Handlere)
        {
            Slider slider = sender as Slider;

            //Классный костыль, т.к. метод смены времени запускался тогда, когда слайдер сам двигался,
            //то теперь он будет двигаться, если разница во времени больше секунды или отрицательная
            if (slider.Value - BassPlayer.GetPos(BassPlayer.Stream) > 1 || slider.Value - BassPlayer.GetPos(BassPlayer.Stream) < 0)
            {
                BassPlayer.PosScroll(BassPlayer.Stream, slider.Value);
            }
        }
        //Предыдущий трэк
        private void butPrevious_Click(object sender, EventArgs e)
        {
            if (BassPlayer.GetPos(BassPlayer.Stream) > 5)
            {
                BassPlayer.PosScroll(BassPlayer.Stream, 0);
            }
            else if (Vars.Shuffle == true)
            {
                Random rand = new Random();
                int    r    = rand.Next(0, Vars.Files.Count);

                try
                {
                    string current = Vars.Files[r];

                    Vars.CurrentTrackNumber = r;
                    PlayList.SelectedIndex  = r;

                    BassPlayer.Play(current, BassPlayer.Volume);
                    Song SongNow = new Song(current);
                    SongName.Text = SongNow.Title;
                    Album.Text    = SongNow.AlbumName;
                    Band.Text     = SongNow.ArtistName;
                    Year.Text     = SongNow.Year;
                }
                catch { }

                try
                {
                    string      current  = Vars.Files[r];
                    TagLib.File file_TAG = TagLib.File.Create(current);
                    var         bin      = (byte[])(file_TAG.Tag.Pictures[0].Data.Data);

                    var img = GetArt.ImgFromBytes(bin);
                    Art.Source = img;
                }
                catch
                {
                    BitmapImage bi3 = new BitmapImage();
                    bi3.UriSource = new Uri("vinil.png", UriKind.Relative);
                    Art.Source    = bi3;
                }

                SongTimeNow.Text   = TimeSpan.FromSeconds(BassPlayer.GetPos(BassPlayer.Stream)).ToString();
                SongLenght.Text    = TimeSpan.FromSeconds(BassPlayer.GetSongLenght(BassPlayer.Stream)).ToString();
                TimeSlider.Maximum = BassPlayer.GetSongLenght(BassPlayer.Stream);
                TimeSlider.Value   = BassPlayer.GetPos(BassPlayer.Stream);
            }
            else if (Vars.Repeat == true)
            {
                try
                {
                    BassPlayer.Play(Vars.Files[Vars.CurrentTrackNumber], BassPlayer.Volume);
                }
                catch { }
            }
            else if ((PlayList.Items.Count != 0) && (PlayList.SelectedIndex != -1))
            {
                string current = "";

                if (Vars.CurrentTrackNumber > 0)
                {
                    current = Vars.Files[PlayList.SelectedIndex - 1];
                    Vars.CurrentTrackNumber--;
                    PlayList.SelectedIndex = PlayList.SelectedIndex - 1;
                }

                else
                {
                    current = Vars.Files[Vars.Files.Count - 1];
                    Vars.CurrentTrackNumber = Vars.Files.Count - 1;
                    PlayList.SelectedIndex  = Vars.Files.Count - 1;
                }

                BassPlayer.Play(current, BassPlayer.Volume);
                Song SongNow = new Song(current);
                SongName.Text = SongNow.Title;
                Album.Text    = SongNow.AlbumName;
                Band.Text     = SongNow.ArtistName;
                Year.Text     = SongNow.Year;

                try
                {
                    TagLib.File file_TAG = TagLib.File.Create(current);
                    var         bin      = (byte[])(file_TAG.Tag.Pictures[0].Data.Data);

                    var img = GetArt.ImgFromBytes(bin);
                    Art.Source = img;
                }
                catch
                {
                    BitmapImage bi3 = new BitmapImage();
                    bi3.UriSource = new Uri("vinil.png", UriKind.Relative);
                    Art.Source    = bi3;
                }

                SongTimeNow.Text   = TimeSpan.FromSeconds(BassPlayer.GetPos(BassPlayer.Stream)).ToString();
                SongLenght.Text    = TimeSpan.FromSeconds(BassPlayer.GetSongLenght(BassPlayer.Stream)).ToString();
                TimeSlider.Maximum = BassPlayer.GetSongLenght(BassPlayer.Stream);
                TimeSlider.Value   = BassPlayer.GetPos(BassPlayer.Stream);
                timerStart();
            }
        }