playlist: create a playlist node depending on item type
If the input item for the new playlist item is already of type node, assume that the caller wants to create a new playlist node. This skips calling ChangeToNode() later and incurred processing in interfaces. This also enables some further code factorization.
Showing with 1 addition and 2 deletions