Overview
ThePlaylistInfo class represents detailed information about a playlist on a streaming service. It extends the ListInfo<StreamInfoItem> base class and provides metadata about playlists including thumbnails, uploader information, stream count, and playlist type.
PlaylistType Enum
ThePlaylistType enum defines different types of playlists:
A normal playlist created by a user (not a mix)
A mix made only of streams related to a particular stream (e.g., YouTube mixes)
A mix made only of music streams related to a particular stream (e.g., YouTube music mixes)
A mix made only of streams from or related to the same channel (deprecated, no longer used by services)
A mix made only of streams related to a particular musical genre (e.g., YouTube genre mixes)
Static Methods
getInfo(String url)
Extracts playlist information from a URL.
getInfo(StreamingService service, String url)
Extracts playlist information from a URL using a specific service.
getInfo(PlaylistExtractor extractor)
Extracts playlist information from a PlaylistExtractor instance.
getMoreItems(StreamingService service, String url, Page page)
Retrieves additional playlist items (for pagination).
Fields
Inherited from Info
The ID of the streaming service
The unique identifier for this playlist
The cleaned URL of the playlist
The original URL used to start extraction
The name/title of the playlist
Inherited from ListInfo
List of streams/videos in the playlist
The next page object for pagination (null if no more pages)
Content filters applied to the playlist
Sort filter applied to the playlist
Playlist Information
The total number of streams in the playlist
The type of playlist (NORMAL, MIX_STREAM, MIX_MUSIC, etc.)
The description of the playlist
Playlist Visuals
List of thumbnail images for the playlist
List of banner images for the playlist
Uploader Information
The name of the playlist creator/uploader (empty string by default)
The URL to the uploader’s channel (empty string by default)
List of uploader avatar images
Sub-Channel Information
The name of the sub-channel (if applicable)
The URL to the sub-channel
List of sub-channel avatar images
Methods
Getters and Setters
All fields have corresponding getter and setter methods following JavaBean conventions:Stream Count Methods
Returns the total number of streams in the playlist
Sets the stream count
Playlist Type Methods
Returns the playlist type
Sets the playlist type
Description Methods
Returns the playlist description
Sets the playlist description
Thumbnail Methods
Returns the list of thumbnail images
Sets the thumbnail images
Banner Methods
Returns the list of banner images
Sets the banner images
Uploader Methods
Returns the uploader name
Sets the uploader name
Returns the uploader URL
Sets the uploader URL
Returns the uploader avatars
Sets the uploader avatars
Sub-Channel Methods
Returns the sub-channel name
Sets the sub-channel name
Returns the sub-channel URL
Sets the sub-channel URL
Returns the sub-channel avatars
Sets the sub-channel avatars
Inherited Methods from ListInfo
Returns the list of streams in the playlist
Sets the list of streams
Returns true if there is a next page of items
Returns the next page object for pagination
Sets the next page
Returns the content filters
Returns the sort filter
Inherited Methods from Info
Returns the service ID
Returns the StreamingService instance for this info object
Returns the unique identifier
Returns the cleaned URL
Returns the original URL used for extraction
Returns the playlist name
Returns a list of non-fatal errors that occurred during extraction
Adds an error to the error list