From 5fdd7ec6725a3acb3365e92c090f2e90bbbf122f Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sun, 16 Nov 2014 15:44:08 -0500 Subject: add new naming project --- MediaBrowser.Controller/Library/ILibraryManager.cs | 52 ++++++++++++++++++++++ 1 file changed, 52 insertions(+) (limited to 'MediaBrowser.Controller/Library/ILibraryManager.cs') diff --git a/MediaBrowser.Controller/Library/ILibraryManager.cs b/MediaBrowser.Controller/Library/ILibraryManager.cs index be43f4527..68b99e472 100644 --- a/MediaBrowser.Controller/Library/ILibraryManager.cs +++ b/MediaBrowser.Controller/Library/ILibraryManager.cs @@ -353,5 +353,57 @@ namespace MediaBrowser.Controller.Library string viewType, string sortName, CancellationToken cancellationToken); + + /// + /// Determines whether [is video file] [the specified path]. + /// + /// The path. + /// true if [is video file] [the specified path]; otherwise, false. + bool IsVideoFile(string path); + + bool IsAudioFile(string path); + + /// + /// Determines whether [is multi part file] [the specified path]. + /// + /// The path. + /// true if [is multi part file] [the specified path]; otherwise, false. + bool IsMultiPartFile(string path); + + /// + /// Determines whether [is multi part folder] [the specified path]. + /// + /// The path. + /// true if [is multi part folder] [the specified path]; otherwise, false. + bool IsMultiPartFolder(string path); + + /// + /// Gets the season number from path. + /// + /// The path. + /// System.Nullable<System.Int32>. + int? GetSeasonNumberFromPath(string path); + + /// + /// Gets the season number from episode file. + /// + /// The path. + /// System.Nullable<System.Int32>. + int? GetSeasonNumberFromEpisodeFile(string path); + + /// + /// Gets the ending episode number from file. + /// + /// The path. + /// System.Nullable<System.Int32>. + int? GetEndingEpisodeNumberFromFile(string path); + + /// + /// Gets the episode number from file. + /// + /// The path. + /// if set to true [consider seasonless]. + /// System.Nullable<System.Int32>. + int? GetEpisodeNumberFromFile(string path, bool considerSeasonless); } } \ No newline at end of file -- cgit v1.2.3