BiglySoftware / BiglyBT-plugin-rssfeed

An RSS feed parser that allows unattended, automated download of torrents by means of advanced feed filter configurability.
GNU General Public License v2.0
4 stars 4 forks source link

Setting multiple tags and a category #7

Closed pietchaki closed 3 years ago

pietchaki commented 3 years ago

I have a bunch of tags and categories. In the filters I want set it up so 1 category and up to 3 tags are applied to the torrent. Tags are inserted with no problem, but category isn't, instead it creates another Tag with same name as the category.

tags and category names are separated by commas in the filter. eg.: "Category1, Tag01, Tag02"

How can I do this? Or that's not possible?

parg commented 3 years ago

what filter are you talking about?

pietchaki commented 3 years ago

RSSFeed Scanner > Options tab > Filters > add or edit any filter. This is what I refer to as the "Filter" before. There is a "Set Tags/Category" field there.

image


If I understood correctly, when a download is started, it only looks at tags of the "manual" type, it should also look at Categories there.

Adding "TT_DOWNLOAD_CATEGORY" in this file: https://github.com/BiglySoftware/BiglyBT-plugin-rssfeed/blob/b0bb4f336e2a70db3d63c2dc58d609fef47a674a/org/kmallan/azureus/rssfeed/TorrentDownloader.java#L149

parg commented 3 years ago

Categories have existed for a long time. Tags were introduced to supercede categories with the intent of removing categories after a while. Unfortunately this hasn't happen and both now co-exist.

When tags were introduced this plugin was changed so that it would still work with categories for existing users. If a named category existed the categories were used. If the category didn't exist then tags were used.

I suppose I can change it to do what you want.

parg commented 3 years ago

Try plugin version 1.8 (should auto-update)

pietchaki commented 3 years ago

1.8 solved it! Thank you very much!