first commit

This commit is contained in:
Tomas Dvorak
2026-04-13 17:46:58 +02:00
commit 6e8fedf534
234 changed files with 53808 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
import os
from swingmusic.settings import Paths
def get_client_files_extensions():
"""
Get all the file extensions for the client files
"""
extensions = set()
for _root, _dirs, files in os.walk(Paths().client_path):
for file in files:
ext = file.split(".")[-1]
extensions.add("." + ext)
return extensions