Пример #1
0
        public IMetadataIdentifier LookupPuid(Uri path)
        {
            MetadataFactory factory = new MetadataFactory();
            IMediaItem      track   = factory.CreateAudioTrack(path);

            //TODO: Implement a replacement for track.MetadataIdentifiers
            //foreach (IMetadataIdentifier metadataId in track.MetadataIdentifiers)
            //{
            //if (metadataId.Type.Contains("MusicDnsId"))
            //return metadataId;
            //}
            return(null);
        }