3
# Specto , Unobtrusive event notifier
7
# See the AUTHORS file for copyright ownership information
9
# This program is free software; you can redistribute it and/or
10
# modify it under the terms of the GNU General Public
11
# License as published by the Free Software Foundation; either
12
# version 2 of the License, or (at your option) any later version.
14
# This program is distributed in the hope that it will be useful,
15
# but WITHOUT ANY WARRANTY; without even the implied warranty of
16
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17
# General Public License for more details.
19
# You should have received a copy of the GNU General Public
20
# License along with this program; if not, write to the
21
# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
22
# Boston, MA 02111-1307, USA.
34
self.player = gst.element_factory_make("playbin", "player")
36
self.player.set_property('uri', uri)
37
self.player.set_state(gst.STATE_PLAYING)
b'\\ No newline at end of file'