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

Changing a Text Label

$
0
0

I'm doing tests  on a plugin , but I can't find a way of changing text twice on a function.

 

When pressing blue button, I want to get a specific text, and after 3 seconds, another one.

 

I only get the last one.

I press blue button, and after 3 secons I get "Finished!". I don't get the first one.

 

What I'm doing wrong ???

# -*- coding: iso-8859-1 -*-
from Plugins.Plugin import PluginDescriptor
from Screens.Screen import Screen
from Components.ActionMap import ActionMap
from Components.Label import Label
import time

class AAAA(Screen):
skin = """
<screen name="MyTests" position="240,240" size="300,300" flags="wfNoBorder" backgroundColor="#40000000">
  <eLabel position="20,25" size="200,30" text="MyTests" foregroundColor="#00ffffff" font="Regular; 24" valign="center" backgroundColor="#40000000" transparent="1" halign="center" />
  <eLabel position="20,100" size="5,40" backgroundColor="#00ff0000" />
  <eLabel position="120,100" size="5,40" backgroundColor="#000000ff" />
  <eLabel font="Regular; 20" foregroundColor="#00ffffff" backgroundColor="#40000000" halign="left" position="35,100" size="250,33" text="Cancel" transparent="1" />
  <eLabel font="Regular; 20" foregroundColor="#00ffffff" backgroundColor="#40000000" halign="left" position="135,100" size="250,33" text="Start" transparent="1" />
  <widget name="results" position="20,200" size="200,100" zPosition="2" font="Regular;25" halign="left" valign="center" backgroundColor="#40000000" />
</screen>
"""

def __init__(self, session):
  Screen.__init__(self, session)
  self.session = session
                self["results"] = Label()
  self["actions"] = ActionMap(["OkCancelActions", "ColorActions"],
                {
                        "red": self.exit,
                        "blue": self.mainfunc,
                        "cancel": self.exit
                        }, -1)
def exit(self):
  self.close()

def ChangeText(self, text):
  self["results"].setText(text)

def mainfunc(self):
  self.ChangeText("waiting 3 seconds")
  time.sleep(3)
  self.ChangeText("Finished!")

def main(session, **kwargs):
session.open(AAAA)

def Plugins(**kwargs):
return PluginDescriptor(name="AAAA", description=_("Silly Tests"), where = PluginDescriptor.WHERE_PLUGINMENU, icon="icon.png", fnc=main)

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 .

Attached Thumbnails

  • Screenshot-Зоо_ТВ__3714.jpg
  • Screenshot-Зоо_ТВ__9305.jpg

Attached Files

DVB-C scan for Dreambox

$
0
0

The big request to all users receivers Dreambox.

Check scanning tuners DVB-C(complete and etc).

I'm going to improve cable / terrestrial on openPli.

Your information will be very important, I wait for answers.
Thanks in advance :) .

ScreenGrabber plugin

$
0
0

ScreenGrabber 2.5

-fixed bugs
-assigned more buttons for screenshot shortcuts

use:
-install the plugin as any enigma2 plugin
-open menu-plugins-screengrabber and select screenshot according to your needs and assign remote button for taking screenshot(default text button),save and restart enigma
-take screenshot by pressing the shortcut button(text button-default)
-preview all taken screenshots as thaumbnail from files,click thumbnail to enlarge

Download:

Screengrabber_2.5_all

111970_29.jpg

mbcmax5320121521.jpg

Unpaused movie does not start from the same spot

$
0
0

Hi, after unpausing movie, it starts approx. 0.5 seconds later (about 2 words of dialogue missing). As I have just currently switched to Vu Duo2 and OpenPLi 4 (previously Vu Duo and OpenPLi 3) I am not sure but I think this was not issue in my previous setup so it is either issue of Vu Duo 2 or OpenPLi 4.

 

As workaround, I just added 0.5 s skip back to unpause function. Maybe there is better solution but in case this issue is common and you would like to use it too:

In InfoBarGenerics:

def unPauseService(self):
print "unpause"
if self.seekstate == self.SEEK_STATE_PLAY:
return 0
self.doSeekRelative(-45000)
self.setSeekState(self.SEEK_STATE_PLAY)

 

 

 

 

How to create virtual CI device

$
0
0

How can I create a virtual CI device (like for example /dev/ci0)?

