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

Solution for standby mode on LG-TV via HDMI-CEC Simplink - replaced by RS232.

$
0
0

Hi all !

Have you a troubles with the particular Simplink-CEC protocol on LG-TV ?
Have you a problem with LG-TV power-off ?
You can try the simple RS232C connection... so... what do you need ?

(1)
As first you need the RS232 serial cable - with basic pinouts, called as "null modem - without handshaking".

I used the standart pair cable designed for the audio technology (stereo). Veins for the left and right channels are used as the Rx and Tx lines. Shielding of both channels are combined into one GND. Need to use the "spinning" pair (Twister-Pair) is irrelevant because it is a short distance - cable length is 30 cm only.

You can look here or here for the example.

300px-Null_modem_DB-9_xon-xoff.svg.png
Connector pinouts:
(null modem cable, without hardware handshaking)

 STB    TV

GND 5 -- 5 GND
 Tx 3 -> 2 Rx
 Rx 2 <- 3 Tx

(2)
Testing the connection over RS232 between your LG-TV and your satellite box (Shell command in Telnet):

echo "ka 01 00" > /dev/ttyS0                 # shut-down TV
echo "ka 01 01" > /dev/ttyS0                 # shut-on TV

(3)
When the connection does not working, you need change the connection speed maybe... so, try the following command:


stty -F /dev/ttyS0 ispeed 9600 ospeed 9600

(4)
If TV-shutdowning is already working.....

OpenATV 5.3 / 6.0:

- edit the Python source code in downloaded file Standby.py from Github-server
- so, download the actual encrypted Standby.py file from Github server (Enigma2 folder) and change the source code:


..........search and add following lines to the section "def __init__(self, session)" (under "class Standby2(Screen)") :

      # ############## tv power on
      open("/dev/ttyS0","rb+").write("ka 01 01\n")      
      print "[Standby] LGTV turn on - ttyS0 send:  ka 01 01"  
      # ##############

..........search and add following lines to the section "def __onClose(self)" (under "class Standby2(Screen)") :

      # ############## tv power down
      open("/dev/ttyS0","rb+").write("ka 01 00\n")      
      print "[Standby] LGTV turn off - ttyS0 send:  ka 01 00"
      # ##############

- WARNING ! you must follow the TABs in current format of the script ! Python syntax is TAB-sensitive ! you must follow the right TABs (paragraph, identation) in the source code of Standby.py !
- when source code is done, upload the file over FTP to your satellite box:
/usr/lib/enigma2/python/Screens/Standby.py

- set the execute rights on this file and reboot the satellite box (after rebooting Python script source code {.py} will automatic compiled to executable Python script {.pyo} ) :

chmod 775 /usr/lib/enigma2/python/Screens/Standby.py
reboot

OpenPLi 4.0:

- there exists a Bash-script-calling code over the Standby.pyo original file
- so, all what do you need is making the new Bash scripts !

- example of standby_enter.sh bash-script file:


#!/bin/sh
echo "ka 01 00" > /dev/ttyS0        # prikaz pre vypnutie LG TV prostrednictvom RS232 rozhrania

- example of standby_enter.sh bash-script file:

#!/bin/sh
echo "ka 01 01" > /dev/ttyS0        # prikaz pre zapnutie LG TV prostrednictvom RS232 rozhrania

- create the directory if does not exist (/script/ folder) + create the new files (you can copy both files over FTP connection too):
/usr/script/standby_enter.sh
/usr/script/standby_leave.sh

- take the execute rights to both of them and reboot the satellite box:

chmod 775 /usr/script/standby_*.sh
reboot

(5)
The shutdown of your LG-TV over Standby mode does not work on first start smile.gif ! So, try shutdown of your box for the first time... do it the second time... and from now it does still working always ;-)


Used sources:
[1] LG TV Hack – Kimyabu
[2] https://www.lg.com/us/commercial/documents/m3701c-ba-rs232c.pdf

 

Good Luck !

 

 

Attached Files


I'm looking for command-line web-browser with HTTPS(SSL) and Java support

$
0
0

Hi all,

 

I am loogking for command-line web browser with HTTPS support (and/or with JAVA support too).

 

I found the binary of the Lynx v2.8.6-r5 for Enigma2 (Mipsel CPU). Unfortunately, older version 2.8.6-r5 of the lynx does not support HTTPS. And newer versions are not avaiable for the Enigma2 :-/. I don't know how to compile a newer version of Lynx on to Enigma2 system (Mipsel CPU, SetTopBox Formuler F3). For Debian are there some packages (source code), but Enigma2 uses a different paths and folders maybe.

 

Mechanize module for Python langauge is a very nice opinion too. Unfortunately, HTTPS is not supported.

 

I need to make any WebBot script. Lynx is the best choice for this purpose.

 

Could someone compile a newer version of Lynx (2.8.8 or 2.8.9) for me and upload it ? As simple binary package please ? :-)

 

Enigma2 : OpenPLi-4

CPU : Mipsel architekture (BCM 7362)

Satellite box : Formuer F3

 

Thanks.

WoS - Wake on Transport

$
0
0

According to https://www.digitalbroadcasting.com/doc/broadcom-ghz-full-band-capture-multi-channel-receivers-0001 :

 

Broadcom’s innovative wake-on transport technology allows the main SOC to be placed into deep sleep mode while the BCM3158x monitors the frequency band on the cable input for operator messages. This allows the STB to remain in deep sleep mode while allowing for wake-up on demand by the operator for DVR recording, guide or software updates.

 

Is this supported by Vu+ 4K products ? Is enigma2 capable of do such thing ?

Livefootball enigma2 plugin

help to add new city on Weather Foreca

witch is the best version of fedora to build an image ?

$
0
0

i try to build an image for dm800 ... but after awhile show up this message bitbake requires python 2.6 or later ... i work in fedora 25 with python 3 and i see is not supported .. any ideas??? please

Claims plugin for Enigma2

$
0
0

Is there a claims plugin out there for Enigma2 like that for MAGs? It would be wonderful if users could claim about a specific channel for video, sound or EPG problem just by pressing the blue button and sending to remote server the issue.

Cheers

EnigmaLight support arm model


TS-satEditor 2.0.0 enigma2 plugin

$
0
0

TS-satEditor 2.0.0 by mfaraj57Posted Image
complete management for satellites and transponders

features:
-adding,editing and removing satellites and transponders
-information and statistics of transponders and satellite
-updating satellites.xml from internet
-downloading settings from popular settings servers
-updating and adding satellites from lyngsat.com
-compatible with sd and hd skins
-plugin appears in channels scan menu and plugins menu
-simple interfaces and tables


credits:
The code of Ts-sateditor based on the works:
Ismail Dmir for the the script and the source of updating satellites.xml
Shaderman coder of satellite loader
sifteam for settings loader
coder ofenigma2-plugin-systemplugins-satelliteeditor_20090331-alpha
sim2 for supporting the project


installation:
unrar attached file and copy to tmp
by telnet
opkg install -force-overwrite /tmp/enigma2-plugin-extensions-ts-sateditor_2.0_mipsel

or from TSpanel/addoms/Tunisiasat dreambox addons/plugins/Ts-sateditor_2.0

download


Posted Image




Posted Image



Posted Image





Signalfinder

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

Bootvideo

$
0
0
Ho to run bootvideo on openpli 5 sti7111,,please help me

Hotkey plug-in verzoek

$
0
0

Kan 'volume up' en 'volume down' toegevoegd worden in de Hotkey plug-in.

 

Wil hier graag niks aan hangen aangezien ik deze knoppen voor de sonos gebruik.

 

Hoef ik niet steeds de keymap in bij elke update.

IPTV Player - Problems thread by frank barezzi

$
0
0

