put back default track sort order

+ ignore src files in scans
This commit is contained in:
cwilvx
2025-08-30 16:51:27 +03:00
parent bfa9d6b7fc
commit ade8759191
3 changed files with 34 additions and 12 deletions
+5 -5
View File
@@ -69,14 +69,14 @@ def start_swingmusic(host: str, port: int):
:param port: The port number to run the server on
"""
port_manager = PortManager(host)
# port_manager = PortManager(host)
# Try starting a server on port 1970
# If it fails, exit with error
if not port_manager.test_port(port):
print(f"Error 48: Port {port} already in use.")
print("Please specify a different port using the --port argument.")
sys.exit(1)
# if not port_manager.test_port(port):
# print(f"Error 48: Port {port} already in use.")
# print("Please specify a different port using the --port argument.")
# sys.exit(1)
# Example: Setting up dirs, database, and loading stuff into memory.
# TIP: Be careful with the order of the setup functions.