EPG not properly working

I am using Kodi 17 on W10x64 (stupid idea, I know...) with MediaPortal PVR backend. More or less everything works as it should, but in the EPG there are some channels that won't show any data in Kodi. In MediaPortal2, it works. I think something goes...

Ubuntu 16.04 curl timeouts kodi 17.1

[ I did a forum/google search for my error message and couldn't find a solution to this, so posting it here in case it helps someone else ] Symptoms: Couldn't install addons Plex wouldn't download cover art kodi.log had lots of "ccurlfile::stat - fa...

AC3 transcoding for HDMI

Is there any chance to make AC3 transcoding to work with HDMI audio? I need it because Sony AVRs have this thing that whenever they detect PCM signal, whether it's stereo or other channel layout, they disable Dolby PLIIx which I would like to stay on a...

Kodi 14

Hello everybody, i'm new here so go easy please. At the moment i have Kodi 14 installed on my laptop and would like to upgrade to Kodi 17, would i need to completely uninstall my current version and start again or can i just download Kodi 17 and instal...

How to make service result available to be used on the skin

Hi,

This is my very first attempt with Kodi services and skins.

I already modified my Titan skin to enable a third row underneath the time and date to display my IP.

My goal, is to display the external IP and location here, and so I also created a service that does exactly that and prints the result in the log file for now.

The code of the service is the following:

Code:
import xbmcaddon
import xbmcgui
import subprocess
import urllib
import requests
import json
import xbmc
import time

addon       = xbmcaddon.Addon()
addonname   = addon.getAddonInfo('name')


def check_location():
    send_url = 'http://freegeoip.net/json'
    r = requests.get(send_url)
    j = json.loads(r.text)
    city = j['city']
    return "Currently connected from: " + city;

def check_ip():
    public_ip = subprocess.check_output(["ifconfig `ip route get 8.8.8.8 | grep 8.8.8.8 | cut -d' ' -f5` | grep \'inet \' | awk -F'[: ]+' '{ print $4 }'"], shell=True);
    result = ("Your IP is : %s " % public_ip);
    return result;


if __name__ == '__main__':
    monitor = xbmc.Monitor()
    while not monitor.abortRequested():
        if monitor.waitForAbort(2):
            break
        test = "Check IP and Location" + check_ip() + check_location();
        xbmc.log(test,  level=xbmc.LOGDEBUG)

and the result printed on the log file is exactly what I expect.

The part of the skin that I edited is the IncludeHeader.xml, and I edited it like this:


Code:
<include name="TimeInfoCompact">
        <control type="group">
            <control type="label">
                <right>50</right>
                <top>10</top>
                <align>right</align>
                <width>300</width>
                <info>System.Time</info>
                <font>Bold30</font>
                <textcolor>$INFO[Skin.String(HeaderTextColor)]</textcolor>
                <shadowcolor>$INFO[Skin.String(HeaderTextShadowColor)]</shadowcolor>
            </control>
            <control type="label">
                <right>50</right>
                <top>40</top>
                <align>right</align>
                <width>500</width>
                <info>System.Date</info>
                <font>Reg26</font>
                <textcolor>$INFO[Skin.String(HeaderTextColor)]</textcolor>
                <shadowcolor>$INFO[Skin.String(HeaderTextShadowColor)]</shadowcolor>
            </control>
            <control type="label">
                <right>50</right>
                <top>70</top>
                <align>right</align>
                <width>500</width>
                <info>Network.IPAddress</info>
                <font>Reg20</font>
                <textcolor>$INFO[Skin.String(HeaderTextColor)]</textcolor>
                <shadowcolor>$INFO[Skin.String(HeaderTextShadowColor)]</shadowcolor>
            </control>
        </control>
    </include>

the last label is printing Network.IPAddress.
How do I make this print the result of my service?

Again, this is the first time for me, so any type of help would be really really appreciated. Thanks a lot

Live TV Playback problems on Shield

Hello all, I want to use my new Shield as my main device. Looks good so far, but Live TV has issues with TVHeadend: When I switch from a 720p to 1080i channel the video plays strange: a bit slower, then faster, then slower again and so on. When I pre...

Replacement TV.

As a very embryonic newbie I'm looking for a Smart 32" TV that will enable me to use the internet. Any particular recommendations, folks? Thanks. [/align]

[FEATURE REQUEST] Assign Thumbs to Playlists

Hi there, any possibility to assign a thumb to smart playlists? That way it would be easy to build up an alphabetical overview of i.e. artists, that also looks nice. So i have playlists like "Artists with A". "Artists with B" and so on, and i'd lov...

Amazon Prime Video on RPI3

Hi, I found on one German forum that it's possible to integrate Amazon Prime Video account with Kodi on Raspberry PI 3 with new inputstream feature in latest Krypton version. Does anyone have some experience with this and is it really possible or not...

Philips android tv local channels

Hi, I have a Philips 5500 android series with kodi v17 on it, and I would like to watch the TV channels (the ones I have from my tv cable provider )inside the kodi, how is that posible? I tried several things but I cannot make it. any advice? Thank you!

Add Custom Tags

Hellow, New to the forum and I've got a question. Is it possible to add custom mp3 tags to Kodi? I have the tags Format (to sort Albums, EP's and Singles and so on), AlbumSub (Album Subtitle, for a double title or to mark Special Editions) and Subfo...

Navigational controls for file folders

I have all my videos and music set up as files in folders, I don't use the library. The library is annoying if you have duplicate folders because the result is the same song listed multiple times under a particular album. Anyway a couple of things bas...