private void updateui()
 {
     Loved = CurrentSong.Loved;
     NowTitle.Text = CurrentSong.Title;
     NowAlbum.Text = CurrentSong.Album;
     GenresDetailsConverter converter = new GenresDetailsConverter();
     NowDetails.Text = (string)converter.Convert(CurrentSong, null, null, null);
     var con = new ArtistsConverter();
     NowArtist.Text = (string)con.Convert(CurrentSong.Artists, null, true, null);
     var c = PositionSlider.ThumbToolTipValueConverter as ThumbToolTipConveter;
     c.sParameter = CurrentSong.Duration.TotalSeconds;
     var d = new DurationValueConverter();
     TotalTimeBlock.Text = (string)d.Convert(CurrentSong.Duration, null, null, null);
     switch (CurrentSong.Rating)
     {
         case 0: NoStar.Begin(); break;
         case 1: OneStarSet.Begin(); break;
         case 2: TwoStarSet.Begin(); break;
         case 3: ThreeStarSet.Begin(); break;
         case 4: FourStarSet.Begin(); break;
         case 5: FiveStarSet.Begin(); break;
         default:
             break;
     }
     if (Loved)
     {
         LoveButtonLove.Begin();
     }
     else
     {
         LoveButtonNormal.Begin();
     }
 }
 private void ZoomInInitial()
 {
     AlbumSongsResources.Source = DetailedAlbum.Songs;
     AlbumDetailsHeader.Background = new SolidColorBrush(DetailedAlbum.Palette);
     AlbumArtWork.Source = new BitmapImage(new Uri(DetailedAlbum.AlbumArtWork));
     var brush = new SolidColorBrush(DetailedAlbum.TextMainColor);
     AlbumTitle.Foreground = brush;
     SongsDetailsBlock.Foreground = brush;
     brush = new SolidColorBrush(DetailedAlbum.TextSubColor);
     AlbumDetailsBlock.Foreground = brush;
     GenresDetailsBlock.Foreground = brush;
     AlbumDetailsConverter albumDetials = new AlbumDetailsConverter();
     string s = (string)albumDetials.Convert(DetailedAlbum, null, null, null);
     AlbumDetailsBlock.Text = s;
     SongsDetailsConverter songsDetails = new SongsDetailsConverter();
     s = (string)songsDetails.Convert(DetailedAlbum, null, null, null);
     SongsDetailsBlock.Text = s;
     GenresDetailsConverter genresDetails = new GenresDetailsConverter();
     s = (string)genresDetails.Convert(DetailedAlbum, null, null, null);
     GenresDetailsBlock.Text = s;
     AlbumTitle.Text = DetailedAlbum.AlbumName;
     var view = ApplicationView.GetForCurrentView();
     ApplicationViewTitleBar titleBar = view.TitleBar;
     titleBar.BackgroundColor = DetailedAlbum.Palette;
     titleBar.ButtonBackgroundColor = DetailedAlbum.Palette;
     SystemNavigationManager.GetForCurrentView().BackRequested += Zoom_BackRequested;
     SystemNavigationManager.GetForCurrentView().AppViewBackButtonVisibility = AppViewBackButtonVisibility.Visible;
     DetailsScrollViewer.ChangeView(0, 0, 1);
 }