Quantcast
Channel: configuration - Forum - FlexGet
Viewing all articles
Browse latest Browse all 716

Cache discover results?

$
0
0

@jtpavlock wrote:

Right now I have several tasks using the discover plugin, but accepting based on different quality criteria. As it stands (not sure if a config issue), the discover plugin will re-search for the same movie on the lower quality task after it has already searched for it in the first task. Is there a way to only search for the movie once, then have different tasks filtering the search results? Or perhaps cache discover results of the same movie?

A rough example of what I currently have

1080p Task:
	priority: 1
	discover
		what
			- movie-list: sd-movies
			- movie-list: 720p-movies
		from
			- tracker
	if:
		- quality != 1080p: reject
	list_add: movie_list: 1080p-movies
	list_match:
		from:
			- movie_list: sd-movies
			- movie-list: 720p-movies
			
720p Task:
	priority: 2
	discover
		what
			- movie-list: sd-movies
		from
			- tracker
	if:
		- quality != 720p: reject
	list_add: movie_list: 720p-movies
	list_match:
		from:
			- movie-list: sd-movies

Now this works, but it searches for the sd-movies twice. I'd like to find a way to accomplish this with only one search of each movie.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 716

Trending Articles