|
4 | 4 | using TagLibSharp2.Core; |
5 | 5 | using TagLibSharp2.Id3.Id3v2; |
6 | 6 | using TagLibSharp2.Mpeg; |
7 | | -using TagLibSharp2.Xiph; |
8 | 7 | using TagLibSharp2.Ogg; |
| 8 | +using TagLibSharp2.Xiph; |
9 | 9 |
|
10 | | -Console.WriteLine("TagLibSharp2 File Operations Examples"); |
11 | | -Console.WriteLine(new string('=', 50)); |
| 10 | +Console.WriteLine ("TagLibSharp2 File Operations Examples"); |
| 11 | +Console.WriteLine (new string ('=', 50)); |
12 | 12 |
|
13 | 13 | // Example 1: Auto-detect and read any supported format |
14 | | -Console.WriteLine("\n1. Auto-Detect Format"); |
15 | | -Console.WriteLine("-".PadRight(30, '-')); |
| 14 | +Console.WriteLine ("\n1. Auto-Detect Format"); |
| 15 | +Console.WriteLine ("-".PadRight (30, '-')); |
16 | 16 |
|
17 | 17 | await DemoAutoDetect ().ConfigureAwait (false); |
18 | 18 |
|
19 | 19 | // Example 2: Batch processing with progress |
20 | | -Console.WriteLine("\n2. Batch Processing"); |
21 | | -Console.WriteLine("-".PadRight(30, '-')); |
| 20 | +Console.WriteLine ("\n2. Batch Processing"); |
| 21 | +Console.WriteLine ("-".PadRight (30, '-')); |
22 | 22 |
|
23 | 23 | await DemoBatchProcessing ().ConfigureAwait (false); |
24 | 24 |
|
25 | 25 | // Example 3: Tag validation |
26 | | -Console.WriteLine("\n3. Tag Validation"); |
27 | | -Console.WriteLine("-".PadRight(30, '-')); |
| 26 | +Console.WriteLine ("\n3. Tag Validation"); |
| 27 | +Console.WriteLine ("-".PadRight (30, '-')); |
28 | 28 |
|
29 | 29 | DemoTagValidation (); |
30 | 30 |
|
31 | 31 | // Example 4: Cross-format tag copying |
32 | | -Console.WriteLine("\n4. Cross-Format Tag Copying"); |
33 | | -Console.WriteLine("-".PadRight(30, '-')); |
| 32 | +Console.WriteLine ("\n4. Cross-Format Tag Copying"); |
| 33 | +Console.WriteLine ("-".PadRight (30, '-')); |
34 | 34 |
|
35 | 35 | DemoTagCopy (); |
36 | 36 |
|
37 | 37 | // Example 5: Safe file operations |
38 | | -Console.WriteLine("\n5. Safe File Operations"); |
39 | | -Console.WriteLine("-".PadRight(30, '-')); |
| 38 | +Console.WriteLine ("\n5. Safe File Operations"); |
| 39 | +Console.WriteLine ("-".PadRight (30, '-')); |
40 | 40 |
|
41 | 41 | await DemoSafeFileOps ().ConfigureAwait (false); |
42 | 42 |
|
43 | | -Console.WriteLine("\nAll examples completed!"); |
| 43 | +Console.WriteLine ("\nAll examples completed!"); |
44 | 44 |
|
45 | 45 | // --- Example Implementations --- |
46 | 46 |
|
|
0 commit comments