From 74b246f30bb6b030ad3cf1a2a993db1204f061c1 Mon Sep 17 00:00:00 2001 From: xXJsonDeruloXx Date: Tue, 21 Oct 2025 22:47:26 -0400 Subject: rm unused DLL path methods from ConfigurationService and Plugin classes --- py_modules/lsfg_vk/configuration.py | 35 ----------------------------------- 1 file changed, 35 deletions(-) (limited to 'py_modules/lsfg_vk/configuration.py') diff --git a/py_modules/lsfg_vk/configuration.py b/py_modules/lsfg_vk/configuration.py index 13fa925..332d4ef 100644 --- a/py_modules/lsfg_vk/configuration.py +++ b/py_modules/lsfg_vk/configuration.py @@ -104,41 +104,6 @@ class ConfigurationService(BaseService): self.log.error(error_msg) return self._error_response(ConfigurationResponse, str(e), config=None) - def update_dll_path(self, dll_path: str) -> ConfigurationResponse: - """Update just the DLL path in the configuration - - Args: - dll_path: Path to the Lossless.dll file - - Returns: - ConfigurationResponse with success status - """ - try: - profile_data = self._get_profile_data() - - profile_data["global_config"]["dll"] = dll_path - - current_profile = profile_data["current_profile"] - from .config_schema_generated import DLL - profile_data["profiles"][current_profile][DLL] = dll_path - - self._save_profile_data(profile_data) - - script_result = self.update_lsfg_script_from_profile_data(profile_data) - if not script_result["success"]: - self.log.warning(f"Failed to update launch script: {script_result['error']}") - - self.log.info(f"Updated DLL path in lsfg configuration: '{dll_path}'") - - return self._success_response(ConfigurationResponse, - f"DLL path updated to: {dll_path}", - config=profile_data["profiles"][current_profile]) - - except Exception as e: - error_msg = f"Error updating DLL path: {str(e)}" - self.log.error(error_msg) - return self._error_response(ConfigurationResponse, str(e), config=None) - def update_lsfg_script(self, config: ConfigurationData) -> ConfigurationResponse: """Update the ~/lsfg launch script with current configuration -- cgit v1.2.3