lib/radiodan/adapter/mpd.rb in radiodan-0.0.3 vs lib/radiodan/adapter/mpd.rb in radiodan-0.0.4
- old
+ new
@@ -31,10 +31,10 @@
end
end
# register new playlist events
@player.register_event :playlist do |playlist|
- EM.next_tick { self.playlist = playlist }
+ self.playlist = playlist
end
end
def playlist=(playlist)
# get rid of current playlist, stop playback