I finally finished the new (promised) HTTP menu plugin.
This plugin is similar to the plugin HTTP explorer.
Download here.
Pako
Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
HTTP menu
Re: HTTP menu
Thanks Pako. I briefly tried it out and it works great. Would it be possible to create the Menu Tree using Pyhon expression (like the OS Menu plugin). Don't bother if it is too much work. I can imagine creating the sub-menu list would complicate the matter. Again, don't worry about it if it is not worth your while. It still looks good.
Thank,
Kalia
Thank,
Kalia
- Pako
- Plugin Developer
- Posts: 2294
- Joined: Sat Nov 11, 2006 1:31 pm
- Location: Czech Republic
- Contact:
Re: HTTP menu
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:Pako
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]Re: HTTP menu
Hi Paco. This is what I get. Can you help?
15:09:47 Error while loading plugin-file C:\Program Files (x86)\EventGhost\plugins\HTTPMenu.
15:09:47 Traceback (most recent call last) (1568):
15:09:47 File "C:\Program Files (x86)\EventGhost\eg\Classes\PluginModuleInfo.py", line 70, in __init__
15:09:47 __import__(moduleName, None, None, [''])
15:09:47 File "C:\Program Files (x86)\EventGhost\plugins\HTTPMenu\__init__.py", line 365
15:09:47 if not pth[0] and len(pth) > 1:
15:09:47 ^
15:09:47 SyntaxError: invalid syntax
- Pako
- Plugin Developer
- Posts: 2294
- Joined: Sat Nov 11, 2006 1:31 pm
- Location: Czech Republic
- Contact:
Re: HTTP menu
I think that the problem was caused when downloading the file __ init__.py.
Please use the download link in the first post, just right click with your mouse and 'Save Target as ...'.
Pako
Please use the download link in the first post, just right click with your mouse and 'Save Target as ...'.
Pako