None of this is really hidden but I guess it is useful to have it compiled in one place.
The xbmc modules:
http://mirrors.xbmc.org/docs/python-docs/
Non-python functions that are useful for scripting:
List of Built in Functions
HTTP API
InfoLabels
special:// Paths
How-tos (may be outdated):
Plugins
Scripts [1]
http://wiki.xbmc.org/?title=HOW-TO_write_Python_Scripts]Scripts [2]
General Python Info:
http://www.python.org/doc/
http://diveintopython.org/toc/index.html
http://pound-python.org/
http://stackoverflow.com/questions/tagged/python
http://python.net/~goodger/projects/pyco....html#id10
A few useful libs for scraping websites:
http://pypi.python.org/pypi/simplejson/ (included in py2.6 + )
http://effbot.org/zone/pythondoc-element...ntTree.htm (included in py2.6 + )
http://www.crummy.com/software/BeautifulSoup/
http://www.feedparser.org/
http://wwwsearch.sourceforge.net/mechanize/
http://wwwsearch.sourceforge.net/ClientForm/
If you think there is anything I missed that needs to be mentioned just reply to this post and I'll update.
Plugin and Script API documentation and other useful links for XBMC Addon Developers
rwparris2
Team-XBMC Python Developer Posts: 1,341 Joined: Jan 2008 Reputation: 2 Location: US |
Always read the XBMC online-manual, FAQ and search and search the forum before posting. For troubleshooting and bug reporting please read how to submit a proper bug report. If you're interested in writing addons for xbmc, read docs and how-to for plugins and scripts ||| http://code.google.com/p/xbmc-addons/
(This post was last modified: 2012-10-31 12:35 by spiff.)
|
| find quote |
qwarlock
Junior Member Posts: 7 Joined: Nov 2009 Reputation: 0 |
2010-07-18 20:59
Post: #2
Hey Guys,
Sorry if this is posted somewhere but I am not seeing it. I really like XBMC and I recomend/ push it on all my friends. I like the idea of the central addon control center. Is there any docs on how this new section affects plugin dev and installation? I have a few plugins like the podcast script (That lets you download and listen to podcasts from pretty much anywhere) that no longer work. I would love to see docs that would give clues on how to convert this script to be usable in the new environment. Any docs on this or HowTos would be appreciated. I do not think the old plugin docs are still valid...or.... are they..... |
| find quote |
ppic
Skilled Python Coder Joined: Feb 2009 Reputation: 10 Location: France idf |
2010-07-18 21:06
Post: #3
ask the script author to update it first
Passion-XBMC Repository Download your SVN skins and addons TvTunes Addon Download Play your theme while browsing library TVshow Next Aired display next aired infos from tvrage.com Logo Downloader Script download Logo/clearart/show thumbs/poster/banner Bande-Annonce Allociné plugin watch trailers in french and vo SportLive Script Live score match info in XBMC (not compatible dharma) |
| find quote |
qwarlock
Junior Member Posts: 7 Joined: Nov 2009 Reputation: 0 |
2010-07-19 19:17
Post: #4
Hey Guys,
Yea the ultimate will be when all the plugins are updated but for me this is a great way for me to crack into building and adjusting Addons and Plugins. I did find wiki.xbmc.org/index.php?title=Addons_for_XBMC that had a bit on the changes and some clues enough for doing an update. I was able to get the Podcasts script back up and running. Whoo hoo!!! I moved on to MTV and now I am back to stumped. I am getting xbmcplugin.getSettings requires two arguments but only has one error. I am having fun with this and it again seems like a cool way for me to learn more about the great xbmc system and how to modify it and get even more out of it. So I guess next I need to see where getSettings usage is changed. from steveZ Thanks again guys for all the spiffy work! |
| find quote |
giftie
Skilled Python Coder Posts: 2,036 Joined: Mar 2010 Reputation: 35 |
2010-07-19 19:41
Post: #5
You might want to try replacing the xbmcplugin.getSetting() with xbmcaddon.getSetting()
|
| find quote |
amet
I wave my private parts at your aunties! Joined: Jul 2009 Reputation: 18 Location: Novi Sad / Dubai |
2010-07-19 19:56
Post: #6
qwarlock Wrote:Hey Guys, here is how the getSetting should be used http://wiki.xbmc.org/index.php?title=Xbmcaddon_module or pastebin what you have so far and I can look at it Always read the XBMC_Online_Manual,Frequently_Asked_Questions and search the forum before posting. For troubleshooting and bug reporting use -> Log_file. |
| find quote |
qwarlock
Junior Member Posts: 7 Joined: Nov 2009 Reputation: 0 |
2010-07-19 20:31
Post: #7
Perfect! Thanks!!!!! They added
pluginhandle = int(sys.argv[1]) xbmcplugin.getSetting(pluginhandle, "MySetting") That fixed a dozen errors. YEAY! Now MTV gets all the way to the Playing of the video. Everything else is cool. I get the list of vodeos and artists and pics. but when we get to playing the video I see errors for things like rtmp protocal not supported. Wow this is actually pretty fun! from steveZ |
| find quote |
jmarshall
Team-XBMC Developer Posts: 24,523 Joined: Oct 2003 Reputation: 138 |
2010-07-20 01:12
Post: #8
Nice - looking forward to see what you come up with
Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. ![]() |
| find quote |
chippyash
Senior Member Joined: Jan 2010 Reputation: 0 Location: Northants, UK |
2010-09-05 22:19
Post: #9
[QUOTE=qwarlock;570753
I did find wiki.xbmc.org/index.php?title=Addons_for_XBMC[/quote] Um, yep - saw that but unfortunately it doesn't give examples for anything than confluence skin. Would be good to see examples for instance for an addon that gets included in music or video (or both). Sorry - would have left a comment on the wiki page but no facility to do that. System info: Asrock ION330HT-BD (Intel Atom 330 4 core i686) connected to Sony KDL-Z5800 TV using hdmi via Onkyo TX-SR507 AV Amp. [Old Config Ubuntu 12.04. (Linux 3.2.0-32-generic-pae ) XBMCBuntu (Eden 11.0 Git:unknown Compiled Mar 24 2012). OpenGL 3.3.0 NVIDIA 280.13] New Config unknown - no working XBMC at moment! |
| find quote |
jmarshall
Team-XBMC Developer Posts: 24,523 Joined: Oct 2003 Reputation: 138 |
2010-09-05 23:34
Post: #10
You mean like this:
http://wiki.xbmc.org/index.php?title=Plu...your_addon All I did is click on the plugin source type of addon on the page you linked earlier. Cheers, Jonathan Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. ![]() |
| find quote |


![[Image: badge.gif]](http://www.ohloh.net/projects/9132/badge.gif)
Search
Help