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: