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

Struggling with listitem path

$
0
0
Hi,

i'm trying to create some listitems which i place on the osd of the video player and that all kind of works but i'm somehow failing to set the path properly. Maybe someone can help me out here.

So i got two things which give me problems at the moment

def createListItem(label, path, thumb, count, isFolder=None, isPlayable=None, resolvedUrl=None):
#- If a ListItem opens a lower lever list, it must have isFolder=True.
#- If a ListItem calls a playback function that ends with setResolvedUrl, it must have setProperty('isPlayable', 'true') and IsFolder=False.
#- If a ListItem does any other task except for mentioned above, is must have isFolder=False (and only this).
  li = xbmcgui.ListItem(label, offscreen=True)
  li.setArt({'thumb': thumb})
  li.setLabel(label)
  li.setProperty("index", str(count))
  li.setPath(path=path)
  li.setProperty('path', path)
  if(isFolder!=None):
    li.setIsFolder(isFolder)
  if(isPlayable!=None):
    if(isPlayable):
      li.setProperty("isPlayable", "true")
    else:
      li.setProperty("isPlayable", "false")
  #if(resolvedUrl!=None):
    
  return li

1. When i execute my plugin from such a listitem the main window gets focused before it runs. Is that avoidable?
list item gets created from something like this 
{'label': 'Comments', 'path': 'plugin://plugin.program.extrabuttons/?provider=plugin.video.youtube&action=show_comment&video_id='+self.videoInfo['items'][0]['id'], 'logo': logo, 'isFolder': False, 'isPlayable':None, 'resolvedUrl':None}
2. i try to show a folder from a plugin like this
{'label': channelName, 'path': 'plugin://plugin.video.youtube/channel/'+self.channelInfo[0]['id']+'/', 'logo': channelLogo, 'isFolder': True, 'isPlayable': False, 'resolvedUrl':None}
... kodi just loads a few times and than aborts

Toggle Screensaver on/off through JSON-RPC?

$
0
0
So I've got some video chat apps setup on our main kodi machine for this quarantine, and I'd like to be able to programmatically disable the screensaver timeout in kodi when those apps are active.

I'm running kodi via the stable ppa from inside ubuntu/20.04. I'm not seeing functionality to query or disable/enable the screensaver via the info at JSON-RPC_API/v8 (wiki) . Would that be a feature request?

