Created
May 26, 2019 17:30
-
-
Save henryjfry/df0084ccc872fea983ee9cb2d0ff2e7f to your computer and use it in GitHub Desktop.
Fix OPENMETA issue with ampersands (&) in show titles - plugin.video.openmeta/resources/lib/play_tvshows.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#TOP OF FILE | |
#added to process dict "params[lang]" and change ' & ' to ' and ' | |
import ast | |
###### | |
###### | |
######LINE 54 we add the line below to fix params[lang] which is a dict + change all instances of " & " to " and " | |
params[lang] = ast.literal_eval(repr(params[lang]).replace(' & ',' and ')) | |
# xbmc.log('LOGHERE-----'+str(params[lang]) , level=2) | |
link = play_base.on_play_video(players, params, trakt_ids) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment