Jellyfin Samsung TV Client
Go to file
2022-11-05 22:50:19 +03:00
.gitignore Fix build 2020-01-18 12:27:04 +03:00
config.xml Add AppHost.screen function 2022-03-23 21:25:49 +03:00
gulpfile.js Add AppHost.screen function 2022-03-23 21:25:49 +03:00
icon.png first commit 2019-10-12 17:25:42 +03:00
index.html first commit 2019-10-12 17:25:42 +03:00
package-lock.json Bump minimist from 1.2.5 to 1.2.6 2022-04-07 21:28:24 +03:00
package.json Lock dependencies version 2022-03-17 21:51:30 +03:00
README.md Remove 10.7 dependencies 2022-11-05 22:50:19 +03:00
tizen.js fix: Use 'var' instead of 'let' 2022-06-17 22:51:46 +03:00

Jellyfin for Tizen

Part of the Jellyfin Project

Build Process

Also look Wiki.

Prerequisites

Getting Started

  1. Install prerequisites.
  2. Install Certificate Manager and Samsung Certificate Extension with Tizen Studio Package Manager.
  3. Register on Samsung.
  4. Setup Samsung certificate need Samsung account in Certificate Manager.

You can also setup Tizen certificate to simplify deployment to emulator.

  1. Clone or download Jellyfin Web repository (https://github.com/jellyfin/jellyfin-web).
    git clone https://github.com/jellyfin/jellyfin-web.git
    
  2. Clone or download Jellyfin Tizen (this) repository.
    git clone https://github.com/jellyfin/jellyfin-tizen.git
    

Build Jellyfin Web

cd jellyfin-web
SKIP_PREPARE=1 npm ci --no-audit
npm run build:production

You should get jellyfin-web/dist/ directory.

SKIP_PREPARE=1 can be omitted for 10.9+.

Use npm run build:development if you want to debug the app.

If any changes are made to jellyfin-web/, the jellyfin-web/dist/ directory will need to be rebuilt using the command above.

Prepare Interface

cd jellyfin-tizen
JELLYFIN_WEB_DIR=../jellyfin-web/dist npm ci --no-audit

You should get jellyfin-tizen/www/ directory.

The JELLYFIN_WEB_DIR environment variable can be used to override the location of jellyfin-web.

If any changes are made to jellyfin-web/dist/, the jellyfin-tizen/www/ directory will need to be rebuilt using the command above.

Build WGT

Make sure you select the appropriate Certificate Profile in Tizen Certificate Manager. This determines which devices you can install the widget on.

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

You should get Jellyfin.wgt.

Deployment

Deploy to Emulator

  1. Run emulator.
  2. Install package.
    tizen install -n Jellyfin.wgt -t T-samsung-5.5-x86
    

    Specify target with -t option. Use sdb devices to list them.

Deploy to TV

  1. Run TV.
  2. Activate Developer Mode on TV (https://developer.samsung.com/tv/develop/getting-started/using-sdk/tv-device).
  3. Connect to TV with Device Manager from Tizen Studio. Or with sdb.
    sdb connect YOUR_TV_IP
    
  4. Permit to install applications on your TV with Device Manager from Tizen Studio. Or with sdb.

    TODO: Find a command

  5. Install package.
    tizen install -n Jellyfin.wgt -t UE65NU7400
    

    Specify target with -t option. Use sdb devices to list them.