Coder Social home page Coder Social logo

jhassan8 / crunchyroll-tizen Goto Github PK

View Code? Open in Web Editor NEW
172.0 14.0 14.0 91 MB

Crunchyroll unofficial app for Smart TV Samsung Tizen OS that currently doesnt exist in appstore, requires crunchyrrol account.

CSS 21.27% HTML 1.34% JavaScript 76.68% Shell 0.36% Batchfile 0.36%
anime crunchyroll samsung samsung-tv smarttv tizen tizen-tv smart-tv samsung-smart-tv tizen-video

crunchyroll-tizen's Introduction

The application is now officially available in the Tizen store

Crunchyroll for TIZEN PayPal donate

Description:

INFO: Application is incomplete, some features are missing that will be added later.

TODO Features:

Complete

  • Auth workflow
  • Home screen
  • Details screen
  • Episodes screen
  • Video player
  • Menu options screen
  • Search element
  • Auto next episode
  • History screen and workflow
  • Change audio and subtitles language inside player
  • Settings screen
  • Browse elements by categories\
  • My list screen and workflow
  • WebOS compatibility

Captures:

layouts.gif

Installation with IDE

  1. Install Tizen Studio
  2. In Package Manager install "Extension SDK" -> "TV extension "
  3. Clone repository git clone https://github.com/jhassan8/crunchyroll-tizen
  4. Open project ("File" -> "Open Project From File System" -> "Directory") and select project folder
  5. in tv open developer mode
    • Open Samsung Apps
    • Press buttons 1, 2, 3, 4, 5
    • Enable developer Mode
    • Enter IP address PC with tizen studio
  6. Open "Device manager" -> ("Remote Device" -> "Scan") and Select Your Device
  7. Right click on the project ("Run as" -> "Tizen Web Application". (if the option does not appear, follow the next steps)
    • Right click on the project
    • Configure
    • Convert To Tizen Project
  8. The app opens on the TV and will be installed.

Installation with NPM

required: npm, configure device (developer mode, "on" device in "device manager")

veresions: online (auto-update use cdn), offline (no auto-update)

  1. Set tizen var
    • Linux: export PATH=$PATH:<your_tizen_path>/tizen-studio/tools/ide/bin
    • Windows: set PATH=%PATH%;<your_tizen_path>/tizen-studio/tools/ide/bin
  2. Install build dependencies: npm install
  3. In project folder run:
    • online: npm run start-tv-online --tv=<name_of_tv_device_manager>
    • offline: npm run start-tv --tv=<name_of_tv_device_manager>

crunchyroll-tizen's People

Contributors

gnarlito avatar hassan22l avatar jhassan8 avatar shyked 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

crunchyroll-tizen's Issues

Audio / Subtitles changes after a episode / new Series

Describe the bug

Hi, I've noticed that after the latest update, if you set the audio to German, for example, after each episode the audio language changes to English or another language, sometimes the subtitles also change. This means that every time the audio language has to be reset to the desired language, regardless of whether I start a new series or the next episode.

Screenshots
20231122_144739.jpg

20231122_144752.jpg

20231122_144711.jpg

20231122_145553.jpg

TV Model: 85" Neo QLED 8K QN900A

Additional context
Thx for your great work and for this update 😊

Update Install Instructions

Is your feature request related to a problem? Please describe.
I had to do some tinkering to get the install instructions to work on Ubuntu.

Describe the solution you'd like
I'd love it if they could get updated and have a bit more detail.

Describe alternatives you've considered
I've considered writing a pull request ... and maybe I will on the weekend. Its possible that I'm supo

Additional context

I used these instructions because the installer wasn't quite working for me.

cd tizen-studio/tools
./sdb start-server
./sdb connect 192.168.1.165 # IP of my device found through some long list of menus

./sdb devices # last element is device name which is used below

# replace ~/code with with where ever you clone the repo
./ide/bin/tizen install -t "UN50AU8000FXZC" --name "~/code/crunchyroll-tizen/crunchyroll_online.wgt"

./sdb disconnect
./sdb kill-server

I would like to say though: YOUR PROJECT IS AMAZING! It's like 1000% faster and more stable than running Crunchyroll via the browser, I'm watching JJK latest ep. right now :D

Add Closed Captions [CC] - Feature Request

It would be wonderful to be able to setup automatic enabling of Closed Captions [CC] on settings or to be able to select those in the Subtitles settings on the stream player.

Regards.

I can't log in anymore

I can no longer log in after the last update, I don't know if it was a TV update or an application update.

TV model: UN32T4300

Every time I try to log in it quickly gives me a loading screen and then suddenly goes back to the login screen.

[WebOS 3.5] Error 404 when opnening the app

Describe the bug
I've installed the IPK on my LG B7 with webos 3.5 . The TV is rooted

To Reproduce
Just open the app, it will give error 404 instantly

Desktop (please complete the following information):

  • WebOS 3.5 with root

Not sure if related, but I found this error on the other webos crunchyroll app:
mateussouzaweb/crunchyroll-webos#31

An user on discord helped me to see the logs:
image

image
other files don't have a clear error:
image
image
The error my be caused by the character ' since it's not supported until chromium 40 and webos3.5 use chromium 38
https://caniuse.com/template-literals

No actions at "settings"

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Settings'
  2. Click on 'Settings'
  3. Nothing happens

Expected behavior
Is it normal, that the settings feature isn't working yet?

Desktop (please complete the following information):
– Device: Samsung U65CU7179U
– OS: tizenOS
– Version: T-KSU2ECDEUC-1220.9

Additional context
Latest Version 1.1.2 installed – in the previous version it also didn't work.

Thank you, for your time and effort on this app. Appreciate it!

Settings on app not updating / not being correctly pulled

Describe the bug
The new settings menu is not correctly updating settings - for this specific example:
Subtitles were set to English on crunchyroll website
Before this recent update, Playing a Japanese anime correctly ran the English subtitles
After this update, Playing a show defaults to "no subtitles"
The option in the settings menu is set to "english" already.
Changing the option to "spanish" to check and see if it a null pointer does not have any difference in default subtitle (on a show that has spanish as an option; i.e. it is still default to "no subtitle").
The option menu STILL will show english as a default subtitle when going back to check if it stuck, but the crunchyroll website now shows Spanish as the updated preference.
Moving from one episode to the next changes the default subtitle back to "no subtitle" (Arguably the worst part of the bug)

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'options'
  2. Select Subtitles
  3. Click on Known leanguage
  4. Check an episode that has known language option
  5. See error when checking the episode (as it is by default off, and goes back to off when changing episodes)

Expected behavior
Changes to stick between episodes

Force next Episode on Countdown Click

First of all, I can't thank you enough for this. It is an absolute tragedy that crunchyroll is so hesitant to add native TV apps for non-android experiences. I've got some suggestions/bugs to report and wanted to post them here. I may end up contributing the changes myself but that just depends on when time allows.

Is your feature request related to a problem? Please describe.
When there is 60 seconds left in an episode there is a counter that appears. I would like to be able to hit the right button on my remote and it goes into a clickable area which allows you to skip to the next episode.

Describe the solution you'd like

  1. At 60 seconds the countdown appears.
  2. I hit the "RIGHT" button on my remote
  3. I am brought into a clickable area which is that countdown.
    • Perhaps new text appears saying "Next Episode"
      4, If I click that the next episode is forced.

Describe alternatives you've considered
Instead just have a force next episode button in the player itself.

Additional context
The main reason for this is when you try to skip 15 seconds ahead when it's got less than a minute remaining it seems to skip back to wherever you tried to skip from. Being able to force next episode somehow would be great.

Episodes list not showing

Describe the bug
When I open the episodes screen, I see a loader briefly. After that, the layout for the episodes shows up, but there's not a single episode listed. This happens in all the shows

To Reproduce
Steps to reproduce the behavior:

  1. Search for a show
  2. Enter its detail page
  3. Click on the "Episodes" tab
  4. See the error

Expected behavior
A list of the show episodes shows up

Screenshots
image

TV (please complete the following information):

  • Model: UN55TU7000FXZX
  • Software version: T-KTSU2AKUC-2401.0

Additional context
Add any other context about the problem here.

Scrolling out of view on Home-Screen

Describe the bug
When on the Home-Screen, scrolling down seems to add the wrong offset, such that the selected row keeps moving down with every step. Also the distance between the rows seems off. I can not see the second row when the first one is selected and there is just empty space below it.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Home-Screen
  2. Navigate down

Expected behavior
Selected row stays visible and does not shift downwards with every step.

Screenshots
Here's a clip of me just navigating all the way down, and then up again:

Vid20231125122609.mp4

Additional context
App-Version: 1.1.3b
TV: GQ55S90CATXZG (4K), Version 1310.3

Some Issues

Hello first of all many many thanks for creating the app for the Samsung Tizen OS.

I was able to use the penultimate version of the app a little bit and unfortunately I noticed a few things. For example, I could not play/pause with the Samsung remote control. It was also not possible to switch to the next episode. Fast forward / rewind is unfortunately also not possible. Also, the continuation of the episode does not start where I stopped it but starts again and again from scratch.

FYI I have an 85" QN900A NEO QLED 8K TV from 2021 for remote control identification.

However, first of all, thank you for the good work, I am aware that there are still things to be fixed, I hope that the app will be even better with a good feedback :)

