Git Product home page Git Product logo

remotepi's Introduction

RemotePi -- Raspberry Pi media centre with remote control
=========================================================

## DESCRIPTION

RemotePi is a remote control web app to browse your RaspberryPi's music/videos,
internet radio stations or YouTube and play them via the omxd playlist daemon.

RemotePi is optimized for small smartphone screens.

RemotePi is strictly file and directory based and could not care less
for MP3 tags in files. MP3 tags are evil and rude.

Features:
 - browse the Raspberry file system below a specified root dir
 - browse internet radio stations using rpi.fm
 - browse and play YouTube videos
 - insert and append files, stremas or entire directories to the omxd playlist
 - play files now on Jack or HDMI audio and then return to playlist
 - play/pause, repeat, previous/next in playlist, RW/FF.

RemotePi is a FastCGI (mod_fcgid) app.

## INSTALL

As root

 echo deb http://linux.subogero.com/deb/ / >/etc/apt/sources.list.d/subogero.list
 apt-get update
 apt-get install remotepi

This installs RemotePi's dependencies too: apache2, omxd, rpi.fm, u2b
and the necessary Perl libraries.

## USE

Point your PC/tablet/phone's browser to http://raspberry/remotepi on your
home WiFi network. Enjoy.

The buttons wear the name of the respctive omxd commands, see the tooltips,
the "help" tab or omxd's README or man page.

If you have internet connection, the UI will use Hammer.js to change tabs
with swipe and long-press gestures for the left/right and help tabs.

## REST API

RemotePi offers a JSON-based REST API to control all functions:

 GET url/S* - playlist and playback status
 POST url/S {"cmd":"x"} - playlist commands

 GET url/home/dir... - list dir on Raspberry Pi
 POST url/home {"cmd":"x","file":"file"} - append file/dir to playlist

 GET url/fm/cmd1/... - rpi.fm command list for listings
 POST url/fm ["cmd1",...] - rpi.fm command list ending with playlist command

 GET url/yt/search/term - YouTube search for term
 POST url/yt {"cmd":"ẍ","query":"id"} - YouTube playback command

## FILES

### /etc/omxd.conf

Omxd runs omxplayer as the user specified in this file.
This user's home is the root directory for file browsing by RemotePi.
If the file does not exist, the default root directory is /home.

### /var/www/remotepi

A symlink to your remotepi directory

### /var/www/remotepi/.rpi.fm

rpi.fm's genre cache and "My stations" database

### /etc/apache2/remotepi.conf

Apache2 config for the RemotePi app. Gets included in the default virtual host
config file /etc/apache2/sites-available/default during install.

remotepi's People

Contributors

subogero avatar wouterel avatar

Watchers

Mediabox 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.