Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android TV / WebOS / Tizen #127

Open
aleksilassila opened this issue Jun 9, 2024 · 8 comments
Open

Android TV / WebOS / Tizen #127

aleksilassila opened this issue Jun 9, 2024 · 8 comments
Labels
community Up to contributors, I'm not probably doing this myself any time soon discussion Megathread / This needs discussing high priority
Milestone

Comments

@aleksilassila
Copy link
Owner

aleksilassila commented Jun 9, 2024

Add support & install instructions to the following platforms:

  • Android TV
  • WebOS
  • Tizen (Make the installation process more easy)

I own a samsung tv only, so implementing the support for other platforms is left for the community for now. All help here is appreciated!

Also, I'd like to hear some feedback on the usability of the Tizen app: Were you able to install it on your TV, how does it run, what tv / version of Tizen are you using? My TV is using Tizen 5.5 and the performance is mediocre at best, so I'd love to hear if its usable on older TVs and if new TVs have performance issues, too.

@aleksilassila aleksilassila converted this from a draft issue Jun 9, 2024
@aleksilassila aleksilassila added high priority community Up to contributors, I'm not probably doing this myself any time soon labels Jun 9, 2024
@aleksilassila aleksilassila added the discussion Megathread / This needs discussing label Jun 9, 2024
@aleksilassila aleksilassila added this to the 2.0 milestone Jun 9, 2024
@Marty-SK
Copy link

Marty-SK commented Jul 8, 2024

Hi @aleksilassila,

I have an older Samsung TV (Tizen 7.0). I was trying to compile an app for my TV, however the script provided didn't worked for me (got some error msg).
Is this a good place where to post error message?

@aleksilassila
Copy link
Owner Author

@Marty-SK yeah sure, go ahead. I got Tizen 5.5 so I'm sure we'll get yours running with minimal tweaking

@Marty-SK
Copy link

Marty-SK commented Jul 9, 2024

Hi @aleksilassila ,

When I run npm run build:tizen;C:\tizen-studio\tools\ide\bin\tizen.bat build-web -- tizen;C:\tizen-studio\tools\ide\bin\tizen.bat package -t wgt -o .\tizen -- .\tizen\.buildResult\;C:\tizen-studio\tools\ide\bin\tizen.bat install -n .\tizen\Reiverr.wgt -t QE55Q9FNA in CMD line, Im getting following error:

npm error Missing script: "build:tizen;C:\tizen-studio\tools\ide\bin\tizen.bat" npm error npm error To see a list of scripts, run: npm error npm run npm error A complete log of this run can be found in: C:\Users\Administrator\AppData\Local\npm-cache\_logs\2024-07-09T14_22_33_724Z-debug-0.log

Im total newbie with npm and compiling the app, so I probably did some mistake in step 1 Follow the manual installation steps above to install the dependencies (npm install)

image

Log file
2024-07-09T14_22_33_724Z-debug-0.log

@aleksilassila
Copy link
Owner Author

aleksilassila commented Jul 9, 2024

@Marty-SK can you make sure you run the command in the source directory for reiverr? That's the directory containing all the reiverr source code as well as a file called "package.json", which is probably what could not be found based on the log. Also, probably don't download the folder to the install location of tizen studio (looks like you put it in c:/tizen-studio/tools/ide/bin based on the picture), but to desktop or something similar

@Marty-SK
Copy link

Marty-SK commented Jul 9, 2024

@aleksilassila
steps which I did

  1. unpacked reiverr-master to Desktop (C:\Users\Administrator\Desktop\reiverr-master)

  2. run CMD line with commands in C:\Users\Administrator\Desktop\reiverr-master
    npm install
    npm install --prefix backend
    npm run build

  3. run command
    C:\Users\Administrator\Desktop\reiverr-master>npm run build:tizen;C:\tizen-studio\tools\ide\bin\tizen.bat build-web -- tizen;C:\tizen-studio\tools\ide\bin\tizen.bat package -t wgt -o .\tizen -- .\tizen\.buildResult\;C:\tizen-studio\tools\ide\bin\tizen.bat install -n .\tizen\Reiverr.wgt -t QE55Q9FNA

Got error msg
npm error Missing script: "build:tizen;C:\tizen-studio\tools\ide\bin\tizen.bat" npm error npm error To see a list of scripts, run: npm error npm run npm error A complete log of this run can be found in: C:\Users\Administrator\AppData\Local\npm-cache\_logs\2024-07-09T14_56_46_078Z-debug-0.log

Log file
2024-07-09T14_56_46_078Z-debug-0.log

image
image

@aleksilassila
Copy link
Owner Author

@Marty-SK can you try running the install command in powershell instead of cmd?

@Marty-SK
Copy link

Marty-SK commented Jul 9, 2024

Thanks @aleksilassila !

CMD line was the culprit. When I run the commmand via Powershell, it works like a charm.

Now, I see the app on my Samsung TV, but when I run the app, I see this:

image
Ive tried restart TV, but no luck.

Im runnning latest Reiverr 2.0 on Synology NAS 920 in Docker. Its accessible via web browser without any issues.

image

@aleksilassila
Copy link
Owner Author

Good to hear that the install script works! I might have to specify the instructions little bit.

I suspect the error you're seeing now is because of your tizen version, I'll try to investigate and see if I can get it fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community Up to contributors, I'm not probably doing this myself any time soon discussion Megathread / This needs discussing high priority
Projects
Status: Planned
Development

No branches or pull requests

2 participants