This commit is contained in:
Anon 2022-08-31 22:13:45 -07:00
parent 977cd9ae3c
commit 1efe2bed62
2 changed files with 2 additions and 5 deletions

View File

@ -1,5 +1,5 @@
# Readme # Readme
Mirai Nikki Bot is a customizable, no frills video screenshot posting bot for Pleroma. Mirai Nikki Bot is a customizable, no frills video-screenshot posting bot for Pleroma.
A live example can be viewed at [GNU/Yandere](https://yandere.cc/MiraiNikkiBot). A live example can be viewed at [GNU/Yandere](https://yandere.cc/MiraiNikkiBot).

View File

@ -6,7 +6,7 @@ There are two default configuration files located in `default/`:
- **`cfg_netoge.py:`** Is much simpler. It is the production configuration for [Netoge Bot](https://yandere.cc/NetogeBot). It also skips the OP and ED of the anime, but there are no nsfw scenes. - **`cfg_netoge.py:`** Is much simpler. It is the production configuration for [Netoge Bot](https://yandere.cc/NetogeBot). It also skips the OP and ED of the anime, but there are no nsfw scenes.
# Render scripts # Render scripts
To generate screenshots, the bot will call shell scripts located in the `src/` directory and specified in the `render_script` value in the `setup_episode()` function. By default the two scripts are included: To generate screenshots, the bot will call shell scripts located in the `src/` directory and specified in the `render_script` value in the `setup_episode()` function. By default the below scripts are included:
- **`render_mirai_nikki_script.sh:`** This script will use mpv to generate a screenshot *with the first subtitle track overlayed.* - **`render_mirai_nikki_script.sh:`** This script will use mpv to generate a screenshot *with the first subtitle track overlayed.*
- **`render_netoge_script.sh:`** Is a more basic script that will simply render a frame with no subtitles. - **`render_netoge_script.sh:`** Is a more basic script that will simply render a frame with no subtitles.
@ -39,9 +39,6 @@ Paste the generated credentials from `create_app.py` in the fields below.
**`salt:`** The salt value generated by `create_app.py` **`salt:`** The salt value generated by `create_app.py`
## settings_credentials
If a back end supports or requires an account to use their api, the credentials for your account input here, and used by the back end. This is not required unless you have a premium account from Danbooru.
## settings_behavior ## settings_behavior
This is the main configuration setting for the bot. This is the main configuration setting for the bot.