I tried to add a new podcast RSS feed to my opml file. However, I found that the addon would not open the feed. After looking at the kodi.log, I found that python is raising a KeyError exception at line 195 in addon.py where the episode description is assigned to name2.
After looking at the RSS feed, I discovered that not every episode has a description, which is causing the KeyError. I propose to assign name2 in a try/except block, which will handle the exception in case an episode in the feed does not have a description. I changed code to below and it fixed the issue.
I tried to add a new podcast RSS feed to my opml file. However, I found that the addon would not open the feed. After looking at the kodi.log, I found that python is raising a KeyError exception at line 195 in addon.py where the episode description is assigned to name2.
After looking at the RSS feed, I discovered that not every episode has a description, which is causing the KeyError. I propose to assign name2 in a try/except block, which will handle the exception in case an episode in the feed does not have a description. I changed code to below and it fixed the issue.