Package: tunapie Version: 2.1.17-1 Severity: normal Tags: patch I have installed tunapie on Ubuntu and the play button was not working, I have checked the code and it does not attempt to use totem or amarok. Because totem and Amarok are available on default installes for Ubuntu and Kubuntu respectively I think detection for these media players should be added.
-- System Information: Debian Release: squeeze/sid APT prefers lucid-updates APT policy: (500, 'lucid-updates'), (500, 'lucid-security'), (500, 'lucid') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-7-generic (SMP w/2 CPU cores) Locale: LANG=pt_PT.UTF-8, LC_CTYPE=pt_PT.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages tunapie depends on: ii debconf [debconf-2.0] 1.5.28ubuntu1 Debian configuration management sy ii python 2.6.4-0ubuntu2 An interactive high-level object-o ii python-support 1.0.4ubuntu1 automated rebuilding support for P ii python-wxgtk2.8 2.8.10.1-0ubuntu1 wxWidgets Cross-platform C++ GUI t tunapie recommends no packages. Versions of packages tunapie suggests: pn audaciou <none> (no description available) ii gnome-te 2.28.1-1ubuntu1 The GNOME terminal emulator applic pn icewease <none> (no description available) ii mplayer 2:1.0~rc3+svn20090426-1ubuntu12 movie player for Unix-like systems pn streamri <none> (no description available) ii terminat 0.13+ds1-2 multiple GNOME terminals in one wi ii totem 2.29.2-0ubuntu1 A simple media player for the GNOM ii xterm [x 243-1ubuntu1 X terminal emulator -- debconf information: tunapie/uncensored_streams: false
--- tunapie-2.1.17.orig/src/tunapie2_main.py +++ tunapie-2.1.17/src/tunapie2_main.py @@ -441,6 +441,10 @@ self.mediaplayer='xmms' elif commands.getoutput("which beep-media-player").find("beep")>-1: self.mediaplayer='beep-media-player' + elif commands.getoutput("totem").find("totem")>-1: + self.mediaplayer='totem' + elif commands.getoutput("amarok").find("amarok")>-1: + self.mediaplayer='amarok' else: print("No audioplayer found.\n") missing_players.append("No audioplayer found.")