Created a properties form, testing dynamic UI building for the relevant MKV attributes.
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
@@ -81,7 +80,7 @@ namespace MKVTest
|
||||
stack.Push(tag);
|
||||
lastDepthLevel = depth;
|
||||
}
|
||||
|
||||
//File.WriteAllLines(@"C:\Users\glmcc\Desktop\Test.info", xml);
|
||||
return xml;
|
||||
}
|
||||
|
||||
@@ -93,7 +92,7 @@ namespace MKVTest
|
||||
var insideBraces = false;
|
||||
var name = new StringBuilder();
|
||||
var value = new StringBuilder();
|
||||
var attributes = new List<MkvAttribute>();
|
||||
//var attributes = new List<MkvAttribute>();
|
||||
|
||||
for (var i = 0; i < text.Length; i++)
|
||||
{
|
||||
@@ -139,10 +138,6 @@ namespace MKVTest
|
||||
if(!insideBraces) name.Append(text[i]);
|
||||
}
|
||||
}
|
||||
//if (text.Contains("Segment, "))
|
||||
//{
|
||||
// name.Clear();
|
||||
//}
|
||||
tag.Name = FormatTagName(name.ToString());
|
||||
tag.Value = value.ToString().Trim();
|
||||
tag.Depth = tagDepth;
|
||||
|
||||
Reference in New Issue
Block a user