/AnimePipeline

auto encode new anime episode

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

AnimePipeline

auto encode new anime episode, driven by FinalRip

codecov CI-test Docker Build CI Release PyPI version GitHub

Architecture

AnimePipeline

Installation

FinalRip is required, if you don't familiar with it, please play with it first.

Python 3.9 or higher is required, we use poetry to manage dependencies.

btw, make is required to run the commands in the Makefile.

poetry install
make run

or you can use docker to run the project, see docker-compose.yml for more details.

Configuration

Server Config:

  • loop interval: the interval of the loop, default is 200s
  • download path: the path to save the downloaded torrent file, if you use docker, you should mount the volume to the container, then use the path in the container. like /downloads
  • telegram bot token & channel id: your own bot token and channel id
  • telegram bot api: use tg bot local mode, see telegram-bot-api for more details.

RSS Config:

supports hot reloading, which means you can update your config without needing to restart the service.

you should provide the compatible params and scripts in the params and scripts folder.

the file name will be used as the key

  • base: the default settings, can be overridden in the rss list
  • link: the rss link, make sure it's a valid rss link
  • pattern: to match the episode(int), use regex

Reference

License

This project is licensed under the GPL-3.0 license - see the LICENSE file for details.