diff -r a806d8ad0ff0 -r f4c6061f6f39 gmyth-stream/main.py --- a/gmyth-stream/main.py Tue Mar 27 00:13:27 2007 +0100 +++ b/gmyth-stream/main.py Wed Mar 28 21:26:42 2007 +0100 @@ -1,30 +1,3 @@ - ''' - # GMyth-Stream - # - # @file main.py - # - # @brief

Plugin for GMyth-Stream - # - # Copyright (C) 2007 INdT - Instituto Nokia de Tecnologia. - # @author Artur Duque de Souza - # - # - # This program is free software; you can redistribute it and/or modify - # it under the terms of the GNU Lesser General Public License as published by - # the Free Software Foundation; either version 2 of the License, or - # (at your option) any later version. - # - # This program is distributed in the hope that it will be useful, - # but WITHOUT ANY WARRANTY; without even the implied warranty of - # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - # GNU General Public License for more details. - # - # You should have received a copy of the GNU Lesser General Public License - # along with this program; if not, write to the Free Software - # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - # - ''' - #!/usr/bin/python import sys @@ -62,7 +35,9 @@ elif (msg == "SETUP"): setup = server.getMsg(1024).strip().split(" ") media.setup(setup[0], setup[1], setup[2], \ - setup[3], setup[4], setup[5]) + setup[3], setup[4], setup[5], + setup[6], setup[7], setup[8], + setup[9]) elif (msg == "PLAY"): media.play() @@ -81,5 +56,5 @@ server.disconnect_client(con) server.stop() - +del(server) print "--> Server stopped..."