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

Requesting assistance with xbmc.python

$
0
0
Hello, I hope someone here can offer me some guidance on resolving a problem I've been having with installing video add-ons.

I am currently using Kodi version Build 18.0-ALPHA1 on a video streaming device using Android Version 9.0.0. While attempting to download and install some video add-ons from Kodi's add-on library, several of the installations failed. For each, I received the message: "The dependency on xbmc.python version 2.26.0 could not be verified". 

Is this a codec that my version of Kodi is lacking? Can it be downloaded and installed, or would I need to update Kodi itself? My level of experience with this sort of thing is that of a long-time user of this app with no coding or deep technical knowledge. I used an earlier version of Kodi primarily to view video files on external drive and only recently began exploring the options available in this updated version. 

Any guidance you can give me with this problem would be greatly appreciated.

Complie on RPi4 Error

Can't use same database with Android and any other OS

$
0
0
I am trying to have several Kodi's to use the same database... as described below.


Image

All Kodi's are at version 18.2
Using the default estuary skin in all
Libreelec is at version 8.90.015
MariaDB version 10.5.4
Raspbian 9.11
Android is 10 QKQ1.190825.002

Everything works great between Libreelec and Raspbian. Watched status and resume points work normally.
However, when using the Android device, the left side icons aren't working (Not watched, Resume, Watched). The resume points work though... Meaning: If a file is marked as "Resume" in Libreelec. In Android is marked as "Not watched" but if I click on it, it says "Resume from XX:XX:XX".

Does anyone know what this might be?

I followed the tutorial: Kodi MySQL thoroughly. 
This is my advancedsettings.xml:


<advancedsettings>
  <videodatabase>
    <type>mysql</type>
    <host>192.168.1.64</host>
    <port>3306</port>
    <user>kodi</user>
    <pass>kodi</pass>
  </videodatabase> 
  <musicdatabase>
    <type>mysql</type>
    <host>192.168.1.64</host>
    <port>3306</port>
    <user>kodi</user>
    <pass>kodi</pass>
  </musicdatabase>
  <videolibrary>
    <importwatchedstate>true</importwatchedstate>
    <importresumepoint>true</importresumepoint>
  </videolibrary>
</advancedsettings>

These are the commands that were used to setup MariaDB.


docker pull arm64v8/mariadb
docker run --name mariadb -e MYSQL_ROOT_PASSWORD=root -d -p 3306:3306 --restart unless-stopped arm64v8/mariadb

mysql -u root -p'root' -h 192.168.1.64
CREATE USER 'kodi' IDENTIFIED BY 'kodi';
GRANT ALL ON *.* TO 'kodi';
flush privileges;


One thing I noticed, the database created by the android device is:

Image

Whereas the one created by Raspbian or Libreelec is:

Image

Thanks in advance!

What causes the TV main menu item to appear/dis-appear?

$
0
0
I am using the Confluence skin. What exactly causes the main menu TV item to appear? I am having trouble with my LibreElec system. It looks like the TvHeadEnd client is starting and connecting to the backend, but no TV menu item is showing up. What line(s) do I look for in the debug log?

kodi

$
0
0
hello i have a mx10 pro kodi works great on it every build iv tried works, but every time i turn it off and turn it back on again i have to reinstall the build is there a simple fix


if i have put this thread in the wrong plays i apologize my first time on a forum site

Any good tutorial on python 3 threading?

$
0
0
I'm trying to run down a problem updating an orphaned script for python3/matrix.  It runs on 18.  The problem is in the threading (at this point I haven't studied the existing code enough to understand the design).  But the problem is it's doing a thread.join and then later an .event and that's throwing an exception in threading having to do with locks when I run it in matrix.  A side issue is I've added an xbmc.Monitor() object to abort the script on profile/Kodi exit.  I don't know if that is the cause of the new exception.  I found some search results with possible issues on python 3 along these lines, but can't get further without having a better understanding about how threading model works in Py 3.  I was hoping someone could direct me to a good resource, to avoid random searching.

