Skip to content

Instantly share code, notes, and snippets.

@Pupwiz
Last active July 20, 2023 13:01
Show Gist options
  • Save Pupwiz/8e1ba172d311966aa9ad4b51fb1596d8 to your computer and use it in GitHub Desktop.
Save Pupwiz/8e1ba172d311966aa9ad4b51fb1596d8 to your computer and use it in GitHub Desktop.
Install Jellyfin on Tizen tv from debian server cli
## without GUI
wget https://download.tizen.org/sdk/Installer/tizen-studio_5.1/web-cli_Tizen_Studio_5.1_ubuntu-64.bin
## with GUI
## wget https://download.tizen.org/sdk/Installer/tizen-studio_5.1/web-ide_Tizen_Studio_5.1_ubuntu-64.bin
sudo chmod 777 web-*.bin
sudo apt install git nodejs npm -y
sudo npm install -g yarn
npm install -g gulp-cli
## rest cannot be done as root has to be user
su <your user name> ./web*.bin
cd ~
git clone https://github.com/jellyfin/jellyfin-web.git
cd jellyfin-web
SKIP_PREPARE=1 npm ci --no-audit
npm run build:production
## I have had the above command fail - just re-run
cd ~
git clone https://github.com/jellyfin/jellyfin-tizen.git
cd jellyfin-tizen
JELLYFIN_WEB_DIR=../jellyfin-web/dist npm ci --no-audit
## Need to export tizen cmd folder for tizen command to work for build
## to build it yourself
export PATH=$PATH:$HOME/tizen-studio/tools/ide/bin
tizen build-web -e ".*" -e gulpfile.js -e README.md -e "node_modules/*" -e "package*.json" -e "yarn.lock"
tizen package -t wgt -o . -- .buildResult
## Download prebuild one from ttps://github.com/jeppevinkel/jellyfin-tizen-builds
##wget -q --show-progress https://github.com/jeppevinkel/jellyfin-tizen-builds/releases/latest/download/Jellyfin.wgt
## start TV in developer mode set to ip of server (Location of tizen-studio)
## Have to press number buttons fast for it to switch to developer mode (12345)
## after setting developer to ON and ip of tizen-studo, power off the TV then it should be able to connect
## get tv ip from setting of network on tv settting panel under network.
~/tizen-studio/tools/sdb connect 192.168.1.114
##should see
#connecting to 192.168.1.114:26101 ...
#connected to 192.168.1.114:26101
~/tizen-studio/tools/sdb devices
## if works should see
## List of devices attached
## 192.168.1.114:26101 device QN65Q80TAFXZC
## your tv code could be different
tizen install -n Jellyfin.wgt -t QN65Q80TAFXZC
## Should see
## Transferring the package...
## Transferred the package: /home/media/jellyfin-tizen/Jellyfin.wgt -> /home/owner/share/tmp/sdk_tools/tmp
## Installing the package...
## --------------------
## spend time for wascmd is [11039]ms
## Platform log view
## Installed the package: Id(AprZAARz4r.Jellyfin)
## Tizen application is successfully installed.
## Total time: 00:00:08.376
## Jellyfin should now be in you apps as the newest installed!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment