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
0
votes
2 answers

How can I add a local file to a kodi addon?

How can I add a local file to a kodi addon? In the following example the internet file (url='http://...') works. But the local file (url='file://...') do not. import xbmc import xbmcgui import xbmcplugin import xbmcaddon import xbmcvfs import…
wolfrevo
  • 6,651
  • 2
  • 26
  • 38
0
votes
1 answer

KODI and Xbox 360 controller

I have KODI 16.1 Jarvis, windows 10 x64 and xbox 360 wired controller with installed drivers (works on steam big picture and games). I want to use this cotroller to navigate on kodi, it should be plug'n'play, but it doesn't read any input. Which is…
H.Stefek
  • 23
  • 7
0
votes
1 answer

Get stream URL in Kodi

I'm trying to figure out how to get the playing item URL (live TV). I tried overriding Player but couldn't get the play method to be called and looked at jsonRPC calls, but couldn't find anything resembling what I want. Is there a way to do it? On…
Ofir
  • 1,565
  • 3
  • 23
  • 41
0
votes
1 answer

How to compile Kodi on Mac for IMX6

I have the Kodi source code from github.com and I want to compile the source for an external media player. I am able to compile the source to run on the Mac (El Capitan) using xcode. Can I compile the source into an img (or file I can convert to an…
Pandafinity
  • 713
  • 2
  • 7
  • 19
0
votes
1 answer

Issue with raspberry pi and kodi autostart

I installed kodi on my raspberry pi on raspbian. I read the easiest way to auto start kodi when I turn it on it to change the /etc/default/kodi file and set ENABLE = 1. Whenever I try this both the app I use as remote (flex remote - ios) and the…
Dani
  • 84
  • 1
  • 14
0
votes
1 answer

Correct way to implement multi-folder menus

I'm a bit stuck trying to implement a multi-level folder grouping. The top level folder lists a few line items, each of which plays a track. What I'm trying to accomplish is have one of these items be a folder which leads to another playlist (since…
geudrik
  • 666
  • 8
  • 22
0
votes
1 answer

A valid provisioning profile for this executable was not found - XCode

I am trying to deploy Kodi on my Apple TV 4th Gen. Actually I already did this procedure in 2 different Apple TV 4th Gen before and it worked. I am following this tutorial (as I followed…
José Mendes
  • 950
  • 2
  • 14
  • 30
0
votes
1 answer

How can I run a python script from within Kodi?

If I want to make a button in Kodi's menu and run a local python script upon clicking it, what's the best way to go about it?
Dylan Moore
  • 443
  • 4
  • 14
0
votes
1 answer

Kodi add-on - Small title in player

How can I get put these information to Video file when playing on Kodi Player. shown in picture below 'Beck - Mutations' I have searched every where and find nothing. normal code is like this. li = xbmcgui.ListItem('Title',…
CyberHelp
  • 63
  • 1
  • 2
  • 9
0
votes
0 answers

dynamic streaming file format

is there any streaming file format that works like this : make an http post or get scrap html source get the url play what i can do with python so far is this : import sys import requests from bs4 import BeautifulSoup import subprocess # make…
Aymen Derradji
  • 198
  • 2
  • 3
  • 12
0
votes
2 answers

Remove all files in a directory except two

I have a script that removes an entire directory, but I would like to amend it to delete everything with the exception of two files (kodi.log and kodi.old.log), so the extension .log needs to be skipped. The script I have is TEMP =…
0
votes
3 answers

KODI - getPlayListId() missing argument

I am trying to mod AutoResume addon for KODI. Now the addon only saves current playing song an position. And after reboot it will play that song and then stop. But I want it to begin playing the song and then play whole playlist, that was playing…
Kamion
  • 3
  • 3
0
votes
1 answer

Managing a database connection with a global, global name disappears

class MyAddon(pyxbmct.AddonDialogWindow): def __init__(self, title=''): super(MyAddon, self).__init__(title) self.mysql_connect() self.populate() def populate(self): categories = self.read_data() def…
PrashanD
  • 2,643
  • 4
  • 28
  • 58
0
votes
1 answer

Firefox add-on drops WebSocket connection to Kodi after a few seconds

I have decided to develop an add-on for Firefox to control Kodi because I couldn't find any that already did everything I wanted. I have chosen to use WebSocket to communicate with Kodi so that I can receive events, but am having problems…
netman74501
  • 151
  • 1
  • 9
0
votes
1 answer

Disable certificate on requests session in python

I am a total newb on python and I would really appreciate the help on this problem. I am using requests to get files from a cloud service in a kodi addon. I have tried to put verify=False on the get but it didn't work s = requests.Session() file =…
Marian Pavel
  • 2,726
  • 8
  • 29
  • 65