2013-04-05, 20:06
2.4
Why can't we have our own fonts for the addon's skin. I've always wondered this. It keeps me awake at night
Why can't we have our own fonts for the addon's skin. I've always wondered this. It keeps me awake at night
(2013-02-12, 21:57)jmarshall Wrote: Regarding viewtypes, none of XBMC's filesystem layers require this, so I'd question whether it is the best method to apply for VFS add-ons.Right, I might have rushed with idea earlier
ATM all switching is generally done by the skin based on content type. It might be better to make the content type more fine-grained would be a good way to deal with this (e.g. content type should probably be a set of content types that apply).
If we need a way to specify views specifically, then it could be done with something like video|art.wide|info or some such.
Quote:5.3 Missing context-Menu commandsOk, I've lately noticed I couldn't add plugin items to favourites or use "play with" and that really bugs me, so let's do something about it!
Plugins can add commands to the context menu. They can also clear all original items while adding new items. But they can't clear and add some original items back because not all are available, e.g. "Add to favourites".
(2013-04-06, 09:50)pieh Wrote: What would be prefered way to this (from plugin developer perspective)? We have list of context entries ( https://github.com/xbmc/xbmc/blob/master...Menu.h#L27 ). We could add either white list (addbuttons=[CONTEXT_BUTTON_ADD_FAVOURITE] or black list (removebuttons=[CONTEXT_BUTTON_ADD_FAVOURITE]) of context items
listitem.addContextMenuItems(contextMenuTuple, replaceItems=True)
listItem.addStandardContextMenuItems([CONTEXT_BUTTON_ADD_FAVOURITE, MORE_CONTEXT_BUTTONS_HERE])
MY_CONTEXT_ITEM = ('Add to Trakt.tv', 'XBMC.RunPlugin(plugin://plugin.video.trakt_list_manager/customlists/movie/add?title=The+Rock)')
listitem.addContextMenuItems([
xbmcplugin.CONTEXT_BUTTON_PLAY,
MY_CONTEXT_ITEM,
xbmcplugin.CONTEXT_BUTTON_ADDON_SETTINGS
], replaceItems=True)
xbmc.executebuiltin("XBMC.Notification(%s, %s, %d, %s)" %(__addonname__,
__localize__(line1),
time,
__icon__))
xbmcgui.Dialog().Notification(heading,message[,time,image])
control.setLabel(T("My Button"))