mirror of
https://github.com/TeamNewPipe/NewPipeExtractor.git
synced 2024-12-13 13:50:33 +05:30
21e542e7d2
- Refactor info classes and extractors - Reformat and fix indentation - Organize packages and classes - Rename variables/methods and fix regex - Change the capitalization - Add methods to playlist extractor
24 lines
479 B
Java
24 lines
479 B
Java
package org.schabi.newpipe.extractor.playlist;
|
|
|
|
import org.schabi.newpipe.extractor.InfoItem;
|
|
|
|
public class PlaylistInfoItem implements InfoItem {
|
|
|
|
public int serviceId = -1;
|
|
public String name = "";
|
|
public String thumbnailUrl = "";
|
|
public String webPageUrl = "";
|
|
|
|
public InfoType infoType() {
|
|
return InfoType.PLAYLIST;
|
|
}
|
|
|
|
public String getTitle() {
|
|
return name;
|
|
}
|
|
|
|
public String getLink() {
|
|
return webPageUrl;
|
|
}
|
|
}
|