Viktor Veilblight <absinth...@mailbox.org> writes: > Yes, that is the case for me as well. A hook would be very useful > though. Then I could run my own function(s) after the load was complete > without having to disable asynchronous loading (which is a nice > addition).
I've added `emms-info-init-done-hook': https://git.savannah.gnu.org/cgit/emms.git/commit/?id=d8dec2c517b94c21c378229faadb07843153ef02 > Regards, > Leander > > On Friday, 06-28-2024 at 08:36 PM -0400, Yoni Rabkin wrote: >> Viktor Veilblight <absinth...@mailbox.org> writes: >> >> > Hello, >> > >> > As the subject suggests, I'm wondering if EMMS provides a way to be >> > alerted when the directory scan is complete. Having some 4,000 FLAC >> > files, it takes about 30 seconds to scan through all of my >> > directories. In this time, my emms-browser (browse by: genre) window >> > only displays 'misc'. I have to manually press 'b 3' or M-x >> > emms-browse-by-genre. I've searched through the hooks and I don't see >> > anything relevant. Is there some other way to accomplish what I'm >> > after? >> >> When asynchronous loading is disabled, then Emacs will be locked up for >> the duration. Otherwise, emms-info.el (lines 106-115) prints "EMMS: %d >> tracks to go.." and ends with "EMMS: All track information loaded." Is >> that not the case for you? >> >> I have no problem adding a hook there as well. >> >> -- >> "Cut your own wood and it will warm you twice" > -- "Cut your own wood and it will warm you twice"