Hi friends ...
I have some render on my plugin include code to get name of cam to all image and panel ..
Before on GP3 I have use this code
Python
# GP3
elif fileExists("/usr/lib/enigma2/python/Plugins/Bp/geminimain/lib/libgeminimain.so"):
try:
from Plugins.Bp.geminimain.plugin import GETCAMDLIST
from Plugins.Bp.geminimain.lib import libgeminimain
camdl = libgeminimain.getPyList(GETCAMDLIST)
cam = None
for x in camdl:
if x[1] == 1:
cam = x[2]
return cam
except:
return None
Alles anzeigen
And one cam please edit it to me for Gp4 ?! Because some file in Gp4 Panel closed I can not get cam name code from it ..
Thank you