Giter VIP home page Giter VIP logo

e2scripts's Introduction

Simple scripts for Enigma 2, focused on OpenATV and OpenPLi.

  • LGTV-RS232 directory

    • switching On and Off the LG TV via RS-232 interface
  • softcam

    • OSCam or CCcam startup shell-scripts (Bash) '/etc/init.d/softcam' for Enigma2 based set-top-box
    • it also records its activity to a temporary LOG-file
    • more info can be found in the script
    • if you need to use this script for CCcam, please use the following 'sed' command:
        sed -i -e 's/oscam/cccam/I' -e 's/OSCam/CCcam/I' -e 's/-b -r 2/-stl/I' /etc/init.d/softcam
    
  • make_ipk_by_s3n0_for_ProjectXYZ.py

    • IPK creation tool for Enigma2, debugged and tested on OpenATV
  • oscam-picons-converter.py

    • simple script to convert PNG picons to TPL picons - for the needs of Oscam Webif (Oscam WebGUI)
    • TPL picon names are determined by srvid or srvid2 databases
  • epg_refresh.py

    • simple python script for Enigma2 based set-top-box, for refresh EPG data on all DVB channels
    • the script will find all the necessary transponders what you need to zapping
    • transponders are selected from the userbouquet and zap only once
    • the best way to use EPG refresh is to add a new task to the CRON scheduler ... be sure to set the file attributes (chmod 755 /usr/script/epg_refresh.py) ... for example, to run the python script every 2th day at 03:00, as the background process, use the following line:
        00 03 */2 * *      /usr/bin/python /usr/script/epg_refresh.py > /dev/null 2>&1
    
  • backrest

    • simple bash script for backing up and restoring user-defined settings + files + folders in Enigma2
    • disadvantage is the need to manually edit this script after each new feature is added to your Enigma (plugins, binary files, scripts, etc.) for full backup or restore
  • oscam-new-version-updater.sh

    • script checks if there is a newer version on the internet and if so, updates the binary file extracted from the downloaded IPK package
    • 7zip-full archiver is required since 'ar' tool is a problematic... the "ar" tool is in most cases a light version as part of BusyBox... and this light version is insufficient when splitting files from IPK / DEB packages
  • bouquetx.sh

    • shell script to download userbouquet file from internet and overwrite local userbouquet file, but only if there is a change in the file (tested for file content differences)
    • script is based on regular reloading of services using OpenWebif interface (i.e. mode 0 and also mode 4)

... etc.

e2scripts's People

Contributors

s3n0 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

e2scripts's Issues

oscam-picons-converter

In the oscam-picons-converter.log i can see
Warning !
Total number of all SrvIDs is too high !
A lot of TPL-picons will be created !
Do you really want to continue ?
(y/n)
how can i press y on console if
oscam-picons-converter.py is running in background

Screenshot 2021-12-26 120712

ipk build

my plugin have other folder in "usr/lib/IPTV " do you can updatte script or let me know how to build including that folder

Can you write a script that can reset a CI-Module / ci0 ?

Hi,
First off: I'm sorry I opened this as an "issue" as this is more of an feature request.
I was trying to make a script to automatically reset a CI Module, but I had no luck so far. Thru a Google search I came upon your scripts.
Currently it's possible to reset a CI Module by going to Menu > Settings > Decryption & Parental Control > Common Interface and then selecting "Reset" on either Slot1 or Slot2.
Since going thru the menus is a little cumbersome and I would like to automate it, I was hoping for a script that can be run with a CronTimer.
On Google and various GitHub pages I found stuff like "eDVBCI_UI.getInstance().setReset(slot)" and `int eDVBCIInterfaces::reset(int slotid)
{
eDVBCISlot *slot;

if( (slot = getSlot(slotid)) == 0 )
	return -1;

return slot->reset();

}`
but I'm not code-smart enough to turn this into a script.
Do you know if this can be done?

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.