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

Files don't get removed after closing MPV #25

Open
guzz46 opened this issue Mar 9, 2025 · 1 comment
Open

Files don't get removed after closing MPV #25

guzz46 opened this issue Mar 9, 2025 · 1 comment

Comments

@guzz46
Copy link

guzz46 commented Mar 9, 2025

This is my ~/.config/mpv/script-opts/webtorrent-hook.conf
Files don't get removed while streaming after closing MPV, am I doing something wrong? thanks

close_webtorrent=yes
remove_files=yes
remember_last_played=no

@guzz46
Copy link
Author

guzz46 commented Mar 9, 2025

I've managed to make a workaround, I created a script with the following

webtorrent --mpv "$1" && cd /tmp && rm -rf webtorrent

And I just call the script, and when MPV gets closed the webtorrent folder gets deleted

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

No branches or pull requests

1 participant