freevo: Problem running imdb plugin from command line

wim delvaux wim.delvaux at
Fri Jan 2 01:55:58 UTC 2009

Package: freevo
Severity: important

when running

freevo imdb -s test

as a regular user (part of the freevo group)

I noticed that I got the imdb usage message.

when running

freevo -d imdb -s test

the GUI starts up (and not as expected the imdb-fetch command)

after some investigation I noticed this in the /usr/bin/freevo startup script

exec sg freevo -c "$DAEMON.real $@"

and noticed when tracing the sg command that the arguments expanded by $@ were not interpreted as 
one string (as sg requires) but as parts.  I.e. only the first argument was passed to the /usr/bin/freevo.real command
and not all arguments.

Changing the command in the script as

X="$DAEMON.real $@"
and then
exec sg freevo -c "$X"

makes all things work just nicely.

-- System Information:
Debian Release: lenny/sid
  APT prefers hardy-updates
  APT policy: (500, 'hardy-updates'), (500, 'hardy-security'), (500, 'hardy-proposed'), (500, 'hardy')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-23-generic (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages freevo depends on:
ii  adduser             3.105ubuntu1         add and remove users and groups
ii  console-tools       1:0.2.3dbs-65ubuntu7 Linux console and font utilities
ii  debconf             1.5.20               Debian configuration management sy
ii  freevo-data            Themes and non-application data fo
ii  lsdvd               0.16-3               read the content info of a DVD
ii  mplayer             2:1.0~rc2-0ubuntu13  The Ultimate Movie Player For Linu
ii  python              2.5.2-0ubuntu1       An interactive high-level object-o
ii  python-central      0.6.7ubuntu0.1       register and build utility for Pyt
ii  python-freevo            Python modules for Freevo

Versions of packages freevo recommends:
ii  cdparanoia            3.10+debian~pre0-6 audio extraction tool for sampling
ii  libxmltv-perl         0.5.51-2ubuntu2    Perl libraries related to the XMLT
pn  xine-ui               <none>             (no description available)
ii  xmltv-util            0.5.51-2ubuntu2    Utilities related to the XMLTV fil

-- debconf information:
* freevo/path_to_recordings: /home/u19809/Videos
* freevo/display: x11
* freevo/start_on_boot:
* freevo/path_to_audio: /home/u19809/mp3
* freevo/path_to_image: /home/u19809/images
* freevo/norm: pal
* freevo/services: recordserver, webserver
* freevo/geometry: 768x576
* freevo/path_to_video: /home/u19809/Videos
* freevo/title_audio: Audio folder
* freevo/title_image: Image folder
* freevo/chanlist: europe-west
* freevo/title_video: Video folder

More information about the ubuntu-users mailing list