Difference between revisions of "Media center matrix display menu"

From Organic Design wiki
(attempt to use JSON for something practical)
(update)
 
Line 1: Line 1:
{ "menu": {
+
{  
 +
"menu": {
 
     "playback": {
 
     "playback": {
 
         "line1": "Playing",
 
         "line1": "Playing",
         "line2": "{{CURRENT_TRACK}}",
+
         "line2": "{{CURRENT_MEDIA}}",
 
         "ccw": "",
 
         "ccw": "",
 
         "cw": "",
 
         "cw": "",
         "press": "",
+
         "press": "{{SET_MODE_PAUSE}}",
 
         "menu": "",
 
         "menu": "",
 +
        "backlight": "{{SET_BACKLIGHT_MAX}}",
 
         },
 
         },
 
     },
 
     },
 
     "pause": {
 
     "pause": {
 
         "line1": "Paused",
 
         "line1": "Paused",
         "line2": "{{SMPTE_PLAYHEAD}}",
+
         "line2": "{{SMPTE_PLAYHEAD}} Elapsed",
 +
        "backlight": "{{SET_BACKLIGHT_MAX}}",
 
         },
 
         },
 
     },
 
     },
      
+
     "idle": {
 +
        "line1": "{{SOURCE}}",
 +
        "line2": "{{SOURCE_SHORT_INFO}}",
 +
        "backlight": "{{SET_BACKLIGHT_DIM}}",
 +
        "Source": [
 +
            "Tuner": {
 +
                "line1": "Tuner",
 +
                "line2": "{{TUNER_SHORT_INFO}}",
 +
                "cw": "{{SET_TUNER_NEXT}}",
 +
                "ccw": "{{SET_TUNER_LAST}}",
 +
                },
 +
            "Media": {
 +
                "line1": "Media",
 +
                "line2": "{{MEDIA_SHORT_INFO}}",
 +
                "cw": "{{SET_MEDIA_NEXT}}",
 +
                "ccw": "{{SET_MEDIA_LAST}}",
 +
                },
 +
            ],
 +
        }       
 
}
 
}

Latest revision as of 04:44, 10 April 2007

{ "menu": {

   "playback": {
       "line1": "Playing",
       "line2": "Template:CURRENT MEDIA",
       "ccw": "",
       "cw": "",
       "press": "Template:SET MODE PAUSE",
       "menu": "",
       "backlight": "Template:SET BACKLIGHT MAX",
        },
   },
   "pause": {
       "line1": "Paused",
       "line2": "Template:SMPTE PLAYHEAD Elapsed",
       "backlight": "Template:SET BACKLIGHT MAX",
        },
   },
   "idle": {
       "line1": "Template:SOURCE",
       "line2": "Template:SOURCE SHORT INFO",
       "backlight": "Template:SET BACKLIGHT DIM",
       "Source": [
           "Tuner": {
               "line1": "Tuner",
               "line2": "Template:TUNER SHORT INFO",
               "cw": "Template:SET TUNER NEXT",
               "ccw": "Template:SET TUNER LAST",
               },
           "Media": {
               "line1": "Media",
               "line2": "Template:MEDIA SHORT INFO",
               "cw": "Template:SET MEDIA NEXT",
               "ccw": "Template:SET MEDIA LAST",
               },
           ],
       }        

}