Re: Alert when file scan is complete
Yoni Rabkin <[email protected]> Fri, 28 Jun 2024 20:36:35 -0400
| Newsgroups | gmane.emacs.emms.user |
|---|---|
| Message-ID | <[email protected]> |
Viktor Veilblight <[email protected]> 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"