Commit graph

16 commits

Author SHA1 Message Date
haruInDisguise
33df540200 module_mpris: Fixed bus name handeling
The 'HandleNameChanged' event will no longer attempt to change the
name of non MPRIS clients.
2025-03-26 20:45:29 +01:00
haruInDisguise
b7a7bc7db2 module_mpris: Removed incorrect/redundant include 2025-03-20 16:40:33 +01:00
haruInDisguise
c2ba93aa4f module_mpris: Cleanup 2025-03-20 11:00:17 +01:00
haruInDisguise
c1ddafd34a module_mpris: fixed a crash on startup
Non existing clients are now handled correctly.
2025-03-20 00:16:58 +01:00
haruInDisguise
4ed93d9b68 module_mpris: Fixed property parsing on startup 2025-03-20 00:14:31 +01:00
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