From 4013bf94f35198583034ff3d7a52ec814401dbdc Mon Sep 17 00:00:00 2001 From: cloudwithax Date: Tue, 25 Oct 2022 21:13:47 -0400 Subject: [PATCH] change filter check --- pomice/player.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pomice/player.py b/pomice/player.py index 929a446..bba7c6b 100644 --- a/pomice/player.py +++ b/pomice/player.py @@ -364,7 +364,9 @@ class Player(VoiceProtocol): # So if no global filters are detected, lets apply any # necessary track filters - if self.filters.empty and track.filters: + # Check if theres no global filters and if the track has any filters + # that need to be applied + if not self.filters.has_global and track.filters: # Now apply all filters for filter in track.filters: # Set preload for filter