What would you expect the correct behavior to be?

I would expect the behavior to be as it is: If the "Position" column on the screen says zero, then if I use the "pos" variable, it should say zero as well.

However, I will say this.

In the Emplode software, the positions do start at 1 instead of at 0. Only in JEmplode do they start at 0. So the +1 might be something to consider, if only for consistency between the two products.

In Emplode, there's currently a bug where the main "playlists" list starts at 2 instead of at 1, and it might be a result of them adding a +1 in all cases. So if you notice this behavior after adding the +1 in JEmplode, you might have to work around this same bug.
_________________________
Tony Fabris