summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTheFrenchGhosty <47571719+TheFrenchGhosty@users.noreply.github.com>2020-09-25 23:04:48 +0000
committerGitHub <noreply@github.com>2020-09-25 23:04:48 +0000
commitb53f988fca6f746f546de52a6746ff13076a896e (patch)
tree0c7a6f1e03b9c9482b4440a42863ed7e45a29932
parent9995a8d53f21e848750a6d5476623e5788efd595 (diff)
parent1595eaeb743e2e6271136762b6d3071cd7a7eeb7 (diff)
downloadinvidious-b53f988fca6f746f546de52a6746ff13076a896e.tar.gz
invidious-b53f988fca6f746f546de52a6746ff13076a896e.tar.bz2
invidious-b53f988fca6f746f546de52a6746ff13076a896e.zip
Merge pull request #1387 from GauthierPLM/fix-playlist-index
Fix #1382 : Playlists missing first video
-rw-r--r--src/invidious/playlists.cr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/invidious/playlists.cr b/src/invidious/playlists.cr
index 9190e4e6..c984a12a 100644
--- a/src/invidious/playlists.cr
+++ b/src/invidious/playlists.cr
@@ -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