-
-
Notifications
You must be signed in to change notification settings - Fork 105
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
Ability to identify in the classifier movies and TV shows from lists in sonarr, radarr, jellyfin and TMDB discover #352
Comments
Hi, for clarity, I think a better title for this might be something like "Ability to identify in the classifier movies and TV shows that I've added in Radarr and Sonarr" - please correct me if I'm wrong as I initially struggled to understand what you meant by "extension" in this feature request. An "extension" in the context of the classifier is intended to be a file extension, for example flag_definitions:
my_radarr_movies: string_list
my_sonarr_series: string_list I think your feature request can be achieved quite simply with some standalone script that keeps a list of your IDs up-to-date and is provided as a config file to bitmagnet using the classifier:
flags:
my_radarr_movies:
- abc123
- xyz123
my_sonarr_series:
- abc123
- xyz123 Having done the above, you can then refer to these in your classifier, like A slight inconvenience with this is having to restart the queue worker when the list is updated. Dynamically loading configs is something I also have in mind, e.g. so preferences can be set in the UI without restarting the process, or so this config file can be reloaded. I feel your requested feature probably doesn't belong in the core. A plugin system could ultimitely avoid the need for an external script. This is definitely on the roadmap but is a substantial piece of work that I can't give an expected timeline for right now. |
Agreed - I'm also looking at this from perspective of sources of TMDB IDs that could be used by classifier to categorise torrents. Have code working for radarr, sonarr, TMDB (discover API) and jellyfin
I fall into that category :-) Plus have used flag definitions. Will update to consistently use single purpose string lists.
That's my view too - would also be good to provide these capabilities to wider user community. I know the core of any software product needs to be kept within functional boundaries so that future change does not get compromised or slowed down. For now I'll use classifier config loading as an integration point and in a fork and keep PR in mergeable state. |
Is your feature request related to a problem?
In order to use the flexibility of the classifier, the flexibility to define custom rules and workflows is invaluable. This could be further enhanced by having a plugin system that sources external lists of TMDB ids for use in classifier rules.
For example
would be far more flexible if
extensions.sonarr
list was sourced from sonarrDescribe the solution you'd like
plugin defined in classifier.yml
for example:
source values in classifier go code
internal/classifier/source.go
internal/classifier/source_provider.go
internal/classifier/extension_plugins.go
Describe alternatives you've considered
No change to bitmagnet, have completely separate utility that generates
classifier.yml
. This works but is not integratedAdditional context
Feed back wanted - happy to change and submit a PR. Already have a working solution within my build. Concept could potentially work for any plugin list. However concept code in this issue at moment is limited to TMDB Ids sourced from radarr or sonarr.
The text was updated successfully, but these errors were encountered: