remove old main.py; fix typo; move dockerignore

This commit is contained in:
2026-05-15 17:43:55 +03:00
parent dc3403eb9e
commit 3faf76e097
3 changed files with 1 additions and 18 deletions
+1 -1
View File
@@ -9,5 +9,5 @@
}
],
"yt_dlp_path": "./bin/yt-dlp",
"ffmpeg_path": "./bin/ffmpeg",
"ffmpeg_path": "./bin/ffmpeg"
}
-17
View File
@@ -1,17 +0,0 @@
from ytplaylist import main
if __name__ == "__main__":
# Keep working directory consistent with original script behaviour
import os
import sys
os.chdir(os.path.dirname(os.path.abspath(sys.argv[0])))
# Ensure UTF-8 on Windows
if sys.platform.startswith("win"):
try:
sys.stdout.reconfigure(encoding="utf-8") # type: ignore
except Exception:
pass
main()