Protocol-X / script.video.funimationnow

Unified FunimationNOW Kodi Add-On
GNU General Public License v3.0
3 stars 2 forks source link

Captions broken + fix #10

Open gitmatt19 opened 2 years ago

gitmatt19 commented 2 years ago

Captions have stopped working correctly recently because of a parsing bug in the code. It can be fixed by making this change :

Path ~/.kodi/addons/script.video.funimationnow/resources/lib/module File : funimationnow.py closedCaptionUrl = utils.parseValue(item, ['hls', 'closedCaptionUrl', '#text']); if closedCaptionUrl is None: closedCaptionUrl = utils.parseValue(item, ['hls', 'closedCaptionUrl']); ADD ---------^

Worked for me.

CHJ85 commented 2 years ago

What exactly am I suppose to replace and add? The first 2 lines are already there. Am I suppose to replace those 2 with the 3rd line? Please add a PR.