Open
Conversation
aef5055 to
db0ee73
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A zapping mode consists in selecting a time in the track and play the specified amount of seconds before and after this selected time.
If the amount of seconds is big enough to start before the beginning of the track, then the amount of seconds before the selected time is reduced to start at the beginning of the track.
Same thing for the end of the track : the amount of seconds after the selected time will be reduced to end at the end of the track.
This function is associated to the playlist itself and is hidden by default ; a button had been added at the end of the search bar in the playlist tab. This button toggle the display of these two values : one value to select the amount of seconds (0 to disable the zapping, it's the default value) before and after the time in percent of the track length.
If you choose 10 seconds around 90% of the track, on a 5mn long track, the play will start at 4mn20s and will end at 4mn40s. On a 1mn long track, the play will start at 44s and will end at the end of the track.
Technical part :