Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Ability to bypass schedule for initial collection creation using schedule configuration paramaters #914

Closed
DeftNerd opened this issue Jun 5, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request status:added-to-develop Feature Request or Bug Fix is in Develop

Comments

@DeftNerd
Copy link

DeftNerd commented Jun 5, 2022

Is your feature request related to a problem? Please elaborate.

I like having collections of festival award winning movies, but those festivals occur yearly.
In my configuration, I like to have a yearly schedule that occurs after the awards are announced. I would prefer not to manually override the schedule to create the collection for the first time and then schedule it afterwards.

For example, the git: PMM/award/cannes configuration file doesn't have a schedule embedded in it, so my PMM config says:

      - git: PMM/award/cannes
        schedule: yearly(06/01)

The Cannes awards are issued at the end of May every year.

The problem is that if I run this today, it's after 06/01 so the collection won't be created until next year. I've missed the opportunity.

Describe the solution you'd like

I would like to see an additional scheduling option to add to the existing ones like hourly, daily, weekly, never, range, etc. Perhaps it could be called create or onEmpty. Whatever nomenclature seems to be already used in other areas of PMM.

The idea would be that we could embed the schedule information within config files (especially GIT based ones) that are shared so when someone wants to add an awards show, when PMM is run it'll create the collection and process the data and then it won't be run again until the other schedule criteria is met.

For Example:

    schedule: 
     - onEmpty
     - yearly(06/01)

Additional Information

No response

@DeftNerd DeftNerd added enhancement New feature or request status:not-yet-viewed I haven't reviewed the Feature or Bug yet labels Jun 5, 2022
meisnate12 added a commit that referenced this issue Jun 27, 2022
@meisnate12 meisnate12 added status:added-to-develop Feature Request or Bug Fix is in Develop and removed status:not-yet-viewed I haven't reviewed the Feature or Bug yet labels Jun 27, 2022
nwithan8 pushed a commit to nwithan8/Plex-Meta-Manager that referenced this issue Oct 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request status:added-to-develop Feature Request or Bug Fix is in Develop
Projects
None yet
Development

No branches or pull requests

2 participants