Themabewertung:
  • 0 Bewertung(en) - 0 im Durchschnitt
  • 1
  • 2
  • 3
  • 4
  • 5
Hi all, small question
#81
Yes, of course, I tried to install each version from 1.3.6k to 1.3.6o, but pibus did not start with each of them.
Antworten
#82
try to set back the system name to osmc.
IBusCommunicator:
Image <> Kodi Addon

[Bild: usersignaturpic-14941mspx.jpg]
Antworten
#83
(29.12.2018, 13:41)harryberlin schrieb: try to set back the system name to osmc.

It worked, but why? I changed the name to osmc, and the pibus LED began to flash.
A am installed plugin.script.ibuscommunicator-1.3.6o.zip with sustem name osmc, it worked.
log files of kodi with ibuscommunicator-1.3.6k and ibuscommunicator-1.3.6o attached.
Thanks in advance!

Sorry, what about with differens system name?


Angehängte Dateien
.log   kodi_1.3.6k.log (Größe: 73,31 KB / Downloads: 0)
.log   kodi_1.3.6o.log (Größe: 42,41 KB / Downloads: 0)
Antworten
#84
i should try to check the system with other method.
IBusCommunicator:
Image <> Kodi Addon

[Bild: usersignaturpic-14941mspx.jpg]
Antworten
#85
(29.12.2018, 20:54)harryberlin schrieb: i should try to check the system with other method.

Maybe implement the system identification like Peter Zelezny did when installing pibus software?


Code:
uname -a | grep -i osmc > /dev/null
if [ $? -eq 0 ]; then
    OSMC="1"
    HOMEDIR="/home/osmc"
    CONFIGDIR="/boot"
    FLAGS="-c22 -v4"
else
    # OpenELEC
    OSMC="0"
    HOMEDIR="/storage"
    CONFIGDIR="/flash"
    FLAGS="-c22 -v4"
fi

cd ${HOMEDIR}
if [ $? -ne 0 ]; then
    exit 2
fi
install_autostart
install_pibus
install_skin
install_dac_overlay
install_pi3_overlay

As far as I understand, this is a mistake in system identification, since you entered the system definition by host name, and if the host name is not osmc, then the installation principle for another system, for example LibreElec, is launched.
Did I understand this situation correctly?
Antworten
#86
try version 1.3.6p.

this is my method:
Code:
def is_osmc():
   result = os.popen('uname -n').read().lower()
   if 'osmc' in result:
       return True
   if 'bmwraspcontrol' in result:
       return True
   else:
       return False

i will change to this:
Code:
def is_osmc():
   result = os.popen('uname -n').read().lower()
   if 'osmc' in result:
       return True
   if 'bmwraspcontrol' in result:
       return True
   result = os.popen('uname -a').read().lower()
   if 'osmc' in result:
       return True
   return False
IBusCommunicator:
Image <> Kodi Addon

[Bild: usersignaturpic-14941mspx.jpg]
Antworten


Gehe zu:


Benutzer, die gerade dieses Thema anschauen: 1 Gast/Gäste