2020-01-28, 03:55
(2020-01-28, 03:32)james739 Wrote: Hello,Any reason why you don't use the "Clear guidedata" option in Kodi's LiveTV section?
Can someone help with script to delete Epg database. This is what I have so far, but its not deleting:
Code:import xbmc, xbmcgui
import os, sys, urllib, datetime, time, shutil, re
EPGDB = xbmc.translatePath('special://home/userdata/Database/Epg12.db')
def delete_file(EPGDB):
if os.path.exists(EPGDB):
os.remove(EPGDB)