2018-03-08, 14:54
(2018-03-08, 11:43)kingkearney Wrote: Great addon for kodi that works well with trakt for tagging. I've edited the settings file to change it from 5 to 20 lists, I am unable to make more lists due to the 'id' numbers now overlapping.Thanks
I'd like to be able to get up to 200+ lists as I use tags for my Netflix genres, I currently have about 170 trakt lists.
How do I go about making it possible to make more than 20 lists for trakt tagging?
In this case I'd look at the settings.xml file and extend the Trakt list ids . It's been a while since I looked at this, but there seem to be three IDs required for each Trakt URL: A Trakt User, A Trakt List, and a tag to go with this pair. so:
32164, 32124 and 32144 are the ids of these three respective fields of the 5th Trakt list. I'd just increment these numbers as many times as needed for your use case. ie:
xml:<setting label="30922" type="text" visible="gt(-16,3) + eq(-19,true)" id="32165 default="TraktUser6"/>
<setting label="30922" type="text" visible="gt(-17,3) + eq(-20,true)" id="32125" default="UserList6"/>
<setting label="30903" type="text" visible="gt(-18,3) + eq(-21,true)" id="32145" default="UserTag6"/>
Also, update the enum to reflect your new max count (the addon reads this value to determine how many lists it will extract)
xml:<setting label="30921" visible="eq(-3,true)" default="1" type="enum" id="32098" values="1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17|18|19|20"/>
Ignore the label numbers - these are just for localisation. If curious, notice that the strings.po file is used to map each of these labels to english text. 30903, for example, maps to "Set this tag in Kodi:".
I can't test this at the moment, but am pretty sure that will get the job done - hopefully this is enough info for you to get the desired behaviour.