Qball's Weblog

GMPC Command line

Tags gmpc 

I integrated the easy-command line into GMPC as a small command line.

You can use this command line to quickly play a song, search for something, etc. This was already available in a popup, but I preferred to integrate it in the main GUI. Let me know if you think I should add more commands to it.

Commands:

(might not be up2date)

Switch

Main

Playback

0.18.1:

Requires gmpc 0.18.1 and mpd 0.15.0:

Play-Queue Manipulation

0.18.1:

Metadata Browser

Query’s

The syntax consist of the following:

<field>=<value>

This will search for value in the field field.

The following fields are supported:

This search is tokenized and case insensitive, so for example:

artist=eric clapton

Will match both “eric clapton”, “Clapton, Eric”. To stop this tokenization wrap the values in* ()*. For example:

artist=(Eric Clapton)

Will not match “Clapton, Eric”.

 

To refine you search multiple queries can be concattenated:

for example:

artist=Eric Clapton album=Slowhand
There is also an option to run multiple queries at once by using the or operator **   **:
artist=Eric Clapton || artist=Norah Jones

This will return all songs by Eric Clapton and Norah Jones.

Chaining

You can chain multiple commands by using ‘;

Key bindings: