Quantcast
Channel: Kodi Community Forum - All Forums
Viewing all 85666 articles
Browse latest View live

Kodi crashing on playback (any file, 3-5 seconds in)

$
0
0
Infos about my problem and build.
  • System is AMD threadripper whereby I've cloned the drive from the old Intel system to this. I doubt it's a driver issue as I don't have any other programs crash like kodi does.
  • The crash happens on all files. Approx 3-5 seconds after playback has started and sometimes.
  • I installed the nightly builds and the same happened so I've tried to roll back to 17.6 and it's the same result.
  • I've enabled portable mode by adding -p switch in the shortcut target.
  • Completly fresh install.

See log file here.

HD Audio

$
0
0
Hi,

Sorry if this has been asked, and answered elsewhere, but I have not been able to find a solution.

I have Kodi running on a Linx 12v64 tablet running windows 10 connected to a Yamaha V377 and then to a Panasonic UHD TV.

I have set Kodi up as advised elsewhere ( no sync to TV, 2 channels etc) and it works fine on DTS, Dolby etc in 5.1. However, even though I have TrueHD passthrough etc checked, I cannot get the comp to pass it through to the av receiver.

Is it a limitation of the integrated video on my tablet? When i go to the settings for it in windows it doesn't list the HD audio as options.

Any help?

Video InfoLabels

$
0
0
Possibly the wrong place to ask but I am unsure.

Question:

https://kodi.wiki/view/InfoLabels

As stated at the link above there are infolabels to set things like videoaspect, etc.

These info labels are not supported under the setInfo type='video'

ERROR: NEWADDON Unknown Video Info Key "audiocodec"
ERROR: NEWADDON Unknown Video Info Key "videoaspect"

How can these info labels be used if they are not supported when adding them as an info label?

Thanks in advance.

Can Subtitles Use True Italics?

$
0
0
When viewing an MKV file with SRT subtitles, is there a way to force the use of the "real" italic font instead of simply slanting the normal font?

flickr and why it’s not working?

$
0
0
Hi

Tried flickr a while back and removed it because it doesn’t work. Tried it again and the same problem remains.
How come it’s still in the repo if it is not working?

Or maybe I have done something wrong?

I put in the code into the authorization page it reports that it worked but then some index was to long and next time I start it I’ll have to enter the code on authorization page all over again.

Keymap: go back to video, close 2 windows

$
0
0
I have a Keymap file something like this inside

<fullscreenvideo>
<keyboard>
<key id="224">info</key>
</keyboard>
</fullscreenvideo>

<fullscreeninfo>
<keyboard>
<key id="224">CodecInfo</key>
</keyboard>
</fullscreeninfo>

<playerprocessinfo>
<keyboard>
<key id="224">XXXXXXXX</key>
</keyboard>
</playerprocessinfo>

I have an info button. When playing video, once you click it, it brings up Info window. You hit it a second time and it brings up Player Process Info. I want when the user hit the info a third time to go back to the playing video. At that moment, 2 windows are open and if you want to go back to the playing video, you have to hit back twice.

First, is there a one single action that can do it?
<key id="224">FullScreen</key>
does not work.

Not playing live for timeshifted Live TV stream

$
0
0
Kodi is not able to go live for the time shifted stream.
Please refer attached contents of m3u8 file.

https://paste.ubuntu.com/p/372XZVMMyV/

When I seek back then it goes forward in the stream but doesnt go live (it shows stream time as 25:24:00).
Same stream works fine in Safari browser
Guide me troubleshooting this.

Thank you

Linux - Remote button press behavior change after 5 minutes

$
0
0
My remote control button press behavior changes after 5 minutes.  In both scenarios, the button press behavior is not correct:
  •  Kodi start to ~5 min: For all buttons, single press works fine but long press does not work at all.
  •  After ~5 min: Long press works fine but single press results in random double clicks.

Restarting Kodi recreates the same 5 min change in behavior.

