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

Diaglog comes up for a second time

$
0
0
Hi there,

I have an annoying issue I hope someone can help with.
I wrote a small piece of code to enable and disable an addon. Works great, however when I click the back key or the escap key the box comes up for a second time.

Any idea what needs to go in after the ENABLEADDON(): because thats the only time it does it. When im calling the addon I guess.

Only happens when I call the opening of the other addon.

# -*- coding: utf-8 -*-
import xbmcvfs
import time
import xbmc
import os
import xbmc, xbmcgui, xbmcvfs
import time, datetime

def main():
    choice = xbmcgui.Dialog().yesno('INSTALL', 'Would you like to enable the addon?', nolabel='NO',yeslabel='YES')
    if choice == 0:
        DISABLEADDON()
    elif choice == 1:
        ENABLEADDON()

def ENABLEADDON():    
    xbmc.executeJSONRPC('{"jsonrpc":"2.0","method":"Addons.SetAddonEnabled","id":7,"params":{"addonid": "plugin.video.youtube","enabled":true}}')
    xbmc.sleep(200)
    xbmc.executebuiltin('Dialog.Close(busydialog)')
    xbmc.executebuiltin('RunAddon(plugin.video.youtube)')
          

    
def DISABLEADDON():    

    xbmc.sleep(200)
    xbmc.executeJSONRPC('{"jsonrpc":"2.0","method":"Addons.SetAddonEnabled","id":7,"params":{"addonid": "plugin.video.youtube","enabled":false}}')




        
##########################################################################################################################################

    
if __name__ == "__main__":
    main()

Slow 19.3

$
0
0
I tried installing Kodi 19.3 on my old lenovo x61 tablet running windows 10. The menus were very laggy. I tried 19.0, same. Around 4-6 fps . 18.9 is fine with ~60 fps.

19.3 log:https://paste.kodi.tv/ofefehuqol.kodi
18.9 log:https://paste.kodi.tv/itinicitod.kodi

Tried libreelec as live usb. Frame rates around 20-50 fps (usable).

Could windows graphics drivers be the issue?

How can I configure Xbox360 Remote on Kodi 19.3 WIndows 10?

$
0
0
I have some installations of LibreElec running fine with xbox360 remote. All woorks as expected.

I however now want to get a Windows  Kodi 19.3 running on Windows 10 using the same remote . I have three different WMC receivers and testing mostly wit the HP branded  unit. I tried copying my  keymap.xml from userdata/keymaps on LibreElec to %APPDATA%\Kodi\userdata\keymaps on windows, but it is not working.


What am I missing? Need I copy more from the LibreElec Config? Is the indows config so different that the Linux files will not work?

Thanks
Mark

How is film nationality / language supposed to work?

$
0
0
Background: I have a multiple-device setup with several devices running Kodi (android television, external media player, Raspberry Pi, Linux-based computers) using a common SQL+fileserver for storage. For movies, I use the Universal Movie Scraper and retrieve the film name information from IMDB, preferring original-language titles. How are the scraper and Kodi supposed to resolve film nationality / language edge case issues?

A case where these two confilict is the Wolfgang Petersen film The Neverending Story (1984) which was a German-made film, but made in English with an English-speaking cast (and of course a dubbed version was also created for the German film market). In IMDB the film is correctly marked as German and English-language. The end result here is however that Kodi will display the film after scraping as Die unendliche Geschichte.

In my opinion the film title should be displayed not according to the name in the country of production, but according to the name in the original language of the film! Of course these are somewhat rare edge cases, but how should they be resolved, should the IMDB data for cases like this be updated in some way?

ERROR: SQL: [MyVideos116] The table does not exist, Query: SELECT * FROM tvshow_view

$
0
0
Good evening,

Have just done a NAS move from Synology to unRAID, everything has gone... mostly well but nothing I've not been able to fix with path updates.

Sadly, when launching KODI, my TV stuff is totally borked. I can navigate through my shares and watch stuff that way, but the home screen isn't allowing me direct access to TV.
In my event log I have:

