eonpatapon/gnome-shell-extensions-mediaplayer — pull request #107 by grawity (2012-12-15 02:05:02+00:00)
Title: Fix multi-instance support

The multi-instance code was broken in several ways, by not correctly changing bus names and owners of Player objects, resulting in leftover players displayed after two or more instances were opened and then closed.

For example, to reproduce with VLC:

cvlc & sleep 1; cvlc & sleep 1; cvlc & sleep 1; \
kill %1; sleep 1; kill %2; sleep 1; kill %3