I am using Kodi 17.1 on Debian Stretch.  I have a Logitech Harmony remote configured for MCE.  This is configured with keyboard emulation via the in-kernel keyboard mapping and ir-keytable.  Lirc and inputlirc are not installed.  Other than a change to the "back" behavior, the default keyboard.xml and remote.xml are in use.  Disregarding this issue, all buttons are mapped correctly and working as they should.  

Changing the remote timing via ir-keytable or remotedelay in advancedsettings.xml did nothing to help this problem.  I eliminated any CEC interference by ensuring that was disabled.

I can confirm via both "ir-keytable -t" and "xev" the remote button presses are working as they should at the OS level.  This combined with the behavior changing after 5 minutes of Kodi running looks like some sort of issue with Kodi.

I enabled debugging and here is the full log:
https://paste.ubuntu.com/p/YDgNRjryQp/

Here are the log snippets of interest:

Startup at 15:13:54:
15:13:54.545 T:140126673861440  NOTICE: Starting Kodi from Debian (17.1 Debian package version: 2:17.1+dfsg1-3). Platform: Linux x86 64-bit
 
Single button press working fine:
15:15:50.891 T:140126673861440   DEBUG: Keyboard: scancode: 0x74, sym: 0x0112, unicode: 0x0000, modifier: 0x0
15:15:50.891 T:140126673861440   DEBUG: OnKey: down (0xf081) pressed, action is Down
15:15:51.391 T:140126673861440   DEBUG: Keyboard: scancode: 0x74, sym: 0x0112, unicode: 0x0000, modifier: 0x0

Button press and hold for 6 seconds not working.  "ir-keytable -t" and "xev" show button press and hold working:
15:16:00.891 T:140126673861440   DEBUG: Previous line repeats 1 times.
15:16:00.891 T:140126673861440   DEBUG: OnKey: down (0xf081) pressed, action is Down
15:16:06.253 T:140126673861440   DEBUG: Keyboard: scancode: 0x74, sym: 0x0112, unicode: 0x0000, modifier: 0x0

Just prior to the behavior change, I noticed this entry showing the RemoteControl thread terminating.  I initially thought this was related to my problem however disabling LIRC in Kodi moved this message to startup time and had no impact on my problem.
15:19:04.052 T:140125897918208   DEBUG: Failed to connect to LIRC. Giving up.
15:19:04.052 T:140125897918208   DEBUG: Thread RemoteControl 140125897918208 terminating

After ~5 min, single press stops working and results in double presses:
15:19:16.057 T:140126673861440   DEBUG: Keyboard: scancode: 0x74, sym: 0x0112, unicode: 0x0000, modifier: 0x0
15:19:16.057 T:140126673861440   DEBUG: OnKey: long-down (0x100f081) pressed, action is Down
15:19:16.074 T:140126673861440   DEBUG: Keyboard: scancode: 0x74, sym: 0x0112, unicode: 0x0000, modifier: 0x0

However after 5 min, press and hold starts working as it should:
15:20:05.740 T:140126673861440   DEBUG: Keyboard: scancode: 0x74, sym: 0x0112, unicode: 0x0000, modifier: 0x0
15:20:05.740 T:140126673861440   DEBUG: OnKey: long-down (0x100f081) pressed, action is Down
15:20:05.773 T:140126673861440   DEBUG: Keyboard: scancode: 0x74, sym: 0x0112, unicode: 0x0000, modifier: 0x0
15:20:05.773 T:140126673861440   DEBUG: OnKey: long-down (0x100f081) pressed, action is Down
15:20:05.807 T:140126673861440   DEBUG: Keyboard: scancode: 0x74, sym: 0x0112, unicode: 0x0000, modifier: 0x0
15:20:05.807 T:140126673861440   DEBUG: OnKey: long-down (0x100f081) pressed, action is Down
15:20:05.840 T:140126673861440   DEBUG: Keyboard: scancode: 0x74, sym: 0x0112, unicode: 0x0000, modifier: 0x0
15:20:05.840 T:140126673861440   DEBUG: OnKey: long-down (0x100f081) pressed, action is Down
15:20:05.875 T:140126673861440   DEBUG: Keyboard: scancode: 0x74, sym: 0x0112, unicode: 0x0000, modifier: 0x0
15:20:05.875 T:140126673861440   DEBUG: OnKey: long-down (0x100f081) pressed, action is Down
15:20:05.915 T:140126673861440   DEBUG: Keyboard: scancode: 0x74, sym: 0x0112, unicode: 0x0000, modifier: 0x0
15:20:05.915 T:140126673861440   DEBUG: OnKey: long-down (0x100f081) pressed, action is Down
15:20:05.942 T:140126673861440   DEBUG: Keyboard: scancode: 0x74, sym: 0x0112, unicode: 0x0000, modifier: 0x0
15:20:05.942 T:140126673861440   DEBUG: OnKey: long-down (0x100f081) pressed, action is Down

