Skip to content

Бот для telegram, который позволяет регулировать звук на устройстве запуска /Telegram bot that allows you to adjust the sound

Notifications You must be signed in to change notification settings

Championloo/sound-off

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

sound-off

Если у вас на работе тоже есть любитель послушать музыку на весь кабинет (даже в наушниках!), который иногда забывает заблокировать компьютер пока отходит, то у меня есть решение.

/If you also have a lover at work to listen to music for the whole office (even with headphones!), who sometimes forgets to lock the computer while leaving, then I have a solution.

  • вставьте токен telegram-бота /insert telegram bot token
  • создайте исполнительный exe-файл с помощью pyinstaller /create an executable exe file using pyinstaller

python -m PyInstaller --onefile --noconsole sound_off.py

  • поместите на компьютер (с OC Windows) любителя музыки /put on his computer (with Windows OS) a music lover
  • опционально: создайте через планировщик задание с автоматическим включением приложения /optional: create a task through the scheduler with automatic activation of the application

*команда "Тише" устанавливает значение громкости на 27 /the command "Тише" sets the volume value to 27

В боте процесс выглядит так /In a bot, the process looks like this:

image

About

Бот для telegram, который позволяет регулировать звук на устройстве запуска /Telegram bot that allows you to adjust the sound

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages