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 Description
getDescription()
Get the description of the playlist if there is any.default PlaylistInfo.PlaylistType
getPlaylistType()
long
getStreamCount()
Get the number of streamsjava.lang.String
getUploaderName()
Get the uploader namejava.lang.String
getUploaderUrl()
Get the uploader urlboolean
isUploaderVerified()
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 ParsingException
Get the uploader name- Returns:
- the uploader name
- Throws:
ParsingException
-
getUploaderUrl
java.lang.String getUploaderUrl() throws ParsingException
Get the uploader url- Returns:
- the uploader url
- Throws:
ParsingException
-
isUploaderVerified
boolean isUploaderVerified() throws ParsingException
Get whether the uploader is verified- Returns:
- whether the uploader is verified
- Throws:
ParsingException
-
getStreamCount
long getStreamCount() throws ParsingException
Get 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_DESCRIPTION
is returned.- Returns:
- the playlist's description
- Throws:
ParsingException
-
getPlaylistType
@Nonnull default PlaylistInfo.PlaylistType getPlaylistType() throws ParsingException
- Returns:
- the type of this playlist, see
PlaylistInfo.PlaylistType
for a description of types. If not overridden always returnsPlaylistInfo.PlaylistType.NORMAL
. - Throws:
ParsingException
-
-