I have a big library of music with a lot of songs I don’t like anymore or songs which were a part of an album from which there was one song which I liked. And whenever my music player starts playing these songs, I hit a keyboard combo which goes to the next song. But these songs would be in my library just waiting to annoy me again. Here is a little ruby script which I wrote from an idea by my friend Abdul Sattar.
I also have a keyboard shortcut bound to it which triggers it.
, ((modMask, xK_x ), spawn "/home/minhajuddin/Dropbox/private/scripts/remove-current-song &> /tmp/log") -- %! Remove music from library
Now whenever banshee plays a song which I don’t like I can remove it from my library forever by just hitting ‘Windowx+x’