forked from KyroFrCode/moonlight-chrome-tizen
-
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changes made by ndriqimlahu (found on my local repo)
ndriqimlahu repo is not available anymore, i managed to save few changes he made
- Loading branch information
1 parent
b929bb2
commit 7e19783
Showing
12 changed files
with
313 additions
and
279 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,81 +1,85 @@ | ||
# Moonlight for Tizen | ||
An easy method for building Moonlight for Samsung TV | ||
## About | ||
[Moonlight for Tizen](https://moonlight-stream.org) is an open source client for NVIDIA GameStream and [Sunshine](https://github.com/LizardByte/Sunshine). | ||
|
||
## Credits | ||
- Moonlight developers: https://moonlight-stream.org | ||
- Samsung developers: https://github.com/SamsungDForum/moonlight-chrome | ||
- This Dockerfile and support files have been adapted from [jellyfin-docker-tizen](https://github.com/babagreensheep/jellyfin-tizen-docker) | ||
- Dockerfile readapted for my repository tizen from [pablojrl123](https://github.com/pablojrl123/moonlight-tizen-docker) | ||
|
||
## Using the prebuilt Docker image | ||
1. Enable developer mode on the TV (more information on [official Samsung guide](https://developer.samsung.com/smarttv/develop/getting-started/using-sdk/tv-device.html)): | ||
- 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: | ||
```sh | ||
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: | ||
```sh | ||
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: | ||
```sh | ||
exit | ||
``` | ||
- (Optional) Remove the Docker image: | ||
```sh | ||
docker image rm ghcr.io/kyrofrcode/moonlight-chrome-tizen:samsung_wasm | ||
``` | ||
Moonlight for Tizen allows you to stream your full collection of games from your powerful desktop to your Samsung Smart TV running Tizen OS 5.5 or more. | ||
|
||
Check out the [Moonlight wiki](https://github.com/moonlight-stream/moonlight-docs/wiki) for more detailed project information, setup guide, or troubleshooting steps. | ||
|
||
## Getting Started | ||
|
||
Starting with the project, you should first take a look at the required [Prerequisites](https://github.com/ndriqimlahu/moonlight-chrome-tizen#prerequisites) and then follow the [Installation](https://github.com/ndriqimlahu/moonlight-chrome-tizen#installation) instructions in order to successfully install Moonlight on your Samsung Smart TV. | ||
|
||
### Prerequisites | ||
|
||
## Building the Docker image from source | ||
1. Enable developer mode on the TV using the steps from the previous section | ||
Before building this application, you must have [Windows Subsystem for Linux (WSL 2)](https://learn.microsoft.com/en-us/windows/wsl/install-manual) and [Docker Desktop](https://docs.docker.com/desktop/) installed on your computer. | ||
|
||
2. Build the application within a Docker image: | ||
Also, you should run "Docker Desktop" before proceeding further and it is also recommended to close any software or application that requires high CPU and memory resources, because "Docker Desktop" will take high resources during use. | ||
|
||
### Installation | ||
1. Enable the "Developer mode" in your "Samsung Smart TV" (If you need more detailed instructions, see the official [Samsung guide](https://developer.samsung.com/smarttv/develop/getting-started/using-sdk/tv-device.html)): | ||
- Go to the `Apps` panel. | ||
- Press `12345` on the remote and a dialog should popup. | ||
- Set `Developer mode` to `On` and fill in the `Host PC IP` field which is the `IP Address` of your PC, then click the `OK` button to close the dialog. | ||
- Restart the TV by holding the power button for 2 seconds as instructed by the new dialog popup, then again go to the `Apps` panel. | ||
- Depending on your model, a `DEVELOP MODE` or similar message will appear in the `Apps` panel at the top of the screen. | ||
2. After that, in `Windows PowerShell`, enter the following command to launch the "Docker" image: | ||
``` | ||
docker build -t moonlight-tizen . | ||
docker run -it --rm ghcr.io/kyrofrcode/moonlight-chrome-tizen:samsung_wasm | ||
``` | ||
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: | ||
- This operation may take a while, please be patient. | ||
3. After that, in `Windows PowerShell`, follow the steps below to install the application on your TV: | ||
``` | ||
docker run -it --rm moonlight-tizen | ||
- Next, enter the following command to connect to your "Samsung Smart TV" over "Smart Development Bridge": | ||
``` | ||
- Connect to your TV over Smart Development Bridge: | ||
```sh | ||
sdb connect YOUR_TV_IP | ||
``` | ||
- Confirm that you are connected, take note of the device ID: | ||
> 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 | ||
``` | ||
The device ID will be the last column, something like `UE65NU7400`. | ||
- Install the package: | ||
```sh | ||
tizen install -n MoonlightWasm.wgt -t DEVICE_ID | ||
> 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. | ||
- After that, Moonlight should now appear in your `Recent Apps` or similar page on your "Samsung Smart TV". | ||
- Next, enter the following command to exit the container: | ||
``` | ||
Moonlight should now appear in your Recent Apps - or similar page - on your TV. | ||
- Exit the container: | ||
```sh | ||
exit | ||
``` | ||
- (Optional) Remove the Docker image: | ||
```sh | ||
docker image rm moonlight-tizen | ||
> Note: At the end you can enter the `exit` command to close the `Windows PowerShell` window. | ||
``` | ||
4. (Optional) Disable the "Developer mode" in your "Samsung Smart TV": | ||
- Go to the `Apps` panel. | ||
- Press `12345` on the remote and a dialog should popup. | ||
- Set `Developer mode` to `Off` and then click the `OK` button to close the dialog. | ||
- Restart the TV by holding the power button for 2 seconds as instructed by the new dialog popup, then again go to the `Apps` panel. | ||
- Depending on your model, a `DEVELOP MODE` or similar message will disappear from the `Apps` panel at the top of the screen. | ||
5. Now you can launch Moonlight on your TV, then add your host computer and enjoy the high quality streaming experience. | ||
|
||
### Updating | ||
|
||
1. Before updating the Moonlight app, you must delete the installed Moonlight app that you already have on your Samsung Smart TV to prevent errors during the update. | ||
2. Now, whenever you want to install an updated version of Moonlight on your Samsung Smart TV, you need to follow the [Installation](https://github.com/kyrofrcode/moonlight-chrome-tizen#installation) instructions in order to successfully install the updated version of Moonlight on your Samsung Smart TV. | ||
|
||
## Changelogs | ||
|
||
See the [CHANGELOG](https://github.com/kyrofrcode/moonlight-chrome-tizen/blob/samsung_wasm/CHANGELOG.md) file for more information about the changes for each version of this project. | ||
|
||
## Contributing | ||
|
||
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**. | ||
|
||
If you have a suggestion that would make this project better, then feel free to fork the repo, create a pull request or open an issue. | ||
|
||
Also, if you liked the project or found it useful, don't forget to give the project a star! | ||
|
||
|
||
## Credits | ||
- Moonlight for Chrome OS is developed and maintained by [Moonlight Developers](https://github.com/moonlight-stream/moonlight-chrome) | ||
- Moonlight for Tizen is based on Chrome OS version which was then adapted and powered by [Samsung Developers](https://github.com/SamsungDForum/moonlight-chrome) | ||
- Support files and Dockerfile have been adapted by [jellyfin](https://github.com/jellyfin/jellyfin-tizen) and [babagreensheep](https://github.com/babagreensheep/jellyfin-tizen-docker) | ||
- Dockerfile have been readapted by [pablojrl123](https://github.com/pablojrl123/moonlight-tizen-docker) | ||
- Some content files have been readapted by [ndriqimlahu] |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.