KyroFrCode / moonlight-chrome-tizen

GameStream client for Tizen OS (Samsung Smart TV's)
GNU General Public License v3.0
91 stars 18 forks source link

Moonlight for Tizen

An easy method for building Moonlight for Samsung TV

OneLiberty repo with many fixes that I haven't fixed in this repo yet go check out: https://github.com/OneLiberty/moonlight-chrome-tizen

Credits

Using the prebuilt Docker image

  1. Enable developer mode on the TV (more information on official Samsung guide):

    • Go to Apps.
    • Press 12345 on the remote; a dialog should pop up.
    • Set Developer mode to On; fill in the IP of the Docker host.
    • Power off and power on the TV as instructed; go once again to Apps.
    • Depending on your model, a "DEVELOP MODE" or similar message might appear.
  2. Deploy the application to the TV:

    • Run and enter a container; the container will be removed automatically on exit:
      docker run -it --rm ghcr.io/kyrofrcode/moonlight-chrome-tizen:samsung_wasm
    • Connect to your TV over Smart Development Bridge:
      sdb connect YOUR_TV_IP
    • Confirm that you are connected, take note of the device ID:
      sdb devices

      The device ID will be the last column, something like UE65NU7400.

    • Install the package:
      tizen install -n MoonlightWasm.wgt -t DEVICE_ID

      Moonlight should now appear in your Recent Apps - or similar page - on your TV.

    • Exit the container:
      exit
    • (Optional) Remove the Docker image:
      docker image rm ghcr.io/kyrofrcode/moonlight-chrome-tizen:samsung_wasm

Building the Docker image from source

  1. Enable developer mode on the TV using the steps from the previous section

  2. Build the application within a Docker image:

    docker build -t moonlight-tizen .

    This will take a while.

  3. Deploy the application to the TV:

    • Run and enter a container; the container will be removed automatically on exit:
      docker run -it --rm moonlight-tizen
    • Connect to your TV over Smart Development Bridge:
      sdb connect YOUR_TV_IP
    • Confirm that you are connected, take note of the device ID:
      sdb devices

      The device ID will be the last column, something like UE65NU7400.

    • Install the package:
      tizen install -n MoonlightWasm.wgt -t DEVICE_ID

      Moonlight should now appear in your Recent Apps - or similar page - on your TV.

    • Exit the container:
      exit
    • (Optional) Remove the Docker image:
      docker image rm moonlight-tizen