Skip to content
This repository has been archived by the owner on Sep 29, 2020. It is now read-only.

Latest commit

 

History

History
66 lines (45 loc) · 1.6 KB

README.markdown

File metadata and controls

66 lines (45 loc) · 1.6 KB

Loved

Simple tag-based favorite manager for MPD.

It goes like this

Assuming that the following aliases are defined:

alias loved="ruby ~/code/loved/loved.rb"
alias play="loved play"

You're listening to some kick-ass song:

% mpc
Big L - M.V.P.
[playing] #32/76   0:16/3:39 (7%)
volume:  0%   repeat: on    random: off

% loved swearing "old school"
=> Loved Big L - M.V.P.
   tags: "swearing" "old school" "Big L" "1995" "Rap & Hip Hop"

Later, when you want to listen it:

% play "old school"
Appended 1 song to your MPD playlist. Enjoy!

That's it!

Note that:

  • You can assign as many tags as needed
  • % play loads all favorites
  • Each tag has its playlist stored in ~/.loved. Note that those are simple m3u playlists so they can be manipulated with cat, mv, ln -s and friends.

Requirements

Ruby, rubygems, the librmpd gem, good music taste.

Ever heard of TATFT ?!

Absolutely. Fork you! I mean, fork me!

Licence

           DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
                   Version 2, December 2004

Copyright (C) 2008 Simon Rozet <simon@rozet.name>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.

           DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
  TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

 0. You just DO WHAT THE FUCK YOU WANT TO.