Is there any info/doc available?

I have found the dvb-ci source of enigma2 (/lib/dvb_ci/dvbci.cpp) but it is not really helpful.

 

[PC-APP] E-Channelizer | 1.0.0

$
0
0

E-Channelizer
A stylish, fast, feature-rich yet lightweight settings editor for digital satellite set-top boxes powered by Enigma firmware.
 

screenshot.png

Features

General
- Freeware for the community developed mainly in love of hobby.
- Super-fast with background processing and multi-threading support.
- Fully portable; neither administrator privileges nor registry modification is required.
- Automatic updates (self-updatable).

Functionality
- Create new, open, and save local settings files.
- Open settings from recently opened files.
- Check and fix settings errors.
- Add, edit, and delete satellites, transponders, services, bouquets, and favorites.
- Validation of user inputs and actions.
- Parental control support (blacklist, whitelist or none).

Transponders
- Support satellites, cable and terrestrial dvb.
- Filter services by satellites, cable and terrestrial.
- In-line edit of satellites and transponders from the satellites.xml file.
- Add missing and update existing transponders from services data.
- Delete empty satellites, and unused satellites or transponders.
- Import satellites from local XML file or STB.

Services
- Unique icons for service types and flags (locked, new, hidden, encrypted).
- Sort and custom filter by service types and flags.
- Advanced search with instant highlighted results.
- Quick access to bouquets which the favorite services are added.
- Batch edit of multiple services at once.
- Add services to a new bouquet.
- Add services to a bouquet by drag and drop.
- Remove services from all bouquets at once.
- Copy, cut and paste services between multiple windows.

Favorites
- Advanced search with instant highlighted results.
- Insert markers.
- Insert stream (TS/DVBS and Non-TS).
- Rename favorites, reset names and change name letter-cases.
- Sort favorites alphabetically while optionally keep markers in place.
- Change parental control of favorites.
- Re-arrange favorites by drag and drop.
- Copy or move favorites between bouquet by drag and drop.
- Copy, cut and paste favorites between multiple bouquets or windows.
- Paste services from clipboard.

Profiles
- Support multiple STB profiles grouped in sections.
- Customize STB network configuration, file directories, HTTP/FTP ports.
- Support HTTP/FTP over secured SSL/TLS protocols and FTP passive mode.
- Test connectivity and check online status of STBs.
- Read, write and reload settings from STBs over the local network.
- Customize which files being transferred to STB and the reloading method.

Screenshots



start-screen.png

main-screen.png
flyouts.png

Supported Firmwares
- Enigma 2,
- Dreambox OS.

System Requirements
- Windows 10 / 8.1 / 8 / 7 SP1 / Vista SP2,
- .NET Framework 4.5 or higher
- 5MB of free disk space.

Download
www.echannelizer.com

Bug Reporting
If you ever find an issue or encountered a problem, kindly do not hesitate to report a bug to help us fix it and make the program better.

Useful Links
Localization
Tutorials

Regards
Sayyid A.

merge requests for PLi's git

$
0
0

hi PLi team

 

i think it would be nice to have this thread for git merge requests

 

as you're not using github it's not possible to update files online and it needs more work on linux but at least we can send merge requests

 

sourceforge is so slow in my country (Iran) so it's gonna be hard for me :)


FullBackup

$
0
0
Automatic Full Backup for ET/VU model(only PLi-3.0)...

The basic idea is taken from e2openplugin-AutoBackup.
Author Pedro_Newbie.
Modified Dima73 and vlamo.

Sessions and screens

$
0
0

I get an error in code for a plugin to control programs running on box.

Traceback (most recent call last):
  File "/usr/lib/enigma2/python/Tools/BoundFunction.py", line 9, in __call__
  File "/usr/lib/enigma2/python/Components/Console.py", line 56, in finishedCB
  File "/usr/lib/enigma2/python/Plugins/SystemPlugins/ServiceManager/plugin.py", line 122, in runCmdFinished
    callback(result.strip())
  File "/usr/lib/enigma2/python/Plugins/SystemPlugins/ServiceManager/plugin.py", line 596, in installFinished
    self.session.open(MessageBox, _("Package installed."), MessageBox.TYPE_INFO, timeout = 5)
  File "/usr/lib/enigma2/python/mytest.py", line 280, in open
    raise RuntimeError("modal open are allowed only from a screen which is modal!")
