Without toggling off 'Skip beginning silence' and keeping everything else in default, select 'Short version' for 'Type'
Click the download button located in the music player below the
Observe the length of downloaded mp3 file to be seconds short
Expected behavior
Since short version of music does not have leading silence, short version download should not be trimmed regardless of the state of the 'Skip beginning silence' toggle
Browser (please complete the following information):
Describe the bug
Short version of music downloaded have first nine seconds trimmed if "Skip beginning silence" was not toggled off in long version tab
To Reproduce
Expected behavior
Since short version of music does not have leading silence, short version download should not be trimmed regardless of the state of the 'Skip beginning silence' toggle
Browser (please complete the following information):
Possible cause and/or solution
Add 'Long version' selected as a condition for trimming i.e. (not tested)
vocalPreviewVal === "1"
at https://github.com/Sekai-World/sekai-viewer/blob/7b94ffa270eda969a76cbc47409757e67dbdebf1/src/pages/music/MusicDetail.tsx#L398