Greetings.

settings does nothing

in my samsung monitor m7 32" the setting button does nothing

· i have installed the online mode
· my tv runs Tyzen os with latest update
· app version 1.1.2

Crunchyroll tizen keeps loading forever

First of all, thank you for providing this awesome app!

Regarding the bug:
Describe the bug
Sometimes (not 100% reproducible), when I turn off the TV while the app is open, and some time after I try to turn the TV on again, the app is loaded in the screen, but it keeps loading forever (the white logo screen). I can go to the home and switch to other apps, but when I try to open the crunchyroll tizen app, it still keeps loading forever. The only way to recover is doing a logout and login again (which is not good, because we have to use the TV controller to type the email / password)

My TV is Samsung qn90b, and I'm using the latest version of the app (1.15 I guess)

Need help with installation

Hi guys, I'm new to all of this, it's my first time installing apps from outside sources and I don't know how to do it. I've already downloaded Tizen Studio and the necessary tools, but I don't understand what to do now. Can anyone help me?

[WebOS] No episodes will load

Describe the bug
When loading an episode, it only shows the black empty screen with a default UI overlay.

To Reproduce
Steps to reproduce the behavior:

  1. Select an episode to watch
  2. See error/nothing

Expected behavior
The video loads normally.

Additional context
I tried several episodes from several series.
Started happening today.
Using LG Smart TV.

