File: README

package info (click to toggle)
xfce4-mpc-plugin 0.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 612 kB
  • sloc: ansic: 1,573; makefile: 57; sh: 12
file content (36 lines) | stat: -rw-r--r-- 1,696 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
Xfce4-Mpc-Plugin
----------------

https://docs.xfce.org/panel-plugins/xfce4-mpc-plugin

This is a simple Musicpd (http://www.musicpd.org) client plugin for the Xfce panel.
Features :
- next/stop/play/pause/previous buttons
- current volume/status/playing track when mouse passes over the plugin
- decrease/increase volume with mousewheel
- show a simple playlist window upon middle-click, permitting to select a track to play
- toggle random/repeat/stream/outputs in right-click menu
- launch configurable client (gmpc, xterm -e ncmpc,..) through right-click menu
- launch configurable streaming client (ogg123 -q, mplayer -quiet,..) when playing
- configurable tooltip and playlist formats, using a gmpc-like markup :
  - playlist accepts %artist%, %title%, %album% and %track%
  - tooltip accepts the same plus %vol%, %status% and %newline%

To build it, you have two options :
- against libmpd libraries :
Get'em from your OS' repository/ports, or from source
It will be autodetected by pkg-config.
If libmpd is not installed in a standard directory, use --with-libmpd=path_to_libmpd.
- without libmpd, using simple-libmpd :
Since 0.2.0, i implemented a simple interface with mpd, using plain old sockets.
If libmpd is not found, it will be used as a fallback (or if you specify --without-libmpd)

meson setup build && meson compile -C build && su -c meson install -C build

should suffice in most cases.

If it crashes, recompile it with --buildtype=debug, add it to the panel, attach gdb to it
(gdb -p `pgrep -f libmpc` , continue) and report a bug with a complete backtrace.

This little piece of code is licensed under a BSD-style licence.
(OpenBSD variant modeled after the ISC licence)