Skip to content

rafapaezbas/cmus-analytics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cmus-analytics

Find DEMO here

What is Cmus-analytics?

A small web application for data visualization extracted from a Cmus log file. Click on the example link and then import it.

How can I get a Cmus log file?

Cmus is a very powerful music player with a lot possibilities. One of them is using a hook script for actions when the player status changes. With this script, you can create your own Cmus log file.

How do I set the script in Cmus?

First, you will have to modify the script in order to make it work in your computer. Change the path of the log file.

if [[ "$is_playing" = true ]] && [[ "$is_logging" = true ]]
then
    echo $entry >> {path_to_the_log_file}
fi

In Cmus use

:set status_display_program {path_to_the_script}

Can I use this code somehow?

Yes, of course! Please be so kind to do it. This application has been developed as a learning project of the Elm programing language. It also uses this awesome Elm linear charts library.

About

Web application for analysis of cmus logs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published