Ticket #99 (closed enhancement: fixed)

Opened 5 years ago

Last modified 4 years ago

When trying to unregister the MediaRenderer it does not get fully unregistered

Reported by: NetDreamer Assigned to: dev
Priority: major Milestone: 0.5
Component: Core Version:
Keywords: Cc:

Description

I am trying to manually unregister the MediaRenderer so that it should be possible to enable/disable it when needed as i need control when the Mediarenderer/GStreamerPlayer Backend is accessible/visible to upnp AV Controllers and devices.

Best would be some sort of the opposite of add_plugin ;-)

As there is no remove_plugin here my try on unregistering the MediaRenderer Device. Perhaps you see what i am doing wrong. attached are my diffs and a test.py (coherence startup /shutdown device testfile)

Attachments

base.py.diff (1.0 kB) - added by NetDreamer on 25.09.2007 11:16:32.
base.py diff
media_renderer.py.diff (0.6 kB) - added by NetDreamer on 25.09.2007 11:16:55.
media_renderer.py diff
ssdp.py.diff (497 bytes) - added by NetDreamer on 25.09.2007 11:17:10.
ssdp.py diff
test.py (2.7 kB) - added by NetDreamer on 25.09.2007 11:17:26.
my start/stop file

Change History

25.09.2007 11:16:32 changed by NetDreamer

  • attachment base.py.diff added.

base.py diff

25.09.2007 11:16:55 changed by NetDreamer

  • attachment media_renderer.py.diff added.

media_renderer.py diff

25.09.2007 11:17:10 changed by NetDreamer

  • attachment ssdp.py.diff added.

ssdp.py diff

25.09.2007 11:17:26 changed by NetDreamer

  • attachment test.py added.

my start/stop file

14.10.2007 21:44:43 changed by dev

  • status changed from new to assigned.

in [672]: first steps towards the removal off an once activated local device

27.11.2007 14:57:09 changed by dev

  • status changed from assigned to closed.
  • resolution set to fixed.

(In [684]) added the option to remove a backend from Coherence:

  • requirement: backend must be added via backend =coherence.add_plugin(...)
  • removal is done by coherence.remove_plugin(backend)

This closes #99