how to install hotstar in lg webos tv
Using Developer Mode App
After you complete developing your app, you might need to test your app. The Developer Mode app provides a faster way to install, debug, and test webOS TV apps on the TV. The following introduces the concept behind the Developer Mode app that connects between the TV and the PC.
To use the Developer Mode app, the following should be ready in advance:
-
webOS TV connected with a network
-
PC connected with a network and installed with the webOS TV SDK
-
LG Developer site account
The Developer Mode app requires you to sign in to the LG Developer site. If you do not have an account yet, see Preparing a Login Account.
This article provides:
-
Installing Developer mode app
-
Turning Developer mode on
-
Connecting TV and PC
-
Extending Developer mode time
-
Clearing cache data of apps
Installing Developer Mode App
To install the Developer Mode app, follow the steps below:
-
First, turn on your webOS TV and check if your webOS TV is connected to a network.
-
Sign in with your LG Developer site account.
-
Go to the LG Content Store.
-
Search for "Developer Mode."
-
Select the Developer Mode app and click the Install button.
Turning Developer Mode On
After installing the Developer Mode app, you can enable Developer Mode on your TV.
-
Run the Developer Mode app from the webOS TV Launcher.
-
Enter your email-based ID and password of the LG Developer site. If you do not have the account, see Preparing Account.
-
Click the Dev Mode Status button to enable the Developer Mode. The TV will reboot.
Developer Mode is disabled:
-
After the TV reboot ten times while the TV is not connected to a network.
-
After the TV reboot when the remaining session time has run out.
-
After the TV reboot when you sign in to another TV with the same account.
If you sign in to multiple TVs with one account, only the session of the latest TV that you sign in to is maintained.
After Developer Mode is disabled, the installed apps that you were using on Developer Mode are uninstalled, and you will be taken to the log-in screen of the Developer Mode app.
Connecting TV and PC
This section describes how to connect webOS TV and your PC. You can use either the CLI or IDE for the Developer Mode app.
Connecting with CLI
Follow the instructions below to add the target TV with the CLI:
-
Run the webOS TV CLI.
-
Execute the ares-setup-device command. Then, select add.
ares-setup-device
name deviceinfo connection profile
-------- ------------------------ ---------- -------
emulator developer@127.0.0.1:6622 ssh tv** You can modify the device info in the above list, or add new device.
? Select: (Use arrow keys)
> add
modify
remove -
Input the information about your TV as below example:
You do not need to enter the password. When using the Developer Mode app, a password is not required.
** You can modify the device info in the above list, or add new device.
? Select: add
? Enter Device Name: tv2
? Enter Device IP address: 10.123.45.67
? Enter Device Port: 9922
? Enter ssh user: prisoner
? Enter description: new device
? Select authentification: password
? Enter password:
? Save ? Yes
name deviceinfo connection profile
-------- -------------------------- ---------- -------
tv2 prisoner@10.123.45.67:9922 ssh tv
emulator developer@127.0.0.1:6622 ssh tv -
After adding your TV as the target device, check the result with the command below:
ares-setup-device --list
-
Click the Key Server button in the Developer Mode app.
-
Get the key file from your webOS TV with the following command on your PC:
ares-novacom --device tv2 --getkey
-
A command prompt appears to enter Passphrase. Enter the exact characters (case sensitive) as displayed on your TV screen.
You can see Passphrase, which consists of 6 characters, on the bottom left side of the Developer Mode app screen.input passphrase [default: webos]:
-
Check the connection with your TV and PC with the following command:
ares-device-info --device tv2
If the connection is established successfully, the device information is displayed as below. The information might differ depending on your TV device.
modelName : WEBOS6.0
sdkVersion : 6.1.0
firmwareVersion : 00.00.00
boardType : K7LP_ATSC_KR
otaId : HE_DTV_W21P_AFADATAA -
Now, you are ready to install and launch your app on your real TV. To find out how to install and launch your app on your TV, see Installing and launching your app using CLI.
Connecting with VS Code Extension
Follow the instructions below to add your TV as the target device using the VS Code Extension:
-
Run VS Code with webOS TV VS Code Extension installed.
-
Select webOS TV: Set Up Device from the Command Palette (Ctrl+Shift+P) and select Add Device.
You can also click the Add Device icon on the webOS TV Devices in the Activity Bar.
-
Enter the information about your TV as below example:
-
Enter your device name.
-
Enter your device's IP address.
-
Enter your device's port number for the connection. In most situations, press Enter to set it as the default value (22).
-
Enter the device's username for connection. In most situations, press Enter to set it as the default value (root).
-
-
Click the Key Server button in the Developer Mode app.
-
Select webOS TV: Set Up SSH Key from the Command Palette (Ctrl+Shift+P) on VS Code and select your device.
You can also right-click on the device and select Set Up SSH Key on the webOS TV Devices in the Activity Bar.
-
Enter the passphrase (case sensitive) as displayed on the Developer Mode app.
-
Refresh the device list. You can see the changed username and port number.
Connecting with IDE
Follow the instructions below to add your TV as the target device using the IDE:
-
Run the webOS TV IDE.
-
Click New Connection () from the Target Configuration screen.
-
Enter the information about your TV as below example:
-
Set Device Type as LG Smart TV.
-
Change Device Name as you want
-
Input the IP address of your TV.
-
-
Click the Key Server button in the Developer Mode app.
-
Right-click the created target device and select Generate Key.
-
The webOS key window appears to enter Passphrase. Enter the exact characters (case sensitive) as displayed on your TV screen.
You can see Passphrase, which consists of 6 characters, on the bottom left side of the Developer Mode app screen.
-
Connect your TV using the right-click menu. Then you can see the apps you installed on the TV under tv > Installed. If it is your first time using the Developer Mode app, no app is shown on the screen.
-
Now, you are ready to install and launch your app on your real TV. To find out how to install and launch your app on your TV, see Installing and launching your app using IDE.
Extending Developer Mode Time
Developer Mode enables for a limited time. When you turn on Developer Mode, you can check the remaining session time on the Remain Session field. To extend the remaining time, connect the TV to a network and click the EXTEND button. If the session time runs out, you cannot extend the session time. You can also extend the session time with the ares-extend-dev command of CLI.
Clearing Cache Data of Apps
The Developer Mode app provides the Clear Cache Data feature for testing. Note that all apps' cache data is removed. To clear cache data of all apps, follow the instructions below:
-
Click theON button on the Clear Cache Data field.
-
Reboot the TV.
how to install hotstar in lg webos tv
Source: https://webostv.developer.lge.com/develop/app-test/using-devmode-app/
Posted by: trainordebtled.blogspot.com
0 Response to "how to install hotstar in lg webos tv"
Post a Comment