History Of Ticket 4163057c375ef104d431de2dbbc866d21a117d25
Artifacts Associated With Ticket 4163057c375ef104d431de2dbbc866d21a117d25
Ticket change [8818520a4e] (rid 4288) by joostden on 2020-04-13 15:31:58:
- foundin initialized to: "2.2.1"
- icomment:
The change of file tunein.py; line 103 into "if int(len(r)) < int(conf.max_streams) and max > 0: " solves the following error: File "/usr/share/streamtuner2/channels/tunein.py", line 103, in api if len(r) < conf.max_streams and max > 0: TypeError: '<' not supported between instances of 'int' and 'str'
- login: "joostden"
- mimetype: "text/x-fossil-plain"
- private_contact initialized to: "814b15ef51bc21eec24d08d20daf211382a7d447"
- severity initialized to: "Critical"
- status initialized to: "Open"
- title initialized to:
In the tunein.py line 103 needs to be changed into "if int(len(r)) < int(conf.max_streams) and max > 0:" to work properly
- type initialized to: "Code_Defect"
Add attachment "tunein.py" [845e28209a] (rid 4290) by joostden on 2020-04-13 15:33:08.
Ticket change [bef945b2e6] (rid 4291) by joostden on 2020-04-13 15:38:14:
- icomment:
The error occurs when using tune-in and switching from local stations to any other category.
- login: "joostden"
- mimetype: "text/x-fossil-plain"
- priority changed to: "Immediate"
- resolution changed to: "Open"
- icomment:
Ticket change [ac024dba2f] (rid 4293) by mario on 2020-05-04 17:53:09:
- icomment:
Fixed now. Thanks! (IIRC there was a similar issue in another channel. The typecasting should have happened in the config. class, but seemingly didn't. Thus it's probably best to carry explicit casts around.)
- login: "mario"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Fixed"
- status changed to: "Fixed"
- icomment: