Xaque8787 / m3uparser

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

Feature Request - Filter out duplicates #11

Open AudioInj opened 2 weeks ago

AudioInj commented 2 weeks ago

Some Objects are delivered in multiple groups, would be nice to filter out the duplicates so Jellyfin will only display one occurrence.

Should be done after all the replacements take place if the title is exactly the same

Xaque8787 commented 2 weeks ago

I have had a system like this in place before but removed it for a couple of reasons. First being that sometimes the title do not match exactly but Jellyfin assigns the correct metadata, i.e The Terminator 2 and The Terminator II. Second reason was that some providers offer the same title but have different quality, i.e The Terminator in 720p and The Terminator in 1080p, so a quality filter would be more suited for those situations. Currently the scripts sync directory function, which is responsible for moving movies/shows from your provider to the VOD folders will not add a title that already exists, so the most likely cause of duplicates is slight differences in file names, which is more of a provider issue. Perhaps when it first populates the VOD folders it isnt checking for duplicates, and that is something I can look into. In the meantime I did find this jellyfin-finde-duplictes, which could alleviate the situation, and perhaps in the future ill add something similar to the core functionality of the parser script.