mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-05 04:53:01 +00:00
Reorganize repository structure for better organization
- Move backend code to swingmusic/ folder - Move client applications to root level (swingmusic-android, swingmusic-desktop, swingmusic-webclient) - Remove intermediate backend/ and clients/ folders - Update README with new folder structure and setup instructions - Clean and organized repository layout
This commit is contained in:
@@ -1,18 +0,0 @@
|
||||
from swingmusic.settings import TCOLOR, Metadata, Paths
|
||||
from swingmusic.utils.network import get_ip
|
||||
|
||||
|
||||
def log_startup_info(host: str, port: int):
|
||||
print(f"{TCOLOR.HEADER}Swing Music v{Metadata.version} {TCOLOR.ENDC}")
|
||||
|
||||
addresses = [host]
|
||||
|
||||
if host == "0.0.0.0":
|
||||
remote_ip = get_ip()
|
||||
addresses.extend(["127.0.0.1"] + ([remote_ip] if remote_ip else []))
|
||||
|
||||
print("Server running on:\n")
|
||||
for address in addresses:
|
||||
print(f"{TCOLOR.OKGREEN}http://{address}:{port}{TCOLOR.ENDC}")
|
||||
|
||||
print(f"\n{TCOLOR.YELLOW}Data folder: {Paths().config_dir}{TCOLOR.ENDC}\n")
|
||||
Reference in New Issue
Block a user