popcorn-app

by popcorn-time

popcorn-time / popcorn-app

An experiment using the peerflix module of nodejs and connecting a bunch of APIs.

5.2K Stars 1.8K Forks Last release: over 6 years ago (beta_2_5) 2 Commits 3 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

Popcorn time Dependency Status

Goodbye

Update 15 March 2014 : Sorry friends, but we removed issue tracking because it was being used to link elsewhere.

Idea

To allow any computer user to watch movies easily streaming from torrents, without any particular knowledge.

Demo Screenshot

Status

Under development (RC1) for Mac OSX - Windows - Linux.

APIs

Currently used: - ~~RottenTomatoes for movies metadata.~~ - ~~PirateBay Recent popular movies list.~~ - YIFY movie torrents API. - OpenSubtitles for subtitles - TheMovieDB for movies metadata.

In discussion: - SubtitleSeeker for subtitles.

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:
javascript
// 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

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.