Quick and dirty python script to show addons that have not been updated since a certain date.
python:
#!/usr/bin/python
# -*- coding: utf-8 -*-
import os
import datetime
def filter_by_date(src_folder, archive_date):
os.chdir(src_folder)
return [
name for name in os.listdir('.')
if os.path.isdir(name) and datetime.datetime.fromtimestamp(os.path.getmtime(name)) < archive_date
]
if __name__ == '__main__':
print filter_by_date("/home/xbmc/.kodi/addons/", datetime.datetime(2016, 01, 01))
Just give it the path to your addons directory and a date. Relies on the modification time of a directory. Note that addons that have not been updated may not be broken, whilst addons that have could be. It should give you an idea though. Tested on Linux but should work with Windows too.
Sample output.
Code:
['script.aeonmq5.extrapack', 'script.module.mechanize', 'script.module.addon.common', 'skin.neon', 'script.module.pytz', 'pvr.vdr.vnsi', 'script.module.simplejson', 'repository.aeon-mq5-mod-isengard', 'script.videolanguage', 'script.grab.fanart', 'script.module.myconnpy', 'script.module.xbmcswift2', 'script.playlists', 'pvr.hts', 'script.module.metahandler', 'script.randomandlastitems', 'resource.uisounds.aeonmq5', 'script.module.parsedom', 'skin.aeonmq5.helixmod', 'repository.aeon-mq5-mod-helix', 'script.module.beautifulsoup', 'script.module.unidecode', 'script.module.t0mm0.common', 'script.module.simple.downloader']