Add experimental dash support

This commit is contained in:
Omar Roth 2018-09-24 19:28:36 -05:00
parent 9a7852341d
commit b3ca3922a9
6 changed files with 40 additions and 2 deletions

View file

@ -2822,7 +2822,6 @@ get "/api/v1/playlists/:plid" do |env|
page = env.params.query["page"]?.try &.to_i?
page ||= 1
begin
playlist = fetch_playlist(plid)
videos = fetch_playlist_videos(plid, page, playlist.video_count)