Posts by vpeter
-
-
-
-
-
I personally newer had start problem.
Check log file if you see anything useful there: /storage/.kodi/userdata/addon_data/service.mariadb/mysqld.log
If not try to reinstall addon.
-
@things are not supported in cron from busybox.
More crontab @reboot command in LE
In autostart.sh just add sleep command for few seconds or make better way until network is really up (like loop until file is succcesfully downloaded) and then download file. Don't put this commands in background.
Loop like
Code
Display Morefor i in $(seq 1 120); do curl -m 5 --retry 2 --retry-max-time 5 -o /storage/downloads/file.m3u8.tmp http://server/path/file.m3u8 if [ "$?" = "0" ]; then # dl ok mv /storage/downloads/file.m3u8.tmp /storage/downloads/file.m3u8 sync break fi rm -f /storage/downloads/file.m3u8.tmp sleep 1 done
-
(
sleep 5
) &
/storage/.kodi/myscript.sh &
This doesn't make much sense because sleep is executed in background and myscript is executed at the same time.
-
True, PATH can't be set here because it is overwritten later.
But bin folder from addon is automatically add to it. So move everything under /storage/.kodi/addons/node.js folder.
My all commands to make it happen:
Code
Display Moremkdir -p /storage/.kodi/addons/node.js/profile.d cd /storage/.kodi/addons/node.js echo "export NODEJS_HOME=/storage/.kodi/addons/node.js" >profile.d/node.js.profile wget https://nodejs.org/dist/v10.15.3/node-v10.15.3-linux-armv6l.tar.xz tar --strip-components=1 -xf node-v10.15.3-linux-armv6l.tar.xz rm node-v10.15.3-linux-armv6l.tar.xz # exit terminal and login again LibreELEC:~ # node -v v10.15.3 LibreELEC:~ # ls -al $NODEJS_HOME total 153 drwxr-xr-x 7 root root 1024 Apr 17 08:35 . drwxr-xr-x 45 root root 3072 Apr 17 08:35 .. drwxrwxr-x 2 500 500 1024 Apr 17 08:35 bin -rw-rw-r-- 1 500 500 53097 Mar 5 16:53 CHANGELOG.md drwxrwxr-x 3 500 500 1024 Apr 17 08:35 include drwxrwxr-x 3 500 500 1024 Apr 17 08:35 lib -rw-rw-r-- 1 500 500 65839 Mar 5 16:53 LICENSE drwxr-xr-x 2 root root 1024 Apr 17 08:35 profile.d -rw-rw-r-- 1 500 500 26697 Mar 5 16:53 README.md drwxrwxr-x 5 500 500 1024 Apr 17 08:35 share
-
The usb creator creates an installation usb not an OS. Then you boot from it and install to the HDD.
If you change in file syslinux.cfg line DEFAULT installer to DEFAULT run it will run from this same stick. and no need to install it anywhere.
-
Create file /storage/.kodi/addons/http://node.js/profile.d/node.js.profile and put both export variables NODEJS_HOME and PATH inside.
-
This doesn't work even within the same bash script; it says node can't be found.
What is the exact error?
And isn't S912 just arm (32 bit)?
-
-
Pay attention. To properly boot the system to SD card on Odroid N2 you need to switch the startup u-boot was installed on SD\eMMC. (that is, the position that is used in the release of equipment from the plant).
I know this is Google translate but come on
-
I don't know anyone who would have QP.
Maybe in 2 or 3 years there will be something
But thank you for your work anyway.
-
Maybe you need to change User-Agent in Chrome?
-
As written here MariaDB mysql server addon
QuoteKodi user can't connect on localhost but only on real ip address. That's why you need to use -h parameter
mysql -u kodi -p -h <real ip address of the server>
Ignore PID file error.
-
-
Enable "Wait for network": LibreELEC Settings [LibreELEC.wiki]
And I think this is not legal playlist?