Fixed issue where after hotswap, the song would just stop

This commit is contained in:
Sumner Evans
2020-04-01 22:25:47 -06:00
parent a29d161813
commit cc2148568c

View File

@@ -988,6 +988,8 @@ class SublimeMusicApp(Gtk.Application):
if (self.state.current_song
and self.state.current_song.id != song.id):
return
if not self.state.playing:
return
# Switch to the local media if the player can hotswap (MPV can,
# Chromecast cannot hotswap without lag).