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

Kodi's Built-in NFS client -- exceptional slowness observed

$
0
0
Within the last day or so I have been doing some testing on very recent alpha/beta releases of CoreELEC (v8.95.3 on a Beelink Mini MX III "classic" / AmLogic S905 / gigabit ehernet) and LibreELEC (8.90.005 on my current HTPC, a Zotac Zbox BI320 / Intel 2957U / gigabit ethernet).  These both include recent vintage Kodi 18.0 BETA releases.  I found a number of small issues related to each of these "standalone" Kodi implementations, and I either already have reported those, or will soon report all of those issues to the respective maintainers.

One serious performance issue I noticed however is definitely a straight Kodi issue.  I'll describe it here, get feedback, and then post it as a formal bug report in the bug tracker, if that still seems appropriate.

My test setup is as follows:  I've got a FreeBSD NFS (2/3) server in one room (office) hooked to the local LAN in the room.  Also on that LAN is my ASUS RT-AC56U WiFi router ("AC1200"). On the NFS server I have numerous DVD ISO rips.  Meanwhile, out in the living room, one wall and about 15 feet away, I have a Linksys WUMC710 ("AC1300") media bridge.  I've previously clocked the WiFi connection between these two WiFi devices at over 230Mbps (actual) using iperf.  It is a good, solid, stable, and fast connection.  I have the Zotac Zbox and/or the Beelink boxes hardwired via short cat5e cables to the WUMC710.  (Note that the Zbox, the Beelink, and the WUMC710 all have gigabit ethernet ports.)

Mounting the NFS volume(s) using Kodi's built-in NFS client, as present in the recent versions of LibreELEC and CoreELEC noted above, and then trying to simply start playback on any one of the several DVD ISO rips I have results in a dramatic stall before playback actually begins (during which the lights on the front of the WUMC710 blink like crazy).  I have measured the duration of the stall before playback begins to be as much as 30 seconds (on the Zbox) and as much as 47 seconds (on the Beelink).  These pauses are both annoying and also inconsistent with all of my past experience with Kodi on various platforms.

In contrast, when using Linux's own built-in NFS client code, which can be achieved simply via the procedure described here, the delays when starting up playback of a DVD ISO rip are dramatically reduced to between 2-4 seconds, max, depending on the specific ISO being played.  This is with all of the exact same hardware, including the exact same WiFi equipment and associated settings, and even many of the exact same DVD ISO files.

The bottom line is that in the scenario described above (i.e. starting to play a DVD ISO rip) the apparent performance of Kodi's built-in NFS client is measurably and dramatically worse than if one performs the same operations with all the same hardware and media files, but using Linux's own built-in NFS client code.

I look forward to any questions and/or comments.

P.S.  Just to be clear, I am by no means suggesting that the use of SMB shares, regardless of what software (i.e. either Kodi or the underlying OS) is providing the SMB client code is ever superior in performance to NFS for ordinary networked file sharing.  Based on experiments that I performed some long time ago, my clear impression is that SMB consistently performs much worse than NFS in virtually all cases.  However as noted above, the specific NFS client code being used may also dramatically affect performance.

Move menu left?

$
0
0
How can I move the menu(Movies, TV Shows, Music....) to the left in a vertical setup?  I have a huge gap of about 3 inches between the side of the screen, and the menu items, and it drives me crazy looking at it.

Request - LG webos skin Help me to MOD!!

$
0
0
Image
Help me to add son views to my theme please, im noob i just draw and change some icons, mouse and colors of Destiny skin by Jagger, but this skins have limited views maybe 2 o 3 on music, and apps, if anybody wan help me ill send a copy the skin.

Raspberry Pi DVB TV μHAT - Official GPIO HAT adds a DVB-T/T2 Tuner to Raspberry Pi

$
0
0
The Raspberry Pi Foundation has officially launched their own cheap DVB-T/T2 over-the-air TV-tuner for Raspberry Pi (which should work with LibreELEC JeOS distro out-of-the-box):
 
  • https://www.raspberrypi.org/blog/raspberry-pi-tv-hat/
  • https://www.raspberrypi.org/products/raspberry-pi-tv-hat/
  • https://www.raspberrypi.org/app/uploads/2018/10/Raspberry-Pi-TV-HAT-Product-Brief.pdf

