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)
- Overlay my YAML file "Newly Released" not show HOT 8
- AniDB Builder type conversion error HOT 6
- [Defaults]: Trakt.tv X-Men list deleted (returns a 404) HOT 1
- Pre-Rolls HOT 8
- Issue uploading to plex (I think) HOT 3
- [Docs]: ImageMaid vs old repo Plex-image-cleanup HOT 1
- Overlay Error: sonarr_taglist is not a valid filter attribute HOT 8
- [Defaults]: Default does not exist HOT 1
- Blank Secrets result in errors during execution
- Empty trash doesn't seem to work HOT 1
- how to control when Kometa itself runs,like if you want Kometa to only run on Tuesdays and Thursdays HOT 2
- run_end Webhook event HOT 3
- TVShows overlays with total_runtime don't update at show and season level every time a new episode is released/added HOT 15
- "Duration" filter might not be working as intended HOT 3
- image broken
- Plex Error when utilizing Config Secrets for the plex token HOT 4
- X-men trakt link is dead HOT 2
- Collections URL Error "URL Error: No file found at https://raw.githubusercontent.com/Kometa-Team/Translations/master/defaults/en.yml" HOT 1
- `audio_track_title` filter is not collecting all shows with audio tracks with collections
- Kometa Run Failing Due to Notifiarr Being Down
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.