I'm new to programming for XBMC [Basics] - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26) +--- Thread: I'm new to programming for XBMC [Basics] (/showthread.php?tid=179969) |
I'm new to programming for XBMC [Basics] - GlidePy - 2013-12-09 I'm trying to create a basic plugin which plays livestreams. I know the basics of Python but I have more experience with C# and JS. The main problem is I can't even seem to get started (The documentation is confusing). http://mirrors.xbmc.org/docs/python-docs/12.2-frodo/ Half the links on the this page seems to not work for me. Most plugins for XBMC use the default GUI to make a list, but what is the API to use the default GUI? Also how would I play a stream after clicking on a button on the list? Please help. RE: I'm new to programming for XBMC [Basics] - bossanova808 - 2013-12-09 Easiest way to learn is to download a versy simple addon then copy it. If you're just doing a basic video plugin, you could use the xbmcswift2 framework ...which seems to be quite well documented: http://www.xbmcswift.com/en/latest/ RE: I'm new to programming for XBMC [Basics] - GlidePy - 2013-12-09 I was trying to find a simple addon but it seems every addon (that I could find) is pretty complex, because they connect to the internet to retrieve lists. Also I'm not completely sure how to use the xbmcswift framework. I know creating a list looks something like this: Code: def CATEGORIES(): RE: I'm new to programming for XBMC [Basics] - foomanshoe - 2013-12-09 I also just started with xbmc addon development. I already know python quite well, but I agree, it was confusing to start. xbmcswift2 makes it much easier and more pythonic than the default api. I would start there. Feel free to take a look at my project which is also a very simple video addon that scrapes video urls and sends them to xbmc. https://bitbucket.org/boralyl/plugin.video.theberrics/overview Also, here are some of the bulitin modules developed by the xbmc team (for reference): https://github.com/XBMC-Addons/ Additionally I agree with bossanova808. xbmcswift2 has very good documentation with a great tutorial. Read up here: http://www.xbmcswift.com/en/latest/ RE: I'm new to programming for XBMC [Basics] - Talguy - 2014-01-02 Guys, I'm also thinking of starting to create plugins for XBMC. I want to create a stream audio plugin. Is it possible to have the plugin use XBMC's now playing screen while running the addon in XBMC's background. I would like to do it this way as i want to listen to music from a service while still being able to browse my library and get it organized. Is this possible? Sorry for the thread jack RE: I'm new to programming for XBMC [Basics] - Bstrdsmkr - 2014-01-02 (2014-01-02, 16:51)Talguy Wrote: Guys, I'm also thinking of starting to create plugins for XBMC. I want to create a stream audio plugin. Is it possible to have the plugin use XBMC's now playing screen while running the addon in XBMC's background. I would like to do it this way as i want to listen to music from a service while still being able to browse my library and get it organized. Is this possible? If what you want to stream is already available, you don't need a separate addon for this. Just hit tab on your keyboard when something is playing and you can access all the other menus and etc What is likely confusing the OP and the rest is that there are two "styles" of video addon:
|