Using tuples in addon
#1
I'm not a Python coder but i expected this to be easy for me but after a few hours of struggling getting it to work i'm dropping my issue here.
Maybe someone can guide me or hint what is going wrong in what i did.
The addon itself is not my creation but i'm using this pretty simple addon to expand my own knowledge and learn more from Python coding.

What i did in this addon is added the option to configure it from GUI so ignore words (found in path) can be added so this addon doesn't process it further.

The specific line i'm struggling with is this https://github.com/schumi2004/script.aut...ult.py#L40
Code:
if (not xbmc.getCondVisibility("VideoPlayer.HasSubtitles")) and all(movieFullPath.find(v) <= -1 for v in ignore_words):

I can add ignore words in GUI but for some reason they aren't accepted if there are more then one words, the whole idea fails then.

Any suggestions or tips?
Reply

Logout Mark Read Team Forum Stats Members Help
Using tuples in addon0