Ejemplo n.º 1
0
            public Model(Stream stream, string md5Path, LogEacFormat log, string logName, M3uFormat m3u, string signature) : base(md5Path, 16)
            {
                base._data = Data = new Md5Format(this, stream, md5Path);
                Data.fbs   = stream;

                CreateHistory();
                HistoryModel.Add("ripped", signature);

                HashedModel.AddActual(m3u.Name, m3u.FileMD5);
                HashedModel.AddActual(logName, log.FileMD5);
                foreach (var track in log.Tracks.Items)
                {
                    HashedModel.AddActual(track.Match.Name, track.Match.FileMD5);
                }
            }
Ejemplo n.º 2
0
 public Model(Stream stream, string path) : base(path, 16)
 {
     base._data = Data = new Md5Format(this, stream, path);
     ParseHeaderAndHistory();
     ParseHashes();
 }