Initial commit — M3U playlist tool with MP3/AAC encoding

This commit is contained in:
2026-05-10 03:02:53 +00:00
commit b14531362b
114 changed files with 14184 additions and 0 deletions
+39
View File
@@ -0,0 +1,39 @@
using System.Diagnostics;
using System.IO;
namespace m3uTool.Tests
{
/// <summary>
/// Summary description for CreateM3uTest.
/// </summary>
public class CreateM3uTests
{
public void CreateM3uTest()
{
var c = new M3uCreate(new DirectoryInfo(@"C:\mp3\"));
// c.OutputFilename = @"c:\mym3u.m3u";
Debug.WriteLine(c.OutputFilename);
c.Create();
}
public void CreateSubM3uTest()
{
var rootDir = new DirectoryInfo(@"C:\mp3\");
int count = 0;
foreach (DirectoryInfo subDir in rootDir.GetDirectories())
{
var c = new M3uCreate(subDir);
Debug.WriteLine(c.OutputFilename);
c.Create();
if (count++ > 10)
break;
}
// c.OutputFilename = @"c:\mym3u.m3u";
}
}
}