summaryrefslogtreecommitdiff
path: root/src/YalpClients/EflClient/media.py
blob: 871369ee2ccec7dd1c11a055124d726000b0573d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/env python
import socket
import emotion
import playlist
import YalpInterfaces, CosNaming, YalpInterfaces__POA
import evas.c_evas

class Media(object):
	def __init__(self, result, video, servercon, win, c):
		self.result = result
		self.servercon = servercon
		self.win = win
		self.c = c
		self.video = video

	def callback(self, obj, str):
		songlist = []
		songlist.append(self.result)
		self.video.set_stream(songlist, self.servercon)