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

OpenPLIi 3 & Mgcamd 1.38

$
0
0
Could any one help?
Where can i find working mgcamd 1.38 for openpli 3?

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

TMBD Details

$
0
0
TMBD Details plugin, info for www.themoviedb.org.
Developer: Nikolasi and Dima73
Special thanks to vlamo.
MovieSelection-Context Menu-Poster Preview/TMBD Details
Long Info Button-TMBD Details
Menu-Plugins-TMBD Details(Setup menu)

P.S.This plugin is open source, unlike the German comrades :D .

Vlc Plugin

$
0
0

hello i make a vlc plugin for get auto bouquets as playlist

download link:

https://www.dropbox.com/s/zry6kxu581ppjq3/satellite.lua

 

edit file with text editor :

first 2 line 

 

local dreamboxIp = ' Your Ip of satbox '
local streamPort = ' streaming port (default 8001) '
 
copy file to C:\Program Files\VideoLAN\VLC\lua\sd\
 
and open vlc, go to playlists and click on satellite on left bar
wait same sec and enjoy  !!!

dm7020hdv2 help for dmm-bsp

$
0
0
Hi everyone,

We're working on https://github.com/DMM-PLi/dmm-bsp but I need some help with dm7020hdv2.

As far as I know the only extra thing dm7020hdv2 has is how it packed am I right?

dreambox-nand-1024mb-2k.inc https://github.com/DMM-PLi/dmm-bsp/blob/master/conf/machine/include/dreambox-nand-1024mb-2k.inc instead of dreambox-nand-1024mb.inc https://github.com/DMM-PLi/dmm-bsp/blob/master/conf/machine/include/dreambox-nand-1024mb.inc so could we delete all dm7020hdv2 stuff and do:

1- Compile dm7020hd nfi image then zip it.
2- Remove the nfi as we have the zip.
3- Compile dm7020hd nfi but with dreambox-nand-1024mb-2k.inc this time.
4- Zip the new image with v2 at the end of it then delete the nfi.
5- Now we have both images zipped in same folder and less time.

If it's ok how can I do it via bitbake recipe?

Mediaplayer can't play Youtube 1080 HD format...

$
0
0

Hi

 

I think the mediaplayer needs updated with new codec's so it is possible to play Youtube mp4 1080HD format.

My Samsung tv can play it......

 

Thanks.

Cancel a single job in Jobmanager (Task.py)

$
0
0

Sorry for my noob python question.

 

I am currently writing  plugin to download stuff from the net, I have a list of files that are added in jobmanager and they download fine.

 

I know how to cancel all jobs at the same time:

 


exist = self['movielist'].getCurrent()
                        if exist == None:
                                return

if exist[2] == "Waiting":
                                for job in JobManager.getPendingJobs():
                                        #Value = (job, job.name, job.getStatustext())
                                        #os.system("echo '" + str(Value) + "' > " + "'" + PLUGIN_PATH + "/waiting.txt'")
                                        job.cancel()

Determining the size of the recording file on (ex. Solo2) OpenPli 6 based image

$
0
0

Hellow all!

I wrote a small program  (on Delphi 10.0 up 2, named FFPMEG Starter or FST), which, in particular, can recode the recording in progress "on the fly." In order for the encoding to fail prematurely, it becomes paused, and then continues. Determining whether a record has run out or not occurs on the basis of resizing the file. The size is polled once a second. Unfortunately, the file size does not change when it is polled, although the recording is in progress. I use 5 methods to determine the size. Only one of the methods gives the correct result, but unfortunately, it only works for files smaller than 2 GB.

The OpenPli 4 -based images dont have such problrm but OpenPli 6 -based image has it.

The users of FST tell me about this problem, but I can not do anything.

Maybe there is some kind of tuning in the system, according to which the file size would be determined correctly?

It's tested on Solo2.OS is any Windows (W7+, x64). The Solo2 has mounted hard drive. Access to the hard disk is provided by the Microsoft Network. The drive is mapping as letter.

FST is here (freeware) http://ovisoft.ru/web_projects/tosha/  (Without reg, ads and viruses. If you have a 64-bit OS, you can download 64-bit FPMPEG and replace its files in the BIN directory (optional)). 

See how it does not work, you can unpack the portable version, run it and open the recording file. Methods for determining the size of the recording file are specified in the Options tab. The size of the file is displayed on the main tab. Start recording on the receiver and open it with the Open Source button. See Attachnents.

On VuDuo2 I have the OpenPli 4 - see Attachs. It is OK.

Users can not install version OpenPli 4, because they can not configure tuner B, and in version 6 they can.

Sorry for the automatic translation. Thanks to everyone who read this.

Attached Thumbnails

  • 182.jpg
  • 179.jpg
  • 180.jpg

History Zap Selector

[GraphMultiEpg] Bug line 536 and 540 >> variable 'rec' empty

$
0
0

Hi @all,

 

I always get the error switching to an empty service in the plugin GraphMultiEpg:

  File "/usr/lib/enigma2/python/Plugins/Extensions/GraphMultiEPG/GraphMultiEpg.py", line 540, in buildEntry
  TypeError: 'int' object has no attribute '__getitem__'

The same error occurs in line 536. 

 

The bug can be fixed:

  1. Configuration "Überspringe leere Sender" (EN 'Skip empty services' ) set to 'Ja'
  2. validate variable 'rec' ( source 'GraphMultiEpg.py' ) in line 536 && 540 != empty

