We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No description provided.
The text was updated successfully, but these errors were encountered:
V joj plugine nie je mozne zatial stahovat(rtmp streamy), !download je nastavena v capabilities.
Myslim ze lepsie by bolo spravit nieco taketo:
diff --git a/lib/contentprovider/xbmcprovider.py b/lib/contentprovider/xbmcprovider.py index c7c8eec..7bbbdc8 100644 --- a/lib/contentprovider/xbmcprovider.py +++ b/lib/contentprovider/xbmcprovider.py @@ -40,7 +40,8 @@ class XBMContentProvider(object): util.info('Initializing provider %s with settings %s'%(provider.name,settings)) self.addon = addon self.addon_id = addon.getAddonInfo('id') - self.check_setting_keys(['downloads']) + if '!download' not in self.provider.capabilities(): + self.check_setting_keys(['downloads']) self.cache = provider.cache def check_setting_keys(self,keys): @@ -248,7 +249,9 @@ class XBMContentProvider(object): else: item['size'] = ' (%s)' % item['size'] title = '%s%s' % (item['title'],item['size']) - menuItems = {xbmc.getLocalizedString(33003):downparams} + menuItems = {} + if "!download" not in self.provider.capabilities(): + menuItems[xbmc.getLocalizedString(33003)] = downparams if 'menu' in item.keys(): for ctxtitle, value in item['menu'].iteritems(): if ctxtitle.find('$') == 0:
Sorry, something went wrong.
No branches or pull requests
No description provided.
The text was updated successfully, but these errors were encountered: