mirror of
https://github.com/TeamPiped/Piped-Backend.git
synced 2024-12-13 13:50:28 +05:30
Rewrite chapter image URLs. (#167)
This commit is contained in:
parent
a438faa577
commit
322610dbbb
@ -146,8 +146,8 @@ public class ResponseHelper {
|
|||||||
final StreamInfo info = futureStream.get();
|
final StreamInfo info = futureStream.get();
|
||||||
|
|
||||||
info.getStreamSegments().forEach(segment -> {
|
info.getStreamSegments().forEach(segment -> {
|
||||||
chapters.add(
|
chapters.add(new ChapterSegment(segment.getTitle(), rewriteURL(segment.getPreviewUrl()),
|
||||||
new ChapterSegment(segment.getTitle(), segment.getPreviewUrl(), segment.getStartTimeSeconds()));
|
segment.getStartTimeSeconds()));
|
||||||
});
|
});
|
||||||
|
|
||||||
info.getSubtitles()
|
info.getSubtitles()
|
||||||
|
Loading…
Reference in New Issue
Block a user