[BETA] Delete After Watching
#1
Image

What is it?

Delete After Watching (DAW) is a program addon to make your Kodi install behave more like a DVR. Once you have watched a video, it will prompt you to ask if you would like to delete and remove from library.

Features
  • Configurable to prompt for delete only for certain types of video (Movies, TV, or Non-Library video)
  • Configurable t prompt for delete only after the first time you've watched a particular video
  • Default response is "No", meaning "do not delete". 2 Minute idle timer will also choose this option

Known Issues
  • This script does NOT honor the "Allow file renaming and deletion" kodi setting. It should, and will in the next version.
  • This only deletes the file being played. It doesn't delete any fanart, subtitiles, .nfo or the parent directory. If I can find a way to identify all of that, I'll add that ability.
  • github site not yet up. Source is obviously in the .zip file if you're curious.

Warning
DAW will delete your files when you ask it to. On most platforms, they are not recoverable - there is no "recycle bin" or holding area. Use the configuration settings to only enable this option for media you wish to delete. To protect media you don't want to delete, make sure to "unselect" it in the configuration. All media is "unselected" by default, the script will never delete anything unless you have both configured it to do so, and manually selected "yes" when prompted to delete.

How does it work

DAW registers for notification when media is started and stopped. When playback is stopped, DAW checks to see if the just played media has been "selected" for prompting. If so, it will ask the user if they want to delete the just finished media. If the user chooses "yes", DAW will delete the media files and remove it from the library.

Download

script.service.daw: https://dl.dropboxusercontent.com/u/4770...ng_002.zip

License

GNU GENERAL PUBLIC LICENSE. Version 3, June 2007

Acknowledgments
Roman_V_M for PyXBMCt
Pynto R for the After Watch addon


Background
My original feature request from 2010: http://forum.kodi.tv/showthread.php?tid=83263
Feature request from 2011: http://forum.kodi.tv/showthread.php?tid=98470
Feature request from 2013: http://forum.kodi.tv/showthread.php?tid=159221
Feature request from 2014: http://forum.kodi.tv/showthread.php?tid=185159
Similar feature baked into Simplicity skin: http://forum.kodi.tv/showthread.php?tid=98567
Team member saying that this feature belongs in the Core: http://forum.kodi.tv/showthread.php?tid=...pid1253897
Reply

Logout Mark Read Team Forum Stats Members Help
[BETA] Delete After Watching0