-
Notifications
You must be signed in to change notification settings - Fork 20
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
[feature] getPlaylist Option #79
Comments
hi, how you can get current item and current position? i tried number of things but it is not working for me. |
hi, you need to listen status of your player instance and check event OnStatusTrackChangedData - here you'll find currentItem. something like this:
|
Currently there is no way to extract the full list of items from your instance. The only way is to store it some where in your global variables. |
I think it was never implemented since it would add another layer of state
management in the library.
Currently the native implementations handle the state.
If there is an easy way to query current playlist in supported platforms I
think we could add that.
PavelShvets-dev ***@***.***> schrieb am Sa., 11. Nov. 2023,
15:32:
… Is there a way to get the current playlist? We can get the current item
and current position but there doesn't seem to be a way to get the full
playlist.
Currently there is no way to extract the full list of items from your
instance. The only way is to store it some where in your global variables.
—
Reply to this email directly, view it on GitHub
<#79 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABSTOYM5I2BWDK3RNZS5J3YD6EBDAVCNFSM6AAAAAA4VZZPFSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBWHAZTEMRUGU>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Is there a way to get the current playlist? We can get the current item and current position but there doesn't seem to be a way to get the full playlist.
The text was updated successfully, but these errors were encountered: