mirror of
https://github.com/TeamPiped/Piped-Backend.git
synced 2024-08-14 23:51:41 +00:00
commit
401f2ca383
2 changed files with 4 additions and 3 deletions
|
@ -62,7 +62,7 @@ public class CollectionUtils {
|
||||||
rewriteURL(info.getUploaderAvatarUrl()), rewriteURL(info.getThumbnailUrl()), info.getDuration(),
|
rewriteURL(info.getUploaderAvatarUrl()), rewriteURL(info.getThumbnailUrl()), info.getDuration(),
|
||||||
info.getViewCount(), info.getLikeCount(), info.getDislikeCount(), info.getUploaderSubscriberCount(), info.isUploaderVerified(),
|
info.getViewCount(), info.getLikeCount(), info.getDislikeCount(), info.getUploaderSubscriberCount(), info.isUploaderVerified(),
|
||||||
audioStreams, videoStreams, relatedStreams, subtitles, livestream, rewriteVideoURL(info.getHlsUrl()),
|
audioStreams, videoStreams, relatedStreams, subtitles, livestream, rewriteVideoURL(info.getHlsUrl()),
|
||||||
rewriteVideoURL(info.getDashMpdUrl()), null, chapters, previewFrames);
|
rewriteVideoURL(info.getDashMpdUrl()), null, info.getCategory(), chapters, previewFrames);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static List<ContentItem> collectRelatedItems(List<? extends InfoItem> items) {
|
public static List<ContentItem> collectRelatedItems(List<? extends InfoItem> items) {
|
||||||
|
|
|
@ -9,7 +9,7 @@ import java.util.List;
|
||||||
public class Streams {
|
public class Streams {
|
||||||
|
|
||||||
public String title, description, uploadDate, uploader, uploaderUrl, uploaderAvatar, thumbnailUrl, hls, dash,
|
public String title, description, uploadDate, uploader, uploaderUrl, uploaderAvatar, thumbnailUrl, hls, dash,
|
||||||
lbryId;
|
lbryId, category;
|
||||||
|
|
||||||
public boolean uploaderVerified;
|
public boolean uploaderVerified;
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@ public class Streams {
|
||||||
String uploaderAvatar, String thumbnailUrl, long duration, long views, long likes, long dislikes, long uploaderSubscriberCount,
|
String uploaderAvatar, String thumbnailUrl, long duration, long views, long likes, long dislikes, long uploaderSubscriberCount,
|
||||||
boolean uploaderVerified, List<PipedStream> audioStreams, List<PipedStream> videoStreams,
|
boolean uploaderVerified, List<PipedStream> audioStreams, List<PipedStream> videoStreams,
|
||||||
List<ContentItem> relatedStreams, List<Subtitle> subtitles, boolean livestream, String hls, String dash,
|
List<ContentItem> relatedStreams, List<Subtitle> subtitles, boolean livestream, String hls, String dash,
|
||||||
String lbryId, List<ChapterSegment> chapters, List<PreviewFrames> previewFrames) {
|
String lbryId, String category, List<ChapterSegment> chapters, List<PreviewFrames> previewFrames) {
|
||||||
this.title = title;
|
this.title = title;
|
||||||
this.description = description;
|
this.description = description;
|
||||||
this.uploadDate = uploadDate;
|
this.uploadDate = uploadDate;
|
||||||
|
@ -57,5 +57,6 @@ public class Streams {
|
||||||
this.lbryId = lbryId;
|
this.lbryId = lbryId;
|
||||||
this.chapters = chapters;
|
this.chapters = chapters;
|
||||||
this.previewFrames = previewFrames;
|
this.previewFrames = previewFrames;
|
||||||
|
this.category = category;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue