Merge pull request #1387 from GauthierPLM/fix-playlist-index

Fix #1382 : Playlists missing first video
This commit is contained in:
TheFrenchGhosty 2020-09-25 23:04:48 +00:00 committed by GitHub
commit b53f988fca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -483,7 +483,7 @@ def extract_playlist_videos(initial_data : Hash(String, JSON::Any))
published: Time.utc,
plid: plid,
live_now: live,
index: index - 1,
index: index,
})
end
end