Origin:

if rec is not None and rec[1][-1] in (2, 12, 17, 27):

fixed:

if rec is not None and len(rec) > 0 and rec[1][-1] in (2, 12, 17, 27):

Kind regards

 

Olaf

OscamStatus plugin to e2openplugins and add functionality

$
0
0

Dear all,

 

In the 3rd party feed there is the plugin OscamStatus (0.62-r1) which has the following license:

#===============================================================================
# OscamStatus Plugin by puhvogel 2011-2012
#
# This is free software; you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free
# Software Foundation; either version 2, or (at your option) any later
# version.
#===============================================================================
 
Wouldn't it be an idea to have this plugin moved to e2openplugins so it can be maintained (as OpenPLi advices the use of Oscam I moved from CCcam to Oscam today)? Unfortunately I don't have the know how to do this myself, but there are a lot of technical advanced people here. If somebody would be willing to move it there, and with programming skills is willing to do it, I would love to see the option to view the entitlements in this plugin (that is the only thing I miss in comparison to the CCcam info plugin)..

USTVNow plugin

$
0
0

Hi Guys, 

 

It took me quite a while to get a stable stream for USTVNow, but since a few day's I got finally the conditions right to watch US-TV Channels without freezes.. 

 

The plugin that is placed here has a basic that comes back from a few years. Last summer I'd wanted to place the code online, but then unfortionaly USTVNow has changed the API so watching was impossible. 6 months ago I found some code from TSMedia to watch USTVNow on the receiver, but the disadvantage is that you need the plugin TSMedia to watch the channels. 

 

So.. with some help the plugin is back in action again. But.. it need some minor changes to make it more smoothly to use. 

I am asking for your help to make this plugin more useable.

 

The GUI should change the quality to whatever you want.. but unfortunately, this recognised by the code.

 

 

config.USTVNOW.quality = ConfigSelection(default = "4", choices = [("1", _("Low")), ("2", _("Mid")), ("3", _("High")), ("4", _("HD"))])

 

 

 
This is currently to working. The stream stay's in Low quality.
 
How to use:
1. First place the content of the ustvnow.zip file to folder: /usr/lib/enigma2/python/Plugins/Extensions/Ustvnow/
2. Install the plugin: ServiceApp 
3. Adjust the ServiceApp settings to:- Enigma2 playback system: serviceapp
- Enigma2 playback system: serviceapp
- Player: exteplayer3
- HLS Explorer must be set on true
4. Restart enigma2
 
5. Go to the website: www.ustvnow.com and make a new account. Use the free ($0.00) version to watch the free to view channels
6. Activate the account via e-mail
7. Use the plugin: menu\plugins\USTVnow and enter your e-mail address and password. 
8. Use green to save the settings.. and/or OK to create a bouquet.
 
9. A few seconds are needed to create a new Bouquet USTVNow with 7 US-TV Channels:
ABC, CBS, NBC, FOX, CW, My9, PBS
 
Note: To watch the TV Channels, once a day at 11.00 CET the URL's are changed, so then you need to reload the Channel's with the usage of the plugin. 
 
Note: The account is active for 45 day's to watch the channels in HD and via streaming option. After 45 day's, you only can watch the channels at the website: www.ustvnow.com.. But.. I created a new account.. and continue to watch the channels.. -> You need a new e-mail address of course.

Attached Files

Get service freq and sat position from oscam code

$
0
0
hi,
i need your help to solve this problem 
i am writing  an oscam emu reader that needs  service freq and sat position for discrambling, 
i want to get this information directly from oscam c++ code.

 

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

need blind scan plugin for spark 7162

$
0
0

hello every one

i need blindscan plugin to work on in my spark stb 7162.

blind scan works well on spark but i need to run it on my openpli

i downloaded 2 versions but it says not supported

 

i think my tuner is stv090x family.

 


Zgemma H7

$
0
0

Can someone confirm that the new Zgemma H7 handles automatic refresh correctly like it's brother H5 boxes. In other words, if you switch to a 60Hz IPTV stream, it makes the changes seemlessly. Thanks.

Getting the channel name, epg programatically

$
0
0
How can a program that is running on enigma2 get the name of the channel that is currently running and the EPG of the current event?
 
Thanks
 

current service change notification

$
0
0

Hi all,

What is the proper way to get notified of the current service change without using a timer and pooling the information from the session.nav.getcurrentService() ?

 

 

Custom service list

$
0
0

Hi all,

 

I want to add this feature to enigma.

 

in the channel selection screen (service list)  we have to iscrypted boolean value to distinguish betwen FTA and crypted services.

 

i want to add another boolean to distinguish betwen crypted channels supported by the CI,smatcards or emulators installed in the box, this way decrypteable     services can be shown differently in the service list (green color for exmple)

 

this information will be maintained by a dedicated plugin that wil try to figure it out at runtime.

 

Where i shoud add this information ?

 

 

 

 

 

RTL8811AU driver for VU+ Solo2

$
0
0

Hi, I've been trying to start my USB WiFi card (chipset RTL8811AU) on OpenPLi - with no success.

 

I've seen a lot of topics about this card/chipset on other images, not that much for OpenPLi.

 

Perhaps anyone already went through this path?

 

I'm willing to compile it on my own, but I would need some guidance as I don't know where to start :-) Any help will be appreciated!

Viewing all 1692 articles
Browse latest View live


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