ADD basic playlist support + youtube playlist support

This commit is contained in:
BlenderViking
2017-03-12 16:15:51 +01:00
parent f63b7e8f00
commit e8794d92b5
9 changed files with 433 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
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;
}
}