public void SayMedia()
{
if (string.IsNullOrEmpty(fileInfo.Url))
return;
try
{
var title = fileInfo.Id3Tags.Title;
var artist = fileInfo.Id3Tags.Artist;
if (!string.IsNullOrEmpty(title))
{
if (!string.IsNullOrEmpty(artist))
Speak(title + ", by " + artist);
else
Speak(title);
}
else Speak(fileInfo.MovieName);
}
catch (Exception ex)
{
System.Diagnostics.Debug.WriteLine(ex.Message);
}
}