enigma2-plugin-extensions-iptvplayer_147.00.22.00_all
whats new:
-New version of host eskago.pl/ - based on the web service eskago.pl/
-Remove not working host kwejk.tv
-Fix cda.pl login
-Fix vidto.me links extractor
-Fix kissanime.ru/
-Fix compilation problem
-Fix openload 
-Fix kisscartoon.se/
-Add alternative domain for 123movies
-Fix cartoonhd.online/ STILL NOT WORKING 
-Fix thevideo.me links extractor
-hdpopcorns.com - use hard coded filers if they are not available on website  ( UNUSABLE)
-yify.tv - fix links extractions from some mirrors
-Fix link extraction for hosting userscloud.com/
-Fix 123movies links extraction
-Add new host hdpopcorns.com/
-Fix iitv.pl links extraction
-Fix moonwalk.cc
-Fix tree.tv

 

thanks fancoosh for info

 

telnet

 

rm  -rf  /usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer

cd /tmp 
tar -xzf latest.pythonX.X.tar.gz -C /tmp
rm latest.pythonX.X.tar.gz
cp -r iptvplayer-for-e2.git/IPTVPlayer /usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer
rm -rf iptvplayer-for-e2.git/IPTVPlayer 
sync
reboot
 

Physical CD/DVD support enigma2.

$
0
0

I'm currently bussy with DVD/CD support problems in enigma2 , most of problems are cause the modern kernels and c/c++ do not support the old ways off working still used into enigma2.

Also the modern hardware does require the modern kernels and are not compatible any more or at least very buggy with the old working ways.

 

What is the goal, Well for some stb's the internal cd/dvd rom (slim drive micro at type) is possible. The dm8000 is such one do not know if there are others ...

But on a lot of others(high range boxes) You can use external usb dvd/cd writers and it works if the needed kernel modules are installed.

 

Some facts about use of cd and dvd's.

 

First I start with the yes ... problematic audio cd. But why is it problematic ?

 

 - An audio cd can't be mounted . Never could be mounted and never will be able to mount as a file system.

   But what about the cdfs file system ? Well actually cdfs was never a real file system mount .

   What did it do, It created a visual representation off the audiotracks on the cd and announced like off it was a non writeable file system mount, but it was not a real mount.

   The libcdfs is completely deprecated in all linux kernels 3 and above. There are some very hack-is patches applied to the initial source of it to make it applicable to kernels 3 and above.

   But they are hack-is and unstable.

 

The data cd/dvd no problem it's an iso9660 file type sytem and is pretty basic to mount (as an non writeable file system) so ok here.

 

The standard movie dvd (the one You buy in shops ). No problem att all . However required is :

  - On the modern kernels c/c++ removal off the unstable cdfs kernel module (if used). At least by dreambox. Result audio cd playing impossible in enigma2.

  - The Dreambox extra stuff none all is installed works fine by default.

  - The vuduo2 ha ???.. I really can't follow the vu+ dev team , but instead of making it default they made it module based. (see vu+ defconfig of linux kernel)

     It means that You have to install manually : kernel-module-udf , kernel-module-cdrom , kernel-module-sr-mod.

     Reboot the box. Then You can plugin You're usb drive and the sr0 required block dev will be made nased on the sg<x> scsi base device.

    Insert dvd and yes it plays ok 100 % I tested 20 different dvd's with an asus slim external usb drive (model SDRW-08D2S-U LITE).

 

General result as soon all the required libs are installed for DVD all ok.

For cd only data cd ok.

 

Audio cd big big problem. Ok here dm8000 situation. (sata dvd and usbdvd ok)

 

I'm now working and testing with only gst-1.0 image. What is required at base:

 - libcdio needs upgrade to version 0.93. As a result of this upgrade cdtextinfo needs to be patched with  libcdio090.patch posted here.

 - unfortunatelly kernel-module-cdfs needs to remain installed (which on it makes DVD udf support very very unstable)

 - gstreamer1.0-plugins-ugly-cdio needs to be installed also.

 Then working ok for audio cd but standard video udf dvd's broken.

 

