Information PseudoTV Live Beta Blog, Support & Discussion
I was able to increase the number of shows and networks by making changes to jsonrpc.py
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()))))
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).

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?
Reply


Messages In This Thread
RE: What's on the horizon... - by layziefj - 2019-08-31, 11:32
RE: What's on the horizon... - by TVNow - 2019-11-11, 22:29
RE: What's on the horizon... - by Lunatixz - 2019-11-11, 22:37
RE: What's on the horizon... - by Lunatixz - 2019-11-15, 20:11
RE: What's on the horizon... - by Lunatixz - 2020-06-24, 23:50
RE: What's on the horizon... - by Lunatixz - 2020-06-25, 17:40
RE: What's on the horizon... - by Lunatixz - 2020-06-26, 00:19
RE: What's on the horizon... - by Lunatixz - 2020-06-26, 00:32
RE: What's on the horizon... - by ARYEZ - 2020-06-29, 06:28
RE: What's on the horizon... - by gonzo90017 - 2020-06-27, 19:07
RE: What's on the horizon... - by gamaru - 2020-06-28, 09:28
RE: What's on the horizon... - by mwkurt - 2020-06-29, 12:44
RE: What's on the horizon... - by theflink - 2020-07-01, 17:23
RE: What's on the horizon... - by Lunatixz - 2020-07-03, 03:26
RE: What's on the horizon... - by TheGame1986 - 2020-07-03, 10:04
RE: What's on the horizon... - by Lunatixz - 2020-07-03, 10:45
RE: What's on the horizon... - by Dumyat - 2020-07-03, 13:49
RE: What's on the horizon... - by TheGame1986 - 2020-07-03, 14:04
RE: What's on the horizon... - by davrizio - 2020-07-03, 17:25
RE: What's on the horizon... - by Lunatixz - 2020-07-04, 08:35
RE: What's on the horizon... - by mwkurt - 2020-07-04, 17:05
RE: What's on the horizon... - by ARYEZ - 2020-07-04, 18:49
RE: What's on the horizon... - by Lunatixz - 2020-07-04, 20:23
RE: What's on the horizon... - by davrizio - 2020-07-04, 21:09
RE: What's on the horizon... - by davrizio - 2020-07-04, 21:29
RE: What's on the horizon... - by Lunatixz - 2020-07-04, 21:16
RE: What's on the horizon... - by davrizio - 2020-07-04, 21:31
ABOUT STRM FILES - by LARQ - 2021-05-14, 16:45
RE: ABOUT STRM FILES - by Lunatixz - 2021-05-14, 22:10
RE: ABOUT STRM FILES - by LARQ - 2021-05-15, 00:57
RE: ABOUT STRM FILES - by Lunatixz - 2021-05-15, 01:23
RE: PseudoTV Live Beta Blog, Support & Discussion - by TheWeasel - 2022-04-17, 23:35
Filler release? - by harryc102 - 2022-11-22, 00:23
RE: Filler release? - by Lunatixz - 2022-11-22, 21:51
Logout Mark Read Team Forum Stats Members Help
PseudoTV Live Beta Blog, Support & Discussion4