Missing keyboard symbols

Hello, first of all, thanks for the app, it's very nice, useful and easy to install.

Describe the bug
The keyboard has missing symbols that make unable to login if password contains that. For example: [ ] * and more.

To Reproduce
Steps to reproduce the behavior:

  1. Open app
  2. When keyboard is opened, select numbers "123"
  3. Some symbols are missing

Expected behavior
All possible password symbols should be shown in keyboard.

Version
1.1.2

IM unable to get connected with the TV

Describe the bug

javier@javier-ASUS:~$ ./install_linux.sh
Enter tizen path (default: ~/tizen-studio):
Enter .wgt app path (default: Crunchyroll.wgt):
Enter device ip (example: 192.168.0.37): 192.168.0.7
connecting to 192.168.0.7:26101 ...
connected to 192.168.0.7:26101
There is no devices UN55AU7000KXZL target.
Total time: 00:00:00.386
Press Enter to exit./install_linux.sh: 20: read: arg count

To Reproduce

Expected behavior
To connect to the TV itself
image
Screenshot from 2023-10-18 08-01-58

Launch of the Crunchyroll app on LG Web OS

Actual situation
Currently, LG users have been left without access to Crunchyroll because it has not yet been possible to update the old application that existed before since it has a login error.

Question from the community
We would like to know how soon a new version for the operating system could be presented by the creator of this application for Tizen.

