SoundFingerprinting.Utils.TestRunner.GetTagsFromFile C# (CSharp) Method

GetTagsFromFile() private method

private GetTagsFromFile ( string path ) : TagInfo
path string
return SoundFingerprinting.Audio.TagInfo
        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;
        }