Jump to content


Photo

Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit


  • Please log in to reply
2062 replies to this topic

Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1461 1455

  • Senior Member
  • 407 posts

+12
Neutral

Posted 29 January 2019 - 10:08

I propose to discuss this in messenger.


GIT OpenPLi-PC_Python2

GIT OpenPLi-PC_Python3

 

 

 

 

 

 

 

 

 

 

 

 
 

 

 


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1462 roxette

  • Senior Member
  • 161 posts

+1
Neutral

Posted 29 January 2019 - 15:34

What version of Ubuntu is installed? djmount_0.71-7.1_amd64.deb available for 18.04.

It works on Ubuntu 16.04, i dunno if it will work on 18.04 or not.

I forget to mention that you have to compile and install portable SDK for UPnP devices (libupnp) which i attached.

 
I think streaming was working in standby mode in any Enigma2 version which was build before 01-01-2019.
 
I already looked in your RESTORE page, you didn't upload enigma2 folder so the script will attempt to download Enigma2 latest version ... am i right?

Attached Files


Edited by roxette, 29 January 2019 - 15:35.


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1463 1455

  • Senior Member
  • 407 posts

+12
Neutral

Posted 29 January 2019 - 16:13

you didn't upload enigma2 folder so the script will attempt to download Enigma2 latest version ... am i right?

 

No. The patches in the RESTORE folder and git versions of enigma2 and plugins shown in the scrypts are different.


GIT OpenPLi-PC_Python2

GIT OpenPLi-PC_Python3

 

 

 

 

 

 

 

 

 

 

 

 
 

 

 


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1464 roxette

  • Senior Member
  • 161 posts

+1
Neutral

Posted 29 January 2019 - 23:15

 

you didn't upload enigma2 folder so the script will attempt to download Enigma2 latest version ... am i right?

 

No. The patches in the RESTORE folder and git versions of enigma2 and plugins shown in the scrypts are different.

 

 

commits.jpg

 

I thought all enigma2 build scripts will use git clone https://github.com/OpenPLi/enigma2.git

It seems that they are working on streaming in standby mode issue.

I will wait till it fixed then.

Anyway, i tried to make a fresh E2 installation today but it was failed due to the following error

 

dvb/decoder.cpp: In member function ‘int eDVBAudio::getPTS(pts_t&)’:
dvb/decoder.cpp:257:21: error: ‘AUDIO_GET_PTS’ was not declared in this scope
   if (::ioctl(m_fd, AUDIO_GET_PTS, &now) < 0)
                     ^~~~~~~~~~~~~
dvb/decoder.cpp: In member function ‘int eDVBVideo::getFrameRate()’:
dvb/decoder.cpp:692:19: error: ‘VIDEO_GET_FRAME_RATE’ was not declared in this scope
     ::ioctl(m_fd, VIDEO_GET_FRAME_RATE, &m_framerate);
                   ^~~~~~~~~~~~~~~~~~~~
 
Any idea?

Edited by roxette, 29 January 2019 - 23:15.


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1465 1455

  • Senior Member
  • 407 posts

+12
Neutral

Posted 30 January 2019 - 08:42

But you can return to your working configuration. Take the archive of an earlier date than when streaming stopped working with this plugin. Then do diff the current and old versions to find the reason.

I repeat what if you switch the plugin OpenWebif to a "new interface", then on the remote PC the stream is working in standby mode. Just onen the channel and the new window will suggestion to play m3u with any external player. VLC works exactly.


GIT OpenPLi-PC_Python2

GIT OpenPLi-PC_Python3

 

 

 

 

 

 

 

 

 

 

 

 
 

 

 


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1466 roxette

  • Senior Member
  • 161 posts

+1
Neutral

Posted 30 January 2019 - 15:29

The problem isn't the configuration, the problem is i want my old /usr/local/e2/bin/enigma2.

You didn't add any option to to back it in the scripts therefore it was overwritten.

How i can compile the old enigma2 if i will download the latest version?

I already tried everything before reporting the problem.

I tried so many OpenWebif versions, with or without new interface

It doesn't work in standby mode.

 

Anyway, nevermind.. how i can solve the below error?

dvb/decoder.cpp: In member function ‘int eDVBAudio::getPTS(pts_t&)’:
dvb/decoder.cpp:257:21: error: ‘AUDIO_GET_PTS’ was not declared in this scope
   if (::ioctl(m_fd, AUDIO_GET_PTS, &now) < 0)
                     ^~~~~~~~~~~~~
dvb/decoder.cpp: In member function ‘int eDVBVideo::getFrameRate()’:
dvb/decoder.cpp:692:19: error: ‘VIDEO_GET_FRAME_RATE’ was not declared in this scope
     ::ioctl(m_fd, VIDEO_GET_FRAME_RATE, &m_framerate);
                   ^~~~~~~~~~~~~~~~~~~~
It doesn't compile anymore on Ubuntu 16.

Edited by roxette, 30 January 2019 - 15:30.


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1467 1455

  • Senior Member
  • 407 posts

