2022-04-17, 23:35
I was able to increase the number of shows and networks by making changes to jsonrpc.py
Now I have to disable auto update though since I modified hard coded values. Can you make these limits configurable in a future update so I can set them higher than you do by default?
The limits are currently hard coded in this file as 250, 50, and 25 for TV Shows, Networks, and TV Genres respectively. I raised these values to above my collection size and this resolved my issue (set TVShows to 999 for example and it found all 368 TV Shows and added their channels properly).python:if sortbycount:
TVShows = [json.loads(x[0]) for x in sorted(TVShows.most_common(250))]
NetworkList = [x[0] for x in sorted(NetworkList.most_common(50))]
ShowGenreList = [x[0] for x in sorted(ShowGenreList.most_common(25))]
else:
TVShows = (sorted(map(json.loads, TVShows.keys()), key=lambda k: k['label']))
del TVShows[250:]
NetworkList = (sorted(set(list(NetworkList.keys()))))
del NetworkList[250:]
ShowGenreList = (sorted(set(list(ShowGenreList.keys()))))
Now I have to disable auto update though since I modified hard coded values. Can you make these limits configurable in a future update so I can set them higher than you do by default?