vimeo: fix parsing and resolution in filename

- all videos/audios should now be downloadable
- proper resolution is now displayed in basic and pretty filename styles
This commit is contained in:
wukko
2023-12-02 21:52:38 +06:00
parent 5bd50fd55f
commit 3e8c059a3a
3 changed files with 25 additions and 38 deletions

View File

@@ -122,10 +122,15 @@ export function streamAudioOnly(streamInfo, res) {
try {
let args = [
'-loglevel', '-8',
'-loglevel', '-8'
]
if (streamInfo.service === "twitter") {
args.push('-seekable', '0')
}
args.push(
'-i', streamInfo.urls,
'-vn'
]
)
if (streamInfo.metadata) {
args = args.concat(metadataManager(streamInfo.metadata))