Kodi Community Forum

Full Version: Question about passing variables
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi. Im new to python and im sending this from my phone so mind Punctuation and sloppiness.

I was wondering how to pass a variable from the

def onPlaybackstarted
To
Def onplaybackended

any help would be greatly appreciated

####### EDIT
Sorry was having a lapse in brain function, lol.

I had the 'Self' Parameter, so I just used self.variablename to pass it between them, thanks anyways