I'm trying to add some functionality to the Mobile Plugin. There already exists a Labels drop down to filter the list of torrents by label. I'd like to add a Trackers drop down to be able to filter by tracker too.
The tracklabels plugin does this for the desktop interface:
I want that same list of trackers and numbers in a drop down for the Mobile plugin. My question is: can I use the tracklables plugin to help me generate this list of trackers? Or do I need to grab the trackers and and add up the counts manually from the Mobile plugin. Basically, I'm wondering if any of the functions or data structures from the tracklabels plugin could be used to generate the list for the drop down in the mobile plugin?
The tracklabels plugin does this for the desktop interface:
I want that same list of trackers and numbers in a drop down for the Mobile plugin. My question is: can I use the tracklables plugin to help me generate this list of trackers? Or do I need to grab the trackers and and add up the counts manually from the Mobile plugin. Basically, I'm wondering if any of the functions or data structures from the tracklabels plugin could be used to generate the list for the drop down in the mobile plugin?