@HDRFilmsBot is a Python project designed to streamline the management and retrieval of film-related data using High Dynamic Range (HDR) techniques. This README outlines the purpose, setup, usage, and configuration details of the project.
@HDRFilmsBot aims to give users an easiest way to watch films and series, using Telegram Bot. It includes functionality to interact with Rezka API, show short info about film/series and process media files.
-
Install Poetry if it's not already installed. See Poetry installation guide for details.
-
Clone the repository:
git clone https://github.com/arynyklas/HDRFilmsBot.git
-
Navigate to the project directory:
cd HDRFilmsBot -
Rename configuration templates:
- Rename
config.sample.ymltoconfig.yml. - Rename
alembic.sample.ymltoalembic.ini.
- Rename
-
Open
alembic.iniand set thesqlalchemy.urlto match your database configuration. -
Install project dependencies: Optional, use virtual environment:
poetry config virtualenvs.in-project truepoetry install
-
Set up the database migrations:
poetry run alembic upgrade head
- To start the application:
poetry run python -m src
- Follow the on-screen prompts for film selection.
- You can also use command-line arguments as detailed in the documentation.
Adjust settings in the config.yml file to customize the behavior:
- API key for Rezka API
- Paths for media storage and logs
- Logging preferences (using telegram-bot-logger)
Contributions are welcome! Please submit issues or pull requests via GitHub or Telegram DM. For significant changes, open an issue first to discuss your ideas.