senpaiski / TopAnimeStream

Watch anime stream on Windows, Mac or Linux
http://www.topanimestream.com
MIT License
87 stars 24 forks source link

linux #1

Open ghost opened 9 years ago

ghost commented 9 years ago

can you tell me how do i install it on linux. i have cloned it but don't know what to do after

senpaiski commented 9 years ago

You need to package it with grunt and node-webkit-builder :dancer: The Gruntfile is already included in the project and the package.json contains all the dependencies. You can run 'npm install' and it will install all of them. After that you have to run 'grunt' and this will create folders and files for linux, mac & windows. I will package it in about 2 hours maybe I can send the linux version to you.

ghost commented 9 years ago

you will send me the linux version?that would be great since i am having a bit of problem building it . thanks senpai.

senpaiski commented 9 years ago

Linux32 https://mega.co.nz/#!KJpVWKLK!Ygpl-spKoMP2biuSUojgCgPkhwEqGUlLkwl5uuIku4U Linux64 https://mega.co.nz/#!aI4i2LjA!Mm0Nu8jucZ9PDAvN0wyxZ_QuTeETywc6KAZfkd0Iu5c

You will be the first to test it on Linux :P Even though I am pretty sure the video player won't work but I'm looking forward to your feedback.

Sorry for late reply.

luoyetx commented 9 years ago

It's easy to run the application on Linux.

  1. install nodejs && npm && node-webkit
  2. clone this repository
  3. cd /path/to/TopAnimeStream && npm install
  4. nw .

it works for me. (Fedora21)

senpaiski commented 9 years ago

Thanks luoyetx! Are you able to watch any episode?

luoyetx commented 9 years ago

@senpaiski unfortunately, I got this

2014-12-17 12 25 09

it says The video could not be loaded, either because the server or network failed or because the format is not supported.

senpaiski commented 9 years ago

That's what I thought -> https://github.com/senpaiski/TopAnimeStream/issues/2 The player is using html5 instead of flash player. The console specific error is 'CONNECTION_RESET' and the only way I have been able to watch animes was by using flash.

Try inserting the flash player plugin for Linux in the /plugin folder of the application. http://get.adobe.com/flashplayer/

luoyetx commented 9 years ago

This is what I got from console (without flash)

[6113:1217/132606:INFO:CONSOLE(162)] ""UploadCrazy"", source: app://host/public/js/controllers.js (162)
[6113:1217/132606:INFO:CONSOLE(163)] ""http://embeds.uploadcrazy.net/embed.php?file=steins-gate02&w=640&h=360&bg=http://i.imgur.com/nx06JqE.jpg"", source: app://host/public/js/controllers.js (163)
[6113:1217/132608:INFO:CONSOLE(167)] ""http://cv5.uploadcrazy.net/dl/steins-gate02.mp4?st=xSVrARsJucFwG5nnB5v2AA&e=1418807929"", source: app://host/public/js/controllers.js (167)
[6113:1217/132622:INFO:CONSOLE(26)] ""VIDEOJS:" "ERROR:" "(CODE:4 MEDIA_ERR_SRC_NOT_SUPPORTED)" "The video could not be loaded, either because the server or network failed or because the format is not supported." {"code":4,"message":"The video could not be loaded, either because the server or network failed or because the format is not supported."}", source: app://host/public/lib/video.js (26)

ps what flash version do I need? Just extract the files to /plugin folder? Thanks!

senpaiski commented 9 years ago

Try to extract the linux flash files to /plugin folder.

To test if flash is enable you could run my test.html page https://github.com/senpaiski/TopAnimeStream/blob/master/views/test.html Click inside the app dev toolbar and write -> app://host/index.html#/test

Or change this if you want to force flash in the entire app (optionnal) Movie player - Replace line "techOrder": ["flash", "html5"] to "techOrder": ["flash"] https://github.com/senpaiski/TopAnimeStream/blob/master/public/js/controllers.js#L219

Episode player - Replace line "techOrder": ["flash", "html5"] to "techOrder": ["flash"] https://github.com/senpaiski/TopAnimeStream/blob/master/public/js/controllers.js#L174

I'm completely blind here so If I have the time tomorrow I will test Linux step by step and report good or bad news :D

senpaiski commented 9 years ago

No more flash in the new version. https://github.com/senpaiski/TopAnimeStream/releases

Here is the link Linux 64 build https://mega.co.nz/#!jARFGQAb!p-BDGaFwvRQ8ErPPXnlha4mECj6goRQb0_CZc5Wn3Xk

Tell me what you think if you are still interested in the project.

Thanks!