This commit is contained in:
Anon 2022-08-31 22:06:08 -07:00
parent 7f9014c314
commit 1e69049254

View File

@ -2,7 +2,7 @@
Mirai Nikki Bot uses regular python files to configure posts. The default configuration is `cfg.py` Mirai Nikki Bot uses regular python files to configure posts. The default configuration is `cfg.py`
There are two default configuration files located in `default/`: There are two default configuration files located in `default/`:
- **`cfg.py:`** Is a script that demonstrates the full funcitonality of the bot. It is production configuration for [Mirai Nikki Bot](https://yandere.cc/MiraiNikkiBot). This config will show you how to skip certain segments of a video file (such as the OP and ED of an anime) as well as mark nsfw scenes as sensative. - **`cfg.py:`** Is a script that demonstrates the full functionality of the bot. It is production configuration for [Mirai Nikki Bot](https://yandere.cc/MiraiNikkiBot). This config will show you how to skip certain segments of a video file (such as the OP and ED of an anime) as well as mark nsfw scenes as sensitive.
- **`cfg_netoge.py:`** Is much simpler. It also skips the OP and ED of the anime, but there are no nsfw scenes. - **`cfg_netoge.py:`** Is much simpler. It also skips the OP and ED of the anime, but there are no nsfw scenes.
# Render scripts # Render scripts
@ -10,7 +10,7 @@ To generate screenshots, the bot will call shell scripts located in the `src/` d
- **`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.
The bot will call these scripts with positional arguments for the input path, output path, and frame position (in seconds). Please modify these scripts to suit your preferances. The bot will call these scripts with positional arguments for the input path, output path, and frame position (in seconds). Please modify these scripts to suit your preferences.
## setting_server ## setting_server
Paste the generated credentials from `create_app.py` in the fields below. Paste the generated credentials from `create_app.py` in the fields below.