GithubHelp home page GithubHelp logo

flathub / tv.kodi.kodi Goto Github PK

View Code? Open in Web Editor NEW
23.0 12.0 23.0 616 KB

Home Page: https://flathub.org/apps/details/tv.kodi.Kodi

License: GNU Lesser General Public License v2.1

Makefile 5.57% CMake 17.46% Python 73.72% Shell 3.25%

tv.kodi.kodi's Introduction

Kodi Flatpak

Kodi is an award-winning free and open source software media player and entertainment hub for digital media. Available as a native application for Android, Linux, BSD, macOS, iOS, tvOS and Windows operating systems, Kodi runs on most common processor architectures. This repository packages it through Flatpak.

Building

Then build via

flatpak-builder build-dir --user --ccache --force-clean --install tv.kodi.Kodi.yml

Then you can run it via the command line:

flatpak run tv.kodi.Kodi

or just search for the installed app on your system

The following binary addons do not compile, and are excluded:

  • audiodecoder.dumb
  • game.libretro.2048

Contributing

The list of binary addons in each branch of Kodi may be found here, and dependencies here. Kodi releases are found here.

You need to have the PyGithub Python module installed, to run the update script:

pip install PyGithub

make update-addons can help updating existing addons and also list missing ones. It will need a GITHUB_TOKEN environment variable set to a valid GitHub token. You can do this via an .env file in the root of the repository or by exporting the variable in your shell.

You can contribute by updating addons, modules and the Kodi version.

tv.kodi.kodi's People

Contributors

14mrh4x0r avatar alexlarsson avatar asciiwolf avatar comparascope avatar erick555 avatar feelthelemon avatar flathubbot avatar gasinvein avatar gipawu avatar hfiguiere avatar jurf avatar jusix avatar marko10-000 avatar matthiasclasen avatar ndarilek avatar neo1973 avatar razzeee avatar rechi avatar rexcze avatar ssssam avatar tilosp avatar tim77 avatar tingping avatar ukbeast avatar vilmasvensson avatar vrutkovs avatar wsnipex avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tv.kodi.kodi's Issues

Does kodi *really* depend on Java?

Kodi specifies a requirement on the openjdk11 extension:

https://github.com/flathub/tv.kodi.Kodi/blob/master/tv.kodi.Kodi.yml#L6

But then tries to use openjdk10:

https://github.com/flathub/tv.kodi.Kodi/blob/master/tv.kodi.Kodi.yml#L66 &
https://github.com/flathub/tv.kodi.Kodi/blob/master/tv.kodi.Kodi.yml#L106

Which cannot possibly work because the openjdk11 extension does not provide this openjdk10 path!

Furthermore, at no point is the openjdk11 install.sh script called, so the Kodi app is not even shipping with a Java runtime. This means that even if Kodo did actually ship some bytecode, there's no way it can be executed...

Are you sure Kodi actually requires Java? Or something silently failing during build and silently missing at runtime?

Kodi Desktop Session

Is it possible for a Flatpak application such as Kodi to provide the Kodi desktop session that can usually be accessed from the login screen / desktop manager?

I notice it does not currently and if the feature is available then I can't work out how to enable it, but I'm wondering whether it's an issue with the fundamental architecture of Flatpak that means this isn't possible. I notice that the Steam Flatpak does not enable this either (although admittedly this usually also requires steamos-desktop in addition to the regular package) which is what makes me think that possibly this is the case.

[Kodi crashes] addon installation

Kodi 18.0rc5.2-Leia crashes if I try to install any addon. Regardless which addon.
If I select an addon and press enter I don't get to the point where I can click "install".
I also tried to remove the configuration directory ".var/app/tv.kodi.Kodi", but that didn't help.

ModuleNotFoundError: No module named PIL

With the Kodi Version 19.0 I get an error when the addon "script.embuary.helper" is used. This addon is nessessary for the skin I use. The error in the log says:

EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'ModuleNotFoundError'>
Error Contents: No module named 'PIL'
Traceback (most recent call last):
File "/home/xxx/.var/app/tv.kodi.Kodi/data/addons/script.embuary.helper/service.py", line 6, in from resources.lib.service_monitor import *
File "/home/xxx/.var/app/tv.kodi.Kodi/data/addons/script.embuary.helper/resources/lib/service_monitor.py", line 12, in from resources.lib.utils import split
File "/home/xxx/.var/app/tv.kodi.Kodi/data/addons/script.embuary.helper/resources/lib/utils.py", line 20, in from resources.lib.image import *
File "/home/xxx/.var/app/tv.kodi.Kodi/data/addons/script.embuary.helper/resources/lib/image.py", line 12, in from PIL import ImageFilter,Image,ImageOps
ModuleNotFoundError: No module named 'PIL'
-->End of Python script error report<--

