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

Not opening in webos 6.10.30 #21

Open
adriadam10 opened this issue Mar 13, 2023 · 46 comments
Open

Not opening in webos 6.10.30 #21

adriadam10 opened this issue Mar 13, 2023 · 46 comments

Comments

@adriadam10
Copy link

I have installed it the through developer mode but can't be opened.

@Informatic
Copy link

Software Version 06.10.30 = webOS 3.9.2

@Sudupe
Copy link

Sudupe commented Mar 13, 2023

Not working in 3.4.2 neither

@WillinuX-Code
Copy link
Owner

I don't own a tv using webos 3.x but I'm able to reproduce the error using the LG WebOS TV Emulator 3.0.0.
It has been working before so I'm confident that a fix is possible. I'll keep you updated.

@WillinuX-Code
Copy link
Owner

Update:

  • The root cause seems to be a polyfill/transpile problem when using react-scripts
  • Solution is to migrate from react-scripts to webpack
  • From the first draft I'm now able to see the settings screen but after entering the connection url etc and clicking on save the screen goes black again
  • debugging shows following error which seems to be caused by "Promise" not correctly polyfilled
  • Bildschirm­foto 2023-03-16 um 00 36 43
  • to be continued...

WillinuX-Code added a commit that referenced this issue Mar 18, 2023
- webos3 mediaelement doesn't return  promise on play() of media element
@WillinuX-Code
Copy link
Owner

Hey,

finally I got a workaround for the "Cannot read property 'then' of undefined" error.
Turns out the videoelement (or mediaelement in general) on webos 3.x doesn't return a promise, thats why we ran into this error.

This now fixed and release 0.8.1 is on its way :-)

@WillinuX-Code
Copy link
Owner

@Sudupe and @adriadam10 please verify if the app is now working correctly so I can close this issue.

@Sudupe
Copy link

Sudupe commented Mar 19, 2023

Now it’s working. Thanks

@adriadam10
Copy link
Author

@Sudupe and @adriadam10 please verify if the app is now working correctly so I can close this issue.

Not working for me in 0.8.2. The same happens

@WillinuX-Code
Copy link
Owner

Not sure what I can do as it is working on the Emulator and is confirmed to work on WebOS 3 TV.

Can you provide some more details?
System Information, Screenshots, screen capture?

@ivonovak
Copy link

ivonovak commented Mar 22, 2023

Not working in WebOS7, cannot connect to TVH server . On WebOS 6 TVH same version is working perfect.
IMG_0549

@darkcheater
Copy link

darkcheater commented Mar 23, 2023

Edit: after waiting really long, I get the same error as @ivonovak.
The same account works within KODI, so permissions are not the issue.
--- old comment below:

Hi, thanks for the software.
I have a webos 7.3.0 TV (OLED77B29LA).
The app opens normally but when I put my TVH url and username (I did not set a password yet) and click connect, it's just loading forever and nothing happens :(
photo1679599071

@adriadam10
Copy link
Author

Not sure what I can do as it is working on the Emulator and is confirmed to work on WebOS 3 TV.

Can you provide some more details? System Information, Screenshots, screen capture?

I simply open the app (in the latest version), the splash screen appears and then the screen goes black
Here is my system info:
IMG_20230323_202107_1_1

@WillinuX-Code
Copy link
Owner

Not working in WebOS7, cannot connect to TVH server . On WebOS 6 TVH same version is working perfect.

IMG_0549

This indicates that the backen node service is not running. I will try to reproduce this using the WebOS 7 Simulator. Will get back once I got some news...

@darkcheater
Copy link

I can also help and provide logs if you tell me how I can do that :)

@GodHunter
Copy link

Same issue as @adriadam10 the screen turns black and the app doesnt start. The Splash Screen at the beginning is visible for me Software Version 6.10.30

Hopefully you can fix that issue, really nice work so far. Love the design

@efschu
Copy link

efschu commented May 3, 2023

Not working for 3.4.0

@misery
Copy link

misery commented Jul 28, 2023

Same problem... splashscreen is visible. After that it switches to black.

Device: OLED48C38LA
Firmware: 0.3.11.45
webOS: 8.1.0

@Ramalama2
Copy link

Ramalama2 commented Aug 7, 2023

Same problem... splashscreen is visible. After that it switches to black.

Device: OLED48C38LA Firmware: 0.3.11.45 webOS: 8.1.0