scott s.
.

dynamically changing height of list???

$
0
0
I'm trying to adjust the height of a list depending on the type of Season art i want to show, either poster or landscape.

This is what i managed so far:
Originally in this view they did not show any of the season art. So i created two different image controls that will display the Season art or revert to Show art if no Season art is available. Did this for Poster and Landscape. This all works and i can change which image is visible by changing the visible property.

Next thing i tried was to make the correct image appear depending on a variable set by my (Eventually i will try to turn this into a skin setting). Here i already ran into problems Smile

This is the syntax i used to make the variable

    <!-- Variable for choice between Season Landscape or Poster Try to turn this into a skin property later-->
    <variable name="View525SeasonLandscapeOrPoster">
        <!-- <value>poster</value> -->
        <value>landscape</value>
    </variable>

my idea was that whatever i put there as value can be read later by using $VAR[View525SeasonLandscapeOrPoster], like this:


            <!-- Season Landscape -->
            <control type="image">
                <visible>String.Contains($VAR[View525SeasonLandscapeOrPoster],landscape)</visible>
                <left>150</left>
                <width>550</width>
                <height>305</height>
                <bottom>50</bottom>
                <aspectratio aligny="center" align="left">keep</aspectratio>
                <include condition="!String.Contains(Skin.String(SkinHelper.StudioLogos.Path),colo)">videoInfoColorDiffuse</include>
                <texture background="true">$VAR[View525SeasonOrShowLandscape]</texture>
            </control>

But that doesn't seem to work, to get around that i created a label with ID set the visible to false and just set the label to landscape or poster, but that makes the variable obsolete.


            <!-- Hidden Label for Landscape/Poster choice -->
            <control type="label" id="12345">
                <visible>false</visible>
                <left>50</left>
                <width>100</width>
                <height>40</height>
                <bottom>50</bottom>
                <label>poster</label>
            </control>            

changing the visible tag in the image to this made it work as expected:
 

<visible>String.Contains(Control.GetLabel(12345),landscape)</visible>

So now i can change the layout depending on what it type in the "hidden" label

The result looks like this for poster:
Image

And like this for landscape:
Image

So now we are getting to the problem im struggling with. There is much more space when you use the landscape view so i wanted to extend the season list back to 5 rows when using landscape and 4 rows for poster(originally there were 7 rows)

Ive tried to add a condition the the height just like above for making the images visible,  but that didn't work


<height condition="String.Contains(Control.GetLabel(12345),poster)">260</height>
<height condition="String.Contains(Control.GetLabel(12345),landscape)">325</height>

Then i tried a variable again and some includes:


    <!-- Variable for Height of SeListItem   For now i manually set height here-->
    <variable name="SeasonListHeight">
        <value>325</value>
        <value>260</value>
    </variable>
    
    <!-- Height for Poster View -->
    <include name="View525_PosterHeight">
        <height>260</height>
    </include>
        <!-- Height for Landscape View -->
    <include name="View525_LandscapeHeight">
        <height>325</height>
    </include>

And tried to use it like this, but again no luck


<height>$VAR[SeasonListHeight]</height>

<include condition="String.Contains(Control.GetLabel(12345),poster)">View525_PosterHeight</include>
<include condition="String.Contains(Control.GetLabel(12345),landscape)">View525_LandscapeHeight</include>


Nothing of what i tried so far seems to work. Can anybody shed any light on what i might be doing wrong.

Here you can see the layout of part i'm trying to edit:

Image
 
Below is more detail of the list and the height i would like to change:

Image

Sorry for the massively long post but i wanted to give as much info as possible since i'm still very new at all this

Can not connect to browse shares in my Kodi on Android Media Player

