weisslj / cmus_lastfm_autoadd

Automatically fill cmus playlist with new similar tracks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

To use the script in cmus, just set status_display_program to the path of the
cmus_add_similar.py file, e.g. in cmus:

:set status_display_program=/path/to/cmus_add_similar.py

If you want to use multiple status display programs, you have to write a
wrapper shell script, e.g.:

cat >/home/XXX/.cmus/status_display_program.sh <<END
#!/bin/sh

/path/to/cmuscrobbler "$@"
/path/to/cmus_add_similar.py "$@" &
END

chmod 755 /home/XXX/.cmus/status_display_program.sh

In cmus:
:set status_display_program=/home/XXX/.cmus/status_display_program.sh


Attention: You need at least cmus 2.4.x, 2.3.x or older is not
           supported anymore.

For questions: jargon@molb.org

About

Automatically fill cmus playlist with new similar tracks


Languages

Language:Python 100.0%