-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
534 changed files
with
68,338 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,17 @@ | ||
# acestream-armv7 | ||
AceStream engine for Raspberry Pi 2/3 | ||
|
||
Wrapper for latest official ARM version from http://wiki.acestream.org/wiki/index.php/Download | ||
|
||
Runs embedded Python in chrooted environment to mimic Android fs on Linux. | ||
|
||
Initial author: [pepsik-kiev](https://github.com/pepsik-kiev) | ||
|
||
|
||
## Installation | ||
|
||
1. Unzip latest release to /opt/acestream | ||
2. Copy acestream-user.conf.example to acestream-user.conf and change user/password | ||
3. Copy acestream.service to /etc/systemd/system | ||
4. Enable service to run at boot and start it (systemctl enable acestream; systemctl start acestream) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
################################################################################ | ||
# acestreamengine user arguments : | ||
################################################################################ | ||
|
||
ACE_USER_ARG="--log-debug 0 \ | ||
--login ACESTREAM_LOGIN \ | ||
--password ACESTREAM_PASSW \ | ||
--access-token WEBUIPASSWORD \ | ||
--bind-all \ | ||
--live-cache-type memory \ | ||
--live-cache-size 209715200 \ | ||
--vod-drop-max-age 120 \ | ||
--live-buffer 30 \ | ||
--vod-buffer 10 \ | ||
--max-connections 500 \ | ||
--max-peers 50 \ | ||
--max-peers-limit 100 \ | ||
--max-upload-slots 10 \ | ||
--download-limit 0 \ | ||
--upload-limit 0 \ | ||
--stats-report-interval 2 \ | ||
--slots-manager-use-cpu-limit 1 \ | ||
--core-dlr-periodic-check-interval 5 \ | ||
--check-live-pos-interval 5 \ | ||
--refill-buffer-interval 1 \ | ||
--core-skip-have-before-playback-pos 1 \ | ||
--webrtc-allow-outgoing-connections 1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[Unit] | ||
Description=Acestream Service | ||
After=network.target | ||
|
||
[Service] | ||
Type=simple | ||
ExecStart=/opt/acestream/autostart.sh | ||
Restart=on-abort | ||
|
||
[Install] | ||
WantedBy=multi-user.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
#!/bin/sh | ||
PATH=/sbin:/bin:/usr/sbin:/usr/bin | ||
|
||
ACEADDON=$(readlink -f $(dirname $0)) | ||
ACECHROOT="androidfs" | ||
|
||
if ! [ $(id -u) = 0 ]; then | ||
PERMISSION=sudo | ||
fi | ||
|
||
if mount | grep -E "( $ACEADDON/$ACECHROOT/proc | $ACEADDON/$ACECHROOT/sys | $ACEADDON/$ACECHROOT/dev )" >/dev/null; then | ||
|
||
$PERMISSION pkill -9 -f "/system/data/data/org.acestream.engine/files/python/bin/python" &>/dev/null | ||
$PERMISSION pkill -9 -f "/system/bin/acestream.sh" &>/dev/null | ||
$PERMISSION umount $ACEADDON/$ACECHROOT/proc | ||
$PERMISSION umount $ACEADDON/$ACECHROOT/sys | ||
$PERMISSION umount $ACEADDON/$ACECHROOT/dev | ||
sleep 2 | ||
fi | ||
|
||
$PERMISSION mkdir -p $ACEADDON/$ACECHROOT/dev | ||
$PERMISSION mkdir -p $ACEADDON/$ACECHROOT/proc | ||
$PERMISSION mkdir -p $ACEADDON/$ACECHROOT/sys | ||
|
||
$PERMISSION mount -o bind /dev $ACEADDON/$ACECHROOT/dev &>/dev/null | ||
$PERMISSION mount -t proc proc $ACEADDON/$ACECHROOT/proc &>/dev/null | ||
$PERMISSION mount -t sysfs sysfs $ACEADDON/$ACECHROOT/sys &>/dev/null | ||
|
||
$PERMISSION chroot $ACEADDON/$ACECHROOT /system/bin/sh -c "cd /system/data/data/org.acestream.engine/files ; /system/bin/acestream.sh" > $ACEADDON/acestream.log 2>&1 - << EOF | ||
from acestreamengine import Core | ||
params = "$@".split(' ') | ||
if params == ['']: | ||
params = [] | ||
Core.run(params) | ||
EOF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/system/bin/sh | ||
#/system/bin/ps aux | ||
export ANDROID_ROOT=/system | ||
export ANDROID_DATA=/data | ||
export ANDROID_STORAGE=/storage | ||
export PYTHONHOME=/system/data/data/org.acestream.engine/files/python | ||
export PYTHONPATH=/system/data/data/org.acestream.engine/files/python/lib/python2.7/lib-dynload:/system/data/data/org.acestream.engine/files/python/lib/python2.7 | ||
export PATH=$PYTHONHOME/bin:$PATH | ||
export LD_LIBRARY_PATH=/system/data/data/org.acestream.engine/files/python/lib:/system/data/data/org.acestream.engine/files/python/lib/python2.7/lib-dynload | ||
/system/data/data/org.acestream.engine/files/python/bin/python |
Binary file not shown.
Binary file not shown.
14 changes: 14 additions & 0 deletions
14
androidfs/system/data/data/org.acestream.engine/files/.ACEStream/broadcast_list.pickle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
(dp0 | ||
S'version' | ||
p1 | ||
I2 | ||
sS'data' | ||
p2 | ||
(dp3 | ||
S'0b824e4cf3f717766a6569a5b5d9367f16f58748' | ||
p4 | ||
(dp5 | ||
sV_no_owner_ | ||
p6 | ||
(dp7 | ||
ss. |
1 change: 1 addition & 0 deletions
1
...oidfs/system/data/data/org.acestream.engine/files/.ACEStream/external_player_manager.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"last_selected_player": null, "selected_player_cache": {}} |
17 changes: 17 additions & 0 deletions
17
androidfs/system/data/data/org.acestream.engine/files/.ACEStream/playlist.pickle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
(dp0 | ||
S'version' | ||
p1 | ||
I3 | ||
sS'data' | ||
p2 | ||
(dp3 | ||
S'0b824e4cf3f717766a6569a5b5d9367f16f58748' | ||
p4 | ||
(dp5 | ||
S'playlist' | ||
p6 | ||
(lp7 | ||
sS'max_item_id' | ||
p8 | ||
I0 | ||
sss. |
Binary file added
BIN
+6.77 KB
androidfs/system/data/data/org.acestream.engine/files/.ACEStream/sessconfig.pickle
Binary file not shown.
Binary file added
BIN
+322 KB
androidfs/system/data/data/org.acestream.engine/files/acestreamengine/Core.so
Binary file not shown.
Binary file added
BIN
+6.11 MB
androidfs/system/data/data/org.acestream.engine/files/acestreamengine/CoreApp.so
Binary file not shown.
Empty file.
Binary file added
BIN
+114 Bytes
androidfs/system/data/data/org.acestream.engine/files/acestreamengine/__init__.pyc
Binary file not shown.
Binary file added
BIN
+3.58 MB
androidfs/system/data/data/org.acestream.engine/files/acestreamengine/live.so
Binary file not shown.
Binary file added
BIN
+448 KB
androidfs/system/data/data/org.acestream.engine/files/acestreamengine/node.so
Binary file not shown.
Binary file added
BIN
+25.9 KB
androidfs/system/data/data/org.acestream.engine/files/acestreamengine/pycompat.so
Binary file not shown.
Binary file added
BIN
+13.3 MB
androidfs/system/data/data/org.acestream.engine/files/acestreamengine/pysegmenter.so
Binary file not shown.
Binary file added
BIN
+1.97 MB
androidfs/system/data/data/org.acestream.engine/files/acestreamengine/pywebrtc.so
Binary file not shown.
Binary file added
BIN
+500 KB
androidfs/system/data/data/org.acestream.engine/files/acestreamengine/streamer.so
Binary file not shown.
Binary file added
BIN
+1.14 KB
androidfs/system/data/data/org.acestream.engine/files/data/images/acestream16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.31 KB
androidfs/system/data/data/org.acestream.engine/files/data/images/acestream32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.06 KB
androidfs/system/data/data/org.acestream.engine/files/data/images/icon.ico
Binary file not shown.
Binary file added
BIN
+928 Bytes
androidfs/system/data/data/org.acestream.engine/files/data/images/streamer-16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.94 KB
androidfs/system/data/data/org.acestream.engine/files/data/images/streamer-32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+648 Bytes
androidfs/system/data/data/org.acestream.engine/files/data/images/user_pro.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.