Exactly same issue, just with an OLED77C39LC.
Same Webos version 8.1.0, LG calls it Webos 23 for whatever reason, dunno.

@WillinuX-Code i can provide ssh access / vnc server to my tv, through a wireguard tunnel.
If i can help there, please tell me.

Any additional info is not an issue, webos is extremely similar to linux and im a sysadmin.
So i can help whereever needed, but i definitively cannot develop/code, sorry for that :-(

No rush & thanks a lot for your work anyway!
Since this is an amazing solution already for everyone else with older TV's!

Cheers :-)

EDIT:
Maybe helpfull for everyone else, that need a workaround:
You can use Jellyfin or Plex with "Antennas". Its super easy to setup and there are Apps for Jellyfin and Plex available for the newer LG Models.
Antennas connects to tvheadend and emulates an HDHomeRun Server.
Then you can simply add Antennas as DVR Source to your Plex/Jellyfin Server.

Hopefully that helps the one or another in the meantime :-)

@robyevolution
Copy link

robyevolution commented Sep 4, 2023

Modifica: dopo aver aspettato molto a lungo, ottengo lo stesso errore di@ivonovak. Lo stesso account funziona all'interno di KODI, quindi le autorizzazioni non sono il problema. --- vecchio commento qui sotto:

Ciao, grazie per il software. Ho una TV webos 7.3.0 (OLED77B29LA). L'app si apre normalmente ma quando inserisco l'URL e il nome utente TVH (non ho ancora impostato una password) e faccio clic su Connetti, si carica all'infinito e non succede nulla :( foto1679599071

I have this problem too, will there be an update to fix this?

@WillinuX-Code
Copy link
Owner

just released version 0.8.3 which is based on a different compile mechanism. Can you check if the errors still occur?

@misery
Copy link

misery commented Sep 8, 2023

Tried the 0.8.3 but the screen is still black after splashscreen.

@robyevolution
Copy link

same previous error

@WillinuX-Code
Copy link
Owner

  1. Problem - app crash after splashscreen
    Can someone open Web OS Dev Manager and make sure its connected and syslog is available. Start with a clean install, open the app and provide the syslogs for "com.willinux.tvh" from WebOS Dev Manager here?

  2. Problem - com.willinux.tvh.app.proxy is not running
    Can someone open Web OS Dev Manager and make sure its connected and syslog is available. Start with a clean install, open the app and provide the syslogs for "com.willinux.tvh" from WebOS Dev Manager here?

@darkcheater
Copy link

darkcheater commented Sep 11, 2023

I have problem 2 on 0.8.3.
Can I somehow access the syslog without Dev Manager? I can't install Developer Mode because I'm rooted.
I have ssh access.
Edit:
okay, I have attached the output of tail -f /var/log/messages | grep com.willinux.tvh
I started capturing after uninstalling and reinstalling the app. Then I open the app while looking at the logs. Hope it helps!
webos_syslog.txt

@WillinuX-Code
Copy link
Owner

WillinuX-Code commented Sep 11, 2023

unfortunately there is nothing related to the "proxy" service not running in the logs. Can you check what happens if you call the proxy service from command line?
This is the command: please adjust the tvheadend url, user and password to your setup
luna-send -n 1 -f luna://com.willinux.tvh.app.proxy/proxy '{ "url": "http://userver.fritz.box:9981/api/serverinfo", "user": "myUser", "password": "***"}'

This is the response I see

{
    "statusCode": 200,
    "result": "{\"sw_version\":\"4.3-2106~g9e1eb89be-dirty\",\"api_version\":19,\"name\":\"Tvheadend\",\"capabilities\":[\"caclient\",\"tvadapters\",\"satip_client\",\"satip_server\",\"timeshift\",\"trace\",\"libav\",\"caclient_advanced\"]}",
    "returnValue": true
}

@MartB
Copy link

MartB commented Sep 13, 2023

Also running into this on my G2, endless loading
Eventually spits out:

Failed to retrieve dvr config:  {"serviceName":"com.willinux.tvh.app.proxy","returnValue":false,"errorCode":-1,"errorText":"com.willinux.tvh.app.proxy is not running."}

@manuelrn
Copy link

Device: OLED65E7V-Z
Firmware version: 06.10.30
webOS version: 3.9.0
Rooted: Unrooted

