Version: 0.8.4b (using KDE KDE 3.4.0) If kmplayer is already running, and is stopped (or the video is ended), clicking on a video file in konqueror shoud not open a new kmplayer, but play the new video in the same instance
Multiple instances might be necessary for some unusual use-cases, but by default, new kmplayer instances should check for an existing instance. If one exists, call dcop kmplayer-pid KMediaPlayer openUrl URL This could be implemented as a wrapper, but that would slow it down a bit. It would also be nice if there was a dcop interface to append a URL to the playlist. Did I maybe miss it?
Created attachment 14062 [details] A simple kmplayer wrapper for using single instance of kmplayer It'll be really a nice feature to have an option of choosing if kmplayer should run in a single instance. Till it's implementation you can use the simple script I've wrote to check if kmplayer is running, and if so through dcop send a file/url/etc. to the running instance. You can use it instead of kmplayer command. :)
I strongly agree with this feature request. An option to make kmplayer run in single instace mode would be a great feature! Remembering to close the player before opening a new file is very annoying, but actually is the only way to prevent multiple kmplayer windows.
*** This bug has been confirmed by popular vote. ***
This project is unfortunately no longer maintained. If a new maintainer wants to step up and take care, the project is archived here: https://invent.kde.org/multimedia/kmplayer You can just clone it in your private namespace on invent.kde.org and if you have started to work on it and fixed/implemented something get it reviewed and the project unarchived. Sorry for the inconveniences.