This project uses poetry as a dependency management tool.
Installs all defined dependencies of the project. For more information please read the poetry documentation.
poetry install
Setup and update pre-commit hooks. You should run this the first time after poetry install.
poetry run task update-hooks
For more information please read the black documentation
poetry run task format
For more information please read the poetry documentation.
poetry run podcatcher <command>
Scan all audio streams to find music and podcasts episodes, keeping elasticsearch in sync.
poetry run podcatcher sync
Retry failed sync from last checkpoint. If no previous failed sync occured it will just run a normal sync.
poetry run podcatcher retry-sync
Skip scan and sync existent cache data to elasticsearch.
poetry run podcatcher cache-sync
Remove all files on the cache directory.
poetry run podcatcher clear-cache
Remove all indices from elasticsearch and all files from the cache directory.
poetry run podcatcher drop