djp952 / pvr.hdhomerundvr

Unofficial Kodi HDHomeRun DVR PVR Client
https://github.com/djp952/pvr.hdhomerundvr/wiki
Other
60 stars 9 forks source link

Add option to reset the database #7

Closed djp952 closed 7 years ago

djp952 commented 7 years ago

It would be nice to add a way to completely reset the database through the Kodi UI. Such an operation would drop all the tables and rebuild them from scratch.

It's possible that the database could become corrupted and/or unusable for a number of reasons, this option would prevent users from needing to find where the database file actually is on their platform and deleting it manually.

Other than the inconvenience there should be no important consequences to resetting the database, all the data is volatile anyway. Things already retrieved by Kodi (EPG, for example) will have been copied into the Kodi PVR database(s) so the user shouldn't necessarily lose anything.

djp952 commented 7 years ago

Option was added in version 1.0.9