Joined: 27 Feb 2003
|Posted: Tue Apr 15, 2003 12:06 am Post subject: Howto use a single session only of mplayer :
|You know that nice feature of xmms that always for only one instance. Well here is how you do it for divx/avi/svcds etc..
Make avi/mpeg etc.. default to xmms and install then xmms-mplayer from
And now when you click on movies it will run in the one instance of xmms only and therefore the one instance of mplayer. Cool or what.
NOTE : Xmms-mplayer is still very much beta code BUT is it awsome . avi-xmms plugin could also work like this, but is does not support as many file formats and does not have the performance of mplayer.
Kmplayer should also be able to do the same with its dcop interface and when 0.7.4 comes out there will be some nice lots of nice improvements. Here is how to use the dcop interface of kmplayer :
| Thanks to the KMediaPlayer::Player interface, KMPlayer can be controlled by DCOP. Eg. to open a movie, run
dcop kmplayer-<pid> KMediaPlayer openURL <your movie file>
It should be easy for the author of kmplayer to mimic the behaviour of xmms where can force only one instance of kmplayer.
Kmplayer also allows for embedded playback inside of konqueror while file browsing.
Pornview is a file explorer that plays movies in an embedded pane. The new beta version of Pornview uses mplayer or xine for playback.
NOTE : The mplayer command interface has a "run" function, which does not seem to be enabled as yet, this should could also allow for the same kind of functionality.