Made this single container to build and deploy jellyfin to Samsung TVs.
Credits go to the following:
- https://github.com/jellyfin/jellyfin-tizen
- https://www.reddit.com/r/jellyfin/comments/s0438d/build_and_deploy_jellyfin_app_to_samsung_tizen/
- Docker
- Internet connection for the Docker containers
- Enable developer mode on the TV (adapted from official tizen guide):
- Turn on the TV
- Go to the apps page
- Press
12345
on the remote - Enable
Developer mode
in the dialog that pops up, and write the IP of the host running docker - Shut down and restart the TV as instructed by the information screen, re-enter the apps page
- There should be (or could be, depending on the model) a big red text in the top bar saying
Developer mode
- Keep the TV on
- Build the application
If it fails to execute
docker build -t jellyfin .
expect.sh
in the last step, you might need to download it again from here and overwrite the one in the directory from which you're building. - Deploy the application to the TV:
- Run the container with the attached terminal
docker run -it --rm jellyfin
- Connect to TV with Device Manager from Tizen Studio. Or with sdb.
sdb connect YOUR_TV_IP
- Find your device ID using:
The device ID will be the last column, something like
sdb devices
UE65NU7400
. - Install package
tizen install -n Jellyfin.wgt -t DEVICE_ID
- Run the container with the attached terminal