[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [emms-help] emms-info-youtube

From: Mike Kazantsev
Subject: Re: [emms-help] emms-info-youtube
Date: Thu, 5 Sep 2019 23:52:40 +0500

On Thu, 05 Sep 2019 20:40:14 +0300
Konstantin Reich <address@hidden> 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]