disable some filters for live content

This commit is contained in:
Snowflake107 2021-04-06 22:06:43 +05:45
parent 9128411d3a
commit 224473d63d

View file

@ -333,6 +333,8 @@ export class Player extends EventEmitter {
const encoderArgsFilters: string[] = [];
Object.keys(queue.filters).forEach((filterName) => {
if (this.options.enableLive && ["nightcore", "vaporwave", "reverse"].includes(filterName)) return;
// @ts-ignore
if (queue.filters[filterName]) {
// @ts-ignore