Search found 2 matches

by nnet
August 8th, 2019, 7:37 pm
Forum: Other Clients
Topic: mpc output format - escape quotes
Replies: 2
Views: 833

[SOLVED] Re: mpc output format - escape quotes

Ah ok, I misunderstood its use then, it doesn't filter output, it provides a means of escaping arbitrary characters supplied in the format template.
Thanks for the response and explanation!
by nnet
August 8th, 2019, 4:27 pm
Forum: Other Clients
Topic: mpc output format - escape quotes
Replies: 2
Views: 833

mpc output format - escape quotes

Hi, I'm trying to create json output using mpc: mpc -f '{"artist": "%artist%",["album": "%album%",]"title": "%title%",["track_number": "%track%",]"duration": "%time%"}' search artist savatage produces output: {"artist": "Savatage","album": ""Streets" A Rock Opera","title": "Believe","track_number": ...