Skip to content

Instantly share code, notes, and snippets.

@Pupwiz
Last active July 20, 2023 13:01
Show Gist options
  • Select an option

  • Save Pupwiz/8e1ba172d311966aa9ad4b51fb1596d8 to your computer and use it in GitHub Desktop.

Select an option

Save Pupwiz/8e1ba172d311966aa9ad4b51fb1596d8 to your computer and use it in GitHub Desktop.

Revisions

  1. Pupwiz revised this gist Jul 20, 2023. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -7,7 +7,7 @@ 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 <user> ./web*.bin
    su <your user name> ./web*.bin
    cd ~
    git clone https://github.com/jellyfin/jellyfin-web.git
    cd jellyfin-web
  2. Pupwiz revised this gist Jul 20, 2023. 1 changed file with 11 additions and 7 deletions.
    18 changes: 11 additions & 7 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -1,30 +1,34 @@
    ##without GUI
    ## 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
    ## 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 user ./web*.bin
    su <user> ./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
    ## after setting developer to on and ip, power off the TV then it should be able to connect
    ## get tv ip from setting of network on tv
    ## 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 ...
  3. Pupwiz created this gist Jul 20, 2023.
    48 changes: 48 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,48 @@
    ##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 user ./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
    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
    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
    ## 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
    ## after setting developer to on and ip, power off the TV then it should be able to connect
    ## get tv ip from setting of network on tv
    ~/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!