Open kevin-hub2020 opened 2 months ago
Same here. I load the whole dir via mpv <dir>
and there are duplicates created in the playlist (both on dir load and next file play). Check out attached img.
Seems like this lookup is the issue https://github.com/jonniek/mpv-playlistmanager/blob/a8d7f452aa61b1a9efb165b8baaaa4bec50b72d3/playlistmanager.lua#L1094-L1095
Maybe it's comparing filenames with paths in some cases :thinking:
When creating a playlist either manually or automatically create duplicated entries after all correct entries are appended. I have attached an image for reference. You can see episodes 2,3,4,5 append after episode 5, when adding files, it says it added 4 but shows it added more than that.![sorting_error](https://github.com/jonniek/mpv-playlistmanager/assets/73369890/0bcbad9a-ec2e-47fc-afcc-aeaa52755f40)