$
0
0
I am sorry if there is an answer already here for this I have searched & found similar but no answers. I have a WIN10 OS Desk Top that failed & I had to have WIn10 reinstalled. Since then I have not been able to connect to Kodi in my Android Media Player.
I am not sure if I have set up Windows correctly but I think it is right. I can go to Kodi/Video/Files/Add Videos/Browse/ & I can go to Windows Network smb/Workgroup/ My Computer name shows but when I click it says ERROR  Connection timed out.
In the past when this was working OK on my Computer before the failure, I could get that message if the PC wasn't on or Protected Sharing had password needed turned on in advanced share settings in Windows. Obviously that is off in those settings currenly.
What have I done & what can I do please anybody? Have i still got something wrong in my PC? It shows in the Network in Explorer & wifi is definitely connected to Player.

Confluence skin’s handling of Television poster thumbnails

$
0
0
I have a question about the Confluence skin’s handling of Television poster thumbnails.
My poster jpgs are all in the 2 X 3 format usually 1000 X 1500 pixels. I have noticed that after Kodi v14.2 all of my television posters have been changed from their original 2 X 3 format to what appears to be 4 X 3 format. This happens as soon as I get metadata from the TVDB website. Movie posters are not changed after receiving new metadata from the TMDB website.
See below:
2 X 3 original TV poster
Image
 
 
 
 
 
 
 
 
 
Any version of Kodi newer than v14.2 “converts” the TV poster to 4 X 3 format after metadata is received from the TVDB.
Image
Is there any way to change this back to the original 2 X 3 format in the confluence skin? I would like my original posters to remain.
NOTE: the individual thumbnails for each episode are produced in the 4 X 3 format which is to be expected and is normal.

startup takes several minutes (used to work fine)

$
0
0
I have been using Kodi frequently for a month or so and it was working fine AFAIK, then it started taking a long time to startup. I reinstalled a few times and it would work for a start or two then go right back to sometimes taking 10 minutes to start. I tried 18.7, 18.6, 18.2, and 17.6 trying to see if an older version would work, same results. During the loading time nothing Kodi related is shown on screen, and Kodi is not in 'Apps' but in "background processes' in windows task manager. the log would show something like ' CIRServerSuite::Connect: failed to connect' and ' CAESinkDirectSound:Big Grineinitialize: Cleaning up' during this long loading time. I updated my sound card drivers to 6.0.240.26 and it did not fix the issue. I have not noticed any issues, audio or otherwise in modern graphics-intense titles, local playback of audio/video files in potplayer, winamp etc.

 Anyways, here are the log files https://paste.kodi.tv/efoxibijip.kodi

and my specs.
Windows 10 Pro 19041 x64
i7-2600k (not overclocked)
16gb 1600mHz DDR3 ram
GTX 980
Kodi is installed on a 860 Evo SSD and AFAIK doesn't point to local media, only a few addons.

 Any ideas?

Buffering

$
0
0
I was testing out Kodi on a 3B+ and would get some buffering when watching a recorded TV show. I had been using Kodi on my mid 2010 MacPro with no problems. Because it is connected to the TV with a 100' HDMI cable and the computer gets used for many other tasks I thought about off loading Kodi to a raspberry pi. My library resides on a dedicated hard drive in the MacPro. I first started on WiFi then changed to cable but still had the buffering. The 3B+ I was using was only temporary and I would need to purchase a new pi for this purpose. I am trying to figure out if I should get a 4B or a 3B+. Is it possible the buffering is due to the pi or is it more likely due to the hard drive? I never had this problem running Kodi on the Mac with the same hard drive setup.

Adding a thin horizontal (separator) line?

$
0
0
i'm trying to figure out a way to add a thin / light horizontal line in between the large movie title and the info that's underneath it (year | rating | length | end time)...

Image

this code gives me the exact line i want, prob is i can't get it to align properly in between the information mentioned above...

Code:
<control type="image">
<width>100%</width>
<height>5</height>
<texture colordiffuse="main_fg_12">diffuse/progress-bg.png</texture>
<visible>true</visible>
</control>

