jellyfin-kodi icon indicating copy to clipboard operation
jellyfin-kodi copied to clipboard

IndexError on trailer.rsplit

Open oddstr13 opened this issue 3 years ago • 0 comments

2020-12-14 11:41:39.479 T:2647647088  NOTICE: JELLYFIN.objects.movies -> ERROR::jellyfin_kodi/objects/movies.py:174 Failed to get trailer: list index out of range
                                            Traceback (most recent call last):
                                              File "jellyfin_kodi/objects/movies.py", line 171, in trailer
                                                obj['Trailer'] = "plugin://plugin.video.youtube/play/?video_id=%s" % obj['Trailer'].rsplit('=', 1)[1]
                                            IndexError: list index out of range

Originally posted by @oddstr13 in https://github.com/jellyfin/jellyfin-kodi/issues/443#issuecomment-744663651

oddstr13 avatar Dec 14 '20 19:12 oddstr13