Class MusicGenre
Class MusicGenre
Inherited Members
Namespace: MediaBrowser.Controller.Entities.Audio
Assembly: MediaBrowser.Controller.dll
Syntax
public sealed class MusicGenre : BaseItem, IHasProviderIds, IHasLookupInfo<ItemLookupInfo>, IItemByName, IHasFolderGrouping
Properties
ContainingFolderPath
Returns the folder containing the item. If the item is a folder, it returns the folder itself
Declaration
[IgnoreDataMember]
public override string ContainingFolderPath { get; }
Property Value
Type | Description |
---|---|
System.String | The containing folder path. |
Overrides
IsDisplayedAsFolder
Declaration
[IgnoreDataMember]
public override bool IsDisplayedAsFolder { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
SupportsAncestors
Declaration
[IgnoreDataMember]
public override bool SupportsAncestors { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
SupportsExternalTransfer
Declaration
[IgnoreDataMember]
public override bool SupportsExternalTransfer { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
SupportsPeople
Declaration
[IgnoreDataMember]
public override bool SupportsPeople { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
SupportsTags
Declaration
[IgnoreDataMember]
public override bool SupportsTags { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
Methods
AllowEditingField(MetadataFields)
Declaration
public override bool AllowEditingField(MetadataFields field)
Parameters
Type | Name | Description |
---|---|---|
MetadataFields | field |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
CanDelete()
Declaration
public override bool CanDelete()
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
EnableImageCaching(LibraryOptions)
Declaration
public override bool EnableImageCaching(LibraryOptions libraryOptions)
Parameters
Type | Name | Description |
---|---|---|
LibraryOptions | libraryOptions |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
GetDefaultPrimaryImageAspectRatio()
Declaration
public override double GetDefaultPrimaryImageAspectRatio()
Returns
Type | Description |
---|---|
System.Double |
Overrides
GetInternalMetadataPath(String)
Declaration
protected override string GetInternalMetadataPath(string basePath)
Parameters
Type | Name | Description |
---|---|---|
System.String | basePath |
Returns
Type | Description |
---|---|
System.String |
Overrides
GetItemIdList(InternalItemsQuery)
Declaration
public long[] GetItemIdList(InternalItemsQuery query)
Parameters
Type | Name | Description |
---|---|---|
InternalItemsQuery | query |
Returns
Type | Description |
---|---|
System.Int64[] |
GetItems(InternalItemsQuery)
Declaration
public QueryResult<BaseItem> GetItems(InternalItemsQuery query)
Parameters
Type | Name | Description |
---|---|---|
InternalItemsQuery | query |
Returns
Type | Description |
---|---|
QueryResult<BaseItem> |
GetMediaContainingFolderPath(LibraryOptions)
Declaration
public override string GetMediaContainingFolderPath(LibraryOptions libraryOptions)
Parameters
Type | Name | Description |
---|---|---|
LibraryOptions | libraryOptions |
Returns
Type | Description |
---|---|
System.String |