Unicorns!
This is a fork of now abadoned Popcorn Time app. This is the unified place for community to work on it. I've reopened the issues section so yes, we can get back to a normal development cycle.
Todo list
- Binary builds
- Website (probably just fork the original one)
Popcorn Time ![Dependency Status](https://camo.githubusercontent.com/0a6ae44fa422d3bed216016ebf2f5db6e9108a5a6651a96afafe0e3db484cc4a/68747470733a2f2f64617669642d646d2e6f72672f756e69636f726e2d74696d652f706f70636f726e2d6170702e706e673f7468656d653d736869656c64732e696f)
Idea
To allow any computer user to watch movies easily streaming from torrents, without any particular knowledge.
Status
Under development (RC1) for Mac OSX - Windows - Linux.
APIs
Currently used:
- YIFY movie torrents API.
- OpenSubtitles for subtitles
- TheMovieDB for movies metadata.
Building
Dependencies
You will need nodejs and grunt:
$ npm install -g grunt-cli
Build
Install the node modules:
$ npm install
Build with:
$ grunt nodewkbuild
By default it will build for your current platform however you can control that
by specifying a comma separated list of platforms in the platforms
option to
grunt:
$ grunt nodewkbuild --platforms=linux32,linux64,mac,win
You can also build for all platforms with:
$ grunt nodewkbuild --platforms=all
Any problem?
Regarding superagent dependency
Due to wrong browser verification on a dependency, this hard fix must be applied.
Replace node_modules/moviedb/node_modules/superagent/index.js
contents with:
// if (typeof window != 'undefined') {
// module.exports = require('./lib/superagent');
// } else if (process.env.SUPERAGENT_COV) {
// module.exports = require('./lib-cov/node');
// } else {
module.exports = require('./lib/node');
// }
Regarding Video, MP4 H264 Playback
- Info: https://github.com/rogerwang/node-webkit/wiki/Support-mp3-and-h264-in-video-and-audio-tag
- Needed to build a custom build of node-webkit that adds h264 support (or you can download ready-to-go builds from https://file.ac/s4Lt3Vo6rls/)
- Alternatively, we can replace a .so and .dll file from the correspondent Chrome build to node-webkit and node-webkit.exe
Development
- Run
compass watch
in Terminal for CSS compiling and listen to future changes. - How to build with SublimeText
- Currently Gaze to watch all files and reload the app is disabled due to memory leaks and unstability.
- Run node-webkit from the root directory with --debug to enable debugging mode like so
node-webkit . --debug