mpris: Add dynamic-order and dynamic-separator

This commit allows better handling of ordering and exclusion of the tags in Dynamics tags.
It also becomes possible to choose the separator between the tags.
This commit is contained in:
Erik Rodriguez
2023-06-02 16:14:28 -03:00
parent ca52892ab9
commit 77a8420aaf
3 changed files with 91 additions and 24 deletions

View File

@ -66,6 +66,8 @@ class Mpris : public ALabel {
int album_len_;
int title_len_;
int dynamic_len_;
std::string dynamic_separator_;
std::vector<std::string> dynamic_order_;
std::vector<std::string> dynamic_prio_;
bool truncate_hours_;
bool tooltip_len_limits_;