Any ideas on a better way to do this? (These settings appear to be separate from the default x11 screensaver settings, which I am able to set/unset without any problem otherwise.

This is my setup currently:
Image

How to open movies and TV shows in "Titles" view by default?

$
0
0
How can I make my Movies and TV Shows libraries open directly in "Titles" view by default?

Image

I want to skip the screen where you choose Genres/Titles/Years/Actors/Directors/Studios/Sets/Countries/Tags

Thanks!

Android - NewsOn Firestick Check Error Log after choice of State

$
0
0
I am able to open NewsOn Addon Lumatixz - 1.1.1. I select Newscasts. I then select a state and I immediately get the error Message: NewsOn Error check the log for more information.

I have turned on Debug in the Addon and in Kodi System as I have perused the threads to try to find the answer and have seen this is requested.

I have Deleted Kodi and the NewsOn addon then Installed Kodi 18.6, and the problem continued. I then did the same and Installed Kodi 18.7 and then did the same and Installed Kodi 19.0 today.

I have uploaded the error log to nefatanika (paste). Thank you so much! I can't believe all the work that goes on on this site.

Kodi 17.6 on pi3 - Constant CPU use at idle

$
0
0
Hi;

Kodi newb here.    So far, so good, actually.   I'm mainly using Kodi as a front end to my NextPVR, which it is doing fairly well at.   My issue is that when I launch the Kodi UI, it begins to use 10-12% of the CPU constantly.   Even with nothing playing it's eating up cycles.    How is best to figure this out?   The only plugin I have running is the Next PVR Client, but it's not 100% functional.   It still refuses to play live TV and sometimes crashes at startup.    Maybe that is related?   Not sure...   TIA

Passthrough Issues

$
0
0
Have a new Android 10.0 box and am running Kodi 18.6.  Having the same issues with getting Passthrough to work, only getting stereo sound to pass thru to receiver.  Using HDMI connection to a Pioneer Elite receiver.  I've been through all the troubleshooting, still to no avail.  I've read through many posts on this site and see that some of the "shitty" boxes (which I likely bought), don't support passthrough even though it can be selected.  Is there a way to tell whether my hardware or firmware are what are not allowing passthrough audio through?  thanks

kodi-send screenshots not working

$
0
0
Hello all,

For the past few months I've been using the following command line to generate screenshots:
kodi-send --action="TakeScreenshot(/path/to/screenshot.png)"

This worked well for awhile, and allowed me to generate screenshots on a Kodi on another continent over SSH. Suddenly today it's not working at all and I don't know what is wrong. It actually works every once in awhile; One of a thousand requests seem to work for some reason.

Kodi version: 18.2 Git:20190428-a94ccc8ba5 Media Center Kodi
Linux: 4.19.66-v7+
Raspberry Pi: Raspbian GNU/Linux 9 (stretch)
Kodi Send: kodi-eventclients-kodi-send/stable,now 2:18.2-1~stretch all

I set the loglevel to 2 and nothing shows up when I issue the command. It does output the normal "Sending: {'content': 'TakeScreenshot(/path/to/screenshot.png)', 'type': 'action'}" but I don't think kodi-send is setup for any sort of error checking.

If anyone has an alternative way of generating a screenshot remotely over SSH, that would include both the GUI and the video playing (if any), I'm open to changing tactics. But I'd prefer to get this working again.

Any ideas?

Kodi won't read .nfo files from same albums but different releases.

$
0
0
I have 2 releases of the same album in the following directories:
"C:\Users\hg\Cool Album\Normal\"
"C:\Users\hg\Cool Album\2 CD Edition\"
Both releases have same name in the album tags, so I decided to make a seperate .nfo file 
Both directories have their respective .nfo files as follows
ilosetacam (paste)
When I add the path C:\Users\hg\Cool Album\ to the music sources, Kodi won't read the .nfo files and display the album with 
name "Cool Album" (as specified in the tags) and displays the songs twice as expected. However, when I add the directories 
"C:\Users\hg\Cool Album\Normal\" & "C:\Users\hg\Cool Album\2 CD Edition\" via two different sources one after the other, 
the .nfo files are followed, and albums are named as "Cool Album (Normal)" & "Cool Album (2 CD Edition)". I can't really add all albums 
one after the other as my library is too big. Is there any fix for this?
Thanks in advance. Please excuse my English.

Export separate files different location

$
0
0
Hello, is there a way, with a plugin or other to export a video library to separate files but in an other drive (meaning that kodi would recreate the directory structure for putting nfo and artwork in each folder) ?

My hdd where I had my movies died and I am looking for a way to recover my artwork and metadata which are still in Kodi database.

Aeon MQ8 Tajo - Animated GIF locally on disc not found

$
0
0
Hello

I am under Aeon MQ8 Tajo and I would like to put animated gif for the covers I read that it could only work if the image was in the same place as the film so I named it like that '' film-animatedposter '' and when I go to the local animatedposter tab there is nothing why?

I did the same for the cdart which I locally named '' name of the film-cdart '' and there it works

Thank you all for your help

Mike

p.s. I specify that if I will select on the disc elsewhere the animated gif image it works perfectly but I would like to put it locally so that I do not always have to start againImageImage

Shadow Repo inLine Error

$
0
0
Hi
I geht an inLine error after I select a show/movie the inLine error number changes its value 18xx but dose not pass 1900
I use Rasp 3b with Crew shadow up to date.
Cheers

Strange issue after changing router. Slooooow NFS browsing.

$
0
0
Hi all, hoping someone can help as I've reached the limit of my knowledge.

I have Kodi 18.6 set up on various platforms (Bravia Android TV, two FireSticks and two Windows 10 systems). I have a Synology DS416j NAS and have just upgraded my router/modem from the standard PlusNet Hub One to a FritzBox 7590.

Previously, all systems were working great...fast NFS browsing (so all media sources are NFS). The only reason I changed the PlusNet box is that it kept having to be reset once or twice a day...it was becoming unreliable.

I've got the FritzBox up and running. The NAS and the Bravia are directly connected to the router, all others are wirelessly connected. I removed all sources from the Kodi installs and then put them back on as the new router gave out IP addresses in a different range than the old router. No problem so far, in fact adding the media sources initially was fine, but pretty much immediately after I'm finding that if I try to play media on any of the Kodi systems, it takes anywhere between 5 to 15 minutes to respond to the request to play that media, whether it's Android or Windows Kodi. I've tried adding sources and the response is the same...about 5 minutes to acknowledge and then show me the NAS IP address, then another 5 to 10 minutes to show me the NFS shares when I select that IP address.

When media starts playing, it plays fine.

If I try to browse the NAS via Windows itself and play media with VLC, then everything is instant, whether connected to the router wirelessly or wired.

Pings are as quick as you can get, and tracert shows first stop connections as the FritzBox and are instant.

I'm at the end of my troubleshooting knowledge with this and am hoping someone can help.

Python change time -2 hours

$
0
0
Hi .. I'm making a simple Kodi add-on for myself. I'm a complete layman and I got trapped where I don't know how to help or help the internet.

I am importing the date and time from the Guide (EPG) meeting in the form of eg: 1.1.2000 10:00 in the variable "olddate"
since I need to convert the date to a certain form which I managed after several attempts but I still need the resulting time in the variable "newdate" to be two hours less (UTC)

I have now:
Code:
ADRESA/20000101_name_20000101_100000/ADRESA

I need:
Code:
ADRESA/20000101_name_20000101_080000/ADRESA

source:
Code:
import xbmc 
import xbmcgui 
from datetime import datetime, timezone, timedelta 

title = xbmc.getInfoLabel('Listitem.Title') 
olddate = xbmc.getInfoLabel('Listitem.Date') 
start = xbmc.getInfoLabel('Listitem.StartTime') 
name = xbmc.getInfoLabel('ListItem.ChannelName') 
url = 'ADRESA' 
get = '_' 
newdate = datetime.strptime(olddate, "%d.%m.%Y %H:%M") 

file = 'ADRESA' + newdate.strftime("%Y%m%d") + get + name.replace(" ", "_") + get + newdate.strftime("%Y%m%d_%H%M%S") + url 

xbmc.Player().play(file)

very thanks for me help

Request - Studio Icons - Coloured add studio logo

$
0
0
Hi all,

Is there anyone that can help get getting a studio logo added to the addon Studio Icons - Coloured?

The logo for Saban Films is not part of the collection yet, I found a logo I'm only not sure about the image properties requirements, how it should be added and who to approach to ensure it will be added and updated so everyone can enjoy this update.


Image

v17 - kodi will not install pass 39.98% on fire stick. can anyone help?

$
0
0
kodi will not install pass 39.98%. can anyone help?

Request - HBO MAX

$
0
0
Anyone willing developing an add-on for this ott streaming service?

Best method to remove extras in library? (advancedsettings.xml created too late)

$
0
0
I have created an appropriated configured advancedsettings.xml file to prevent content in my Extras folders from being automatically added to my library.

Unfortunately, I didn't know about the need to do this until after the Extras content had already been imported and treated as entirely separate movies by Kodi.

What's the best way to remove all of these existing Extras videos that were accidentally imported into my library before I created the advancedsettings.xml file?

Thanks!

Choice of episode order

$
0
0
Is it possible to indicate TMM what order to pick when scrapping a TV series from the TVDB?

Some series have episodes listed by aired order, DVD order and absolute order. Each groups episodes differently.

Using TMM 3.1.5 on linux

Thanks!

Image

Clean Kodi - unable to install skin

$
0
0
I have had this problem a few times before.
So to see if it was previous builds with 3rd party add ons I set up a completely clean portable Kodi 18.7.  I installed 2 add ons: TMDB Helper and Autowidgets.  I then tried to install Aeon Nox Silvio skin from the Kodi repo

Installation fails because once everything is downloaded into the addson/temp folder there is a failure to rename the folder and then move it into the add ons folder.  Obviously I can and will do this manually, but it seems to me that there is a bug either in Kodi or in how the Silvio zip/repo/skin file is set up which is causing the problem.

See attached log file
ewojegalaj.kodi (paste)

Also I am running Windows 10

TV Shows not showing up

$
0
0
My LibreElec 9.2.2 on a Gygabyte box has 8 different TV shows missing I use Ember Media Manager scanning before I put them on my server.
They show up fine on my Raspberry's using OSMC I do have one problem on Windows KODI S.W.A.T old and new series show up under the same title S.W.A.T and it should show up S.W.A.T (2017) also the original S.W.A.T does not show up on Libre.

Kevin can wait
Leave it to Beaver
The Ranch
S.W.A.T old
SOAP
Taxi
Teen Wolf
War of the Worlds

here is a sample of nfo
<?xml version="1.0" encoding="utf-8"?>
<tvshow xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <title>Kevin Can Wait</title>
  <id>311944</id>
  <imdb>tt5462720</imdb>
  <tmdb>67132</tmdb>
  <language>en-US</language>
  <rating>7.1</rating>
  <votes>8</votes>
  <genre>Comedy</genre>
  <mpaa>TV-14</mpaa>
  <premiered>2016-09-19</premiered>
  <studio>CBS</studio>
  <status>Continuing</status>
  <plot>Kevin, a newly retired police officer, is looking forward to quality time with his family and his fellow retired cops. When his oldest daughter announces she’s dropping out of college to support her fiancé, Kevin knows his only choice is to move them both into his home to keep her in school. The fun has to wait…his family is his new beat.</plot>
  <runtime>25</runtime>
  <actor>
    <name>Kevin James</name>
    <role>Kevin</role>
    <order>0</order>
    <thumb>http://thetvdb.com/banners/actors/380076.jpg</thumb>
    <tvdbid>380076</tvdbid>
  </actor>
  <actor>
    <name>Leah Remini</name>
    <role>Vanessa Cellucci</role>
    <order>1</order>
    <thumb>http://thetvdb.com/banners/actors/454669.jpg</thumb>
    <tvdbid>454669</tvdbid>
  </actor>
  <actor>
    <name>Erinn Hayes</name>
    <role>Donna</role>
    <order>2</order>
    <thumb>http://thetvdb.com/banners/actors/380077.jpg</thumb>
    <tvdbid>380077</tvdbid>
  </actor>
  <actor>
    <name>Gary Valentine</name>
    <role>Kyle</role>
    <order>3</order>
    <thumb>http://thetvdb.com/banners/actors/380078.jpg</thumb>
    <tvdbid>380078</tvdbid>
  </actor>
  <actor>
    <name>Sebastian Rutten</name>
    <role>Rootger</role>
    <order>4</order>
    <thumb>http://thetvdb.com/banners/actors/459695.jpg</thumb>
    <tvdbid>459695</tvdbid>
  </actor>
  <actor>
    <name>Mary-Charles Jones</name>
    <role>Sara Gable</role>
    <order>5</order>
    <thumb>http://thetvdb.com/banners/actors/386717.jpg</thumb>
    <tvdbid>386717</tvdbid>
  </actor>
  <actor>
    <name>James Digiacomo</name>
    <role>Jack</role>
    <order>6</order>
    <thumb>http://thetvdb.com/banners/actors/386716.jpg</thumb>
    <tvdbid>386716</tvdbid>
  </actor>
  <actor>
    <name>Ryan Cartwright</name>
    <role>Chale</role>
    <order>7</order>
    <thumb>http://thetvdb.com/banners/actors/386715.jpg</thumb>
    <tvdbid>386715</tvdbid>
  </actor>
  <actor>
    <name>Taylor Spreitler</name>
    <role>Kendra</role>
    <order>8</order>
    <thumb>http://thetvdb.com/banners/actors/386714.jpg</thumb>
    <tvdbid>386714</tvdbid>
  </actor>
  <actor>
    <name>Leonard Earl Howze</name>
    <role>Goody</role>
    <order>9</order>
    <thumb>http://thetvdb.com/banners/actors/386713.jpg</thumb>
    <tvdbid>386713</tvdbid>
  </actor>
  <actor>
    <name>Lenny Venito</name>
    <role>Duffy</role>
    <order>10</order>
    <thumb>http://thetvdb.com/banners/actors/386712.jpg</thumb>
    <tvdbid>386712</tvdbid>
  </actor>
  <seasons>
    <seasondetails>
      <season>0</season>
      <tvdb>667499</tvdb>
    </seasondetails>
    <seasondetails>
      <season>1</season>
      <tvdb>669240</tvdb>
    </seasondetails>
    <seasondetails>
      <season>2</season>
      <title>Season 02</title>
      <tvdb>714333</tvdb>
    </seasondetails>
    <seasondetails>
      <season>999</season>
      <title>* All Seasons</title>
    </seasondetails>
  </seasons>
</tvshow>

Also on another note I have 5 USB drives on WD Mycloud and it seems all 8 shows not showing up are on drive 3 which uses nfs://10.0.0.60/nfs/XBMC_3/TV Shows/

Any thoughts ?
Viewing all 85701 articles
Browse latest View live


Latest Images

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