Vuduo 2 audio cd support completely broken (and its i known problem). Even there version of cdfs plugin does not work anymore.

DVD udf support 100 % ok

 

What must be done. Well first modification off enigma2 mediaplayer to use audio cd's whitout the visual mount presentation from deprecated cdfs module. (libcdio needs to be used for that).

 

For DVD do the mount of the udf file sytem to the media lable if avbl.

 

 

 

Attached Files


Help making a E2 plugin to create or edit a XML file

$
0
0

Hi,
Please can anyone help me, I'm looking to create a little plugin to create a xml file or even edit one..
I think to create and del the old one would be easier .. 

I need a little popup box with that will say 

username 
password 

When they enter their username and password they click save and it will create a xml file in the keys folder.. 

Hope some one can help me 

 

Getting started developing python and C++ plugins on Windows

$
0
0

I am interested in programming plugins for enigma 2 and I would appreciate if someone can help me get started, some links would be great.

 

I also have some specific questions, what is the preferred way of getting gcc on the box? And since I use windows I probably can't cross compile? So unless there are significant benefits to cross compiling I would opt to compiling on the box instead of doing it in linux VM.

IPTV (gstreamer) recording

$
0
0

With attached patch E2 can record IPTV streams (service refs with 4097:...).

- My code ONLY records 4097:.... servicerefs (recording of 1:... servicerefs was not changed)

- Streams which are played back with special plugins most likely cannot be recorded. Plugins need to be adapted for it.

- All streams which you can watch in E2 should be recordable. If recording don't work, please provide E2 log (delete URL if necessary).

- Recordings are currently not visible in EMC and perhaps other media players, because I use extension .stream. Please use builtin OpenPli media player.

- Recording opens second connection to the server. So if the server only allows one connection you need to zap to other channel (DVB or IPTV channel on other server) and create a timer for the recording.

- Patch is tested under Gstreamer 0.10 and Gstreamer 1.x.

 

Attached Files

IPTV Player tutorial and info

$
0
0

There are 2 posts here: https://wiki.openpli.org/iptvplayer

 

The first is the old set of instructions by SSS and the comment below covers the new set of instructions, as explained below.

 

Almost all instructions are by SSS himself, with some minor additions by me, in both of those posts...

 

==========NEW INSTRUCTIONS: FFMPEG INSTALATION FOR MIPSEL PLATFORMS===========

Preparation

Before installation make sure that you have enough space in your rootfs. You need at least 15MB free space.

To check free space in your rootfs you can use following command:

df -h /
 
Sample output:

    Filesystem                Size      Used Available Use% Mounted on
    ubi0:rootfs             440.3M    183.2M    257.0M  42% /
 
If you do not have enough flash memory for all of the plugins etc. that you want to install, then
another way of installing it all is to either use:

A) Flash Expander for which you need a USB memory stick, with 2 partitions (best in EXT4 format):
   -at least 1/2 GB for /usr folder, i.e. the Flash Expander itself and
   -the rest for SWAP, picons, subtitle folder, EPG etc. etc.
   
I would recommend Mini Tool Partition Wizard 10, under Windows OS, to partition and format the USB stick.
   
B ) MultiBoot, also on a large USB memory stick (various plugins are available for it, Open MultiBoot, Mini Multi Boot etc.)

Once you prepare the image properly, you can proceed with ffmpeg and the IPTV Player installation...
 
To choose the correct ffmpeg package for your image you need to find out the following:

1) OpenSSL version
2) glibc version
3) hard/soft float
 
#################################
1) How to check your OpenSSL version:
#################################

One has to connect with your STB and then give this telnet command, for example, using a programme called PuTTy:

openssl version

One may get something like this:

OpenSSL 1.0.2d 9 Jul 2015

So, in that case we know that we have version 1.0.2
 
One may also get the following output to this command:

-sh: openssl: not found

