bebo-dot-dev / m3u-epg-editor

a python m3u / epg optimizer
120 stars 27 forks source link

Escaping "|" in -g parameter #55

Closed Calimerorulez closed 3 years ago

Calimerorulez commented 3 years ago

Hi!

How can I filter a group-title which contains a pipe, like "|NL| KLASSIEK"?

If I use -g="'\|NL\| KLASSIEK'" it outputs nothing. If I use -g="'|NL| KLASSIEK'" the output is more than only that group.

bebo-dot-dev commented 3 years ago

try -g="'\\|NL\\| KLASSIEK'"

Calimerorulez commented 3 years ago

Thanks, that works great :)

bebo-dot-dev commented 3 years ago

👍