I have installed TVheadend Client for the first time (never used it before), and I have the same problem that several users mentioned above: TVheadend Client opens and displays the splash screen, but after finishing the splash screen it changes to black screen and stays like this (black screen) indefinitely.

I don't have my TV rooted or anything like that, I just enabled developer mode, connected to the TV with webOS Dev Manager and installed TVheadend Client.

Can I see the log somehow?
I have searched all the sections of webOS Dev Manager and I have not found anything to see a log or something like that.

I also tried to access the URL IP_TV:9998 and I got a list of Apps, I clicked on TVheadend and it showed me the following:
<noscript>You need to enable JavaScript to run this app.</noscript>
But I have no idea if this "error" is the fault of my TV or the fault of my PC's web browser.

It would be great if you can fix it @WillinuX-Code
Thank you very much!

@darkcheater
Copy link

darkcheater commented Sep 20, 2023

@WillinuX-Code: I ran the command on my TV (didn't start the TVH app on the TV) and after some minutes, I get the following response:
` # luna-send -n 1 -f luna://com.willinux.tvh.app.proxy/proxy '{ "url": "http://
192.168.1.150:9981/api/serverinfo", "user": "lgtv", "password": "***"}'

{
"serviceName": "com.willinux.tvh.app.proxy",
"returnValue": false,
"errorText": "com.willinux.tvh.app.proxy is not running.",
"errorCode": -1
}
LUNASERVICE ERROR -1: Could not cancel to unknown client (_LSTransportAddPendingMessageWithToken @ transport.c:4125)
`

Edit: Having the app opened on the TV leads to the same error message when running the command.
The response takes around 280s. Time seems to be the same amount as when trying to connect via the app.

Let me know in case you need more info! :)
Thanks!

@dm-rostov
Copy link

Tried the 0.8.3 but the screen is still black after splashscreen. No diallog setup.
TV root

luna-send -n 1 -f luna://com.willinux.tvh.app.proxy/proxy '{ "url": "http://192.168.1.50:9981/api/serverinfo", "user": "", "password": ""}'

{
"statusCode": 200,
"result": "{"sw_version":"4.3-1054~g1d2374ae6","api_version":19,"name":"Tvheadend","capabilities":["caclient","tvadapters","satip_client",\ "satip_server","imagecache","trace","libav"]}",
"returnValue": true
}

@MartB
Copy link

MartB commented Oct 14, 2023

Upgraded the entire project and changed some keepalive settings and it works for me now.
Will push my fork later. Thats a clear case of "I made it work for me". Not sure if this breaks a million other things.

See here: https://github.com/MartB/webos-tvheadend/tree/tvh-g2

Contains a few changes unrelated to the issues that i wanted to try, should be easy to exclude.

@darkcheater
Copy link

Hey @MartB,
Whats the easiest way to install your fork on the TV?

@MartB
Copy link

MartB commented Oct 16, 2023

Hey @MartB, Whats the easiest way to install your fork on the TV?

Here you go, please report back https://github.com/MartB/webos-tvheadend/releases

@VDRrulez
Copy link

@MartB
Thanks alot. Works on my C2.

Webos 7.3.1-42

@manuelrn
Copy link

manuelrn commented Oct 17, 2023

Upgraded the entire project and changed some keepalive settings and it works for me now. Will push my fork later. Thats a clear case of "I made it work for me". Not sure if this breaks a million other things.

See here: https://github.com/MartB/webos-tvheadend/tree/tvh-g2

Contains a few changes unrelated to the issues that i wanted to try, should be easy to exclude.

With that release my problem is still present.

My problem was mentioned here above (In my previous message I give a more detailed explanation):
TVheadend Client opens and displays the splash screen, but after finishing the splash screen it changes to black screen and stays like this (black screen) indefinitely.

@ivonovak
Copy link

ivonovak commented Oct 18, 2023

@MartB
Now it works on my C2, WebOS 7.3.x , but no EPG

@darkcheater
Copy link

Hey @MartB, Whats the easiest way to install your fork on the TV?

Here you go, please report back https://github.com/MartB/webos-tvheadend/releases

I just had the time to test. It's working great for me. EPG also works.
I have a B2, also WebOS 7.3.x

@WillinuX-Code
Copy link
Owner

Upgraded the entire project and changed some keepalive settings and it works for me now. Will push my fork later. Thats a clear case of "I made it work for me". Not sure if this breaks a million other things.

