Exemplo n.º 1
0
 public MusicShareWatcher()
 {
   InitializeComponent();
   Thread.CurrentThread.Name = "MusicShareWatcherApp";
   bMonitoring = true;
   // Setup the Watching
   watcher = new MusicShareWatcherHelper();
   watcher.SetMonitoring(true);
   watcher.StartMonitor();
 }
Exemplo n.º 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.");
   }
 }
Exemplo n.º 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.");
     }
 }