Package: xmms-lirc
Version: 1.4-1
Severity: wishlist

The plugin supports the REPEAT command, but that only makes the whole 
playlist loop at the end. If you want to repeat a single track, you need
to also disable playlist advance.

I've made a (trivial) patch that adds a NOADVANCE button/command that runs
xmms_remote_toggle_advance(). 

regards
az

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (980, 'testing'), (970, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.32
Locale: LANG=C, LC_CTYPE=de_AT (charmap=ISO-8859-1)

Versions of packages xmms-lirc depends on:
ii  libc6              2.3.2.ds1-22          GNU C Library: Shared libraries an
ii  libglib1.2         1.2.10-9              The GLib library of C routines
ii  libgtk1.2          1.2.10-17             The GIMP Toolkit set of widgets fo
ii  liblircclient0     0.7.1pre2-2           LIRC client library
ii  libx11-6           4.3.0.dfsg.1-14sarge1 X Window System protocol client li
ii  libxext6           4.3.0.dfsg.1-14sarge1 X Window System miscellaneous exte
ii  libxi6             4.3.0.dfsg.1-14sarge1 X Window System Input extension li
ii  xlibs              4.3.0.dfsg.1-14sarge1 X Keyboard Extension (XKB) configu
ii  xmms               1.2.10+cvs20050209-2  Versatile X audio player that look

-- no debconf information
--- lirc-xmms-plugin-1.4.orig/README
+++ lirc-xmms-plugin-1.4/README
@@ -31,7 +31,7 @@
        BAL_RIGHT [<percent>]           SELECT <chars>
        BAL_CENTER                      MUTE
        PLAYLIST_ADD <file>             SLEEP [<min>]
-       PLAYLIST_SET <file>
+       PLAYLIST_SET <file>             NOADVANCE
        PLAYLIST_CLEAR
        PLAYLIST_REMOVE
 
@@ -83,6 +83,10 @@
 
 The 'play' button starts playback, if xmms is in stop mode.
 
+The 'repeat' button makes the whole playlist loop. If you want to
+repeat a single track that is part of a larger playlist, you need
+to use both 'repeat' and 'noadvance'.
+
 Don't forget to enable the plugin in xmms!
 
 This package will be maintained but I will give no support for
--- lirc-xmms-plugin-1.4.orig/lirc.c
+++ lirc-xmms-plugin-1.4/lirc.c
@@ -796,6 +796,10 @@
                        {
                                
xmms_remote_toggle_shuffle(lirc_plugin.xmms_session);
                        }
+                       else if(strcasecmp("NOADVANCE",c)==0)
+                       {
+                               
xmms_remote_toggle_advance(lirc_plugin.xmms_session);
+                       }
                        else if(strcasecmp("REPEAT",c)==0)
                        {
                                
xmms_remote_toggle_repeat(lirc_plugin.xmms_session);

Reply via email to