My1 Posted November 27, 2023 Share Posted November 27, 2023 is there only the option to toggle through the modes or is there also a way to use the API to just set specific repeat or random modes I prefer to use? Link to comment Share on other sites More sharing options...
maxmp Posted November 27, 2023 Share Posted November 27, 2023 @My1 you can set repeat mode directly to any value Use this https://github.com/maxmpz/powerampapi/blob/master/poweramp_api_lib/src/main/java/com/maxmpz/poweramp/player/PowerampAPI.java#L283 with this https://github.com/maxmpz/powerampapi/blob/master/poweramp_api_lib/src/main/java/com/maxmpz/poweramp/player/PowerampAPI.java#L1181 Example code is here: https://github.com/maxmpz/powerampapi/blob/master/poweramp_api_example/src/main/java/com/maxmpz/poweramp/apiexample/MainActivity.java#L553 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now