Giter Club home page Giter Club logo

tv.js's Introduction

tv.js : Apple TV for Torrent Streaming

Screen

A Smart TV application to stream movies using BitTorrent. (Yes it actually streams them in order even though it's BitTorrent)

Tv.js used iTunes' API to find movies, isoHunt to search torrents and BitTorrent to downloading/stream movies.

It runs as a server which can run on a Raspberry Pi and the UI can be controlled from a smartphone (no need of keyboard or mouse).

Tv.js is the result of a 24h personal hackathon (7th of July 2013) by Aaron O'Mullan (@AaronO) and me (@SamyPesse).

It's designed to run on a TV screen (through HDMI), but works just as well on a laptop. (it's entirely usable with keyboard controls alone)

You can see a video of it working here on Youtube: https://www.youtube.com/watch?v=j71NCZnLffg

Downloading copyrighted material through torrents may be illegal in your country.

Screen

Screen

Screen

Screen

How to use it on your computer ?

To build and run the app, you'll need :

node
make
ffmpeg
homebrew

To build and run the all :

make install
make

And go to http://localhost:8888 on your browser

Or simply run the server without rebuilding the client with :

make run

How to install it on your TV ?

This application has been built and designed to run on a TV screen using a Raspberry Pi. Follow this tutorial to install TV.js on your Raspberry Pi

How to install ffmpeg ?

tv.js needs ffmpeg to convert the videos to ogv, make sure you have ffmpeg installed with the necessary codecs.

Mac OS X :

ruby <(curl -fsSk https://raw.github.com/mxcl/homebrew/go)

brew install ffmpeg --with-fdk-aac --with-ffplay --with-freetype --with-frei0r --with-libass --with-libvo-aacenc --with-libvorbis --with-libvpx --with-opencore-amr --with-openjpeg --with-opus --with-rtmpdump --with-schroedinger --with-speex --with-theora --with-tools

Todo

- Use IMBD or another API with a bigger movie collection than Itunes'
- Cache converted videos
- Improve overall stability
- Improve torrent picking algorithm (by seeds/leechers, size, votes, video format ...)
- Package using NodeWebkit for Windows/Mac/Linux/Raspberry PI
- Correct boot on Raspberry Pi
- Add other awesome stuff!

Disclaimer

There are obvious legal issues, with downloading copyrighted material you do not have a license for. We do not endorse such use cases and take no responsibility for the use people make of it.

tv.js's People

Contributors

aarono avatar antoinelyset avatar localjo avatar mafintosh avatar plieb avatar ricardocasares avatar samypesse avatar ssilverm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tv.js's Issues

Error: Cannot find module 'connect'

Hi,

I can't launch the app, there is an error :

~/tv.js/tv.js-master $ make run
/usr/bin/node bin/run.js

module.js:340
    throw err;
          ^
Error: Cannot find module 'connect'
    at Function.Module._resolveFilename (module.js:338:15)
    at Function.Module._load (module.js:280:25)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (~/tv.js/tv.js-master/node_modules/express/lib/express.js:5:15)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
make: *** [run] Error 8

Thanks in advance !

Potentially wrong path to yapp in the Makefile

I've just tried building the app.

Make install works just fine but make takes a wrong route to yapp.

YAPP = node_modules/yapp/bin/yapp.js

However, yapp is actually installed in

node_modules/yapp.js/bin/yapp.js

I'm running the latest node. I didn't want to issue a pull request because this might be specific to this particular node.

Can't make

I'm running “make” after “make install”:

$ make
node_modules/yapp/bin/yapp.js -d public/main build
bash: node_modules/yapp/bin/yapp.js: No such file or directory
make: *** [build] Error 127

Prioritize MP4 movies using x264 to avoid transcoding

This is quite an important improvement, since it would reduce CPU and power consumption by avoiding having to convert the movie.

Most movies are available as MP4's with the x264 video codec, which Chrome supports, so it would be a good idea supporting this and falling back to converting the video only if necessary.

This would involve two things :

  • Ranking x264 torrents first
  • Skip the transcoding in the streaming api endpoint if the current movie doesn't need to be converted

Error Trying to Run

Whenever I search everything works, but once I start running the movie it says buffering to 1% and after 5-10 minutes of waiting I get this error:

/tv.js/node_modules/q/q.js:120
                    throw e;
                          ^
Error: connect ETIMEDOUT
    at exports._errnoException (util.js:746:11)
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:983:19)
make: *** [run] Error 1

