Refreshing plugin directories
#1
Question 
Hi!

Disclaimer: I know nothing Smile
Was hoping you guys could help me with one or two things:


1) Is there a way to NOT have XBMC cache a plugin directory, that is make XBMC reload the contents each time the directory is entered, so that (for example) when you are watching an item in the directory and reach the end you get thrown back into the directory the content is refreshed.

2) Is there a way to update the contents of a directory at a fixed interval, e.g. once every 5 minutes?

This is for a plugin I am making where (amongst other things) there is a live wmv stream that is somtimes available and somtimes not (depends on the time of day) but if you try the link from within XBMC and the stream isn´t live, XBMC freezes, so it is importat that the directory is up to date...

Thanks in advance!

/AG
Reply
#2
1. Endofdirectory has a cachetodisk option. Set it to False
2. Container.refresh() will update the listing, so all you need to do it code up the scheduler.
Reply
#3
Thanks for your help, much appreciated!

/AG
Reply

Logout Mark Read Team Forum Stats Members Help
Refreshing plugin directories0