[DEV] Audio dynamic menu

Work in progress… dynamic menu

for right-click in volume icon

  • quick access to installed audio players
  • start Cava visualization
  • if Cava or/and PyRadio is running - quick access to Pyradio/Cava Colorizer modules

Question:

What music players you use?

I like to have them listed in menu if installed.

5 Likes

I use Audacious, mostly because of ‘audtool’ for use in my custom conky.

2 Likes

Audio menu is already in Mabox repo.
If you like to bind it to right-click on volume icon - edit your tint2 config.
Look for volumettf executor and change its execp_rclick_command to:

execp_rclick_command = mb-volmenu ipc

After that it is also worth to play with renewed Colorizer module for Cava :slight_smile:

Click Reset config to default first, to use the new improved config for Cava.

1 Like

Hi, new install of mabox using the latest iso and pyradio keeps crashing with errors like

Reading playlist…
Traceback (most recent call last):
File “/usr/lib/python3.14/site-packages/pyradio/messages_system.py”, line 1830, in \_get_txt
cap, out, priority = self.\_txt\[self.active_message_key\]
^^^^^^^^^^^^^^^^^^
ValueError: not enough values to unpack (expected 3, got 2)

I reinstalled pyradio but it says it is the latest.

1 Like

Hi @mbkw, and welcome to the forum :slight_smile:

Thanks for reporting, I just pushed latest PyRadio 0.9.3.11.27 to Mabox’s repo.
Hopefully this bug is fixed.

Wow, that was a fast fix, thanks!

Option to switch Cava window size added to Colorizer Cava module.

I will also try to add “Save custom position and size” option next…

Cava is placed in transparent terminal window without decoration. But still you can resize and move this window like any other:
A - Left mouse click - drag - to move
A - Right mouse click - drag - to resize