Open AudioInj opened 1 week ago
This is something that I would like to implement for sure. The one thing I will need to consider would be that some some providers will use the EXTGRP to define genres, and some titles will have multiple genres assigned. So it will maybe need to have an option where if EXTGRP contains "x term" or EXTGRP contains ONLY "x term". Could also use this idea but in reverse, where the filter only keeps items with "x term" and everything else is discarded.
This feature currently exists in the image xaque87/m3uparser:filter and is available for testing. Any bugs with this image please report so I can get this feature pushed to latest when I feel it is ready.
Some m3u files contain a lot of unwanted objects so it would be nice to be able to filter out specific groups during the parsing. Groups to filter out could be also provided via parameter similar to the parameters used for cleaning e.g. REMOVE_TERMS Should be decided if this is applied before the modifications via SCRUB_HEADER takes place or afterwards.
Something like if EXTGRP contains "x term" then exclude from VOD folders