shuerhaaken/xnoise — Issue #8: Option to start Xnoise in non-single process mode
Author: Tal500
Created: 2012-02-24 15:08:34+00:00
State: open

When Xnoise start it checks&create mutex to avoid 2 same process of Xnoise.
It is very good, and avoid many issues, but I think it shell be possible to create other instances, with a special option.
If we chose --multiply for example, the new process won't check and won't create a mutex, but if we don't, it will do this.
This way it would be possible to have one non-multiply process, and 100 other multiply process of Xnoise at the same time.
Notice that if we execute it with --multiply, this process disallow the MPRIS 1 plugin.
However, MPRIS 2 plugin shell be started, and shell looks like:
org.mpris.MediaPlayer2.xnoise.(ID)

So for example, it could be possible to have in dbus those names:
org.mpris.MediaPlayer2.xnoise
org.mpris.MediaPlayer2.xnoise.0
org.mpris.MediaPlayer2.xnoise.1
org.mpris.MediaPlayer2.xnoise.2
org.mpris.MediaPlayer2.xnoise.3

Hope I made myself clear.
It would make the debugging much easier(no need for reset).