diff --git a/README.md b/README.md index ac976b8..4cfe226 100644 --- a/README.md +++ b/README.md @@ -25,8 +25,10 @@ Version: 1.0. [Release details](.releases/release_1.0.md). 6. Write your Telegram user id to the `allowed_users` -> `id` by replacing dummy value and change or remove `forward_group_id` value (if you want to forward the video to some group when upload is enabled) -7. Check the default environment variables in `envs/.env_common` and change if needed -8. Video `STORAGE_PATH` environment variable is located in +7. Configure download media type for the user/group: `AUDIO`, `VIDEO` or `AUDIO_VIDEO` + in `app_bot/config.yml`'s variable `download_media_type` +8. Check the default environment variables in `envs/.env_common` and change if needed +9. Media `STORAGE_PATH` environment variable is located in the `envs/.env_worker` file. By default, it's `/filestorage` path inside the container. What you want is to map the real path to this inside the `docker-compose.yml` file for `worker` service, e.g. if you're on Windows, next @@ -38,7 +40,7 @@ Version: 1.0. [Release details](.releases/release_1.0.md). volumes: - "D:/Videos:/filestorage" ``` -9. If you want your downloaded video to be uploaded back to the Telegram, +10. If you want your downloaded video to be uploaded back to the Telegram, set `upload_video_file` config variable for your user in the `app_bot/config.yml` to `True`