Ir à oferta completa

PYTHON CODER FOR VIDEO PLAYER IMPROVEMENT

Descrição da oferta de emprego

Write python and Arduino code for this arduino_port = 'COM5' arduino_baudrate = During a channel broadcast, the Arduino D7,D8 relay should be turned on every 20 minutes 1 sec before playing ads.
Once theArduino D7,D8 relay on, ads need to be played.
The ads folders are stored in the folder of 'C.
Users\KALAVANI\Downloads\Video' and should be played in VLC media player at full screen using the following Python code.
```python import subprocess def play_video(video_path).
vlc_path = r"C.
Program Files\VideoLAN\VLC\[login to view URL]" [login to view URL]([vlc_path, '--fullscreen', video_path]) ``` After the ads finish, the Arduino D7,D8 relay should be turned off and the normal broadcast can continue.
Ads should be run on a priority basis.
The folder named 'C.
Users\KALAVANI\Downloads\Video\1' is considered high priority and should be played three times an hour.
The folder named 'C.
Users\KALAVANI\Downloads\Video\2' is medium priority and should be played twice an hour.
The folder named 'C.
Users\KALAVANI\Downloads\Video\3' is low priority and should be played once an hour.
Videos should be picked randomly from each folder, but every video should be played according to the priority basis mentioned above.
The maximum duration for an ad is upto 4 minutes.
Once the ad starts to play, a message stating "ads start with ad name" needs to be sent via WhatsApp using the following API document.
``` secret = "fd2d330dcbdb7b2cce85b" account = "c4caa0bdcc509a6fbcdda" recipient = "+" type.
"text" WhatsApp - Send Single Chat Send a single chat message.
Requires "wa_send" API permission.
POST [login to view URL] Parameter Field Type Description secret String The API secret you copied from (Tools -> API Keys) page account String WhatsApp account you want to use for sending, you can get the account unique ID from /get/[login to view URL] or in the dashboard.
recipient String Recipient mobile number or group address, it will accept whatsapp group address or E.
formatted number and locally formatted numbers using the country code from your profile settings.
Example for Philippines E.
.
+ Local.
type (optional) String Type of WhatsApp message.
Default value.
text Allowed values.
"text", "media", "document" message String Message or caption you want to send, spintax is also supported.
priority (optional) Number If you want to send the message as priority, it will be sent immediately.
1 for yes and 2 for no.
Default value.
2 media_file (optional) File This is for "media" and "button" type message only.
The media file you want to attach in the WhatsApp message, it supports jpg, png, gif, mp4, mp3 and ogg files.
Please use POST method if you are using this parameter.
media_url (optional) String This is for "media" and "button" type message only.
The media file url, please use direct link to the media file.
It will be downloaded and be attached in the WhatsApp message, it also supports jpg, png, gif, mp4, mp3, and ogg files.
You can use GET method for this.
media_type (optional) String This is for "media" type message only.
You only need to enter this parameter if you are using "media_url" instead of "media_file".
You need to declare the file type of the media in the url you provided.
Allowed values.
"image", "audio", "video" document_file (optional) File This is for "document" type message only.
The document file you want to attach in the WhatsApp message, it supports pdf, xls, xlsx, doc and docx files.
Please use POST method if you are using this parameter.
document_url (optional) String This is for "document" type message only.
The document file url, please use direct link to the document file.
It will be downloaded and be attached in the WhatsApp message, it also supports pdf, xls, xlsx, doc, and docx files.
You can use GET method for this.
document_name (optional) String This is for "document" type with "document_url" message only.
The document file name, please include the file extension.
For example.
[login to view URL] document_type (optional) String This is for "document" type message only.
You only need to enter this parameter if you are using "document_url" instead of "document_file".
You need to declare the file type of the document in the url you provided.
Allowed values.
"pdf", "xls", "xlsx", "doc", "docx" shortener (optional) Number Shortener ID, specify the shortener you want to use if you want to shorten the links in your message.
You can get the list of available shorteners from /get/shorteners Default value.
none Success Response Format Field Type Description status Number List of Codes 200 = Success message String Response message data Array Array of data Error Response Format Name Type Description status Number List of Codes 400 = Invalid parameters 401 = Invalid API secret 403 = Access denied 404 = WhatsApp account doesn't exist 500 = Something went wrong message String Response message data Array Array of data Send a Sample Request url [login to view URL] Parameters secret secret String account account String recipient recipient String type type String message message String priority priority Number media_file media_file File media_url media_url String media_type media_type String document_file document_file File document_url document_url String document_name document_name String document_type document_type String shortener shortener Number PHP Example Python Example $chat = ["secret" => "API_SECRET", // your API secret from (Tools -> API Keys) page "account" => "90cf7d40a467d5f40a39fca222ccb9abee73e5e2b0bc2ae06a8fa9e", "recipient" => "+", "type" => "text", "message" => "Hello World!"]; $cURL = curl_init("[login to view URL]"); curl_setopt($cURL, CURLOPT_RETURNTRANSFER, true); curl_setopt($cURL, CURLOPT_POSTFIELDS, $chat); $response = curl_exec($cURL); curl_close($cURL); $result = json_decode($response, true); // do something with response print_r($result); Success Response { "status".
200, "message".
"WhatsApp message has been queued for sending!", "data".
false } Error Response { "status".
400, "message".
"Invalid Parameters!", "data".
false } WhatsApp - Start WhatsApp Campaign Start WhatsApp Campaign.
Requires "start_wa_campaign" API permission.
GET [login to view URL] Parameter Field Type Description secret String The API secret you copied from (Tools -> API Keys) page campaign Number Campaign ID Success Response Format Field Type Description status Number List of Codes 200 = Success message String Response message data Array Array of data Error Response Format Name Type Description status Number List of Codes 400 = Invalid parameters 401 = Invalid API secret 403 = Access denied 404 = Device doesn't exist 500 = Something went wrong message String Response message data Array Array of data Send a Sample Request url [login to view URL] Parameters secret secret String campaign campaign Number PHP Example Python Example $apiSecret = "API_SECRET"; // your API secret from (Tools -> API Keys) page $campaignId = 1; $cURL = curl_init(); curl_setopt($cURL, CURLOPT_URL, "[login to view URL]{$apiSecret}&campaign={$campaignId}"); curl_setopt($cURL, CURLOPT_RETURNTRANSFER, true); $response = curl_exec($cURL); curl_close($cURL); $result = json_decode($response, true); // do something with response print_r($result); Success Response { "status".
200, "message".
"WhatsApp campaign has been resumed!", "data".
false } Error Response { "status".
400, "message".
"Invalid Parameters!", "data".
false }" ``` After the ad finishes, the normal broadcast can continue.
To monitor errors, create a separate error log with timestamps.
Any errors can be monitored at this location.
'C.
Users\KALAVANI\Desktop\abi-py'.
For monitoring played video ads, create a separate video ads log that includes the video name, the number of times it's played, and the date and time that the video was played.
Store this data in 'C.
Users\KALAVANI\Desktop\abi-py'.
Python Machine Learning (ML) Arquitetura de software Programação C Programação C++ ID do Projeto.
# Sobre o projeto 1 proposta Aberto para ofertas Projeto remoto Ativo em 4 horas atrás
Ir à oferta completa

