Talk:Kodi

From ArchWiki
Revision as of 02:51, 19 October 2012 by Fengchao (Talk | contribs) (Comments Welcome: Remove closed discussion.)

Jump to: navigation, search

policykit rules

Seems policykit config format is deprecated. I found following variant:

/etc/polkit-1/rules.d/50-xbmc.rules
polkit.addRule(function(action, subject) {
    if (( (action.id.indexOf("org.freedesktop.udisks.") == 0) || (action.id.indexOf("org.freedesktop.upower.")== 0) || (action.id.indexOf("org.freedesktop.consolekit.")== 0) ) &&
        subject.user=="xbmc") {
        return polkit.Result.YES;
    }
});

Somebody confirm this. Unikum (talk) 01:15, 19 October 2012 (UTC)