Skip to content

Problem with Player previous() method? #1967

Answered by pschatzmann
netmms asked this question in Q&A
Discussion options

You must be logged in to vote

I think you might have some missunderstanding: next(n) is used to navigate where n is the number of files. It can be negative to move back.
previous(n) is just a convinience method which does a next(-n);

If you don't specifiy a value a 1 is assumed: Thus next(0) and pervious(0) do not change the position at all!

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by pschatzmann
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants