Author: giaur500

Kodi 17 ?

[Copy link]

0

threads

18

posts

58

credits

Registered member

Rank: 2

credits
58
Published in 2017-4-14 00:13:27 | Show all floors
kaynemo replied at 2017-4-13 23:35
Nice !!! I seem to have managed to do everything , except the stupid PVR IPTV Simple addon instalati ...

Hi kaynemo,
it is possible to build this addon running the command

PROJECT=H3 ARCH=arm scripts/create_addon pvr.iptvsimple

after setting up the Libreelec 8 build envinronenment and  image build.



0

threads

25

posts

309

credits

Intermediate member

Rank: 3Rank: 3

credits
309
Published in 2017-4-14 00:33:41 | Show all floors
amicrodev replied at 2017-4-14 00:13
Hi kaynemo,
it is possible to build this addon running the command

Sorry for being a n00b, when exactly (according to your instructions can that command be entered?) it surely cannot be after
ARCH=arm PROJECT=H3 SYSTEM=opipc  make image

right?

0

threads

18

posts

58

credits

Registered member

Rank: 2

credits
58
Published in 2017-4-14 00:43:48 | Show all floors
Edited by amicrodev at 2017-4-14 00:55
kaynemo replied at 2017-4-14 00:33
Sorry for being a n00b, when exactly (according to your instructions can that command be entered?) ...

Hi kaynemo,
it is the same command jernej described in the FAQ

http://www.orangepi.org/orangepi ... 1077&extra=page%3D1

PROJECT=H3 ARCH=arm scripts/create_addon pvr.iptvsimple

You have first to follow the instructions to clone the github ad the build envinronment as described in the article

http://www.microdev.it/wp/en/201 ... ec8-in-orangepi-pc/

Follow the instructions to setup the operating system  too, Debian in my case, and the required linux packages.
In the article there are the links to the various steps for the operating system and prerequisites. The envinronment is the
same used to build jernej Openelec 7.
The command

PROJECT=H3 ARCH=arm scripts/create_addon pvr.iptvsimple

is used to build the addons after the image build, so you first build the image with the command (for opipc)

ARCH=arm PROJECT=H3 SYSTEM=opipc  make image


After the image build completed correctly and you have the image available in the target directory, from the same folder you can build the addon pvr iptv simple
with the command

PROJECT=H3 ARCH=arm scripts/create_addon pvr.iptvsimple



0

threads

25

posts

309

credits

Intermediate member

Rank: 3Rank: 3

credits
309
Published in 2017-4-14 01:53:42 | Show all floors
Ok, gotcha. (Somehow I was fool enough to start building the addon BEFORE the actual image... so... there).  But from what you are saying, I get that the addon (if it is built after the image) will not be included in the image itself, therefore it doesnt really matter. Let's say I don't stop the building of the addon now and let it build, am I right to understand:
- the addon will be built as a file in a target folder
- later the image will be built in the target folder as a separate file
- if all goes ok, I boot and install from the image Libreelec on the board
- add the addon through, let's say a usb stick and make it install?

Right?
This is the first time I am buiding an image, so don't be hard on me for asking questions ))) If the image builds right and the addon as well, I will post it here for download.

Regards

0

threads

18

posts

58

credits

Registered member

Rank: 2

credits
58
Published in 2017-4-14 02:47:04 | Show all floors
kaynemo replied at 2017-4-14 01:53
Ok, gotcha. (Somehow I was fool enough to start building the addon BEFORE the actual image... so...  ...

Hi,
it is correct; the addon is not included in the image.
All the images and addons are availabbe, after the building, in the target directory; the images are available in the root directory while the addons in the target/addons subdirectory.
Here are the specific answers:

- the addon will be built as a file in a target folder
yes in a subfolder.

- later the image will be built in the target folder as a separate file
The image is the first to build.  The building of the addon is to run after the image.

- if all goes ok, I boot and install from the image Libreelec on the board
You create the sd card with the built image and boot the system. The image for Orange PI PC is available on the article linked above. If you have another board you can run a build for your board (opi+2?).

- add the addon through, let's say a usb stick and make it install?
The addon is a zip file. You can copy it to an usb stick or copy it  using another pc to a samba directory, shared by Libreeelc, like downloalds. You have to enable samba protocol on Libreelec.

You can install it from Libreelec choosing a local addon installation.







0

threads

25

posts

309

credits

Intermediate member

Rank: 3Rank: 3

credits
309
Published in 2017-4-14 03:05:43 | Show all floors
Awesome !! Live and learn (i am a film producer, ha ha) ok, I stoppped the addon build as per your instructions and initiated an image compile instead (it will take until tomorrow, 9-12 hours, as per FAQ). After the image is compiled, I will compile an addon, all the while testing the image on my board. If the image works, I will post it to the forum.

Thanks for all your help and instructions.

Regards

0

threads

25

posts

309

credits

Intermediate member

Rank: 3Rank: 3

credits
309
Published in 2017-4-14 23:32:32 | Show all floors
Edited by kaynemo at 2017-4-14 23:58

The image compiled and, right at the end of compilation process an error:

Error: [Filesystem error] /tmp/tmp.zbGmDiArlv/part2.ext4 cannot be opened

The image file was created, but when flashed to SD Card and mounted shows only one partition LIBREELEC..

I found a solution to add
mke2fs -F -q -t ext4 -m 0 -O ^64bit,^metadata_csum "$LE_TMP/part2.ext4"
to /sripts/mkimage

But I don't know whether I need to compile the whole image from scratch now or can I recompile an image from a .tar file and if I can - how do I do that?

Regards

0

threads

18

posts

58

credits

Registered member

Rank: 2

credits
58
Published in 2017-4-15 00:01:02 | Show all floors
kaynemo replied at 2017-4-14 23:32
The image compiled and, right at the end of compilation process an error:

Error: [Filesystem error] ...

Try the solution described here

https://forum.libreelec.tv/thread-2586-post-27679.html

1.) If whole build is already done then mke2fs should disable some features (64bit,metadata_csum).
The line should look like this in file scripts/mkimage:

mke2fs -F -q -t ext4 -m 0 -O ^64bit,^metadata_csum "$LE_TMP/part2.ext4"

0

threads

25

posts

309

credits

Intermediate member

Rank: 3Rank: 3

credits
309
Published in 2017-4-15 02:15:03 | Show all floors
Edited by kaynemo at 2017-4-15 02:18

OK yeah !!!! The image is built and booted and working !!!! Thanks so much amicrodev !!!

Here is the image, it is compiled for opiplus, but it runs on opi+2 (Libreelec 8 Kodi 17)

Libreelec 8 Kodi 17 Opiplus

I've also compiled working PVR IPTV Simple addon that works, you can download it from this post.

The build is probably buggy (some skins won't install and Libreelec Repo is unreachable etc.) but it works.

To install to emmc:

1. ssh into the box.
2. Enter:
  1. cp /usr/bin/emmc_install.sh /storage
Copy code
  1. nano /storage/emmc_install.sh
Copy code

In nano, line 12 change the openelec subfolder to libreelec
then

  1. chmod +x /storage/emmc_install.sh
Copy code


  1. /storage/emmc_install.sh
Copy code

Follow the prompts, then reboot.

That's it.

Many, many, many thanks to jernej for patches and amicrodev for his instructions on how to build the image and a lot of patience.

Regards



This thread contains more resources

You need to Log in to download or view,No account?    Register

x

0

threads

2

posts

144

credits

Registered member

Rank: 2

credits
144
Published in 2017-4-15 03:24:27 | Show all floors
Hi,
Works fine, but 720p slightly lag, 1080p lag
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list