Skip to content

Updating Guide

Ndriçim Lahu edited this page Sep 29, 2024 · 1 revision

Methods of updating Moonlight app on Tizen TV

Updating using Tizen Studio

The following method works for everyone, but is more recommended for users with newer Samsung TVs running Tizen OS starting from model year 2024 (Tizen 8.0) or later.

Deleting the old Moonlight app from Tizen Studio

To avoid conflicts when importing the updated Tizen project into Tizen Studio by selecting the root directory or uploading an archive file, then you should follow the steps below carefully.

Note

Before proceeding further, you should delete the existing Moonlight app that you have already installed on your Samsung TV to prevent errors while installing the new updated Moonlight app.

  1. Run Tizen Studio and make sure to open the Moonlight project under the Project Explorer view.
  2. In the Project Explorer view:
    • Right-click on the Moonlight project and select the Delete option to continue.
  3. In the Delete Resources window:
    • Check the Delete project contents on disk box and click the OK button to remove the Tizen project.
  4. Now you need to follow the Importing the Moonlight app into Tizen Studio guide from the beginning to import the updated Tizen project to Tizen Studio.
  5. Also, make sure you have already enabled Developer mode and connected your TV to Device Manager, otherwise check the Enabling Developer Mode and Connecting the TV to the Device Manager guide from the beginning to enable Developer mode and connect your target device in Device Manager.

Importing and Signing an existing Certificate Profile

After completing the previous steps, you need to import and sign the existing certificate profile in order to run the updated application on your Samsung TV.

Note

Before proceeding further with importing and signing the existing certificate profile, you must have already imported the Moonlight app, enabled developer mode, and connected your target TV device.

  1. In the Tizen Studio menu:
    • Go to the Tools tab and select Certificate Manager to open the certificate wizard.
    • You may be prompted to select a profile file for import, so you should click the Cancel button in the Migration for Certificate Profile dialog.
  2. In the Certificate Manager window:
    • Click + in the Certificate Profile and select Samsung as certificate profile type.
  3. Under Device Type section:
    • Select TV as the device type and click the Next button.
  4. Under Certificate Profile section:
    • Select Select an existing certificate profile option, then select the Moonlight certificate profile and click the Next button.
    • You may be prompted to remove the existing author certificate and create a new one, so you should click the Yes button.
  5. Under Author Certificate section:
    • Select Select an existing author certificate option and click the Next button.
    • Now you need to select the author certificate file author.p12 in the Author certificate file location field (e.g. C:\Users\USERNAME\SamsungCertificate\Moonlight\author.p12), then enter Mgs12345 in the Password field and click the Next button.
  6. Under Distributor Certificate section:
    • Select Select an existing distributor certificate option.
    • Now you need to select the distributor certificate file distributor.p12 in the Certificate path field (e.g. C:\Users\USERNAME\SamsungCertificate\Moonlight\distributor.p12), then enter Mgs12345 in the Password Confirm field and click the Finish button.
    • A new dialog will appear with the message telling you that your new certificate profile has been successfully created and set as active, so you need to click the OK button.
  7. After you have successfully imported and signed the Moonlight certificate profile, close the Certificate Manager by clicking the Close button.

If you need more details, check the Importing Existing Certificates guide by Samsung.

Installing the new Moonlight app on TV using Tizen Studio

If you have completed all the previous steps, then you can install the updated Moonlight app on the target device.

Updating using Docker image

The following method is recommended for users with older Samsung TVs running Tizen OS starting from model year 2020 (Tizen 5.5) to 2023 (Tizen 7.0).

Deleting the old Moonlight app from Docker Desktop

To avoid conflicts when pulling the updated Docker image to Docker Desktop, then you should follow the below steps carefully.

Note

Before proceeding further, you should delete the existing Moonlight app that you have already installed on your Samsung TV to prevent errors while installing the new updated Moonlight app.

  1. Run Docker Desktop and make sure to close any resource intensive applications.
  2. Then, open Windows PowerShell or a similar terminal depending on your OS.
  3. In the Windows PowerShell window, enter the following command to remove the Docker image:
    docker image rm ghcr.io/ndriqimlahu/moonlight-tizen:master
    
  4. After that, you can enter the exit command to close the Windows PowerShell window.

Installing the new Moonlight app on TV using Docker image

If you have completed all the previous steps, then you can install the updated Moonlight app on the target device.