2021-12-19 16:22:14.433 T:6676   ERROR: SQL: [MyVideos116] The table does not exist
ERROR: SQL: [MyVideos116] The table does not exist WHERE watchedCount != 0 AND totalCount != watchedCount ORDER BY c00
2021-12-19 16:22:14.433 T:6676   ERROR: CVideoDatabase::GetTvShowsByWhere failed


I can confirm the only tables under Views are:
episode_view
movie_view
musicvideo_view
season_view
tvshowcounts
tvsholinkpath_miniview

Anyone advise me on how to rebuild this missing table? Not bothered about the contents, if this the table that contains where I'm up to on my TV stuff I'm happy just marking things as watched. But I'll be damned if I have to rebuild my entire movie watch list because of a bad export elsewhere.

Thank you.

Kodi subscene add-on error

$
0
0
Hi,

I'm getting an error while downloading the subtitle.  I'm using the add-on from this link and using Kodi Matrix 19.3:
https://github.com/AnonTester/kodi-repo/...-1.9.5.zip

I checked the log and it has the following errors, can anyone help me as to why it can't getDirectory (i've checked that the subscene.zip file exists in that location) and why it can't download subs.
Here's the log 

2021-12-20 00:28:26.244 T:7365  WARNING <general>: CPythonInvoker(10, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/service.subtitles.subscene/service.py): the python script "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/service.subtitles.subscene/service.py" has left several classes in memory that we couldn't clean up. The classes include: N9XBMCAddon9xbmcaddon5AddonE
2021-12-20 00:28:26.246 T:7365     INFO <general>: Python interpreter stopped
2021-12-20 00:28:28.716 T:7372     INFO <general>: initializing python engine.
2021-12-20 00:28:31.638 T:7372    ERROR <general>: GetDirectory - Error getting /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/userdata/addon_data/service.subtitles.subscene/temp/01f17639-b323-417e-b459-fe08b131fa13/subscene.zip
2021-12-20 00:28:31.695 T:7372    ERROR <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                                    - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                                   Error Type: <class 'IndexError'>
                                                   Error Contents: list index out of range
                                                   Traceback (most recent call last):
                                                     File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/service.subtitles.subscene/service.py", line 638, in <module>
                                                       subs = download(params["link"])
                                                     File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/service.subtitles.subscene/service.py", line 496, in download
                                                       src = os.path.join(local_tmp_file, files[0])
                                                   IndexError: list index out of range
                                                   -->End of Python script error report<--

Addons keep disappearing from kodi19.3

$
0
0
Every time I load addons in my kodi 19.3 they only last a day then they disappeare and all my settings go back to it's original settings an I have to start over again . I dont no why evey thing keeps deleting . Enybody no what's going on ? I am running Nvidia Sheild .

Does anyone know why this happens? (problem with Dolby Atmos and shield)

$
0
0
Hello guys, I have a problem as you can see when trying to play videos with dolby atmos from nvidia shield and kodi. I think that I am missing some adjustment in configuration or similar. Kodi reproduces the files with Dolby Atmos True HD without problems but not reproduce the "poor quality" audios of Atmos like the ac3. Anyone have any idea?

Attached photos of my settings and video of the problem.
PS: Atmos works for me in Netflix app. Iuse shield, to denon 3700, to Xiami TV.

Video and photos:

https://photos.app.goo.gl/WAhpAvFwboyiKEoCA

Artwork Default to Local File?

$
0
0
As I understand it, Kodi does not, by default, use Artwork saved locally (i.e. in the same folder containing the corresponding media) for television and movies. For example, if I download a clearlogo image, Kodi will only use that image if I tell it to use that specific local file over one sourced through scrapers, or if I refresh the Information for that piece of media and choose "no" when asked whether to refresh online or not.

So, I'm wondering:

1) Can Kodi source local artwork by default for television and movies and, if so how?

OR

2) Is it at least possible to run a refresh of entire television and movie libraries without fetching online and having to perform a manual refresh on each piece of media?


