2016-06-18, 00:03
My addon's default.py file has the following structure:
When Kodi starts, it also started (`getTrailer(self, onoff)` executed). How could I disable such addon behaviour?
Code:
class PlayTrailer:
def __init__(self):
self.getTrailer(False)
def getTrailer(self, onoff):
...
PlayTrailer()