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

Get track location in MP3Player? #126

Open
htv04 opened this issue Apr 11, 2022 · 2 comments
Open

Get track location in MP3Player? #126

htv04 opened this issue Apr 11, 2022 · 2 comments

Comments

@htv04
Copy link
Contributor

htv04 commented Apr 11, 2022

I was looking through the MP3Player code and I don't think there's a function for getting the current position while playing an MP3 file. Is it possible to implement this?

@DacoTaco
Copy link
Member

DacoTaco commented Apr 12, 2022

quick look at this rfc (request for change) & code makes me wonder what you mean with 'current position'. do you mean in time, in buffer location or in frame?

MP3 file is split up in frames, each frame being x seconds of the song and y bytes long.
so with current position, do you mean x seconds of a total of z seconds of the mp3 that has been played or...?

@htv04
Copy link
Contributor Author

htv04 commented Apr 12, 2022

do you mean x seconds of a total of z seconds of the mp3 that has been played

Yes, unless there's a different standard that is usually used.

@DacoTaco DacoTaco changed the title Tell function for MP3Player? Get track location in MP3Player? Apr 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants