Commit graph

11 commits

Author SHA1 Message Date
haruInDisguise
39d37b38e6 Merge branch 'module_mpris_bugix' into module_mpris_client_sync_on_startup 2025-03-19 20:08:08 +01:00
haruInDisguise
1a51f383c8 module_mpris: Added client registration on startup
This PR allows us to register pre-existing clients and treat
them just like clients that are created after yambar/this module
launches.
By default, the last discovered client will be displayed.
2025-03-19 19:05:57 +01:00
haruInDisguise
ca0f565237 module_mpris: Refactoring + Fixed mutex usage
- Addressed inconsistens variable naming and removed redundant code.
- Mutex locks are now used correctly.
- The context struct now references the modules config, making config
  access less awkward
2025-03-18 13:56:08 +01:00
haruInDisguise
dfa0970b75 module_mpris: Fixed multi threading issues regarding 'identity_list'
This addresses changes requested by @dnkl
2025-03-10 13:36:25 +01:00
haruInDisguise
dcbb0f88ae module_mpris: Cleanup
Fixed inconsistent variable naming/debug logging
2025-03-10 11:34:29 +01:00
haruInDisguise
6a97b364a0 module_mpris: Fixed inconsistent string validation checks
This addresses changes requested by @mathstuf
2025-03-10 11:13:17 +01:00
haruInDisguise
0bcde5c453 module_mpris: Fixed memory leak
The identity list now uses tlllist and is deallocated properly
2025-03-10 01:36:26 +01:00
haruInDisguise
dcf936fd9b module_mpris: Fixed 'use after free' 2025-03-10 00:32:14 +01:00
haruInDisguise
e423776000 module_mpris: Added 'query-timeout' option
This enables us to configure the communication timeout
with the dbus daemon.
2025-03-09 23:02:59 +01:00
Daniel Eklöf
e68ed8d843
module: mpris: mark debug-only variables with attribute unused
Fixes release builds
2025-03-05 08:41:04 +01:00
haruInDisguise
c27de56bea
Added 'MPRIS' module
This commit adds the ability to display status information for MPRIS
compatible music players.

Closes #53
2025-03-05 08:37:02 +01:00