C# Class MediaPortal.GUI.Music.MusicFolderWatcherHelper

Afficher le fichier Open project: MediaPortal/MediaPortal-1

Méthodes publiques

Méthode Description
ChangeMonitoring ( bool status ) : void
MusicFolderWatcherHelper ( string directory ) : System
SetMonitoring ( bool status ) : void
StartMonitor ( ) : void

Private Methods

Méthode Description
AddMusic ( string strFilename ) : void
AddMusicDirectory ( string strPath ) : void
DeleteMusic ( string strFilename ) : void
DeleteMusicDirectory ( string strPath ) : void
OnChanged ( object source, FileSystemEventArgs e ) : void
OnCreated ( object source, FileSystemEventArgs e ) : void
OnDeleted ( object source, FileSystemEventArgs e ) : void
OnDirectoryCreated ( object source, FileSystemEventArgs e ) : void
OnDirectoryDeleted ( object source, FileSystemEventArgs e ) : void
OnDirectoryRenamed ( object source, RenamedEventArgs e ) : void
OnRenamed ( object source, RenamedEventArgs e ) : void
ProcessEvents ( object sender, System.Timers.ElapsedEventArgs e ) : void
RenameMusic ( string oldFilename, string newFilename ) : void
RenameMusicDirectory ( string oldDirectory, string newDirectory ) : void
WatchFolders ( ) : void

Method Details

ChangeMonitoring() public méthode

public ChangeMonitoring ( bool status ) : void
status bool
Résultat void

MusicFolderWatcherHelper() public méthode

public MusicFolderWatcherHelper ( string directory ) : System
directory string
Résultat System

SetMonitoring() public méthode

public SetMonitoring ( bool status ) : void
status bool
Résultat void

StartMonitor() public méthode

public StartMonitor ( ) : void
Résultat void