diff --git a/app/music_manager.py b/app/music_manager.py index 915402d..8281c18 100644 --- a/app/music_manager.py +++ b/app/music_manager.py @@ -21,39 +21,6 @@ from config import Config import helpers from log import log -# Define the VLC callback function type -# import ctypes -# import platform -# VLC logging is very noisy so comment out unless needed -# VLC_LOG_CB = ctypes.CFUNCTYPE( -# None, -# ctypes.c_void_p, -# ctypes.c_int, -# ctypes.c_void_p, -# ctypes.c_char_p, -# ctypes.c_void_p, -# ) - -# # Determine the correct C library for vsnprintf based on the platform -# if platform.system() == "Windows": -# libc = ctypes.CDLL("msvcrt") -# elif platform.system() == "Linux": -# libc = ctypes.CDLL("libc.so.6") -# elif platform.system() == "Darwin": # macOS -# libc = ctypes.CDLL("libc.dylib") -# else: -# raise OSError("Unsupported operating system") - -# # Define the vsnprintf function -# libc.vsnprintf.argtypes = [ -# ctypes.c_char_p, -# ctypes.c_size_t, -# ctypes.c_char_p, -# ctypes.c_void_p, -# ] -# libc.vsnprintf.restype = ctypes.c_int - - class _FadeTrack(QThread): finished = pyqtSignal()