I finally got around to trying this branch, but I'm afraid I can't get it to work. I'm able to evaluate your `emms-actions-add` examples (with point at the target track), but when the song comes up in the playlist, nothing happens. I also tried different functions, like just printing a message to the echo area, and nothing seemed to execute then either.
I'm using the mpv backend if that helps you reproduce the issue. Thanks for working on this, and sorry it took me so long to respond! -- Alex Griffin ------- Original Message ------- On Wednesday, June 8th, 2022 at 7:15 PM, Yoni Rabkin <[email protected]> wrote: > I pushed a simple implementation of the idea to the "actions" branch on > the git repo. It is a few functions added to emms.el. Please check it > out. > > It operates on the track at point. So once you are over a playlist > track you can eval something like: > > (emms-actions-add #'(lambda (track) > (ignore track) > (emms-volume-raise)) > 'before-action) > > ...and then also: > > (emms-actions-add #'(lambda (track) > (ignore track) > (emms-volume-lower)) > 'after-action) > > Then, when you play the track as part of the playlist, the volume should > be raised before the tracks starts, and lowered after it completes. > > Tell me what you think. > > -- > "Cut your own wood and it will warm you twice"
