Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: Kodi does not work in Ubuntu 24.04

  1. #11
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Kodi does not work in Ubuntu 24.04

    Quote Originally Posted by MAFoElffen View Post
    @TheFu --

    Absolutely maybe? (LOL)

    Thank you. I needed something like that this morning...
    Kodi can be a complex system. It is tied to specific hardware, nearly unlimited inputs, and 500 possible addons. If you happen to have an addon that is having issues, then that can take a week to get fixed by the addon team. If you don't use an addon with complexities and your material is all standard, then it will always work, as far as you know.

    Sometimes with a new Kodi release, the player settings might need some tweaks to get everything perfect. For example, I've had audio-sync issues crop up that needed some playback tweaks. And my hardware never plays VP9 well, so I have jellyfin transcode it, always. Without jellyfin, the only answer would be to transcode from VP9 to some other well supported, video codec like h.265, h.264 or MPEG2. In theory, VP9 and h.265 should both be supported, but that isn't the real world. h.265 works perfectly. VP9, stutters and sometimes locks up.

    So, almost always, Kodi works.

    Every month, there's a new OSMC release. I try to wait a few weeks for early issues to be resolved. Sometimes, I'm not paying attention and get unlucky. Usually, nothing bad happens and all is fine. During busy times of year, I specially do not patch my OSMC systems to avoid issues and family trauma.
    Last edited by TheFu; May 1st, 2024 at 01:06 PM.

  2. #12
    Join Date
    Aug 2013
    Beans
    32

    Re: Kodi does not work in Ubuntu 24.04

    Quote Originally Posted by irbyjm View Post
    Team Kodi has officially announced their retirement of the PPA:
    https://kodi.tv/article/ubuntu-team-...ially-retired/

    And per the HOW-TO:
    "Please note that currently the Team Kodi PPA is not maintained due to the previous sole maintainer stepping away from the responsibility.For now the only options are building from source, using Flatpak or a distro such as Debian which includes Kodi in their distribution."

    I don't think the PPA has been usable since Kinetic. I see Wolfgang pushed some changes a couple of weeks ago, but they were for Jammy and Focal.
    Rebuilding from source never never works for me. Getting errors all the times, takes me days to fix the errors, and I know I'd have to redo it each time I want to upgrade Kodi. Ubuntu has Snap, not Flatpak, so using the Flatpak KODI is not a good option as well. So the only solution seems to switch distribution, which is super boring to do, requires to reconfigure too much stuff. Seems Kodi will be a dead end for me then.

  3. #13
    Join Date
    Aug 2013
    Beans
    32

    Re: Kodi does not work in Ubuntu 24.04

    Quote Originally Posted by jeremielapuree View Post
    Unfortunately this bug is well documented (and for commenters saying it does not exist, please refrain to tell such things)
    Here is the issue in Kodi github: https://github.com/xbmc/xbmc/issues/24069

    Since Ubuntu Noble uses Python 3.12, we are facing to the problem. The solution: noble is updated to use another python version (I don't believe it will happen)
    Better solution; Universe repo update to Kodi Omega (unfortunately since Noble is LTS, I don't believe it will happen too)

    So, we will have to wait Ubuntu 24.10 for a working deb Kodi in Ubuntu

    Otherwise, you can download flatpak Omega kodi in the kodi official site .
    Python versions are supposed to be backward compatible with each other. If Ubuntu comes with Python 3.12, then Python code running on older Python versions should run on 3.12. If something is broken, that is likely a native library that doesn't compile well for Python 3.12. Rebuilding from source will just exhibit that compilation error and not work. Flatpak won't work either as Ubuntu comes with Snap. So that pretty much means Kodi is now incompatible with Ubuntu and requires switching Linux distribution. Keep in mind Kodi works out of the box on Android and Windows, which one again pushes Linux back. Most people will not scratch their head with this and just switch to Windows or, even worse, buy a Mac and be stuck with even more vendor lock in.

  4. #14
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Kodi does not work in Ubuntu 24.04

    Code:
    $ lsb_release -d
    Description:    Debian GNU/Linux 11 (bullseye)
    
    $ python --version
    Python 3.9.2
    
    $ uname -a
    Linux pi4 5.15.92-1-osmc #1 SMP PREEMPT Tue Jul 25 00:03:42 UTC 2023 aarch64 GNU/Linux
    Is what my main OSMC box has. Not that it is helpful to anyone.

    My setup has Jellyfin as a media server on an Ubuntu 20.04 server where all media is stored and OSMC running on R-Pi4 and R-Pi3 hardware. The OSMC systems have a Jellyfin addon that gets everything from the Jellyfin server. I also have jellyfin running on a few Android tablets and my phone. These can be either controllers or players (in DLNA terms, "renderers"). When traveling, a tablet with a VPN connection back home allows access to all remote media with hidef media transcoded down to 480p resolutions to be nicer with limited bandwidth over the internet.

    Why Jellyfin?
    • Transcoding from video codecs that aren't supported by the player hardware.
    • Jellyfin supports audio formats/containers that other, "popular" media servers completely ignore. Vorbis/ogg, Opus/ogg, and FLAC.
    • Jellyfin supports different users, so each user can separately track what they've seen or haven't seen.
    • Jellyfin knows, regardless of client player device, what media has been seen already. It knows that I'm one Episode 21 of season 3 and regardless of the client, that will be presented as the next episode to be shown.
    • Jellyfin can be used as the server, controller and player platform.
    • Jellyfin supports OTA TV recording if you have one of the specific network TV tuner devices on your network. I have an HDHR-Quad connected to an attic antenna to watch/record local channels. There are 4 tuners and those are available to any computing device on the LAN as needed. My specific setup gets weekly TV schedule data for free and creates a grid of what is on, with automatic recording of shows that I've denoted to record by title, title+channel, or title+channel+approx time. In my part of the world, typically gaining access to schedule data is a $35/yr subscription. I understand that other parts of the world don't have to pay for schedule data and I'm jealous.


    Why OSMC?
    • OSMC is a custom build of Kodi for specific hardware platforms.
    • It is specifically designed to work with limited CPUs and the exact GPU provided by each platform.
    • The OSMC player experience is 10x better than the Jellyfin player interface and 1000x better than the Plex player interface. Clearly this is subjective, but when plex removed the subtitles if pause was pressed, I knew plex's client was useless.
    • The OSMC support team is extremely helpful. The head developer is right there to answer questions. It is like having direct access to Linus for our bonehead Linux questions. That just doesn't happen most places. For critical issues, he can provide workarounds or a custom patch fairly quick and the fix will be in the next release.
    • The head developer understands prioritization. For example, Debian 12 isn't the base OS because there are other moving parts in the Kodi and OSMC ecosystems. This generally prevents overzealous upgrades making our spouses and kids, er, .... unhappy.

  5. #15
    Join Date
    Jun 2024
    Beans
    1

    Re: Kodi does not work in Ubuntu 24.04

    I gave up trying to install it from packages / flatpak etc. I just compiled it and pointed it to python3.10 with -DPYTHON_VER=3.10 and -DPYTHON_DIR=/usr/local/lib/python3.10

    Followed: github.com/xbmc/xbmc/blob/master/docs/README.Linux.md to build

    I had this other issue with the installer not liking my version of Exiv2 … Apparently the version that ubuntu24.04 has is > the version it wants… it works fine though. I just edited cmake/modules/FindExiv2 file

    Note: DONT COPY/PASTE THIS. I typed it in, it’s not copied / pasted… so make your own changes

    Around line 60ish
    if((exiv2_VERSION VERSION_LESS ${${MODULE}_VER} AND ENABLE_INTERNAL_EXIV2) OR ((CORE_SYSTEM_NAME STREQUAL linux OR CORE_SYSTEM_NAME STREQUAL freebsd) AND ENABLE_INTERNAL_EXIV2))
    buildexiv2()
    else()
    buildexiv2()
    endif()

    Also the build failed on xbmc/build/exiv2/src/exiv2/src/futils.cpp

    I just added:
    #include <cstdint>
    in the standard includes and it built fine… at the top of the file.. around line 15ish
    It’s what the compiler suggested to do and it works fine.

    Compiled version runs perfectly… actually it runs way faster than kodi has ever run.
    Last edited by jasonxoc; 2 Weeks Ago at 03:03 AM.

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •