cloudspaceone / remotepi Goto Github PK
View Code? Open in Web Editor NEWThis project forked from subogero/remotepi
Raspberry Pi Lightweight Media Centre
License: Other
This project forked from subogero/remotepi
Raspberry Pi Lightweight Media Centre
License: Other
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.