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

Add the ability to get any meta-tags by textual name #47

Open
Wohlstand opened this issue Sep 1, 2021 · 0 comments
Open

Add the ability to get any meta-tags by textual name #47

Wohlstand opened this issue Sep 1, 2021 · 0 comments
Assignees

Comments

@Wohlstand
Copy link
Member

Wohlstand commented Sep 1, 2021

Regarding stale #36, there is an idea to add an ability to get any meta-tag just by its textual name. The solution at the pull request wasn't effective, but the idea is good.

So, the way on how to implement that:

  • Make the cache of all tags while loading the song
  • When requesting a tag, seek in the cache, don't request the tag from the library every time, that will waste the computer time a lot
  • Extend the existing Mix_MusicMetaTags structure, make it be able to store the key=value cache which can be used to store loaded tags
@Wohlstand Wohlstand self-assigned this Sep 1, 2021
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

1 participant