VLCPlayerDisplayController: Fix cdg files integration + Improve player switch depending on the media type
This merge request brings a fix to the .cdg files integration:
- If an audio media is about to be played and has video tracks, the Video Player will be displayed instead of the Audio Player.
Closes #1661 (closed)
This merge request also brings improvements to:
- The
Playback Service
, we can now retrieve the number of video tracks of the_mediaPlayer
's currently playing media. - Audio only files that are now recognized at the beginning of the playback and the Audio Player is then displayed in order to match the media type.
- Medias containing video tracks that are now recognized when the playback starts and the Video Player is then displayed in order to match the media type.