Kodi Community Forum
Question about passing variables - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26)
+--- Thread: Question about passing variables (/showthread.php?tid=171415)



Question about passing variables - karrade - 2013-08-16

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