public MusicShareWatcher()
 {
   InitializeComponent();
   Thread.CurrentThread.Name = "MusicShareWatcherApp";
   bMonitoring = true;
   // Setup the Watching
   watcher = new MusicShareWatcherHelper();
   watcher.SetMonitoring(true);
   watcher.StartMonitor();
 }
Beispiel #2
0
 public MusicShareWatcher()
 {
     InitializeComponent();
     Thread.CurrentThread.Name = "MusicShareWatcherApp";
     bMonitoring = true;
     // Setup the Watching
     watcher = new MusicShareWatcherHelper();
     watcher.SetMonitoring(true);
     watcher.StartMonitor();
 }
 public void Start()
 {
   using (Settings xmlreader = new MPSettings())
   {
     _monitor = xmlreader.GetValueAsBool("musicfiles", "monitorShares", false);
   }
   if (_monitor)
   {
     Log.Info("MusicShareWatcher Plugin {0} starting.", _version);
     watcher = new MusicShareWatcherHelper();
     watcher.SetMonitoring(true);
     watcher.StartMonitor();
     Log.Info("MusicShareWatcher Plugin now monitoring the shares.");
   }
 }
Beispiel #4
0
 public void Start()
 {
     using (Settings xmlreader = new MPSettings())
     {
         _monitor = xmlreader.GetValueAsBool("musicfiles", "monitorShares", false);
     }
     if (_monitor)
     {
         Log.Info("MusicShareWatcher Plugin {0} starting.", _version);
         watcher = new MusicShareWatcherHelper();
         watcher.SetMonitoring(true);
         watcher.StartMonitor();
         Log.Info("MusicShareWatcher Plugin now monitoring the shares.");
     }
 }