Any help of what might be going on will be appreciated.

Linux - Kodi Leia kodi-send and external python script err

$
0
0
Hi, friends! Under Krypton this external python script worked well

import os
os.system("/home/vis1/scripts/kodi1_sleep.sh")
 

kodi1_sleep.sh
#!/bin/bash
sleep 1
kodi-send --host=127.0.0.1 --port=9777 --action="Stop"
sleep 3
kodi-send --host=127.0.0.1 --port=9777 --action="CECStandby"

Under Leia i see these errors, when script is execute (script not worked)
мая 15 21:59:32 KODI kodi1[22354]: ImportError: No module named xbmcclient
мая 15 21:59:33 KODI kodi1[22354]: Traceback (most recent call last):
мая 15 21:59:33 KODI kodi1[22354]:   File "/usr/bin/kodi-send", line 29, in <module>
мая 15 21:59:33 KODI kodi1[22354]:     from xbmcclient import *
мая 15 21:59:33 KODI kodi1[22354]: ImportError: No module named xbmcclient
мая 15 21:59:36 KODI kodi1[22354]: Traceback (most recent call last):
мая 15 21:59:36 KODI kodi1[22354]:   File "/usr/bin/kodi-send", line 29, in <module>
мая 15 21:59:36 KODI kodi1[22354]:     from xbmcclient import *
мая 15 21:59:36 KODI kodi1[22354]: ImportError: No module named xbmcclient

What is wrong? Thanks! Smile

Kodi crashes windows 10 64bit

$
0
0
Hi,

Kodi often crashes after few seconds when i am starting a movie.I have windows 10 64bit,CPU  amd ryzen 5 1600, GPU amd rx460,Mobo asus rog b350, 16GB Ram
I installed 17.6 but the same problem.

Logs https://pastebin.com/6HaEH7Jt


I am using kodi many years without any problem.The only change i have on pc is that i have new motherboard, windows 10 update these days, and a kodi plugin updated which i cannot remember.

Any advice and suggestion will be greatly appreciated Smile

Problem - Kodi does not show my tv show files on external hard drive

$
0
0
Hi,
I updated my kodi to 17.6 and i tried to add my tv shows, but it doesn't show any of my files except two files !!!
I have almost 20 tv shows on my external hard drive. They used to be shown and added to my kodi library, but now they're not.
Any ideas or solutions to fix this problem?

Export album art as cover.jpg (instead of folder.jpg)

$
0
0
Hello everyone,

I am currently updating my music artwork to high quality images.

My folder structure: artist > album > track.

I am following the wiki page for music artwork on this. I name my artist artwork folder.jpg, my fanart fanart.jpg and my album art cover.jpg. According to the wiki the album art may also be named folder.jpg but I want to be able to distinguishe the types of artwork images simply by filename.
I noticed that exporting my library (using Settings/Media/Library/Music Library/Export library) puts a duplicate of my cover.jpg into my album folders naming it folder.jpg. This not only contratdicts my wish for simple distinguishability but it is also a considerable amount of wasted storage space.

I couldn't find anything on the previously mentioned wiki page to change this behaviour of Kodi (e.g. using the advancedsettings.xml) and also a web and forum search didn't get me any closer to solve my dilemma. The wiki page only states that Kodi uses cover.jpg or folder.jpg.

So here is my question:
Is it possible to define the actually chosen naming convention for album art used during a library export?
If yes, how?
If no, why is the wiki so unspecific on that topic and why are two possible ways described but no way to chose either of them?

