AIMP Forum

AIMP for PC => Ошибки и замечания / Bugs => Обработано / Processed => Topic started by: adem on November 23, 2025, 00:32:53

Title: [x] [3019] [Linux] неполная поддержка спецификации MPRIS
Post by: adem on November 23, 2025, 00:32:53
ОС: Manjaro Linux 25.0.10
Версия AIMP: v6.00.3019 Alpha 5 64-bit (14.11.2025)
Окружение: KDE 6.3.6

Для проверки есть консольная утилита playerctl (общее описание в ArchWiki (https://wiki.archlinux.org/title/MPRIS#Playerctl)). Имеются следующие команды:
Code: [Select]
  play                    Command the player to play
  pause                   Command the player to pause
  play-pause              Command the player to toggle between play/pause
  stop                    Command the player to stop
  next                    Command the player to skip to the next track
  previous                Command the player to skip to the previous track
  position [OFFSET][+/-]  Command the player to go to the position or seek forward/backward OFFSET in seconds
  volume [LEVEL][+/-]     Print or set the volume to LEVEL from 0.0 to 1.0
  status                  Get the play status of the player
  metadata [KEY...]       Print metadata information for the current track. If KEY is passed,
                          print only those values. KEY may be artist,title, album, or any key found in the metadata.
  open [URI]              Command for the player to open given URI.
                          URI can be either file path or remote URL.
  loop [STATUS]           Print or set the loop status.
                          Can be "None", "Track", or "Playlist".
  shuffle [STATUS]        Print or set the shuffle status.
                          Can be "On", "Off", or "Toggle".

Выполняем команду и получаем результат следующим образом:
Code: [Select]
~ playerctl status
Playing

Неудачный результат:
Code: [Select]
~ playerctl play
No player could handle this command

По моим тестам из списка вышеуказанных команд AIMP поддерживает только «status», во всех остальных случаях «No player could handle this command». И, на сколько я понял, на основе этой спецификации многими DE реализована интеграция медиаплееров в своё окружение, от кнопок в превью на панели задач, до поддержки медиа-клавиш. Например, в доке KDE (https://community.kde.org/MPRIS).
Title: Re: [3019] [Linux] неполная поддержка спецификации MPRIS
Post by: Artem on November 24, 2025, 10:14:10
Ага, поломалось из-за починки задваивания элементов управления в шеле Mint-а
Title: Re: [x] [3019] [Linux] неполная поддержка спецификации MPRIS
Post by: adem on November 27, 2025, 07:33:03
Подтверждаю исправление в v6.00.3020 Alpha 5 64-bit (25.11.2025) https://drive.google.com/file/d/1qWrb09SurrrjS8f7h85ZEoIN9hbopPob/view?usp=drive_link