Detalhes da oferta

Empresa
  • Indeterminado
Localidade
  • Em todo Portugal
Endereço
  • Indeterminado - Indeterminado
Data de publicação
  • 05/05/2024
Data de expiração
  • 03/08/2024
Customer Service German (m,f) Banking Lisbon
Personalbüro U. Herrmann

The candidates book their own transportation and we will reimburse them fully (up to 700€ for external relocators and up to 150€ for internals)... job description:you will be a single point of contact for the bank's clients for different types of inquiriesyou are able to manage all different types of......

CRO Learning trainer
Minor hotels portugal

Provide positive feedback and areas for improvement to those agents with good performance... canteen- free gym for 2 hours if you are the person we are looking for, send us your application with the indication of to *****@*****!... create optimal learning conditions to know how use all the programs of......

Customer service german (m,f) banking
Personalbüro u. herrmann

Job description:you will be a single point of contact for the bank's clients for different types of inquiriesyou are able to manage all different types of inquiries generated via inbound activities such as chat and email... start: 31st may or later banking project: german on-siterole: as customer service......

Customer Service Agent (m,f) Dutch: Household appliance
Personalbüro U. Herrmann

Work on continuous improvement for client satisfaction... benefits: excellent remuneration package based on experience, skills and performance life insurance meal allowance + transport allowance private health insurance work on-site in oriente - lisbon reimbursement of airfare on the 6th month of contract......

Content moderator (m,f) social media german
Personalbüro u. herrmann

Outros dados de posição benefits 100% on-site (pop) and 24/7 (night shifts included) german 950 base salary + 450 language adder + 167 meal allowance relocation assistance for candidates coming from abroad international community modern office in a city center with open spaces, easy to access with public......

Customer service agent with french (M/F) - Porto
Eurofirms

Hey, you? yes, you! do you speak several languages? are you fluent in french? do you have good knowledge of english? you can be the person that we are looking for! as a result of the incredible growth of our client, we’re looking for bilingual speakers to join us and one of the world’s biggest and most......

Net Developer
Uniksystem -sistemas de informação,lda

We’re looking for... we’re looking for new team members with the profile of... for more information you can consult our privacy policy we will contact you only if your profile is selected for the next stage of recruitment... we also inform you that your data will be kept in the company for a period of......

German speaking customer specialist (M/F) - Porto Hybrid
Eurofirms

We're selecting call center operator (m/f) for a company in the services sector located in porto... do you link speak several language? are you fluent in german? do you have good knowledge of english? then you could be perfect for our bilingual roles! as a result of the incredible growth of our client......

Mechanical Engineer (m/f) | Lisboa
Claire Joster by Selection

Claire joster is currently recruiting for a portuguese company of power generating, oil&gas; and material handling sectors, which intends to strengthen its internal structure with the integration of a mechanical engineer (m/f) in lisbon... requirements higher education in mechanical engineer; professional......

Social care workers - Ireland
Cpl Healthcare

How good does it feel to know that you will be a vital part of giving these young people the hope for the future they deserve? there is also a relocation package for you to cover your flight to ireland and 2 months rent... your future team is waiting for you to help them provide an emotionally and psychologically......