Refactoring II - The Vengeance
7-9 months ago we did refactor KM's code heavily, first by purging some old stuff and then by rewriting everything in async/await.
However, some of the code is still a bit monolithic, notably in engine.js and playlist.js. Also a bit in player.js
This code hadn't been touched at that time because we feared we'd break everything even more (and it was quite broken already at first.)
A new refactoring session could be nice.