C# Class MediaPortal.Plugins.MovingPictures.LocalMediaManagement.MovieRenamer.MovieRenamer

Exibir arquivo Open project: damienhaynes/moving-pictures Class Usage Examples

Public Methods

Method Description
GetRenameActionList ( DBMovieInfo movie ) : List
MovieRenamer ( ) : System
Rename ( DBMovieInfo movie ) : bool
Revert ( DBMovieInfo movie ) : bool

Private Methods

Method Description
AddPartInfo ( string baseFileName, DBLocalMedia file ) : string
GetDirectoryRenamable ( DBMovieInfo movie ) : RenamableDirectory
GetNewDirectoryName ( DBMovieInfo movie ) : string
GetNewFileName ( DBLocalMedia file ) : string
GetSecondaryFiles ( DBLocalMedia mainFile ) : List
ReplaceVariables ( DBMovieInfo movie, string pattern ) : string
getVariableMapping ( DBMovieInfo movie ) : string>.Dictionary

Method Details

GetRenameActionList() public method

public GetRenameActionList ( DBMovieInfo movie ) : List
movie MediaPortal.Plugins.MovingPictures.Database.DBMovieInfo
return List

MovieRenamer() public method

public MovieRenamer ( ) : System
return System

Rename() public method

public Rename ( DBMovieInfo movie ) : bool
movie MediaPortal.Plugins.MovingPictures.Database.DBMovieInfo
return bool

Revert() public method

public Revert ( DBMovieInfo movie ) : bool
movie MediaPortal.Plugins.MovingPictures.Database.DBMovieInfo
return bool