Stuttering DLNA / UPnP

Hello Everyone, I am new here and I have an issue streaming movies over DLNA. I have an Intel NUC PC installed with windows 10. I use Kodi as a DLNA server to stream my movies over WiFi to my Oppo Bluray player and to my PC. Almost all the movies are ...

Buffering

I have the laterst version of Kodi, my download speed averages about 11 mbps but most of the times I cannot see a movie continuousely due to excessive buffering...Can someone help me resolve this annoying issue?? Thank You.[/size]

Replacing RPi2 with RPi3

Just found out that both my TV and the RPi connected to it running Kodi (15.0 on Openelec) have been nuked in a thunderstorm So have been shopping for a new pi, and ordered a RPi 3 (Pi2 model B nolonger available). When it gets here can I just plug i...

can’t update library with JSON using bash script

Not entirely sure what I'm doing wrong. I'm trying to execute a command to run a library scan when I add a new file into a directory.

Code:
$showname=<ShowTitle>

scandata="\"jsonrpc\": \"2.0\", \"method\": \"VideoLibrary.Scan\", \"id\": \"mybash\",\"params\":{\"directory\":\"smb://<IPofSMBServer>/media/tvshows/General/$showname\"}"

scancurlresult=$(curl --data-binary "{$scandata}" -H 'content-type: application/json;' http://user:pass@<kodiIPaddress>:80/jsonrpc)

I know I need some debug logs, but I'm wondering if there is some syntax I'm missing.

HD Audio

I understand Kodi Krypton supports HD Audio passthrough. I am using Kodi on Android TV 5.1.1. When playing a video with DTS MA-HD track I can choose the HD audio track in the Kodi control and HD Audio is also shown in the Kodi metadata of the playing v...

Poor quality audio from analogue line out

I've got Kodi running on a Linux box connected to my TV via HDMI - I've configured Pulse Audio to allow simultaneous output to both HDMI and the analogue out on the motherboard which works brilliantly (both perfectly in sync which is great) BUT the out...

MXQ R9 K3229 help needed

Hello all, I am really looking for some help, I just purchased the MXQ R9 K3229 mediaplayer, but once connected to the TV it already seems not to work properly: - Kodi starts but the menu is empty, I only see the blue bars but there are no white lett...

HELP WITH AMAZON FIRE PVR CONNECTION LOST

Hi, I am a complete Newbie to this. I've searched the threads but haven't found an answer to my precise problem. If it has been posted already, I do apologize. I just got a new Amazon Fire Box and installed Kodi and the Fusion Add-on. No problem. I tri...

How to test My Addon code in pycham 2016

Hi Brothers , I am New to python , and am trying to write Plugin addon for Kodi . So I have Pycham installed Python 2.7+ I have Kodistubs in the root of my project paython selected as iterpreters What i need Else And how to test. Thanks in...

Smart playlist and mysql

so i set up a mysql database and it seems to be working

but nothing shows up in smartlists even though the shows have been scraped and i can see them fine when just browsing the folders.

how do i get them working?

heres one that i'm using

Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="tvshows">
    <name>TV Shows</name>
    <match>one</match>
    <rule field="path" operator="contains">
        <value>H:\Tv Shows\</value>
    </rule>
    <rule field="path" operator="contains">
        <value>G:\Tv Shows\</value>
    </rule>
</smartplaylist>

How to get (ok.ru/videoembed ) link Playable in kodi

PLease Help Me AS i am New to python,and working on my 2nd video Addon ,

And video links are on this site

http://ok.ru/videoembed/93942254125

and tihs link work only in browser but not in Vlc as a test



So:

How can i include this To My Addon
i found Answer But not sure how to include it in my Addon

Code:
import urllib, urllib2, urlparse, re, json

HEADERS = {
    'User-Agent':      'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.106 Safari/537.36',
    'Accept':          'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
    'Cache-Control': 'no-transform'
}

def http_req(url, getCookie=False, data=None, customHeader=None):
    if data: data = urllib.urlencode(data)
    req = urllib2.Request(url, data, HEADERS)
    if customHeader:
        req = urllib2.Request(url, data, customHeader)
    response = urllib2.urlopen(req)
    source = response.read()
    response.close()
    if getCookie:
        cookie = response.headers.get('Set-Cookie')
        return {'source': source, 'cookie': cookie}
    return source

sources = []

mirrorUrl = 'http://www.ok.ru/videoembed/36530555610'

try:
    id = re.search('\d+', mirrorUrl).group(0)
    u = urlparse.urlparse(mirrorUrl)
    hostUrl = '://'.join([u.scheme, u.netloc])
    jsonUrl = 'http://ok.ru/dk?cmd=videoPlayerMetadata&mid=' + id
    jsonSource = json.loads(http_req(jsonUrl))

    quality = {
        'mobile': '144p',
        'lowest':  '240p',
        'low':      '360p',
        'sd':       '480p',
        'hd':       '720p',
        'full':      '1080p'
    }
    
    for source in jsonSource['videos']:
        q = source['name'].strip()
        q = quality.get(q, None)
        if not q:
            continue
        name = '%s %s' % ('[ok.ru]', q)
            'User-Agent':   HEADERS['User-Agent'],
            'Referer':      mirrorUrl,
            'Origin':       hostUrl
        }
        params = '&'.join(['%s=%s' % (k, urllib.quote_plus(v)) for k, v in params.iteritems()])
        link = '%s|%s' % (source['url'], params)
        
        item = {'name': name, 'url': link}
        sources.append(item)
except:
    pass

print sources

or shoulg i make it as util.pay and how to import it to my default.py

Coloring of highlighted playing item

Hi. In the channel list when watching full screen TV (Pressing 'c' on the keyboard); the color of the text of the channel that is playing, when highlighted, can't be changed. Since I have a black and white color theme, this results in the highlight c...

YouTube forced view

Hi. I have a problem with the YouTube plugin constantly changing the view type back to list view. So, can you make a force view option for the YouTube plugin? For both the homepage of the plugin, the Subscriptions-page etc.