From 861a023946b660a4e2acead9c1dd02f13b60e579 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 28 Mar 2021 14:25:23 +0200 Subject: Soundcloud: the next audio is sometimes the previous one because url changes. Fix that --- src/QuickMedia.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/QuickMedia.cpp b/src/QuickMedia.cpp index e94ba34..e3f13de 100644 --- a/src/QuickMedia.cpp +++ b/src/QuickMedia.cpp @@ -2048,6 +2048,7 @@ namespace QuickMedia { if(watched_videos.find((*it)->url) == watched_videos.end() && !video_page->video_should_be_skipped((*it)->url)) { new_video_url = (*it)->url; new_video_title = (*it)->get_title(); + related_videos.erase(it); break; } } -- cgit v1.2.3