示例#1
0
        private static async Task Main()
        {
            var source   = new RkSource();
            var playlist = await Playlist.CreateFrom(source);

            var watcher = new Watcher();

            watcher.AddTarget("keyName", playlist);
            watcher.Start();
            watcher.TrackChanged += (sender, changed) => Console.WriteLine($"{changed}");
            Console.ReadKey();
        }