Please let me know how I can fix this. I would really like to run this.

Blank page when accessing to http://localhost:8888/ (OSX 10.8.4)

Hello guys,

I tried to run the project on a Mac (OSX 10.8.4), following the steps of the README, but when I go to http://localhost:8888/, I only see a blank page.

Also, the browser says that paths static/application.css and static/application.js doesn't exists (404 error).

Debug info:

HTML of http://localhost:8888/::

<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title>Main</title>
        <link rel="stylesheet" href="static/application.css">
        <script type="text/javascript" src="static/application.js"></script>
    </head>
    <body></body>
</html>
$ make install

Output of the previous command:

/usr/local/bin/npm install .
npm http GET https://registry.npmjs.org/q/0.9.6
npm http GET https://registry.npmjs.org/underscore/1.4.4
npm http GET https://registry.npmjs.org/request/2.22.0
npm http GET https://registry.npmjs.org/express/3.0.0
npm http GET https://registry.npmjs.org/socket.io/0.9.16
npm http GET https://registry.npmjs.org/fluent-ffmpeg/1.5.2
npm http GET https://registry.npmjs.org/readable-stream/1.0.2
npm http GET https://registry.npmjs.org/peerflix
npm http 304 https://registry.npmjs.org/express/3.0.0
npm http 304 https://registry.npmjs.org/q/0.9.6
npm http 304 https://registry.npmjs.org/request/2.22.0
npm http 304 https://registry.npmjs.org/underscore/1.4.4
npm http 304 https://registry.npmjs.org/socket.io/0.9.16
npm http 304 https://registry.npmjs.org/fluent-ffmpeg/1.5.2
npm http 304 https://registry.npmjs.org/readable-stream/1.0.2
npm http 304 https://registry.npmjs.org/peerflix
npm http GET https://registry.npmjs.org/bitfield
npm http GET https://registry.npmjs.org/clivas
npm http GET https://registry.npmjs.org/range-parser/0.0.4
npm http GET https://registry.npmjs.org/hat/0.0.3
npm http GET https://registry.npmjs.org/mime
npm http GET https://registry.npmjs.org/numeral
npm http GET https://registry.npmjs.org/async
npm http GET https://registry.npmjs.org/read-torrent
npm http GET https://registry.npmjs.org/network-address/0.0.4
npm http GET https://registry.npmjs.org/peer-wire-protocol
npm http GET https://registry.npmjs.org/peer-wire-swarm
npm http GET https://registry.npmjs.org/part-file
npm http GET https://registry.npmjs.org/speedometer
npm http GET https://registry.npmjs.org/optimist
npm http GET https://registry.npmjs.org/once
npm http GET https://registry.npmjs.org/connect/2.6.0
npm http GET https://registry.npmjs.org/commander/0.6.1
npm http GET https://registry.npmjs.org/mkdirp/0.3.3
npm http GET https://registry.npmjs.org/cookie/0.0.4
npm http GET https://registry.npmjs.org/crc/0.2.0
npm http GET https://registry.npmjs.org/fresh/0.1.0
npm http GET https://registry.npmjs.org/methods/0.0.1
npm http GET https://registry.npmjs.org/send/0.1.0
npm http GET https://registry.npmjs.org/debug
npm http GET https://registry.npmjs.org/policyfile/0.0.4
npm http GET https://registry.npmjs.org/base64id/0.1.0
npm http GET https://registry.npmjs.org/socket.io-client/0.9.16
npm http GET https://registry.npmjs.org/redis/0.7.3
npm http GET https://registry.npmjs.org/qs
npm http GET https://registry.npmjs.org/json-stringify-safe
npm http GET https://registry.npmjs.org/forever-agent
npm http GET https://registry.npmjs.org/tunnel-agent
npm http GET https://registry.npmjs.org/http-signature
npm http GET https://registry.npmjs.org/aws-sign
npm http GET https://registry.npmjs.org/hawk
npm http GET https://registry.npmjs.org/oauth-sign
npm http GET https://registry.npmjs.org/cookie-jar
npm http GET https://registry.npmjs.org/node-uuid
npm http GET https://registry.npmjs.org/form-data/0.0.8
npm http GET https://registry.npmjs.org/requirejs/2.1.6
npm http GET https://registry.npmjs.org/commander/1.1.1
npm http GET https://registry.npmjs.org/wrench/1.5.1
npm http GET https://registry.npmjs.org/cli-color/0.2.2
npm http GET https://registry.npmjs.org/less/1.3.3
npm http GET https://registry.npmjs.org/watchr/2.4.3
npm http 304 https://registry.npmjs.org/bitfield
npm http 304 https://registry.npmjs.org/hat/0.0.3
npm http 304 https://registry.npmjs.org/mime
npm http 304 https://registry.npmjs.org/clivas
npm http 304 https://registry.npmjs.org/range-parser/0.0.4
npm http 304 https://registry.npmjs.org/numeral
npm http 304 https://registry.npmjs.org/async
npm http 304 https://registry.npmjs.org/read-torrent
npm http 304 https://registry.npmjs.org/peer-wire-protocol
npm http 304 https://registry.npmjs.org/network-address/0.0.4
npm http 304 https://registry.npmjs.org/peer-wire-swarm
npm http 304 https://registry.npmjs.org/part-file
npm http 304 https://registry.npmjs.org/speedometer
npm http 304 https://registry.npmjs.org/optimist
npm http 304 https://registry.npmjs.org/once
npm http 304 https://registry.npmjs.org/commander/0.6.1
npm http 304 https://registry.npmjs.org/connect/2.6.0
npm http 304 https://registry.npmjs.org/cookie/0.0.4
npm http 304 https://registry.npmjs.org/mkdirp/0.3.3
npm http 304 https://registry.npmjs.org/crc/0.2.0
npm http GET https://registry.npmjs.org/bncode
npm http GET https://registry.npmjs.org/compact2string
npm http GET https://registry.npmjs.org/thunky
npm http GET https://registry.npmjs.org/request
npm http GET https://registry.npmjs.org/wordwrap
npm http 304 https://registry.npmjs.org/fresh/0.1.0
npm http 304 https://registry.npmjs.org/methods/0.0.1
npm WARN package.json [email protected] No README.md file found!
npm http 304 https://registry.npmjs.org/debug
npm http 304 https://registry.npmjs.org/send/0.1.0
npm http 304 https://registry.npmjs.org/socket.io-client/0.9.16
npm http 304 https://registry.npmjs.org/base64id/0.1.0
npm http 304 https://registry.npmjs.org/policyfile/0.0.4
npm http 304 https://registry.npmjs.org/qs
npm http 304 https://registry.npmjs.org/redis/0.7.3
npm http GET https://registry.npmjs.org/mime/1.2.6
npm http 304 https://registry.npmjs.org/tunnel-agent
npm http 304 https://registry.npmjs.org/forever-agent
npm http 304 https://registry.npmjs.org/json-stringify-safe
npm http 304 https://registry.npmjs.org/aws-sign
npm http 304 https://registry.npmjs.org/http-signature
npm http 304 https://registry.npmjs.org/hawk
npm http 304 https://registry.npmjs.org/node-uuid
npm http 304 https://registry.npmjs.org/cookie-jar
npm http 304 https://registry.npmjs.org/oauth-sign
npm http 304 https://registry.npmjs.org/form-data/0.0.8
npm http GET https://registry.npmjs.org/qs/0.5.1
npm http GET https://registry.npmjs.org/formidable/1.0.11
npm http GET https://registry.npmjs.org/bytes/0.1.0
npm http GET https://registry.npmjs.org/send/0.0.4
npm http GET https://registry.npmjs.org/pause/0.0.1
npm http 304 https://registry.npmjs.org/less/1.3.3
npm http 304 https://registry.npmjs.org/cli-color/0.2.2
npm http 304 https://registry.npmjs.org/commander/1.1.1
npm http 304 https://registry.npmjs.org/wrench/1.5.1
npm http 304 https://registry.npmjs.org/requirejs/2.1.6
npm http GET https://registry.npmjs.org/assert-plus/0.1.2
npm http GET https://registry.npmjs.org/asn1/0.1.11
npm http GET https://registry.npmjs.org/ctype/0.5.2
npm http GET https://registry.npmjs.org/boom
npm http GET https://registry.npmjs.org/hoek
npm http GET https://registry.npmjs.org/cryptiles
npm http GET https://registry.npmjs.org/sntp
npm http GET https://registry.npmjs.org/combined-stream
npm http 304 https://registry.npmjs.org/bncode
npm http 304 https://registry.npmjs.org/thunky
npm http 304 https://registry.npmjs.org/request
npm http 304 https://registry.npmjs.org/compact2string
npm http 304 https://registry.npmjs.org/watchr/2.4.3
npm http 304 https://registry.npmjs.org/bytes/0.1.0
npm http 304 https://registry.npmjs.org/formidable/1.0.11
npm http 304 https://registry.npmjs.org/qs/0.5.1
npm http 304 https://registry.npmjs.org/mime/1.2.6
npm http 304 https://registry.npmjs.org/wordwrap
npm http GET https://registry.npmjs.org/keypress
npm http GET https://registry.npmjs.org/typechecker
npm http GET https://registry.npmjs.org/bal-util
npm http GET https://registry.npmjs.org/extendr
npm http GET https://registry.npmjs.org/eachr
npm http GET https://registry.npmjs.org/safefs
npm http GET https://registry.npmjs.org/taskgroup
npm http 304 https://registry.npmjs.org/assert-plus/0.1.2
npm http 304 https://registry.npmjs.org/pause/0.0.1
npm http 304 https://registry.npmjs.org/send/0.0.4
npm http 304 https://registry.npmjs.org/ctype/0.5.2
npm http 304 https://registry.npmjs.org/asn1/0.1.11
npm http GET https://registry.npmjs.org/es5-ext
npm http GET https://registry.npmjs.org/memoizee
npm http 304 https://registry.npmjs.org/combined-stream
npm http 304 https://registry.npmjs.org/sntp
npm http 304 https://registry.npmjs.org/boom
npm http 304 https://registry.npmjs.org/hoek
npm http 304 https://registry.npmjs.org/cryptiles
npm http GET https://registry.npmjs.org/form-data
npm WARN package.json [email protected] No README.md file found!
npm WARN package.json [email protected] No README.md file found!
npm WARN package.json [email protected] No README.md file found!
npm WARN package.json [email protected] No README.md file found!
npm WARN package.json [email protected] No README.md file found!
npm http 304 https://registry.npmjs.org/eachr
npm http 304 https://registry.npmjs.org/extendr
npm http 304 https://registry.npmjs.org/bal-util
npm http 304 https://registry.npmjs.org/typechecker
npm http 304 https://registry.npmjs.org/keypress
npm http GET https://registry.npmjs.org/delayed-stream/0.0.5
npm http GET https://registry.npmjs.org/uglify-js/1.2.5
npm http GET https://registry.npmjs.org/ws
npm http GET https://registry.npmjs.org/xmlhttprequest/1.4.2
npm http GET https://registry.npmjs.org/active-x-obfuscator/0.0.1
npm http 304 https://registry.npmjs.org/safefs
npm http 304 https://registry.npmjs.org/form-data
npm http 304 https://registry.npmjs.org/taskgroup
npm http 304 https://registry.npmjs.org/memoizee
npm http 304 https://registry.npmjs.org/es5-ext
npm http 304 https://registry.npmjs.org/active-x-obfuscator/0.0.1
npm http 304 https://registry.npmjs.org/xmlhttprequest/1.4.2
npm http 304 https://registry.npmjs.org/uglify-js/1.2.5
npm http 304 https://registry.npmjs.org/ws
npm http 304 https://registry.npmjs.org/delayed-stream/0.0.5
npm http GET https://registry.npmjs.org/ambi
npm http GET https://registry.npmjs.org/eventemitter2
npm http GET https://registry.npmjs.org/zeparser/0.0.5
npm http GET https://registry.npmjs.org/event-emitter
npm http GET https://registry.npmjs.org/ycssmin
npm http GET https://registry.npmjs.org/next-tick
npm http GET https://registry.npmjs.org/tinycolor
npm http GET https://registry.npmjs.org/commander
npm http GET https://registry.npmjs.org/options
npm http 304 https://registry.npmjs.org/ambi
npm http 304 https://registry.npmjs.org/eventemitter2
npm http 304 https://registry.npmjs.org/tinycolor
npm http 304 https://registry.npmjs.org/next-tick
npm http 304 https://registry.npmjs.org/zeparser/0.0.5
npm http 304 https://registry.npmjs.org/event-emitter
npm http 304 https://registry.npmjs.org/ycssmin
npm http 304 https://registry.npmjs.org/options
npm http 304 https://registry.npmjs.org/commander

