Created
December 18, 2022 13:54
-
-
Save FelikZ/a7c4d6ea21d4df2627b4d064d450788e to your computer and use it in GitHub Desktop.
Watch Acestream on Apple TV using VLC (from Mac / OSX)
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
#!/usr/bin/env bash | |
# 1) Open firewall settings and exclude /Applications/Docker.app/Contents/Resources/bin/ | |
# so containers can be accessible through the network | |
# 2) Start acelink | |
docker run --rm -ti --name "acelink" -p "0.0.0.0:6878:6878" -p "0.0.0.0:6888:6888" blaiseio/acelink \ | |
--client-console \ | |
--allow-user-config \ | |
--bind-all \ | |
--live-buffer-time=15 \ | |
--live-cache-type=memory \ | |
-–vod-buffer=15 \ | |
--vod-cache-type=memory | |
# 3) Enter in STREAM_LINK value of stream and run commands | |
# this will generate link cosumable by Apple TV VLC | |
# Example: acestream://abcd | |
STREAM_LINK="acestream://abcd" | |
CURRENT_IP="$(ipconfig getifaddr en0)" | |
ACE_HASH="$(echo $STREAM_LINK | tr '/' ' ' | awk '{print $2}')" | |
echo "http://${CURRENT_IP}:6878/ace/getstream?id=${ACE_HASH}" | |
# 4) Copy-paste url to Apple TV VLC either through remote control or "Remote Playback" feature | |
# 5) Enjoy! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment