From ca3e8522f8aff0b5895b07201b6af8bc015b758a Mon Sep 17 00:00:00 2001 From: Kuba <132459354+KubaPro010@users.noreply.github.com> Date: Sat, 11 Oct 2025 17:01:56 +0200 Subject: [PATCH] this is fucked --- modules/rds.py | 12 +++++------- modules/write_playlists.py | 12 +++++------- 2 files changed, 10 insertions(+), 14 deletions(-) diff --git a/modules/rds.py b/modules/rds.py index 85a87ea..d23bfeb 100644 --- a/modules/rds.py +++ b/modules/rds.py @@ -1,10 +1,8 @@ -from typing import TYPE_CHECKING -if TYPE_CHECKING: - class PlayerModule: - def on_new_playlist(self, playlist: list[tuple[str, bool, bool, bool]]): - pass - def on_new_track(self, index: int, track: str, to_fade_in: bool, to_fade_out: bool, official: bool): - pass +class PlayerModule: + def on_new_playlist(self, playlist: list[tuple[str, bool, bool, bool]]): + pass + def on_new_track(self, index: int, track: str, to_fade_in: bool, to_fade_out: bool, official: bool): + pass import socket, re, log95, os diff --git a/modules/write_playlists.py b/modules/write_playlists.py index 003e2de..3aa7659 100644 --- a/modules/write_playlists.py +++ b/modules/write_playlists.py @@ -1,10 +1,8 @@ -from typing import TYPE_CHECKING -if TYPE_CHECKING: - class PlayerModule: - def on_new_playlist(self, playlist: list[tuple[str, bool, bool, bool]]): - pass - def on_new_track(self, index: int, track: str, to_fade_in: bool, to_fade_out: bool, official: bool): - pass +class PlayerModule: + def on_new_playlist(self, playlist: list[tuple[str, bool, bool, bool]]): + pass + def on_new_track(self, index: int, track: str, to_fade_in: bool, to_fade_out: bool, official: bool): + pass class Module(PlayerModule): def __init__(self) -> None: