Bug 109296

Summary: Only one instance of kmplayer
Product: [Unmaintained] kmplayer Reporter: Vito De Tullio <vito.detullio>
Component: generalAssignee: Koos Vriezen <koos.vriezen>
Status: RESOLVED UNMAINTAINED    
Severity: wishlist    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: A simple kmplayer wrapper for using single instance of kmplayer

Description Vito De Tullio 2005-07-19 06:45:56 UTC
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
Comment 1 Eric Drechsel 2005-10-28 20:40:47 UTC
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?
Comment 2 PhobosK 2005-12-29 05:29:40 UTC
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. :)
Comment 3 Lorenzo Marcon 2006-09-20 18:26:42 UTC
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.
Comment 4 Thomas Beinicke 2006-12-10 00:57:34 UTC
*** This bug has been confirmed by popular vote. ***
Comment 5 Christoph Cullmann 2025-06-09 21:04:56 UTC
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.