hydrusnetwork / hydrus

A personal booru-style media tagger that can import files and tags from your hard drive and popular websites. Content can be shared with other users via user-run servers.
http://hydrusnetwork.github.io/hydrus/
Other
2.37k stars 156 forks source link

Allow copying multiple queries from 'bulk' downloaders #925

Open CuddleBear92 opened 3 years ago

CuddleBear92 commented 3 years ago

the copy query action does not copy the multiple queries in a bulk job. it works like this with a single selected job or multiple jobs, copying multiple queries in a single job does not work like this sadly.

here i copied a bulk query (12 queries) and additional queries that i wanted to remake into a new single job: image

hydrusnetwork commented 3 years ago

Ah yeah, I am sorry, the multiple queries thing is a bit of a hack. Downloaders don't actually keep (they are never actually told) of their spawning text. They just get URLs from a GUG to start a search with. To support the 'copy queries' thing, I cheat a bit and make the 'name' of the query as its spawning text, but in other cases, such as here, it may be something else. In future, URL Classes may be taught enough about a URL to pull query text from an example URL, or I could just explicitly store possible query texts in each query. I'll consider this as I plug these systems into the subscription system (i.e. 'you are already subbed to blah on site bleh').