{"id":4198,"date":"2020-04-26T13:50:49","date_gmt":"2020-04-26T01:50:49","guid":{"rendered":"http:\/\/www.zoyinc.com\/?p=4198"},"modified":"2020-04-26T13:50:49","modified_gmt":"2020-04-26T01:50:49","slug":"clear-cache-for-add-ons-in-kodi","status":"publish","type":"post","link":"http:\/\/www.zoyinc.com\/?p=4198","title":{"rendered":"Clear cache for add-ons in Kodi"},"content":{"rendered":"<p>I have been doing some work with MythTV and the Kodi MythTV addon. This has been around upgrading my MythTV from 0.25 to 0.29 which is quite a steps and I have had to go back and forth between versions. One of the biggest challenges is that I am using Kodi on Windows 10 as my front end.<\/p>\n<p>The problem has been that Kodi has locked up and frequently not showed any TV recordings. I don&#8217;t think this his necessarily, I think has been more about the MythTV server not being quite right.<\/p>\n<p>I felt I needed to be able to reset Kodi, at least caching wise, each time I tested. I didn&#8217;t want to go through the process of uninstalling, cleaning up, reinstalling and then reinstalling plugins each time so I was trying to figure out how to quickly clean things up. This is the solution I found that worked for me in my particular scenario.<\/p>\n<p>I am currently using Kodi Leia 18.6<\/p>\n<h1>Delete the Database and Thumbnails folders<\/h1>\n<p>Firstly ensure Kodi has been shutdown. You may possibly have to kill the process in task manager.<\/p>\n<p>The way I am using is to go to &#8220;%APPDATA%\/Kodi\/userdata&#8221; in Windows explorer by pasting &#8220;%APPDATA%\/Kodi\/userdata&#8221; into the location and press &lt;enter&gt;:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-4199\" src=\"http:\/\/www.zoyinc.com\/wp-content\/uploads\/2020\/04\/KodiClearCache01.jpg\" alt=\"\" width=\"387\" height=\"178\" \/><\/p>\n<p>You will now see the folders in your appdata folder:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-4200\" src=\"http:\/\/www.zoyinc.com\/wp-content\/uploads\/2020\/04\/KodiClearCache02.jpg\" alt=\"\" width=\"331\" height=\"233\" \/><\/p>\n<p>Delete both the &#8220;Database&#8221; and &#8220;Thumbnails&#8221; folders.<\/p>\n<p>Restart Kodi. It should restart fine but you will find your add-ons are not enabled.<\/p>\n<p>Within Kodi go to System settings:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-4201\" src=\"http:\/\/www.zoyinc.com\/wp-content\/uploads\/2020\/04\/KodiClearCache03.jpg\" alt=\"\" width=\"254\" height=\"162\" \/><\/p>\n<p>Then Add-ons<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-4202\" src=\"http:\/\/www.zoyinc.com\/wp-content\/uploads\/2020\/04\/KodiClearCache04.jpg\" alt=\"\" width=\"307\" height=\"150\" \/><\/p>\n<p>Then<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-4203\" src=\"http:\/\/www.zoyinc.com\/wp-content\/uploads\/2020\/04\/KodiClearCache05.jpg\" alt=\"\" width=\"345\" height=\"134\" \/><\/p>\n<p>Select &#8220;All&#8221;:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-4204\" src=\"http:\/\/www.zoyinc.com\/wp-content\/uploads\/2020\/04\/KodiClearCache06.jpg\" alt=\"\" width=\"403\" height=\"148\" \/><\/p>\n<p>You will see that your custom add-ons are not enabled, they have an &#8220;x&#8221; rather than a tick:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-4205\" src=\"http:\/\/www.zoyinc.com\/wp-content\/uploads\/2020\/04\/KodiClearCache07.jpg\" alt=\"\" width=\"552\" height=\"262\" \/><\/p>\n<p>So now you need to go through each add-on and either right click and select &#8220;Enable&#8221; or left click then click on the &#8220;Enable&#8221; button.<\/p>\n<h1>Your Add-on should now work<\/h1>\n<p>This method seems to work and doesn&#8217;t change the settings for the add-on, so you should not have to reconfigure the add-on or put in the credentials again. If you delete anything other than &#8220;Database&#8221; and &#8220;Thumbnails&#8221; this may not be true. In particular the subfolder &#8220;addon_data&#8221; has varous subfolders such as &#8220;pvr.mythtv&#8221; and these contain files called &#8220;settings.xml&#8221;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have been doing some work with MythTV and the Kodi MythTV addon. This has been around upgrading my MythTV from 0.25 to 0.29 which is quite a steps and I have had to go back and forth between versions. One of the biggest challenges is that I am using Kodi on Windows 10 as [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":4206,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18,135],"tags":[631,632,633,558,630,298,167,411,460,174,461],"class_list":["post-4198","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-mythtv","category-software-general","tag-cache","tag-clear","tag-config","tag-install","tag-kodi","tag-mythtv","tag-reset","tag-settings","tag-win10","tag-windows","tag-windows-10"],"_links":{"self":[{"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/posts\/4198","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4198"}],"version-history":[{"count":2,"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/posts\/4198\/revisions"}],"predecessor-version":[{"id":4208,"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/posts\/4198\/revisions\/4208"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/media\/4206"}],"wp:attachment":[{"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4198"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4198"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4198"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}