Python xbmcplugin.SORT_METHOD_TITLE_IGNORE_THE Examples
The following are 1
code examples of xbmcplugin.SORT_METHOD_TITLE_IGNORE_THE().
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example.
You may also want to check out all available functions/classes of the module
xbmcplugin
, or try the search function
.
Example #1
Source File: container.py From plugin.video.themoviedb.helper with GNU General Public License v3.0 | 6 votes |
def finish_container(self): if self.params.get('random'): return for k, v in self.params.items(): if not k or not v: continue try: xbmcplugin.setProperty(self.handle, u'Param.{}'.format(k), u'{}'.format(v)) # Set params to container properties except Exception as exc: utils.kodi_log(u'Error: {}\nUnable to set Param.{} to {}'.format(exc, k, v), 1) if self.item_dbtype in ['movie', 'tvshow', 'episode']: xbmcplugin.addSortMethod(self.handle, xbmcplugin.SORT_METHOD_UNSORTED) xbmcplugin.addSortMethod(self.handle, xbmcplugin.SORT_METHOD_EPISODE) if self.item_dbtype == 'episode' else None xbmcplugin.addSortMethod(self.handle, xbmcplugin.SORT_METHOD_TITLE_IGNORE_THE) xbmcplugin.addSortMethod(self.handle, xbmcplugin.SORT_METHOD_LASTPLAYED) xbmcplugin.addSortMethod(self.handle, xbmcplugin.SORT_METHOD_PLAYCOUNT) xbmcplugin.endOfDirectory(self.handle, updateListing=self.updatelisting)