In this case, one should check OpenSSL version as follows:
 
ls -la /usr/lib/libssl*

Example output:

-rwxr-xr-x    1 root     root        383624 Aug 19  2015 /usr/lib/libssl.so.0.9.8

So, in this case the OpenSSL version is 0.9.8.
 
In case one gets:

/usr/lib/libssl.so.1.0.0

one must make an additional check:

grep OPENSSL /usr/lib/libssl.so.1.0.0

Sample output:

    OPENSSL_cleanse
    OPENSSL_DIR_read
    OPENSSL_DIR_end
    OPENSSL_1.0.0
    OPENSSL_1.0.1
    OPENSSL_1.0.1d
    OPENSSL_1.0.2
    OPENSSL_DIR_read(&ctx, '
    OPENSSL_malloc Error

So, in this case one knows one has version 1.0.2.
 
########################
2) How to check glibc version:
########################

Checking glibc version is very easy:

ls -la /lib/libc-*

Example output:

-rwxr-xr-x    1 root     root       1541476 Aug 19  2015 /lib/libc-2.21.so

I.e. this indicates version 2.21.
 
########################
3) Checking for hard/soft float:
########################

One must give the following telnet commands:

cd /tmp
wget http://iptvplayer.pl/tools/mipsel/readelf
chmod 777 readelf
./readelf -a /lib/libc-*.so | grep FP:
rm readelf

Sample output:

Tag_GNU_MIPS_ABI_FP: Soft float

or

Tag_GNU_MIPS_ABI_FP: Hard float (double precision)

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

When you already know versions of OpenSSL, glibc used in your image and used FPU mode you are ready to choose ffmpeg package.

If you have glibc version lower than 2.20 you need to use package for _old_

All packages are available here: http://iptvplayer.pl/resources/ (one can find SH4 and ARM platforms covered there, as well)

Packages for MIPSEL platforms:

ffmpeg3.2.2_mipsel_fpu_hard_openssl0.9.8_dash_librtmp_native_rtmp.tar.gz

ffmpeg3.2.2_mipsel_fpu_hard_openssl1.0.0_dash_librtmp_native_rtmp.tar.gz

ffmpeg3.2.2_mipsel_fpu_hard_openssl1.0.2_dash_librtmp_native_rtmp.tar.gz


ffmpeg3.2.2_mipsel_old_fpu_hard_openssl0.9.8_dash_librtmp_native_rtmp.tar.gz

ffmpeg3.2.2_mipsel_old_fpu_hard_openssl1.0.0_dash_librtmp_native_rtmp.tar.gz

ffmpeg3.2.2_mipsel_old_fpu_hard_openssl1.0.2_dash_librtmp_native_rtmp.tar.gz
 

ffmpeg3.2.2_mipsel_fpu_soft_openssl0.9.8_dash_librtmp_native_rtmp.tar.gz

ffmpeg3.2.2_mipsel_fpu_soft_openssl1.0.0_dash_librtmp_native_rtmp.tar.gz

ffmpeg3.2.2_mipsel_fpu_soft_openssl1.0.2_dash_librtmp_native_rtmp.tar.gz


ffmpeg3.2.2_mipsel_old_fpu_soft_openssl0.9.8_dash_librtmp_native_rtmp.tar.gz

ffmpeg3.2.2_mipsel_old_fpu_soft_openssl1.0.0_dash_librtmp_native_rtmp.tar.gz

ffmpeg3.2.2_mipsel_old_fpu_soft_openssl1.0.2_dash_librtmp_native_rtmp.tar.gz

 

One can see the full name of a package as follows:

 

ffmpeg_packages.png

=======ffmpeg Installation procedure=======

Give a series of following telnet commands...

