Questions tagged [xbmc]

Kodi is a cross-platform, open source media player. Versions < 14.0 were called XBMC.

Kodi™ (formerly known as XBMC™) is an award-winning free and open source (GPL) software media center for playing videos, music, pictures, games, and more. Kodi runs on Linux, OS X, Windows, iOS, and Android, featuring a 10-foot user interface for use with televisions and remote controls. It allows users to play and view most videos, music, podcasts, and other digital media files from local and network storage media and the internet.

reference: About page from the Kodi website.

XBMC is the old name for what is now known as Kodi. XBMC is still the proper name if you are referring to an old version of the program (e.g., XBMC v13), but versions as of v14 and the project itself is known as Kodi.

reference: What is Kodi? What is XBMC? Intro FAQ on the Kodi wiki.

Kodi is a media player application developed by the XBMC Foundation, a non-profit technology consortium.

Kodi has a comprehensive API, allowing 3rd party plugins and addons to be developed.

223 questions
3
votes
1 answer

How to call method from another kodi/xbmc addon

I am trying to make an addon which calls another script addon. Now what I want to know is how can I access methods of the second addon from the first one. If yes please someone provide me with the syntax.
Jaysheel Utekar
  • 1,171
  • 1
  • 19
  • 37
3
votes
1 answer

How do you run a python script in OpenElec

I've looked all over but can't find a straight answer. I've got OpenElec installed on my raspberry pi B+ and I want to start playing around with some script. Which Directory do you put the files in and where do I go in OpenElec to run the python…
AaronLight
  • 423
  • 3
  • 10
3
votes
1 answer

Python unittest mock ... mock a module statement

I'm having difficuly getting my head around python's mock test methodology. I want to do some mocking on this file. Since packages xbmc, xbmcaddon and xbmcgui cannot be imported in a normal python environment I've managed to mock them out like…
powlo
  • 2,538
  • 3
  • 28
  • 38
3
votes
1 answer

How to input the strings in the label control for xbmc?

I'm working on my python script as I would like to store the strings in the language file called strings.po which it would allow me to change the texts in the label. I want to know how do you write the code to input the strings in the label control…
user3179027
3
votes
1 answer

How to change the images in python

I'm working on xbmc to run four images with my own python script. I have set up the keyboard control using keymap.xml as I want to change the images in python when pressing on the left arrow on the keyboard. I'm using xml file to store the parser…
user3180315
3
votes
4 answers

How do I parse XML results into an array?

I'm new to Python and need some help. The web hasn't been very helpful. Simply put, I have a web response that looks like this: 123 456 What I'm trying to do is take all of the contents from the…
Sinaesthetic
  • 11,426
  • 28
  • 107
  • 176
2
votes
1 answer

How to install xbmc module for Python

I tried to find the setup script from xbmcscripts.com but apparently that site is down. Neither 'easy_install' gives a desirable result. I'm running Ubuntu 11.04 and xbmc (Media Center) is installed and working alright. What I basically need is the…
Dananjaya
  • 2,135
  • 8
  • 22
  • 27
2
votes
2 answers

How can I run an XBMC/Kodi video-plugin in python script?

I am trying to develop an XBMC/Kodi addon and my goal is run script and plugins from python script. There are buttons in addon.py when you pushed them, the addon that specified will run. I achieved this for picture and game add-on. Like this: if…
LadyLyanna
  • 41
  • 1
  • 6
2
votes
1 answer

How can I import python code from the transmissionrpc addon?

I am having trouble importing python code from a 3rd party addon. My xml: When I try import transmissionrpc I am…
Michael
  • 101
  • 1
  • 10
2
votes
0 answers

How to Container.Update , Container.Refresh?

In my Kodi plugin I build a container with list items: elif methode == 'get_item_serienplaner': sp_items = refreshWidget(__LS__(30116)) url = '-' for sitem in sp_items: li = xbmcgui.ListItem(label2=sitem['TVShow'], label=sitem['Title'],…
user294015
  • 65
  • 7
2
votes
5 answers

How to grab value after equal sign using python?

I have a string variable called link that returns data from a remote site. How i can parse data after equal sign(token=) ? For example i want to grab "234132421reafdfasdfsdfdsf3234423edfasfdsf" from following line. file:…
user1788736
  • 2,727
  • 20
  • 66
  • 110
2
votes
1 answer

Calculate Remaining Disk Space On Android Using Python

I'm working on a service add-on for Kodi Media Center that will check the remaining disk space and remind a person, once space gets below 500MB, to use the maintenance tool that I've created. It runs as a separate service. I need a way to determine…
Spencer
  • 23
  • 3
2
votes
1 answer

Raspberry Pi 2 Netflix

This is not a duplicate of this, this, or this because Netflix is now supported on Chrome version 37, meaning that if one installs Chrome on the RPi2, Netflix will work through the browser. I'd like to be able to stream from OSMC or OpenELEC or Kodi…
faeophyta
  • 323
  • 5
  • 16
2
votes
1 answer

Is there a way to access python code from third party kodi/xbmc plugins in your plugin?

I have experience with python, but I just got started learning how to develop addons for Kodi. Having a bit of trouble understanding the docs. Is it possible to import or otherwise access python code from another plugin or script? For example if my…
Arctelix
  • 4,478
  • 3
  • 27
  • 38
2
votes
1 answer

Properly format m3u playlist

I am using XBMC to watch IPTV, simple created playlist like this #EXTM3U #EXTINF:-1,Pink Action http://on108.setplex.net/fastv_2....ca.m3u8 #EXTINF:-1,Pink Action 2 http://on108.setplex.net/fastv_2....ca.m3u8 #EXTINF:0,KISS…
1
2
3
14 15