Skip to content

Installation Guide

Ndriçim Lahu edited this page Sep 22, 2024 · 6 revisions

Tizen TV

Installation using Docker image (recommended)

The following method is suggested for most users.

  1. Enable the Developer mode on your "Samsung Smart TV":
    • Go to the Apps panel and press 12345 on the remote, then a dialog should popup.
    • Set Developer mode to On, then enter your computer's IP address in the Host PC IP field.
    • Restart the TV by holding the power button, then go to the Apps panel.
    • Depending on your model, a DEVELOP MODE will appear in the Apps panel at the top of the screen.
  2. Get the TV IP Address on your "Samsung Smart TV":
    • Go to the Settings panel, then go to the General section.
    • Select the Network menu, then select Network Status and click the IP Settings button.
    • Now you can get the "IP Address" from the IP Address field.
  3. Now, you need to run Docker Desktop and make sure to close any resource intensive applications.
  4. Open Windows PowerShell or a similar terminal depending on your OS, then enter the following command to pull the pre-built "Docker" image:
    docker pull ghcr.io/ndriqimlahu/moonlight-tizen:master
    
    • This operation may take a while, please be patient.
  5. After that, in Windows PowerShell, enter the following command to run and enter the container:
    docker run -it --rm ghcr.io/ndriqimlahu/moonlight-tizen:master
    
  6. After that, in Windows PowerShell, follow the steps below to install the application on your TV:
    • Enter the following command to connect to your "Samsung Smart TV" over "Smart Development Bridge":
    sdb connect YOUR_TV_IP
    

    Note: Replace YOUR_TV_IP with IP Address of your TV.

    • Next, enter the following command to confirm that you are connected, then take note of the "Device ID":
    sdb devices
    

    Note: Just to clarify "Device ID" will be the last column, something like UE55AU7172UXXH.

    • Next, enter the following command to install the package:
    tizen install -n Moonlight.wgt -t YOUR_DEVICE_ID
    

    Note: Replace YOUR_DEVICE_ID with Device ID of your TV.

    • Next, enter the following command to exit the container:
    exit
    

    Note: Moonlight should now be available under Recent Apps on your "Samsung Smart TV".

  7. Finally, in Windows PowerShell, enter the following command to remove the "Docker" image, as it is no longer needed:
    docker image rm ghcr.io/ndriqimlahu/moonlight-tizen:master
    

    Note: At the end you can enter the exit command to close the Windows PowerShell window.

Installation using Tizen Studio

The following method is not suggested for most users.

Installing Samsung TV SDK

The Samsung TV SDK is a set of tools for developing applications for Samsung TV, using Tizen. To work with the Samsung TV SDK, you must install the Tizen Studio IDE, Samsung TV Extensions and Samsung Certificate Extension. Follow the Installing TV SDK guide to download and install the tool.

Creating Certificate Profile

To run your application on a Samsung TV, you'll need to create and sign certificates. This step is essential for signing the app for development and distribution. Follow the Creating Certificates guide to create and sign the certificate.

Importing Moonlight app to the SDK

After creating the necessary certificates, you can now import the Moonlight app by selecting the .wgt archive file into the SDK. Follow the Importing Web Applications guide to learn how to import the Moonlight app.

Enabling Developer Mode and Connecting the TV to the SDK

Once you completed the previous steps, then you need to enable Developer mode and connect your Samsung TV with your computer by using the SDK. This allows you to run and install the app on a TV device for development. Follow the TV Device guide to learn how to connect your TV with SDK.

Installing Moonlight app on TV

You can launch the Moonlight application on the target device by right-clicking the project in the Project Explorer view, and select Run As and Tizen Web Application as launch mode to run the Moonlight application on the connected device.

Clone this wiki locally