View Ticket
2020-05-04
| ||
17:53 | • Fixed ticket [4163057c37]: 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 plus 4 other changes artifact: ac024dba2f user: mario | |
2020-04-13
| ||
15:38 | • Ticket [4163057c37]: 5 changes artifact: bef945b2e6 user: joostden | |
15:33 | • Add attachment tunein.py to ticket [4163057c37] artifact: 845e28209a user: joostden | |
15:31 | • New ticket [4163057c37] 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. artifact: 8818520a4e user: joostden | |
Ticket Hash: | 4163057c375ef104d431de2dbbc866d21a117d25 | |||
Title: | 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 | |||
Status: | Fixed | Type: | Code_Defect | |
Severity: | Critical | Priority: | Immediate | |
Subsystem: | Resolution: | Fixed | ||
Last Modified: | 2020-05-04 17:53:09 | |||
Version Found In: | 2.2.1 | |||
User Comments: | ||||
joostden added on 2020-04-13 15:31:58:
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' joostden added on 2020-04-13 15:38:14: The error occurs when using tune-in and switching from local stations to any other category. mario added on 2020-05-04 17:53:09: 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.) |
Attachments:
- tunein.py [download] added by joostden on 2020-04-13 15:33:08. [details]