You are not logged in.

#1 2014-08-09 22:36:17

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,844
Website

clerk/mppc full-featured dmenu/rofi driven mpd client

I think this piece of script is now in such a mature state that I can publicly share it.

It's a full-blown mpd client using dmenu (preferably rofi)
It has more or less all features you'd expect in a mpd client and even some that no other client
offers.

Quick overview:

* Play random album/tracks
* Browse database either hierachical, by date, by albums or by tracks.
* Possiblity to "queue" tracks (without hacks)
* Basic playlist management
* Rating support (for tracks (tags) and albums (plain text file))
* Readcomments support
* Set MPD options.
* RSS Feed support
* Suspend/Resume of current queue
* Basic playback control

in-depth look: http://journal.53280.de/clerk-mpd-clien … yping.html (not up2date)

github page: https://github.com/carnager

AUR package:
clerk:
https://aur.archlinux.org/packages/clerk-git/

Last edited by Rasi (2015-06-08 23:22:50)


He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

#2 2014-11-27 13:55:50

mentat
Member
From: France
Registered: 2009-01-13
Posts: 138
Website

Re: clerk/mppc full-featured dmenu/rofi driven mpd client

Hi Rasi, sound very interresting.
Just try to use it, install from AUR but badly it doesn't run.

He launch the updater, output a unknow command dmenu_t at line 32, and didn't find any config file (config, albums.cache, tracks.cache).
rofi is already installed.

Did I miss something ?
Thx

Offline

#3 2014-11-27 17:25:51

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,844
Website

Re: clerk/mppc full-featured dmenu/rofi driven mpd client

yes, you havent read pacman output...

to use clerk you need to copy /usr/share/doc/clerk/config.example to $HOME/.config/clerk/config
and edit it to your needs.

Install either dmenu2 or rofi-git from AUR.


Optional dependencies for clerk-git
    rofi-git: backend for clerk [installed]
    dmenu2: alternative backend for clerk [installed]
    mpd-sima: similar artists mode [installed]

Last edited by Rasi (2014-11-27 17:26:49)


He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

#4 2014-11-27 19:28:17

mentat
Member
From: France
Registered: 2009-01-13
Posts: 138
Website

Re: clerk/mppc full-featured dmenu/rofi driven mpd client

Ouch' sorry for the lame Rasi I miss it.
Now I can use it, thanks !

Offline

#5 2015-06-08 23:20:31

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,844
Website

Re: clerk/mppc full-featured dmenu/rofi driven mpd client

Update. clerk now totally relies on rofi. dmenu is not supported anymore.

rofi lately gained the possibility to use different hotkeys on a selection to trigger different actions. This was exactly what i needed for clerk
So it's now possible to either add, insert or replace the selected album/track from any view.

Also rofi allows to reload the last view after an action has been triggered. this makes it possible to add several songs to a playlist on one go.
even works on filtered lists.


He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

#6 2015-06-17 07:25:08

mentat
Member
From: France
Registered: 2009-01-13
Posts: 138
Website

Re: clerk/mppc full-featured dmenu/rofi driven mpd client

Thanks Rasi,

do you plan a way to customize hotkeys ?
On a french laptop keyboard if I browse albums and try "Alt+2" it doesn't add the album and put "2" in the filter dailog.
Other rofi hotkeys like "Alt+b" works.

Offline

#7 2015-06-17 15:19:51

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,844
Website

Re: clerk/mppc full-featured dmenu/rofi driven mpd client

esp. for you french users i already added this. check example config in /usr/share/doc/clerk


He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

#8 2015-06-17 17:29:17

mentat
Member
From: France
Registered: 2009-01-13
Posts: 138
Website

Re: clerk/mppc full-featured dmenu/rofi driven mpd client

Great thanks for all.
I'll check if rofi-pass doc too for the same demand ^^

Offline

#9 2015-06-17 17:50:00

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,844
Website

Re: clerk/mppc full-featured dmenu/rofi driven mpd client

oops... i actually forgot to implement the actual custom keybindings feature. its in now... same for rofi-pass


He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

#10 2015-06-17 18:40:15

mentat
Member
From: France
Registered: 2009-01-13
Posts: 138
Website

Re: clerk/mppc full-featured dmenu/rofi driven mpd client

Great !
I'll now review all my pass files, rofi-pass is an elegant solution to manage user and url.
Big kudo for your projects and thank you again for your so fast reaction and implementation wink

Offline

Board footer

Powered by FluxBB