On Thu, 05 Sep 2019 20:40:14 +0300 Konstantin Reich <[email protected]> wrote:
> Indeed the problem in the updating. For example, If I add the same > url twice (emms-add-url), both urls are displayed correctly. > However, I do not know how to properly update track. > When i add (emms-track-updated track) just after (emms-track-set track > 'info-title title) I get > > error in process sentinel: mapc: Symbol’s value as variable is void: track > error in process sentinel: Symbol’s value as variable is void: track > > Which does not make any sense for me. It sounds kinda silly and obvious, but assuming that emms-track-set within buffer worked with buffer-local "track" set, and there's a kill-buffer right after it, maybe you put emms-track-updated after kill-buffer or outside of with-current-buffer by accident? If it's not that trivial, maybe double-check that emms-track-set didn't signal same errors and worst-case you can attack "track" to the process via process-put/process-get instead of using its buffer. Though not sure why buffer-locals won't work for same purpose. -- Mike Kazantsev // fraggod.net _______________________________________________ Emms-help mailing list [email protected] https://lists.gnu.org/mailman/listinfo/emms-help