RuntimeError: modal open are allowed only from a screen which is modal!
<299925.100412> (PyObject_CallObject(<Tools.BoundFunction.boundFunction instance at 0x32db0a8>,(0,)) failed)
<299927.098680> [gRC] main thread is non-idle! display spinner!

it comes up after code that opens some messageboxes. Which Is the way for creating a message without timeout and close or delete it when an action is done?

i tried this but .... error

self.msg = self.session.open(MessageBox, _("Installing package..."), MessageBox.TYPE_INFO, enable_input=False)
self.msg.setTitle(_("Package installer"))

............... other code 

self.msg.close(True) or self.msg.close() or self.msg.close(0)

thanks to all

 

 

 

Recover plugin.py

$
0
0

Accident! i deleted plugin.py and plugin.pyo from the plugin dir with filezilla, either on pc and vuduo2.

Is there a way to recover the .py from vuduo?

:wacko:

RTL2832U chipset support proposal

$
0
0
About one week ago I've bought a DVB-T USB stick based on Realtek RTL2832U chipset.
I've found some driver for Ubuntu but they are old and someone has patched them introducing some wrong typecast in C code so they compile only for x86 64bit arch.

"Restart from scratch !" : I've emailed Realtek and they kindly give me their latest RTL2832 Linux driver rel 2.2.2. This driver is for kernel 2.6.x and V4L

I've started porting the code to kernel 3.x.x and I've made some code cleanup and minor bug correction.
My little project is here https://github.com/a...od_kernel-3.0.0 and you also can find in my GitHub repo the original RTL2832U 2.2.2 driver (two versions: full with 10 tuners and simplified with 3 tuner)

Since yesterday evening driver compile fine without any warning in Ubuntu 11.10 32bit and 64bit and device works fine.

And this morning compile fine also with OpenPLi for CT9x00 (based on 27-11-2011 repo)

These are some USB sticks RTL2832U based:
DIKOM USB-DVBT HD [ID 1b80:d394] (my own)
NILOX DVB-T Stick N15 [ID 1b80:d393]
TRUST 16738 [ID 0bda:2832]
TERRATEC Cinergy T Stick BLACK [ID 0ccd:00a9]
TX Hollywood DVTB [ID 1d19:1101]
DIGIVOX mini II v3.0 [ID 1d19:1101]

The driver "full" support:
Chipset 2832, 2836, 2840
DVB-T, DVB-C, DTMB
Tuners: E4000, FC0012 (most used), FC0013, FC2580, MAX3543, MX2063, MX2266, MXL5007T, TDA18272, TUA9001
All in one package: patch (see below) is about 2.5 MB

I've tested DIKOM USB-DVBT HD (USB2.0, RTL2832, FC0012, DVB-T) in my CT9100 with my driver and compared with Avermedia A867 stick:

Channels found (using Manual Scan, Tuner C, Complete, n, n, n; "Europe DVB-T" freq. set)
DIKOM: 312 (VHF ok), the same more or less than Avermedia A835
A867: 393 (VHF ok)

Zap time:
DIKOM: about 3-4 sec.
A867: about 1.5-2 sec.

Uptime after 10 minutes watching the same DVB-T HD channel:
DIKOM: 0.47
A867: 1.20

Signal quality feedback in E2:
DIKOM: none (no SNR, no AGC, no BER). I hope to fix in future.
A867: AGC, BER (no SNR)

Device temperature:
DIKOM: medium
A867: medium


The driver looks stable.


This is my local linux-etxx00_3.1.0.bb (made this morning) and I attach here my openembedded/recipes/linux/linux-etxx00/dvb-usb-rtl2832u.patch
I hope it can be included in OpenPli

DESCRIPTION = "Linux kernel for ${MACHINE}"
LICENSE = "GPL"
 
MACHINE_KERNEL_PR_append = ".7"
 
DEPENDS = "mtd-minimal-nand-utils"
RDEPENDS_kernel-image = "mtd-minimal-nand-utils"
 