i tried adding it to this section of the existing code, and played around with $param[pad], height, aligny, etc. but couldn't get it to work:

Code:
<include name="Object_Info_Title">
<param name="label" default="$INFO[ListItem.Label]" />
<param name="font" default="font_title_large" />
<param name="titleheight" default="150" />
<param name="textcolor" default="main_fg_70" />
<definition>
<control type="label">
<top>10</top>
<label>$PARAM[label]</label>
<height>$PARAM[titleheight]</height>
<aligny>top</aligny>
<textcolor>$PARAM[textcolor]</textcolor>
<font>custom00</font>
</control>
</definition>
</include>

How to: get SMB sharing to work on Windows 10 version 2004 (and 1909)??

$
0
0
1) Make sure SMBv1 support is disabled in Settings > Programs and Features  > Turn Windows Features on or off.
2) Pick a folder to share and right click it to go to the sharing properties tab.
3) Click the "Share" button to open the "Network Access" window and make sure "Everyone" is added to the list with "Read" permissions level along with the owner. Press "share" and then "Done" to apply these settings.
4) Click the "Advanced Sharing" button and make sure the "Share this folder" checkbox is checked. Press Ok to close the window.
5) In the "Password Protection" section, click the "Network and Sharing Center" link and go to your current profile (Mine is Private)

   a) Select "turn on network discovery" and check the "turn on automatic setup of network connected devices" checkbox.
   b) Make sure "turn on file and printer sharing" is selected.
  
Go to "All Networks" and make sure all 3 options are selected:

   a) "Turn off Public Folder sharing" (This option doesn't matter so leave it off)
   b) "Use 128 bit encryption to help protect file sharing connections (recommended)
   c) "Turn OFF password protected sharing"

This is all you have to do on your Windows 10 machine to share the folder you want.

On your Kodi client machine, simply  connect to the Windows 10 machine by using the name-only address format rather than the IP address format.

It should look like "smb://MYSERVER/Path" where "MYSERVER" in the network name of your Windows 10 machine and "Path" is the folder you're sharing. It is the same as the "Network Path" in your shared folder's sharing properties window.

IMDB TV 2 TV series with the same name

$
0
0
If you have a TV series which exists with the same name but different productions (example The Office or Mad Dogs), what's the simplest way to get the IMDB scraper to pick up the right version?

I have tried naming the files with the original air date rather than S01E01, but that doesn't work.

Do you have to resort to nfo files or is there a trick to tell the scraper which IMDB item to use?

Add-on request: A Kodi add-on that enables Android TVs to rip/digitize VHS tapes

