From 5cf0a63bd44b9f42d7cbb03bda60743ee0197009 Mon Sep 17 00:00:00 2001 From: Doug Torrance Date: Fri, 22 Jun 2018 16:21:07 -0400 Subject: [PATCH] wmusic: Update documentation and help text --- wmusic/README | 24 ++++++++++-------------- wmusic/src/wmusic.c | 15 ++++++++++----- 2 files changed, 20 insertions(+), 19 deletions(-) diff --git a/wmusic/README b/wmusic/README index ba66dbf..02c72b1 100644 --- a/wmusic/README +++ b/wmusic/README @@ -1,41 +1,37 @@ wmusic by Hadess -maintained by John +previously maintained by John +now maintained by the Window Maker Team +https://dockapps.net/wmusic -wmusic is a dockapp that remote-controls xmms. Here is a list of the features: +wmusic is a dockapp that remote-controls MPRIS-compatible media players. Here +is a list of the features: - VCR style controls including fast rewind and fast forward - Time and Playlist position display - Super stylee rotating arrow -- Hiding of the xmms windows (on startup and through middle-click) - AfterStep users, add this line to your ~/GNUstep/Library/AfterStep/wharf: *Wharf wmusic - Swallow "wmusic" wmusic -w & - Sawfish users, grab Tiger-T's DockMill theme, and apply it to the running dockapp with the -w flag on. See the theme's README for more details. + (http://sawmill.sourceforge.net/themes.org/current/DockMill.tar.gz) - KDE users can use the "Dock Application Bar" to dock wmusic, don't forget the -w flag to launch wmusic. Right-Click on Kicker, then pick: Add->Extension->Dock Application Bar -http://home.jtan.com/~john/index.shtml?software.shtml - Building -------- Requirements: - - xmms >= 1.0.0 and all the appropriate devel packages (glib, -gtk+, xmms, glibc...) - - xmms > 1.2.4 if you have problems with the prefs window popping up + - libdockapp (https://www.dockapps.net/libdockapp) + - playerctl (https://github.com/acrisci/playerctl) + - an MPRIS-compatible media player (most of them) Simply type: ./configure make - make install - -URLs ----- -XMMS: http://xmms.org -DockMill: http://tigert.gimp.org/files/sawmill-themes/DockMill.tar.gz + sudo make install Copyright --------- diff --git a/wmusic/src/wmusic.c b/wmusic/src/wmusic.c index 6b68725..a02a8e9 100644 --- a/wmusic/src/wmusic.c +++ b/wmusic/src/wmusic.c @@ -117,17 +117,19 @@ static DAActionRect volumeRects[] = { }; static DAProgramOption options[] = { - {"-c", "--command", "Command to launch xmms", DOString, False, - {&xmms_cmd} }, + {"-c", "--command", "Command to launch the media player", DOString, + False, {&xmms_cmd} }, {"-d", "--display", "Display to use", DOString, False, {&displayName} }, - {"-r", "--run", "Run xmms on startup", DONone, False, {NULL} }, + {"-r", "--run", "Run the media player on startup", DONone, False, + {NULL} }, {"-V", "--volume", "Stepping of the wheel volume control (in percent)", DONatural, False, {&volume_step} }, {"-a", "--rotate-arrow", "Do not rotate the arrow, when paused", DONone, False, {NULL} }, {"-l", "--time-left", "Show time left instead of time remaining by default", DONone, False, {NULL} }, - {"-R", "--run-excusive", "Run xmms on startup, exit when xmms exits", DONone, False, {NULL} } + {"-R", "--run-excusive", "Run media player on startup, " + "exit when it exits", DONone, False, {NULL} } }; typedef struct @@ -739,7 +741,10 @@ int main(int argc, char **argv) /* Initialization */ DAParseArguments(argc, argv, options, sizeof(options)/sizeof(DAProgramOption), - "XMMS remote control by Bastien Nocera ", + "MPRIS-compatible media player remote control\n" + "by Bastien Nocera \n" + "maintained by the Window Maker Team " + "", PACKAGE_STRING); setlocale(LC_ALL, "");