Your message dated Sun, 27 Apr 2008 23:47:46 +0100
with message-id <[EMAIL PROTECTED]>
and subject line xmms has been removed from Debian, closing #123851
has caused the Debian Bug report #123851,
regarding xmms: --quit option on command line [PATCH]
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)
--
123851: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=123851
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: xmms
Version: 1.2.5-2
Severity: wishlist
The XMMS remote control API includes a "quit" command, to tell a
running remote XMMS instance to close down nicely. Unfortunately,
this command wasn't available via the command line interface. The
included patch fixes this, by adding a -q/--quit option to xmms.
I only include the patch for xmms/main.c, since it's the only file I
edited. Other files seem to be affected (gettext-ish things, it seems
to me -- I'm no gettext guru at all), but they seem to be
auto-generated in some way.
Thanks,
Roland.
--- xmms-1.2.5/xmms/main.c Sun Jun 17 01:05:47 2001
+++ xmms-1.2.5+patch/xmms/main.c Thu Dec 13 14:13:28 2001
@@ -3039,6 +3039,7 @@
{"enqueue", 0, 0, 0},
{"show-main-window", 0, 0, 0},
{"version", 0, 0, 0},
+ {"quit", 0, 0, 0},
{0, 0, 0, 0}
};
@@ -3057,6 +3058,7 @@
"-f, --fwd Skip forward in playlist\n"
"-e, --enqueue Don't clear the playlist\n"
"-m, --show-main-window Show the main window.\n"
+ "-q, --quit Stop current session\n"
"-v, --version Print version number and
exit.\n\n"));
exit(0);
}
@@ -3064,7 +3066,7 @@
struct cmdlineopt {
GList *filenames;
gint session;
- gboolean play, stop, pause, fwd, rew;
+ gboolean play, stop, pause, fwd, rew, quit;
gboolean enqueue, mainwin, remote;
};
@@ -3075,7 +3077,7 @@
memset(opt, 0, sizeof(struct cmdlineopt));
opt->session = -1;
- while ((c = getopt_long(argc, argv, "hn:rpusfemv", long_options, &o))
!= -1)
+ while ((c = getopt_long(argc, argv, "hn:rpusfemvq", long_options, &o))
!= -1)
{
switch (c)
{
@@ -3113,6 +3115,9 @@
printf("%s %s\n", PACKAGE,
VERSION);
exit(0);
break;
+ case 10:
+ opt->quit = TRUE;
+ break;
}
break;
case 'h':
@@ -3146,6 +3151,9 @@
printf("%s %s\n", PACKAGE, VERSION);
exit(0);
break;
+ case 'q':
+ opt->quit = TRUE;
+ break;
}
}
for (i = optind; i < argc; i++)
@@ -3201,6 +3209,8 @@
xmms_remote_playlist_next(opt->session);
if (opt->mainwin)
xmms_remote_main_win_toggle(opt->session, TRUE);
+ if (opt->quit)
+ xmms_remote_quit(opt->session);
return FALSE;
}
--- End Message ---
--- Begin Message ---
Version: 1:1.2.10+20070601-1+rm
The xmms package has been removed from Debian testing, unstable and
experimental, so I am now closing the bugs that were still opened
against it.
For more information about this package's removal, read
http://bugs.debian.org/461309 . That bug might give the reasons why
this package was removed, and suggestions of possible replacements.
Don't hesitate to reply to this mail if you have any question.
Thank you for your contribution to Debian.
--
Marco Rodrigues
http://Marco.Tondela.org
--- End Message ---