Skip to content

About

Виджет для панели задач, который показывает название трека, исполнителя, обложку и прогресс воспроизведения из проигрывателей, совместимых с Windows SMTC. /// A taskbar widget for track, artist, artwork and progress from Windows SMTC-compatible players. Requires 64-bit Windows 10 version 1809 or later, or Windows 11. Has optional sign-in startup.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

AudioWidget

AudioWidget taskbar media widget by Covelight

Автор: Covelight · v1.0.2 · Windows x64

Виджет для панели задач, который показывает название трека, исполнителя, обложку и прогресс воспроизведения из проигрывателей, совместимых с Windows SMTC. Щёлкните правой кнопкой по значку в области уведомлений, чтобы открыть Settings (настройки) или выбрать Exit (выход).

Интерфейс приложения остаётся на английском языке. Вкладки Position, Colours и Startup позволяют настроить расположение, текст-заполнители, обложку, цвета и необязательный запуск при входе в Windows. Изменения видны сразу; OK сохраняет их, а Cancel отменяет.

Запуск

Требуется 64-разрядная Windows 10 версии 1809 или новее либо Windows 11. Распакуйте весь архив для Windows в папку с правом записи, например в %LOCALAPPDATA%\Programs, и запустите AudioWidget-v1.0.2.exe. Не отделяйте EXE от DLL и остальных файлов: это переносимая папка, а не установщик. Приложение не запрашивает права администратора. Для отображения данных и перемотки проигрыватель должен предоставлять медиасеанс через Windows SMTC.

Настройки хранятся в config.json рядом с EXE. Перед обновлением сохраните копию файла и поместите её рядом с новым EXE. Сначала закройте старый экземпляр: повторный запуск сообщает уже работающему экземпляру, что его нужно показать.

На вкладке Position нажмите название, имя исполнителя или символ на схеме, чтобы изменить заполнители, показываемые при отсутствии данных. Их можно оставить пустыми. По умолчанию обложка квадратная; настройка Keep cover aspect ratio сохраняет пропорции прямоугольной обложки в пределах виджета фиксированной ширины. Для длинного текста доступны режимы Ellipsis (многоточие), Clip (обрезка) и Scroll (прокрутка). Доступность обложки и сведений о треке зависит от того, что проигрыватель передаёт Windows. На вкладке Colours также можно включить цвета, полученные из обложки. Если элементы не помещаются, используйте полосы прокрутки страницы или схемы либо клавишу Tab.

Автозапуск включается только по желанию в Settings → Startup и работает для собранного EXE, но не для Python-скрипта. После перемещения или обновления, если существующая запись указывает на старый EXE, используйте явную опцию её замены в этой вкладке. Windows также может отдельно отключить автозапуск в диспетчере задач.

Известная проблема: как минимум на одной системе виджет появлялся пустым при входе в Windows, но работал после ручного запуска. Причина не установлена; эта версия не заявлена как исправление проблемы. При необходимости закройте приложение через значок в области уведомлений и запустите его вручную.

Запуск из исходников и сборка

В Windows используйте 64-разрядный CPython 3.12.10. Файл requirements.txt фиксирует версии и SHA-256 хеши wheel-пакетов для Windows x64 / Python 3.12, включая инструменты сборки. Выполните в папке проекта:

py -3.12 -m venv .venv
.venv\Scripts\python.exe -m pip install --only-binary=:all: --require-hashes -r requirements.txt
.venv\Scripts\python.exe -m pip check
.venv\Scripts\python.exe audio_widget.py

Чтобы собрать переносимую папку и неподписанный тестовый кандидат:

.venv\Scripts\python.exe -m PyInstaller --clean --noconfirm AudioWidget.spec
.venv\Scripts\python.exe release.py