My specifications:
Device running Kodi: Raspberry Pi 3B+
OS: OSMC
Kodi version: 17.6 (compiled April 3, 2018)
Storage: NFS 3 device (QNAP)

Strange issue with filebrowsing

$
0
0
I've recently had to start over with my osmc due to a bad SD card.   So now I have a brand new osmc setup with kodi 17.6.  Sources are configured in the same way (using nfs://ip.address/share/folder) as before.   Movies and TV Shows scanned in and everything works fine except for two issues.

#1: When I go to the "Videos" menu on the main screen I can choose "Files" there.   In all my previous setups of osmc and kodi this allows me to simply select a source (tv or movies) and then browse the filesystem and see everything. Even things that are not yet scanned into my library.  No graphics, no thumbnails, just file and folder names and sizes.   Now in my latest incarnation I always get the "Library view" in my TV source.   But if I choose Videos->Files->movie source then all is right.

#2: I have a folder in my TV library where all kinds of goodness just magically appears every night.   This folder has a .nomedia file in there and its contents does not get scanned into the library.  However the folder itself does.   Lets say the name of the folder is "BeardedMagicDepositoryForCoolNewStuff".   Kodi ignores the contents but finds some strange TV show that resembles the name of the folder and adds that to the library.   When I use Videos->Files->tvsource and go to that show then I get to view it's contents in the filesystem view and not library (i.e. like I wanted in the first place)

Can anyone help me figure out what is wrong with my tv source?

filezille sftp connection

$
0
0
getting syntax errors when trying to connect after making ftp source secure.  using the Secure Shell (SSH/SFTP) protocol for network location.  not seeing where i enter certificate data?  Here is what I see in filezilla when kodi tries to connect

https://paste.ubuntu.com/p/RpSHt4YzG8/

Customized Menus

$
0
0
I currently use aeon nox skin, as I have customized menus buttons to playlist I have created. I just recently found out there are Kodi builds that can be installed.

Does anyone know which of these allow the customized menus buttons?  This will save me the time of going through everyone to see which does or does not.

Help adding UrlResolver to my first plugin

$
0
0
Hello, im new to coding and need some help in making my first addon. I have the addon loading and scraping my links from my movie account that i would like to play, but i can't seem to get UrlResolver to work with my code. Can someone help me in adding Resolver so my links will be resolved before playing. Thank you 
Code:
# -*- coding: utf-8 -*-

'''
    Template Add-on
    Copyright (C) 2016 Demo

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
'''
import urllib2, urllib, xbmcgui, xbmcplugin, xbmc, re, sys, os, urlresolver
ADDON_PATH = xbmc.translatePath('special://home/addons/plugin.video.testpiece/')
ICON = ADDON_PATH + 'icon.png'
FANART = ADDON_PATH + 'fanart.jpg'
PATH = 'Testing'
VERSION = '0.0.1'
Dialog = xbmcgui.Dialog()
Base_Url = 'http://clairviusvideo.freeoda.com/'

def Main_Menu():
    OPEN = Open_Url('http://clairviusvideo.freeoda.com/movies.txt')
    Regex = re.compile('<NAME>(.+?)</NAME><URL>(.+?)</URL><ICON>(.+?)</ICON><FANART>(.+?)</FANART><DESC>(.+?)</DESC>').findall(OPEN)
    for name,url,icon,fanart,desc in Regex:
        if 'php' in url:
            Menu(name,url,1,icon,fanart,desc)
        elif name == 'Search':
             Menu('Search',url,3,icon,fanart,desc)    
        else:
            Play(name,url,2,icon,fanart,desc)
    setView('tvshows', 'Media Info 3')            
    
def Second_Menu(url):
    OPEN = Open_Url(url)
    Regex = re.compile('<NAME>(.+?)</NAME><URL>(.+?)</URL><ICON>(.+?)</ICON><FANART>(.+?)</FANART><DESC>(.+?)</DESC>').findall(OPEN)
    for name,url,icon,fanart,desc in Regex:
        if 'php' in url:
            Menu(name,url,1,icon,fanart,desc)
        elif name == 'Search':
             Menu('Search',url,3,icon,fanart,desc)    
        else:
            Play(name,url,2,icon,fanart,desc)
    setView('tvshows', 'Media Info 3')            