example:
cd /tmp
wget http://iptvplayer.pl/resources/ffmpeg3.2.2_mipsel_XXX_YYY_YYY_opensslZ.Z.Z_dash_librtmp_native_rtmp.tar.gz
tar -xvf ffmpeg3.2.2_mipsel_XXX_YYY_YYY_opensslZ.Z.Z_dash_librtmp_native_rtmp.tar.gz -C /
rm ffmpeg3.2.2_mipsel_XXX_YYY_YYY_opensslZ.Z.Z_dash_librtmp_native_rtmp.tar.gz

For ET10K:
cd /tmp
wget http://iptvplayer.pl/resources/ffmpeg3.2.2_mipsel_fpu_hard_openssl1.0.2_dash_librtmp_native_rtmp.tar.gz
tar -xvf ffmpeg3.2.2_mipsel_fpu_hard_openssl1.0.2_dash_librtmp_native_rtmp.tar.gz -C /
rm ffmpeg3.2.2_mipsel_fpu_hard_openssl1.0.2_dash_librtmp_native_rtmp.tar.gz
 
 
You should always collect output returned by install command, it will be useful when installation failed.
 
After installation you should check if ffmpeg is working correctly:

ffmpeg -version

Sample output:

    ffmpeg version 3.2.2 Copyright © 2000-2016 the FFmpeg developers
    built with gcc 4.9.2 (GCC)
    configuration: --sysroot=/mnt/new2/xspeedlx1/build-enviroment/builds/openatv/release/et4x00/tmp/sysroots/et4x00 --cross-prefix=mipsel-oe-linux- --prefix=/mnt/new2/_BRCM_/exteplayer3/tmp/ffmpeg/tmp/mipsel/ffmpeg-3.2.2/usr/ --enable-cross-compile --target-os=linux --arch=mipsel --disable-mipsdsp --disable-mipsdspr2 --disable-mipsfpu --enable-pic --enable-shared --disable-static --disable-debug --disable-ffplay --disable-ffprobe --disable-ffserver --disable-outdevs --disable-doc --disable-htmlpages --disable-manpages --disable-podpages --disable-txtpages --disable-lzma --enable-openssl --enable-zlib --enable-cross-compile --enable-small --disable-sdl --disable-xlib --disable-d3d11va --disable-dxva2 --disable-vaapi --disable-vda --disable-vdpau --enable-nonfree --disable-muxers --disable-encoders --disable-devices --enable-librtmp --extra-cflags=' -mel -mabi=32 -march=mips32 -I/mnt/new2/xspeedlx1/build-enviroment/builds/openatv/release/et4x00/tmp/sysroots/et4x00/usr/include/libxml2/ -I/mnt/new2/new_openssl_mipsel/openssl-1.0.2g/include/ -L/mnt/new2/new_openssl_mipsel/openssl-1.0.2g/ -L/mnt/new2/new_openssl_mipsel/rtmpdump/librtmp/ ' --extra-ldflags=' -L/mnt/new2/new_openssl_mipsel/openssl-1.0.2g/ -L/mnt/new2/new_openssl_mipsel/rtmpdump/librtmp/ -lssl -lcrypto -lrtmp -lxml2 '
    libavutil      55. 34.100 / 55. 34.100
    libavcodec     57. 64.101 / 57. 64.101
    libavformat    57. 56.100 / 57. 56.100
    libavdevice    57.  1.100 / 57.  1.100
    libavfilter     6. 65.100 /  6. 65.100
    libswscale      4.  2.100 /  4.  2.100
    libswresample   2.  3.100 /  2.  3.100

==============IPTV Player installation=============

rm  -rf  /usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer
cd /tmp
wget http://iptvplayer.vline.pl/download/update/latest.pythonX.X.tar.gz
tar -xzf latest.pythonX.X.tar.gz -C /tmp
rm latest.pythonX.X.tar.gz
cp -r iptvplayer-for-e2.git/IPTVPlayer /usr/lib/enigma2/python/Plugins/Extensions/IPTVPlayer
rm -rf iptvplayer-for-e2.git/IPTVPlayer
sync
reboot

Openwebif key authentication instead of http auth

Viewing all 2506 articles
Browse latest View live


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