Page 1 of 1

Delete after watch

Posted: 12 Nov 2021 07:39
by quazi
I want to delete some series episodes after watching. Is it possible to add something like --delete-after-watch param to cli?

Re: Delete after watch

Posted: 12 Nov 2021 12:43
by Lotesdelere

Re: Delete after watch

Posted: 13 Nov 2021 09:36
by quazi
This story still about manual file removing. One by one. But I want to run something like

Code: Select all

vlc playlist.m3u --delete-after-watch
or

Code: Select all

vlc *.mp4 --delete-after-watch
to have only not yet viewed series and to reduce manual and repetitive actions.

Re: Delete after watch

Posted: 13 Nov 2021 09:43
by quazi
Maybe even better to run some script after watch and pass path in params. And script can do something like
- save file to lib as watched
- remove file from drive

Re: Delete after watch

Posted: 13 Nov 2021 10:03
by RĂ©mi Denis-Courmont
You can always modify the player to do whatever you want. It just seems extremely hazardous to automatically delete files that way.

Re: Delete after watch

Posted: 14 Nov 2021 07:36
by quazi
If it will be just "call after watch" script it is not a vlc responsibility. Let it be --call-after-watch param as I described in last message