You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice if one could run Jackett transparently from within qBittorent, like so:
These are all results from Jackett, not from the specific search engine plugins. It's a simple matter of replacing the current boolean toggle tracker_first with something like the following:
CONFIG_DATA = {
...
'tracker_name': 0, # (0/1/2) append tracker in the "Name" field/prepend tracker in the "Name" field/replace the "Search Engine" field
...
}
if CONFIG_DATA['tracker_name'] is 0:
res['name'] = '%s [%s]' % (result['Title'], result['Tracker'])
elif CONFIG_DATA['tracker_name'] is 1:
res['name'] = '[%s] %s' % (result['Tracker'], result['Title'])
elif CONFIG_DATA['tracker_name'] is 2:
res['name'] = '%s' % (result['Title'])
res['engine_url'] = '%s' % (result['Tracker'])
So e.g. a value of 2 would result in the above picture. And it goes without saying that there could also be other options, e.g. "Jackett - result['Tracker']" if one wishes to also run other plugins along with Jackett, or even better something like "result['Tracker'] (via Jackett)" so the results can also be sorted by tracker name, etc.
The text was updated successfully, but these errors were encountered:
It's a good idea but can't be made without changing a lot of code in qBittorrent core.
I made an attempt when I was doing #79 but it breaks the .torrent download from Jackett.
Right, I completely neglected to consider that case. So, if I get this right, this "beautification" would have to be done inside qBittorrent core, i.e. in very broad terms pass the self.url unmodified so qB knows about it and can handle downloading, but also pass the tracker name separately, and then use that to populate the Search Engine column at the last moment. Same e.g. as if one wanted to have a "Publish Date" column (as per the request in #71 ), where I guess the date would need to be passed as is so it can be used for sorting, filtering or what have you, and any alterations to make it more presentable would have to be done just before painting it in the GUI.
It would be nice if one could run Jackett transparently from within qBittorent, like so:
These are all results from Jackett, not from the specific search engine plugins. It's a simple matter of replacing the current boolean toggle
tracker_first
with something like the following:So e.g. a value of 2 would result in the above picture. And it goes without saying that there could also be other options, e.g. "Jackett - result['Tracker']" if one wishes to also run other plugins along with Jackett, or even better something like "result['Tracker'] (via Jackett)" so the results can also be sorted by tracker name, etc.
The text was updated successfully, but these errors were encountered: