playlist: allocate the root item statically
This allocates space for the root playlist item directly inside the playlist structure. Creation of that item required a special case anyway as it was the only item without a parent. As a consequence, one unhandled error case is removed.
Showing with 40 additions and 31 deletions