![]() |
Summary | This script updates the duration of movies in your Stash by summing the durations of their scenes. |
![]() |
Repository | Movie Duration From Scenes |
![]() |
Source URL | https://serechops.github.io/Serechops-Stash/index.yml |
![]() |
Install | How to install plugins via package manager |
Description
When managing movies in your database scenes are added, removed, or edited, and the movie duration may become outdated. This script solves that problem by recalculating the movie duration based on the sum of durations of its scenes.
How to Use
- Ensure you have Python installed on your system.
- Modify the
scenesMovieDuration.py
script to connect to your database and GraphQL endpoint. Default is: http://localhost:9999/graphql - Run the task
Update Movie Durations
to update all your movie durations to accurately reflect the sum of their total scenesβ durations.