I'm looking for a solution to create a global variable to store the handle : "fd" when I create a socket
Code: Select all
fd = vlc.net.connect_tcp("localhost",54293)
Code: Select all
PlayerState = vlc.var.get(vlc.object.input(), "state")
I don't know how to create a global variable .
Thanks