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
23 lines
479 B
Java
23 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;
|
|
}
|
|
}
|