See here: https://github.com/MartB/webos-tvheadend/tree/tvh-g2

Contains a few changes unrelated to the issues that i wanted to try, should be easy to exclude.

Thanks for your contribution. I checked your changes and also installed your release for a quick test on WebOS 4

  • I assume the keep alive will fix the "com.willinux.tvh.proxy not running" error on newer WebOS version so I will take it over
  • The epg loading in one large request is can lead to problems on older tvs because of the large epg message, thats why I prefer a loading in chunks
  • Something in the update is also breaking the app for me after splash screen - don't know if its the library updates, the big epg load or the preload="auto" change

@MartB
Copy link

MartB commented Oct 28, 2023

  • I assume the keep alive will fix the "com.willinux.tvh.proxy not running" error on newer WebOS version so I will take it over

Yep that should be the main fix.

  • The epg loading in one large request is can lead to problems on older tvs because of the large epg message, thats why I prefer a loading in chunks

I hit the max entries limit and the quickest fix was throwing the chunk loading out which worked for me haha

  • Something in the update is also breaking the app for me after splash screen - don't know if its the library updates, the big epg load or the preload="auto" change

The preload change shouldnt break anything, i just played with this for better initial video load performance. Did not work though.

Thanks again for providing this app and all the work you put in :)

@michaelarnauts
Copy link

I'm wondering what the current development workflow is. I know typescript and packaging a bit, but I'm new to WebOS.

I've bought a C3 with WebOS23, but it seems that there are no emulators anymore since WebOS 22, only simulators. If I understand it correctly, it seems this repo only supports to run it on an emulator or the real hardware, but not on a simulator?

I guess I have to modify the TVHDataService:constructor() as indicated in the README.md, but I don't see it using a LunaServiceAdapter there.

@Saibot882
Copy link

I also have a black screen.

LG OLED83G39LA
Firmware 03.30.73
webOS 8.3.0
TVheasend Client 0.8.3

@saxoloman
Copy link

I also have a black screen.

LG OLED83G39LA Firmware 03.30.73 webOS 8.3.0 TVheasend Client 0.8.3

Are you using the MartB fork ?

@Saibot882
Copy link

Thanks for the tipp with the MarkB fork.
Now, the connection screen is displayed but after i click to the connect button it shows the following:
20240313_083014

Here are my settings on TVheadend:
tvhe
tvh

What's wrong?

@manuelrn
Copy link

I commented on this months ago, but I am commenting again.

I have tested both @WillinuX-Code and @MartB version and both fail, in both the same failure occurs. There are other people in this thread who have also reported the same failure.

Device: OLED65E7V-Z
Firmware version: 06.10.30
webOS version: 3.9.0
Rooted: Unrooted

I have installed TVheadend Client for the first time (never used it before), and I have the same problem that several users mentioned above: TVheadend Client opens and displays the splash screen, but after finishing the splash screen it changes to black screen and stays like this (black screen) indefinitely.

I don't have my TV rooted or anything like that, I just enabled developer mode, connected to the TV with webOS Dev Manager and installed TVheadend Client.


It would be great if you can fix it @WillinuX-Code or @MartB. It would be greatly appreciated!
If you need me to look or check something on my TV just let me know or explain what I need to do.

Thank you very much!

@saxoloman
Copy link

saxoloman commented Mar 13, 2024

Thanks for the tipp with the MarkB fork. Now, the connection screen is displayed but after i click to the connect button it shows the following: 20240313_083014

Here are my settings on TVheadend: tvhe tvh

What's wrong?

Remove username and password from tvheadend server? And if it works just go from there.

@4920441
Copy link

4920441 commented Jun 4, 2024

...is there anything new on this issue? WebOS Version 5.6.03
excactly the same issues as @manuelrn experiences despite the difference I rooted my tv (long time ago)

any thoughts?

@vtashev
Copy link

vtashev commented Aug 3, 2024

release

Thanks a lot @MartB !
Using your build and release I manage to start it and connect
Device - OLED77C22LB
Firmware - 13.30.80
webOS version 8.3.0(webOs 23 if I'm not wrong)

One thing is missing thou:
EPG info is missing, the EPG table and description in channel list(the from left side)
On setup screen EPG shows""verified access to EPG.
You did wrote that your build fetch EPG at once

@MartB Is there something I can do help fix EPG?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests