IMDb updater help/question
#1
IMDb Updater: I was wondering if anyone knows how to add the "Clean Library" function to this bit of code. I move video files (TV and Movie) in and out of my videos share on a regular basis. The IMDB Updater was a great help (thanx to whom ever that was) but it doesn't always remove things I've deleted. I have to run "Clean Library" for that. I'd like to run that then the "Update library" fuction... I'm no programmer...

Thanx for any help with this...

Code:

import threading, thread, time

class update:
def __init__(self):
self.busy = 1
xbmc.executebuiltin("xbmc.updatelibrary(video)")
subThread = threading.Thread(target=self.SubthreadProc, args=())
subThread.start()

def SubthreadProc(self):
if self.busy:
self.busy = 0

while 1:
w = update()
del w
time.sleep(43200)
Reply
#2
it NEVER removes things you have delete.

clean library is not avail from python and this is not the python dev forums
Reply
#3
Sorry but this was where I got it from originally...

http://forum.xbmc.org/showthread.php?tid...db+updater

So it seemed like the place to ask...
Reply

Logout Mark Read Team Forum Stats Members Help
IMDb updater help/question0