MediaToast

Current playing media info via the vanilla music toast (previously MprisToast)

Редакция NLZONE · 2 мин чтения · 0 просмотров
MediaToast
Скачать MediaToast1.21.10 – 26.3 · с официальной страницы: modrinth.com
Перейти к загрузке

Что это

Current playing media info via the vanilla music toast (previously MprisToast)

  • Тип: мод
  • Загрузчик: fabric
  • Версии Minecraft: 1.21.10 – 26.3
  • Скачиваний на Modrinth: 1 185

Подробно

This (fabric) mod shows the media currently playing on your system using the vanilla music toast feature.

To make it work, you also have to enable the toast in vanilla options.

This mod is originally based on my other mod MprisCustomHud I made mainly to learn how to use MPRIS (and DBUS) with dbus-java.

This I made to learn a little bit about mixins and because I think it's cool :)

There are keybindings for play/pause, next, previous, refresh and cycle through active players.

By default a player is selected from the active ones and the mod is enabled, so you will not see toasts with vanilla music while your other music is playing. To cycle through the currently active ones, use the (only works if "Only preferred source" is disabled). All options are located in the vanilla sound settings under the option to enable music toasts in the first place. They all have tooltips that explain what they do.

- when you're running Minecraft in a Flatpak sandbox, you have to add org.mpris.MediaPlayer2. to the list of well known session bus names your launcher can talk to e.g. with Flatseal

- there will be no older versions, as the music toast didn't exist pre 1.21.6 (how did I think it was 1.21.10) - macOS is probably not supported (I also have no way to test it)

- dbus-java - Improved version of java DBus library provided by freedesktop.org https://dbus.freedesktop.org/doc/dbus-java - mediainterface - Access the operating systems "Media Remote"/Now Playing interface from Java/Kotlin.

This Mod is licensed under the MIT License

Как установить

Скачайте файл на официальной странице ниже и положите его в папку mods (для модов) или plugins (для плагинов) вашего сервера или клиента. Для модов нужен совместимый загрузчик. Версия должна совпадать с версией Minecraft.

Текст подготовлен автоматически из описания на Modrinth и ждёт проверки редакцией.

Редакция NLZONE

Пишем о серверах, модах и играх, в которые играем сами. Нашли ошибку — напишите нам, исправим.

Комментарии 0

Комментарии к этому материалу отключены.

Читайте также