Difference between revisions of "Talk:Kodi"

From ArchWiki
Jump to: navigation, search
(policykit rules)
(policykit rules: Remove closed discussion.)
Line 1: Line 1:
== <s> policykit rules </s> ==
 
  
Seems policykit config format is deprecated. I found following variant:
 
 
{{hc|/etc/polkit-1/rules.d/50-xbmc.rules|
 
<nowiki>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;
 
    }
 
});</nowiki>
 
}}
 
 
Somebody confirm this.
 
[[User:Unikum|Unikum]] ([[User talk:Unikum|talk]]) 01:15, 19 October 2012 (UTC)
 
: I tested this. Seems it work. [[User:Unikum|Unikum]] ([[User talk:Unikum|talk]]) 07:37, 20 October 2012 (UTC)
 
:: Rule updated. Close. -- [[User:Fengchao|Fengchao]] ([[User talk:Fengchao|talk]]) 03:13, 24 October 2012 (UTC)
 

Revision as of 08:39, 28 October 2012