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
1
vote
0 answers

Storing social network app credentials in XBMC plugin code

I'm working on an XBMC Kodi plugin that uses parts of the Twitter API. This means that I have to store my Twitter app credentials (consumer key, secret, ...) in the plugin's code. Now, as Kodi plugins are distributed as sourcecode, this means that…
Mathieu Dhondt
  • 8,405
  • 5
  • 37
  • 58
0
votes
0 answers

How to force Kodi to re-read Textures13.db without restarting?

My add-on deletes thumbnails. It would be easier to delete Textures13.db and restart Kodi but I want it without restarting for service purposes. With Kodi 20 editing the SQLite database works, but only restarting makes it read the database again to…
0
votes
1 answer

call python function from skin xml on kodi

i need to create an addon for kodi, that will change its appearance, install a default addon and ask for username and password for that addon. create a button in home.xml and try to call a function from a python file but nothing happens. To create…
IvanJ
  • 3
  • 3
0
votes
0 answers

JSONRPC Player.GetItem returns empty details

I start a video with JSON-RPC call: {"jsonrpc": "2.0", "method": "Player.Open", "params": {"item": {"file": "c:\\MyCodes\\samples\\sample-6s.mp4" }}, "id": 1 } Video is started. To get the video's details I use…
0
votes
0 answers

Temporarily save result to call it later

My Kodi addon's (using Python 2.7 and XML files) regex: Hello http://helloworld.com/something.m3u8/$doregex[time] time
Aleksandar
  • 501
  • 3
  • 10
  • 21
0
votes
1 answer

Developing Kodi Addon - How to make that default spinning wheel when waiting?

I'm developing a Kodi add-on and while waiting for fetch data from api I want to show that default kodi spinning circle with darker background. Now I'm using .DialogProgress() function when waiting but it looks kinda weird. I can't find anything…
0
votes
1 answer

Kodi add-on crashing on window.removeControl()

I'm developing a Kodi add-on that uses a custom overlay. It's almost completely working now, except for one runtime error I get every time I start a video, after reaching 5 seconds in the video ("Error Contents: Control does not exist in window").…
0
votes
0 answers

Python, Kodi - execute xbmc.executebuiltin('...') only once?

I have written this code which sends a notification to Kodi when a certain condition is met. (When I start a movie/tv show or play music I want the language, resolution, refresh rate and sound mode to appear on the screen). I have grouped my media…
0
votes
0 answers

Mysql make column in table user specific

I would like to give a little background. I use Kodi which is set up to use my MySQL Server for storing all it needs to remember. There is one table that stores the physical file location together with a flag whether that file was watched before or…
0
votes
1 answer

Kodi batch file for renaming and copying my NAS images after scraping

I wrote a batch script to help assist in images and posters that Kodi uses in parallel with a program called Media companion. I am having issues in one particular area after an unexpected condition showed up during the development. My script is used…
Kittmaster
  • 143
  • 8
0
votes
2 answers

Kodi addons : how can I cache / load datas?

I’m writing a video addon that loads datas from a web API. My problem is that, each time I access an (already) visited virtual folder, it loads the data again, while it could be cached - and it makes my addon slow. Is there some core function to…
gordie
  • 1,637
  • 3
  • 21
  • 41
0
votes
1 answer

Kodi addons : how to correctly set an URL using xbmcplugin.addDirectoryItems and xbmcgui.ListItem?

I'm trying to update a plugin for Kodi 19 (and Python3). But! Hell! Their documentation is a mess, and when you search the internet, a lot of code is outdated. I cannot understand how correctly create a virtual folder with items using …
gordie
  • 1,637
  • 3
  • 21
  • 41
0
votes
1 answer

Implementing a node.js script to add media player to Kodi web interface

I am attempting to implement an answer to a slightly different question from here: How to stream video to browser with Kodi stackoverflow user @YRabl unvoted answer, entitled "I've modified the Chorus webinterface to allow streaming with a nodejs…
macphail
  • 55
  • 1
  • 7
0
votes
2 answers

Force Docker:Jellyfin to use existing config data on Synology

i previously ran jellyfin on my desktop comuputer and put a lot of work into the manual creation of collection (descriptions, folder pictures etc.). Now i want to implement jellyfin on my brandnew Synology DS220+ NAS, which is running Jellyfin on…
iijoexx
  • 11
  • 1
0
votes
0 answers

How do I make my Kodi on Xbian/Raspberry use Python 3.9 instead of 3.7?

Using XBian on Raspberry Pi 3. I have an addon for Kodi that requires Python v3.8 or later, while the Xbian for Raspberry installation only has 3.7. I installed Python 3.9 and updated the alternatives, so when I go "python -V" it properly says…
sonnydbb
  • 1
  • 2