Coder Social home page Coder Social logo

javidbu / raspberrycast Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vincelwt/raspberrycast

0.0 1.0 0.0 9.26 MB

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

CSS 2.65% JavaScript 36.82% HTML 9.51% Shell 6.92% Python 34.90% Smarty 9.19%

raspberrycast's Introduction

RaspberryCast 3.0

Transform your Raspberry Pi into a streaming device. Cast videos from mobile devices or computers to your TV.

Android app on Google Play Extension for Chrome Extension for Firefox

Supported services

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

You can also cast playlists from Youtube or Soundcloud.

How to install (Raspberry Pi side)

wget https://raw.githubusercontent.com/vincelwt/RaspberryCast/master/setup.sh && sudo sh setup.sh

That's it.

The installation script will:

  • Download RaspberryCast and install the necessary dependencies
  • Autostart RaspberryCast at boot (added to /etc/rc.local)
  • Reboot

You can review the install script.

Remote control (mobile devices)

The remote on Android

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

http://raspberrypi.local:2020/remote

Note that you can "Add to homescreen" this link

You can also use the Android application (link to Playstore at the top of the page)

Chrome & Firefox extension

Extension options

alt tag

Right-click options

alt tag

You can configure RaspberryCast settings in the extension option page.

Cast videos from computer

Works on Linux, Mac OS, and Windows (Python needed)

Download

wget https://raw.githubusercontent.com/vincelwt/RaspberryCast/master/rcast.py

Usage

python rcast.py video.mkv <subtitle.srt>

Subtitles can be given as an optional second argument. If no subtitle argument is found, RaspberryCast will attempt to find a subtitle file with the same name as the video. In the case of TV shows and movies, RaspberryCast will attempt to match the video with an appropriate subtitle file. This behaviour can be disabled in the configuration file.

Demos

Demo video with the Chrome extension:

Video 1

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

Video 2

Uninstall

Remove reference to RaspberryCast.sh in /etc/rc.local

Delete the /home/pi/RaspberryCast/ folder.

Contribute

If you enjoyed using RaspberryCast, and/or would like to support the development, please consider making a donation.

Donate

License

Code released under the MIT license.

You are welcome to contribute to the project.

raspberrycast's People

Contributors

adityang avatar ahmad-masood avatar butchhoward avatar fasthall avatar loiclw avatar mheine avatar vincelwt avatar

Watchers

 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.