+12
Neutral

Posted 30 January 2019 - 19:41

How to build a version from RESTORE?

1. Download the desired archive.

2. Run the scripts in order (script 1 is deleted there and you don't need to download anything before) and you will receive the old version of Enigma2.
 
However, I suggest waiting until 01.02.19. I have almost everything ready. Fixed a call utf-8 encoding of the channel list in the OpenWebif plugin, the sound and annotation in YouTube no longer disappear, the version of the Enigma dated 30.01.19, which include a commit for stanby mode about which you wrote.


GIT OpenPLi-PC_Python2

GIT OpenPLi-PC_Python3

 

 

 

 

 

 

 

 

 

 

 

 
 

 

 


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1468 1455

  • Senior Member
  • 407 posts

+12
Neutral

Posted 30 January 2019 - 20:05

<-- The source folder, which was obtained as a result of compiling the last version, must be deleted. Then unpack the old archive and restart the scripts without downloading anything with script 1, which is deleted there. That's all.


GIT OpenPLi-PC_Python2

GIT OpenPLi-PC_Python3

 

 

 

 

 

 

 

 

 

 

 

 
 

 

 


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1469 roxette

  • Senior Member
  • 161 posts

+1
Neutral

Posted 30 January 2019 - 21:09

<-- The source folder, which was obtained as a result of compiling the last version, must be deleted. Then unpack the old archive and restart the scripts without downloading anything with script 1, which is deleted there. That's all.

 

e2.png

 

error.png

 

 

Thanks a lot 

I was trying to fix streaming in standby mode then i ended up with nothing.

I don't have Enigma2 anymore because /usr/local/e2/bin/enigma2 was deleted after i run the scripts.

Now i can't even compile it whether it's a new or old version.

 

I don't understand what do you mean by without downloading anything?
As soon as i run script # 4 it will start cloning into enigma2 (~80MB)

Edited by roxette, 30 January 2019 - 21:10.


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1470 roxette

  • Senior Member
  • 161 posts

+1
Neutral

Posted 30 January 2019 - 21:15

You should edit script # 4 and add a line to back up /usr/local/e2/bin/enigma2 to avoid this problem.

Now how can i get rid of the above error?

I can't compile enigma2 anymore and i lost my working version.



Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1471 1455

  • Senior Member
  • 407 posts

+12
Neutral

Posted 30 January 2019 - 23:28

Do you think it's my fault that I didn't rename the old binary file? :) I'll do it tomorrow and recompile on 16.04, but we need to cure the dampness, not the mold. :) That is, find the true cause.
 
Now without emotion let's do it in order.
The reasons for failure can be many. Starting from a banal mistake, to possible the file system damage.
Judging by the screenshots, for you just something didn't patched, which is a consequence, not a cause.
 
I beg you to do only as written. 
1) Make fsck from safe mode.
2) Remember what actions (updates) you performed these days or look at the apt reports in the /var/log folder.
3) Show me the output uname -a (perhaps there was a kernel update, a version of which is not provided).
4) Delete the source folder.
5) Download from RESTORE archive enigma2pc-6.2-01.01.19.tar.bz2 and unpack in /usr/src.
6) Check the linux-headers version for your kernel.
 
Please, show not the photos, but the logs that you will see in the source folder after entering manually such commands:
7)
2_build_libs.sh> LOG2.txt  2>&1
8)
3_build_libxine.sh> LOG3.txt 2>&1
9)
4_build_openpliPC.sh> LOG4.txt 2>&1
10)
5_build_plugins.sh> LOG5.txt  2>&1
 
11) Show them as attachments or give a link to download from clouds.
The rest later.
 
Please note that in case of such failures, you need to fully perform the work of scripts 2 and 3! At a minimum, this needs to be done once, and then run the rest. Subsequently, it will be enough to run only those scripts that have a fresh date.
But if there are suspicions that the libraries have been updated, then the rest of the chain must be recompiled.

GIT OpenPLi-PC_Python2

GIT OpenPLi-PC_Python3

 

 

 

 

 

 

 

 

 

 

 

 
 

 

 


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1472 1455

  • Senior Member
  • 407 posts

+12
Neutral

Posted 30 January 2019 - 23:37

Sorry, space.

scrit_name.sh > log_name 2>&1

GIT OpenPLi-PC_Python2

GIT OpenPLi-PC_Python3

 

 

 

 

 

 

 

 

 

 

 

 
 

 

 


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1473 1455

  • Senior Member
  • 407 posts

+12
Neutral

Posted 31 January 2019 - 00:38

./2_build_libs.sh > LOG2.txt 2>&1


./3_build_libxine.sh > LOG3.txt 2>&1


./4_build_openpliPC.sh > LOG4.txt 2>&1


./5_build_plugins.sh > LOG5.txt  2>&1

GIT OpenPLi-PC_Python2

GIT OpenPLi-PC_Python3

 

 

 

 

 

 

 

 

 

 

 

 
 

 

 


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1474 roxette

  • Senior Member
  • 161 posts

