support spaces in service names
Status: Beta
Brought to you by:
charrea6
hi, this simple patch supports spaces in service names
--- gtkdvbctrl/trunk/src/dvbstreamer.py (revisione 704)
+++ gtkdvbctrl/trunk/src/dvbstreamer.py (copia locale)
@@ -44,7 +44,7 @@
"""
Select the primary service.
"""
- (errcode, errmsg, msg) = self.execute_command('select ' + service, True)
+ (errcode, errmsg, msg) = self.execute_command('select "' + service + '"', True)
if errcode != 0:
raise DVBStreamerError(errcode, errmsg)