I Have make some test, and I have see a strange behavior:
_______________________________
On vlc 2.04 on Arm
the properties vlc.audio.track
work with ID (as index of array)
_______________________________
On vlc 2.0.5 on X86
the properties vlc.audio.track
work with PID AUDIO
_______________________________
on vlc 2.1.6
the properties vlc.audio.track
work with PID AUDIO
Are there the modify from 2.0.4 and 2.0.5 of this properties???
Yes.
In earlier versions (like v2.0.x and v2.1.x),
vlc.audio.track returns the real audio PID. But since v2.2.0, it will return an array index.