def Search():
    Search_Name = Dialog.input('Search', type=xbmcgui.INPUT_ALPHANUM)
    Search_Title = Search_Name.lower()
    filenames = ['demosearch1','demosearch2','demosearch3','demosearch4']
    for file_Name in filenames:
        search_URL = Base_Url + file_Name + '.php'
        OPEN = Open_Url(search_URL)
        if OPEN != 'Opened':            
            Regex = re.compile('<NAME>(.+?)</NAME><URL>(.+?)</URL><ICON>(.+?)</ICON><FANART>(.+?)</FANART><DESC>(.+?)</DESC>').findall(OPEN)
            for name,url,icon,fanart,desc in Regex:
                if Search_Title in name.lower():
                    if 'php' in url:
                        Menu(name,url,1,icon,fanart,desc)
                    else:
                        Play(name,url,2,icon,fanart,desc)
                    
        setView('tvshows', 'Media Info 3')
####################################################################PROCESSES###################################################
def Open_Url(url):
    req = urllib2.Request(url)
    req.add_header('User-Agent', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3')
    response = ''
    link = ''
    try: 
        response = urllib2.urlopen(req)
        link=response.read()
        response.close()
    except: pass
    if link != '':
        return link
    else:
        link = 'Opened'
        return link

def setView(content, viewType):
    if content:
        xbmcplugin.setContent(int(sys.argv[1]), content)
        
        
def Menu(name,url,mode,iconimage,fanart,description):
        u=sys.argv[0]+"?url="+urllib.quote_plus(url)+"&mode="+str(mode)+"&name="+urllib.quote_plus(name)+"&iconimage="+urllib.quote_plus(iconimage)+"&fanart="+urllib.quote_plus(fanart)+"&description="+urllib.quote_plus(description)
        ok=True
        liz=xbmcgui.ListItem(name, iconImage="DefaultFolder.png", thumbnailImage=iconimage)
        liz.setInfo( type="Video", infoLabels={ "Title": name, "Plot": description } )
        liz.setProperty( "Fanart_Image", fanart )
        ok=xbmcplugin.addDirectoryItem(handle=int(sys.argv[1]),url=u,listitem=liz,isFolder=True)
        return ok
        xbmcplugin.endOfDirectory(int(sys.argv[1]))
        

        
def Play(name,url,mode,iconimage,fanart,description):
        u=sys.argv[0]+"?url="+urllib.quote_plus(url)+"&mode="+str(mode)+"&name="+urllib.quote_plus(name)+"&iconimage="+urllib.quote_plus(iconimage)+"&fanart="+urllib.quote_plus(fanart)+"&description="+urllib.quote_plus(description)
        ok=True
        liz=xbmcgui.ListItem(name, iconImage="DefaultFolder.png", thumbnailImage=iconimage)
        liz.setInfo( type="Video", infoLabels={ "Title": name, "Plot": description } )
        liz.setProperty( "Fanart_Image", fanart )
        ok=xbmcplugin.addDirectoryItem(handle=int(sys.argv[1]),url=u,listitem=liz,isFolder=False)
        return ok
        xbmcplugin.endOfDirectory(int(sys.argv[1]))
        
        
def GetPlayerCore(): 
    try: 
        PlayerMethod=getSet("core-player") 
        if   (PlayerMethod=='DVDPLAYER'): PlayerMeth=xbmc.PLAYER_CORE_DVDPLAYER 
        elif (PlayerMethod=='MPLAYER'): PlayerMeth=xbmc.PLAYER_CORE_MPLAYER 
        elif (PlayerMethod=='PAPLAYER'): PlayerMeth=xbmc.PLAYER_CORE_PAPLAYER 
        else: PlayerMeth=xbmc.PLAYER_CORE_AUTO 
    except: PlayerMeth=xbmc.PLAYER_CORE_AUTO 
    return PlayerMeth 
    return True 
    xbmcplugin.endOfDirectory(int(sys.argv[1]))
        

def resolve(url): 
    play=xbmc.Player(GetPlayerCore())
    import urlresolver
    try: play.play(url)
    except: pass
    xbmcplugin.endOfDirectory(int(sys.argv[1]))

def get_params():
        param=[]
        paramstring=sys.argv[2]
        if len(paramstring)>=2: 
                params=sys.argv[2] 
                cleanedparams=params.replace('?','')
                if (params[len(params)-1]=='/'):
                        params=params[0:len(params)-2]
                pairsofparams=cleanedparams.split('&')
                param={}    
                for i in range(len(pairsofparams)):
                        splitparams={}
                        splitparams=pairsofparams[i].split('=')
                        if (len(splitparams))==2:
                                param[splitparams[0]]=splitparams[1]
                                
        return param
        
params=get_params()
url=None
name=None
iconimage=None
mode=None
fanart=None
description=None


try:
        url=urllib.unquote_plus(params["url"])
except:
        pass
try:
        name=urllib.unquote_plus(params["name"])
except:
        pass
try:
        iconimage=urllib.unquote_plus(params["iconimage"])
except:
        pass
try:        
        mode=int(params["mode"])
except:
        pass
try:        
        fanart=urllib.unquote_plus(params["fanart"])
except:
        pass
try:        
        description=urllib.unquote_plus(params["description"])
except:
        pass
        
        
print str(PATH)+': '+str(VERSION)
print "Mode: "+str(mode)
print "URL: "+str(url)
print "Name: "+str(name)
print "IconImage: "+str(iconimage)
#####################################################END PROCESSES##############################################################        
        
if mode == None: Main_Menu()
elif mode == 1 : Second_Menu(url)
elif mode == 2 : resolve(url)
elif mode == 3 : Search()

        
xbmcplugin.endOfDirectory(int(sys.argv[1]))

Release - Japanese Animated Film Classics

$
0
0
Japanese Animated Film Classics

This add-on enables playing of videos and movies from the [Japanese Animated Film Classics](https://animation.filmarchives.jp/) website.
Image

About Japanese Animated Film Classics 

> This site was established to commemorate the 100th anniversary of Japanese animation, which is believed to have first been publicly shown in 1917. This site was developed with the National Institute of Informatics (NII) as part of the results of research on new methods of releasing collections, conducted as part of the "National Research Project for the Sustainability of Born-Digital Cinema (BDC Project)" under the 2016 "Cultural Arts Promotion Grant (Projects to Assist in the Promotion of Priority Areas in Art and History Museums)." It is hoped that this site will allow the collections of Japan's early animations preserved at NFC to reach a greater audience, be widely shared, to promote interest in and discovery of historical and cultural enjoyment, and to encourage contributions to creative work. 

https://animation.filmarchives.jp/en/support1.html

Disclaimer 

This add-on is not created, maintained or in any way affiliated with the National Film Archive of Japan.

It only provides an interface to access the free content on the Japanese Animated Film Classics website from Kodi.

Screen Shots

Image

Image

Image

Image

Licence 


All art work, code and data is provided under an [MIT License] https://github.com/FraserChapman/plugin....ICENSE.txt

v17 - Unwanted behaviour when movie is marked as watched

$
0
0
Hello,

for the purpose of organizing my movie database I set the filter to show "unwatched" movies. Now I go through the list and mark all movies I have already watched as "watched". In this case the selector jumps to the very begining of the list. This behavior make this method really unusable.

I remember that I used this method in older versions and it worked well, meaning that the the marked movie disappeard from the list and the next item has been selected.

Does anybody know if I can get back this behavior with some settings?

Currently I am using Kodi 17.6 on Windows and on a Raspberry Pi.

Username and Password

$
0
0
What are the default username and password for Kodi?

When I put Ubuntu onto my HTPC I created my own username and password though I know what it is.

When I installed Kodi via the app store for Xiaomi Mi Box & Xbox One I don’t know the username and password

Show Movies Not in Sets?

$
0
0
Is there a way to show movies that have not yet been added to a set (orphans)?
Viewing all 85666 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>