Skip to content

"Exception Thrown" Error #56

@bassmadrigal

Description

@bassmadrigal

I was browsing through my kodi logs and I came across an error reminiscent to #26. I get the following error when playing a video from an NFS share:

2023-07-20 15:55:55.913 T:1546     info <general>: VideoPlayer::OpenFile: nfs://10.0.0.152/my_video_file.mkv
2023-07-20 15:55:55.913 T:23969    info <general>: Creating InputStream
2023-07-20 15:55:55.923 T:1666    error <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                                    - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                                   Error Type: <class 'AttributeError'>
                                                   Error Contents: 'NoneType' object has no attribute 'get_video_id'
                                                   Traceback (most recent call last):
                                                     File "/home/jbhansen/.kodi/addons/script.service.sponsorblock/resources/lib/player_listener.py", line 131, in onPlayBackStarted
                                                       video_id = get_api(addon_id).get_video_id()
                                                   AttributeError: 'NoneType' object has no attribute 'get_video_id'
                                                   -->End of Python script error report<--
                                                   
2023-07-20 15:55:56.278 T:23969    info <general>: Creating Demuxer

This is on Kodi 20.1 (yeah, I need to update) and script.service.sponsorblock 0.5.0.

It doesn't seem to be causing any actual issues with playback of those videos and SponsorBlock works fine on YouTube videos, but I wanted to post it in case you weren't aware.

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