Skip to content

webOS installation

simonjhogan edited this page Sep 27, 2014 · 6 revisions

Welcome to the PLAYz Media wiki!

webOS Installation

Some quick instructions to get this application up and running on an LG 2014 WebOS television. The below instructions were provided by Plex Forum users yepecece, allof21, and fkick.

Getting Started: Setup An LG Developer Account and Download the SDK

  1. Install Webos SDK (only SDK-CLI) and Oracle JDK http://developer.lge.com/webOSTV/sdk/web-sdk/sdk-installation/ http://www.oracle.com/technetwork/java/javase/downloads/index.html http://developer.lge.com/webOSTV/sdk/web-sdk/

Download the GitHub zip and prep your ipk

  1. Visit https://github.com/simonjhogan/PLEX-for-LG-Home-Theater and download the repository as a zip file. Uncompress this zip.

  2. Open the webOS TV CLI created by the LG SDK. This will populate a Terminal Prompt. To create your appinfo.json file, enter the code below: ares-generate -t webappinfo existWebApp

  3. The appinfo.json file will be created in your user home directory. Open it in textedit and modify the "ID" field to something custom. DO NOT MODIFY OTHER INFORMATION IN THIS FILE. Save.

  4. Place appinfo.json in simonjhogan's PLEX folder

  5. Type in terminal: ares-package /path to downloaded version of simonjhogan's PLEX WebContent Folder. ares-package /~/PLEX-for-LG-Home-Theater-master/WebContent

  6. Upload .ipk file to the LG Developer site under "App Test". http://developer.lge.com/apptest/retrieveApptestList.dev App type: Web, Sub type: Web You can also upload an app icon image (at least 200 x 200 pixel)

  7. Download the DRM test app and unzip

  8. Format USB to FAT

  9. Create folder path developer/apps/usr/palm/applications Copy your test app folder to the last folder

  10. Sign in to the TV with your webOS TV Account

  11. Insert the USB into TV

  12. Go to home TV menu and look for your test app

To Modify Your Test App

  1. Download the latest version of the github project. Follow the directions above to create a new ipk.

  2. Once you have your new ipk, login to LG’s developer site and visit the App Test section. http://developer.lge.com/apptest/retrieveApptestListView.dev#%23%23

  3. On the App Test page, scroll down to where you see your existing app test, and click on the app in the “App Title” column.

  4. Scroll down to the bottom of the window and select “Modify”

  5. Here is where you upload your new ipk file. Under File Upload, click choose file and select your new ipk, then click the File Upload button. Make sure you put a valid url also in the “URL” field, though it doesn’t have to lead to the upload itself, LG just requires a URL. I use the github repository for my test app: https://github.com/fkick/PLEX-for-LG-Home-Theater/

  6. You also need to upload an app Icon. I just use one of the ones provided by simon.

  7. Under CP Options, set Loading Messages, Accept Language, Mouse-Off Event, and DRM Cookie to 0. Set Default Language to “en” (or your native language), and Background color and Magic RCU to 1.

  8. Click Save.

  9. Redownload your DRM file from LG and load to flash drive as before.