forked from midou/invidious
linting
This commit is contained in:
parent
dccdf38ce7
commit
62dc629337
@ -437,7 +437,6 @@ def get_playlist_videos(db, playlist, offset, locale = nil, continuation = nil)
|
||||
db.query_all("SELECT * FROM playlist_videos WHERE plid = $1 ORDER BY array_position($2, index) LIMIT 100 OFFSET $3",
|
||||
playlist.id, playlist.index, offset, as: PlaylistVideo)
|
||||
else
|
||||
|
||||
if continuation
|
||||
initial_data = request_youtube_api_next(continuation, playlist.id)
|
||||
offset = initial_data["contents"]["twoColumnWatchNextResults"]["playlist"]["playlist"]["currentIndex"].as_i
|
||||
|
Loading…
Reference in New Issue
Block a user