Kodi Community Forum
Req Kodi on LG Web OS - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: webOS (https://forum.kodi.tv/forumdisplay.php?fid=321)
+---- Thread: Req Kodi on LG Web OS (/showthread.php?tid=368381)



RE: Kodi on LG Web OS - k.gg - 2023-10-11

(2023-10-11, 17:20)sundermann Wrote: @k.gg: Also not very insightful unfortunately. Possibly a dumped load string from netflix/amazon might shed some light here but that requires a rooted tv

As mentioned, I have rooted my TV. If it's not too difficult, I can try doing that.


RE: Kodi on LG Web OS - sundermann - 2023-10-13

PmLogCtl set smp* debug
tail -f /var/XYZ/messages | grep pipeline_init

Play some video in Amazon or Netflix. It should log you a json object. If that doesn't work try this instead:
tail -f /var/XYZ/messages | grep generateJsonPayloadForPlayer

XYZ needs to be replaced with log but cloudflare doesn't let me post that


RE: Kodi on LG Web OS - Karellen - 2023-10-13

PmLogCtl set smp* debug
tail -f /var/XYZ/messages | grep pipeline_init

Play some video in Amazon or Netflix. It should log you a json object. If that doesn't work try this instead:
tail -f /var/XYZ/messages | grep generateJsonPayloadForPlayer

XYZ needs to be replaced with log but cloudflare doesn't let me post that


RE: Kodi on LG Web OS - wsnipex - 2023-10-13

FYI: inputstream.adaptive should now be included in nightly builds


RE: Kodi on LG Web OS - jockyw2001 - 2023-10-14

I've now successfully built a webos kodi nightly with pvr.hts (tvheadend client) add-on. I can play SD tv channels and radio stations on a lg 50um7600plb. However, HD tv channels cannot be played and kodi shuts down by itself. In kodi.log it says it can't find suitable video codec. Does any of you have some ideas? Do I have to add some build options for HD (1920x1080)

A couple of other issues:
- if I start kodi with strace in the bash console there's a missing libatomic. so error
- an ssh connection doesn't work with -oPubkeyAcceptedAlgorithms=+ssh-rsa I have to ommit it, but seems just fine
- arrow up for previous commands doesn't work in bash console. That's quite annoying. Also can't do a ctrl-c after for example tail - f kodi.log ehich will then quick me back to my ubuntu shell. Is there a a solution for that?

I also would like to know the correct workflow for building a newer kodi version. Do I only have to check out a new kodi source tree and run make again or should I run make clean or distclean first?


RE: Kodi on LG Web OS - jockyw2001 - 2023-10-14

These lines are logged when I try to stream a HD channel. It seems the last line is cut off:

Code:
2023-10-14 13:30:40.917 T:28873    info <general>: VideoPlayer::OpenFile: pvr://channels/tv/All%20channels@-1/[email protected]_1410061615.pvr
2023-10-14 13:30:40.918 T:29781    info <general>: Creating InputStream
2023-10-14 13:30:41.129 T:29781    info <general>: Creating Demuxer
2023-10-14 13:30:43.906 T:29781    info <general>: Opening stream: 1001 source: 256
2023-10-14 13:30:43.906 T:29781   error <general>: OpenStream: Codec id 27 require extradata.
2023-10-14 13:30:43.906 T:29781 warning <general>: OpenStream - Unsupported stream 1001. Stream disabled.
2023-10-14 13:30:43.906 T:29781    info <general>: Opening stream: 1002 source: 256
2023-10-14 13:30:43.906 T:29781    info <general>: Finding audio codec for: 86019
2023-10-14 13:30:43.908 T:29781    info <general>: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder ac3
2023-10-14 13:30:43.909 T:29781    info <general>: Creating audio thread
2023-10-14 13:30:43.909 T:29798    info <general>: running thread: CVideoPlayerAudio::Process()
2023-10-14 13:30:43.909 T:29781    info <general>: Opening stream: 1006 source: 256
2023-10-14 13:30:43.910 T:29781    info <general>: Opening stream: 1005 source: 256
2023-10-14 13:30:43.910 T:29781    info <general>: waiting for teletext data thread to exit
2023-10-14 13:30:43.912 T:29781    info <general>: Creating teletext data thread
2023-10-14 13:30:43.913 T:29799    info <general>: running thread: CDVDTeletextData
2023-10-14 13:30:44.820 T:29781    info <general>: Opening stream: 1001 source: 256
2023-10-14 13:30:44.820 T:29781    info <general>: Creating video codec with codec id: 27
2023-10-14 13:30:44.858 T:29781    info <general>: CBitstreamConverter::Open Invalid avcC



RE: Kodi on LG Web OS - sundermann - 2023-10-14

Please upload the whole kodi debug log to paste.kodi.tv and the debug log from the webOS DevMode Manager. The issues other issues aren't really related to kodi. You cannot launch kodi directly from the terminal and the other two problems are likely just terminal / ssh config issues. You can just checkout the new version and make again, it will rebuild the necessary parts


RE: Kodi on LG Web OS - k.gg - 2023-10-14

(2023-10-13, 00:53)sundermann Wrote: PmLogCtl set smp* debug
tail -f /var/XYZ/messages | grep pipeline_init

Play some video in Amazon or Netflix. It should log you a json object. If that doesn't work try this instead:
tail -f /var/XYZ/messages | grep generateJsonPayloadForPlayer

XYZ needs to be replaced with log but cloudflare doesn't let me post that
 
My bad, seems like I no longer have access to Netflix. I did however take logs of 1. web browser, 2. media player and 3. kodi, hopefully they're helpful. https://paste.kodi.tv/zivosihuba


RE: Kodi on LG Web OS - jockyw2001 - 2023-10-14

(2023-10-14, 11:08)sundermann Wrote: Please upload the whole kodi debug log to paste.kodi.tv and the debug log from the webOS DevMode Manager. The issues other issues aren't really related to kodi. You cannot launch kodi directly from the terminal and the other two problems are likely just terminal / ssh config issues. You can just checkout the new version and make again, it will rebuild the necessary parts

Thanks!

kodi.log -> https://paste.kodi.tv/mopiwupiqu.kodi
webOS DevMode Manager ? where can I find that log??

And I found solutions for my ssh and file transfer problems.

ssh shell:
ssh -i ~/.ssh/tv1_webos -p 9922 [email protected]

file transfer:
sftp -i ~/.ssh/tv1_webos -P 9922 [email protected]:/media/developer/apps/usr/palm/applications/org.xbmc.kodi/.kodi/temp/kodi.log ./kodi.log

Where can I find the configure options used to build the master nightlies?


RE: Kodi on LG Web OS - sundermann - 2023-10-14

@k.gg: Unfortunately it has to be some streaming service, file playback works differently

@jockyw2001: That's not a debug log. The webOS dev manager has a debug tab where you should be able to collect a backtrace


RE: Kodi on LG Web OS - jockyw2001 - 2023-10-14

(2023-10-14, 14:36)sundermann Wrote: @jockyw2001: That's not a debug log. The webOS dev manager has a debug tab where you should be able to collect a backtrace
Ahh, I was not aware of this tool. Installed it and debug crash log is here -> https://paste.kodi.tv/eginenukor.kodi


RE: Kodi on LG Web OS - jockyw2001 - 2023-10-14

I think I'm missing some essential ffmpeg_options in $HOME/kodi/tools/depends/config.log
For example --enable-libx264 , --enable-nvdec , --enable-vapoursynth
No options were set for my build


RE: Kodi on LG Web OS - sundermann - 2023-10-14

@jockyw2001: You don't need any additional flags. Your crash seems to be the same as @k.gg which also makes sense because you have the same chipset.


RE: Kodi on LG Web OS - jockyw2001 - 2023-10-14

Same problem happened with the latest nightly build org.xbmc.kodi_20231012-94f0c210-master_arm.ipk
I installed it and then installed pvr.hts from zip uploaded to /media/developer/temp
So I guess I have to wait until this bug will be fixed.


RE: Kodi on LG Web OS - jockyw2001 - 2023-10-14

(2023-10-14, 15:33)sundermann Wrote: @jockyw2001: You don't need any additional flags. Your crash seems to be the same as @k.gg which also makes sense because you have the same chipset.
ok thanks, let me know if I should test anything