William Wen <[email protected]> writes: > Currently, emms-add-dired adds the marked Dired files to the end of > the playlist. Is there a way to get a function to add them after the > currently playing track? I'm not an elisp hacker so can't implement it > myself unfortunately. > > -William
That you for bringing this up. Here is the current situation and what we'll do with it: First, everywhere there is an `emms-add-...' function, there is also an `emms-insert-...' function. Since there is an `emms-add-dired' function, there is also a `emms-insert-dired' function. ...but... There is a problem with that function in relation to dired. If you tried it right now from a dired buffer it will probably give you an "not an Emms playlist" error. This is a problem. I'll fix this and notify you. This fix will, I think, already give you 3/4 of what you want. 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? -- "Cut your own wood and it will warm you twice"
