Re: patch to append files to playlist

Morten Nilsen <[email protected]> Fri, 03 Dec 2004 15:21:36 +0100
Newsgroups gmane.comp.multimedia.xmms.devel
Message-ID <[email protected]>
Cal Peake wrote:
> On Fri, 3 Dec 2004, Morten Nilsen wrote:
> 
>> This approach would possibly cause some issues - we'd need to be able to
>> force the running thread to overwrite the queue, in case the user wanted
>> to do that (with a command-line flag)
> 
> I think the original point was to be able to decide from the running 
> process whether to enqueue or replace without the need for a command line 
> switch.

and my suggestion still holds true to that.

> Doing './xmms -e filename.mp3' does what we want without the patch.

and the point of the tri-state I envisioned;

say you have enabled enqueue-by-default, but you still want to replace
the entire queue with one file...  call xmms with some flag;
enter state a)

if you want the configured way, no command line switch; enter state b)

and if you want to ensure it gets enqueued (-e), enter state c)

see?

-- 
Morten