Closed ahmedre closed 2 years ago
so 5ba6c51 contains an initial implementation of supporting the Shemerly pages. i figured i'd open this with a list of outstanding problems (and also to get any feedback/ideas from the community about what we should do - push it or not, etc).
a few problems with this version:
general problems
bugs
not yet implemented
my main concerns with respect to releasing this are the image download size issue (major problem, since device storage is little and bandwidth is precious in many countries), followed by the bugs (though only 2 of them can be (reasonably) fixed, the third one will take a lot of work - either manual, or figuring out an automated way to figure out the timestamps where the pages are switched).
on the flip side, a search for Shemerly in Google Play (both in Arabic and English) shows no results, and in the iOS App Store, only 1 result, last updated in 2014.
Please excuse my ignorance, but what/who is "Shemerly"? Google search is yielding only some personal Facebook and twitter pages.
it is exactly like the normal mus7af (madani mus7af, hafs 3an assem) - the difference is that ayat can span multiple pages (unlike the standard Madani mus7af where ayahs never span pages), and, consequently, it's a total of 521 pages instead of 604. it's pretty popular among people in Egypt (not sure about other countries).
see an example here: http://android.quran.com/data/shemerly/width_1200/page007.png
update - re-compressed the images with less colors (using convert -colors 64 +dither source destination
), and re-optimized them - now the zip is at 112mb.
closing for now since there are no action items at the moment - an apk is buildable and works, and we can re-visit when we figure out if we will support multiple page types in the same apk or not.
would a list of each page first word index help? this is the first 5 juz'. I can add more if it helps
update: here all 30 juz`
shemerly_page_first_word_index.txt
re-opening - in sha' Allah will see what's left to release this and i'll update here if i need any help
oh and jazakAllah khairan by the way.
The web version of quran has audio that is indexed by word, is it the same for quran android? If it is the same then it can be combined with shemerly_page_first_word_index.txt the fix the third bug.
Hi @ahmedre, how can I build the shemerly variant?
you can't right now - if there's interest i can make the page type accessible in the normal Quran for Android app under page types though since everything is pretty much working.
I wanted to see if i can fix bug number 3
also due to the above, when playing audio on an ayah at the bottom of page x which continues on page x + 1, the app automatically puts you on page x + 1. this isn't ideal, but the only way to handle this is to know which part of the ayah (and audio file) are part of page x vs which are parts of x + 1.
what was your plan to fix it? really the only fix is if we know where the audio for each ayah begins and ends so we can transition to the next page at the right time.
the audio for quran_frontend is indexed by word, is it the same for quran_android?
not for all the qaris though unfortunately :(
qaris that are indexed by word together with shemerly_page_first_word_index.txt can be used change page automatically when ayah continues on the next page.
then the qaris that will be shown when using shemerly will be the ones that are index by word only.
excellent masha'Allah - the remaining issue is just which qaris overlap - the answer sadly might be none, because of all the qaris supported on quran.com, they're all gapped qaris and not gapless. there's a plan to fix this but it may take some time
do you mean when qaris repeats the same word?
the remaining issue is just which qaris overlap
no i mean the timings for words we have are only for a set of gapped qaris (a handful of the ones on quran.com). most of those in Quran for Android have either switched to gapless (or will in the next release in sha' Allah) which means we don't have word by word timings at the moment for them.
in sha' Allah planning to generate them, but it'll take some time.
honestly i don't think bug 3 is a feature blocker for releasing the Shemerly pages - they'd still be useful to people even if the audio causes the next page portion of the ayah to be highlighted until we fix it - what do you think?
I think it can be released as public beta until all bugs are sorted out. shemerly mushafs are becoming rarer these days that it would a benefit a lot of people if this was to be released in the PlayStore.
King Fahd Glorious Quran Printing Complex prepared a Mushaf (written by Uthman Taha) matching Shemerly print. For details look at pages 80-86 of https://qurancomplex.gov.sa/kfgqpc-books-booklets-complextechguide/
This version is available in
I know that using this version might require repeating some of the work done on the original Shemerly version, but it is an option. May be both can be included!
UPDATE: Now this new Mushaf is posted on Quran Complex website, and named المصحف العادي - 3.
closing this now that the app ships with Shermerly.
we have the pages for Shemerly as contributed by our brother Waleed Ibrahim, jazahuAllah khairan. we should have a Shemerly version of the app.