Duplicate track issue

Possible fix for https://github.com/rembo10/headphones/issues/1504