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

feat: embed lyrics in file #78

Merged
merged 6 commits into from
Sep 1, 2024
Merged

feat: embed lyrics in file #78

merged 6 commits into from
Sep 1, 2024

Conversation

BobbyESP
Copy link
Collaborator

This PR adds the ability to embed lyrics directly into audio files. It includes:

  • Adding TagLib dependency for metadata manipulation .
  • Implementing embedLyricsInFile function in MainViewModel to handle embedding.
  • Adding a toggle in settings to enable/disable embedding.
  • Updating lyrics saving logic to use embedding when enabled.
  • Handling potential SecurityException during embedding on Android Q+.

This commit adds the ability to embed lyrics directly into audio files. It includes:

- Adding TagLib dependency for metadata manipulation
.
- Implementing `embedLyricsInFile` function in `MainViewModel` to handle embedding.
- Adding a toggle in settings to enable/disable embedding.
- Updating lyrics saving logic to use embedding when enabled.
- Handling potential `SecurityException` during embedding on Android Q+.
Adds a button to embed lyrics in the song file.
Removes the embed lyrics in file preference.
This commit includes minor code style improvements such as fixing formatting inconsistencies and optimizing imports. These changes enhance the readability and maintainability of the
 codebase.
@BobbyESP BobbyESP marked this pull request as ready for review August 13, 2024 16:33
@BobbyESP
Copy link
Collaborator Author

This should be ready. Please, test it to check if everything works correctly.

Handle embedding lyrics into non-local songs by displaying a user-friendly error message.
Improve error handling
 for embedding lyrics and show specific error messages for different scenarios.
@Lambada10 Lambada10 merged commit edc31ba into Lambada10:master Sep 1, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants