diff --git a/app/services/vlc_service.py b/app/services/vlc_service.py index 598a582..d955a8c 100644 --- a/app/services/vlc_service.py +++ b/app/services/vlc_service.py @@ -20,7 +20,7 @@ class VLCService: self.processes: Dict[str, subprocess.Popen] = {} self.lock = threading.Lock() - def play_sound(self, sound_id: int, user_id: int | None = None, ip_address: str | None = None, user_agent: str | None = None) -> bool: + def play_sound(self, sound_id: int, user_id: int | None = None) -> bool: """Play a sound by ID using VLC subprocess.""" try: # Get sound from database @@ -86,8 +86,6 @@ class VLCService: SoundPlayed.create_play_record( user_id=user_id, sound_id=sound_id, - ip_address=ip_address, - user_agent=user_agent, commit=True, ) except Exception as e: