Script / PyXBMCt vs Plugin for new add-on
#1
Hi all - I have a basic plugin that plays videos from social sources (not published yet), but feel that the plugin UI is too limited. I want to provide more functionality than the “file / folder” structure that comes with the plug in. The easy video playback is handy, but I want to build more options for browsing, playback controls, etc. My questions:

- Is building a script, and UI from scratch not advised? Would something like PyXBMCt be a recommended way?

- Are there good examples of scripts that have done a great job with UI?

- How do custom UIs deal with users’ skinning preferences?

Thanks all for this awesome community!
Reply
#2
1. It's completely up to you. There are two ways of creating custom UIs for addons: Python-based Windows and Controls and XML-based skinned UIs. Python-based UIs are suitable for some basic scenarios like login windows, custom settings panels, etc. XML-based UIs are much better for complex UI designs. PyXBMCt is just a convenience wrapper around Python-based Windows and Controls so it has the same limitations.
2. I'm not very familiar with XML-based UIs, but you can look at Plex addon for Kodi as a good example of a complex addon UI. It does a really great job of re-creating user experience of Plex apps for other platforms.
3. It's completely up to you how you design your addon UI. You can create several designs based on popular Kodi skins.
Reply
#3
Thanks so much - super helpful. I’ll restate my second question: is there a good example of a python-based GUI, maybe using PyXBMCt?

(2019-05-12, 14:36)Roman_V_M Wrote: 1. It's completely up to you. There are two ways of creating custom UIs for addons: Python-based Windows and Controls and XML-based skinned UIs. Python-based UIs are suitable for some basic scenarios like login windows, custom settings panels, etc. XML-based UIs are much better for complex UI designs. PyXBMCt is just a convenience wrapper around Python-based Windows and Controls so it has the same limitations.
2. I'm not very familiar with XML-based UIs, but you can look at Plex addon for Kodi as a good example of a complex addon UI. It does a really great job of re-creating user experience of Plex apps for other platforms.
3. It's completely up to you how you design your addon UI. You can create several designs based on popular Kodi skins.
Reply
#4
(2019-05-21, 07:24)aeon Wrote: Thanks so much - super helpful. I’ll restate my second question: is there a good example of a python-based GUI, maybe using PyXBMCt?

(2019-05-12, 14:36)Roman_V_M Wrote: 1. It's completely up to you. There are two ways of creating custom UIs for addons: Python-based Windows and Controls and XML-based skinned UIs. Python-based UIs are suitable for some basic scenarios like login windows, custom settings panels, etc. XML-based UIs are much better for complex UI designs. PyXBMCt is just a convenience wrapper around Python-based Windows and Controls so it has the same limitations.
2. I'm not very familiar with XML-based UIs, but you can look at Plex addon for Kodi as a good example of a complex addon UI. It does a really great job of re-creating user experience of Plex apps for other platforms.
3. It's completely up to you how you design your addon UI. You can create several designs based on popular Kodi skins.

Hey Roman, just wanted to follow up again on this — looking for some design inspiration/ guidelines to build out mockups!
Reply
#5
(2019-05-22, 08:00)aeon Wrote: Hey Roman, just wanted to follow up again on this — looking for some design inspiration/ guidelines to build out mockups!

This is not a chat or a support hotline. Users post here if and when they have time and desire to do so.

As for your question, I don't really track PyXBMCt usage and currently don't use it myself for various reasons. There is a demo addon https://github.com/romanvm/pyxbmct.demo that shows different UI controls and their usage. Basically, this is as much as you can do with Python-based UI layout.
Reply
#6
(2019-05-22, 14:06)Roman_V_M Wrote:
(2019-05-22, 08:00)aeon Wrote: Hey Roman, just wanted to follow up again on this — looking for some design inspiration/ guidelines to build out mockups!

This is not a chat or a support hotline. Users post here if and when they have time and desire to do so.

As for your question, I don't really track PyXBMCt usage and currently don't use it myself for various reasons. There is a demo addon https://github.com/romanvm/pyxbmct.demo that shows different UI controls and their usage. Basically, this is as much as you can do with Python-based UI layout.

Got it, I appreciate all the help, thanks!
Reply

Logout Mark Read Team Forum Stats Members Help
Script / PyXBMCt vs Plugin for new add-on0