Bug#589749: nautilus: Audio preview of CD tracks fails if totem is not installed

Olivier Tilloy olivier at tilloy.net
Tue Jul 20 15:57:00 UTC 2010


Package: nautilus
Version: 1:2.30.1-0ubuntu1.1
Severity: normal
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu lucid ubuntu-patch


To perform audio preview, Nautilus uses totem-audio-preview. If not present (i.e. if totem is not installed), it falls back on gst-launch-0.10 with a playbin pipeline. Unfortunately playbin doesn't understand the cdda:// URIs when trying to preview tracks on an audio CD.

Steps to reproduce:
1) Uninstall totem:
    sudo apt-get remove totem
2) Install gstreamer0.10-tools:
    sudo apt-get install gstreamer0.10-tools
3) Make sure audio previews are active:
    gconftool-2 --type string --set /apps/nautilus/preferences/preview_sound "always"
4) Insert an audio CD, when prompted what to do choose "Open Folder"
5) Hover the mouse cursor over one of the tracks in nautilus (typically "Track n.wav")

Expected result: after a delay (about 1 second), the track starts playing.
Current result: nothing happens.

Note that when totem is installed, the preview works.

-- System Information:
Debian Release: squeeze/sid
  APT prefers lucid-updates
  APT policy: (500, 'lucid-updates'), (500, 'lucid-security'), (500, 'lucid-backports'), (500, 'lucid')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-23-generic (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages nautilus depends on:
ii  desktop-file-utils  0.16-0ubuntu2        Utilities for .desktop files
ii  gvfs                1.6.1-0ubuntu1build1 userspace virtual filesystem - ser
ii  libappindicator0    0.0.19-0ubuntu4      Application Indicators
ii  libatk1.0-0         1.30.0-0ubuntu2.1    The ATK accessibility toolkit
ii  libc6               2.11.1-0ubuntu7.2    Embedded GNU C Library: Shared lib
ii  libcairo2           1.8.10-2ubuntu1      The Cairo 2D vector graphics libra
ii  libdbus-glib-1-2    0.84-1               simple interprocess messaging syst
ii  libexempi3          2.1.1-1build2        library to parse XMP metadata (Lib
ii  libexif12           0.6.19-1             library to parse EXIF files
ii  libgail18           2.20.1-0ubuntu2      GNOME Accessibility Implementation
ii  libgconf2-4         2.28.1-0ubuntu1      GNOME configuration database syste
ii  libglib2.0-0        2.24.1-0ubuntu1      The GLib library of C routines
ii  libglib2.0-data     2.24.1-0ubuntu1      Common files for GLib library
ii  libgnome-desktop-2- 1:2.30.2-0ubuntu1    Utility library for loading .deskt
ii  libgtk2.0-0         2.20.1-0ubuntu2      The GTK+ graphical user interface 
ii  libice6             2:1.0.6-1            X11 Inter-Client Exchange library
ii  liblaunchpad-integr 0.1.35               library for launchpad integration
ii  libnautilus-extensi 1:2.30.1-0ubuntu1.1  libraries for nautilus components 
ii  libpango1.0-0       1.28.0-0ubuntu2      Layout and rendering of internatio
ii  libselinux1         2.0.89-4             SELinux runtime shared libraries
ii  libsm6              2:1.1.1-1            X11 Session Management library
ii  libunique-1.0-0     1.1.6-1ubuntu2       Library for writing single instanc
ii  libx11-6            2:1.3.2-1ubuntu3     X11 client-side library
ii  libxml2             2.7.6.dfsg-1ubuntu1  GNOME XML library
ii  libxrender1         1:0.9.5-1            X Rendering Extension client libra
ii  nautilus-data       1:2.30.1-0ubuntu1.1  data files for nautilus
ii  shared-mime-info    0.71-1ubuntu2        FreeDesktop.org shared MIME databa

Versions of packages nautilus recommends:
ii  app-install-dat 0.10.04.7                Ubuntu applications (data files)
ii  consolekit      0.4.1-3ubuntu1           framework for defining and trackin
ii  eject           2.1.5+deb1+cvs20081104-7 ejects CDs and operates CD-Changer
ii  gvfs-backends   1.6.1-0ubuntu1build1     userspace virtual filesystem - bac
ii  librsvg2-common 2.26.3-0ubuntu1          SAX-based renderer library for SVG

Versions of packages nautilus suggests:
ii  brasero                2.30.2-0ubuntu1   CD/DVD burning application for GNO
ii  eog                    2.30.0-0ubuntu1   Eye of GNOME graphics viewer progr
ii  evince [pdf-viewer]    2.30.3-0ubuntu1.1 Document (postscript, pdf) viewer
ii  software-center [gnome 2.1.0~ppa1        Utility for browsing, installing, 
ii  vlc [mp3-decoder]      1.0.6-1ubuntu1.1  multimedia player and streamer
ii  vlc-nox [mp3-decoder]  1.0.6-1ubuntu1.1  multimedia player and streamer (wi
ii  xdg-user-dirs          0.12-0ubuntu2     tool to manage well known user dir

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: preview-audio-cd-tracks-with-playbin.patch
Type: text/x-diff
Size: 829 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20100720/fbaea9f2/attachment-0001.patch>


More information about the pkg-gnome-maintainers mailing list