Skip to content
Snippets Groups Projects
Commit ecf3e419 authored by Benoît Harrault's avatar Benoît Harrault
Browse files

Add "sink" event type

parent a7eadf35
No related branches found
No related tags found
1 merge request!12Resolve "Add "sink" event type"
This commit is part of merge request !12. Comments created here will be created in the context of that merge request.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="script.spotify.screensaver"
name="Spotify Screensaver"
version="0.0.8"
version="0.0.9"
provider-name="Benoît Harrault">
<requires>
<import addon="xbmc.python" version="2.25.0"/>
......
......@@ -122,7 +122,11 @@ class GUI(xbmcgui.WindowXMLDialog):
self.next = True
elif event_type == 'preloading':
self._preload_images(event_value)
elif event_type == 'paused' or event_type == 'stopped':
elif (
event_type == 'paused'
or event_type == 'stopped'
or event_type == 'sink'
):
self._remove_images()
self.next = True
else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment