Livecli repacked as ipkg for E2 receiver.
- source: https://github.com/livecli/ipk
- livecli: https://github.com/livecli/livecli
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
if you want to use
- service 5001 gstplayer (gstreamer)
- service 5002 exteplayer3 (ffmpeg)
instead of
- service 4097 IPTV
opkg install enigma2-plugin-systemplugins-serviceapp
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
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
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
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