fix playing playlists
This commit is contained in:
parent
462d06e84a
commit
5bf607fed9
@ -59,6 +59,7 @@ def runYtdlp(opts):
|
|||||||
def getVideoInfo(url):
|
def getVideoInfo(url):
|
||||||
popen = runYtdlp([
|
popen = runYtdlp([
|
||||||
"-j", # dump all metadata as json
|
"-j", # dump all metadata as json
|
||||||
|
"--playlist-items", "1", # don't go through every single item in playlist
|
||||||
url
|
url
|
||||||
])
|
])
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user