Repository navigation
feat: let a quran:// link choose the reciter - #4072
Open
BiskremMuhammad wants to merge 1 commit into
Open
BiskremMuhammad wants to merge 1 commit into
BiskremMuhammad wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed in #4071.
A
quran://link can choose the ayah but not the reciter. For memorization that is the missing half — a teaching recitation is what you learn a new portion from — and the same link already carries one on iOS (quran/quran-ios#1045) and on the web (mediaReciter).The link carries quran.com's recitation id, so one link means the same voice wherever it is opened, and each app resolves it locally. Here that is a new optional
quranComIdon a catalog entry:{ "id": 1, "nameResource": "qari_husary_gapless", "...": "...", "quranComId": 6 }QuranForwarderActivitythen resolves?reciter=throughQariUtil.qariIdForQuranComId()and callsCurrentQariManager.setCurrentQari. A recitation we do not have leaves the reader's own qari alone — better silence than the wrong voice.Only two are mapped today:
minshawi_murattal(9) andhusary(6). Basfar is not on quran.com.Tests:
QuranForwarderActivityReciterTest, three cases — the reciter is applied, an unknown id changes nothing, a link without the parameter changes nothing.Independent of #4070 — either can merge first.