Image   Image

With this board, you can receive, view, and record free over-the-air Live TV (in Europe) on a Raspberry Pi, just like a TV set-top-box. The TV HAT (Hardware Attached on Top) works with all 40-pin GPIO Raspberry Pi boards when running as a server, including the Raspberry Zero series. If you want to watch TV on the Pi itself, the Raspberry Foundation recommends using a Pi 2, 3, or 3B+, as you might need a little more processing power for this.

For how to do this in Kodi checkout the wiki pages https://kodi.wiki/view/Live_TV and https://kodi.wiki/view/PVR

You can even use your Pi as a TV-server to stream television over a network to other devices. Any Raspberry Pi can be used to stream to other devices. As with a TV HAT connected to your network, you can view streams on any network-connected device. That includes other computers, mobile phones, and tablets. You can find instructions for setting up your TV HAT in our step-by-step guide. Some more information about that here https://www.raspberrypi.org/app/uploads/...TV-HAT.pdf and https://kodi.wiki/view/PVR_recording_software

The TV HAT connects to the Raspberry Pi 40-pin GPIO header and to a suitable antenna, allowing your Raspberry Pi to receive DVB-T2 television broadcasts (in Europe). To get started you will need:
  1. Any 40-pin Raspberry Pi (including Pi Zero and Zero W, provided they have headers soldered), a Raspberry Pi 2 or 3 (or later) is however recommended for viewing TV on the Pi itself.
  2. A suitable aerial antenna to receive over-the-air DVB-T/T2 broadcast television.

Image   Image