Thank you in advance for any help!

Some Clearlogos Not Scraped

$
0
0
My understanding is that the TMDB scraper pulls clearlogo Artwork from Fanart.tv's HD Clearlogo category.

From what I can tell, however, while the TMDB scraper can pull clearlogo Artwork for some TV shows, it fails to do so for others. I can't see any reason why it would fail for those it's unable to pull.

For example, the TMDB scraper:          BUT They all appear to be English (i.e. en), so that doesn't seem to be the issue here.

Is this a bug? Is it fixable?

Thank you in advance for any and all assistance!

HDMI 2.0 graphics card

$
0
0
Guys,

Please advise an HDMI 2.0 graphics card for my HTPC: I use Linux and am looking for one which would allow me to have Dolby Atmos & 4K/50p (with HDMI 2.0 bandwidth allowing such fancy stuff as sound codecs like DTS-HD and so on) but, unfortunately, the technical specs from the vendors barely mention the HDMI protocol version. The best card for me would be ideally passively cooled and not so expensive as it is only for Kodi, never for gaming.

Thanks in advance!

Info when paused

$
0
0
Hi there,

Is there any way to get back all the info whilst paused like time watched, time remaining, finish time etc? I realise pressing menu in the Fire remote will bring it up but that's just a minor hassle and when dimmed it might mean pressing it twice.

Seems like a step backward just to have the picture showing with no info on how far you've progressed.

Thanks

Kodi closing itself down immediately

$
0
0
Evening all,

Have moved from Synology to unRAID which required a ton of work.
Managed to get KODI working on two windows machines - though now without a few issues.
On Android, Kodi starts up and shuts itself down almost straight away. Have tried removing and re-installing.

Within the log below, I've logged into PHPMYADMIN and tried a couple of queries that are showing ERROR. They're working fine. I'm hoping the problem is the pathsubstitution, as apposed to SQL stuff. Hopefully someone can help out?

https://pastebin.com/z3yrq3CZ

Thank you all for taking the time to at least look at this thread.

Various issues

$
0
0
I guess this may not be exactly the correct place, but here goes:

Long time Kodi user (in fact I had XBMC on an XBOX eek years ago)

Currently running Krpyton on Openelec 8.0.4 on an old Pi 2

Anyway, that feels like it could do with an upgrade, so I grab a pi 3 that I have kicking around, and a new micro SD card and go hunting for an OS with Kodi built in.

Here's where things get a little weird.  Libelec, OSMC  and Xbian: None will boot from the SD card once I've imaged it. I use Macs as my desktop so running Monterey (OS 12)
None of the actual installers work, but even using an .img.gz or a .img file results in the rainbow screen and nothing else. No disk activity, no network activity.
Same Pi, Micro SD, PSU will happily boot in Rasbian and Volumio.

I've imaged the SD with Balena, Pi Baker and Raspberry pi utility. Totally no go.

Now clearly I can (and have) installed Raspbian and then Kodi on top of that, configured for Kodi to start on boot, and that would be good, right?

Wrong: Video performance is abysmal, on both Buster *and* Stretch.  Hardware acceleration on give me no video playback at all.  HW off and I get maybe 5 fps on files that will play perfectly well on the old 2.

So what on earth am I doing wrong?  Help, pretty please!

C

Modes missing from Kodi Whitelist

$
0
0
Hardware : Intel Nuc Kit NUC8i3BEH / Samsung LED TV UE55C6700
General info :
Starting Kodi from RPM Fusion (19.3 (19.3.0) Git:20211027-nogitfound). Platform: Linux x86 64-bit
 Using Release Kodi x64
 Kodi compiled 2021-10-27 by GCC 11.2.1 for Linux x86 64-bit version 5.14.9 (331273)
Running on Fedora Linux 35 (Workstation Edition), kernel: Linux x86 64-bit version 5.15.4-201.fc35.x86_64
 FFmpeg version/source: 4.4.1
