encoder: set playlist item to null when appropriate

instead of creating a playlist item which is a trap and
segfaults instead of doing anything
Release 1.1.1