Commit 85cb857c authored by Geoffrey Métais's avatar Geoffrey Métais

Revert "Unregister callback on playlist append"

This reverts commit 78ffb088.
parent 5b9e9e60
......@@ -656,9 +656,7 @@ class PlaylistManager(val service: PlaybackService) : MediaWrapperList.EventList
return
}
val list = withContext(Dispatchers.IO) { list.getWithMLMeta() }
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