+1
Neutral

Posted 31 January 2019 - 05:35

I always rename the old binary file before running the scripts but i forgot to do that because i was bit nervous because of that compilation failure.

You will lose nothing to add an option to back it up in the future.

Anyway, let's continue this discussion via pm to avoid spamming the forum, you will find a link to download the log files in there.

Thanks.



Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1475 1455

  • Senior Member
  • 407 posts

+12
Neutral

Posted 31 January 2019 - 20:46

By the way, it is impossible to backup one binary file enigma2 only because it is associated with plugins from a current branch. If change the enigma2 in today's installation to the file of January 27, this will cause crash.

I will add to script archiving the previous source enigma2 and then will be possible install that.


GIT OpenPLi-PC_Python2

GIT OpenPLi-PC_Python3

 

 

 

 

 

 

 

 

 

 

 

 
 

 

 


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1476 roxette

  • Senior Member
  • 161 posts

+1
Neutral

Posted 1 February 2019 - 23:53

By the way, it is impossible to backup one binary file enigma2 only because it is associated with plugins from a current branch. If change the enigma2 in today's installation to the file of January 27, this will cause crash.

I will add to script archiving the previous source enigma2 and then will be possible install that.

Problem is solved  :) 

You don't have to archive anything, just rename /usr/local/e2 to /usr/local/e2-old and i guarantee that it will work in case of new version compilation error.

I always do that.



Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1477 1455

  • Senior Member
  • 407 posts

+12
Neutral

Posted 2 February 2019 - 09:53

/usr/local/e2 to /usr/local/e2-old

 

In this case, if someone launches a failed installation twice, he will get a damaged e2-old folder.
This is done only if there is no e2-old folder. But I did the same in the source folder. You will see the old_compiled_source.tar.gz archive, which will be created automatically only once. If necessary, unpack and give make install. A new archive can be created when moving, renaming or deleting.

 

Seems that backing up the system is the task of the user himself. :)

 

 
 
 


Edited by 1455, 2 February 2019 - 09:56.

GIT OpenPLi-PC_Python2

GIT OpenPLi-PC_Python3

 

 

 

 

 

 

 

 

 

 

 

 
 

 

 


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1478 1455

  • Senior Member
  • 407 posts

+12
Neutral

Posted 2 February 2019 - 14:56

About streaming to VLC in current version.

******************************************************
Video works in the OpenWebif. This also works in the old and new OpenWebif design.
You need link m3u with VLC on the receiving side in the new OpenWebif design, for examle. First you need to select the channel, and then click the streaming icon to the right of the switch icon.
To watch another channel with the above features, you need first close VLC window before. Otherwise there will be several VLC windows with different channels.

If you watch the channels on the server itself (127.0.0.1:40080):
When server switched to standby mode, you can watch only the channel that was turned on by server before switching to standby mode and those transmitted in the current polarization and range.
HD channels have noticeable lags. However, if yoy try to switch the server to the live mode, then it no longer responds to channel switching. e2pc needs to be restarted.

And if you watch the channels on a remote machine (your server IP address:40080):
When server switched to standby mode all channel can be switched. HD channels work smoothly. No problems.

PVR-plugin for Kodi not working. Sometimes the channels are turned on, but mostly it is unsuitable for use.
At the moment I'm trying DLNA browser plugin. I want to understand its advantage. Until I could run DLNA.

I don't understand why need to switch enigma2 on standby mode. After all, the computer consumes the same amount of electricity, and you can just turn off the TV, turn off the sound, or switch to watching cable channels.

 

About YouTube.

********************
You probably noticed that the sound in the plugin works if you set the maximum resolution in the plugin settings to 1280*720. The reason is not clear yet.


GIT OpenPLi-PC_Python2

GIT OpenPLi-PC_Python3

 

 

 

 

 

 

 

 

 

 

 

 
 

 

 


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1479 1455

  • Senior Member
  • 407 posts

+12
Neutral

Posted 9 February 2019 - 15:32

<- port 0080

Now the value /dev/dvb/card0/video0 and audio0 are excluded. Instead of dev0, the sound device controlC0 (1, 2) is used. Instead of card0, the sound card hw:0 (1, 2) is used.
For example, if you use headphones or a builtin speaker, then in the xine settings select audio:
hw:0
controlC0
Default settigs take system parameters.

 


GIT OpenPLi-PC_Python2

GIT OpenPLi-PC_Python3

 

 

 

 

 

 

 

 

 

 

 

 
 

 

 


Re: Build Script for Openpli Enigma2 on Ubuntu 10.4 32 Bit #1480 roxette

  • Senior Member
  • 161 posts

+1
Neutral

Posted 13 February 2019 - 15:17

Hi,

Is there a working picture-in-picture plugin?I tried extended virtual zap but it didn't work.

By the way, streaming in standby mode still not working for me even after upgrading to the latest version.  :(


Edited by roxette, 13 February 2019 - 15:19.



9 user(s) are reading this topic

0 members, 9 guests, 0 anonymous users