SRC_URI += "http://www.et-view.com/download/linux-${PV}.tar.gz \
	file://${MACHINE}_defconfig \
	file://fix-proc-cputype.patch \
	file://dvb-usb-af9035.patch \
	file://dvb-usb-it9135.patch \
	file://tda18218-7mhz-lopass.patch \
	file://dvb-usb-a867.patch \
	file://PCTV-DVB-S2-stick-460e.patch \
	file://cxd2820r-enable-LNA-for-DVB-T.patch \
	file://cxd2820r-changed-condition-to-break-out-from-wait-lock-loop.patch \
	file://dvb-usb-smsdvb_fix_frontend.patch \
	file://dvb-usb-rtl2832u.patch \
	"
 
SRC_URI_append_et5x00 = " file://disable_early_fb.patch"
 
S = "${WORKDIR}/linux-${PV}"
 
inherit kernel
 
export OS = "Linux"
KERNEL_OBJECT_SUFFIX = "ko"
KERNEL_OUTPUT = "vmlinux"
KERNEL_IMAGETYPE = "vmlinux"
KERNEL_IMAGEDEST = "/tmp"
 
FILES_kernel-image = "/${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE}.gz"
 
do_configure_prepend() {
	oe_machinstall -m 0644 ${WORKDIR}/${MACHINE}_defconfig ${S}/.config
	oe_runmake oldconfig
}
 
kernel_do_install_append() {
	install -d ${D}/${KERNEL_IMAGEDEST}
	install -m 0755 ${KERNEL_OUTPUT} ${D}/${KERNEL_IMAGEDEST}
	gzip ${D}/${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE}
}
 
pkg_postinst_kernel-image () {
	if [ "x$D" == "x" ]; then
		if [ -f /${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE}.gz ] ; then
			flash_eraseall -j /dev/mtd1
			nandwrite -p /dev/mtd1 /${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE}.gz
			rm -f /${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE}.gz
		fi
	fi
	true
}
 

Attached Files

Plugin auto reboot et8000

Enigma2 Plugin Youtube

$
0
0

Attached is plugin Youtube which plays the xbmc-kodi video.plugin.youtube by bromix.

It is auto-updated from the bromix github.

 

Select "Yes" in the first list.

 

Regards, pcd.

Attached Files

Psiphon 3 for enigma2 ? is it possible ?

$
0
0

Hi everyone,

 

As you may know there is a program for android and windows called "Psiphon 3" which could bypass almost every limitation even in scenarios with firewalls :D

 

So my question is with the sources provided here https://bitbucket.org/psiphon/psiphon-circumvention-system is it possible to make e2 plugin for it or it requires so many dependencies ?


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

MediaPlayer.py - Skin parameters

$
0
0

Hallo,

