Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load files to playlist and load files on start create duplicate files on playlist #139

Open
kevin-hub2020 opened this issue May 11, 2024 · 3 comments

Comments

@kevin-hub2020
Copy link

kevin-hub2020 commented May 11, 2024

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

@fidodido48
Copy link

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.
dubbled_pls_item

@jonniek
Copy link
Owner

jonniek commented Jul 26, 2024

Seems like this lookup is the issue

elseif filenames[file] then
-- skip files already in playlist

Maybe it's comparing filenames with paths in some cases 🤔

@fidodido48
Copy link

Ive noticed improvement after removing buggy bookmark.lua script from the mpv's scripts dir. It appears it might have been conflicting with playlist manager's script.
Im still monitoring, but didnt notice any playlist duplicates being created now and moreover fixed memory leak issue as well (after 2 days of running, mpv grew from inital 800mb to ~5gb before being killed by earlyoom).
Seems things got back to normal now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants