Skip to content

A nodejs application with web client on Raspberry PI as a Youtube Player

License

Notifications You must be signed in to change notification settings

normankong/MyHaileySuper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My Hailey Super

This is a mini app run on nodejs / omxplayer to play pre-downloaded Youtube video. Inspired by the Android TV Project (http://blog.donaldderek.com/).

Feature Supports :

  • Download Youtube Video as local repository
  • Support Multiple Channel
  • Parent Control to auto stop the play box after predefined on time
  • Built in Web App Remote Control
    • List all the Video
    • Basic Remote Control Functions
      • Stop Play Box
      • Start Play Box
      • Play Next Song
      • Play Previous Song
      • Fast Forward
      • Fast Backward
    • Switch Channel
    • Stop Application
    • Start Application
  • Admin interface :
    • Create Channel
    • Delete Channel
    • Delete Video
    • Reboot Pi Server
    • Shutdown Pi Server
  • Download Interface :
    • Support Search Youtube by
      • Keyword
      • Youtube URL

Installation

  1. Install the youtube-dl binary to your RPi

    • sudo apt-get youtube-dl
  2. Execute the npm to download the dependencies.

    • npm install
  3. Create a Default Channel Folder under "public/channel/<DEFAULT_FOLDER>"

    • e.g. mkdir public/channel/Hailey
  4. Edit the config/config.json - Update the Default Channel to "<DEFAULT_FOLDER>"

  5. Apply the Google API Key for You Tube Search (Optional if you do need to download any youtube video)

    https://developers.google.com/youtube/v3/getting-started

  6. Run the Node App

    • npm start

Recommendation

Recommend to use Process Manager (e.g. PM2) to manage the application.

    http://pm2.keymetrics.io/    

Known Issue

If the RPI was idle for several period of time, the HDMI signal cannot be sent to TV. Restart of the RPi is necessary.

Enjoy !

img

About

A nodejs application with web client on Raspberry PI as a Youtube Player

Resources

License

Stars

Watchers

Forks

Packages

No packages published