From c1fe9d45a41b3e3dfddfe7a383ff8d7a6c4570b1 Mon Sep 17 00:00:00 2001 From: amazing-username Date: Fri, 31 May 2019 22:29:25 -0400 Subject: [PATCH] Continuing work on the player view --- Mear/Mear/Mear.csproj | 1 + Mear/Mear/Utilities/SongMetadataRetriever.cs | 40 +++++++++++++++ Mear/Mear/Views/MearPlayerView.xaml | 25 ++++++++-- Mear/Mear/Views/MearPlayerView.xaml.cs | 51 +++++++++++++++++++- Mear/Mear/Views/SongView.xaml.cs | 2 +- 5 files changed, 113 insertions(+), 6 deletions(-) create mode 100644 Mear/Mear/Utilities/SongMetadataRetriever.cs diff --git a/Mear/Mear/Mear.csproj b/Mear/Mear/Mear.csproj index 0bd109c..f1bbd5e 100644 --- a/Mear/Mear/Mear.csproj +++ b/Mear/Mear/Mear.csproj @@ -15,6 +15,7 @@ + diff --git a/Mear/Mear/Utilities/SongMetadataRetriever.cs b/Mear/Mear/Utilities/SongMetadataRetriever.cs new file mode 100644 index 0000000..3ee9808 --- /dev/null +++ b/Mear/Mear/Utilities/SongMetadataRetriever.cs @@ -0,0 +1,40 @@ +using System; +using System.Collections.Generic; +using System.Text; + +using TagLib; + +using Mear.Models; + +namespace Mear.Utilities +{ + public class SongMetadataRetriever + { + #region Fields + #endregion + + + #region Properties + #endregion + + + #region Constructors + #endregion + + + #region Methods + public Song ExtractData(string songPath) + { + try + { + } + catch (Exception ex) + { + var msg = ex.Message; + } + + return null; + } + #endregion + } +} diff --git a/Mear/Mear/Views/MearPlayerView.xaml b/Mear/Mear/Views/MearPlayerView.xaml index 58b9394..bcbe6db 100644 --- a/Mear/Mear/Views/MearPlayerView.xaml +++ b/Mear/Mear/Views/MearPlayerView.xaml @@ -12,17 +12,36 @@ + + + + + Grid.Row="3"> +