Code Monkey home page Code Monkey logo

crunchyroll-webos-stream's Introduction

Crunchyroll App for LG Smart TVs

Crunchyroll™ is a registered trademark of the Sony Pictures Entertainment Inc.
This project is not affiliated with Crunchyroll, Team Crunchyroll, or the Sony Pictures Entertainment Inc.

About

This is an unofficial app for LG smart TVs that allows you to watch Crunchyroll,
a popular anime streaming service.

Warning

This project is not affiliated with or endorsed by Crunchyroll. The use of this project may violate the terms of service between you and stream provider. Use with caution and at your own risk.

Disclaimer

This software is intended for personal use only. Do not use it for illegal purposes, such as downloading copyrighted content without permission. We do not condone or support piracy, and any misuse of this software is not the responsibility of the project contributors or maintainers.

Tested on Devices

  • NANO079SNA, WebOS 5.5.0-1107
  • 86QNED866RE, WebOS 23

How to run on local? (Linux)

  1. Install git, node and npm. I use node version v16.17.0 and npm version 8.15.0 (google it), example:
sudo apt install git
sudo apt install nodejs
sudo apt install npm

Note: Node 16 or greater required.

  1. Install enact client (version 6.1.1):
npm install -g @enact/cli
  1. Create a new folder or go to where you want to download source code, example:
mkdir ~/webos-crunchy-test
cd ~/webos-crunchy-test
  1. Download necessary source code from github, example:
git clone https://github.com/ediaz23/crunchyroll-webos-stream --recursive --single-branch --branch=master --depth 3
git clone https://github.com/ediaz23/crunchyroll-webos-service --single-branch --branch=master --depth 3
git clone https://github.com/ediaz23/crunchyroll-webos-server --single-branch --branch=master --depth 3
  1. Run npm install for each project.
cd crunchyroll-webos-stream && npm install && cd ..
cd crunchyroll-webos-service && npm install && cd ..
cd crunchyroll-webos-server && npm install && cd ..
  1. In one terminal run server:
cd crunchyroll-webos-server && npm run play
  1. In other terminal run front-end:
cd ~/webos-crunchy-test/crunchyroll-webos-stream && npm run serve
  1. Should run in any browser disabling cors, but my setup is chromium_81.0.4044.92_1.vaapi_linux.tar with next command:
~/webOS_TV_SDK/chrome-linux/chrome \
  --user-data-dir=$HOME/webOS_TV_SDK/chrome-linux/tmp_chrome \
  --disable-site-isolation-trials \
  --allow-file-access-from-files \
  --disable-web-security \
  --enable-remote-extensions \
  --enable-blink-features=ShadowDOMV0,CustomElementsV0
  1. You can load mock data editing src/const.js

How to create local package? (Linux)

  1. Follow previously 5 steps and run build-dev for development or build-p for production, and app will be created in ~/webos-crunchy-test/crunchyroll-webos-stream/bin:
cd ~/webos-crunchy-test/crunchyroll-webos-stream && npm run build-dev

Help

Control back event.

window.dispatchEvent(new KeyboardEvent('keydown', { 'keyCode': 461 }))

Create a Dash file

x264 --output intermediate.264 --fps 24 --preset slow --bitrate 2400 --vbv-maxrate 4800 --vbv-bufsize 9600 --min-keyint 48 --keyint 48 --scenecut 0 --no-scenecut --pass 1 --video-filter "resize:width=1280,height=720" inputvideo.mkv

MP4Box -add intermediate.264 -fps 24 output_2400k.mp4

MP4Box -dash 4000 -frag 4000 -rap -segment-name kimi_z_video_segment_ output_2400k.mp4

MP4Box -dash 4000 -frag 4000 -rap -segment-name kimi_z_audio_segment_ output_2400k.mp4#audio

Copy all video.mpd and only Adaptation from audio.mpd

Create a m3u8 file

ffmpeg -i kimi.mp4 -threads 16 -c:v libx264 -c:a aac -b:v 1M -b:a 128k -flags +cgop -g 30 -hls_time 4 -hls_playlist_type vod -hls_segment_filename 'output_%03d.ts' -sn -f hls kimi.m3u8

Extrac image from bif file

ffmpeg -i archivo.bif imagen-%04d.png

Create bif file from video

ffmpeg -i video.mp4 -threads 16 -vf "fps=8/60,scale=320:179" -vsync 0 -f image2 imagen-%04d.jpg

⚖ License

This project is released under Apache 2.0 License

crunchyroll-webos-stream's People

Contributors

ediaz23 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

boomer14895

crunchyroll-webos-stream's Issues

Can't log in

Hi guys. Downloaded this today to try it out and see if I can watch anime here. Created a Crunchyroll account and tried to log onto it but it doesn't work. The image attached shows that the official Crunchyroll account knows that my lg tv is connected(had to blur my location) however the video attached shows that it won't log me in. Already tried to uninstall and reinstall but it didn't work. Any help? Thanks

TV info:
Device: 55UR73006LA
webOS: 8.3.1

120720240755502340.mp4

IMG_5472

Works well 👍

Thank you a lot for this app, there is one crunchyroll app in the homebrew store, but the login doesn't work.

Do you plan to upload this app to the webos homebrew repo so the discoverability of your project is improved?

Thank you very much!

Error

I do everything correctly but when I run the front I get an error in the enact cmd. Can you make a better tutorial, thank you

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.