Giter VIP home page Giter VIP logo

ipk's Introduction

IPK

Livecli repacked as ipkg for E2 receiver.

INSTALLATION

This is only tested with a Vu+ Duo2

open the terminal and install ...

install required packages

opkg install python-futures
opkg install python-singledispatch
opkg install python-six
opkg install python-requests

download and install all required packages from this repo

cd /tmp

wget https://raw.githubusercontent.com/livecli/ipk/master/build/python-backports.shutil-get-terminal-size_1.0.0_all.ipk
opkg install /tmp/python-backports.shutil-get-terminal-size_1.0.0_all.ipk

wget https://raw.githubusercontent.com/livecli/ipk/master/build/python-backports.shutil-which_3.5.1_all.ipk
opkg install /tmp/python-backports.shutil-which_3.5.1_all.ipk

wget https://raw.githubusercontent.com/livecli/ipk/master/build/python-iso3166_0.8_all.ipk
opkg install /tmp/python-iso3166_0.8_all.ipk

wget https://raw.githubusercontent.com/livecli/ipk/master/build/python-iso639_0.4.5_all.ipk
opkg install /tmp/python-iso639_0.4.5_all.ipk

wget https://raw.githubusercontent.com/livecli/ipk/master/build/python-socks_1.6.8_all.ipk
opkg install /tmp/python-socks_1.6.8_all.ipk

wget https://raw.githubusercontent.com/livecli/ipk/master/build/python-websocket_0.47.0_all.ipk
opkg install /tmp/python-websocket_0.47.0_all.ipk

wget https://raw.githubusercontent.com/livecli/ipk/master/build/python-livecli_3.6.1_all.ipk
opkg install /tmp/python-livecli_3.6.1_all.ipk

test livecli

livecli -l debug

start the server

update-rc.d /etc/init.d/livecli-server defaults

optional

if you want to use

  • service 5001 gstplayer (gstreamer)
  • service 5002 exteplayer3 (ffmpeg)

instead of

  • service 4097 IPTV
opkg install enigma2-plugin-systemplugins-serviceapp

HELPER

m3u to userbouquet

convert m3u data to userbouquet data

  • SEARCH
#EXTINF:-1 tvg-id="([^"']+)".+\n(http.+)
  • REPLACE
#SERVICE 4097:0:1:0:0:0:0:0:0:0:$2:$1
#DESCRIPTION $1

Network Time Protocol (NTP)

Known issue SystemTimeWarning

/usr/lib/python2.7/site-packages/requests/packages/urllib3/connection.py:303:
SystemTimeWarning: System time is way off (before 2014-01-01).
This will probably lead to SSL verification errors SystemTimeWarning

run NTP at the startup

update-rc.d /etc/init.d/ntpupdate.sh defaults

DESCRIPTION

Bouquet Example for https://www.zdf.de/sender/zdf/zdf-live-beitrag-100.html

The basic livecli service path is

http%3a//127.0.0.1%3a53473/play/?url=

No : is allowed in an url, use %3a

Now encode the stream url with an urlencoder

https://www.zdf.de/sender/zdf/zdf-live-beitrag-100.html

changes to

https%3A%2F%2Fwww.zdf.de%2Fsender%2Fzdf%2Fzdf-live-beitrag-100.html

combinate the basic livecli service path and the stream url

http%3a//127.0.0.1%3a53473/play/?url=https%3A%2F%2Fwww.zdf.de%2Fsender%2Fzdf%2Fzdf-live-beitrag-100.html

with this url you can now build the valid bouquet data

#SERVICE 4097:0:1:0:0:0:0:0:0:0:http%3a//127.0.0.1%3a53473/play/?url=https%3A%2F%2Fwww.zdf.de%2Fsender%2Fzdf%2Fzdf-live-beitrag-100.html:ZDF HD
#DESCRIPTION ZDF HD

DEVELOPER INSTRUCTIONS

create an .ipk file from the source folder.

Example for python-iso3166

$ cd build
$ ../source/ipkg-build ../source/python-iso3166/
sha256sum *.ipk > sha256sum.txt
sha256sum -c sha256sum.txt

Remove .pyc with find . -name '*.pyc' -delete

source of the ipkg-build file

ipk's People

Contributors

back-to avatar

Watchers

 avatar  avatar

Forkers

persianpros

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.