Add playlist_CurrentId() to get the playlist item id from the currently playing item.