Implementation of Player Project
23 USDrandom in the range from zero to the maximum amount of video in the default folder.That is, when the start (if the randommaster falls 0 for camID and 5 for Version) the video is launched,
The way to which: cam0/DefaultFolder/Default/VersionNumber5/Video0
We will then check if the video lost in this folder is the last.If it is the last, then change the CamID (0 or 1), if the video that is lost is not the last, then the following video from the same folder is included.Next, I’ll check if there’s a “type” at all, if so, then if the “type” from the chat is unique:
That is, if it is more than 199 or the time that has passed from the moment
The past "type" is longer than the duration of the first lost video.If the “type” is “unic”
The variable camID changes, the variable OptionFolder is equal to the value of the "type", the variable Version is selected accidentally, the variable VideoID is equal to zero.
Доработать логику приложения, поменять метод работы очереди.
Существуют папки с видео, как в прошлом проекте, вы можете назвать их как хотите.
Я ввел переменные camID, например cam0 и cam1.
При запуске выбирается рандомное значение camID, либо cam0 либо cam1.
Переменная 'cost' парсит значение размера "типса" то есть количество токенов, которое пришло в чат.
При запуске программы эта переменная равна '0' или 'default'.
Переменная 'version' при запуске программы принимает значение
случайное в диапазоне от нуля до максимального количества видео в папке "default".
То есть при старте (если в рандомайзере выпадает 0 для camID и 5 для Version) запускается видео,
путь к которому: cam0/DefaultFolder/Default/VersionNumber5/Video0
Далее, проверяем, является ли проигрываемое видео в этой папке последним.
Если оно последнее, то меняем CamID (0 или 1), если проигрываемое видео не последнее, то включается следующее видео из той же папки.
Далее, проверям, есть ли "тип" вообще, если да, то, является ли "тип" из чата уникальным:
то есть если он больше 199 или время, прошедшее с момента
прошлого "типса" больше чем длительность первого проигрываемого видео. Если "типс" является "уникальным"
то переменная camID меняется, переменная OptionFolder приравнивается значению "типса", переменная Version выбирается случайно, переменная VideoID приравнивается нулю.
Work result
-
975 20 0 I’m going to continue to fake this mysterious logic.
The algorithm is on a row and maybe something else will be needed.
Продолжу подправлять эту головоломную логику)
Алгоритм очереди и возможно еще что понадобится.
-
3.1.2.5. Публикация следующей информации:
...
- проектов, завершённых ретроспективно и открытых с целью увеличения рейтинга.
(c) https://freelancehunt.com/service/rules
Джентельмены, используйте персональные проекты 😉
-
Current freelance projects in the category C and C++
Script that will interact based on the imageI need a script that will interact based on the image + text (product name on the screen) + price. In other words, the script should click on the platform logo (white text in the top left) to update the range of products (every 3-5 seconds), then there should be a search by… C and C++, Python ∙ 8 proposals |
Create a bot telegram with GPT integration
306 USD
The technical task: 1) Create a bot telegram for example, When you start asking the language: The Russian The English The rest is the example of the first bot: to propose to send a photo from which the face will be taken, the second - to ask for a video on which the face… C and C++, Python ∙ 12 proposals |
Configurate the data exchange between Jetson nano and another device by can shiSet the data exchange between the jetson nano and other device on the can band using the RS485 CAN documentation and examples here: https://www.waveshare.com/wiki/RS485_CAN_for_Jetson_Nano The data package that is transmitted is broken down on the frame size of 8 bytes, the… C and C++, Linux and Unix ∙ 2 proposals |
Infrared temperature sensor ZigBeeRequired an infrared temperature sensor with data transmission through the ZigBee protocol to the Home Assistants server in MQTT Equipment of : Module ESP32-C6-WROOM-1-N8 Infrared thermometer MLX90614 + Add LED laser to indicate where the temperature is scored C and C++, Embedded systems and microcontrollers ∙ 1 proposal |
Create a bot in telegram by parsing messages
20 USD
You need to copy the functionality of this bot - t. me /lead_observer_bot The functional: 1. to put the keywords 2. to kill groups from which the parsing of messages will occur Possibility of adding and deleting words and groups Obtaining notifications of new messages by… C and C++, Python ∙ 14 proposals |