private TagInfo GetTagsFromFile(string path)
{
var tags = tagService.GetTagInfo(path);
if (tags == null || !tags.IsTrackUniquelyIdentifiable())
{
throw new Exception(
string.Format(
"Could not extract tags from file {0}. Track does not contain enought data to be identified as unique. Currate your input data!",
path));
}
return tags;
}