mirror of
https://github.com/stashapp/CommunityScripts.git
synced 2026-02-05 13:09:49 -06:00
* fix css files * create workflow * format code using prettier * black ignore 3rd party folder * format py code using black * black exclude option in workflow * Don't format workflow files * Add contributing instructions to readme --------- Co-authored-by: WithoutPants <53250216+WithoutPants@users.noreply.github.com>
titleFromFilename
Sets a scene's title
Requirements
- Stash ( versions after the files refactor PR, API>31 )
- Python 3.10
- Requests Module (https://pypi.org/project/requests/)
Installation
- Download the whole folder
titleFromFilename - Place it in your plugins folder (where the
config.ymlis). If its not there create it - Reload plugins from stash (Settings > Plugins -> Reload Plugins)
- titleFromFilename should appear
Usage
When a scene is created the plugin will set the title to the filename.
By default the file extension will not be added to the title.
If you want to keep the file extension open config.py file and change STRIP_EXT = True to STRIP_EXT = False