Yes, it would of course be possible.
But I doubt that it would have practical significance.
I mean, it would be very difficult to create a proper Python expression.
For example, for the menu, which is shown above, that expression would look like this:
Code: Select all
[u'Menu root', [[u'System', [[u'Go back to menu root', ['HTTPM', u'System.Back', u'']], [u'System.1', ['HTTPM', u'System.1', u'']], [u'System.2', ['HTTPM', u'System.2', u'']]], ['HTTPM', u'System', u'']], [u'Multimedia', [[u'Multimedia.Exit', ['HTTPM', u'Multimedia.Exit', u'']], [u'MPC-HC', [[u'MPC-HC.Exit', ['HTTPM', u'MPC-HC.Exit', u'']], [u'Play', ['HTTPM', u'MPC-HC.Play', u'']], [u'Pause', ['HTTPM', u'MPC-HC.Pause', u'']], [u'Stop', ['HTTPM', u'MPC-HC.Stop', u'']], [u'Fullscreen', ['HTTPM', u'MPC-HC.Fullscreen', '']]], ['HTTPM', u'MPC-HC.Start', u'']], [u'MediaMonkey', [[u'Go back to Multimedia menu', ['HTTPM', 'suffix', '']], [u'New item', ['HTTPM', 'suffix', '']]], ['HTTPM', u'Start_MediaMonkey', u'']], [u'Radio?Sure!', [[u'Go back to Multimedia menu', ['HTTPM', 'suffix', '']], [u'New item', ['HTTPM', 'suffix', '']]], ['HTTPM', u'Start_RadioSure', u'']]], ['HTTPM', u'Multimedia', u'']]], None]
Pako