$
0
0
Hello, guys! I have a bunch of VHS tapes from the 90s around the house and I have gotten to the point where I have gotten tired of popping them into my VCR. I want to convert them into MP4 files (In other words, rip/digitize the VHS tapes) so, I can play them as MP4 video files on my computer instead. I read online that you need a USB converter device in order to rip/digitize VHS tapes. I do not have a USB converter device. I also found out that another way you can rip/digitize VHS tapes is by ripping/digitizing them using a digital camcorder. I have a digital camcorder but I lost the data transfer cable and the AV IN cable for it. I have an Android TV. I think it would be convenient if there was a Kodi add-on made that enables Android TVs to rip/digitize VHS tapes. I think it would be possible for this Kodi add-on to be made given the fact that a TV tuner is needed to rip VHS tapes and TVs have TV tuners inside of them. Another reason why I think it would be possible for this Kodi add-on to be made is because Android TVs have RCA ports on them (I am talking about those infamous red, white, and yellow AV ports. When a VCR is plugged into the Android TV using an RCA cable (https://s.yimg.com/aah/outletpc/6ft-rca-...low-44.jpg), the signal from the VCR can be sent to the TV.). The reason why I mentioned Android TVs in this post is because the Android TV OS is the only Smart TV OS that has a Kodi app made for it (I could be wrong. Correct me if I am wrong, my fellow Redditors.). I would code a Kodi add-on that does this myself but coding is not my favorite part of IT and I don't know how to code. I would like for one of you developers to create this add-on. Thank you.

Launching Kodi causes Windows to become pixelated - Alienware Alpha Win10

$
0
0
Hey guys. After putting up with an Intel small form factor PC for a while and hating how it handled deinterlacing, I decided to pick up an Alienware Alpha since it's the smallest form factor I can find with an Nvidia GPU. Anyway, I've reinstalled Windows 10 several times, updated graphics drivers, reverted them, tried new versions of Kodi, tried new and old versions (18.7, 17, 16), and I still have the same problem:

When I launch Kodi, the UI of Kodi is all pixelated. When I exit Kodi, Windows is all pixelated too. I need to either reboot the system or reset the graphics driver (Win+Shift+Ctrl+B) to get it back to normal. I also just discovered that I can reset the graphics driver after launching Kodi to fix the problem, but this doesn't make for a very user-friendly experience.

Has anyone had this kind of issue, and if so, is it specific to the Alienware Alpha? Perhaps the modified Nvidia 860M that's inside it? I'm running this at 1080p via HDMI plugged directly into a Sony TV for what it's worth. I'd appreciate any advice, and if logs are necessary, please let me know. Thanks!

How do I "get out" of a playing song and back to the library list without stopping?

$
0
0
If I start music playback, I can continue to use the library and maybe click another song to switch what is playing.

If I click the "<* options" in the left hand side bar then click the "northsoutheastwest" icon I see the music vis full screen..

..but I can't find a way to "get out" of this and back to the song list without clicking stop on the music

How do I get back to the "music is playing in the background behind the library list" stage I was at before I clicked northsoutheastwest?

The main "icons of media" is really hard to use

$
0
0
I find the main screen (the one with all the recently watched movies, in progress, random) incredibly difficult to use

Let's say I load kodi and the movies panel appears. There is a band of icons "in progress movies" in the middle of the screen. If I put the mouse cursor over one of them so the icon highlights then roll the mouse wheel up and down, the icons scroll left and right and it's all nice and responsive, rolling the wheel a little bit scrolls the icons at a nice rate

But let's say I don't want to use the "in progress" band, I want to look in "recently added" band underneath it. The "recently added" band is only 2/3 visible so I need to find a way to get it scrolled up a bit. I point to one of the titles and roll the wheel down. The "recently added" band moves up the screen by literally one or two pixels. I roll the mouse wheel some more, and it nudges by a couple of pixels again. I roll the mouse wheel like a crazed hamster, and at some point after I've rolled the mouse wheel between 10 and 20 times (I don't mean 10 or 20 clicks, I mean a full roll of the wheel, maybe 5 or 6 clicks per roll, times a random but excessive amount of rolls) the band of icons suddenly flicks up into the middle-ish part of the screen and (finally) mousing over them makes them gain a highlight and rolling the wheel causes the band to scroll left and right nicely

Very occasionally it works how I think it ought to work; the mouse gets into some position where a light touch of the wheel causes the bands to scroll up and down nicely, but for the most part (90% plus of the time) it needs a frenzied flicking of the wheel to move a tiny number of pixels at a time and then randomly it jumps as it should

I don't think there's a problem with the wheel of the mouse; it works well on every other scrolling thing I can find, it's just these bands of icons on the main page

Why is it so hard to scroll the bands up and down?

run android app in the backround

$
0
0
is thre a way to run an android app from within kodi but in the backround?

so kodi app will still be in the foreground...

Can I make the scroll bars wider myself, or is it a feature request?

$
0
0
For lists that have a huge number of items it isn't really practical to use the mouse wheel to page through them so I tend to grab the scroll bar..

..but it's only a couple of pixels wide and incredibly hard to position the mouse so it hits the scroll bar

Can I edit the theme somehow to make it a good width, or is it something that must be handled by feature request?
Viewing all 85251 articles
Browse latest View live


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