Alternatives
From reusing the old version in which we were already working and updating it either with a new interface or other things such as working as they probably do in a new version that allows us to log in again.

Problems playing some videos

Description
Player fails in default and defined language video.

To Reproduce
Steps to reproduce the behavior:

  1. Go a item (ex: Dragon Ball GT)
  2. Play
    a. Select play, in the menu
    b. Select a season and episode
  3. Video doesn't play

Expected behavior
Video should play in the selected language or default in the account

Platform:

  • Emulator
  • Device

Additional context
Open branch with base of feature/online

Some episodes do not load on webOS

Describe the bug
Some seemingly random episodes of shows do not load and do not start playback, the "loading spinner" just spins endlessly. This affects e.g. Spy x Family S1E1 and One Piece E480, while other episodes like Chainsaw Man (german dub) S1E1 and One Piece E489 load perfectly fine. For shows that have different seasons per dub listed in crunchyroll this can even be different per listed dub (e.g. the german dub of Chainsaw Man S1E1 loads fine while the non-dub episode does not).

To Reproduce
Try to start one of the above mentioned episodes that aren't loading and hopefully see the same issue.

Expected behavior
All episodes should load fine.

Additional context
Device: LG HU70LS
OS: webOS 04.00.06, with homebrew through rootmy.tv

Cannot load app

I installed a few months ago, the app work perfectly to 2 days ago, but now not load. I had think that maybe are any problem of Crunchyroll, but I check on Chromecast and it work.

I open the app, but this stay on load .....
I awaiting for more that one hours.
20230829_212658

Step to get error

  1. Turn on tv
  2. Open app
  3. Stay on load for ever.

I restart the tv (press more that five seconds power button) same error.
I have last version of app

Tv info
Código del modelo: UNSORU7400GXZS
-Número de serie: 08DV3CXM900....
-ID del dispositivo TVkey: 000000020921d4....
Versión de software: T-MSLUABC-1401.0, BT-S

  • Código de estado: 10201 AA4AC17_KA17
    -Versión Sub-micom: T-MLINTV-1008

When try see app information (go to app press enter button ) give this error
20230829_214345

Cannot reinstall I have error (with tv option menu -> reinstall)

.wgt file to install.

Discussed in #2

Originally posted by Nexow91 January 31, 2023
Hello thank you first of all for the effort and work to be able to install crunchyroll on tizen I wanted to ask is the project now complete ? If I remember correctly, you needed a ".wgt" file to install the app through the Tizen Studio.

Thank you

Installation issues

Hey there,

i am not able to get through the installation.

I have an older Samsung TV (UE40K6379), the installation notes, that system can't find the path and tells me later "install failed[118]".

Any suggestions on how I could fix that?
1

Firebase realtime database connect error

Describe the bug
I am trying to connect to firebase realtime database from tizen web application and fetch data from there. but, unable to connect. It shows nothing when trying to read data via firebaseApp.database().ref('my table')

To Reproduce
Steps to reproduce the behavior:

  1. Add "https://www.gstatic.com/firebasejs/10.4.0/firebase-app-compat.js" and "https://www.gstatic.com/firebasejs/10.4.0/firebase-database-compat.js" sequentially in index.html file in main directory
  2. Create a new script below and import you firbase project config.
  3. then var firebaseApp = firebase.initializeApp(firebaseConfig);
  4. then var db = firebaseApp.database();
  5. then var dbRef = db.ref('my table');
  6. finally dbRef.get().then((snapshot) => { if (snapshot.exists()) { console.log(snapshot.val()); } else { console.log("No data available"); } });

Expected behavior
A list of data from Firebase database should populate in console

System information

  • OS: WIndows 10
  • IDE: Tizen Studio 5.1
  • Simulator: Tizen Web Simulator Application (Samsung TV) - tv extension 7.0

Hello i have the Samsung Smart Tv 2020 Modell with tizen

Describe the bug
A clear and concise description of what the bug is.

Hello I can't finde a data to convert to Tizen.
After i extract the .zip there isn't something to Mark.
And if i start the Command prompt Skript and try to send the online version the error in the Picture it coming.
Can anyone help me please?

