AI lyric translation with Gemini not working without manually changing model
Maintainers usually reply within 3 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- Under an hour
- Newbie friendliness
- 65/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Domain
- ai, mobile-dev
Research direction
The payload does not name the file that holds the Gemini default. Search the Kotlin sources for the string gemini-2.0-flash and for the AI provider settings that fall back to it. Replace the default with gemini-flash-lite-latest or gemini-3.5-flash-lite, then check that translation returns lyrics on the free tier. Done when a fresh install with an empty custom model ID translates a song without error.
Written by the indexing model from the issue text.
Description
Duplicate Check
- I confirm I searched for existing reports and found no duplicates.
Latest Release
- I confirm I am on the latest release and the problem still happens.
Describe the Bug
AI lyric translation fails every time with the Gemini default model.
The default model gemini-2.0-flash was shut down by Google (June 2026). Every request returns 404 NotFound, which I confirmed in the Google AI Studio usage graph
Steps to Reproduce
- Settings > AI > set AI provider to Gemini
- Enter a valid free tier Gemini API key from Google AI Studio
- Leave Custom AI model ID empty (default gemini-2.0-flash)
- Turn on "Use AI Lyric Translation"
- Play any song that has lyrics and trigger translation
- Translation fails, error appears in logs
Expected Behavior
Translation should work out of the box with the default model.
Suggested fix: change the default model to either gemini-flash-lite-latest or gemini-3.5-flash-lite. I tested both and it works on the free tier also.
Also, it would be nice if it shows the real API error message instead of the JSON parse error in logs.
App Version
2.3.0
Android Version
Android 16
Device Model
Redmi note 13 Pro 5G
Custom ROM
- I am using a custom ROM
Custom ROM Name (if applicable)
No response
Screenshots (optional)
No response
Log / Error Details
22:00:10.952 E/AI Translation: Error: Illegal input: Unexpected JSON token at offset 0: Expected start of the object '{', but had '[' instead at path: $
JSON input: [{
"error": {
"code": 40.....
- Dominant language
- Kotlin
- Stars
- 12.4k
- Forks
- 696
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 4
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from maxrave-dev/SimpMusic
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
maxrave-dev/SimpMusic#2746 ·
Maintainers usually reply within 3 days
-
bug:unconfirmed
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
maxrave-dev/SimpMusic#2714 · 1 comment ·
Maintainers usually reply within 3 days
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
maxrave-dev/SimpMusic#2661 ·
Maintainers usually reply within 3 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
maxrave-dev/SimpMusic#2652 ·
Maintainers usually reply within 3 days
-
[UI/UX] Keyboard does not dismiss automatically after selecting a song from searchPossibly taken @SiddartthVS claimed this 33 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
maxrave-dev/SimpMusic#2507 ·
Maintainers usually reply within 3 days
All issues in maxrave-dev/SimpMusic
Similar issues
-
feature
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
leonlatsch/Photok#816 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
owenlejeune/ArrMatey#417 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
orgzly-revived/orgzly-android-revived#1120 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Tiqr/eduid-app-android#277 ·
-
Difficulty 1/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day