1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-11-12 23:20:17 +00:00

updated ytdl and streamOps

This commit is contained in:
MatteZ02 2020-04-15 10:20:45 +03:00
parent ccb9e332f5
commit a35318cea8
3 changed files with 13 additions and 8 deletions

8
package-lock.json generated
View File

@ -3351,11 +3351,11 @@
} }
}, },
"ytdl-core": { "ytdl-core": {
"version": "2.0.1", "version": "2.1.0",
"resolved": "https://registry.npmjs.org/ytdl-core/-/ytdl-core-2.0.1.tgz", "resolved": "https://registry.npmjs.org/ytdl-core/-/ytdl-core-2.1.0.tgz",
"integrity": "sha512-PZBcVzQpkBxi9OQh9I4QIrYNmkbM/zh4QJQuxE8I6RojLUVYkkps5iLYquE3H+pwmBXtEXQMDJfVRajgdiz+iA==", "integrity": "sha512-UmblkTLSV0v3y9I3oqrZkllyT0FnK1Owm7WftEkcTIlqnjip1mnyaLICz0P6+W3Ji/AtBFSwy/mLG2dlEvP6Vw==",
"requires": { "requires": {
"html-entities": "^1.1.3", "html-entities": "^1.3.1",
"m3u8stream": "^0.6.3", "m3u8stream": "^0.6.3",
"miniget": "^1.7.0", "miniget": "^1.7.0",
"sax": "^1.1.3" "sax": "^1.1.3"

View File

@ -31,6 +31,6 @@
"simple-youtube-api": "^5.2.1", "simple-youtube-api": "^5.2.1",
"video-thumbnail-url": "^1.0.1", "video-thumbnail-url": "^1.0.1",
"yt-search": "^1.1.2", "yt-search": "^1.1.2",
"ytdl-core": "^2.0.1" "ytdl-core": "^2.1.0"
} }
} }

View File

@ -1,4 +1,9 @@
module.exports = { module.exports = {
ytdlOptions: { filter: "audio", highWaterMark: 1 << 25, volume: false, begin: null }, ytdlOptions: { filter: "audio", highWaterMark: 1 << 10, volume: false },
options: { seek: 0, bitrate: 1024, passes: 10, volume: 1, type: "converted" } options: {
}; seek: 0,
bitrate: 1024,
volume: 1,
type: "converted",
},
};