Coder Social home page Coder Social logo

acestream-rpi's Introduction

acestream-rpi

This project is an attempt at playing AceStreams on a Raspberry Pi 2/3 with Raspbian Lite without X.

It works with the AceStream Engine borrowed from Android, coupled with a HTTP proxy and the omxplayer.

Installation and Usage

  • Install Raspbian Lite on Raspberry Pi 2/3.
  • Configure the network.
  • Clone the repository.
  • Run ./acestream-rpi/start.sh directly on the Raspberry Pi (no SSH).
  • This downloads all the dependencies and starts the system.
  • After the system is running use ./play.sh ACESTREAM_HASH to start a stream.
  • By default omxplayer outputs to the HDMI port (edit ./play.sh for your needs).

Kiosk mode

  • Run ./acestream-rpi/start.sh [<program>] with program parameter, this puts the system in kiosk mode and runs the program. When the program exits the system will shutdown. The program should be some kind of CLI AceStream provider. Right now you can use ./acestream-rpi/start.sh ./kiosk.sh as an example.

Setup lirc (IR remote control)

Run ./acestream-rpi/setup-lirc.sh to install lirc. This can be used to control the system using a IR remote in kiosk mode. You will need some kind of IR receiver connected to GPIO18, like the TSOP4838.

Configure a remote control

  • Stop the daemons, sudo service lircd stop.
  • Create a remote config using irrecord (on Raspbian Stretch you may need to use raw mode, irrecord -f, due to a bug).
  • Register at least the keys: KEY_UP, KEY_DOWN, KEY_ENTER and KEY_BACKSPACE.
  • Copy the config file to /etc/lirc/lircd.conf.d/.
  • Start the daemons, sudo service lircd start and sudo service lircd-uinput start
  • Now the remote control should emulate the keyboard keys.

acestream-rpi's People

Contributors

goncalomb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

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.