disable some filters for live content
This commit is contained in:
parent
9128411d3a
commit
224473d63d
1 changed files with 2 additions and 0 deletions
|
@ -333,6 +333,8 @@ export class Player extends EventEmitter {
|
||||||
const encoderArgsFilters: string[] = [];
|
const encoderArgsFilters: string[] = [];
|
||||||
|
|
||||||
Object.keys(queue.filters).forEach((filterName) => {
|
Object.keys(queue.filters).forEach((filterName) => {
|
||||||
|
if (this.options.enableLive && ["nightcore", "vaporwave", "reverse"].includes(filterName)) return;
|
||||||
|
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
if (queue.filters[filterName]) {
|
if (queue.filters[filterName]) {
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
|
|
Loading…
Reference in a new issue