It seems that this issue is similar to #72.

Kodi Matrix 19.0 missing SMB, Web UI in Settings->Services

Upgraded to Matrix from Leia.

  1. My media sources all report "cannot connect to network share". Also, when I try to add a new network source, "SMB" is not on the list of protocols. (And yes, my samba server is running and serving to all comers...including the host on which this flatpak runs.)
  2. Settings -> Services -> Control lacks config info for the Web UI. Chorus2 addon is installed and enabled. It's just missing.
  3. Settings -> Services -> SMB Client is missing.

The Settings screen is at the expert level, so nothing should be filtered out, but I cycled through all the settings just in case. These items are just missing.

I'm attempting to downgrade.

KODI crash when using web interface control (Chorus)

Most of the time, when i'm trying to use Chorus (web interface for controlling and interacting with Kodi) and try to access Movies KODI crashes.
I enabled logging of components: libCURL, JSON-RPC, Announcer, WWW server, Database. But LOG says nothing about crash.
It happen when i enter "Movies", website is loaded but there is info down-right "web socket connection lost".
Web GUI when connection is lost:
Zrzut ekranu (51)
kodi log:
https://pastebin.pl/view/raw/88332661
kodi_crashlog-20200912_162848:
https://pastebin.pl/view/raw/7060c005

There is also large file generated core.kodi-x11.1001.66ab4a28af424498894aa0df942abaaa.52211.1599920925000000.lz4:
https://love.itos.pl/s/PJFW67jXmBEgwFT

ffmpeg[7FB6937FE700]: [hls,applehttp] Failed to open segment

Amazon Prime Music addon not working with flatpak version of Kodi.
As it seems the problem is related to FFMPEG.
The problem is not present in the kodi from rpmfusion.

Flatpak -> ffmpeg-4.0.3-Leia-Beta5.tar.gz
rpmfusion -> ffmpeg-4.0.2-Leia-Alpha3.tar.gz

Please see the debug log below:

