diff --git a/app/main.py b/app/main.py index 7aff1cf..7b3817b 100644 --- a/app/main.py +++ b/app/main.py @@ -194,4 +194,4 @@ app.on_response_prepare.append(on_prepare) if __name__ == '__main__': logging.basicConfig(level=logging.DEBUG) log.info(f"Listening on {config.HOST}:{config.PORT}") - web.run_app(app, host=config.HOST, port=config.PORT, reuse_port=True) \ No newline at end of file + web.run_app(app, host=config.HOST, port=config.PORT, reuse_port=True) diff --git a/app/ytdl.py b/app/ytdl.py index ed65e19..2c52f72 100644 --- a/app/ytdl.py +++ b/app/ytdl.py @@ -332,4 +332,4 @@ class DownloadQueue: await self.notifier.canceled(id) else: self.done.put(entry) - await self.notifier.completed(entry.info) \ No newline at end of file + await self.notifier.completed(entry.info) diff --git a/docker-compose.yml b/docker-compose.yml deleted file mode 100644 index c2e3c50..0000000 --- a/docker-compose.yml +++ /dev/null @@ -1,30 +0,0 @@ -version: "3" -services: - metube: - # Local Build: Use the following to build the Docker image locally - build: - context: . - dockerfile: ./Dockerfile - image: metube - # Official Image: Comment out the lines above and uncomment the following line to use the official image - # image: ghcr.io/alexta69/metube - container_name: metube - restart: unless-stopped - ports: - - "8081:8081" - - # Example environment variables - environment: - # UID: 1000 - # GID: 1000 - YTDL_OPTIONS: '{"writesubtitles": true, "subtitleslangs": ["en", "-live_chat"], "postprocessors": [{"key": "FFmpegEmbedSubtitle", "already_have_subtitle": false}, {"key": "FFmpegMetadata", "add_chapters": true}]}' - # Configure yt-dlp to download intermediary files to /temp - TEMP_DIR: /temp - - volumes: - - ./downloads:/downloads - # Mount /temp using tmpfs - # This will store the intermediary files in memory, making downloads faster; however, you won't be able to - # resume a download if you stop the container - - type: tmpfs - target: /temp:rw,nosuid,nodev,exec