Questions tagged [kodi]

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.

Kodi, formally known as XBMC, is an award-winning free and open source cross-platform software media player and entertainment hub for digital media for HTPCs (Home theater PCs).

229 questions
2
votes
0 answers

Output analog and hdmi sound over ALSA on RPi3

I'm trying to setup my Raspberry Pi 3 in such a way that both analog and hdmi audio are working in Kodi simultaneously with ALSA. So the driver should be ALSA (in that way I should be able to use the LADSPA plugins to delay the analog stream (next…
Rick Brunken
  • 130
  • 1
  • 13
2
votes
1 answer

How to scan only a particular directory in Kodi via JSON-RPC?

I'd like to know how I can instruct Kodi to search for new (music) content only inside a particular directory via JSON-RPC. I have my Kodi (more specifically OSMC) installed on a Raspberry Pi 2 and my music is hosted on another system via Samba…
Arno-Nymous
  • 495
  • 3
  • 14
2
votes
0 answers

Subscribe to Kodi's JSONRPC notification

I am trying to build a simple python script to control kodi from my linux machine. I can get the basic method calls to work and get the gist of how things are but when it comes to 'listening' for notifications such as Application.OnVolumeChanged,…
Paritosh
  • 367
  • 5
  • 20
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
2 answers

Beautiful Soup Kodi scraper

Having a nightmare, so I have made a desktop scraper with Beautiful Soup and it works a treat, but trying to now but it into so kodi add on base code is being a right nightmare, I keep getting invalid syntax errors, and frankly I just don't know…
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
2 answers

in xcode, trying to add a code to my ipad, says app application failed, error communicating with device. How do I fix it

Trying to add Kodi to Ipad. Followed instuctions to create it in xcode via ios app signer but when I do the final step the end result said it failed, error communicating with device. Not sure how to fix it.
nattyo
  • 21
  • 2
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

Invoked OOM killer

since about a year (maybe a bit more) i have constantly processes getting killed by linux oom-killer. The machine running is my htpc using ubuntu gnome 15.04 (currently). The two process getting once a day or sometimes 10 times in a row killed are…
A User
  • 49
  • 1
  • 6
2
votes
1 answer

ImportError (encodings) when calling video player with python script from parent media center Kodi

I'm trying to use the video player mpv with vapoursynth filter, which itself uses Python 3, as external player in the media center Kodi. mpv shortly flashes up in the Dock, then it crashes, accompanied with the error message: "mpv quit…
RyuX51
  • 2,779
  • 3
  • 26
  • 33
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
1
vote
1 answer

php reading kodi/xbmc movie nfo files

I am working on a php script to parse the movie nfo and tv nfo files that kodi generates/uses. However I have problems with getting some of the children properties (not sure if this is the correct term.) So far I am using simplexml, to read the nfo…
crosenblum
  • 1,869
  • 5
  • 34
  • 57
1
vote
1 answer

Add directory to Kodi using the command line

Is there possible to add a directory to Kodi using the command line? I've been looking for this with no luck so far. What I'm looking for is to automate the process of adding a directory manually using command line. For some reason this doesn't…
nullgeppetto
  • 539
  • 1
  • 8
  • 25
1
2
3
15 16