Re: patch to append files to playlist

Chris Hellberg <[email protected]> Fri, 3 Dec 2004 05:57:39 -0800 (PST)
Newsgroups gmane.comp.multimedia.xmms.devel
Message-ID <[email protected]>
--- Cal Peake <[email protected]> wrote:

> On Fri, 3 Dec 2004, Chris Hellberg wrote:
> 
> > Perhaps a better approach would not be to call
> > read_config() if there is an existing session.
> 
> What about if we have 'Allow multiple instances' on?
> 

Ah, well there goes that then... I think :)

> > That means the value would not be reset to false
> (due to the 
> > cfg.append_to_config defaulting to FALSE).
> 
> Then it would always be false, no?
> 
> -- Cal


My understanding of the IPC is non-existant, but if
you can explain it in a couple of sentences, that
would be helpful. What I don't understand is why when
a second invocation of xmms is run, how it interacts
and connects with the first process. In ps, there is a
new xmms PID after the second invocation is run, but
there's only one GUI.

Even with multiple invocations of XMMS, if a second
xmms is run, it sees that it isn't connecting to a
previous xmms session and does a read_config(),
otherwise, xmms assumes that the current session_id
has all the config state it needs and doesn't need to
reread the config.

Chris