summaryrefslogtreecommitdiffstats
path: root/src/invidious.cr
diff options
context:
space:
mode:
authorOmar Roth <omarroth@hotmail.com>2018-08-27 18:53:34 -0500
committerOmar Roth <omarroth@hotmail.com>2018-08-27 18:53:34 -0500
commit45fa14838059d72e8a6eb2820a7bb6390a64055d (patch)
treeffd95c159cb602d5a6fb1164fd6a953314d2132e /src/invidious.cr
parent2ba0063dc0833efe25a25dea7b3f8d95b599f0d6 (diff)
downloadinvidious-45fa14838059d72e8a6eb2820a7bb6390a64055d.tar.gz
invidious-45fa14838059d72e8a6eb2820a7bb6390a64055d.tar.bz2
invidious-45fa14838059d72e8a6eb2820a7bb6390a64055d.zip
Don't add playlist id for channel videos0.3.0
Diffstat (limited to 'src/invidious.cr')
-rw-r--r--src/invidious.cr1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/invidious.cr b/src/invidious.cr
index 65846303..c43e2c78 100644
--- a/src/invidious.cr
+++ b/src/invidious.cr
@@ -1597,6 +1597,7 @@ get "/channel/:ucid" do |env|
begin
videos = extract_playlist(ucid, page)
+ videos.each { |a| a.playlists.clear }
rescue ex
error_message = ex.message
next templated "error"