TV-tuner hardware specification:
  • Sony CXD2880 TV tuner
  • Supported TV standards:
  • DVB-T2 (1.7MHz, 5MHz, 6MHz, 7MHz, 8MHz channel bandwidth)
  • DVB-T (5MHz, 6MHz, 7MHz, 8MHz channel bandwidth)
  • Reception frequency: VHF III, UHF IV, UHF V

  • Some more detailed hardware information is posted here:
    • https://www.cnx-software.com/2018/10/18/raspberry-pi-tv-hat-dvb-t2-tuner/
    • http://linuxgizmos.com/official-tv-hat-brings-dvb-t2-streaming-to-the-raspberry-pi/

    PR StartPercent property

    $
    0
    0
    @ronie 

    Small PR, but would be nice to have it included asap.

    As you may be aware, StartOffset no longer works with Leia. We have to use StartPercent. It works fine, except when using setProperty('StartPercent', '0') which Kodi ignores. I've added a small modification to get Kodi to respect the value set instead of trying to load the resume point from database. Thank you for your time.

    https://github.com/xbmc/xbmc/pull/14649

    Android - All PVR addon missing in 20181018-a6c1a4f4-master-arm64-v8a

    Suggestion for missing API methods: Files.Delete and VideoLibrary.RemoveMovieFiles

    $
    0
    0
    The way I use Kodi on my Vero4K in combination with my NAS is the following:

    NAS downloads movies.
    Kodi adds to library.
    NAS fills up.
    User frees up space by removing files through Kodi context menu > Delete > Confirm. This currently also removes from library.

    I would like to be able to delete the files through Kodi, but KEEP the library information. So that Kodi keeps a visual record of what I have ever watched, or was included in the library, even though the files are gone and the movie is obviously no longer playable. Currently the only way to achieve this is to delete the files outside of Kodi, on the NAS. But the disadvantage of that way is that I can only see the filenames and not the Kodi library info to help me decide whether to keep or not.

    With API methods for Files.Delete and/or VideoLibrary.RemoveMovieFiles (et al) it would be possible to delete the files but keep the library info. Alternatively, a new optional parameter "KeepLibrary" or "DeleteFilesOnly" for VideoLibrary.RemoveMovieFiles would be good.

    Bug - Kodi bug

    $
    0
    0
    Hello and sorry if my english is not top I am french.

    I have a problem Kodi no longer displays the script on my xbox.

    would someone have a soltion pleaseImage

    PathSubstitution for Artist Slideshow? 123

    $
    0
    0
    Hi there,
    I am currently using Kodi on my FireTV. As you might know, Space is quite limited, so I try to put everything I can onto my NAS instead of the local device. I already use a MySQL-DB for Movies and Music and also use pathsubstitution for the thumbnails.

    Still: Data is using 400MB and I analyzed the directories and files (which is a PITA on the FireTV cause no "vi", no "-h" parameters, ...) I found out that the Artist Slideshow takes quite a lot of space (200MB) . Is it possible to move thee files to my NAS using pathsubstitution (or through a configuration setting), too?

    v18 - b4 - Playing h264 inside mkv container - incorrect keyframe flag - no seek possible

    $
    0
    0
    Hi folks,
    I have recently compiled popcornmix/newclock5 branch for raspberrypi 3 to avail the HEVC neon optimizations. The system is: GNU/Gentoo Linux, running arm 32bit kernel version 4.18.14 from the rasperrypi sources.

    I have a mkv recording(tvheadend generated from IPTV) which seems to have 'Packets with incorrect keyframe flag'. Kodi cannot seek and further down the video causes video/sound out of sync(initial sync is fine). The recording is consumed through pvr.hts addon under the recordings section, if that matters.

    If I play the same on mpv-player on a computer, it just complains:
    '[mkv] This is a broken file! Packets with incorrect keyframe flag found. Enabling workaround.'

    and the file remains seek-able and no loss of auido/video  synchronization.

    Happy to provide the recording for a developer to test or send more logs and information if need be.
    Thanks!
    -N

    Kore: favourites items visualization

    $
    0
    0
    just a question.
    in kodi's favourites i'm able to color items
    here an example
    Image
    no problem inside kodi but kore each titles is shown like this
    Image
    is there a way to hide the brackets and their content?

    ALSA output device

    $
    0
    0
    Hi
    I'm trying to enable ALSA on raspbian stretch.
    /etc/asound.conf contain some ALSA plugins:
    Code:
    pcm.!default {
       type plug
       slave.pcm "mainfilter";
    }

    ctl.!default {
     type hw card 0
    }

    pcm.ok {
       type plug
       slave.pcm "mainfilter";
    }

    pcm.mainfilter {
           type ladspa
           slave.pcm "plughw:0,0";
           path "/usr/lib/ladspa";
           plugins [

                   {
                           id 1197
                          label mbeq
                          input {
                           # min="-70" max="30"
                           # 50Hz 100Hz 156Hz 220Hz 311Hz 440Hz 622Hz 880Hz 1250Hz 1750Hz 2500Hz 3500Hz 5000Hz 10000Hz 20000Hz
                                   controls [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ]
    #                                controls [ -6 -3 0 0 3 4 5 6 3 0 0 0 3 4 6 ]
                           }
                   }

                   {
                           id 1403
                          label dysonCompress
                          input {
                           # Peak limit (dB) ; Release time (s) ; Fast compression ratio ; Compression ratio
                                   controls [ -9.0 0.5 2 4 ]
                           }
                   }

                   {
                           id 1913
                          label fastLookaheadLimiter
                          input {
                           # Input gain (dB) -20 -> +20 ; Limit (dB) -20 -> 0 ; Release time (s) 0.01 -> 2
                                   controls [ 20 0 0.8 ]
                           }
                   }

    ]
    }
    This file is symlinked to /etc/asound.rc and /home/pi/.asoundrc
    Kodi 18 installed from "deb http://pipplware.pplware.pt/pipplware/di...ain/binary" repository

    My /usr/share/kodi/system/advancedsettings.xml
    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <advancedsettings>

     <fanartres>720</fanartres>
     <imageres>540</imageres>

     <video>
       <busydialogdelayms>750</busydialogdelayms>
     </video>

     <samba>
       <clienttimeout>30</clienttimeout>
     </samba>

     <cache>
       <memorysize>31457280</memorysize>
     </cache>

     <audiooutput>
       <audiodevice>ALSA:default</audiodevice>
     </audiooutput>

    </advancedsettings>
    I'm try to set:
    <audiodevice>ALSA:default</audiodevice>
    <audiodevice>ALSA:mainfilter</audiodevice>
    <audiodevice>ALSA:ok</audiodevice>
    <audiodevice>ALSA:plug:mainfilter</audiodevice>
    <audiodevice>ALSA:plug:ok</audiodevice>
    <audiodevice>ALSA:@</audiodevice>
    It's not work for me. No sound or error "ERROR: CAESinkALSA::InitializeHW - Unable to find a suitable output format"
    Kodi started in terminal emulator by command: "AE_SINK=ALSA kodi"
    aplay -L :
    Code:
    null
       Discard all samples (playback) or generate zero samples (capture)
    default
    ok
    mainfilter
    sysdefault:CARD=ALSA
       bcm2835 ALSA, bcm2835 ALSA
       Default Audio Device
    dmix:CARD=ALSA,DEV=0
       bcm2835 ALSA, bcm2835 ALSA
       Direct sample mixing device
    dmix:CARD=ALSA,DEV=1
       bcm2835 ALSA, bcm2835 IEC958/HDMI
       Direct sample mixing device
    dsnoop:CARD=ALSA,DEV=0
       bcm2835 ALSA, bcm2835 ALSA
       Direct sample snooping device
    dsnoop:CARD=ALSA,DEV=1
       bcm2835 ALSA, bcm2835 IEC958/HDMI
       Direct sample snooping device
    hw:CARD=ALSA,DEV=0
       bcm2835 ALSA, bcm2835 ALSA
       Direct hardware device without any conversions
    hw:CARD=ALSA,DEV=1
       bcm2835 ALSA, bcm2835 IEC958/HDMI
       Direct hardware device without any conversions
    plughw:CARD=ALSA,DEV=0
       bcm2835 ALSA, bcm2835 ALSA
       Hardware device with all software conversions
    plughw:CARD=ALSA,DEV=1
       bcm2835 ALSA, bcm2835 IEC958/HDMI
       Hardware device with all software conversions
    "Aplay" tests is successfully passed:
    "aplay -D ok 1k.wav" and "aplay -D default 1k.wav"

     What else can I do?

    Win - Kodi: No video after waking PC from sleep

    $
    0
    0
    Hi, I'm using my PC as a media center (As well as making digital art and light gaming), it's Windows 10 pro, i5 6600k, Nvidia GTX 1060 6GB, 16GB Ram. Whenever I wake PC from sleep (I either fall asleep watching something, or manually put PC to sleep or hibernate) Kodi is showing either a blank black screen, or a picture from my screensaver. When I press left and right I still hear the gui sounds playing, and pressing enter still plays the sound as well. I'm pretty sure only the video output is lagging, so is there a fix for this?

    Very grateful for this wonderful community, thank you...
    Nasr A. Bajbair.

    v18 - Kodi Media Server/Client Relationship: 32bit vs 64bit

    $
    0
    0
    My intention is to use Kodi as a Plex/Emby media server alternative on Windows 7 64bit. I intend to use several clients including Windows 10 app, Google Play app for Android, and most importantly Amazon FireTV app.

    Using a late 2018 Fire TV Stick 4K which only supports 32bit OS and apps, I'm confused whether to install the Kodi 18 32bit or 64bit variant in Windows. I can't find info elsewhere on this - do both server and clients need to run the same "bit" version?

    I'd just install the 32bit version of Kodi without question on all devices if it weren't for superior x265 support in the 64bit core of Kodi. Many of my files are x265 10bit encodes.

    Also, as I may need aggressive transcoding for my other clients, is it reasonable to expect transcoding by Kodi 19? I've read BubbleUPnP Server can do this, but I'm totally lost when it comes to UPnP programs. That's why Plex/Emby are so attractive I gather...

    Any advice is most appreciated! Thanks.

    "Could not connect to repository" after fresh install

    $
    0
    0
    Hello, I can't figure out why I can't connect to Kodi repository. Tried while Windows defender and Eset are disabled but no results. Log-file is here.
    Just installed a fresh W10 64 bit and Kodi b17B4 (same error on official B3 version). It seems to be related to the computer on which I installed it, on another one I can select addons. I have looked into firewall settings, copied kodi settings but still no succes. Can anyone point me in the right direction?

    Error lines:
    GetDirectory(addons://all/xbmc.addon.video) failed
    CCurlFile::FillBuffer - Failed: SSL connect error(35)
    CRepository: http://mirrors.kodi.tv/addons/leia/addons.xml.gz index has wrong digest

    v18 - Kodi slow start / exit - an attempt for a solution

    $
    0
    0
    I think I've tracked down some of Kodi's slowness to its origins. Mind you, it's not like it's dragging, but there is some definite potential for speed-ups. There are 2 main issues I've identified:

    1.) Playlists for Widgets
    2.) Datum fields in SQL database



    Let's start with
    2.) Datum fields

    Kodi uses several columns for storing datums, like lastScraped, dateAdded, lastPlayed. For whatever reasons these are mostly defined as TEXT fields (Blobs) instead of DATUM fields. Changing the datatype to TIMESTAMP (on MariaDB, should be similar on MySQL) makes reading the tables faster. Also, DATUM fields are used in many queries, so an INDEX for DATUM fields is recommended.

    Here are the columns I've found and changed to TIMESTAMP with beneficial effect:

    a) mymusic72.db
    • album-lastScraped
    • artist-lastScraped
    • audiobook-lastScraped
    • song-lastplayed
    • song-dateAdded
    • versiontagscan-lastscanned

    a) myvideos112.db
    • episode-lastPlayed
    • episode-lastChange
    • files-lastPlayed
    • files-dateAdded
    • movie_watched-lastChange
    • movie_watched-lastPlayed
    • path-dateAdded

    1. Playlists

    I'm referring here to playlists that are used for widgets. Those are the biggest holdup in Estuary. You can try for yourself to replace in Includes_home.xml

    <include content="WidgetListPoster" condition="Library.HasContent(movies)">
    <param name="content_path" value="special://skin/playlists/recent_unwatched_movies.xsp"/>
    <param name="widget_header" value="$LOCALIZE[20386]"/>
    <param name="widget_target" value="videos"/>
    <param name="list_id" value="5200"/>
    with

    <include content="WidgetListPoster" condition="Library.HasContent(movies)">
    <param name="content_path" value="videodb://recentlyaddedmovies"/>
    <param name="widget_header" value="$LOCALIZE[20386]"/>
    <param name="widget_target" value="videos"/>
    <param name="list_id" value="5200"/>

    (For TVShows, replace special://skin/playlists/recent_unwatched_episodes.xsp with videodb://recentlyaddedepisodes/)

    Using a playlist produces a spinner that will stay for several seconds whereas the direct call is instantaneous. Also, after changing 1.) and 2.) exiting Kodi is also almost instantaneous.

    There is a caveat, however, as changing the datatype for "dateadded" columns will break playlist sorting at the moment. That's probably why the type is set to TEXT presently. You only need playlists if you want to exclude your watched video items from recent video items. Otherwise

    v18 - Kodi stops when Shield screensaver starts while Zap2epg is running

    $
    0
    0
    Is this a Kodi, Shield, or Zap2epg problem?  
    I've turned off the Shield screen sleep function in developer options as a work around but it would be nice to get this resolved.  Just trying to figure out where to start.  
    I'll post a log if someone is interested in looking at it.  
    Thanks

    Cinematographic Skin for Leia (21:9)

    $
    0
    0
    Hey

    soon Leia is going to be out

    Is there any Cinematographic skin that supports Leia ? 

    Like ScopeNox in Krypton. ?


    Thanks in advance

    Win - Strm file from remote location like paste bin or google drive

    NU Be Question

    $
    0
    0
    Is there a wiring diagram on how a KODI device can be interfaced into an existing structure? For example - In a RV - I have a Marantz receiver with multiple HDMI inputs..I use one of those inputs for Apple TV & another for Satellite/Cable. Thinking of a HDMI 4x4 matrix...All smart TV's with internet access... What would be the best solution to integrate?
     
    Thanks in advance!

    Kevin in Florida
    Viewing all 85175 articles
    Browse latest View live


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