jellyfin-tizen
jellyfin-tizen copied to clipboard
How to debug?
I have successfully built wgt and deployed on Tizen TV using CLI. But the app has a problem during playback of video and I would like to debug it. The problem does not occur when I connect to Jellyfin Web server and run video using Browser app from TV.
sdb shell command does not work (response "closed").
I tried to include Chii debugger in the app (recommended here), but for unknown reason it does not register to Chii server when launched on TV.
I tried installing Tizen Studio and importing the Jellyfin.wgt, however when I run the app on emulator I get many errors so the app even does not launch. When I run on target device (TV) then I get the same error as with sdb (response "closed").
What other option I have to debug? My TV is Samsung UJ6300.
#79
The last 0
is probably unnecessary in new Tizen Studio: "$SDB" -s $DEVICE shell 0 debug AprZAARz4r.Jellyfin 0
Also https://github.com/jellyfin/jellyfin-tizen/issues/46#issuecomment-683747890
@dmitrylyzo, thank you it worked!
In fact I was missing the last number from this command, however in my case "0" in the end returned failure, and I needed to supply "300" (learned about it here). So the final command that worked for me is:
sdb shell 0 debug AprZAARz4r.Jellyfin 300
port: 7011 result: launched
Jellyfin app was launched on TV, then I executed this command:
sdb forward tcp:7011 tcp:7011
added the IP and port to the list of targets in Chrome:
accessed the IP and port in the new Chrome tab:
and once I clicked the link then DevTools launched and I got access to console and everything else needed!