Re: Feature request: Dired add after currently playing track

William Wen <[email protected]> Tue, 10 Jun 2025 15:06:49 +0000
Newsgroups gmane.emacs.emms.user
Message-ID <[email protected]>
On 2025-06-10 02:57, Yoni Rabkin wrote:
> William Wen <[email protected]> writes:
> 
>> On 2025-06-09 13:15, Yoni Rabkin wrote:
>>> But I think that you are asking for something a bit different, so 
>>> I'll
>>> clarify first before implementing it. I might as well implement what
>>> you
>>> want as opposed to what I think you want. Can you confirm the
>>> following:
>>> * A, B, C are in the playlist.
>>> * D is a track you want to insert.
>>> * B is the current track (whether being played at the moment or not)
>>> * You run our hypothetical new function `emms-insert-current-dired'
>>> on D
>>>   in a dired buffer.
>>> * The playlist now looks like this: A, B, D, C
>>> Does that look right?
>> 
>> Thanks for your response. Yes, that is what I mean.
> 
> I pushed some code to the git repo. Specifically, now you'll find an
> `emms-insert-current-dired' command.
> 
> Can you test it from the main git repo?
> 
>     $ git clone https://git.savannah.gnu.org/git/emms.git
> 
> If not that's fine, and I'll make a point-release via ELPA.

Yes, this does exactly what I meant. Thank you!

-William