Class Playlist
Inheritance
System.Object
Playlist
Assembly: MediaBrowser.Controller.dll
public sealed class Playlist : Folder, IHasProviderIds, IHasLookupInfo<ItemLookupInfo>, IHasFolderGrouping
Fields
Declaration
public static string[] SupportedExtensions
Field Value
Type |
Description |
System.String[] |
|
Properties
Declaration
[IgnoreDataMember]
public override bool IsResolvedToFolder { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
Declaration
[IgnoreDataMember]
public override string MediaType { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
Declaration
public string PlaylistMediaType { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
[IgnoreDataMember]
public override bool SupportsCumulativeRunTimeTicks { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
Declaration
[IgnoreDataMember]
public override bool SupportsGenres { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
Declaration
[IgnoreDataMember]
public override bool SupportsInheritedParentImages { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
Declaration
[IgnoreDataMember]
protected override bool ValidatesChildren { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
Methods
CanLeaveSharedContent(User, UserItemShareLevel)
Declaration
public override bool CanLeaveSharedContent(User user, UserItemShareLevel shareLevel)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Overrides
Declaration
public override bool CanManageAccess(User user, UserItemShareLevel shareLevel)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Overrides
Declaration
public override double GetDefaultPrimaryImageAspectRatio()
Returns
Type |
Description |
System.Double |
|
Overrides
Declaration
protected override long[] GetItemIdsInternal(InternalItemsQuery query)
Parameters
Returns
Type |
Description |
System.Int64[] |
|
Overrides
Declaration
protected override QueryResult<BaseItem> GetItemsInternal(InternalItemsQuery query)
Parameters
Returns
Overrides
Declaration
protected override List<BaseItem> GetNonCachedChildren(IDirectoryService directoryService, LibraryOptions libraryOptions)
Parameters
Returns
Type |
Description |
System.Collections.Generic.List<BaseItem> |
|
Overrides
Declaration
public static long[] GetPlaylistItems(string playlistMediaType, BaseItem[] inputItems, User user)
Parameters
Type |
Name |
Description |
System.String |
playlistMediaType |
|
BaseItem[] |
inputItems |
|
User |
user |
|
Returns
Type |
Description |
System.Int64[] |
|
Declaration
public override bool IsAuthorizedToDelete(User user, UserItemShareLevel shareLevel, Folder[] collectionFolders)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Overrides
Declaration
public static bool IsInSpecialUserPlaylistsFolder(string path)
Parameters
Type |
Name |
Description |
System.String |
path |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool IsPlaylistFile(string path)
Parameters
Type |
Name |
Description |
System.String |
path |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public override bool IsSaveLocalMetadataEnabled(LibraryOptions libraryOptions)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Overrides
Declaration
public void SetMediaType(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
Declaration
public override bool SupportsMakePublicOrPrivate()
Returns
Type |
Description |
System.Boolean |
|
Overrides
Declaration
public override bool SupportsManageAccess()
Returns
Type |
Description |
System.Boolean |
|
Overrides
Implements
Extension Methods