Image Image Image Image Image
Scroll to Top

To Top

turtle

17

May
2016

No Comments

In code

By admin

A simple music library browser using dmenu

On 17, May 2016 | No Comments | In code | By admin

I have a large music library, and all programs that I have tried (in Linux) are sluggish. Mostly I just want to select an album to play, and I want to do that quickly. I cooked up my own solution, a Haskell script that launches dmenu to select an album. It is instantaneous, I can get to an album from anywhere in the system in 3 or 4 seconds (I have the script assigned to cmd-alt-m). It requires generating a text file with all the music folders in the disk which should be updated regularly, I have also created a Haskell script for this. It uses the excellent turtle Haskell package for scripting. It also keeps track of the history of played albums.

 

script for generating list of folders:

Tags | , ,