Interface IMetadataService
Namespace: MediaBrowser.Controller.Providers
Assembly: MediaBrowser.Controller.dll
Syntax
public interface IMetadataService
Properties
Order
Gets the order.
Declaration
int Order { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The order. |
Methods
CanRefresh(BaseItem)
Determines whether this instance can refresh the specified item.
Declaration
bool CanRefresh(BaseItem item)
Parameters
Type | Name | Description |
---|---|---|
BaseItem | item | The item. |
Returns
Type | Description |
---|---|
System.Boolean |
|
CanRefreshPrimary(Type)
Declaration
bool CanRefreshPrimary(Type type)
Parameters
Type | Name | Description |
---|---|---|
System.Type | type |
Returns
Type | Description |
---|---|
System.Boolean |
RefreshMetadata(BaseItem, MetadataRefreshOptions, BaseItem[], LibraryOptions, CancellationToken)
Refreshes the metadata.
Declaration
Task<ItemUpdateType> RefreshMetadata(BaseItem item, MetadataRefreshOptions refreshOptions, BaseItem[] collectionFolders, LibraryOptions libraryOptions, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
BaseItem | item | The item. |
MetadataRefreshOptions | refreshOptions | The options. |
BaseItem[] | collectionFolders | |
LibraryOptions | libraryOptions | |
System.Threading.CancellationToken | cancellationToken | The cancellation token. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<ItemUpdateType> | Task. |