Commit 78ffb088 authored by Geoffrey Métais's avatar Geoffrey Métais

Unregister callback on playlist append

Updates are sent after the append anyway
parent 327536e7
......@@ -626,7 +626,9 @@ class PlaylistManager(val service: PlaybackService) : MediaWrapperList.EventList
load(list, 0)
return
}
mediaList.removeEventListener(this)
for (media in list) mediaList.add(media)
mediaList.addEventListener(this)
}
/**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment