Exemplo n.º 1
0
 public MkvMergeAction(Episode ep)
     : this()
 {
     MkvInfo = MkvInfo.Parse(ep.fileInfo.FullName);
     MkvFileInfo = ep.fileInfo;
     Episode = ep;
     LoadFolderSubs(MkvFileInfo.DirectoryName);
 }
Exemplo n.º 2
0
        private void LoadFile(string file)
        {
            var fi = new FileInfo(file);
            if (fi.Extension != ".mkv") {
                MessageBox.Show("File '" + fi.Name + "' is not an mkv");
                return;
            }
            Episode ep = new Episode(fi);

            MkvMergeAction mergeAction = new MkvMergeAction(ep);
            Invoke(new NewRowDelegate(NewRow), fi, mergeAction);
        }