aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Library/ILibraryManager.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2014-11-16 15:44:08 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2014-11-16 15:44:08 -0500
commit5fdd7ec6725a3acb3365e92c090f2e90bbbf122f (patch)
treee6032d9319cf2f459d2c5e718c36669c21d6dbfe /MediaBrowser.Controller/Library/ILibraryManager.cs
parent4edcab9c11cf8e8cfbfc0bd9afe7b7ec067fd1e3 (diff)
add new naming project
Diffstat (limited to 'MediaBrowser.Controller/Library/ILibraryManager.cs')
-rw-r--r--MediaBrowser.Controller/Library/ILibraryManager.cs52
1 files changed, 52 insertions, 0 deletions
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);
+
+ /// <summary>
+ /// Determines whether [is video file] [the specified path].
+ /// </summary>
+ /// <param name="path">The path.</param>
+ /// <returns><c>true</c> if [is video file] [the specified path]; otherwise, <c>false</c>.</returns>
+ bool IsVideoFile(string path);
+
+ bool IsAudioFile(string path);
+
+ /// <summary>
+ /// Determines whether [is multi part file] [the specified path].
+ /// </summary>
+ /// <param name="path">The path.</param>
+ /// <returns><c>true</c> if [is multi part file] [the specified path]; otherwise, <c>false</c>.</returns>
+ bool IsMultiPartFile(string path);
+
+ /// <summary>
+ /// Determines whether [is multi part folder] [the specified path].
+ /// </summary>
+ /// <param name="path">The path.</param>
+ /// <returns><c>true</c> if [is multi part folder] [the specified path]; otherwise, <c>false</c>.</returns>
+ bool IsMultiPartFolder(string path);
+
+ /// <summary>
+ /// Gets the season number from path.
+ /// </summary>
+ /// <param name="path">The path.</param>
+ /// <returns>System.Nullable&lt;System.Int32&gt;.</returns>
+ int? GetSeasonNumberFromPath(string path);
+
+ /// <summary>
+ /// Gets the season number from episode file.
+ /// </summary>
+ /// <param name="path">The path.</param>
+ /// <returns>System.Nullable&lt;System.Int32&gt;.</returns>
+ int? GetSeasonNumberFromEpisodeFile(string path);
+
+ /// <summary>
+ /// Gets the ending episode number from file.
+ /// </summary>
+ /// <param name="path">The path.</param>
+ /// <returns>System.Nullable&lt;System.Int32&gt;.</returns>
+ int? GetEndingEpisodeNumberFromFile(string path);
+
+ /// <summary>
+ /// Gets the episode number from file.
+ /// </summary>
+ /// <param name="path">The path.</param>
+ /// <param name="considerSeasonless">if set to <c>true</c> [consider seasonless].</param>
+ /// <returns>System.Nullable&lt;System.Int32&gt;.</returns>
+ int? GetEpisodeNumberFromFile(string path, bool considerSeasonless);
}
} \ No newline at end of file