Host CPU: Intel® Core™ i3-8109U CPU @ 3.00GHz, 4 cores available

Problem:
The whitelist doesnt show any of the compatible modes from the screen, only 1920x1080 0.00Hz (!) so when I play a video that runs at 24 Hz, Kodi doesnt adjust the display refresh rate and I get some stuttering.
Here is a screenshot :
https://imgur.com/a/EG2zFem
And the logs:
https://paste.kodi.tv/caxajidexe.kodi

I've tried with a fresh install, rebooting & starting kodi with the screen connected, I've played around the kodi settings a bit, still the same issue.
On the other hand fedora seems to detect the various possible modes as it lets me change resolution and refresh rate, and my internet provider TV box doesnt seem to have a problem either.

I'm suspecting a problem with the EDID handshake, however the results of the various commands to check the EDID that I've tried seem to run just fine :
monitor-edid : https://paste.kodi.tv/anulojevoy
cat /sys/class/drm/card0-DP-1/edid | edid-decode : https://paste.kodi.tv/oqulipubur

I've run out of ideas, so any help would be much appreciated. Thanks !

Filter movies by actor and list them in the GUI

$
0
0
What I try to accomplish is, I search my videodb for all movies with a specific actor and want to display those movies. But only by an API call.

The best idea I had was to use GUI.ActivateWindow and pass a list of movieid's as parameters:

{ "jsonrpc": "2.0", "method": "GUI.ActivateWindow", "params": { "window":"videos", "parameters": [ LIST_OF_MOVIEID] }, "id": "1"} }

but I guess this isn't possible this way?!?

Or since there is a built in filter in Kodi where I can filter by actors, is there a way to do the same just by using the API?

Any ideas are welcome, thanks in advance.

Crash on Exit. Version 19.3

$
0
0
Crash on exit. Version 19.3. WinDbg info follows:


Microsoft ® Windows Debugger Version 10.0.22473.1005 AMD64
Copyright © Microsoft Corporation. All rights reserved.


Loading Dump File [C:\Users\danie\AppData\Roaming\Kodi\kodi_crashlog-19.3 Git_20211024-49a04cd6a7-20211219-213819.dmp]

[PatK] removed excessive length post [Link provided] https://paste.kodi.tv/oxirayoban

---------

LibreELEC fresh install addons failed to update

Missing semicolon in MediaPortal PVR Client for Android

$
0
0
Hi,

I am trying to set up KODI connecting to my MediaPortal Server on an Android device via MediaPortal PVR Client for Android (version 19.0.1). In order to use username / password within my local domain system, I need to type in DOMAIN;USERNAME but unfortunately the semicolon is missing on the KODI keyboard in the Android version. There is absolutely NO WAY to type in a semicolon. Without semicolon, I cannot connect the KODI client to my local domain system. Any hints so far?

Thanx!

Batch Parsing Movie NFO?

$
0
0
Hello, probably newbie question here, but I searched all of Google for it, but I've recently noticed that a lot of my movies weren't scanning in Kodi so I corrected all my Folder and Filenames according to the Wiki, and it seems that still about 80% of my library isn't scanning.  So naturally the next step would be to direct the scrapper towards a .nfo files using one of the recommended Media Managers.  Instead of creating an .nfo with a bunch of the parameters that I don't need (since Universal Media Scraper already scans metadata), I'd like to parse using a TMDB link, so that the .nfo would just contain "https://www.themoviedb.org/movie/62-2001-a-space-odyssey?language=en-US" for 2001: A Space Odyssey.  The issue I have is that I'd rather not have to do this manually for a big media library and was wondering if there is a .bat script that would be able to do this or maybe I'm completely missing something in one of the Media Managers such as Ember or TinyMediaManager.  I've tested this on a movie Kodi failed to scan and after adding the Parsing Movie NFO it worked, so I know it does work, just need a way to be able to batch create .nfo with TMDB urls.  Thanks in advance.
Viewing all 85428 articles
Browse latest View live


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