XBMC Cleaner - Remove old watched episodes
#1
I got tired of manually deleting old watched episodes from my Media Center, as i for most shows only watch the episodes once.
I have therefore created a little program that hooks up with the XBMC's MySQL database and gets a list of watched episodes it then removes.

There are how ever some filters, first it find the latest non-watched episode, or the latest if all have been watched, and it will only remove episodes that comes before this episode.
There are some filters build in
  • History: meaning that it will keep X of the latest watched episodes after the latest watched episode
  • Buffer: in days, it will not delete any episodes that have been seen within the last X days.
  • Ignore Path: any files in or in a sub-directory to an ignore path will not be deleted.

After the execution of the cleaning can it be set to call diffrent API's, for an example to clean the XBMC libirary.
All the settings can be changed in the Config filer, it will automatically create a new now with some base data should the file Config.xml not exists.
It is a console app, as it is meant to run as a Windows Task.
Enjoy, and remember I am not responsible for any lost data!

Free free to change what ever you like in the Source Code, if you improve it please send me the source code so i can update this post!
Binary: http://sogaard.us/XBMCCleaner/XBMCCleaner.v0.1.rar
Source Code: http://sogaard.us/XBMCCleaner/XBMCCleaner.v0.1.sc.rar
Image
Reply
#2
Seems nice. I hope you'll someday port it to Linux, I would definetely use it.
Reply
#3
Any chance you could re-upload the binary and sources? the links above seem to be dead.

Thanks!
Reply

Logout Mark Read Team Forum Stats Members Help
XBMC Cleaner - Remove old watched episodes0