Giter Site home page Giter Site logo

chaps / netflask Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fisle/netflask

0.0 1.0 0.0 353 KB

HTML5 movie gallery written in Flask

License: Do What The F*ck You Want To Public License

Python 4.10% CSS 9.14% JavaScript 84.18% Shell 0.25% HTML 2.33%

netflask's Introduction

Netflask

Simple private HTML5 video gallery written in Flask.

Features

  • HTML5 player using mediaElement player
  • Automatically scans library for new movies (Remember to set a cronjob!)
  • Automatically converts new videos into proper formats
  • Automatically fetches subtitles
  • Fetches movie data from RottenTomatoes API
  • Uses X-Accel-Redirect to serve videos in a secure way

Requirements

Bugs

  • Videos are not playing under Firefox on Linux, due to codec licensing issues. You can enable WebM encoding in sources.

Installation

git clone http://git.vpsboard.com/fisle/netflask.git

cd netflask

virtualenv venv

source venv/bin/activate

pip install -r requirements.txt
  • Edit app/templates/modify.html, change JS values 'apikey' to RottenTomatoes API key.

  • Edit config.py

  • Deploy! Gunicorn deploy guide

  • Point your browser to /setup to create new user

  • Set up cronjob for scan.py. This scans for new video files.

    */5 * * * * /path/to/venv/bin/python /path/to/scan.py scan_folders

Deploying

Nginx conf:

location /raw_videos/ {
  internal;
  alias /absolute/path/to/videos/;
}

Problems

pip install -r requirements.txt fails?

source venv/bin/activate

wget http://python-distribute.org/distribute_setup.py

python distribute_setup.py

Like my work?

Donations are always accepted and encourages the development of Open Source Software.

BTC: 19LUqCSZjMqy8H5jQTiHdmfcAPd5ZcyLJm

LTC: LMGK2Hu8SotnKYRxV4NE8sZ7wKBc6Aaezo

netflask's People

Contributors

chaps avatar fisle 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.