Skip to content

Error Contents: string indices must be integers, not 'str' (name = channel["channel_name"]) #46

@mvrk69

Description

@mvrk69

Hi,

I started getting this error when go to Live tv:

2023-11-01 22:53:02.906 T:3364 error : EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'TypeError'>
Error Contents: string indices must be integers, not 'str'
Traceback (most recent call last):
File "/storage/.kodi/addons/plugin.video.rtpplay/main.py", line 10, in
plugin.run()
File "/storage/.kodi/addons/plugin.video.rtpplay/resources/lib/plugin.py", line 360, in run
plugin.run()
File "/storage/.kodi/addons/script.module.routing/lib/routing.py", line 130, in run
self._dispatch(self.path)
File "/storage/.kodi/addons/script.module.routing/lib/routing.py", line 141, in _dispatch
view_func(**kwargs)
File "/storage/.kodi/addons/plugin.video.rtpplay/resources/lib/plugin.py", line 113, in live
name = channel["channel_name"]
~~~~~~~^^^^^^^^^^^^^^^^
TypeError: string indices must be integers, not 'str'
-->End of Python script error report<--

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions