Commit graph

71 commits

Author SHA1 Message Date
Matthias Reichl
8149aa0138 kodi: include kmsprint output in pastekodi
Signed-off-by: Matthias Reichl <hias@horus.com>
2023-01-28 15:31:53 +01:00
CvH
a43bc8f04c
Merge pull request #5648 from mglae/le11_current_crash_log
[le11] kodi.sh: never delete just created crash log
2021-10-02 13:40:38 +02:00
mglae
879bc5955b kodi.sh: never delete just created crash log
If system time was not set via NTP on RTC-less devices, current log may have
the oldest time stamp.
2021-09-16 20:04:25 +02:00
Portisch
bc3f52365c kodi-config: LIBC_WIDEVINE_PATCHLEVEL is obsolete since script.module.inputstreamhelper v0.5.8 2021-09-15 09:19:01 +02:00
mglae
c5677c2853 pastekodi: only log current boot in case of persistent journal 2021-08-08 11:48:42 +02:00
Gábor Deé
936554d8ec kodi-config: add LIBC_WIDEVINE_PATCHLEVEL for arm*/aarch64 2021-07-01 18:19:11 +02:00
Matthias Reichl
addab9b783 Revert "kodi: service addon wrapper call fix"
This reverts commit 3fc36563b1.

This fixes service addons not being started after installation.

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-03-17 16:57:38 +01:00
Matthias Reichl
b2a6e313df pastekodi: cleanup RPi bootloader version report
The check for "unsupported command" was wrong as vcgencmd outputs
that on stderr (which isn't captured), not stdout.

Current RPii0-3 firmwares support the command and report "unknown",
so the whole check can be dropped and we can simply add the output
of the vcgencmd command.

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-03-03 00:27:37 +01:00
Matthias Reichl
d2a3ccbfbe pastekodi: use short-precise journal format
Having timestamps with microsecond precision instead of only
seconds makes it easier to analyse timing issues and cross-reference
entries with kodi log (which has millisecond timestamps).

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-03-03 00:27:37 +01:00
Matthias Reichl
cbd6c1f82a pastekodi: list .config, system.d and udev.rules.d files
/storage/.config/system.d is listed recursively so we also
see contents of .wants and drop-ins etc directories

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-03-03 00:26:30 +01:00
Matthias Reichl
0cab4ec777 pastekodi: include get_throttled output on RPi
This will quickly tell us if the RPi is suffering from undervoltage
or overtemperature issues.

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-03-02 12:56:00 +01:00
chewitt
f0f2759260 kodi: add m (mute) to kodi-remote script 2020-06-30 05:11:04 +00:00
MilhouseVH
56745c566c pastekodi: avoid cmp this is installed by system-tools 2020-01-07 01:04:02 +00:00
mglae
b80f7dec98 kodi: pastekodi: log cacert.pem if needed 2019-12-10 22:18:44 +01:00
Matthias Reichl
d84e7ac473
Merge pull request #3987 from MilhouseVH/le10_kodi_config_fix
kodi-config: create userdata when it doesn't exist
2019-11-17 21:28:58 +01:00
MilhouseVH
df1c3298ff kodi-config: create userdata when it doesn't exist 2019-11-16 03:17:47 +00:00
John Sullivan
e12e8cb7c4 Make kodi-config return a zero exit status 2019-11-15 17:02:39 +00:00
MilhouseVH
74e48d0797 kodi/xml_merge.py: make python3 compatible; bug fixes
* decode byte object
* f was not visible in exception, resulting in an unhanled second exception
* fix indenting
2019-10-29 12:19:07 +00:00
MilhouseVH
97f87d8e9c packages: switch from Python2 to Python3 2019-10-29 12:19:07 +00:00
MilhouseVH
e26186a9d7 pastekodi: add option to allow output to stdout 2019-10-04 19:03:20 +01:00
MilhouseVH
106e581a00 kodi: fix pastekodi efi check 2019-09-25 15:59:00 +01:00
MilhouseVH
1f164f648c kodi: add pastekodi script 2019-09-15 17:53:16 +01:00
Christian Hewitt
48c24ea4a5
Merge pull request #3382 from kszaq/arm_mmap_threshold
kodi: set MALLOC_MMAP_THRESHOLD_=8192 for aarch64 kernels
2019-04-03 08:21:02 +04:00
kszaq
6ddfbd57cb kodi: set MALLOC_MMAP_THRESHOLD_=8192 for aarch64 kernels
Currently there are no targets that use aarch64 userspace - they run aarch64 kernel
and arm userspace. Make them use MALLOC_MMAP_THRESHOLD_=8192 which greatly helps
to lower memory fragmentation.
2019-03-26 21:57:55 +01:00
MilhouseVH
d4f6326142 packages: align source code licence usage with project licence 2019-03-26 18:05:50 +00:00
mglae
bc80ee9d39 kodi.sh: upgrade crash log information 2019-02-18 23:31:05 +01:00
vpeter4
3fc36563b1 kodi: service addon wrapper call fix
Currently when addon is installed it's service is enabled and started.
But immediately service is stopped, disabled, enabled and started again.
This second part should be executed only on addon's update.
2018-12-28 14:26:17 +01:00
MilhouseVH
0af4984740 kodi: use project specific cputemp scripts for all projects 2018-11-02 15:53:33 +00:00
MilhouseVH
6d5760e9f7 kodi: more easily support user configuration 2018-10-28 14:50:40 +00:00
CvH
e79b5215c9 kodi: add kodi-remote script 2018-10-18 15:20:41 +02:00
mglae
5a9f7f2819 cputemp: add amdgpu, prefer dedicated gpu 2018-08-19 10:02:50 +02:00
CvH
92c3defd4b spdx: packages/mediacenter 2018-07-18 20:44:40 +02:00
chewitt
f2eb55d803 kodi: add scpi_sensors to cputemp script 2018-07-06 11:38:48 +04:00
mglae
97338e3757 kodi.sh: return zero on succesful exit 2018-06-23 15:24:19 +02:00
MilhouseVH
708f460e58 kodi: drop --lircdev 2018-04-18 20:46:21 +01:00
cvh
5a2cdfd0ea kodi: remove rss hack 2018-04-06 11:58:23 +02:00
MilhouseVH
0eb317550c kodi: fix kodi.sh typo 2018-03-07 23:21:15 +00:00
MilhouseVH
fab61261ed kodi: reduce arm memory fragmentation
Refs: https://forum.kodi.tv/showthread.php?tid=298461&pid=2696616#pid2696616
      https://github.com/LibreELEC/LibreELEC.tv/pull/1286
2018-03-04 16:04:27 +00:00
MilhouseVH
03a4cd0cec kodi-config: detect boot loop, start clean 2017-12-14 17:58:59 +00:00
Jonas Karlman
511b1d2b27 kodi: fix appliance.xml merge
Only combine elements with matching attributes,
fixes merge of appliance.xml
2017-10-14 22:46:20 +02:00
Matthias Reichl
63cd138942 kodi: correct URL in service addon wrapper header
Signed-off-by: Matthias Reichl <hias@horus.com>
2017-10-12 22:18:02 +02:00
Matthias Reichl
95bfafd60d kodi: support kernel overlays in service addon wrapper
update context is intended to be used on settings change.
This can later be extended to support selecting between
multiple overlays in an addon via config files in the
addon userdata dir.

Signed-off-by: Matthias Reichl <hias@horus.com>
2017-10-12 20:04:02 +02:00
Matthias Reichl
89e6d75a40 kodi: refactor service addon wrapper
Simplify the kodi addon wrapper patch, pass call hook context and
addon path on to wrapper instead of just enable/disable.

The logic of what should happen with service addons on
enable/disable/install/uninstall is moved out of kodi
into the wrapper script.

Also add restart and reload contexts so service addons can call
the wrapper from python code on settings change instead of having
to directly interact with systemctl.

Signed-off-by: Matthias Reichl <hias@horus.com>
2017-10-12 19:59:11 +02:00
MilhouseVH
571a8397ff kodi: switch to using find to avoid argument limit 2017-09-24 16:04:03 +01:00
MilhouseVH
5af4b34b56 kodi: remove zero-byte database files at startup 2017-04-23 13:27:32 +01:00
MilhouseVH
4e458eb085 kodi: xml_merge.py support unlimited inputs, abort on error 2017-03-15 01:16:05 +00:00
MilhouseVH
24e804e7da Merge pull request #1347 from lrusak/kodi-xml
merge xml files during installation of kodi
2017-03-14 18:18:54 +00:00
Lukas Rusak
8fd902f197
kodi: add xml_merge.py script to process xml files during installation 2017-03-14 11:02:00 -07:00
Lukas Rusak
1cd2d3a3e9
kodi: adjust cputemp/gputemp script 2017-03-14 11:00:10 -07:00
popcornmix
18222d2c2d
kodi: set MALLOC_MMAP_THRESHOLD_=524288 for 64bit cpus 2017-02-06 19:06:37 -08:00