Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement a better feature in music player to change track. #39

Open
sobhanbera opened this issue Aug 13, 2021 · 0 comments
Open

Implement a better feature in music player to change track. #39

sobhanbera opened this issue Aug 13, 2021 · 0 comments
Assignees
Labels
bug Something isn't working critical something critical. this tag will always be with another tag documentation Improvements or additions to documentation enhancement New feature or request feature-implementation Implement a new feature feature-pending Feature implementation is pending for much time feature-update Updating an existing feature. feature-urgent Urgently needed feature implementation tweak Simple and small code change. similar to good-first-issue

Comments

@sobhanbera
Copy link
Owner

Updated feature

Currently, we are scrolling to the next index of the flat list to trigger the "playback-track-changed" event of react-native-track-player and then change the song according to that. Instead of this approach we could directly play a song after detecting which song index was ended lastly and according to that play the next song and find the song index in the flat list variable and scroll to that particular index.

This approach will help us to play the track/song in some cases where the device is locked or the application is running in the background and not in front of the user on the screen itself.

@sobhanbera sobhanbera added bug Something isn't working documentation Improvements or additions to documentation enhancement New feature or request feature-implementation Implement a new feature feature-update Updating an existing feature. feature-pending Feature implementation is pending for much time feature-urgent Urgently needed feature implementation tweak Simple and small code change. similar to good-first-issue critical something critical. this tag will always be with another tag labels Aug 13, 2021
@sobhanbera sobhanbera self-assigned this Mar 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working critical something critical. this tag will always be with another tag documentation Improvements or additions to documentation enhancement New feature or request feature-implementation Implement a new feature feature-pending Feature implementation is pending for much time feature-update Updating an existing feature. feature-urgent Urgently needed feature implementation tweak Simple and small code change. similar to good-first-issue
Projects
None yet
Development

No branches or pull requests

1 participant