Screenshot_2024-01-27-13-32-02-272_com miui gallery
IMG_20240127_133324

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

After one , freezing.

Apesar de todas explicação. Acho muito legal essa ideia de vocês. Estou utilizando esse App, estão de parabéns.

Espero que consigam traduzir .

Em qualquer anime, em uma tv Samsung 3x1. Ao iniciar o anime, primeiro episódio ok, mas no segundo episódio a TV acaba travando. Sendo necessário reiniciar.

Não entendo muito bem. Pode ser cache. Tempo de carregamento? Acredito que para cada episódio, deveria limpar o cachê para não travar.

Posso estar falando bobeira, mas vocês estão de parabéns.

Unexpected behavior when batch is not run as admin

Is your feature request related to a problem? Please describe.
The script does not work as expected when run with Windows 11, default terminal, without admin permissions. Run as Admin is fine.

Describe the solution you'd like
Add admin check in batch file and/or make clear in installation instructions.

image

Last viewed

Hello I have said it before but thank you very much for this app and this support for this project.

I use the app more denje with each update it makes more fun to use the app.

Describe the bug
However, I always find small things that could be fixed.

What I noticed recently is the category "last viewed" unfortunately this is not updated after what you have seen.

To Reproduce
For example, I finish watching a series, turn off the TV and turn it back on the next day, and the last series I watched is one that is much longer in the past.

Thanks already and greetings

Screen freezes during video playback

Now and then the screen freezes when I'm watching a video and the remote control buttons stop to work (except for the power button)
The only way out is to reset the TV by pressing the power button for a couple of seconds.

Software version: 1212
TV model: QN55Q60CAGXZD

German or other another language series can not be played.

Hi I have tested the app yesterday briefly and could determine that some series could not be played. Mainly German or French albums can not be played, English or original series could be played. Maybe there is a conflict because the series with their respective language are packed in subfolders but this is just a pure guess.

Not playable means in the case it comes to a loading screen or the jump to the consequence but after that a black screen occurs and this remains even after several minutes waiting. The episodes that can be played also go normally in the jump to the episode, but these can be played.

I hope I could help.

Some Features v1

Hello,

i have some ideas it would be nice if these could be implemented.

  1. german or language sub / dub filter Possibly with permanently active function.
  2. filter / search series by language.
  3. skip intro possibly self-adjustable for each series for those where it does not go automatically.

If this could be integrated it would make the app even more flexible and innovative.

Greetings and thx for nice work.

SERIES THAT DON'T LOAD

SOME OF THE SERIES BLOCK THE APP. THEY ONLY SHOW THE INITIAL SCREEN OF THE SERIES, IF YOU ENTER EPISODES, IT DOES NOT SHOW INFORMATION; AND IF YOU TRY TO PLAY THE EPISODE FROM THE HOME SCREEN OF THE SERIES, GO TO THE PLAYER AND THERE THE APP CRASHES.

Not Showing All Episodes

Describe the bug
I have a premium account, so when I tried to see Attack on Titan I noticed that I can only see the 1st season in the App. I went back to the Web in my PC and reproduced a chapter of season 4, so it will stay on the "continue viewing" section. Once I reopened the App I can see that episode there, so I clicked in continue viewing it but it stays on an infinite black screen.

The same happened with Naruto Shippudden and One Piece.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Crunchyroll App an try to reproduce Attack on Titan seasons 2-4.
  2. There are no episodes there.
  3. See error.

TV Models Tested:
QN55QN85AAFXZX
QN55Q60TAFXZX

Video playback issues

Describe the bug
video playback issues on some devices using the native tizen player.

To Reproduce
play any video.

Expected behavior
the video plays without cuts or problems.

Título sobre descripción

Cuando el titulo es muy largo se sobrepone sobre la descripción.

Samsung Q7F 55", app version 1.1.3a

PXL_20231122_021113348.jpg

Cant log in with a premium account

Describe the bug
experiencing difficulties logging in with a premium account

Additional context
App-Version: 1.1.3b
TV: UE50NU7475 , Version 1340.4

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.