rigoletto@
Developer
Hello,
I am using i3bar with with sysutils/conky with a JSON wrapper as here. It is working as expected but sometimes it breaks when audio/musicpd is playing some music where the title have "quotation marks".
Removing the quotation marks from the music tags are not an option as I have a huge collection of classical music what the titles often have quotation marks, and I manage them using audio/picard.
I would like to know if there is a way to have those quotation marks not interpreted as JSON?
I found out I could use something like
The relevant part of the conky configuration is this:
EDIT: the perfect alternative would be py3status but it is not in ports, and all my tentatives to port something resulted in garbage.
However port it should be simple and I may try to do later, specially if I do not find solution.
EDIT: polybar is even cooler but also not in ports.
Thank you.
I am using i3bar with with sysutils/conky with a JSON wrapper as here. It is working as expected but sometimes it breaks when audio/musicpd is playing some music where the title have "quotation marks".
Removing the quotation marks from the music tags are not an option as I have a huge collection of classical music what the titles often have quotation marks, and I manage them using audio/picard.
I would like to know if there is a way to have those quotation marks not interpreted as JSON?
I found out I could use something like
\"
to do that but it would just work with static text, and not random ones.The relevant part of the conky configuration is this:
Code:
{ "full_text" : " ${if_match "${mpd_status}" == "Playing"}$mpd_smart - $mpd_elapsed$else${mpd_status}$endif " },
EDIT: the perfect alternative would be py3status but it is not in ports, and all my tentatives to port something resulted in garbage.
However port it should be simple and I may try to do later, specially if I do not find solution.
EDIT: polybar is even cooler but also not in ports.
Thank you.