@@ -24,6 +24,7 @@ public class FfmetadataFormat : IMetadataFormat
2424
2525 private const string FfmetadataHeader = ";FFMETADATA" ;
2626 private static readonly char [ ] CharsToEscape = { '=' , ';' , '#' , '\\ ' , '\n ' } ;
27+ /*
2728 // TBPM=0,
2829 // TMED=CD,
2930 // language=eng,
@@ -35,7 +36,7 @@ public class FfmetadataFormat : IMetadataFormat
3536 // lyrics-XXX (where XXX is either XXX or language code, e.g. -eng)
3637 // disc
3738 //
38-
39+ */
3940 /*
4041 const AVMetadataConv ff_id3v2_34_metadata_conv[] = {
4142
@@ -52,7 +53,8 @@ public class FfmetadataFormat : IMetadataFormat
5253 { "USLT", "lyrics" },
5354 { 0 }
5455};
55-
56+ */
57+ /*
5658const AVMetadataConv ff_id3v2_4_metadata_conv[] = {
5759 { "TCMP", "compilation" },
5860 { "TDRC", "date" },
@@ -64,7 +66,8 @@ public class FfmetadataFormat : IMetadataFormat
6466 { "TIT1", "grouping" },
6567 { 0 }
6668};
67-
69+ */
70+ /*
6871static const AVMetadataConv id3v2_2_metadata_conv[] = {
6972
7073 { "TCP", "compilation" },
@@ -183,7 +186,7 @@ public class FfmetadataFormat : IMetadataFormat
183186 // (MetadataProperty.Conductor, typeof(string), "",null),
184187 ( MetadataProperty . Copyright , typeof ( string ) , "copyright" , null ) ,
185188 ( MetadataProperty . Description , typeof ( string ) , "description" , null ) ,
186- // (MetadataProperty.DiscNumber, typeof(string ), "album ",null), // disc = 1/1
189+ // (MetadataProperty.DiscNumber, typeof(int ), "disc ",null), // disc = 1/1
187190 // (MetadataProperty.DiscTotal, typeof(string), "album",null), // disc = 1/1
188191 ( MetadataProperty . EncodedBy , typeof ( string ) , "encoded_by" , null ) ,
189192 // (MetadataProperty.EncoderSettings, typeof(string), "album",null),
@@ -273,6 +276,13 @@ private static void ParseMetadataProperties(Dictionary<string, string> propertie
273276 orderedKeys . Add ( ffmetakey ) ;
274277 foreach ( var propertyKey in orderedKeys . Where ( properties . ContainsKey ) )
275278 {
279+
280+ /*
281+ if (propertyKey == "disk")
282+ {
283+
284+ }
285+ */
276286 metadata . SetMetadataPropertyValue ( property , properties [ propertyKey ] , type ) ;
277287 }
278288 }
0 commit comments