> [email protected] install /Users/rodrigoayala/Documents/workspace/Proyectos Personales/tv.js/node_modules/socket.io/node_modules/socket.io-client/node_modules/ws
> (node-gyp rebuild 2> builderror.log) || (exit 0)

  CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
  SOLINK_MODULE(target) Release/bufferutil.node
  SOLINK_MODULE(target) Release/bufferutil.node: Finished
  CXX(target) Release/obj.target/validation/src/validation.o
  SOLINK_MODULE(target) Release/validation.node
  SOLINK_MODULE(target) Release/validation.node: Finished
[email protected] node_modules/q

[email protected] node_modules/underscore

[email protected] node_modules/readable-stream

[email protected] node_modules/fluent-ffmpeg
└── [email protected]

[email protected] node_modules/express
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])

[email protected] node_modules/request
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected])
└── [email protected] ([email protected], [email protected])

[email protected] node_modules/peerflix
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected])
└── [email protected] ([email protected], [email protected])

[email protected] node_modules/yapp
├── [email protected]
├── [email protected] ([email protected])
├── [email protected]
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected])
└── [email protected] ([email protected])

[email protected] node_modules/socket.io
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected] ([email protected], [email protected], [email protected], [email protected])
$ make

Output of the previous command:

node_modules/yapp/bin/yapp.js -d public/main build
[load] Loading /Users/rodrigoayala/Documents/workspace/Proyectos Personales/tv.js/public/main/build.js ...
[build] Start building application Main
[build] Build directory : /Users/rodrigoayala/Documents/workspace/Proyectos Personales/tv.js/public/main/build
[build]
[html] Generating code for application
[html] End of generation
[html]
[js] Generating code for application
[js]
[stylesheet] Generating style for application
[stylesheet]
[static] Generating static files for application
[static]   -> Creating templates
[static]   -> Creating images
[static] End of generation
[static]
node_modules/yapp/bin/yapp.js -d public/remote build
[load] Loading /Users/rodrigoayala/Documents/workspace/Proyectos Personales/tv.js/public/remote/build.js ...
[build] Start building application Remote
[build] Build directory : /Users/rodrigoayala/Documents/workspace/Proyectos Personales/tv.js/public/remote/build
[build]
[html] Generating code for application
[html] End of generation
[html]
[js] Generating code for application
[js]
[stylesheet] Generating style for application
[stylesheet]
[static] Generating static files for application
[static]   -> Creating templates
[static] End of generation
[static]
/usr/local/bin/node bin/run.js
Server listening on: http://localhost:8888

