Interface PlaylistInfoItemExtractor
-
- All Superinterfaces:
InfoItemExtractor
- All Known Implementing Classes:
BandcampAlbumInfoItemExtractor,BandcampPlaylistInfoItemExtractor,BandcampPlaylistInfoItemFeaturedExtractor,BandcampRelatedPlaylistInfoItemExtractor,PeertubePlaylistInfoItemExtractor,SoundcloudPlaylistInfoItemExtractor,YoutubeMixOrPlaylistInfoItemExtractor,YoutubeMixOrPlaylistLockupInfoItemExtractor,YoutubeMusicAlbumOrPlaylistInfoItemExtractor,YoutubePlaylistInfoItemExtractor
public interface PlaylistInfoItemExtractor extends InfoItemExtractor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DescriptiongetDescription()Get the description of the playlist if there is any.default PlaylistInfo.PlaylistTypegetPlaylistType()longgetStreamCount()Get the number of streamsjava.lang.StringgetUploaderName()Get the uploader namejava.lang.StringgetUploaderUrl()Get the uploader urlbooleanisUploaderVerified()Get whether the uploader is verified-
Methods inherited from interface org.schabi.newpipe.extractor.InfoItemExtractor
getName, getThumbnails, getUrl
-
-
-
-
Method Detail
-
getUploaderName
java.lang.String getUploaderName() throws ParsingExceptionGet the uploader name- Returns:
- the uploader name
- Throws:
ParsingException
-
getUploaderUrl
java.lang.String getUploaderUrl() throws ParsingExceptionGet the uploader url- Returns:
- the uploader url
- Throws:
ParsingException
-
isUploaderVerified
boolean isUploaderVerified() throws ParsingExceptionGet whether the uploader is verified- Returns:
- whether the uploader is verified
- Throws:
ParsingException
-
getStreamCount
long getStreamCount() throws ParsingExceptionGet the number of streams- Returns:
- the number of streams
- Throws:
ParsingException
-
getDescription
@Nonnull default Description getDescription() throws ParsingException
Get the description of the playlist if there is any. Otherwise, anEMPTY_DESCRIPTIONis returned.- Returns:
- the playlist's description
- Throws:
ParsingException
-
getPlaylistType
@Nonnull default PlaylistInfo.PlaylistType getPlaylistType() throws ParsingException
- Returns:
- the type of this playlist, see
PlaylistInfo.PlaylistTypefor a description of types. If not overridden always returnsPlaylistInfo.PlaylistType.NORMAL. - Throws:
ParsingException
-
-