GithubHelp home page GithubHelp logo

theringer / raspberrycast Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vincelwt/raspberrycast

0.0 2.0 0.0 8.23 MB

Transform your Raspberry Pi into a streaming device. Videos can be sent from mobile devices or computers (Chrome extension).

Java 11.98% CSS 0.39% JavaScript 5.15% HTML 1.67% Shell 1.68% Python 77.29% Smarty 1.85%

raspberrycast's Introduction

RaspberryCast 0.2

Transform your Raspberry Pi into a streaming device. Cast YouTube/Vimeo videos from mobile devices or computers with the Chrome extension.

Android app on Google Play Extension in Chrome web store

Demo video with the Chrome extension: Video 1

Demo video with an Android (also works on iOS): Video 2

Supported services

Works with all youtube-dl supported websites: http://rg3.github.io/youtube-dl/supportedsites.html (YouTube, SoundCloud, Dailymotion, Vimeo, etc...) but also any direct link to mp3, mp4, avi and mkv file.

How to install (RaspberryPi side)

wget https://raw.githubusercontent.com/vincent-lwt/RaspberryCast/master/setup.sh && sudo sh setup.sh

That's it.

The installation script will:

  • Install RaspberryCast & the necessary dependencies
  • Autostart RaspberryCast at boot (added to /etc/rc.local)
  • Reboot (necessary to print logs on first use) You can review the install script.

Remote control (mobile devices)

alt tag

On any device connected to the same network as you Pi, you can visit the page:

http://<your-Pi-ip>:2020/remote

Note that you can "Add to homescreen" this link

OR you can use the Android application (link to Playstore at the top of the page)

Chrome extension (computers)

alt tag

alt tag

You can configure RaspberryCast settings in the extension option page.

Todo

  • Playlist support
  • Subtitles support
  • Live stream supports
  • Torrent by magnet
  • Firefox extension
  • iOS app for control & sharing
  • HDMI-CEC support

PopcornTime integration

On your computer, use the following version: https://popcorntime.io/

You need to enable the PopcornTime support in the extension options.

  1. On computer, when the selected movie/show is playing press "u" (keyboard).
  2. Open your browser, click on the extension and paste the URL in the textbox (ctrl-v).
  3. Press enter, and wait a few seconds.

Keep Popcorntime running during play.

##Uninstall Remove reference to RaspberryPi.sh in /etc/rc.local Delete the /home/pi/RaspberryCast/ folder.

##Tips

Update:

cd /RaspberryCast
git pull
sudo ./RasberryCast.sh stop
./RasberryCast.sh start

Restart RaspberryCast (i.e. adress already in use):

cd /RaspberryCast
sudo ./RasberryCast.sh stop
./RasberryCast.sh start

If you want to enable autologin at boot:

sed -i '/1:23/c\1:2345:respawn:/bin/login -f pi tty1 </dev/tty1 >/dev/tty1 2>&1' /etc/inittab

##License Code released under the MIT license.

You are welcome to contribute to the project.

raspberrycast's People

Contributors

vincelwt avatar loiclw avatar adityang avatar

Watchers

James Cloos avatar TheRinger 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.