Tree of files and folders:
https://gist.github.com/RodrigoAyala/5976846

Freezing Up

It seems to be working well so far in regards to building and beginning to run it locally but every time I go to watch a movie it stops downloading after exactly 10 seconds.

Error read ECONNRESET

I keep getting this error:

/home/pi/tv.js/node_modules/q/q.js:120
throw e;
^
Error: read ECONNRESET
at errnoException (net.js:878:11)
at TCP.onread (net.js:539:19)
make: *** [run] Error 8

It happens when i refresh a page on a remote.

Error thrown shortly after clicking movie

Built on an Ubuntu 13.04 machine with node 0.10.12

In terminal shortly after clicking movie (when it says buffering to 1%)

Server listening on: http://localhost:8888

events.js:72
throw er; // Unhandled 'error' event
^
Error: spawn ENOENT
at errnoException (child_process.js:980:11)
at Process.ChildProcess._handle.onexit (child_process.js:771:34)

Cannot open display

Unable to get the browser to load

pi@raspberrypi ~/tv.js $ chromium --kiosk http://localhost:8888

(chromium:2241): Gtk-WARNING **: cannot open display: 

Portable APP

Hello,

Can you upload a portable version like 1 exe with node-webkit ?

Thx and Good Job

"ERROR STREAMING THIS MOVIE"

