-
Notifications
You must be signed in to change notification settings - Fork 130
Closed
Description
Describe the bug
I pressed A
in a playlist and added a radio station. Then, I saw crash.
Reading playlist...
Traceback (most recent call last):
File "/usr/lib/python-exec/python3.11/pyradio", line 8, in <module>
sys.exit(shell())
^^^^^^^
File "/usr/lib/python3.11/site-packages/pyradio/main.py", line 876, in shell
curses.wrapper(pyradio.setup)
File "/usr/lib/python3.11/curses/__init__.py", line 94, in wrapper
return func(stdscr, *args, **kwds)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pyradio/radio.py", line 978, in setup
self.run()
File "/usr/lib/python3.11/site-packages/pyradio/radio.py", line 1835, in run
ret = self.keypress(c)
^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pyradio/radio.py", line 7796, in keypress
self.refreshBody()
File "/usr/lib/python3.11/site-packages/pyradio/radio.py", line 1247, in refreshBody
self._redisplay[self._redisplay_list[n][0]]()
File "/usr/lib/python3.11/site-packages/pyradio/radio.py", line 10213, in _redisplay_stations_and_playlists
self.__displayBodyLine(lineNum, pad, self.stations[i])
~~~~~~~~~~~~~^^^
IndexError: list index out of range
System (please complete the following information):
- OS: Gentoo Linux
- Python version: 3.11.7
- PyRadio Version: 0.9.2.20
Metadata
Metadata
Assignees
Labels
No labels