19:49:06.320 T:140421724362496 DEBUG: https://music.amazon.de/dmls/
19:49:06.430 T:140422785566720 DEBUG: ------ Window Init (DialogBusy.xml) ------
19:49:06.756 T:140421724362496 INFO: CPythonInvoker(7, /home/afrase/.var/app/tv.kodi.Kodi/data/addons/plugin.audio.prime_music/default.py): script successfully run
19:49:06.756 T:140421724362496 DEBUG: onExecutionDone(7, /home/afrase/.var/app/tv.kodi.Kodi/data/addons/plugin.audio.prime_music/default.py)
19:49:06.772 T:140422785566720 DEBUG: ------ Window Deinit (DialogBusy.xml) ------
19:49:06.772 T:140421732755200 DEBUG: Thread scriptobs 140421732755200 terminating
19:49:06.772 T:140422785566720 DEBUG: CPlayerCoreFactory::GetPlayers(/home/afrase/.var/app/tv.kodi.Kodi/data/userdata/addon_data/plugin.audio.prime_music/temp.mp4)
19:49:06.772 T:140422785566720 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: system rules
19:49:06.772 T:140422785566720 DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: system rules
19:49:06.772 T:140422785566720 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: mms/udp
19:49:06.772 T:140422785566720 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: lastfm/shout
19:49:06.772 T:140422785566720 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtmp
19:49:06.772 T:140422785566720 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtsp
19:49:06.772 T:140422785566720 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: streams
19:49:06.772 T:140422785566720 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvd
19:49:06.772 T:140422785566720 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdimage
19:49:06.772 T:140422785566720 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: sdp/asf
19:49:06.772 T:140422785566720 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: nsv
19:49:06.772 T:140422785566720 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: radio
19:49:06.772 T:140422785566720 DEBUG: CPlayerCoreFactory::GetPlayers: matched 0 rules with players
19:49:06.772 T:140422785566720 DEBUG: CPlayerCoreFactory::GetPlayers: adding audiodefaultplayer (PAPlayer)
19:49:06.772 T:140422785566720 DEBUG: CPlayerCoreFactory::GetPlayers: for video=0, audio=1
19:49:06.772 T:140422785566720 DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=1
19:49:06.772 T:140422785566720 DEBUG: CPlayerCoreFactory::GetPlayers: adding player: VideoPlayer
19:49:06.772 T:140422785566720 DEBUG: CPlayerCoreFactory::GetPlayers: added 2 players
19:49:06.772 T:140422785566720 DEBUG: OnPlayBackStarted: CApplication::OnPlayBackStarted
19:49:06.772 T:140421732755200 DEBUG: Thread PAPlayer start, auto delete: false
19:49:06.772 T:140421732755200 DEBUG: PAPlayer::Process - Playback started
19:49:06.773 T:140422135408384 DEBUG: Open - probing detected format [hls,applehttp]
19:49:06.773 T:140422135408384 DEBUG: ffmpeg[7FB6937FE700]: [hls,applehttp] Failed to open segment 0 of playlist 0
19:49:06.773 T:140422135408384 DEBUG: ffmpeg[7FB6937FE700]: [hls,applehttp] Failed to open segment 1 of playlist 0
19:49:06.773 T:140422135408384 DEBUG: ffmpeg[7FB6937FE700]: [hls,applehttp] Failed to open segment 2 of playlist 0
19:49:06.773 T:140422135408384 DEBUG: ffmpeg[7FB6937FE700]: [hls,applehttp] Failed to open segment 3 of playlist 0
19:49:06.773 T:140422135408384 DEBUG: ffmpeg[7FB6937FE700]: [hls,applehttp] Failed to open segment 4 of playlist 0
19:49:06.773 T:140422135408384 DEBUG: ffmpeg[7FB6937FE700]: [hls,applehttp] Failed to open segment 5 of playlist 0
19:49:06.773 T:140422135408384 DEBUG: ffmpeg[7FB6937FE700]: [hls,applehttp] Failed to open segment 6 of playlist 0
19:49:06.773 T:140422135408384 DEBUG: ffmpeg[7FB6937FE700]: [hls,applehttp] Failed to open segment 7 of playlist 0
19:49:06.773 T:140422135408384 DEBUG: ffmpeg[7FB6937FE700]: [hls,applehttp] Failed to open segment 8 of playlist 0
19:49:06.773 T:140422135408384 DEBUG: ffmpeg[7FB6937FE700]: [hls,applehttp] Failed to open segment 9 of playlist 0
19:49:06.773 T:140422135408384 DEBUG: ffmpeg[7FB6937FE700]: [hls,applehttp] Failed to open segment 10 of playlist 0
19:49:06.773 T:140422135408384 DEBUG: ffmpeg[7FB6937FE700]: [hls,applehttp] Failed to open segment 11 of playlist 0
19:49:06.773 T:140422135408384 DEBUG: ffmpeg[7FB6937FE700]: [hls,applehttp] Failed to open segment 12 of playlist 0
19:49:06.773 T:140422135408384 DEBUG: ffmpeg[7FB6937FE700]: [hls,applehttp] Failed to open segment 13 of playlist 0
19:49:06.773 T:140422135408384 DEBUG: ffmpeg[7FB6937FE700]: [hls,applehttp] Failed to open segment 14 of playlist 0
19:49:06.773 T:140422135408384 DEBUG: ffmpeg[7FB6937FE700]: [hls,applehttp] Failed to open segment 15 of playlist 0
19:49:06.773 T:140422135408384 DEBUG: ffmpeg[7FB6937FE700]: [hls,applehttp] Failed to open segment 16 of playlist 0
19:49:06.773 T:140422135408384 DEBUG: ffmpeg[7FB6937FE700]: [hls,applehttp] Failed to open segment 17 of playlist 0
19:49:06.774 T:140422135408384 ERROR: ffmpeg[7FB6937FE700]: [hls,applehttp] Error when loading first segment 'https://d2lg00fehdyg04.cloudfront.net/0269d550-c200000304607865%2F5b1f2c7e-a0cb-38ab-98e4-55f3fd539992.ts?response-content-disposition=attachment%3B%20filename%3D%225b1f2c7e-a0cb-38ab-98e4-55f3fd539992.ts%22&Expires=1545851710&Signature=RPfj7YBGFdmKsX-QOGIHdBQA0fHAZND0RLt92voOJjDC08iClw9t1jISPvl7gBK~LZetcqMBXPj0X4YXCrPTZFTaRYHPb704Hfag51v1gRFlTInjQ7~tgZP0tkKSWLWyNBNRlguT0U9wK1QCqbew7QITNYC7Iqa0s8iymu-hvOA_&Key-Pair-Id=APKAJVZTZLZ7I5XDXGUQ'
19:49:06.774 T:140422135408384 ERROR: Open - Error, could not open file /home/afrase/.var/app/tv.kodi.Kodi/data/userdata/addon_data/plugin.audio.prime_music/temp.mp4
19:49:06.774 T:140422135408384 ERROR: Init: Error creating demuxer
19:49:06.774 T:140422135408384 ERROR: CAudioDecoder: Unable to Init Codec while loading file /home/afrase/.var/app/tv.kodi.Kodi/data/userdata/addon_data/plugin.audio.prime_music/temp.mp4
19:49:06.774 T:140422135408384 WARNING: PAPlayer::QueueNextFileEx - Failed to create the decoder
19:49:06.774 T:140422135408384 DEBUG: OnAVStarted: CApplication::OnAVStarted
19:49:06.774 T:140422135408384 DEBUG: OnQueueNextItem: CApplication::OnQueueNextItem
19:49:06.775 T:140422785562368 DEBUG: CAnnouncementManager - Announcement: OnAVStart from xbmc
19:49:06.776 T:140422785562368 DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnAVStart
19:49:06.776 T:140421724362496 INFO: Python interpreter stopped
19:49:06.777 T:140421724362496 DEBUG: Thread LanguageInvoker 140421724362496 terminating
19:49:06.788 T:140422785566720 DEBUG: CMusicGUIInfo::InitCurrentItem(plugin://plugin.audio.prime_music/?mode=playTrack&asin=B07JKCGZY2&name=Jingle+Bells&thumb=https%3A%2F%2Fimages-eu.ssl-images-amazon.com%2Fimages%2FI%2F51Wrv1WM-qL.jpg&artist=Gwen+Stefani&album=You+Make+It+Feel+Like+Christmas+%28Deluxe+Edition%29)
19:49:06.790 T:140422785566720 DEBUG: Loading additional tag info for file plugin://plugin.audio.prime_music/?mode=playTrack&asin=B07JKCGZY2&name=Jingle+Bells&thumb=https%3A%2F%2Fimages-eu.ssl-images-amazon.com%2Fimages%2FI%2F51Wrv1WM-qL.jpg&artist=Gwen+Stefani&album=You+Make+It+Feel+Like+Christmas+%28Deluxe+Edition%29
19:49:06.790 T:140422785566720 DEBUG: CPlayerGUIInfo::InitCurrentItem(plugin://plugin.audio.prime_music/?mode=playTrack&asin=B07JKCGZY2&name=Jingle+Bells&thumb=https%3A%2F%2Fimages-eu.ssl-images-amazon.com%2Fimages%2FI%2F51Wrv1WM-qL.jpg&artist=Gwen+Stefani&album=You+Make+It+Feel+Like+Christmas+%28Deluxe+Edition%29)
19:49:06.790 T:140422785562368 DEBUG: CAnnouncementManager - Announcement: OnChanged from xbmc
19:49:06.790 T:140422785562368 DEBUG: GOT ANNOUNCEMENT, type: 1024, from xbmc, message OnChanged
19:49:06.791 T:140422785562368 DEBUG: CAnnouncementManager - Announcement: OnPlay from xbmc
19:49:06.791 T:140422785562368 DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnPlay
19:49:06.890 T:140422785566720 DEBUG: ------ Window Init (DialogBusy.xml) ------
19:49:06.892 T:140422785566720 DEBUG: StartScript - calling plugin Amazon Prime Music('plugin://plugin.audio.prime_music/','5','?mode=playTrack&asin=B07JK2X18L&name=Let+It+Snow&thumb=https%3A%2F%2Fimages-eu.ssl-images-amazon.com%2Fimages%2FI%2F51Wrv1WM-qL.jpg&artist=Gwen+Stefani&album=You+Make+It+Feel+Like+Christmas+%28Deluxe+Edition%29','resume:false')

Boblight library

Thanks for making kodi available as flatpak.
The boblight addon says that it needs a binary to work.
It needs the library "libboblight.so" that is on my system but not accessible by flatpak.
Is there a way to solve this?

Regards, Achim

Kodi file manager

Kodi faltpak doesn't give me access to all directories in / home directory .

Addon with information of the flatpak

Should an addon be added with shows information of the flatpak? e.g.

  • How to contact the flatpak maintainers
  • Tutorial: How to add a extern media source/directory (#46)
  • (Ideas? Strangely enough my Kodi configuration isn't strange/experimental enough to come up with more freaky ideas =/ )

What about very short video tutorials? (e.g. the gifs from wireguard homepage https://www.wireguard.com/quickstart/ )

some codecs missing? how to solve this issue?

Hey there,

I used to use kodi installed via APT. However after upgrading my ubuntu installation to 21.04 it somehow also upgraded kodi and then that broke dependencies which then broke scripts and addons and python things.

So to help solve my problem, i installed this flatpak here from flathub. Great! My kodi install works again right?

Well the python is fixed. However the first launch it spammed a whole bunch of messages at me. Which was totally unnecessary and tedious from a user point of view. Very unprofessional looking. Nevertheless things seem overall less bkoken now than before.

Only problem is... some codecs are missing. I know this because before moving to flatpak certain videos would playback just fine in kodi. But now I only get the audio and the video is gone. Back screen.

Here is an example video, one of my favorites:

https://www.youtube.com/watch?v=gkTb9GP9lVI

Can you guys play it? Does that one work for any of you?

Is there some way i can use flatseak to add any extra premonitions for folder access for a folder on my root filesystem? Something like to mount the /var/lib/ folder where the missing codecs lives? That would be helpful.

Otherwise you have packs to sideload the missing codecs? Because that would also be ok by me. I just cannot find any existing instructions anywhere for how to do that.

Much help appreciated, and I do hope you enjoy the song. Even if audio only, (but that really is missing the best part of it, hehe).

Combined merge 2

Main:

  • Remove old flathub readme #15
  • Remove CONTRIBUTING.md #17
  • Add wayland support #16
    Optional:
  • JSON to YAML?

Support AV1 Codec

Part of #114 ?

This version of kodi does not seem to be able to play AV1-encoded videos.
That's particularly important because YouTube nowadays encodes a lot of its videos in AV1.

No CEC support in 19.0 "Matrix"

After upgrading to Kodi 19.0 "Matrix" my TV remote control stopped working. It looks like the PR dropped libCEC? I don't see the CEC plug-in in the input settings anymore, and entering the flatpak container also reveals that the related tools (e.g., cec-client) aren't in /app/bin/ anymore.

I'll gladly provide more information if required.

Cannot start kodi. Wayland error.

I haven't run kodi in a few months, and since then many packages have been updated (so I'm not sure whose "fault" it is), but now I get this error when I try to run kodi:

$ flatpak run tv.kodi.Kodi
VA error: wayland: Wayland roundtrip error: Protocol error (errno 71)
libva info: VA-API version 1.8.0
libva error: vaGetDriverNameByIndex() failed with invalid VADisplay, driver_name = (null)
terminate called after throwing an instance of 'std::system_error'
  what():  wl_display_roundtrip_queue: Protocol error
/app/bin/kodi: line 182:     7 Aborted                 (core dumped) ${KODI_BINARY} $SAVED_ARGS
Crash report available at /home/zacarias/kodi_crashlog-20210511_000149.log

Crash log here:
kodi_crashlog-20210510_231020.log

Websockets are not supported in flatpak.

Seems that websockets are not supported in flatpak.
Allow remote control from applications on this system in Settings/Service can be enabled, but there is no Allow remote control from applications on other systems (Which allows websockets afaik) is missing from GUI.

but there is listening TCP process -> 0.0.0.0:9090 (0.0.0.0:8080 too)

Example of GUI options:
https://kodi.wiki/view/File:Services_control2.JPG

EDIT:
seems that I disabled it with:

printf "<advancedsettings>\n    <services>\n        <esallinterfaces>true</esallinterfaces>\n        <webserver>true</webserver>\n        <zeroconf>true</zeroconf>\n    </services>\n</advancedsettings>" > /home/kodi/.var/app/tv.kodi.Kodi/data/userdata/advancedsettings.xml

according to this: https://kodi.wiki/view/Web_interface

Kodi crash

When I run Kodi this error appears in terminal:

/app/bin/kodi: line 220: 10 Killed ${KODI_BINARY} $SAVED_ARGS

Flatpak version: 1.0.8-0ubuntu0.18.04.1

Ref: app/tv.kodi.Kodi/x86_64/stable
ID: tv.kodi.Kodi
Arch: x86_64
Branch: stable
Collection ID: org.flathub.Stable
Date: 2019-05-29 20:06:12 +0000
Subject: Use a link that actually works. (de9409a)
Commit: a2b10624e2f68df53f2266ff3e9f41c9a5aad0350aadd088f7d2c2d5b424b7a8
Parent: 27dfd62f6350b1fdf78d0c2b32eba55a9ce55f8fc116dca831aab2dbf2ba0d77
Download size: 130,9 MB
Installed size: 300,1 MB
Runtime: org.freedesktop.Platform/x86_64/18.08
Sdk: org.freedesktop.Sdk/x86_64/18.08

Missing nmblookup dependency

I don't use Samba and I don't experience other issues, but when launching Kodi from a terminal there's a message:

sh: nmblookup: command not found

Under /var/lib/flatpak/.../files/sbin I can only find nmbd and smbd commands.

No support for MySQL Library

It seems that there is no support for using a MySQL database like described under https://kodi.wiki/view/MySQL in Kodi 19.0.

In the flathub-version of Kodi 18.8 all was fine.

The error in the Kodi log is:
ERROR : MySQL library requested but MySQL support is not compiled in. Falling back to sqlite3.

CPU and GPU temperature not available

The CPU temperature displayed is incorrect on my htpc. It is always 80°C. The GPU temperature is not available.

If I use the following advancedsettings.xml both are not available.

<advancedsettings version="1.0">
	<cputempcommand>echo "$(sensors -u | tail -n64 | grep temp3_input | awk '{print $2 }' |awk '{printf("%d\n",$1 + 0.5);}') C"</cputempcommand>
	<gputempcommand>echo "$(sensors -u | tail -n64 | grep temp1_input | awk '{print $2 }' |awk '{printf("%d\n",$1 + 0.5);}') C"</gputempcommand>
</advancedsettings>

To test I navigate to Settings>System Information.
Running sensors in the commandline I get the following output:

$ sensors -u
coretemp-isa-0000
Adapter: ISA adapter
Core 0:
  temp2_input: 43.000
  temp2_max: 84.000
  temp2_crit: 100.000
  temp2_crit_alarm: 0.000
Core 1:
  temp3_input: 47.000
  temp3_max: 84.000
  temp3_crit: 100.000
  temp3_crit_alarm: 0.000

radeon-pci-0100
Adapter: PCI adapter
temp1:
  temp1_input: 40.000
  temp1_crit: 120.000
  temp1_crit_hyst: 90.000

Is it possible to show the cpu and gpu temperature?
Thank you for your attention.

Freedesktop SDK 19.08 runtime is no longer supported as of September 1, 2021.

Hello.
When i was running flatpak update last day i got this information:
Informacja: org.freedesktop.Platform jest niewspierane z powodu: The Freedesktop SDK 19.08 runtime is no longer supported as of September 1, 2021. Please ask your application developer to migrate to a supported version
Informacja: org.freedesktop.Platform.VAAPI.Intel jest niewspierane z powodu: The Freedesktop SDK 19.08 runtime is no longer supported as of September 1, 2021. Please ask your application developer to migrate to a supported version
Informacja: org.freedesktop.Platform.Locale jest niewspierane z powodu: The Freedesktop SDK 19.08 runtime is no longer supported as of September 1, 2021. Please ask your application developer to migrate to a supported version
Informacja: org.freedesktop.Platform.GL.default jest niewspierane z powodu: The Freedesktop SDK 19.08 runtime is no longer supported as of September 1, 2021. Please ask your application developer to migrate to a supported version

Those are Kodi flatpak dependencies. I think this is also good occasion to fix neverending issue with missing nmblookup in flatpak Kodi ( #71 ).

ImportError: No module named PIL

I use the skin Embuary which in turn uses the addon script.embuary.helper
The addon gives the following error every time I launch Kodi or the skin wants to do anything with images.
The relevant error from the debug log:

ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
 - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.ImportError'>
Error Contents: No module named PIL
Traceback (most recent call last):
  File "/home/Ken/.var/app/tv.kodi.Kodi/data/addons/script.embuary.helper/service.py", line 6, in <module>
	from resources.lib.service_monitor import *
  File "/home/Ken/.var/app/tv.kodi.Kodi/data/addons/script.embuary.helper/resources/lib/service_monitor.py", line 12, in <module>
	from resources.lib.utils import split
  File "/home/Ken/.var/app/tv.kodi.Kodi/data/addons/script.embuary.helper/resources/lib/utils.py", line 20, in <module>
	from resources.lib.image import *
  File "/home/Ken/.var/app/tv.kodi.Kodi/data/addons/script.embuary.helper/resources/lib/image.py", line 12, in <module>
	from PIL import ImageFilter,Image,ImageOps
ImportError: No module named PIL
-->End of Python script error report<--
DEBUG: onExecutionDone(6, /home/Ken/.var/app/tv.kodi.Kodi/data/addons/script.embuary.helper/service.py)

Here is the full Kodi debug log.
The importerror happens in the following file from the addon: https://github.com/sualfred/script.embuary.helper/blob/master/resources/lib/image.py

This might be a similar issue to #40. But here python2 needs Pillow.

I have the current flatpak installed. Running "flatpak info tv.kodi.Kodi" gives this:

$ flatpak info tv.kodi.Kodi
Ref: app/tv.kodi.Kodi/x86_64/stable
ID: tv.kodi.Kodi
Arch: x86_64
Branch: stable
Origin: flathub
Collection ID: org.flathub.Stable
Date: 2019-09-06 15:49:32 +0000
Subject: Update the visualization.goom addon (760e5d4e)
Commit: 65f284f61eadf2dfeb5fd238e0c930f5000f3c4e0557a8b7b4ad5d06538f55a5
Parent: 8ca27e4fbae66709e9c318da71bc55294234b7e7ab7d643ca855b2ccc39140d4
Location: /var/lib/flatpak/app/tv.kodi.Kodi/x86_64/stable/65f284f61eadf2dfeb5fd238e0c930f5000f3c4e0557a8b7b4ad5d06538f55a5
Installed size: 300.3 MB
Runtime: org.freedesktop.Platform/x86_64/18.08
Sdk: org.freedesktop.Sdk/x86_64/18.08

Bluray playback?

Hello,
bluray playback isn't working in kodi flatpak. It says that it can't decrypt the disc.
Is it possible to play bluray in the flatpak version of kodi?

Thanks for your support.

Can't use external player

Is there a way to use an external player i.e. mpv in Kodi flatpak version?

When using a normal Kodi version you need to add this in the ~/.kodi/userdata/playercorefactory.xml

<playercorefactory>
  <players>
    <player name="MPV" type="ExternalPlayer" audio="false" video="true">
      <filename>/usr/bin/mpv</filename>
      <args>--fs=yes "{1}"</args>
      <hidexbmc>false</hidexbmc>
    </player>
  </players>
  <rules action="prepend">
    <rule video="true" player="MPV"/>
  </rules>
</playercorefactory>

So I copied file to the flatpak location:

~/.var/app/tv.kodi.Kodi/data/userdata/playercorefactory.xml

And it doesn't work:

sh: line 1: /usr/bin/mpv: No such file or directory

I have also tried to enable additional permissions via Flatseal app, same result.

RetroPlay Doesn't Work

RetroPlay doesn't seem to be working. No roms whatsoever are recognized and Libretro all in all does not seem to be available in the flatpak version.

AC3 transcoding broken with FFmpeg 4.4

The latest update broke AC3 transcoding for me, so for example with AAC tracks I don't get any audio output.

This is probably caused by the switch to FFmpeg 4.4 in 8daa5ba, because I just recently encountered the same problem with the Debian package and figured I'd switch to the Flatpak to work around this 😅

There's a fix in Kodi 20.x but backporting seems tricky.

Could the Flatpak maybe revert to FFmpeg 4.3 for now?

Workaround

I was able to downgrade to the previous version with:

sudo flatpak update --commit=0670d916732866f75a7df4ef50a6e07a3ba05beda445294e90b8df6043bb928a tv.kodi.Kodi

Binary addon (especially vfs.sftp)

Hi,

the readme build notes mentions the vfs.sftp addon (and the required testing) but I can't find it under tv.kodi.Kodi/x86_64/.../files/lib/kodi/addons dir.

Any pointers on how to build it for flatpaked Kodi?

Webserver configuration entry missing in Matrix v19.0.0

This is just an additional issue with the already identified dependency problems. I just want to leave it here to let you know that the remote control webserver is also affected.
#103 should fix this since libmicrohttpd dependency is added.

There is #101, but I think the webserver is not the problem there.

I don't need help or so just leave it openuntil #103 is closed. (I can help if help is needed)

How to deal with missing libraries and addons ?

Hi,

New to Kodi, I installed the flatpak version 19. I started messing around with addon but sometimes they require some specific libraries.
For example, Netflix addon from Castagnait requires pycryptodomex.

Right now, I'm unable to use this plugin. Not sure to whom it should fall under. I thought maybe you could either integrate it or redirect me to some relevant flatpak documentation.

Using a remote control

Hi,

I've got a MCE remote control. Is there a way to make it work with the flatpak version of kodi ?

Thanks

Error Contents: No module named PIL.Image

The script.extendedinfo gives me an error when I try to view the actors info.
This happens if I press "up-key" on an Actor image.
I am using the default skin "Estuary".
error
As it seems this problem is related to youtube.dl.
The error indicates that there is something missing from python (PIL.Image).

If you have any questions please let me know.

19:50:36.689 T:139900296881920 NOTICE: script.module.youtube.dl: youtube_dl core version: 2018.11.07
19:50:36.708 T:139900296881920 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.ImportError'>
Error Contents: No module named PIL.Image
Traceback (most recent call last):
File "/home/afrase/.var/app/tv.kodi.Kodi/data/addons/script.extendedinfo/default.py", line 63, in
Main()
File "/home/afrase/.var/app/tv.kodi.Kodi/data/addons/script.extendedinfo/default.py", line 37, in init
listitems = process.start_info_actions(info, self.params)
File "/home/afrase/.var/app/tv.kodi.Kodi/data/addons/script.extendedinfo/resources/lib/process.py", line 348, in start_info_actions
name=params.get("name"))
File "/home/afrase/.var/app/tv.kodi.Kodi/data/addons/script.extendedinfo/resources/lib/WindowManager.py", line 155, in open_actor_info
from dialogs.DialogActorInfo import DialogActorInfo
File "/home/afrase/.var/app/tv.kodi.Kodi/data/addons/script.extendedinfo/resources/lib/dialogs/DialogActorInfo.py", line 11, in
from kodi65 import imagetools
File "/home/afrase/.var/app/tv.kodi.Kodi/data/addons/script.module.kodi65/lib/kodi65/imagetools.py", line 9, in
import PIL.Image
ImportError: No module named PIL.Image
-->End of Python script error report<--

Fullscreen Mode Should Inhibit Display Sleep

When Kodi is running in fullscreen mode, the display should not go to sleep. Currently, if a user is watching a video in fullscreen, they need to press a key or move the mouse every few minutes to wake the display.

The bug seems to be caused by a missing permission in the Flatpak manifest. Adding the following permission fixes this: --talk-name=org.freedesktop.ScreenSaver

Kodi Crashes on Wayland but Runs Fine on X11

When running Kodi under GNOME Wayland, it crashes before even starting up with the following error:

libva info: VA-API version 1.5.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nouveau_drv_video.so
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/intel-vaapi-driver/nouveau_drv_video.so
libva info: Trying to open /usr/lib/x86_64-linux-gnu/GL/lib/dri/nouveau_drv_video.so
libva info: Found init function __vaDriverInit_1_5
libva info: va_openDriver() returns 0
terminate called after throwing an instance of 'std::system_error'
  what():  wl_display_dispatch_pending: Protocol error

However, when launched through X11, it runs perfectly fine.

Matrix?

Hi, has anyone tried to port it to Matrix already?

Can't use external hard disk as Media Source

Hi,

I want to Kodi to use my external hard drive mounted at "/run/media/bastianilso/harddrive" as media source, but it seems that this path is not accessible from the Flatpak.

  • What is the right way to address this issue in the long run? Does Kodi need to implement a portal here? Or is it on the Flatpak manifest permission side of things?

  • is there a temporary Flatpak CLI command workaround that can be used to make my external harddrive accessible (punching a hole in the sandbox) for now?

ffmpeg missing SSL/TLS support

08:17:08.316 T:140629912844032 DEBUG: ffmpeg[7FE6F3FFF700]: https protocol not found, recompile FFmpeg with openssl, gnutls or securetransport enabled.
08:17:08.316 T:140629912844032 DEBUG: Error, could not open file https://apasfiis.sf.apa.at/ipad/cms-worldwide/2019-01-13_0900_tl_02_ZIB-9-00_Schnee--Entsche__14001221__o__1474638786__s14429231_1__ORF2HD_09001217P_09011616P_Q8C.mp4/playlist.m3u8

this happens for all https urls passed to ffmpeg directly.

Fix: FFmpeg must be compiled with openssl or gnutls support

Feature request - FLAC export, MODs playback

I would be very happy, if some audio encoders/decoders would be available inside flatpak. I believe FLAC and OpenMPT are most important.
If they just need to be built (compiled) then i can do it, just let me know how to do it (step by step guide would be helpful).

HW decoding

Thanks for this amazing work!

In Kodi settings, there is no way to enable/disable va-api or other HW decoding API.
Is there any technical limit to enable this ?

wayland executable?

Is there a wayland executable? Or is wayland support disabled at the moment for the Flatpak version of Kodi? Regards, Achim

ARM version missing on flathub

I already complained at the Kodi guys but they declined to support flatpak, unfortunately.
xbmc/xbmc#17700

Since an ARM release exists (e.g. for raspi) I guess it should be possible to repack it into a flatpak package.
Thank you.

Use flatpak extensions

Using extensions for binary addons would improve user experience greatly, especially since Kodi 19 ask you about enabling every installed binary addon. It would also help halve the install size and enable individual updates of addons instead of grouping them together with releases.

Could this be done with the optional dependencies as well? If so, that would be great. Otherwise, adding all optional dependencies to the installation would resolve compatibility issues as well.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.