Xaque8787 / m3uparser

Parse your m3u VOD list and make a .strm library for media server
8 stars 0 forks source link

Feature Request - Filter out specific groups #10

Open AudioInj opened 1 week ago

AudioInj commented 1 week ago

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

Xaque8787 commented 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.

Xaque8787 commented 8 hours ago

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.