Restore volume when stopping playback

pull/1506/head
Åke Forslund 2018-03-20 19:22:34 +01:00
parent bb2c727485
commit 78dbdf1fb0
1 changed files with 2 additions and 0 deletions

View File

@ -63,6 +63,8 @@ class VlcService(AudioBackend):
""" Stop vlc playback. """
LOG.info('VLCService Stop')
if self.player.is_playing():
# Restore volume if lowered
self.restore_volume()
self.clear_list()
self.list_player.stop()
return True