This is a small wrapper around the web interface that the server provides (https://github.com/jellyfin/jellyfin-web) so most of the developement happens there.
All Jellyfin webOS code is licensed under the MPL 2.0 license, some parts incorporate content licensed under the Apache 2.0 license. All images are taken from and licensed under the same license as https://github.com/jellyfin/jellyfin-ux.
- Install the WebOS SDK from http://webostv.developer.lge.com/sdk/installation/
- Compile an IPK either with the IDE or with ares-package
- Test the app on the emulator or ares-server or install it on your tv by following http://webostv.developer.lge.com/develop/app-test/
Fill in your hostname, port and schema and click connect. The app will check for a server by grabbing the manifest and the public serverinfo. And then the app hands off control to the hosted webUI.
Building the app with the webOS SDK can be done either via Docker or by installing the webOS SDK directly.
dev.sh
is a wrapper around the Docker commands, if you have installed the SDK directly, just ommit that part.
Building is easy, and doesn't require anything besides the SDK:
# Build the package
./dev.sh ares-package --no-minify org.jellyfin.webos
Testing on a TV requires registering a LG developer account and setting up the devmode app.
Once you have installed the devmode app on your target TV and logged in with your LG developer account, you need to turn on the Dev Mode Status
and Key Server
.
Make sure to take a note of the passphrase.
# Add your TV. The defaults are fine, but I recommend naming it `tv`.
./dev.sh ares-setup-device --search
# This command sets up the SSH key for the device `tv` (Key Server must be running)
./dev.sh ares-novacom --device tv --getkey
# Run this command to verify that things are working.
./dev.sh ares-device-info -d tv
# This command installs the app. Remember to build it first.
./dev.sh ares-install -d tv org.jellyfin.webos_*.ipk
# Launch the app and the web developer console.
./dev.sh ares-inspect -d tv org.jellyfin.webos
# Or just launch the app.
./dev.sh ares-launch -d tv org.jellyfin.webos