GNU bug report logs -
#74200
[PATCH] Add song viewer to 'mpc'
Previous Next
Reported by: john muhl <jm <at> pub.pink>
Date: Mon, 4 Nov 2024 03:28:02 UTC
Severity: normal
Tags: patch
Done: Stefan Monnier <monnier <at> iro.umontreal.ca>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> Cc: monnier <at> iro.umontreal.ca
> From: john muhl <jm <at> pub.pink>
> Date: Sun, 03 Nov 2024 21:29:53 -0600
>
> >From 861491d591a4e03bf4d4ceff001fd5036c0afef7 Mon Sep 17 00:00:00 2001
> From: john muhl <jm <at> pub.pink>
> Date: Sat, 19 Oct 2024 18:25:41 -0500
> Subject: [PATCH] Add song viewer to 'mpc' (Bug#74200)
>
> * lisp/mpc.el (mpc-describe-song): New command.
> (mpc-mode-map): Bind "i" to 'mpc-describe-song'.
> (mpc-mode-menu): Add menu item.
> (mpc-secs-to-time): Ensure secs argument is an integer.
> (mpc-song-viewer-empty, mpc-song-viewer-tag):
> (mpc-song-viewer-value): New face.
> (mpc-song-viewer-tags): New option.
> (mpc-song-viewer-tagtypes): New constant.
> ---
> etc/NEWS | 7 ++++
> lisp/mpc.el | 106 +++++++++++++++++++++++++++++++++++++++++++++++++++-
> 2 files changed, 111 insertions(+), 2 deletions(-)
Thanks, a few minor comments.
> --- a/etc/NEWS
> +++ b/etc/NEWS
> @@ -619,6 +619,13 @@ When non-nil, MPC will crossfade between songs for the specified number
> of seconds. Crossfading can be toggled using the command
> 'mpc-toggle-crossfade' or from the MPC menu.
>
> +*** New command 'mpc-describe-song'.
> +This command displays information about the currently playing song or
> +song at point in the MPC-Songs buffer. The list of tags to display can
> +be customized using the new user option 'mpc-song-viewer-tags' and the
> +appearance of the list with the new faces 'mpc-song-viewer-tag',
> +'mpc-song-viewer-value', and 'mpc-song-viewer-empty'.
This entry should be marked with "---", as we don't intend to document
this in any manual.
> +(defcustom mpc-song-viewer-tags
> + '("Title" "Artist" "Album" "Performer" "Composer"
> + "Date" "Duration" "Disc" "Track" "Genre" "File")
> + "The list of tags to display with `mpc-describe-song'.
Each new defcustom should have a :version tag.
This bug report was last modified 187 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.