Changeset 554
- Timestamp:
- 02/18/07 15:16:58 (2 years ago)
- Files:
-
- trunk/Makefile.in (modified) (4 diffs)
- trunk/configure.ac (modified) (1 diff)
- trunk/doc/mesk.1.in (moved) (moved from trunk/etc/mesk.1.in) (3 diffs)
- trunk/src/main.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Makefile.in
r522 r554 79 79 install -m 755 -d ${mandir} 80 80 install -m 755 -d ${mandir}/man1 81 install -m 644 etc/mesk.1 ${mandir}/man181 install -m 644 doc/mesk.1 ${mandir}/man1 82 82 gzip -f -9 ${mandir}/man1/mesk.1 83 83 … … 126 126 -rm -rf autom4te*.cache ${DIST_NAME} ${DIST_GZ} ${DIST_WWW} 127 127 -rm setup.py 128 -rm etc/mesk.1.gz128 -rm doc/mesk.1.gz 129 129 -rm -f config.* 130 130 -rm -rf src/mesk/info.py … … 141 141 -rm README 142 142 -rm -f configure 143 -rm etc/mesk.1143 -rm doc/mesk.1 144 144 -rm ./etc/mesk.desktop 145 145 … … 160 160 mkdir ${DIST_NAME}/etc 161 161 cp etc/mesk.desktop.in ${DIST_NAME}/etc 162 cp etc/mesk.1.in ${DIST_NAME}/etc162 cp doc/mesk.1.in ${DIST_NAME}/doc 163 163 cp etc/mesk-@PACKAGE_VERSION@.ebuild ${DIST_NAME}/etc 164 164 trunk/configure.ac
r511 r554 45 45 src/mesk/info.py\ 46 46 scripts/mesk\ 47 etc/mesk.1])47 doc/mesk.1]) 48 48 if test -f README.in; then 49 49 AC_CONFIG_FILES([README]) trunk/doc/mesk.1.in
r423 r554 2 2 .SH "NAME" 3 3 .B mesk 4 \- Python/Gtk+ audio player4 \- Gtk+ audio player 5 5 .SH "SYNOPSIS" 6 6 .B mesk … … 13 13 14 14 .SH "OPTIONS" 15 \fB\-h , \fB\-\-help\fR16 Shows a brief help stringand exit.15 \fB\-h\fR, \fB\-\-help\fR 16 Display program usage and exit. 17 17 .TP 18 18 \fB\-\-version\fR 19 Show program's version numberand exit.19 Display program version and exit. 20 20 .TP 21 \fB-p \fRNAME, \fB\-\-profile=\fRNAME\fR 22 Run with profile NAME. If the profile does not exist one is created you. 21 \fB-p \fRNAME, \fB\-\-profile\fR=NAME 22 Run with profile NAME. If the profile does not exist it is created. 23 24 .SH "REMOTE CONTROL OPTIONS" 25 \fB\-\-stop\fR 26 Stop playback. 23 27 .TP 24 \fB-l \fRLEVEL, \fB\-\-log-level=\fRLEVEL\fR 28 \fB\-\-play\fR 29 Start playback. 30 .TP 31 \fB\-\-pause\fR 32 Pause playback. 33 .TP 34 \fB\-\-play-pause\fR 35 If playing, playback is paused. Otherwise the player is started. 36 .TP 37 \fB\-\-prev\fR 38 Move to previous track. 39 .TP 40 \fB\-\-next\fR 41 Move to next track. 42 .TP 43 \fB\-\-toggle-mute\fR 44 Mute or unmute depending on the current state. 45 .TP 46 \fB\-\-vol-up\fR=N 47 Increase the volume by N% (0.0 <= n <= 1.0) 48 .TP 49 \fB\-\-vol-down\fR=N 50 Decrease the volume by N% (0.0 <= n <= 1.0) 51 .TP 52 \fB\-\-get-state\fR 53 Returns the current state of the audio player (stopped, playing, paused). 54 .TP 55 \fB\-\-get-current-uri\fR 56 Returns the URI of the current audio source. 57 .TP 58 \fB\-\-get-current-title\fR 59 Returns the title of the current audio source. 60 .TP 61 \fB\-\-get-current-artist\fR 62 Returns the artist of the current audio source. 63 .TP 64 \fB\-\-get-current-album\fR 65 Returns the album name of the current audio source. 66 .TP 67 \fB\-\-get-current-year\fR 68 Returns the year of the current audio source. 69 .TP 70 \fB\-\-get-current-length\fR 71 Returns the length (in seconds) of the current audio source. 72 .TP 73 \fB\-\-list-playlists\fR 74 List all playlists. 75 .TP 76 \fB\-\-get-active-playlist\fR 77 List the name of the active PlaylistControl. This value may be empty if no 78 playlists are active (e.g. a CDROM is active). 79 .TP 80 \fB\-\-set-active-playlist\fR=NAME 81 Set the active playlist. 82 .TP 83 \fB\-\-enqueue\fR=URI 84 Enqueue URI to the active playlist. 85 86 .SH "ADVANCED OPTIONS" 87 .TP 88 \fB-l \fRLEVEL, \fB\-\-log-level\fR=LEVEL 25 89 Run with a specific logging level: CRITICAL, ERROR, WARNING, INFO, VERBOSE, or 26 90 DEBUG. The default log level is INFO. Level names are case insensitive. 27 28 .SH "ADVANCED OPTIONS"29 91 \fB\-\-debug\fR 30 92 Break in python debugger on unhandled exceptions. … … 40 102 41 103 .SH AUTHOR 42 Mesk and its manpagewritten by Travis Shirk <travis@pobox.com>.104 Mesk is written by Travis Shirk <travis@pobox.com>. trunk/src/main.py
r553 r554 250 250 # Remote control options 251 251 rc_opts = optparse.OptionGroup(self, _('Remote Control Options')) 252 rc_opts.set_description(_('These options operate on a running Mesk ' 253 'instance (starting Mesk if necessary). ' 254 'Which instance is determined ' 255 'by the profile option (-p,--profile).')) 252 rc_opts.set_description( 253 _('The remote control options operate on a running instance of ' 254 'Mesk, starting the app if necessary. If multiples instances of ' 255 'Mesk are running the profile option can be used to determine ' 256 'which instance to pass the command.')) 256 257 rc_opts.add_option('--stop', action='callback', 257 258 callback=self._remote_option_cb, 258 help=_('Stop splayback'))259 help=_('Stop playback')) 259 260 rc_opts.add_option('--play', action='callback', 260 261 callback=self._remote_option_cb, 261 help=_('Start splayback'))262 help=_('Start playback')) 262 263 rc_opts.add_option('--pause', action='callback', 263 264 callback=self._remote_option_cb, 264 help=_('Pause splayback'))265 help=_('Pause playback')) 265 266 rc_opts.add_option('--play-pause', action='callback', 266 267 callback=self._remote_option_cb, 267 help=_(' Pauses playback if currently playing,'268 ' otherwise playbackis started.'))268 help=_('If playing, playback is paused. Otherwise ' 269 'the player is started.')) 269 270 rc_opts.add_option('--prev', action='callback', 270 271 callback=self._remote_option_cb,