Whenever I select a movie, I get the error above

Is their a binary missing? Etc

Sorry for not supplying much information, but I cannot see any debug messages

Unable to make build on raspberry pi (ax25 port)

Hi,

Thanks for your work,
I have an issue when doing the
"make build"

I got :
node_modules/yapp/bin/yapp.js -d public/main build
make: *** [build] Erreur 1

In my /var/log/syslog I see :
raspberrypi node[4357]: No AX.25 port data configured

I can post the result of a strace if you want

Bart

Failed to load NSS libraries

As the title says...

pi@raspberrypi ~/tv.js $ chromium --kiosk http://localhost:8888
[1:1:291244497:ERROR:nss_util.cc(692)] Failed to load NSS libraries.

(chromium:2203): Gtk-WARNING **: cannot open display: 

Awesome Job!!

There isn't a comments section, so you can close this issue, but just wanted to say that this is a crazy and awesome project!

Misleading description

The description states "Apple TV for Torrent Streaming in JS (Node/Chrome)" yet it is unclear how it does make use of an Apple TV.

Raspberry Pi Installation Instructions: Step 9 Broken

Step 9 doesn't seem to be working correctly.

It looks like init.d doesn't do anything after launching X.

I had to make two files in /home/pi/.config/autostart/

chrome.desktop which has:
[Desktop Entry]
Type=Application
Exec=chromium --kiosk http://localhost:8888

