Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix youtube playlist detection

Chocobozzzb23fb86577bf
diff --git a/server/core/lib/schedulers/video-channel-sync-latest-scheduler.ts b/server/core/lib/schedulers/video-channel-sync-latest-scheduler.ts
index 9cac65914c..d49b80ffc8 100644
--- a/server/core/lib/schedulers/video-channel-sync-latest-scheduler.ts
+++ b/server/core/lib/schedulers/video-channel-sync-latest-scheduler.ts
@@ -71,7 +71,7 @@ export class VideoChannelSyncLatestScheduler extends AbstractScheduler {
return pathname.startsWith('/playlist/') || // Dailymotion playlist
pathname.startsWith('/showcase/') || // Vimeo playlist
- pathname.startsWith('/playlist?') || // YouTube playlist
+ pathname === '/playlist' || // YouTube playlist
pathname.startsWith('/w/p/') // PeerTube playlist
}
}