Python script for Adhan
Hey,
I need a Python script which gets over Al Adhan API the prayer times annually saved as a JSON file. The script could run with a cronjob which check if the JSON file is available, if not it will download. If the file date year does not equal to the current year, it has to download the newest one. I can forward the URL for the JSON file.
From this JSON file it should parse the current date of the day and find the daily 5 prayer times. If one of the prayer time has been reached, it should play the Adhan audio file over command line and play other audio file(s) after X seconds/minutes.
There are 2 audio files for prayer times. 1. Fajr has his own audio file, all other 4 prayer times have same audio file. The audio file called „Dua“, which is played after X seconds after Adhan audio, is the same for all prayer times. After Dua audio has stopped, X minutes later a third audio has to play randomly from a folder 1 audio file.
Also a reminder audio has to play X minutes before it reach the prayer time too.
In the JSON file is also the hijri calendar available which has holiday entries. I need to list the important ones and an audio file has to be played X minutes before the date of holiday is reached.
I want to set some playing time for some audio files, lets say between 18:00-20:00, to play randomly or by list audio files. None of them should play twice before all of them from the folder has been played. This folder could have hundreds of audio files. Creating a list need to be automatically.
I will use LogitechMediaServer and the playing the audio over command line has to be friendly for it. I can forward the syntax in combination with vlc to play the audio files.
if you have any questions, feel free to ask.
Current freelance projects in the category Python
A bot needs to be created in Telegram for subscription payment.
45 USD
A bot needs to be created in Telegram where users can subscribe for access to the webcams located in the yard. Organize payment for two types of subscriptions (monthly and daily) in the bot. The bot should automatically check the payment and then provide access links. Python, Bot Development ∙ 9 hours 4 minutes back ∙ 61 proposals |
Python / Network Engineer: Network optimization of the bot (WAF, Connection Pooling, Asyncio)Simplified version! Please respond only if you understand and are knowledgeable. About the project: An automated bot for sniping. The basic business logic (parsing, authorization, assembling JSON/XML packages) is already ready and works on Python. The target environment is Linux… Python, Data Parsing ∙ 11 hours 33 minutes back ∙ 14 proposals |
Parsing and classification of a large array of imagesIt is necessary to implement a project for collecting and structuring a large array of architectural images from open web sources.The task includes: automated collection of images; uploading files in the highest available quality; classification of images by categories:… Python, Data Parsing ∙ 16 hours 3 minutes back ∙ 30 proposals |
Business logic of the platform: class confirmation, attendance control, and lesson history (DjangoRefinement of the business logic of the educational platform: lesson confirmation, attendance control, and lesson history (Django + React) A complete system for lesson confirmation, attendance control, and storage of confirmation history needs to be implemented. Important… Python ∙ 2 days 21 hours back ∙ 29 proposals |
Improvement of the administrative panel of the educational platform (Django + React)Improvement of the administrative panel of the educational platform (Django + React) Project description: There is an existing educational platform (marketplace, similar to Preply), developed on Django + React. It is required to enhance the existing administrative panel and… Python, Web Programming ∙ 4 days 18 hours back ∙ 58 proposals |