Jump to content


mirco

Member Since 25 Jul 2014
Offline Last Active 20 Apr 2017 21:45
-----

Posts I've Made

In Topic: hover event

31 July 2014 - 09:34

hi i do something like this but it's doesn't work correctly

class Handlingevent(Screen):
	skin = """
		<screen position="100,150" size="460,400" title="Ihad.tv tutorial e2-tutorial lesson 5" >
			<widget name="myMenu" position="10,10" size="420,380" scrollbarMode="showOnDemand" />
		</screen>"""

	def __init__(self, session, args = 0):
		self.session = session
		
		list = []
		list.append("test1")
		list.append("test2")
		list.append("test3")
		list.append("test4")		
		
		Screen.__init__(self, session)
		self["myMenu"] = MenuList(list)
		self["myActionMap"] = ActionMap(["DirectionActions"],
		{
			"up": self.key_up,
			"down": self.key_up,
		}, -1)
		
		

	def key_up(self):
		print "handling event"
		
		

please help!


In Topic: OpenPLI 4 - Mediaplayer plugin

26 July 2014 - 11:30

sorry,i found it ...thanks

 

Share it with us?

hi,i'm newbie and I thought this can resolve my problem lol

os.system("gst-launch playbin2 uri=file:///media/usb/sample.mp4")

i found problem with screen,i don't know how to close screen and let only media player running,or to aply a complet new skin to an already build Screen and to let media player running there,or open new screen... please help :(


In Topic: OpenPLI 4 - Mediaplayer plugin

25 July 2014 - 09:08

sorry,i found it ...thanks


In Topic: OpenPLI 4 - Mediaplayer plugin

25 July 2014 - 04:36

hi,please how can i run media player with line command (python)?