Quantcast
Channel: [EN] OpenPLi Third-Party Development
Viewing all 1689 articles
Browse latest View live

Mediaportal skin change?

$
0
0

Can i change the skin and how?  Only seeing one option and it is very basic, Vu duo2 here, thanks


Oscam - change compilation options

$
0
0

Hi,

 

from time to I have problem with oscam when I switch channels faster. I have VU+ Ultimo and OpenPLi 6.1. Oscam stops descrambling picture and on log I have message "*** WARNING: BAD TIME AFFECTING WHOLE OSCAM ECM HANDLING ****". I read that set option clockfix during compilation can help. 

 

Is possible to change compilation option in oscam and set "Clockfix with realtime clock" to yes ?

 

Regards.

view and hide an image file on a TV screen (Python, Enigma-2)

$
0
0

Hello.

Please help. Help the beginner Enigma2 developer.

I've discovered a 'ihash tutorial' designed for the basic Plugins creation with code examples. One example is the one that serves to display the image file. The rendering of the image is done using the SKIN / XML function (Python module - Screens.Screen).

Unfortunately, I still do not know how to use this code outside the plugin, in a separate script. I do not know how to modify this code to work outside this plugin (located in the Python Enigma core).

Where can I find some explanation of the 'Screens.Screen' enigma / python module (except for lengthy code study from Git-Hub servers, of course)? Some examples of practical, but understandable use of the 'Screens.Screen' module for rendering an image file would help. It is sad that the explanations and comments (bounded by separator """) for all functions, objects, classes, etc. ... are not used in the source code of Enigma and its modules.

Studying the code itself is quite difficult and lengthy for a novice developer. A good enigma2 developer must know the principle of the enigma2 system. Unfortunately, I did not grow on Enigma 1.x up to the current version 2.x, but I grew up with other systems and platforms (also as a programmer). Similarly, Python code programming is not yet an expert.

Thanks.

 

 

- content of the file /usr/lib/enigma2/python/Plugins/Extensions/lesson_07/plugin.py :

# Ihad.tv enigma2-plugin tutorial 2010
# lesson 7
# by emanuel
from Screens.Screen import Screen
from Components.Label import Label
from Components.Pixmap import Pixmap
from Components.AVSwitch import AVSwitch
from Components.ActionMap import ActionMap
from Plugins.Plugin import PluginDescriptor
from enigma import ePicLoad

###########################################################################

class PictureScreen(Screen):

    skin="""
        <screen name="PictureScreen" position="0,0" size="1280,720" title="Picture Screen" flags="wfNoBorder" backgroundColor="#002C2C39">
            <widget name="myPic" position="center,center" size="1280,720" zPosition="1" alphatest="on" />
        </screen>"""

    def __init__(self, session, picPath = None):
        Screen.__init__(self, session)
        print "[PictureScreen] __init__\n"
        self.picPath = picPath
        self.Scale = AVSwitch().getFramebufferScale()
        self.PicLoad = ePicLoad()
        self["myPic"] = Pixmap()
        self["myActionMap"] = ActionMap(["SetupActions"],
        {
            "ok": self.cancel,
            "cancel": self.cancel
        }, -1)
        
        self.PicLoad.PictureData.get().append(self.DecodePicture)
        self.onLayoutFinish.append(self.ShowPicture)

    def ShowPicture(self):
        if self.picPath is not None:
            self.PicLoad.setPara([
                        self["myPic"].instance.size().width(),
                        self["myPic"].instance.size().height(),
                        self.Scale[0],
                        self.Scale[1],
                        0,
                        1,
                        "#002C2C39"])
                        
            self.PicLoad.startDecode(self.picPath)

    def DecodePicture(self, PicInfo = ""):
        if self.picPath is not None:
            ptr = self.PicLoad.getData()
            self["myPic"].instance.setPixmap(ptr)


    def cancel(self):
        print "[PictureScreen] - cancel\n"
        self.close(None)
        
###########################################################################

def main(session, **kwargs):
    session.open(PictureScreen, picPath = "/usr/share/enigma2/skin_default/testscreen.png")

###########################################################################

def Plugins(**kwargs):
    return PluginDescriptor(
            name="07 View a picture",
            description="lesson 7 - Ihad.tv e2-tutorial",
            where = PluginDescriptor.WHERE_PLUGINMENU,
            icon="../lesson_01/ihad_tut.png",
            fnc=main)

Google news reader enigma2 plugin

OpenWebif [E2OpenPlugins]

$
0
0
Ok i think it is time to try to work to a common plugin :)
I have started OpenWebif.
This is not my project but our project. It is a long work but we have not hurry.
I have not intention to coordinate or to manage, everyone have to feel free to contribute in everyway.
Till now we have only the server starting and listening on port 8080 for static files in the folder: /usr/lib/enigma2/python/Plugins/Extensions/OpenWebif/www/html
We have only an example html template there.
The next things to do i think that are:
to implement Authentication
to complete Configuration
to choose a layout


The server is listening on port 8080 to avoid conflicts with webinterface so you can test.
For tests use folder: /usr/lib/enigma2/python/Plugins/Extensions/OpenWebif

OpenPLI for DM 920 UHD

$
0
0

Hi

Please i am looking for OpenPLI image for my DM 920 UHD if possible.

Greats.

Directly IPTV Stream with Streamlink

$
0
0

Directly IPTV Stream with Streamlink

 

The Streamlink plugin allows streaming from various pages.

Streamlink is built upon a plugin system which allows support for new services to be easily added. Currently most of the big streaming services are supported, such as Plugins:

This is a list of the currently built in plugins and what URLs and features they support. Streamlink's primary focus is live streams, so VOD support is limited.

 

List here https://streamlink.github.io/plugin_matrix.html

 

Support for this Plugin is here Streamlink Supported Forum

 

Billy2011 creates the data for E2

 

How can I install it

 

Download the Files  now copy the files to E2 in /tmp and install it

  • telnet opkg update
  • opkg --force-overwrite --force-downgrade install /tmp/*.ipk

 

How can I add a Channel

 

This is very important

#SERVICE 4097:0:1:1:0:0:0:0:0:0:http%3a//127.0.0.1%3a8088   
#SERVICE 5002:0:1:1:0:0:0:0:0:0:http%3a//127.0.0.1%3a8088

canlitvlive.io

#SERVICE 4097:0:1:1:0:0:0:0:0:0:http%3a//127.0.0.1%3a8088/https%3a//www.canlitvlive.io/izle/tgrt-eu.html
#DESCRIPTION TGRT EU
#SERVICE 5002:0:1:1:0:0:0:0:0:0:http%3a//127.0.0.1%3a8088/https%3a//www.canlitvlive.io/izle/tgrt-eu.html
#DESCRIPTION TGRT EU

Film ON

#SERVICE 4097:0:1:1:0:0:0:0:0:0:http% 3a//127.0.0.1%3a8088/https% 3a//www.filmon.com/tv/bbc-one
#DESCRIPTION BBC ON
#SERVICE 5002:0:1:1:0:0:0:0:0:0:http% 3a//127.0.0.1%3a8088/https% 3a//www.filmon.com/tv/bbc-one
#DESCRIPTION BBC ON

TV Chatup

#SERVICE 5002:0:1:1:0:0:0:0:0:0:http%3a//127.0.0.1%3a8088/http%3a//tvcatchup.com/watch/bbctwo
#DESCRIPTION BBC TWO

Youtube

#SERVICE 4097:0:1:8FD:C5A8:7E:460000:0:0:0:http%3a//127.0.0.1%3a8088/https%3a//www.youtube.com/watch?v=zKgW374Rd1g
#DESCRIPTION SHOW HD
#SERVICE 5002:0:1:8FD:C5A8:7E:460000:0:0:0:http%3a//127.0.0.1%3a8088/https%3a//www.youtube.com/watch?v=zKgW374Rd1g
#DESCRIPTION SHOW HD

Attached Files

OpenPLi Homebuild for Dinobot 4K

$
0
0

Hi guys.

 

I'm running out of idea on how to solve my problems, a weird kind for newbie just like me.

 

I have built an image (OpenPLi Homebuild) from development branch of the OpenPLi Enigma2 github source. I use meta-dinobot from OE-Alliance for this purpose. The build run just fine, and I can boot my Dinobot 4K to the OpenPLi image. The only problem is, I have to "Reboot enigma" everytime I turn on the box to make it work normally.

 

Boot from switching on power button or from "Deep standby" produces this kind of bug:

 

1_0_1_5_3_FFFF_3EE0FC8_0_0_0_20180429203545.jpg

 

We can seee the logo "This is homebuild image based on OpenPLi" is alwasy on the front, just like this:

 

1_0_1_5_3_FFFF_3EE0FC8_0_0_0_20180429203608.jpg

 

When I enter "Channel selection", we can see that the video is actually there behind the logo:

 

1_0_1_5_3_FFFF_3EE0FC8_0_0_0_20180429203629.jpg

 

After push "OK" button to select the channel, we can watch the video from the channel.

 

1_0_1_5_3_FFFF_3EE0FC8_0_0_0_20180429203650.jpg

 

But there's still a "black box" showing around and won't exit or disappear. This black box will stay forever until I do a "Restart enigma":

 

1_0_1_5_3_FFFF_3EE0FC8_0_0_0_20180429203754.jpg

 

I wish to solve this bug, but once again as I've said above, I run out of idea where to go. Please help.


Q: Player Vod on Infobar it's possible ?

$
0
0

Just a question all Master
Is it not possible to have a vod player on infobar?
When viewing vod(channels without using plugins or anything, but directly from bouquets), can you pause - forward - back - stop?

 

By now you also use a Vod to watch homemade movies

 

:)

 

I hope I have not broken any rules by asking, but it would be a great thing to be able to take advantage of this service

 

regards Pz

ssl ca-certificates issues on openpli 4

$
0
0

Hello,

 

I have an issue with HTTPS connection from cli, curl and python. The issue is with local ca-certificates storage which is not updated.

I have a DM800HD and VuSolo4K devices, both with OpenPli4 and both have the same issue.

 

I tried to update all files/certificates by hand from a working server but i was unsuccessful.

 

Can you please let me know where i can find a ca-certificates package to update my OpenPLi4.

 

Below is how you can check

 

root@dm800:~# curl -vvv https://pypi.python.org/simple/requests/

*   Trying 151.101.12.223...

* Connected to pypi.python.org (151.101.12.223) port 443 (#0)

* found 166 certificates in /etc/ssl/certs/ca-certificates.crt

* server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none

* Closing connection 0

curl: (60) server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none

More details here: http://curl.haxx.se/docs/sslcerts.html

 
Best regards,
 
 
Marc

Odd newline and return characters in eTextPara

$
0
0

I've been look in at some bugs in justification (dirBlock) in eTextPara (lib/gdi/font.cpp), and I've been a bit puzzled by some odd alternatives for newline ('\n') and return ('\r') in eTextPara::renderString().

 

The alternatives for '\n' (U+000A) are U+008A (LINE TABULATION SET) and U+E08A (character in the Unicode Private Use Area)

 

The alternatives for '\r' (U+000D) are U+0086 (START OF SELECTED AREA), U+0087 (END OF SELECTED AREA), U+E086 and U+E087 (characters in the Unicode Private Use Area).

 

They seem to be odd choices as alternatives for '\n' and '\r'. Are they actually used as that anywhere? Does anyone know the history of this? They seem to have been like that since 2003, so perhaps th answer is lost in the mists of time...

Not work behavior when a movie is started.

$
0
0

With such settings - behavior when a movie is started ask the user the media files mp4, avi, mkv are played at the beginning,but should be played from the point of stoppage. This works only with ts files.

at the beginning

Attached Thumbnails

  • 1_0_0_0_0_0_0_0_0_0_20180501145810.jpg
  • 1_0_0_0_0_0_0_0_0_0_20180501145901.jpg
  • screenshot_2018-04-25_22-48-26.jpg

A problem with exteplayer3.

$
0
0

Installed serviceapp,in the settings I chose exteplayer3.Launched the plugin enigma2-plugin-youtube,in the settings I chose the resolution 1080P-video not play.Chose 720P play ok.

 

Attached Files

testing all RC buttons + executing my own code + forwarding RC code back to Enigma

$
0
0

Hi all.

I have a question about the Python code, specifically using the Screens.Screen module defined as a sub-class.

Is there any way to test all the buttons from the remote control ? And when I press any key to execute my desired event (hide picture) and then put the original code further into Enigma ?

The problem is also with the display of the warning icon for undesired remote control buttons (not defined for ActionMap). The crossover icon is displayed in the top left corner of the screen. I do not want to see any icon in this case.

I have my picture displayed on the TV screen. After pressing any button, I need to hide (close) + immediately the original action of the button (send button to Enigma). This is because the user does not have to press the button up to two times, but only one time - of course, my picture will be automatically hidden.

One way to detect all buttons on the remote control I found - system:

eActionMap.getInstance().bindAction('', maxint, self.anyKeyPressed)
However, I did not get the "InfoBarGenerics.py" code to see the icon of the undesired button in the top left corner, and to push the button code further into the Enigma (for example, as a session code return code).

Does anyone know any solutions to the problem?

 

Thanks for all the tips, hints, suggestions.

 

full ci+ support

$
0
0

hi, will you make full ci+ support in next versions of image?

i read info that ci+ codes are public now and vti image already have this in 8.2 version.

 

thanks in advance


August DVB T-202

$
0
0

hi all, i have problem with this usb stick.

the lsusb says

 

Bus 001 Device 002: ID 048d:9006
 
installed the it9135
 
root@dm800se:~# opkg install enigma2-plugin-drivers-dvb-usb-it913x
enigma2-plugin-drivers-dvb-usb-it913x: unsatisfied recommendation for kernel-module-it913x
Installing firmware-dvb-usb-af9035-01 (1.1+git292+25f936b) on root.
Installing firmware-dvb-usb-af9035-02 (1.1+git292+25f936b) on root.
Installing firmware-dvb-usb-it913x (1.1+git292+25f936b) on root.
Installing kernel-module-af9033-3.2-dm800se (3.2) on root.
Installing kernel-module-rc-core-3.2-dm800se (3.2) on root.
Installing kernel-module-dvb-usb-3.2-dm800se (3.2) on root.
Installing kernel-module-mxl5007t-3.2-dm800se (3.2) on root.
Installing kernel-module-tda18218-3.2-dm800se (3.2) on root.
Installing kernel-module-tua9001-3.2-dm800se (3.2) on root.
Installing kernel-module-dvb-usb-af9035-3.2-dm800se (3.2) on root.
Installing kernel-module-it913x-fe-3.2-dm800se (3.2) on root.
Installing kernel-module-dvb-usb-it913x-3.2-dm800se (3.2) on root.
Installing enigma2-plugin-drivers-dvb-usb-it913x (1.2) on root.
Configuring kernel-module-tua9001-3.2-dm800se.
Configuring kernel-module-rc-core-3.2-dm800se.
Configuring firmware-dvb-usb-af9035-01.
Configuring firmware-dvb-usb-af9035-02.
Configuring firmware-dvb-usb-it913x.
Configuring kernel-module-af9033-3.2-dm800se.
Configuring kernel-module-dvb-usb-3.2-dm800se.
Configuring kernel-module-mxl5007t-3.2-dm800se.
Configuring kernel-module-tda18218-3.2-dm800se.
Configuring kernel-module-dvb-usb-af9035-3.2-dm800se.
Configuring kernel-module-it913x-fe-3.2-dm800se.
Configuring kernel-module-dvb-usb-it913x-3.2-dm800se.
Configuring enigma2-plugin-drivers-dvb-usb-it913x.
 
then reboot and the dmesg says
 
[   43.523000] it913x: Chip Version=02 Chip Type=9135
[   43.526000] it913x: Dual mode=0 Remote=1 Tuner Type=0
[   43.526000] it913x: Unknown tuner ID applying default 0x60
[   43.530000] dvb-usb: found a 'ITE 9135(9006) Generic' in cold state, will try to load a firmware
[   43.709000] dvb-usb: downloading firmware from file 'dvb-usb-it9135-02.fw'
[   43.710000] it913x: FRM Starting Firmware Download
[   43.943000] it913x: FRM Firmware Download Completed - Resetting Device
[   43.975000] it913x: Chip Version=02 Chip Type=9135
[   43.976000] it913x: Firmware Version 52953344
[   44.038000] dvb-usb: found a 'ITE 9135(9006) Generic' in warm state.
[   44.041000] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
[   44.061000] DVB: registering new adapter (ITE 9135(9006) Generic)
[   44.078000] it913x-fe: ADF table value       :00
[   44.083000] it913x-fe: Crystal Frequency :12000000 Adc Frequency :20250000 ADC X2: 01
[   44.135000] it913x-fe: Tuner LNA type :60
[   44.388000] DVB: registering adapter 1 frontend 0 (ITE 9135(9006) Generic_1)...
[   44.390000] dvb-usb: ITE 9135(9006) Generic successfully initialized and connected.
[   44.391000] it913x: DEV registering device driver
[   44.393000] it913x: Chip Version=02 Chip Type=9135
[   44.398000] it913x: Firmware Version 52953344
[   44.400000] it913x: Dual mode=0 Remote=1 Tuner Type=0
[   44.400000] it913x: Unknown tuner ID applying default 0x60
[   44.401000] dvb-usb: found a 'ITE 9135(9006) Generic' in warm state.
[   44.411000] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
[   44.432000] DVB: registering new adapter (ITE 9135(9006) Generic)
[   44.449000] it913x-fe: ADF table value       :00
[   44.462000] it913x-fe: Crystal Frequency :12000000 Adc Frequency :20250000 ADC X2: 01
[   44.506000] it913x-fe: Tuner LNA type :60
[   44.646000] DVB: registering adapter 2 frontend 0 (ITE 9135(9006) Generic_1)...
[   44.648000] dvb-usb: ITE 9135(9006) Generic successfully initialized and connected.
[   44.649000] it913x: DEV registering device driver
[   44.653000] usbcore: registered new interface driver it913x
 
i can see 2 dvb-t tuners in service searching but after that found 0 channels.
 
 
thanks in advance.
 

 

I'm looking for a module for SQL remote access

$
0
0

Hello everyone.

I am looking for a module designed for SQL remote access. Python-2.7 under Enigma-2 incorporates only sqlite3 for access to a local database (to a file), but not for remote access to SQL servers on the Internet.

Does anyone know any suitable SQL module that also communicates with remote SQL database servers? It could also be one of the simple modules supported by the basic DB-API 2.0 standard.

Does anyone know any examples of python code for such an external SQL module? So far I have found only some "mysql-connector-python-2.0.4" where even automatic installation (Enigma2 / Python2.7) works. So far I test this module, but it behaves strangely.

Thanks to all your tips, ideas, suggestions, links.

;)

Axas 4K VPN verfügbar

$
0
0

Hallo, habe mir die Axas 4K Box gekauft und möchte die Funktion VPN Tunnel nutzen. Aber im Image ist es leider nicht vorhanden?

 

Hello, I have bought the Axas 4K box and would like to use the function VPN tunnel. But in the image, it is unfortunately not available?

Expanding Zgemma H9 flash to a Micro SD card...

$
0
0

========================EXPANDING ZGEMMA H9 FLASH TO MICRO SD CARD=====================

ZGEMMA H9 has a 256 MB Flash, so serious hobbyists need to expand its Flash. There are 2 ways:

1) Flash Expander E2 plugin, to a fast USB 3.0 stick (I wrote in detail about it on this forum and elsewhere) or

2) the following script moving it all from the flash to a fast Micro SD memory card (Zgemma H9 Flodder, as it were... :D ).

Various Micro SD cards have been tested: class4, class 10 and class A1. In principle, they are all working but not all Micro SD cards will work.

HOW TO CHECK IF A MICRO SD CARD IS OK FOR FLASH EXPANSION WITH ZGEMMA H9
=========================================================================

Insert the Micro SD card into Zgemma H9 and reboot the box. Check the /var/logs/message file, using the PuTTy app. Log in by writing:

root
password - for an image you use (for example "pure2" for PurE2 image [without "" signs]).

Now, copy and paste this telnet command into PuTTy:

cat /var/log/messages | grep mmcblk0:

If you see these messages:

Apr 6 19:28:13 zgemmah9t user.info kernel: mmcblk0: mmc0:59b4 USDU1 7.31 GiB
Apr 6 19:28:13 zgemmah9t user.info kernel: mmcblk0: p1

or

May 20 13:25:49 zgemmah9s user.info kernel: mmcblk0: mmc0:aaaa SC64G 59.5 GiB
May 20 13:25:49 zgemmah9s user.info kernel:  mmcblk0: p1

...then you can proceed..

Download the "H9 SDcard Mover" attached to this message.

Extract the zip file and copy all 3 files to Zgemma H9 /tmp folder, using FileZilla Client app, for instance.

Now, right click on h9_mmc.sh file > File permissions > 755 > OK.

Warning: all data on your Micro SD card will be lost when your start this script!

Start the script by the following 2 telnet commands:

cd /tmp

./h9_mmc.sh

Reboot the box and wait for the script to move everything to Micro SD card.

Your Zgemma H9 just got a boost!

Just remember that there is a small price to pay: your flash is larger but the Zgemma H9 might be a bit slower than if everything is running from H9 flash alone.

=======================================================================

How to go back to a previous state of things (rollback to rootfs, to NAND)?

Simply flash a new image.

=======================================================================

Credit to Captain @ OpenATV

Edited by gorski, thanx to TerraJoe for the missing IT info... :)

Attached Files

VU+ Ultimo 4K HDMI audio passthrough

$
0
0

Hi all,

anyone that can tell me how to modify gstreamer to allow audio passthrough on my vu+ ultimo 4k?  I want to allow DTS MA and DTS-HD as well as Dolby TrueHD and Dolby ATMOS audio passthrough for the HDMI output.

 

Any help will be welcome.

Viewing all 1689 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>