Собранная папка находится в dist\AudioWidget-v1.0.2\; в artifacts\ создаются ZIP-архив с номером версии и файл SHA-256. В spec-файл встроены манифест asInvoker и сведения о версии Covelight; нативные файлы находятся рядом с EXE, сжатие UPX отключено. Байт-код Python при этом хранится в архиве PyInstaller. Скрипт release.py проверяет структуру и метаданные сборки, но не является антивирусом и не проверяет работу приложения.

Лицензия

Исходный код AudioWidget распространяется под лицензией MIT, Copyright 2026 Covelight; см. LICENSE. Условия использования шрифтов и других сторонних компонентов сохранены в THIRD_PARTY_LICENSES.txt. Соответствующий исходный код pystray, распространяемого под LGPL, включён в pystray-v0.19.5.tar.gz.

By Covelight · v1.0.2 · Windows x64

A taskbar widget for track, artist, artwork and progress from Windows SMTC-compatible players. Right-click its tray icon for Settings or Exit. The Position, Colours and Startup tabs control layout, placeholders, artwork, colours and optional sign-in startup. Settings preview live; OK saves and Cancel restores them.

Run

Requires 64-bit Windows 10 version 1809 or later, or Windows 11. Extract the entire Windows ZIP to a writable folder, for example under %LOCALAPPDATA%\Programs, then open AudioWidget-v1.0.2.exe. Keep the EXE, DLLs and other files together; this is a portable folder, not an installer. The app doesn't request administrator privileges. A player must expose its media session to Windows SMTC for track details and seeking.

config.json is stored next to the EXE. Back it up and copy it beside the new EXE when upgrading. Exit an old instance first; a second launch signals the existing one to show instead.

In Position, click the title, artist or symbol in the drawing to edit the idle placeholders. Empty placeholders are allowed. Cover art is square by default; Keep cover aspect ratio fits rectangular artwork inside the fixed widget. Choose Ellipsis, Clip or Scroll for long text. Artwork and track details depend on what the player supplies to Windows. The Colours tab also offers artwork-derived colours. If controls don't fit, use the page or diagram scrollbars, or Tab to reach them.

Startup is opt-in under Settings → Startup and works for the packaged EXE, not the Python script. After moving or upgrading, use the explicit replacement option if the existing entry points to an older executable. Windows can also disable startup separately in Task Manager. Known issue: on at least one system the widget appeared blank at sign-in but worked after manual launch. The cause is unconfirmed and this version does not claim to fix it. If needed, exit from the tray and start it manually.

Run from source / build

Use 64-bit CPython 3.12.10 on Windows. requirements.txt locks the Windows x64 / Python 3.12 wheels and their SHA-256 hashes, including the build tools. From this folder:

py -3.12 -m venv .venv
.venv\Scripts\python.exe -m pip install --only-binary=:all: --require-hashes -r requirements.txt
.venv\Scripts\python.exe -m pip check
.venv\Scripts\python.exe audio_widget.py

To build the portable folder and an unsigned test candidate:

.venv\Scripts\python.exe -m PyInstaller --clean --noconfirm AudioWidget.spec
.venv\Scripts\python.exe release.py

The folder is dist\AudioWidget-v1.0.2\; artifacts\ holds the versioned ZIP and SHA-256 file. The spec embeds the asInvoker manifest and Covelight version information; native files stay on disk and UPX is disabled. Python bytecode is still stored in a PyInstaller archive. release.py checks the bundle structure and metadata, but is not a malware scanner or runtime test.

Licence

AudioWidget's own code is MIT licensed, Copyright 2026 Covelight; see LICENSE. Font and other third-party terms are preserved in THIRD_PARTY_LICENSES.txt. The matching LGPL-covered pystray source is included as pystray-v0.19.5.tar.gz.

About

Виджет для панели задач, который показывает название трека, исполнителя, обложку и прогресс воспроизведения из проигрывателей, совместимых с Windows SMTC. /// A taskbar widget for track, artist, artwork and progress from Windows SMTC-compatible players. Requires 64-bit Windows 10 version 1809 or later, or Windows 11. Has optional sign-in startup.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages