Package: xine-ui
Version: 0.99.3-1
Severity: normal
Tags: patch

The "playlist first" and "playlist last" network control commands
are broken, they both toggle between the first and last entries in
the playlist.  Here is a fix.

--- network.c.~1~       2004-08-24 16:06:26.000000000 -0400
+++ network.c   2005-05-16 07:21:33.000000000 -0400
@@ -1919,12 +1919,7 @@
       else if((first = is_arg_contain(client_info, 1, "first")) || 
is_arg_contain(client_info, 1, "last")) {
 
        if(gGui->playlist.num) {
-         int entry = gGui->playlist.cur;
-         
-         if(entry)
-           entry = 0;
-         else
-           entry = gGui->playlist.num - 1;
+         int entry = first ? 0 : gGui->playlist.num - 1;
          
          if(entry != gGui->playlist.cur) {
            
-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (900, 'testing'), (700, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.11-jones.1
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages xine-ui depends on:
ii  libc6                2.3.2.ds1-21        GNU C Library: Shared libraries an
ii  libcurl3             7.13.2-2            Multi-protocol file transfer libra
ii  libfreetype6         2.1.7-2.4           FreeType 2 font engine, shared lib
ii  libice6              4.3.0.dfsg.1-12.0.1 Inter-Client Exchange library
ii  libidn11             0.5.13-1.0          GNU libidn library, implementation
ii  libncurses5          5.4-4               Shared libraries for terminal hand
ii  libpng12-0           1.2.8rel-1          PNG library - runtime
ii  libreadline5         5.0-10              GNU readline and history libraries
ii  libsm6               4.3.0.dfsg.1-12.0.1 X Window System Session Management
ii  libssl0.9.7          0.9.7e-3            SSL shared libraries
ii  libx11-6             4.3.0.dfsg.1-12.0.1 X Window System protocol client li
ii  libxext6             4.3.0.dfsg.1-12.0.1 X Window System miscellaneous exte
ii  libxine1             1.0.1-1             the xine video/media player librar
ii  libxtst6             4.3.0.dfsg.1-12.0.1 X Window System event recording an
ii  libxv1               4.3.0.dfsg.1-12.0.1 X Window System video extension li
ii  xlibs                4.3.0.dfsg.1-12     X Keyboard Extension (XKB) configu
ii  zlib1g               1:1.2.2-4           compression library - runtime

-- no debconf information

-- 
Roderick Schertler
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to