mirror of
https://github.com/stashapp/CommunityScripts.git
synced 2026-02-05 04:45:09 -06:00
* Parse All Galleries for date - Break out the date parsing to a separate function. - Expand gallery search to more than single file zip galleries. - Also scan the gallery's folder path if available. The final valid parsed date of the files, then the gallery folder will be taken as the gallery's date. This will preserve the previous behavior of single file zip galleries, as there will be only one path to ever consider. * Revert to previous logic Previous logic returned the last possible valid date string in the path string, which is the more correct approach when a parent directory might also have a date string. * formatting * bump version * Cleanup lingering prototype line
13 lines
311 B
YAML
13 lines
311 B
YAML
name: Gallery Date Parser
|
|
description: Find date in path or filename and add it to the gallery
|
|
version: 0.3.0
|
|
exec:
|
|
- python
|
|
- "{pluginDir}/date_parser.py"
|
|
interface: raw
|
|
tasks:
|
|
- name: Find gallery dates
|
|
description: Add the date on galleries based on their path
|
|
defaultArgs:
|
|
mode: gallery
|