[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: Fri, 6 Sep 2019 00:16:11 +0500

On Thu, 5 Sep 2019 23:52:40 +0500
Mike Kazantsev <address@hidden> wrote:

> 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. 
> Though not sure why buffer-locals won't work for same purpose.

As you mentioned it working for two tracks specifically, maybe it's a
collision in make-temp-name?

It only guarantees that file with that path won't exist at the time of
the check, and which won't exist (as you don't use it for file names),
so maybe it might happen to return same exact value to two calls close
in time, which then results in two close 'finish events, one of which
kills the buffer before other one can access variables from there.
start-process shouldn't have an issue with such name collision, but
buffer-handling should.

Bit of a wild guess, but just randomly occurred to me, given that "same
url twice" mention.

Mike Kazantsev // fraggod.net

reply via email to

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