and .desktop which has
[Desktop Entry]
Type=Application
Exec=/etc/init.d/tvjs.sh

Open source license?

This project is really neat and it seems to have gained a lot of interest. However, it is lacking a license which would allow people to use it flexibly in an open source context.

Without a explicit license, code is "is protected by copyright and is by default All Rights Reserved" (see http://stackoverflow.com/questions/4007674/whats-the-default-license-of-code-published-at-github).

Would you like to release this software under an open source license? If so, please include a LICENSE file.

It's your code, of course, and you can do with it as you wish. Just a friendly suggestion/request. =)

Cheers!

no such file or directory ERROR when rake.

Mac OS X 10.8.4

[load] Loading /Users/Perry/Downloads/tv.js-master/public/main/build.js ...
[build] Start building application Main
[build] Build directory : /Users/Perry/Downloads/tv.js-master/public/main/build
[build]
[html] Generating code for application
[html] End of generation
[html]
[js] Generating code for application
[js] End of generation
[js]
[stylesheet] Generating style for application
[stylesheet] End of generation
[stylesheet]
[static] Generating static files for application
[static]   -> Creating templates
[static]   -> Creating images
[static] End of generation
[static]
[load] Loading /Users/Perry/Downloads/tv.js-master/public/remote/build.js ...
[build] Start building application Remote
[build] Build directory : /Users/Perry/Downloads/tv.js-master/public/remote/build
[build]
[html] Generating code for application
[html] End of generation
[html]
[js] Generating code for application
[js] End of generation
[js]
[stylesheet] Generating style for application
[stylesheet] End of generation
[stylesheet]
[static] Generating static files for application
[static]   -> Creating templates
[static]   -> Creating images

Error: ENOENT, no such file or directory '/Users/Perry/Downloads/tv.js-master/public/remote/ressources/images'
    at Object.fs.statSync (fs.js:684:18)
    at Object.exports.copyDirSyncRecursive (/usr/local/lib/node_modules/yapp/node_modules/wrench/lib/wrench.js:179:23)
    at /usr/local/lib/node_modules/yapp/lib/builder.js:124:16
    at Function._.each._.forEach (/usr/local/lib/node_modules/yapp/node_modules/underscore/underscore.js:86:24)
    at Builder.genStatic (/usr/local/lib/node_modules/yapp/lib/builder.js:122:7)
    at Builder.build (/usr/local/lib/node_modules/yapp/lib/builder.js:59:10)
    at Application.build (/usr/local/lib/node_modules/yapp/lib/app.js:47:39)
    at Command.<anonymous> (/usr/local/lib/node_modules/yapp/bin/yapp.js:17:24)
    at Command.<anonymous> (/usr/local/lib/node_modules/yapp/node_modules/commander/index.js:254:8)
    at Command.EventEmitter.emit (events.js:98:17)

Remote images missing

Remote build fails as there is no images directory under public/remote/ressources/

Connect to 0.0.0.0/remote/

The initial page loads and says "Connect a remote control by visiting 0.0.0.0/remote/ on your smartphone". I tried loading 192.168.0.107 (my Pi's local IP) and 0.0.0.0 which I'm assuming is an error, and neither could be reached.

Any ideas about what's going on here?

Username required for download?

Tried installing tv.js from github and it is asking for a user/pass - I put my user/pass in and get no love. Am I missing something?

Thanks!

Torrent API with more/better results

If I use another (unnamed) torrent search engine, I get results with nearly 7000 seeders for a certain unnamed search, while I get a result of 8 seeders for the same unnamed search.

Seems like there might be a better option?

video.js.map 404

I'm getting a 404, file cannot be located, error in regards to video.js.map. Is this the reason I'm having difficulty downloading anything?

Error Streaming on Raspberry Pi

Error in Deferred callbacks (file: undefined line: undefined) : ReferenceError : MediaError is not defined ReferenceError: MediaError is not defined

It says this happens at multiple different places.

at Page.extend.updateMessages (http://localhost:8888/static/application.js:30532:63)
at Page.extend.finish (http://localhost:8888/static/application.js:30342:18)
at Class.extend.ready (http://localhost:8888/static/application.js:23659:18)
at Class.extend.renderComponents (http://localhost:8888/static/application.js:23753:54)
at null. (http://localhost:8888/static/application.js:23467:50)
at Class.extend.triggerEvents (http://localhost:8888/static/application.js:13578:67)
at Class.extend.triggerOnly (http://localhost:8888/static/application.js:13561:30)
at null. (http://localhost:8888/static/application.js:13571:34)
at Array.forEach (native)
at Function..each..forEach (http://localhost:8888/static/application.js:12259:11)
ReferenceError
application.js:22950
Class.extend._call

Error launching the app on osx

After rake install and rake run.
localhost:8888 show this error:

Error: ENOENT, stat '[........]/tv.js/public/main/build/index.html'

Slow On RapsberryPi

Is the yutube demo showcasing tv.js showing a raspberrypi?

I've got tv.js successfully installed on my raspberrypi but it is running unbearably slow.
When trying to search I am getting 1 minute delays between autocomplete refreshes for each letter typed.

My pi is overclocked to 900Mhz

I'm trying to figure our if there is something wrong with my configuration or is this a limitation of the pi's hardware? If it is the latter then I don't think the pi is the right platform for this project.

Error when try to install yapp

There is other way to have Yapp in the system cos is imposible to me install it ... always have the same public key error

npm ERR! git clone [email protected]:FriendCode/yapp.js.git Cloning into bare repository '/home/ubuntu/.npm/_git-remotes/git-github-com-FriendCode-yapp-js-git-f3169622'...
npm ERR! git clone [email protected]:FriendCode/yapp.js.git
npm ERR! git clone [email protected]:FriendCode/yapp.js.git Permission denied (publickey).
npm ERR! git clone [email protected]:FriendCode/yapp.js.git fatal: Could not read from remote repository.
npm ERR! git clone [email protected]:FriendCode/yapp.js.git
npm ERR! git clone [email protected]:FriendCode/yapp.js.git Please make sure you have the correct access rights
npm ERR! git clone [email protected]:FriendCode/yapp.js.git and the repository exists.
npm ERR! Error: Command failed: Permission denied (publickey).
npm ERR! fatal: Could not read from remote repository.
npm ERR!
npm ERR! Please make sure you have the correct access rights
npm ERR! and the repository exists.
npm ERR!
npm ERR! at ChildProcess.exithandler (child_process.js:637:15)
npm ERR! at ChildProcess.EventEmitter.emit (events.js:98:17)
npm ERR! at maybeClose (child_process.js:735:16)
npm ERR! at Socket. (child_process.js:948:11)
npm ERR! at Socket.EventEmitter.emit (events.js:95:17)
npm ERR! at Pipe.close (net.js:451:12)
npm ERR! If you need help, you may report this log at:
npm ERR! http://github.com/isaacs/npm/issues
npm ERR! or email it to:
npm ERR! [email protected]

npm ERR! System Linux 3.8.0-19-generic
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "git+ssh://[email protected]:FriendCode/yapp.js.git#master"
npm ERR! cwd /home/ubuntu/tv.js
npm ERR! node -v v0.10.10
npm ERR! npm -v 1.2.25
npm ERR! code 128
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/ubuntu/tv.js/npm-debug.log
npm ERR! not ok code 0

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.