View Single Post
Old 04-09-2013, 09:30 AM   #697
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by twobob View Post
Okay. I found it.

Code:
{
"items": [
        {
            "name": "Testy",
            "priority": 1,
            "items": [
        {"name": "FOO RUNNER", "priority": 1, "action": "bin/foo.sh"},
        {"name": "BAH RUNNER", "priority": 2, "action": "bin/bah.sh"},
        {"name": "FUBARRED", "priority": 3, "action": "bin/fubar.sh"}            
            ]
        }
    ]
}
WILL Work.


Code:
{
"items": [
        {"name": "FOO RUNNER", "priority": 1, "action": "bin/foo.sh"},
        {"name": "BAH RUNNER", "priority": 2, "action": "bin/bah.sh"},
        {"name": "FUBARRED", "priority": 3, "action": "bin/fubar.sh"}
} <<<---- unmatched brace            
    ]
}
Won't work.

It's related to the formatting of the menu.json...
Reproducible in all instances.
As in un-balanced braces ?
knc1 is offline   Reply With Quote