mirror of
https://github.com/darkzoul5/YoutubePlaylistSync.git
synced 2026-09-18 20:43:54 +03:00
remove old main.py; fix typo; move dockerignore
This commit is contained in:
@@ -9,5 +9,5 @@
|
||||
}
|
||||
],
|
||||
"yt_dlp_path": "./bin/yt-dlp",
|
||||
"ffmpeg_path": "./bin/ffmpeg",
|
||||
"ffmpeg_path": "./bin/ffmpeg"
|
||||
}
|
||||
|
||||
@@ -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()
|
||||
Reference in New Issue
Block a user