示例#1
0
 /// <summary>
 /// Starts the asynchronous search for TV shows in a HTML document.
 /// </summary>
 /// <param name="url">The URL of the HTML document to get and parse.</param>
 public void BeginAsyncHTMLDiscovery(string url)
 {
     SearchThread = new Thread(() => DiscoveryDone.Fire(this, DiscoverFromHTML(url)));
     SearchThread.Start();
 }
示例#2
0
 /// <summary>
 /// Starts the asynchronous search for TV shows recursively starting from the specified path.
 /// </summary>
 /// <param name="path">The paths where to start the search.</param>
 public void BeginAsyncFileDiscovery(string path)
 {
     SearchThread = new Thread(() => DiscoveryDone.Fire(this, DiscoverFromPath(path)));
     SearchThread.Start();
 }