VLC 2.2.0 uses a new default RC interface which is not currently handled by Bongo. For now, use the oldrc interface to get the track information.
Preemptively get the information by looking for "audio volume" events, which are printed at the start of the program, rather than requiring the user to seek first.
Fixes #25. I've done some minor testing and it appears to work properly, though I'm not super familiar with the bongo codebase.
It might be nice to pair this change with some version detection, as there might be some LTS distro which has an older version of VLC. This would be useful even when/if the new RC interface is supported.
VLC 2.2.0 uses a new default RC interface which is not currently handled by Bongo. For now, use the oldrc interface to get the track information.
Preemptively get the information by looking for "audio volume" events, which are printed at the start of the program, rather than requiring the user to seek first.
Fixes #25. I've done some minor testing and it appears to work properly, though I'm not super familiar with the bongo codebase.
It might be nice to pair this change with some version detection, as there might be some LTS distro which has an older version of VLC. This would be useful even when/if the new RC interface is supported.