Comments (4)
for real thinking on this any way you rerun the collection even 10 minutes after you run it the first time the trending list will change. so I think the best option is to have it save what movies were added. I've got an idea of how to do this I'll try and get it in the next release
from kometa.
tbh im not sure how to set up something in python that radarr could hit with a webhook. I'll look into that but depending on what it would take to do that I don't know if I would.
What I know I could do is create a way to run specific collections again after a user-defined delay, possibly even multiple times with different delays.
Well, now that I think about it there's also the problem that for some people it takes hours for it to run I think my average run time is 4-5 hours. Maybe I could add a feature where you can automatically run collections again at the end of your run so like you have Trending run first and add movies to radarr and then give it a run_again: true
option and then it would run again at the end hours later hopefully now adding your movies to radarr.
But the trending list might change by then anyway, so a third option is to have the program remember the exact TMDb IDs that it sent to radarr for each collection and have it try and find those and add them to the collection either at the end of your run or after a delay.
What do you think?
from kometa.
There's some good info here about webhooks with python: https://blog.bearer.sh/consume-webhooks-with-python/
Yes, it's not an easy problem to solve and keep everyone happy. I did think about trending list changing on each run, and was going to suggest having an option in webhook to override add_to_arr to avoid repeated collection updates, BUT I didn't want to make this request too convoluted :)
Having said that, run_again: true
option for a collection does work - My average run time is around 30 mins, so that's plenty of time for arr
to download a trending item. This is probably going to be easier to implement, but someone like you with an average run time of 4-5 hours might want it on a specified delay instead of at the end of the run.
For me, either of these options would work so I'd be happy with you adding whatever is the easiest for you.
Also, worst case scenario, the ability to override add_to_arr
via a command line parameter would help, because then I could just run a script on a schedule that docker exec's and updates the trending collection every couple of hours or so but I would only want trending items added to arr on the full run at 9pm.
from kometa.
you can add run_again: true
to a collection to have it try and add the missing items to the collection after the daily run.
If you want to add a time delay after the daily run under the settings attribute in your config file you can have the run_again_delay
attribute which takes a number of minutes after the daily run to run the collections again and it defaults to zero.
from kometa.
Related Issues (20)
- Nightly docs are not available HOT 1
- Mapping library: ValueError: invalid literal for int() with base 10 HOT 4
- Plex Artwork Language HOT 1
- Error executing Kometa HOT 3
- [Defaults]: myanimelist season collection is outputting “season - continued” instead of “season - new” HOT 1
- invalid literal for int() with base 10: when doing movies HOT 1
- Report structure inconsistent between "Added"/"Removed" and "Missing" sections HOT 7
- Collection file fail to load HOT 2
- Mapping Movie Library Issue for new title 'City Hunter' - invalid literal for int() with base 10 HOT 2
- Collection Error: anilist_userlist score.gte attribute not supported HOT 1
- default: actor taking a long time to load every run even with schedule: monthy(1) is set HOT 8
- Failure creating certified fresh overlay HOT 2
- json schema will not validate "kitchen sink" config HOT 2
- Kitchen Sink Config TMDb Error: No Movie found for TMDb ID
- [Defaults]: json.schema needs an update
- Unraid walkthrough tells use to use `sudo apt install nano` which doesn't work HOT 13
- Creating a collection with ```trakt_list_details``` doesn't populate the collection's description when the Trakt list is marked as "official"
- Unknown Error: 'CommentedSeq' object has no attribute 'strip' HOT 1
- CERTIFICATE_VERIFY_FAILED even when verify_ssl:false
- Github rate-limiting breaks everything. HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kometa.