mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-08-14.git
synced 2024-08-15 00:53:20 +00:00
Fix #1382 : Playlists missing first video
The index was set to index - 1, causing the first video to be shifted in fetch_playlist_videos (because of its index being -1 lower than it should) and thus not displayed on playlist page.
This commit is contained in:
parent
9995a8d53f
commit
1595eaeb74
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue