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();
|
||||
|
||||
info.getStreamSegments().forEach(segment -> {
|
||||
chapters.add(
|
||||
new ChapterSegment(segment.getTitle(), segment.getPreviewUrl(), segment.getStartTimeSeconds()));
|
||||
chapters.add(new ChapterSegment(segment.getTitle(), rewriteURL(segment.getPreviewUrl()),
|
||||
segment.getStartTimeSeconds()));
|
||||
});
|
||||
|
||||
info.getSubtitles()
|
||||
|
Loading…
Reference in New Issue
Block a user