audacious plugin songchange feature "run command at end of playlist" does not work

Bug #625903 reported by Wizzu
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
audacious (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

upstream bug: http://jira.atheme.org/browse/AUDPLUG-295

Binary package hint: audacious-plugins

The music player audacious has a number of plugins, including "Song Change" which will run user-specified commands when some specific criteria are reached, eg. every time a new song is started to be played..

One of the possible conditions is that "end of playlist reached". The problem is that the command for this is never run when the playlist ends.

I have attached a small patch that fixes this problem for the audacious version 2.1 (in Ubuntu Karmic), but since Ubuntu Lucid now has version 2.3, it doesn't seem to apply to that anymore.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: audacious-plugins 2.3-1ubuntu4
ProcVersionSignature: Ubuntu 2.6.32-24.41-generic 2.6.32.15+drm33.5
Uname: Linux 2.6.32-24-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Sat Aug 28 19:09:07 2010
SourcePackage: audacious-plugins

Revision history for this message
Wizzu (wizzu) wrote :
tags: added: patch
Revision history for this message
Benjamin Drung (bdrung) wrote :

Is the bug fixed in version 2.3 or does the patch needs to be refreshed?

Revision history for this message
Wizzu (wizzu) wrote :

I am experiencing the bug in version 2.3, would very much appreciate a fix!

Revision history for this message
Benjamin Drung (bdrung) wrote :

Can you test if audacity 2.4 in maverick is affected?

Revision history for this message
Wizzu (wizzu) wrote :

I don't have a Maverick install here, and looks like the dependencies are such that it wouldn't be easy to install the maverick package on Karmic. Is audacity and audacity-plugins part of a Maverick beta live CD, I could try maybe with something like that?

Anyway it's quite simple to test this, just create a simple shell script with eg.

#!/bin/sh
date > /tmp/songchange.out

(eg. in /tmp/songchange.sh, and chmod 755 /tmp/songchange.sh)

Add the path to this script (/tmp/songchange.sh) to songchange plugin's "Command to run when Audacious reaches the end of playlist" section in the Song Change preferences.
Load one or two mp3s into audacious' playlist, skip forward to near the end of the last song, and let audacious finish playing.
Now /tmp should have the file "songchange.out" containing the output from date.

Revision history for this message
Benjamin Drung (bdrung) wrote :

Ok, I can reproduce it on maverick with audacious 2.4.0. I have forwarded the bug to upstream: http://jira.atheme.org/browse/AUDPLUG-295

Changed in audacious-plugins (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
description: updated
Revision history for this message
Wizzu (wizzu) wrote :

Thanks.

Just confirming something, I left this part out because I thought it was self-evident, but in retrospect it's never safe to do that.
In the instructions in comment #5, if the file /tmp/songchange.out does appear, then the plugin is working correctly.

For me (with 2.3) I do NOT get the file, so the script /tmp/songchange.sh is not run, ie. the bug in the plugin exists.

Benjamin Drung (bdrung)
tags: added: patch-needswork
Benjamin Drung (bdrung)
affects: audacious-plugins (Ubuntu) → audacious (Ubuntu)
Benjamin Drung (bdrung)
Changed in audacious (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package audacious - 2.4.0-0ubuntu3

---------------
audacious (2.4.0-0ubuntu3) maverick; urgency=low

  * Backport fix to add the missing "playlist end reached" hook (LP: #625903).
 -- Benjamin Drung <email address hidden> Sat, 25 Sep 2010 18:30:19 +0200

Changed in audacious (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.