Kodi in openatv 7.6

Kodi working

Very painful to make it working. But something is being to become possible.

If Kodi, in you new OpenAtv installation (after restoring settings from another release) starts only from an external device (the device you used to restore settings and flash the new image) you can try to modify the kodi script in /usr/bin.

In this way:

you can reach your decoder from your PC via terminal, with something like

:~$ ssh root@sf8008.local 

if you have more than a partition on your decoder, you have to change your keys every time (each partition has its own keys), so you have to begin with:

:~$ ssh-keygen -R sf8008.local
# Host sf8008.local found: line 1
/home/[your-username]/.ssh/known_hosts updated.
Original contents retained as /home/[your-username]/.ssh/known_hosts.old
:~$ ssh root@sf8008.local
kf.notifications: Failed to play sound with canberra: File or data not found
Warning: Permanently added 'sf8008.local' (ED25519) to the list of known hosts.
root@sf8008:~# 

and then you can do
nano /usr/bin/kodi

find something like

[ -d /media/mmc ] && export HOME="/media/mmc"
[ -d /media/hdd ] && export HOME="/media/hdd"

and replace it with

ountpoint -q /media/hdd && export HOME="/media/hdd"
mountpoint -q /media/mmc && export HOME="/media/mmc"  


in my case, it did the trick.

Wrong zoom

To avoid a wrong zoom and a wrong position of the resized screen (with a black space on left and part of Kodi screen invisible, impossible to set/fix), avoid to start Kodi standalone (in Openatv – >plungis browser -> Kodi).

Fine tuning

However there were still big problems:

  • no way to reach a chapter and see that video normally (you can see a very slow video, almost still),
  • no way to resume a video from the last position,
  • no way to go forward or rewind (using the left right key).

Today I managed to resolve the first two ones:

  • settings – > player -> adjust display rate -> always
  • settings – > player -> sync playback -> on
  • settings – > player -> allow hardware acceleration – STB -> off

    as you can see in the screenshot below

Problems in OpenATV 7.6 can see found in their forum.

Kodi in OpenaTV 7.4

After months, today I managed to get Kodi work in my OpenATV 7.4. In this way

  • I downloaded this file from OpenaTV forum
  • and copied the 7.4 content in /usr/bin decoder folder
  • then modified the file advancedsettings.xml (in /usr/share/kodi/system), to set Enigma2Player instead of E2player as Kodi default video player.

Now I have Kodi working in OpenaTV 7.4

Warning: with this release (7.4) it occurs that Kodi freezes.

In that case, reboot and put the usb with saved settings.

symlinks on linux decoder

You need to have a relative symlink (like “../../folder/file” or “folder/folder/file”), not an absolute one /(like “/mnt/your-path/file”): this latter indeed is effectual only in your computer, not on decoder (or in whatever other device).