|
|
@ -25,7 +25,7 @@ namespace MediaBrowser.Controller.Library
|
|
|
|
/// <param name="fileInfo">The file information.</param>
|
|
|
|
/// <param name="fileInfo">The file information.</param>
|
|
|
|
/// <param name="parent">The parent.</param>
|
|
|
|
/// <param name="parent">The parent.</param>
|
|
|
|
/// <returns>BaseItem.</returns>
|
|
|
|
/// <returns>BaseItem.</returns>
|
|
|
|
BaseItem ResolvePath(FileSystemMetadata fileInfo,
|
|
|
|
BaseItem ResolvePath(FileSystemMetadata fileInfo,
|
|
|
|
Folder parent = null);
|
|
|
|
Folder parent = null);
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
@ -36,9 +36,9 @@ namespace MediaBrowser.Controller.Library
|
|
|
|
/// <param name="parent">The parent.</param>
|
|
|
|
/// <param name="parent">The parent.</param>
|
|
|
|
/// <param name="collectionType">Type of the collection.</param>
|
|
|
|
/// <param name="collectionType">Type of the collection.</param>
|
|
|
|
/// <returns>List{``0}.</returns>
|
|
|
|
/// <returns>List{``0}.</returns>
|
|
|
|
IEnumerable<BaseItem> ResolvePaths(IEnumerable<FileSystemMetadata> files,
|
|
|
|
IEnumerable<BaseItem> ResolvePaths(IEnumerable<FileSystemMetadata> files,
|
|
|
|
IDirectoryService directoryService,
|
|
|
|
IDirectoryService directoryService,
|
|
|
|
Folder parent, string
|
|
|
|
Folder parent, string
|
|
|
|
collectionType = null);
|
|
|
|
collectionType = null);
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
@ -60,7 +60,7 @@ namespace MediaBrowser.Controller.Library
|
|
|
|
/// <param name="path">The path.</param>
|
|
|
|
/// <param name="path">The path.</param>
|
|
|
|
/// <returns>BaseItem.</returns>
|
|
|
|
/// <returns>BaseItem.</returns>
|
|
|
|
BaseItem FindByPath(string path);
|
|
|
|
BaseItem FindByPath(string path);
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// Gets the artist.
|
|
|
|
/// Gets the artist.
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
@ -156,7 +156,7 @@ namespace MediaBrowser.Controller.Library
|
|
|
|
/// <param name="id">The identifier.</param>
|
|
|
|
/// <param name="id">The identifier.</param>
|
|
|
|
/// <returns>BaseItem.</returns>
|
|
|
|
/// <returns>BaseItem.</returns>
|
|
|
|
BaseItem GetMemoryItemById(Guid id);
|
|
|
|
BaseItem GetMemoryItemById(Guid id);
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// Gets the intros.
|
|
|
|
/// Gets the intros.
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
@ -243,6 +243,8 @@ namespace MediaBrowser.Controller.Library
|
|
|
|
/// <returns>BaseItem.</returns>
|
|
|
|
/// <returns>BaseItem.</returns>
|
|
|
|
BaseItem RetrieveItem(Guid id);
|
|
|
|
BaseItem RetrieveItem(Guid id);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bool IsScanRunning { get; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// Occurs when [item added].
|
|
|
|
/// Occurs when [item added].
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
@ -290,7 +292,7 @@ namespace MediaBrowser.Controller.Library
|
|
|
|
/// <param name="path">The path.</param>
|
|
|
|
/// <param name="path">The path.</param>
|
|
|
|
/// <returns>System.String.</returns>
|
|
|
|
/// <returns>System.String.</returns>
|
|
|
|
string GetConfiguredContentType(string path);
|
|
|
|
string GetConfiguredContentType(string path);
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// Normalizes the root path list.
|
|
|
|
/// Normalizes the root path list.
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
@ -332,8 +334,8 @@ namespace MediaBrowser.Controller.Library
|
|
|
|
Task<UserView> GetNamedView(User user,
|
|
|
|
Task<UserView> GetNamedView(User user,
|
|
|
|
string name,
|
|
|
|
string name,
|
|
|
|
string parentId,
|
|
|
|
string parentId,
|
|
|
|
string viewType,
|
|
|
|
string viewType,
|
|
|
|
string sortName,
|
|
|
|
string sortName,
|
|
|
|
CancellationToken cancellationToken);
|
|
|
|
CancellationToken cancellationToken);
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
@ -346,8 +348,8 @@ namespace MediaBrowser.Controller.Library
|
|
|
|
/// <param name="cancellationToken">The cancellation token.</param>
|
|
|
|
/// <param name="cancellationToken">The cancellation token.</param>
|
|
|
|
/// <returns>Task<UserView>.</returns>
|
|
|
|
/// <returns>Task<UserView>.</returns>
|
|
|
|
Task<UserView> GetNamedView(User user,
|
|
|
|
Task<UserView> GetNamedView(User user,
|
|
|
|
string name,
|
|
|
|
string name,
|
|
|
|
string viewType,
|
|
|
|
string viewType,
|
|
|
|
string sortName,
|
|
|
|
string sortName,
|
|
|
|
CancellationToken cancellationToken);
|
|
|
|
CancellationToken cancellationToken);
|
|
|
|
|
|
|
|
|
|
|
@ -393,7 +395,7 @@ namespace MediaBrowser.Controller.Library
|
|
|
|
string viewType,
|
|
|
|
string viewType,
|
|
|
|
string sortName,
|
|
|
|
string sortName,
|
|
|
|
CancellationToken cancellationToken);
|
|
|
|
CancellationToken cancellationToken);
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// Determines whether [is video file] [the specified path].
|
|
|
|
/// Determines whether [is video file] [the specified path].
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
@ -477,14 +479,14 @@ namespace MediaBrowser.Controller.Library
|
|
|
|
/// <param name="query">The query.</param>
|
|
|
|
/// <param name="query">The query.</param>
|
|
|
|
/// <returns>List<PersonInfo>.</returns>
|
|
|
|
/// <returns>List<PersonInfo>.</returns>
|
|
|
|
List<PersonInfo> GetPeople(InternalPeopleQuery query);
|
|
|
|
List<PersonInfo> GetPeople(InternalPeopleQuery query);
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// Gets the people items.
|
|
|
|
/// Gets the people items.
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="query">The query.</param>
|
|
|
|
/// <param name="query">The query.</param>
|
|
|
|
/// <returns>List<Person>.</returns>
|
|
|
|
/// <returns>List<Person>.</returns>
|
|
|
|
List<Person> GetPeopleItems(InternalPeopleQuery query);
|
|
|
|
List<Person> GetPeopleItems(InternalPeopleQuery query);
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// Gets all people names.
|
|
|
|
/// Gets all people names.
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
@ -559,7 +561,7 @@ namespace MediaBrowser.Controller.Library
|
|
|
|
/// <param name="query">The query.</param>
|
|
|
|
/// <param name="query">The query.</param>
|
|
|
|
/// <returns>QueryResult<BaseItem>.</returns>
|
|
|
|
/// <returns>QueryResult<BaseItem>.</returns>
|
|
|
|
QueryResult<BaseItem> GetItemsResult(InternalItemsQuery query);
|
|
|
|
QueryResult<BaseItem> GetItemsResult(InternalItemsQuery query);
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// Ignores the file.
|
|
|
|
/// Ignores the file.
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|