FS#2159 - Jukebox cannot properly gauge length of .ogg files
I found that there are a number of issues where the Jukebox and music Player either prematurely terminate/loop a song, or allow it to play past its maximum length. I discovered these when using my website to host static .ogg file links for use in a base.
Some files that cause this problematic behavior are:
- the_empires_finest.ogg (Actual length is 2:22, jukebox reads 2:07 yet oddly terminates the song at 1:50)
- eti_ambition.ogg (Actual length is 2:32, jukebox reads as 2:18 and the gray background bar will actually go beyond the bounds of the screen when rendering. This one terminates at 2:32 as it is expected to.)
- aki_composure.ogg (Actual length is 2:44, jukebox reads as 2:35, and this one terminates at 2:02)
- eternal_bond.ogg (Actual length is 00:58, jukebox reads 0:34 and but play until the end, the gray bar rendering beyond the bounds of the screen here too)
I have not yet tested:
- Other file formats
- Other static sources (though this is unlikely to change anything)
- Other means of generating the ogg files (ffmpeg is the best out there, and all other media players seem to be fine with the files)
These ogg files were generated with ffmpeg.
I have edited this to add some clarification of what has NOT been tested.