Why is the indexing 1-based? That doesn't seem correct. In any case, this code traverses the entire list even for `--playlist-items 1`, which doesn't seem to correct.