summaryrefslogtreecommitdiff
path: root/src/YalpClients/EflClient/media.py
blob: 0e068141652b8249f01bc586c021c3a3288d9d18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/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)