ich möchte gerne in meine Skin`s für Mediplayer Playlist die parameter einstellen,dafür muss ich

in py Datei von MediaPlayer die parameter eintragen.Wie kann ich das am besten ändern,

meine vorstellung sieht so aus:

 

 

 

+import skin

 

# skin.xml <alias name="PlayList" font="Regular" size="26" height="40"/>

 

# skin.xml <parameter name="PlaylistEntryComponent" value="55, 1, 950, 40, 0,5, 5, 40, 40" />

from MenuList import MenuList

from Tools.Directories import SCOPE_CURRENT_SKIN, resolveFilename
from os import path

from enigma import eListboxPythonMultiContent, RT_VALIGN_CENTER, gFont, eServiceCenter

from Tools.LoadPixmap import LoadPixmap

STATE_PLAY = 0
STATE_PAUSE = 1
STATE_STOP = 2
STATE_REWIND = 3
STATE_FORWARD = 4
STATE_NONE = 5

class PlayList(MenuList):
    def __init__(self, enableWrapAround = False):
        MenuList.__init__(self, [], enableWrapAround, eListboxPythonMultiContent)
        self.l.setFont(0, gFont("Regular", 18))
        self.l.setItemHeight(23)
        self.currPlaying = -1
        self.oldCurrPlaying = -1
        self.serviceHandler = eServiceCenter.getInstance()
        self.state = STATE_NONE
        self.icons = [
            LoadPixmap(resolveFilename(SCOPE_CURRENT_SKIN, "skin_default/icons/ico_mp_play.png")),
            LoadPixmap(resolveFilename(SCOPE_CURRENT_SKIN, "skin_default/icons/ico_mp_pause.png")),
            LoadPixmap(resolveFilename(SCOPE_CURRENT_SKIN, "skin_default/icons/ico_mp_stop.png")),
            LoadPixmap(resolveFilename(SCOPE_CURRENT_SKIN, "skin_default/icons/ico_mp_rewind.png")),
            LoadPixmap(path=resolveFilename(SCOPE_CURRENT_SKIN, "skin_default/icons/ico_mp_forward.png")),
        ]

    def PlaylistEntryComponent(self, serviceref, state):
        res = [ serviceref ]
        text = serviceref.getName()
        if text is "":
            text = path.split(serviceref.getPath().split('/')[-1])[1]
        res.append((eListboxPythonMultiContent.TYPE_TEXT,25, 1, 470, 22, 0, RT_VALIGN_CENTER, text))
        try:
            png = self.icons[state]
            res.append((eListboxPythonMultiContent.TYPE_PIXMAP_ALPHATEST, 5, 3, 16, 16, png))
        except:
                pass
        return res

Kann mir bitte einer helfen das einzusetzen..Ich bedanke mich jetzt schon für eure Antworten..

 

 

 

 

Attached Files

New OpenPli based image

$
0
0

New Black Hole Open Source image based on OpenPli for Vu+ Boxes.

 

Black Hole panels

Hbbtv

Open GLes animations (Duo2, Solo2, SoloSE)

Xbmc (Duo2, Solo2, SoloSE)

Compatible with Pli plugins and skins

Git online

 

Thanks to OpenPli for their work.

[PC-APP] E-Channelizer

$
0
0

E-Channelizer
A stylish, fast, feature-rich yet lightweight settings editor for digital satellite set-top boxes powered by Enigma firmware.
 

screenshot.png

Features

General
- Freeware for the community developed mainly in love of hobby.
- Super-fast with background processing and multi-threading support.
- Fully portable; neither administrator privileges nor registry modification is required.
- Automatic updates (self-updatable).

Functionality
- Create new, open, and save local settings files.
- Open settings from recently opened files.
- Check and fix settings errors.
- Add, edit, and delete satellites, transponders, services, bouquets, and favorites.
- Validation of user inputs and actions.
- Parental control support (blacklist, whitelist or none).

Transponders
- Support satellites, cable and terrestrial dvb.
- Filter services by satellites, cable and terrestrial.
- In-line edit of satellites and transponders from the satellites.xml file.
- Add missing and update existing transponders from services data.
- Delete empty satellites, and unused satellites or transponders.
- Import satellites from local XML file or STB.

Services
- Unique icons for service types and flags (locked, new, hidden, encrypted).
- Sort and custom filter by service types and flags.
- Advanced search with instant highlighted results.
- Quick access to bouquets which the favorite services are added.
- Batch edit of multiple services at once.
- Add services to a new bouquet.
- Add services to a bouquet by drag and drop.
- Remove services from all bouquets at once.
- Copy, cut and paste services between multiple windows.

Favorites
- Advanced search with instant highlighted results.
- Insert markers.
- Insert stream (TS/DVBS and Non-TS).
- Rename favorites, reset names and change name letter-cases.
- Sort favorites alphabetically while optionally keep markers in place.
- Change parental control of favorites.
- Re-arrange favorites by drag and drop.
- Copy or move favorites between bouquet by drag and drop.
- Copy, cut and paste favorites between multiple bouquets or windows.
- Paste services from clipboard.

Profiles
- Support multiple STB profiles grouped in sections.
- Customize STB network configuration, file directories, HTTP/FTP ports.
- Support HTTP/FTP over secured SSL/TLS protocols and FTP passive mode.
- Test connectivity and check online status of STBs.
- Read, write and reload settings from STBs over the local network.
- Customize which files being transferred to STB and the reloading method.

Screenshots



start-screen.png

main-screen.png
flyouts.png

Supported Firmwares
- Enigma 2,
- Dreambox OS.

System Requirements
- Windows 10 / 8.1 / 8 / 7 SP1 / Vista SP2,
- .NET Framework 4.5 or higher
- 5MB of free disk space.

Download
www.echannelizer.com

Bug Reporting
If you ever find an issue or encountered a problem, kindly do not hesitate to report a bug to help us fix it and make the program better.

Useful Links
Localization
Tutorials

Regards
Sayyid A.

OpenMultiboot for openPLi

Viewing all 2503 articles
Browse latest View live


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