Plugin Folder disable caching
#1
I'm working on a python video plugin, and was wondering if there was anyway to disable caching. The reason is, I'm coding a live tv video plugin for tv server, and would like to be able to show a list of channels, and an option at the bottom to "Stop timeshifting" if something is being timeshifted currently. So for example, when I choose a channel to watch, the timeshifting begins, and from then on, and listings should contain "Stop timeshifting". However, due to the caching, when I start watching, and I go back to the higher level, XBMC simply shows the cached version, and so the "Stop timeshifting" option is not there.

Is there anyway to force XBMC to not cache my plugin directory?

Also, is there a better way to start playing a channel once chosen than my method, which is to do: xbmc.Player().play(file) when the correct directory entry is chosen..

Thanks,
- Prashant
Reply
#2
PyObject* XBMCPLUGIN_EndOfDirectory(PyTypeObject *type, PyObject *args, PyObject *kwds)
{
static const char *keywords[] = { "handle", "succeeded", "updateListing", "cacheToDisc", NULL };

guess what that cacheToDisc keyword does Wink
Reply
#3
Ah, I was looking at the wrong place, in PluginDirectory.cpp.

Thank you for your prompt reply.
Reply

Logout Mark Read Team Forum Stats Members Help
Plugin Folder disable caching0